.figure-app{--fg-ink:#4e3c61;--fg-muted:#a08da9;--fg-line:#e9e1ef;--fg-purple:#8653b6;color:var(--fg-ink);background:#fcfafd;min-height:calc(100dvh - 72px);font-size:12px}.figure-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 28px;background:white;border-bottom:1px solid var(--fg-line)}.figure-heading>div>a{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--fg-muted);margin-bottom:8px}.figure-heading h1{font-size:22px;font-weight:600;margin:0;letter-spacing:-.5px}.figure-heading h1 span{font-size:11px;font-weight:500;letter-spacing:2px;color:#b29ac0;margin-left:18px}.figure-file-actions{display:flex;gap:8px;align-items:center}.figure-file-actions button{display:flex;gap:6px;align-items:center;border:1px solid var(--fg-line);padding:10px 13px;border-radius:7px;background:white;font-size:12px}.figure-file-actions .figure-primary{background:var(--fg-purple);border-color:var(--fg-purple);color:white}.figure-layout{display:grid;grid-template-columns:210px minmax(0,1fr) 236px;min-height:680px;height:calc(100dvh - 175px)}.figure-left,.figure-properties{background:white;padding:22px 18px;overflow:auto}.figure-left{border-right:1px solid var(--fg-line)}.figure-properties{border-left:1px solid var(--fg-line)}.figure-section-label{font-size:11px;color:#ae99ba;font-weight:600;letter-spacing:.6px;margin:0 0 14px}.figure-section-label:not(:first-child){margin-top:26px}.figure-template{display:flex;align-items:center;gap:10px;padding:11px 7px;width:100%;text-align:left;border:1px solid transparent;border-radius:8px;margin-bottom:5px}.figure-template:hover{background:#f8f3fc;border-color:#ebe0f3}.figure-template>b{font-weight:500}.figure-template b{display:block;font-size:12px;font-weight:500}.figure-template small{display:block;font-size:11px;color:#b4a2bf;margin-top:5px}.figure-template>svg{margin-left:auto;flex-shrink:0;color:#b9a4c6}.figure-template-mini{width:38px;height:28px;border:1px solid #e4d8ee;background:#faf6fd;display:flex;gap:2px;align-items:center;justify-content:center;border-radius:5px;flex-shrink:0}.figure-template-mini i{width:8px;height:13px;border:1px solid #bea4d4;background:#e6d8f2;border-radius:2px}.figure-template-mini i:nth-child(2){background:#dfebf5;border-color:#b2c6d8}.figure-components{display:grid;grid-template-columns:1fr 1fr;gap:8px}.figure-components button{display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid var(--fg-line);background:#fcfafd;border-radius:7px;padding:14px 4px;color:#9270a6;font-size:10px}.figure-palettes{display:grid;grid-template-columns:1fr 1fr;gap:9px}.figure-palettes button{font-size:10px;color:#a08cad;padding:6px;border:1px solid var(--fg-line);border-radius:6px}.figure-palettes button>span{display:flex;height:17px;border:1px solid #e7dfed;border-radius:3px;overflow:hidden;margin-bottom:6px}.figure-palettes i{flex:1}.figure-local-note{font-size:10px;color:#baa9c4;line-height:1.9;margin:26px 0 0}.figure-center{min-width:0;display:flex;flex-direction:column;position:relative;overflow:hidden}.figure-toolbar{display:flex;align-items:center;gap:3px;background:white;border-bottom:1px solid var(--fg-line);padding:10px 14px;min-height:53px;flex-wrap:wrap}.figure-toolbar button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:5px;color:#9a82aa}.figure-app button.chosen,.figure-toolbar button:hover{background:#eee5f7;color:#8252b0}.figure-toolbar-divider{height:19px;width:1px;background:var(--fg-line);margin:0 5px}.figure-zoom{display:flex;align-items:center;margin-left:auto;gap:3px}.figure-zoom>span{width:36px;text-align:center;font-size:10px;color:#a38aae}.figure-canvas-scroll{overflow:auto;flex:1;padding:36px;background-color:#f0edf4;background-image:radial-gradient(#ddd6e5 .8px,transparent 0);background-size:12px 12px;min-height:470px}.figure-sheet{background:white;box-shadow:0 6px 32px #3e235c12;border:1px solid #e5deeb;margin:auto;flex-shrink:0}.figure-sheet svg{display:block;overflow:hidden}.figure-status{display:flex;justify-content:space-between;gap:12px;background:white;border-top:1px solid var(--fg-line);font-size:10px;color:#ac99b7;padding:12px 16px;line-height:1.6}.figure-properties label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#95809f;margin-bottom:18px}.figure-properties input:not([type=range]):not([type=checkbox]),.figure-properties select,.figure-properties textarea{width:100%;min-width:0;border:1px solid var(--fg-line);border-radius:6px;background:#fdfbff;color:#6a507b;font:inherit;padding:9px;outline-color:#bb9bd6}.figure-properties textarea{line-height:1.7;resize:vertical}.figure-properties input[type=color]{height:36px;padding:4px!important;cursor:pointer}.figure-properties input[type=range]{width:100%;accent-color:#9365bb}.figure-paper-size{font-size:10px;color:#b5a1bf;padding-bottom:18px;border-bottom:1px solid var(--fg-line);margin-top:-4px}.figure-property-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.figure-properties .figure-checkbox{flex-direction:row;align-items:center}.figure-checkbox input{accent-color:#9365bb}.figure-delete{display:flex;align-items:center;justify-content:center;gap:8px;color:#b2778d;background:#fdf5f8;border:1px solid #f2e2e9;border-radius:6px;padding:10px;width:100%;font-size:11px}.figure-empty-properties{text-align:center;padding:28px 0;color:#bdabc8}.figure-empty-properties svg{margin:auto}.figure-empty-properties p{font-size:11px;line-height:1.9}.figure-export-note{border-top:1px solid var(--fg-line);padding-top:20px;margin-top:28px}.figure-export-note b{font-size:11px;color:#aa8eba;font-weight:500}.figure-export-note p{font-size:10px;color:#b7a5c2;line-height:1.9}.figure-notice{position:absolute;bottom:65px;left:24px;right:24px;background:#fff;border:1px solid #ddcce9;border-radius:8px;box-shadow:0 4px 20px #4d30641a;padding:12px 16px;color:#86649c;display:flex;justify-content:space-between;gap:12px;font-size:12px;z-index:2}.figure-notice button{padding:0 3px;font-size:18px}@media(min-width:1650px){.figure-layout{grid-template-columns:230px minmax(0,1fr) 260px}.figure-left,.figure-properties{padding:24px}.figure-canvas-scroll{padding:48px}}@media(max-width:1100px){.figure-layout{grid-template-columns:170px minmax(0,1fr) 200px}.figure-left,.figure-properties{padding:18px 12px}.figure-heading{padding:16px 20px}.figure-heading h1 span{display:none}.figure-toolbar{gap:0;padding:8px}.figure-toolbar button{width:27px}.figure-canvas-scroll{padding:24px}.figure-file-actions button{padding:9px}}@media(max-width:760px){.figure-heading{flex-direction:column;align-items:flex-start;gap:15px}.figure-file-actions{flex-wrap:wrap}.figure-layout{height:auto;grid-template-columns:1fr}.figure-left{border-right:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:16px}.figure-left>.figure-local-note,.figure-left>.figure-section-label,.figure-palettes,.figure-template small,.figure-template-mini,.figure-template>svg{display:none}.figure-template{width:auto;margin:0;border:1px solid var(--fg-line);padding:8px 10px}.figure-components{display:flex;gap:6px}.figure-components button{flex-direction:row;padding:8px;font-size:10px;gap:4px}.figure-center{min-height:560px}.figure-canvas-scroll{min-height:440px}.figure-properties{border-left:0;border-top:1px solid var(--fg-line);display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;padding:20px}.figure-properties label{margin-bottom:8px}.figure-empty-properties,.figure-export-note,.figure-properties>.figure-section-label{grid-column:1/-1}.figure-properties>.figure-section-label{margin-top:8px}.figure-status{font-size:11px}.figure-notice{left:12px;right:12px}}.figure-lock{display:flex;align-items:center;justify-content:center;gap:7px;background:#f6f0fb;color:#9468b4;border:1px solid #e5d6f0;padding:9px;border-radius:6px;width:100%;font-size:11px;margin-bottom:16px}.figure-toolbar{row-gap:5px}.figure-properties{scrollbar-width:thin;scrollbar-color:#dfcfe9 transparent}.figure-control-hint{font-size:10px;color:#ad98ba;line-height:1.8;margin:-6px 0 16px}.figure-property-row select{font-size:10px;padding:8px 5px}.figure-components button:disabled{opacity:.5}.figure-heading h1{display:flex;align-items:center;gap:10px}.figure-brand-logo{width:30px;height:30px;object-fit:contain;flex-shrink:0}.figure-heading h1 span{margin-left:8px}.figure-port-picker{min-width:0;border:1px solid var(--fg-line);border-radius:9px;padding:10px;margin:0 0 16px}.figure-port-picker legend{font-size:11px;color:#95809f;padding:0 4px}.figure-port-diagram{position:relative;height:80px;margin:8px 10px;background:#f8f3fc;border:1px dashed #cfb8e0;border-radius:7px}.figure-port-diagram button{position:absolute}.figure-port-diagram button:not(.port-auto){width:14px;height:14px;background:#fff;border:2px solid #b79bca;border-radius:50%;padding:0}.figure-port-diagram button.chosen:not(.port-auto){background:#8b56b8;border-color:#8b56b8;box-shadow:0 0 0 4px #eadff3}.port-top{top:-7px;left:calc(50% - 7px)}.port-bottom{bottom:-7px;left:calc(50% - 7px)}.port-left{left:-7px;top:calc(50% - 7px)}.port-right{right:-7px;top:calc(50% - 7px)}.figure-port-diagram .port-auto{inset:22px 5px;font-size:11px;border-radius:5px;color:#9272a5}.figure-port-offset{margin-bottom:16px}.figure-port-offset label{margin-bottom:6px}.figure-port-offset>button{font-size:11px;color:#8653b6;border-bottom:1px dotted #c3a7d9}.figure-extra-layout{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.figure-extra-layout button{border:1px solid var(--fg-line);border-radius:6px;padding:8px;color:#87649d;background:#faf7fd}