@font-face{font-family:Inter;src:url('brand-assets/fonts/inter-variable-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('brand-assets/fonts/barlow-condensed-300-latin.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('brand-assets/fonts/barlow-condensed-400-latin.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('brand-assets/fonts/barlow-condensed-700-latin.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{font-family:Inter,Arial,Helvetica,sans-serif;font-synthesis:none;color:#202b3b;background:#edf0f4;--orange:#f97316;--ink:#202b3b;--muted:#596b81;--border:#dce2ea;--blue:#3576d7;--page-accent:#bb6844}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;width:100%;height:100%}body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button,a,input,select,summary,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #4582df88}button{color:inherit}button:disabled{opacity:.36;cursor:default}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{border:0}input,select,textarea{min-width:0;max-width:100%}button,summary{user-select:none}button:disabled:hover{background:inherit}.skip-link{position:absolute;top:-90px;left:16px;background:#fff;padding:12px;z-index:500;font-size:12px}.skip-link:focus{top:8px}
.brand-bar{flex:none;display:flex;align-items:center;gap:24px;min-height:43px;padding:10px 22px;background:#151a24;color:#fff}.wordmark{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:500;letter-spacing:.12em;line-height:1}.brand-mark{display:inline-flex;gap:3px;align-items:center}.brand-mark i{display:block;width:9px;height:15px;transform:skew(-17deg);background:#df711f}.brand-mark i:last-child{background:#a77d3e;width:5px;height:11px}.demo-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#b8c0cb}.demo-label>span{width:5px;height:5px;border-radius:50%;background:#ed9845}.own-plans-link{margin-left:auto;font-size:10px;color:#dbe0e8;font-weight:500;line-height:1.5}.own-plans-link span{color:#ed9845;margin-left:5px}.own-plans-link:hover{color:#ffb17a}
.document-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 23px 13px;background:#fff;border-bottom:1px solid #e7ebf0;min-height:69px}.document-title h1{font-size:19px;font-weight:600;letter-spacing:-.6px;line-height:1.25}.document-title p{font-size:10px;color:#606c7c;margin-top:5px;line-height:1.5}.document-actions{display:flex;align-items:center;gap:15px}.text-button{background:transparent;color:#626c7a;font-size:10px;padding:8px 1px}.text-button:hover{color:#354154}.preview-button{display:flex;align-items:center;justify-content:center;gap:7px;background:#f5f7fa;border:1px solid #dce2e9;border-radius:6px;padding:10px 13px;font-size:11px;font-weight:550;white-space:nowrap}.preview-button:hover{background:#eaf0f7;border-color:#bdcadb}.preview-button span{font-size:16px;color:#5e6c7e;line-height:1}
.toolbar{flex:none;display:flex;align-items:stretch;flex-wrap:wrap;gap:8px 0;padding:9px 13px;background:#fff;border-bottom:1px solid #cfd7e1;box-shadow:0 1px 3px #18283c04;position:relative;z-index:20}.tool-group{display:flex;align-items:center;gap:3px;padding:0 9px;border-right:1px solid #e5e9ef}.tool-group:last-child{border-right:0}.tool-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;background:transparent;border-radius:5px;min-height:33px;padding:7px 8px;font-size:10px;color:#4d5a6d;font-weight:500;line-height:1.15;white-space:nowrap}.tool-button:hover{background:#f0f4f9;border-color:#e1e8f0}.tool-icon{font-family:Arial,Helvetica,sans-serif;display:inline-flex;align-items:center;justify-content:center;min-width:14px;font-size:17px;font-weight:400;line-height:1;color:#596d87}.history-icon{font-size:21px}.text-icon{font-family:Georgia,serif;font-size:20px;color:#26384f}.picture-icon{font-size:19px}.shape-icon{font-size:21px}.remove-button .tool-icon{font-size:23px;color:#945c5b}.remove-button:not(:disabled):hover{background:#fdf0ee;border-color:#f0d3cd;color:#a14339}.shapes-menu{position:relative}.shapes-menu summary{list-style:none}.shapes-menu summary::-webkit-details-marker{display:none}.shapes-menu[open]>summary{background:#edf3fc;border-color:#d3e0f2;color:#285b9b}.menu-chevron{font-size:11px;color:#5f6c7d;margin-left:1px}.shapes-popover{position:absolute;left:0;top:calc(100% + 8px);width:174px;padding:6px;border:1px solid #dce3ec;border-radius:8px;box-shadow:0 10px 30px #283b5424;background:#fff;z-index:50}.shapes-popover button{display:flex;align-items:center;gap:12px;width:100%;background:#fff;text-align:left;border-radius:4px;padding:10px 11px;font-size:11px;color:#40516a}.shapes-popover button:hover{background:#f0f5fb}.shapes-popover button span{font-family:Arial,sans-serif;width:18px;text-align:center;font-size:18px;color:#546d8e}.view-group{margin-left:auto;gap:9px}.view-field{display:flex;align-items:center;gap:5px;min-width:0;font-size:9px;color:#626c7b}.view-field select{border:1px solid #dfe5ed;border-radius:5px;background:#fff;color:#536277;padding:7px 20px 7px 7px;font-size:10px;min-height:31px;cursor:pointer}.view-field select:hover{border-color:#b5c2d2}.grid-button[aria-pressed=true]{background:#edf4ff;border-color:#b9d1f2;color:#2864b1}.grid-button[aria-pressed=true] .tool-icon{color:#2864b1}
.live-message{flex:none;padding:10px 22px;background:#fff2e6;border-bottom:1px solid #f1d7bd;color:#875328;font-size:11px;line-height:1.6}.workspace{display:grid;grid-template-columns:176px minmax(0,1fr) 260px;flex:1;min-height:0;overflow:hidden}.pages-panel{background:#f8fafc;border-right:1px solid #dce2e9;overflow:auto;padding:19px 15px 15px;min-width:0}.pages-panel h2{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;letter-spacing:-.1px;margin-bottom:15px;color:#526074}.pages-panel h2 span{border-radius:8px;background:#e9edf3;padding:2px 5px;color:#616c7c;font-size:8px;font-weight:500}.page-list{display:flex;flex-direction:column;gap:11px}.page-tile{display:flex;align-items:center;flex-direction:column;position:relative;width:100%;padding:10px 7px 9px;border:1px solid transparent;border-radius:7px;background:transparent;color:#5b687c;gap:7px;text-align:center}.page-tile:hover{background:#eef3f9;border-color:#e2e9f2}.page-tile[aria-current=page]{background:#eaf2ff;border-color:#bdd3f3;color:#25538a}.master-tile{background:#fcf6ef;border-color:#ecd7c3;margin-bottom:5px}.master-tile[aria-current=page]{background:#fff1e2;border-color:#edbd90;color:#945524}.master-tile::after{content:'';display:block;position:absolute;left:14px;right:14px;bottom:-9px;height:1px;background:#e0e5eb}.page-thumb{position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;pointer-events:none}.thumb-sheet{position:relative;display:block;width:81px;height:115px;background:#fff;box-shadow:0 2px 6px #22374d1c;border:1px solid #e2e6eb;overflow:hidden;flex:none}.thumb-sheet::before{content:'';position:absolute;left:8px;top:8px;width:28px;height:3px;background:var(--page-accent)}.thumb-plan{position:absolute;display:block;object-fit:contain;left:8px;top:25px;width:65px;height:65px;max-width:100%}.thumb-title{position:absolute;left:8px;top:16px;right:8px;height:3px;background:#dce3eb;overflow:hidden;font-size:0}.thumb-sheet::after{content:'';position:absolute;left:8px;right:8px;bottom:13px;height:1px;background:#dce3eb;box-shadow:0 4px #e9edf2,0 8px #e9edf2}.page-name{display:block;font-size:10px;font-weight:550;line-height:1.35;overflow-wrap:anywhere;max-width:100%}.page-note{font-size:8px;line-height:1.4;color:#616c7b;display:block;max-width:100%;overflow-wrap:anywhere}.local-badge{font-size:8px;line-height:1.2;color:#556d8d;background:#e5edf8;border:1px solid #d6e1f0;border-radius:10px;padding:3px 6px;display:inline-block;max-width:100%;font-weight:400}.pages-help{margin-top:20px;padding-top:13px;border-top:1px solid #e4e9ef;font-size:9px;line-height:1.65;color:#616c7a}
.canvas-panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#e9edf2}.scope-bar{display:flex;flex:none;align-items:center;justify-content:space-between;gap:13px;min-height:65px;padding:12px 19px;background:#f8fafcf2;border-bottom:1px solid #dbe2eb}.scope-description{min-width:0}.scope-badge{display:inline-flex;align-items:center;font-size:10px;line-height:1.4;font-weight:650;color:#85512c}.scope-badge::before{content:'';flex:none;width:5px;height:5px;border-radius:50%;background:#dc8a45;margin-right:6px}.scope-bar p{margin-top:4px;font-size:9px;line-height:1.45;color:#616c7b;overflow-wrap:anywhere}.apply-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#f97316;color:#27190e;min-height:33px;border:1px solid #e7680c;border-radius:5px;padding:9px 11px;font-size:10px;font-weight:550;line-height:1.3;white-space:nowrap}.apply-button:hover{background:#eb6a0d;border-color:#d65e08}.apply-button span{font-size:14px;line-height:1}.canvas-stage{display:flex;align-items:flex-start;justify-content:flex-start;flex:1;min-height:0;overflow:auto;position:relative;padding:24px;overscroll-behavior:contain;scrollbar-color:#c8d1dc #e9edf2}.page-host{position:relative;flex:none;margin:0 auto;width:397px;height:562px}.sheet{position:absolute;left:0;top:0;transform-origin:top left;width:794px;height:1123px;background:#fff;box-shadow:0 3px 16px #24374a23;isolation:isolate;flex:none}.sheet.has-grid::after,.sheet.show-grid::after,.sheet.grid-visible::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:var(--grid-stack,0);background-image:linear-gradient(#5181be15 1px,transparent 1px),linear-gradient(90deg,#5181be15 1px,transparent 1px);background-size:24px 24px}.sheet-grid{position:absolute;inset:0;pointer-events:none;z-index:var(--grid-stack,0);background-image:linear-gradient(#5181be15 1px,transparent 1px),linear-gradient(90deg,#5181be15 1px,transparent 1px);background-size:24px 24px}.canvas-element{position:absolute;min-width:0;cursor:move;touch-action:none;outline:1px solid transparent;outline-offset:0}.canvas-element:hover:not(.is-selected){outline:1px solid #769cd188}.canvas-element.is-selected{outline:none}.element-content{width:100%;height:100%;min-width:0;min-height:0;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere}.element-content img,img.element-content{display:block;object-fit:contain;max-width:none}.element-content[contenteditable=true]{cursor:text;outline:none;user-select:text;touch-action:auto;white-space:pre-wrap}.canvas-element[contenteditable=true]{cursor:text;touch-action:auto}.handle{position:absolute;width:13px;height:13px;bottom:-7px;right:-7px;border:2px solid #fff;border-radius:2px;background:#3576d7;box-shadow:0 0 0 1px #3576d7;cursor:nwse-resize;touch-action:none;z-index:110}.object-tools{display:flex;align-items:center;gap:3px;position:absolute;left:0;top:-38px;background:#fff;box-shadow:0 3px 12px #14335930;border:1px solid #d1deef;border-radius:5px;padding:3px;white-space:nowrap;z-index:120;cursor:default;line-height:1.1}.object-tools button{background:#fff;color:#4e6480;border:0;border-radius:3px;font-size:11px;padding:6px 8px;cursor:pointer;min-height:25px}.object-tools button:hover{background:#edf3fc}.object-tools button:last-child{color:#9c5950}.room-table{width:100%;border-collapse:collapse;line-height:1.45;font-size:inherit;white-space:normal}.room-table th{font-size:.85em;letter-spacing:.01em;text-align:left;font-weight:400;padding:0 0 10px;opacity:.66}.room-table th:last-child,.room-table td:last-child{text-align:right;white-space:nowrap;padding-left:12px}.room-table td{padding:6px 0;border-bottom:1px solid #e8ecf0;overflow-wrap:anywhere}.room-table tfoot td{font-weight:650;padding-top:13px;border-bottom:0}.north-symbol{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;line-height:1;font-family:Inter,Arial,sans-serif;font-size:25px;white-space:normal}.north-symbol span{font-size:.35em;margin-bottom:5px}.north-symbol svg{width:100%;height:100%}.logo-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border:1px solid #dce0e5;color:#646c78;letter-spacing:.11em;font-size:12px;white-space:nowrap}.canvas-status{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:9px 17px;background:#eef2f6;border-top:1px solid #dbe2ea;color:#616c7b;font-size:9px;line-height:1.4;min-height:29px}.canvas-status-shortcut{white-space:nowrap;font-size:8px;color:#636c78}
.properties-panel{background:#fff;border-left:1px solid #dce2e9;padding:19px 17px 22px;overflow:auto;min-width:0;min-height:0;font-size:11px;scrollbar-color:#d4dce7 #fff}.panel-heading{padding-bottom:15px;border-bottom:1px solid #e8edf3;margin-bottom:16px}.panel-heading h2,.panel-heading h3{font-size:13px;line-height:1.4;font-weight:650;letter-spacing:-.2px;color:#41516a}.panel-heading p{margin-top:6px;line-height:1.55}.panel-heading>span{display:block;margin-top:6px;color:#616c7b;font-size:9px}.field{display:block;min-width:0;margin-bottom:12px}.field-label,.field>span,.field>label{display:block;color:#5f6c80;font-size:9px;line-height:1.4;margin-bottom:6px;font-weight:450}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea,.properties-panel>input,.property-section>input{width:100%;border:1px solid #dce3ec;border-radius:5px;background:#fff;color:#46556b;padding:8px;font-size:11px;min-height:32px}.field input:hover,.field select:hover,.field textarea:hover{border-color:#b8c6d8}.field input[type=color]{height:32px;padding:3px 5px!important;cursor:pointer}.field input[type=range]{width:100%;accent-color:#3576d7}.field input[type=checkbox]{accent-color:#3576d7;vertical-align:middle}.field textarea{resize:vertical;min-height:76px!important;line-height:1.6}.field small{display:block;font-size:9px;line-height:1.5;color:#616c7a;margin-top:5px}.color-swatches{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:2px 0 7px}.swatch{display:block;flex:none;width:23px;height:23px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #dce4ed;background:#d79570}.swatch[aria-pressed=true],.swatch.is-active{box-shadow:0 0 0 2px #6493d4}.swatch:hover{box-shadow:0 0 0 2px #9cb6d9}.compact-buttons{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:7px 0 12px}.compact-buttons button{flex:1;min-width:0;border:1px solid #dce3ec;background:#f9fbfd;color:#5b6c83;border-radius:4px;padding:7px 6px;font-size:10px;line-height:1.3}.compact-buttons button:hover{background:#ecf3fc;border-color:#bacee8}.compact-buttons button[aria-pressed=true],.compact-buttons button.is-active{background:#edf4ff;border-color:#b7ceed;color:#3364a1}.property-section{padding-top:16px;margin-top:15px;border-top:1px solid #e8edf3}.property-section h3,.property-section h4{font-size:10px;font-weight:600;color:#5c6c82;margin:0 0 11px}.room-input-row{display:grid;grid-template-columns:minmax(0,1fr) 59px auto;gap:5px;margin-bottom:6px;min-width:0}.room-input-row input{min-width:0;width:100%;border:1px solid #dce3ec;background:#fff;border-radius:4px;color:#54647a;padding:7px 6px;font-size:10px}.room-input-row input[type=number],.room-input-row input[inputmode=decimal]{text-align:right}.room-input-row button{background:transparent;color:#8a6161;font-size:15px;padding:2px 4px;border-radius:4px}.room-input-row button:hover{background:#fff0ee}.element-list{display:flex;flex-direction:column;gap:4px;margin-top:9px}.element-row{display:flex;align-items:center;gap:5px;padding:6px 7px;background:#f7f9fc;border:1px solid transparent;border-radius:4px;font-size:10px;min-width:0}.element-row.is-selected,.element-row[aria-current=true]{background:#edf4ff;border-color:#c7d9f1}.element-row>button{border-radius:3px;background:transparent;padding:3px;color:#5e6c81;font-size:10px}.element-row>button:first-child{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.element-row>button:hover{background:#e6edf7}.muted{color:#606c7c;line-height:1.65}.small{font-size:9px}.scope-note{padding:10px;background:#f7f9fc;border:1px solid #e4ebf3;border-radius:5px;color:#5d6c7f;font-size:9px;line-height:1.7;margin-bottom:15px}.scope-note strong{color:#536d8c;font-weight:550}.properties-panel details.advanced{border-top:1px solid #e7edf4;margin-top:16px;padding-top:13px}.properties-panel details.advanced>summary{font-size:10px;font-weight:500;color:#5e6c7f;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:9px}.properties-panel details.advanced>summary::-webkit-details-marker{display:none}.properties-panel details.advanced>summary::after{content:'+';font-size:15px;font-weight:400;color:#616c7b}.properties-panel details.advanced[open]>summary::after{content:'−'}.properties-panel details.advanced[open]>summary{margin-bottom:14px}.properties-panel button.secondary-button{width:100%;font-size:10px;min-height:31px}.properties-panel>button:not(.swatch){max-width:100%}
.editor-status{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:none;min-height:27px;padding:7px 18px;background:#f8fafc;border-top:1px solid #dce2e9;font-size:8px;line-height:1.4;color:#616c7a}.editor-status>span:first-child{color:#5e6c80}.editor-status>span:last-child{white-space:nowrap}.editor-dialog{padding:0;border:1px solid #dce4ee;border-radius:10px;width:min(830px,94vw);max-height:91dvh;color:#33445b;background:#fff;box-shadow:0 20px 90px #16263c44;overflow:auto}.editor-dialog::backdrop{background:#14213588;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 25px 21px;background:#fff;border-bottom:1px solid #e5ebf2;position:sticky;top:0;z-index:5}.dialog-eyebrow{display:block;color:#995c2d;font-size:9px;font-weight:550;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.dialog-heading h2{font-size:19px;font-weight:550;letter-spacing:-.6px;line-height:1.3}.dialog-heading p{font-size:10px;color:#606c7b;line-height:1.6;margin-top:7px}.dialog-close{flex:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#f7f9fc;border:1px solid #e2e8ef;border-radius:5px;color:#5d6c7f;font-size:22px;font-weight:300;line-height:1}.dialog-close:hover{background:#eaf1fa;color:#446082}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 25px;background:#fafbfd;border-top:1px solid #e5ebf2}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;background:#fff;border:1px solid #d5dfec;border-radius:5px;color:#5a6c85;padding:8px 12px;font-size:10px;font-weight:500;white-space:nowrap}.secondary-button:hover{background:#edf4fc;border-color:#b9cbe3}.template-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:25px}.template-card{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center;background:#f7f9fc;border:1px solid #e2e8f1;border-radius:7px;padding:15px 12px 12px;color:#586d87;font-size:11px;line-height:1.5;gap:10px}.template-card:hover{border-color:#9ebadd;background:#edf3fc}.template-card[aria-pressed=true],.template-card.is-active{border-color:#b1c9e9;background:#edf4ff;box-shadow:0 0 0 1px #b1c9e9}.template-sample{position:relative;width:115px;height:163px;max-width:100%;background:#fff;box-shadow:0 2px 7px #2539501a;overflow:hidden}.template-card strong{font-weight:550;font-size:11px}.template-card small{display:block;font-size:9px;color:#5d6c7f}.template-sample img{width:100%;height:100%;object-fit:contain}.preview-dialog{width:min(1150px,95vw);background:#eaf0f6}.preview-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;padding:26px}.preview-page{min-width:0;position:relative}.preview-page-label{font-size:10px;color:#5e6c7f;margin:0 0 9px;line-height:1.5}.preview-page>.page-host,.preview-page .preview-paper{margin-left:auto;margin-right:auto}.preview-paper{position:relative;overflow:hidden;background:#fff;box-shadow:0 2px 12px #283c561c;transform-origin:top left}.preview-paper.sheet{position:absolute;left:0;top:0;margin:0}.preview-page .canvas-element{cursor:default;outline:none!important}.preview-page .object-tools,.preview-page .handle{display:none!important}.apply-dialog{max-width:510px}.apply-dialog .dialog-heading{padding-bottom:19px}.apply-message{padding:22px 25px;font-size:12px;color:#5d6c81;line-height:1.85}.apply-footer{justify-content:flex-end;background:#fff;padding-top:6px;border-top:0;padding-bottom:23px}.apply-footer .apply-button{font-size:11px;min-height:35px}
@media(min-width:1600px){.workspace{grid-template-columns:192px minmax(0,1fr) 280px}.canvas-stage{padding:29px}.properties-panel{padding:22px}.scope-bar{padding-left:25px;padding-right:25px}.pages-panel{padding:22px 19px}.tool-button{padding-left:11px;padding-right:11px;font-size:11px}}
@media(max-width:1250px){.toolbar{padding-left:8px;padding-right:8px}.tool-group{padding-left:6px;padding-right:6px;gap:0}.tool-button{gap:4px;padding:7px 6px;font-size:9px}.view-group{gap:6px}.view-field{gap:3px}.view-field select{padding-left:5px;padding-right:15px;font-size:9px}.view-field>span{display:none}.canvas-status-shortcut{display:none}.scope-bar{padding-left:14px;padding-right:14px}.apply-button{font-size:9px;padding-left:9px;padding-right:9px}.scope-bar p{font-size:8px}}
@media(max-width:1050px){.workspace{grid-template-columns:140px minmax(0,1fr) 220px}.pages-panel{padding:17px 10px}.properties-panel{padding:17px 13px}.toolbar{padding:8px 7px;gap:6px 0}.tool-button{gap:4px;font-size:9px}.tool-group{padding-left:5px;padding-right:5px}.view-group{gap:5px}.tool-icon{font-size:16px;min-width:12px}.history-icon{font-size:19px}.grid-button{padding-right:3px}.view-field select{padding-right:12px}.scope-bar{gap:10px}.scope-description{max-width:57%}.scope-badge{font-size:9px}.scope-bar .apply-button{max-width:158px;white-space:normal;text-align:left;font-size:9px;gap:5px}.page-name{font-size:9px}.page-note{font-size:8px}.thumb-sheet{width:72px;height:102px}.thumb-plan{left:7px;top:23px;width:58px;height:57px}.thumb-title{left:7px;right:7px;top:16px}.room-input-row{grid-template-columns:minmax(0,1fr) 48px auto}.room-input-row input{padding:7px 4px;font-size:9px}.field-row{gap:7px}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea{font-size:10px}}
@media(max-width:880px){.toolbar{row-gap:7px}.view-group{margin-left:0}.document-title h1{font-size:18px}.scope-bar{align-items:flex-start;min-height:76px;gap:8px;flex-direction:column;padding-top:11px;padding-bottom:11px}.scope-description{max-width:none}.scope-bar p{font-size:8px}.scope-bar .apply-button{max-width:none;min-height:28px;padding:6px 9px;white-space:nowrap;font-size:9px}.canvas-stage{padding:20px}.canvas-status{font-size:8px;padding:8px 12px}.template-list{padding:20px;gap:12px}.template-sample{width:105px;height:149px}.dialog-heading{padding:21px}.dialog-heading h2{font-size:18px}}
@media(max-width:700px){html,body{height:auto;min-height:100%;overflow:visible}body{display:block;min-height:100dvh}.brand-bar{min-height:46px;padding:12px 15px;gap:12px}.wordmark{font-size:10px;letter-spacing:.09em;gap:6px}.brand-mark i{width:7px;height:12px}.brand-mark i:last-child{width:4px;height:9px}.demo-label{display:none}.own-plans-link{font-size:8px;text-align:right;max-width:153px;line-height:1.5}.own-plans-link span{margin-left:3px}.document-bar{min-height:74px;padding:15px;gap:12px}.document-title h1{font-size:18px;letter-spacing:-.5px}.document-title p{font-size:8px;margin-top:5px}.document-actions{gap:8px;align-items:flex-end;flex-direction:column-reverse}.document-actions .text-button{font-size:8px;padding:0;line-height:1.3}.preview-button{font-size:9px;padding:8px 10px;gap:5px}.preview-button span{font-size:13px}.toolbar{padding:9px 7px;gap:7px 0;align-items:center}.tool-group{padding:0 5px;gap:2px}.tool-button{font-size:9px;min-height:32px;padding:7px 5px;gap:4px}.history-group{border-right:1px solid #e3e9f0}.insert-group{flex-wrap:wrap;border-right:0;row-gap:3px}.view-group{width:100%;margin-top:1px;padding-top:8px;border-top:1px solid #e6ecf2;justify-content:flex-start;gap:10px}.view-field{font-size:8px;gap:5px}.view-field>span{display:block}.view-field select{font-size:9px;padding:7px 18px 7px 7px;min-height:30px}.grid-button{margin-left:auto;padding-left:8px;padding-right:8px;font-size:9px}.toolbar .tool-icon{font-size:15px;min-width:11px}.toolbar .history-icon{font-size:19px}.toolbar .text-icon{font-size:17px}.toolbar .remove-button .tool-icon{font-size:20px}.toolbar .menu-chevron{font-size:10px;margin-left:0}.shapes-popover{left:auto;right:0;top:calc(100% + 5px);width:161px}.shapes-popover button{font-size:11px;padding:11px 9px}.workspace{display:flex;flex-direction:column;overflow:visible;min-height:0}.pages-panel{padding:14px 13px 12px;border-right:0;border-bottom:1px solid #dce2e9;overflow:visible}.pages-panel h2{font-size:10px;margin-bottom:10px}.pages-panel h2 span{font-size:8px}.page-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.page-tile{padding:7px 3px 6px;gap:5px;border-radius:5px;justify-content:flex-start}.master-tile{margin:0 3px 0 0}.master-tile::after{left:auto;right:-6px;top:8px;bottom:8px;width:1px;height:auto}.thumb-sheet{width:40px;height:57px;border-color:#e0e5ec;box-shadow:0 1px 4px #22374d15}.thumb-sheet::before{left:4px;top:4px;width:14px;height:2px}.thumb-title{left:4px;right:4px;top:9px;height:2px}.thumb-plan{left:4px;top:14px;width:32px;height:30px}.thumb-sheet::after{left:4px;right:4px;bottom:6px;box-shadow:0 2px #e9edf2,0 4px #e9edf2}.page-name{font-size:8px;font-weight:550;line-height:1.35}.page-note{font-size:7px;line-height:1.3}.local-badge{font-size:7px;padding:2px 3px;line-height:1.2}.pages-help{display:none}.canvas-panel{min-height:600px;overflow:visible}.scope-bar{min-height:70px;padding:12px 14px;flex-direction:row;align-items:center;gap:10px}.scope-description{max-width:54%}.scope-badge{font-size:9px;line-height:1.4}.scope-badge::before{width:4px;height:4px;margin-right:5px}.scope-bar p{font-size:8px;line-height:1.55;margin-top:4px}.scope-bar .apply-button{max-width:160px;min-height:34px;padding:8px 9px;white-space:normal;font-size:9px;text-align:left;line-height:1.4}.canvas-stage{flex:none;min-height:465px;height:calc(100dvh - 265px);max-height:680px;overflow:auto;padding:23px 15px}.canvas-status{font-size:8px;padding:10px 14px;line-height:1.5;min-height:32px}.properties-panel{overflow:visible;border-left:0;border-top:1px solid #dce2e9;padding:23px 20px 25px;min-height:150px}.panel-heading{padding-bottom:14px;margin-bottom:17px}.panel-heading h2,.panel-heading h3{font-size:14px}.panel-heading p{font-size:10px}.field-label,.field>span,.field>label{font-size:10px;margin-bottom:7px}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea{font-size:12px;min-height:37px;padding:9px}.field input[type=color]{height:36px}.field-row{gap:12px}.field{margin-bottom:14px}.field textarea{min-height:83px!important}.color-swatches{gap:10px;padding:3px 0 9px}.swatch{width:27px;height:27px}.compact-buttons{gap:7px;margin:9px 0 15px}.compact-buttons button{padding:10px 8px;font-size:11px}.property-section{padding-top:18px;margin-top:18px}.property-section h3,.property-section h4{font-size:11px;margin-bottom:13px}.room-input-row{grid-template-columns:minmax(0,1fr) 78px auto;gap:7px;margin-bottom:8px}.room-input-row input{font-size:11px;padding:10px 9px}.room-input-row button{font-size:18px;padding:4px 7px}.scope-note{font-size:10px;padding:12px;line-height:1.8}.element-row{font-size:11px;padding:8px}.element-row>button{font-size:11px;padding:4px}.small{font-size:10px}.properties-panel details.advanced{padding-top:17px;margin-top:19px}.properties-panel details.advanced>summary{font-size:11px}.editor-status{position:static;flex-wrap:wrap;gap:5px;padding:12px 15px;font-size:8px;line-height:1.5}.editor-status>span:last-child{white-space:normal;width:100%}.live-message{font-size:10px;padding:11px 15px}.object-tools button{font-size:12px;padding:7px 8px}.object-tools{top:-43px}.handle{width:17px;height:17px;bottom:-9px;right:-9px}.editor-dialog{max-height:93dvh;width:94vw;border-radius:8px}.dialog-heading{padding:20px 17px;gap:13px}.dialog-heading h2{font-size:17px;letter-spacing:-.4px}.dialog-heading p{font-size:10px;line-height:1.7}.dialog-eyebrow{font-size:8px;margin-bottom:7px}.dialog-close{width:29px;height:29px;font-size:22px}.template-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 15px;gap:10px}.template-card{padding:13px 9px 11px;gap:9px;font-size:10px}.template-sample{width:100px;height:142px}.template-card strong{font-size:10px}.template-card small{font-size:8px}.dialog-footer{gap:15px;padding:16px 17px}.dialog-footer p{font-size:9px;line-height:1.6}.secondary-button{font-size:10px;padding:9px 10px}.preview-pages{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px 15px}.preview-page-label{font-size:9px;margin-bottom:8px}.apply-message{padding:20px 18px;font-size:11px;line-height:1.85}.apply-footer{padding:2px 17px 21px;gap:8px;flex-wrap:wrap}.apply-footer .apply-button{font-size:10px;min-height:35px}.apply-footer .secondary-button{font-size:10px}}
@media(max-width:380px){.tool-group{gap:0;padding-left:3px;padding-right:3px}.tool-button{font-size:8px;padding-left:4px;padding-right:4px;gap:3px}.history-group{padding-right:6px}.scope-bar{gap:8px}.scope-description{max-width:52%}.scope-badge{font-size:8px}.scope-bar .apply-button{font-size:8px;max-width:140px;padding-left:8px;padding-right:8px}.document-title h1{font-size:17px}.document-title p{font-size:7px}.own-plans-link{font-size:7px;max-width:133px}.template-list{gap:8px}.template-sample{width:90px;height:128px}.page-list{gap:3px}.page-name{font-size:7px}}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.toolbar{padding-top:17px;padding-bottom:8px;border-bottom-color:#e4e9f0;box-shadow:none}.toolbar .tool-group{position:relative}.tool-group-label{position:absolute;left:10px;top:-9px;font-size:7px;font-weight:500;letter-spacing:.025em;color:#626c79;line-height:1.1;white-space:nowrap;pointer-events:none}.format-toolbar{display:flex;align-items:center;gap:12px 0;flex-wrap:wrap;flex:none;position:relative;z-index:18;background:#fbfcfe;border-bottom:1px solid #d2dbe6;padding:16px 17px 9px;min-height:57px}.format-group{display:flex;align-items:center;gap:5px;position:relative;min-width:0;padding-right:14px}.format-group-label{position:absolute;left:0;top:-9px;color:#5f6c7e;font-size:7px;font-weight:500;letter-spacing:.025em;line-height:1.1;white-space:nowrap}.arrange-group{border-left:1px solid #e0e6ef;padding-left:14px;padding-right:0;margin-left:auto}.arrange-group>.format-group-label{left:14px}.format-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;background:transparent;border-radius:4px;padding:6px 7px;min-height:29px;line-height:1.2;font-size:9px;font-weight:450;color:#596c87;white-space:nowrap}.format-button:hover{background:#eef4fd;border-color:#d9e5f6}.format-button[aria-pressed=true]{background:#e6f0ff;border-color:#b5cdef;color:#2e609f}.format-button>span:first-child{font-family:Arial,sans-serif;font-size:15px;line-height:1}.format-button:disabled,.format-toolbar select:disabled,.format-toolbar input:disabled{opacity:.35}.edit-text-button{margin-right:4px;padding-left:0;font-size:9px}.edit-text-button>span:first-child{font-size:17px;color:#4f6d96}.format-font-field,.format-size-field{display:block;flex:none;position:relative}.format-font-field select{width:128px;max-width:100%;min-height:29px;border:1px solid #dbe3ef;border-radius:4px;background:#fff;color:#53667f;padding:5px 22px 5px 8px;font-size:10px;cursor:pointer}.format-size-field input{width:48px;min-height:29px;border:1px solid #dbe3ef;border-radius:4px;background:#fff;color:#53667f;padding:5px 2px 5px 7px;font-size:10px}.bold-button{width:28px;flex:none;font-family:Inter,Arial,sans-serif;font-size:12px}.bold-button b{font-weight:750}.format-divider{display:block;flex:none;width:1px;height:18px;margin:0 4px;background:#dfe6f0}.alignment-group{display:flex;align-items:center;gap:1px}.align-button{width:27px;flex:none;padding:6px}.alignment-icon{display:flex!important;flex-direction:column;align-items:flex-start;gap:3px;width:14px;height:12px;justify-content:center}.alignment-icon i{display:block;flex:none;height:1px;width:14px;background:currentColor;opacity:.85}.alignment-icon i:nth-child(2){width:9px}.alignment-center{align-items:center}.alignment-right{align-items:flex-end}.format-color-field{display:flex;align-items:center;gap:7px;font-size:8px;color:#5e6c7f;line-height:1.2;white-space:nowrap}.format-color-field input{width:68px;min-height:29px;border:1px solid #dbe3ef;border-radius:4px;background:#fff;padding:5px 6px;color:#5a6c85;font-size:9px;text-transform:uppercase}.format-toolbar input[type=color]{flex:none;width:28px;height:27px;border:1px solid #dae3ee;background:#fff;border-radius:4px;padding:3px;cursor:pointer}.layer-button{font-size:9px;padding:6px}.layer-button>span:first-child{font-size:17px;color:#556d8d}.sheet-demo-note{position:absolute;left:60px;right:60px;bottom:22px;font-family:Inter,Arial,sans-serif;font-size:9px;line-height:1.5;letter-spacing:.025em;color:#676c73;white-space:normal;pointer-events:none}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:9px}.panel-heading>button{flex:none;font-size:9px;border:1px solid #dce5f0;background:#f8fafd;border-radius:4px;color:#5c6c81;padding:6px 8px}.panel-heading>button:hover{background:#edf4fe;color:#4a6d9a}.panel-kicker{display:block;margin:0 0 6px;color:#616c7a;font-size:8px;line-height:1.5;letter-spacing:.015em}.master-symbol{display:flex;align-items:center;justify-content:center;width:55px;height:44px;border:1px solid #e8d6c2;border-radius:6px;background:#fffaf5;color:#965f2d;font-size:25px;font-family:Arial,sans-serif;box-shadow:0 1px 3px #a46b2910}.page-list-caption{font-size:8px;line-height:1.5;color:#606c7c;margin:9px 3px 0;letter-spacing:.02em}.room-table caption{text-align:left;font-size:1.05em;line-height:1.4;font-weight:600;letter-spacing:.005em;padding:0 0 12px}.north-symbol>b{font-size:10px;font-weight:500;margin-bottom:4px}.north-symbol>svg{width:100%;height:calc(100% - 13px)}.color-swatches .swatch{position:relative;overflow:hidden;background:#fff;padding:2px}.color-swatches .swatch>span{display:block;border-radius:50%;width:100%;height:100%;pointer-events:none}.properties-panel details.position-details,.properties-panel details.elements-details{border-top:1px solid #e7edf4;margin-top:15px;padding-top:13px}.properties-panel details.position-details>summary,.properties-panel details.elements-details>summary{font-size:10px;font-weight:500;color:#5d6c81;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:9px}.properties-panel details.position-details>summary::-webkit-details-marker,.properties-panel details.elements-details>summary::-webkit-details-marker{display:none}.properties-panel details.position-details>summary::after,.properties-panel details.elements-details>summary::after{content:'+';font-size:15px;font-weight:400;color:#616c7b}.properties-panel details.position-details[open]>summary::after,.properties-panel details.elements-details[open]>summary::after{content:'−'}.properties-panel details.position-details[open]>summary,.properties-panel details.elements-details[open]>summary{margin-bottom:14px}.template-sample img{position:absolute;left:12%;right:12%;top:25%;width:76%;height:49%;object-fit:contain}.template-sample .sample-heading{display:block;position:absolute;left:12%;top:12%;width:49%;height:4%;background:#a37959;z-index:1}.template-sample .sample-table{display:block;position:absolute;left:12%;right:12%;height:1px;bottom:17%;background:#d8dfe8;box-shadow:0 5px #d8dfe8,0 10px #e8edf3}.template-sample.sample-band{border-top:22px solid #ce8b5a}.template-sample.sample-band .sample-heading{top:7%;height:4%;background:#cc966c}.template-sample.sample-band img{top:22%;height:46%}.template-sample.sample-landscape{width:160px;height:113px;margin-top:25px;margin-bottom:25px}.template-sample.sample-landscape img{width:50%;height:65%;top:23%;left:8%;right:auto}.template-sample.sample-landscape .sample-heading{left:8%;top:13%;width:39%}.template-sample.sample-landscape .sample-table{left:65%;right:9%;bottom:47%}.template-card>span:last-child:not(.template-sample){font-size:9px;line-height:1.55;color:#5f6c7e}.preview-warning{grid-column:1 / -1;margin-bottom:0;background:#fff9ed;border-color:#ead9ba;color:#826737}
@media(max-width:1250px){.toolbar{padding-top:17px}.tool-group-label{left:7px}.format-toolbar{padding-left:15px;padding-right:15px}.format-group{gap:4px;padding-right:10px}.arrange-group{padding-left:10px;padding-right:0}.arrange-group>.format-group-label{left:10px}.edit-text-button{margin-right:2px;font-size:8px}.format-font-field select{width:117px}.format-color-field{gap:5px}.format-button{padding-left:5px;padding-right:5px}.format-divider{margin-left:3px;margin-right:3px}}
@media(max-width:1050px){.format-toolbar{padding-left:12px;padding-right:12px;gap:10px 0}.format-font-field select{width:112px;font-size:9px}.format-size-field input{width:43px;font-size:9px}.format-button{font-size:8px;padding-left:4px;padding-right:4px}.edit-text-button{margin-right:0}.format-color-field{font-size:7px;gap:4px}.format-color-field input{width:61px;font-size:8px}.format-group{gap:3px}.alignment-group{gap:0}.align-button{width:24px}.bold-button{width:24px}.format-divider{margin-left:2px;margin-right:2px}.format-toolbar input[type=color]{width:25px}.layer-button>span:first-child{font-size:15px}}
@media(max-width:880px){.format-toolbar{row-gap:15px}.format-group{flex-wrap:wrap;row-gap:6px}.arrange-group{margin-left:0}.format-color-field{font-size:7px}}
@media(max-width:700px){.toolbar{padding-top:18px;padding-bottom:9px;row-gap:13px}.toolbar .view-group{margin-top:1px;padding-top:10px}.toolbar .view-group>.tool-group-label{top:1px;left:5px;font-size:6px}.tool-group-label{font-size:6px;top:-8px;left:5px}.format-toolbar{padding:17px 12px 10px;gap:15px 0;align-items:flex-start}.typography-group{width:100%;gap:5px;row-gap:7px;padding-right:0}.format-group-label{font-size:6px;top:-8px}.arrange-group{width:100%;border-left:0;border-top:1px solid #e5ebf3;padding:12px 0 0;gap:7px;margin-top:1px;min-height:35px}.arrange-group>.format-group-label{left:0;top:2px;font-size:6px}.format-font-field select{width:121px;font-size:10px;min-height:31px;padding-left:7px}.format-size-field input{width:47px;font-size:10px;min-height:31px}.format-button{min-height:30px;font-size:9px;padding:6px 7px;gap:5px}.edit-text-button{font-size:8px;margin-right:1px;padding-left:0;padding-right:3px}.edit-text-button>span:first-child{font-size:16px}.bold-button{width:27px}.align-button{width:27px;padding:6px}.format-divider{margin-left:3px;margin-right:3px}.format-color-field{font-size:8px;gap:6px;margin-left:2px}.format-color-field input{width:68px;font-size:9px;min-height:30px}.format-toolbar input[type=color]{width:29px;height:28px;margin-left:1px}.alignment-group{gap:1px}.layer-button{font-size:8px;min-height:27px;padding:4px 6px}.layer-button>span:first-child{font-size:16px}.panel-heading>button{font-size:10px;padding:7px 9px}.panel-kicker{font-size:9px;margin-bottom:6px}.master-symbol{width:36px;height:42px;margin-bottom:3px;border-radius:4px;font-size:20px}.page-list-caption{display:none}.properties-panel details.position-details,.properties-panel details.elements-details{margin-top:18px;padding-top:15px}.properties-panel details.position-details>summary,.properties-panel details.elements-details>summary{font-size:11px}.template-card>span:last-child:not(.template-sample){font-size:8px}.template-sample.sample-landscape{width:127px;height:90px;margin-top:26px;margin-bottom:26px}.template-sample.sample-band{border-top-width:18px}.preview-warning{font-size:9px;line-height:1.7}}
@media(max-width:380px){.format-toolbar{padding-left:10px;padding-right:10px}.typography-group{gap:4px;row-gap:7px}.format-font-field select{width:108px;font-size:9px}.format-size-field input{width:43px}.edit-text-button{font-size:8px}.format-color-field{font-size:7px;gap:4px}.format-color-field input{width:61px;font-size:8px}.format-divider{margin-left:2px;margin-right:2px}.align-button{width:25px}.bold-button{width:25px}.template-sample.sample-landscape{width:113px;height:80px;margin-top:24px;margin-bottom:24px}}
@media(prefers-reduced-motion:no-preference){button,summary,a,input,select{transition:background-color .14s,border-color .14s,color .14s,box-shadow .14s}}

/* Readable controls at ordinary desktop zoom; narrower windows wrap groups. */
body{font-size:13px}.brand-bar{min-height:40px;padding-top:8px;padding-bottom:8px}.wordmark{font-size:13px}.demo-label,.own-plans-link{font-size:12px}.document-bar{min-height:60px;padding-top:10px;padding-bottom:10px}.document-title p{font-size:12px;margin-top:4px}.text-button{font-size:12px}.preview-button{font-size:12px;min-height:34px;padding:8px 12px}.toolbar{padding-top:16px;padding-bottom:5px;row-gap:16px}.toolbar .tool-group{gap:3px;flex-wrap:wrap;row-gap:5px}.tool-group-label{font-size:10px;top:-12px;left:8px;font-weight:450;letter-spacing:0}.tool-button{font-size:12px;min-height:32px;padding:7px 9px;gap:6px}.tool-icon{font-size:18px;min-width:14px}.history-icon{font-size:21px}.view-group{gap:8px}.view-field{font-size:11px;gap:6px}.view-field>span{display:block}.view-field select{font-size:12px;min-height:32px;padding:6px 20px 6px 8px}.format-toolbar{padding-top:16px;padding-bottom:5px;min-height:53px;row-gap:16px}.format-group{gap:5px;row-gap:6px;flex-wrap:wrap}.format-group-label{font-size:10px;top:-12px;font-weight:450;letter-spacing:0}.format-button,.edit-text-button,.layer-button{font-size:12px;min-height:32px;padding:7px 8px}.format-font-field select{width:147px;font-size:12px;min-height:32px;padding-left:8px}.format-size-field input{width:54px;font-size:12px;min-height:32px}.bold-button,.align-button{width:32px;padding:7px}.alignment-icon{width:15px;height:13px}.alignment-icon i{width:15px}.alignment-icon i:nth-child(2){width:10px}.format-color-field{font-size:11px;gap:6px}.format-color-field input{font-size:12px;width:85px;min-height:32px}.format-toolbar input[type=color]{width:31px;height:30px}.format-divider{margin-left:4px;margin-right:4px}.pages-panel h2{font-size:12px}.pages-panel h2 span{font-size:10px}.page-name{font-size:12px;line-height:1.35}.page-note,.local-badge,.page-list-caption,.pages-help{font-size:10px}.page-list-caption{margin-top:11px}.scope-badge{font-size:12px}.scope-bar p{font-size:11px;line-height:1.45}.scope-bar{min-height:65px;padding-top:10px;padding-bottom:10px}.scope-bar .apply-button,.apply-button{font-size:12px;min-height:34px;white-space:normal;line-height:1.3}.canvas-status{font-size:11px}.canvas-status-shortcut{font-size:10px}.properties-panel{font-size:12px}.panel-heading h2,.panel-heading h3{font-size:14px}.panel-heading>button{font-size:12px;min-height:32px;padding:6px 8px}.panel-kicker{font-size:10px}.field-label,.field>span,.field>label{font-size:11px;line-height:1.4}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea,.properties-panel>input,.property-section>input{font-size:12px;min-height:34px;padding:8px}.field small,.small,.scope-note{font-size:11px}.property-section h3,.property-section h4{font-size:12px}.room-input-row{grid-template-columns:minmax(0,1fr) 64px auto}.room-input-row input{font-size:12px;padding:8px 6px;min-height:34px}.room-input-row button{font-size:19px;padding:3px 5px}.compact-buttons button{font-size:12px;min-height:33px}.element-row,.element-row>button{font-size:12px;min-height:31px}.properties-panel button.secondary-button{font-size:12px;min-height:34px}.property-section>button{font-size:12px;min-height:34px;border:1px solid #dce5f0;border-radius:4px;background:#f6f9fd;color:#566d8a;padding:7px 9px}.properties-panel details.position-details>summary,.properties-panel details.elements-details>summary,.properties-panel details.advanced>summary{font-size:12px;line-height:1.5}.editor-status{font-size:10px;padding-top:6px;padding-bottom:6px;min-height:26px}.live-message{font-size:12px}.shapes-popover button{font-size:12px;min-height:36px}.dialog-heading p{font-size:12px}.dialog-eyebrow{font-size:10px}.secondary-button,.apply-footer .apply-button{font-size:12px;min-height:35px}.template-card,.template-card strong{font-size:12px}.template-card>span:last-child:not(.template-sample),.template-card small{font-size:11px}.preview-page-label{font-size:12px}.dialog-footer p,.dialog-footer .small{font-size:11px}
.element-content>img{display:block;width:100%;height:100%;object-fit:contain}.element-content>table.room-table{font:inherit;width:100%;line-height:1.1}.element-content>table.room-table caption{font-size:14px;line-height:1.3;padding:0 0 4px}.element-content>table.room-table th{font-size:.85em;line-height:1.1;padding:0 0 3px}.element-content>table.room-table td{line-height:1.1;padding:3px 0}.element-content>table.room-table tfoot td{padding:6px 0 0}.preview-paper .sheet{position:absolute;left:0;top:0;margin:0;transform-origin:top left}.preview-warning{grid-column:1 / -1}
@media(max-width:1250px){.toolbar{row-gap:16px}.tool-group{padding-left:7px;padding-right:7px}.tool-button{font-size:12px;padding-left:7px;padding-right:7px}.view-field>span{display:block}.view-field,.format-color-field{font-size:11px}.view-field select,.format-font-field select,.format-size-field input,.format-color-field input{font-size:12px}.format-button,.edit-text-button,.layer-button{font-size:12px}.format-group{gap:4px}.format-font-field select{width:140px}.tool-group-label,.format-group-label{font-size:10px}.scope-bar p{font-size:11px}.scope-bar .apply-button{font-size:12px}.canvas-status-shortcut{display:none}}
@media(max-width:1050px){.toolbar{row-gap:16px}.tool-button{font-size:12px;min-height:33px}.toolbar .tool-group{gap:4px}.tool-group-label,.format-group-label{font-size:10px}.format-toolbar{row-gap:16px}.format-group{gap:5px}.format-button,.edit-text-button,.layer-button{font-size:12px;min-height:33px}.format-font-field select{width:140px;font-size:12px;min-height:33px}.format-size-field input{width:53px;font-size:12px;min-height:33px}.format-color-field{font-size:11px}.format-color-field input{font-size:12px;width:84px;min-height:33px}.format-toolbar input[type=color]{width:31px;height:31px}.bold-button,.align-button{width:32px}.arrange-group{margin-left:0}.page-name{font-size:12px}.page-note,.local-badge{font-size:10px}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea{font-size:12px}.room-input-row{grid-template-columns:minmax(0,1fr) 58px auto}.room-input-row input{font-size:12px}.scope-badge{font-size:12px}.scope-bar p{font-size:11px}.scope-bar .apply-button{font-size:12px;max-width:185px}.scope-description{max-width:none}.canvas-status{font-size:11px}.template-card>span:last-child:not(.template-sample){font-size:11px}}
@media(max-width:880px){.toolbar .tool-group{flex-wrap:wrap}.toolbar .view-group{margin-left:0}.format-toolbar{row-gap:16px}.format-color-field{font-size:11px}.scope-bar{min-height:76px;gap:9px}.scope-bar p{font-size:11px}.scope-bar .apply-button{font-size:12px;min-height:33px}.scope-badge{font-size:12px}.arrange-group{margin-left:0}.view-field select{font-size:12px}.dialog-heading p{font-size:12px}}
@media(max-width:700px){.brand-bar{min-height:44px;padding-top:10px;padding-bottom:10px}.wordmark{font-size:12px}.own-plans-link{font-size:11px;max-width:175px;line-height:1.4}.document-bar{padding:12px 15px;min-height:73px}.document-title p{font-size:11px}.document-actions .text-button{font-size:11px}.preview-button{font-size:12px;min-height:36px;padding:8px 10px}.document-actions{gap:7px}.toolbar{padding-top:18px;padding-bottom:8px;row-gap:17px}.toolbar .tool-group{gap:3px;row-gap:5px;flex-wrap:wrap}.toolbar .tool-group-label,.tool-group-label,.format-group-label{font-size:10px;top:-12px}.tool-button{font-size:12px;min-height:37px;padding:8px 9px;gap:6px}.toolbar .tool-icon{font-size:17px;min-width:13px}.toolbar .history-icon{font-size:21px}.toolbar .text-icon{font-size:19px}.toolbar .view-group{padding-top:16px;gap:9px;min-height:54px}.toolbar .view-group>.tool-group-label{font-size:10px;top:1px}.view-field{font-size:11px}.view-field select{font-size:12px;min-height:37px;padding:8px 17px 8px 7px}.grid-button{font-size:12px;min-height:37px}.format-toolbar{padding-top:18px;padding-bottom:9px;row-gap:18px}.typography-group{gap:6px;row-gap:8px}.format-button,.edit-text-button,.layer-button{font-size:12px;min-height:37px;padding:8px 9px}.format-font-field select{width:151px;font-size:12px;min-height:37px}.format-size-field input{width:55px;font-size:12px;min-height:37px;padding-left:7px}.bold-button,.align-button{width:37px;padding:8px}.format-color-field{font-size:11px;gap:6px}.format-color-field input{font-size:12px;width:85px;min-height:37px}.format-toolbar input[type=color]{width:36px;height:35px}.arrange-group{padding-top:17px;gap:7px;min-height:54px}.arrange-group>.format-group-label{top:2px;font-size:10px}.format-divider{height:21px;margin-left:3px;margin-right:3px}.page-name{font-size:12px;line-height:1.3}.page-note,.local-badge{font-size:10px;line-height:1.35}.pages-panel h2{font-size:12px}.page-tile{padding-left:3px;padding-right:3px;gap:5px}.scope-badge{font-size:12px;line-height:1.35}.scope-bar p{font-size:11px;line-height:1.4}.scope-bar .apply-button{font-size:12px;min-height:38px;max-width:165px;padding:8px 9px;line-height:1.35}.scope-description{max-width:53%}.scope-bar{gap:10px;padding-top:11px;padding-bottom:11px}.canvas-status{font-size:11px;line-height:1.5}.panel-kicker{font-size:11px}.panel-heading>button{font-size:12px;min-height:36px}.field-label,.field>span,.field>label{font-size:12px}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea{font-size:13px;min-height:38px}.field small,.small,.scope-note{font-size:12px}.property-section h3,.property-section h4{font-size:13px}.room-input-row{grid-template-columns:minmax(0,1fr) 80px auto}.room-input-row input{font-size:13px;min-height:38px}.room-input-row button{font-size:21px;min-width:30px;min-height:36px}.compact-buttons button{font-size:12px;min-height:37px}.element-row,.element-row>button{font-size:12px;min-height:36px}.property-section>button,.properties-panel button.secondary-button{font-size:12px;min-height:37px}.properties-panel details.position-details>summary,.properties-panel details.elements-details>summary,.properties-panel details.advanced>summary{font-size:12px;min-height:34px}.editor-status{font-size:11px;line-height:1.5}.live-message{font-size:12px}.dialog-heading p{font-size:12px}.dialog-eyebrow{font-size:11px}.dialog-footer p,.dialog-footer .small{font-size:11px}.secondary-button,.apply-footer .apply-button{font-size:12px;min-height:38px}.template-card,.template-card strong{font-size:12px}.template-card>span:last-child:not(.template-sample),.template-card small{font-size:11px}.preview-page-label{font-size:12px}.apply-message{font-size:12px}.preview-warning{font-size:12px;line-height:1.6}}
@media(max-width:380px){.tool-button,.format-button,.edit-text-button,.layer-button{font-size:12px;min-height:37px}.tool-group-label,.format-group-label{font-size:10px}.format-font-field select{width:139px;font-size:12px}.format-size-field input{width:53px;font-size:12px}.format-color-field{font-size:11px}.format-color-field input{width:83px;font-size:12px}.bold-button,.align-button{width:36px}.scope-badge{font-size:12px}.scope-bar .apply-button{font-size:12px;max-width:150px}.document-title p{font-size:10px}.own-plans-link{font-size:11px;max-width:155px}.page-name{font-size:12px}.page-note{font-size:10px}}

/* Room tables share the lower edge of their layout frame. */
.element-table .element-content{display:flex;flex-direction:column;justify-content:flex-end;overflow:visible}
.element-table .room-table{flex:0 0 auto}
/* Keep the side panels beside the document on wide displays. */
.workspace{width:min(100%,var(--editor-workspace-width,1280px));margin-inline:auto;border-inline:1px solid #dce2e9}
@media(max-width:700px){.workspace{width:100%;border-inline:0}}
@media(min-width:1440px){.brand-bar,.document-bar,.toolbar,.format-toolbar,.editor-status{padding-inline:calc((100% - 1360px)/2 + 20px)}}
/* Handle anchors and screen-size compensation are set by the editor. */
.handle{position:absolute;inset:auto;transform:none;width:12px;height:12px;border:2px solid #2c70c9;border-radius:2px;background:#fff;box-shadow:none;touch-action:none;z-index:110;cursor:default}
.handle[data-handle=nw],.handle[data-handle=se]{cursor:nwse-resize}
.handle[data-handle=ne],.handle[data-handle=sw]{cursor:nesw-resize}
.handle[data-handle=n],.handle[data-handle=s]{cursor:ns-resize}
.handle[data-handle=e],.handle[data-handle=w]{cursor:ew-resize}
.resize-feedback{position:absolute;left:0;bottom:-36px;z-index:115;padding:6px 9px;border:1px solid #b8ceec;border-radius:4px;background:#fff;color:#266ac3;box-shadow:0 2px 8px #234a7b1c;font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;pointer-events:none;user-select:none}

/* Reusable brand colors stay beside the color controls. */
.color-input-row{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:8px;margin:7px 0 12px;min-width:0}
.color-input-row input[type=color]{display:block;width:36px;min-width:36px;height:36px;min-height:36px;border:1px solid #d4deeb;border-radius:5px;background:#fff;padding:4px;cursor:pointer}
.color-input-row input:not([type=color]){width:100%;min-width:0;min-height:36px;border:1px solid #d4deeb;border-radius:5px;background:#fff;padding:8px 10px;color:#536a86;font-size:12px;line-height:1.3;text-transform:uppercase;letter-spacing:.02em}
.color-input-row input:hover{border-color:#abc0db}
.color-input-row .save-brand-color{grid-column:1 / -1;margin-top:0}
.save-brand-color{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:34px;border:1px solid #cbdbee;border-radius:5px;background:#f4f8fe;color:#4d6d95;padding:7px 10px;font-size:12px;font-weight:500;line-height:1.3;cursor:pointer}
.save-brand-color:hover{background:#eaf2ff;border-color:#a9c3e6;color:#355f94}
.save-brand-color:disabled{opacity:.4;cursor:default}
.brand-palette{margin:15px 0 0;padding-top:13px;border-top:1px solid #e5ebf3;min-width:0}
.brand-palette-label,.brand-palette h4{display:block;margin:0 0 10px;color:#566d8a;font-size:12px;font-weight:500;line-height:1.4}
.brand-color-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.brand-color-chip{display:inline-flex;align-items:center;flex:none;overflow:hidden;border:1px solid #d9e3ef;border-radius:5px;background:#fff;padding:2px;box-shadow:0 1px 2px #304b6b05}
.brand-color-chip:hover{border-color:#a9c0df}
.brand-color-apply{display:block;flex:none;width:32px;height:32px;min-height:32px;border:1px solid #0000000c;border-radius:3px;padding:0;cursor:pointer}
.brand-color-apply:hover{box-shadow:inset 0 0 0 2px #ffffff88}
.brand-color-apply[aria-pressed=true]{outline:2px solid #3576d7;outline-offset:-2px}
.brand-color-remove{display:flex;align-items:center;justify-content:center;flex:none;width:28px;height:32px;min-height:32px;border:0;border-radius:3px;background:#fff;color:#5f6c7d;padding:0;font-family:Inter,Arial,sans-serif;font-size:17px;font-weight:400;line-height:1;cursor:pointer}
.brand-color-remove:hover{background:#fff1ee;color:#9e584a}
.brand-palette-empty{margin:0;color:#5e6c7e;font-size:11px;line-height:1.7}
.brand-color-menu{position:relative;flex:none;min-width:0}
.brand-color-menu>summary{list-style:none;color:#536d8e}
.brand-color-menu>summary::-webkit-details-marker{display:none}
.brand-color-menu>summary::after{content:'⌄';font-size:11px;color:#5b6d84;margin-left:3px}
.brand-color-menu[open]>summary{border-color:#bfd2ed;background:#eaf2ff;color:#3c689f}
.brand-color-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:180;width:246px;max-width:calc(100vw - 28px);padding:15px;background:#fff;border:1px solid #d4dfed;border-radius:8px;box-shadow:0 10px 30px #233d5e26;color:#536b89;white-space:normal}
.brand-color-popover .brand-palette{padding-top:0;margin-top:0;border-top:0}
.brand-color-popover .save-brand-color{margin-top:14px}
.brand-color-popover .brand-color-list{gap:7px}
.brand-color-popover .brand-palette-empty{font-size:11px;line-height:1.65}
@media(max-width:1050px){.brand-color-menu>.format-button{font-size:12px}.brand-color-popover{right:auto;left:0}.properties-panel .brand-color-list{gap:7px}.properties-panel .brand-color-chip{padding:2px}.properties-panel .brand-color-remove{width:27px}}
@media(max-width:700px){.color-input-row{grid-template-columns:38px minmax(0,1fr);gap:9px;margin-bottom:15px}.color-input-row input[type=color]{width:38px;min-width:38px;height:38px;min-height:38px}.color-input-row input[type=text]{min-height:38px;font-size:13px}.save-brand-color{min-height:38px;font-size:12px;padding:8px 11px}.brand-palette{margin-top:18px;padding-top:15px}.brand-palette-label,.brand-palette h4{font-size:12px;margin-bottom:12px}.brand-color-list{gap:10px}.brand-color-apply{width:34px;height:34px;min-height:34px}.brand-color-remove,.properties-panel .brand-color-remove{width:31px;height:34px;min-height:34px;font-size:18px}.brand-palette-empty{font-size:12px}.brand-color-popover{width:249px;left:0;right:auto;padding:15px}.brand-color-popover .brand-palette-empty{font-size:12px}.brand-color-popover .brand-color-list{gap:8px}.brand-color-menu>.format-button{font-size:12px;min-height:37px}}

/* Fit uses a measured, contained page; explicit zoom keeps the scrollable stage. */
.canvas-stage.is-fit-view{overflow:hidden}

/* Rotation positions and inverse zoom sizes are supplied by the editor. */
.rotation-handle{position:absolute;z-index:115;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:1.5px solid #2c70c9;border-radius:50%;background:#fff;color:#266ac3;box-shadow:0 1px 4px #254d7c1a;padding:0;font-family:Arial,sans-serif;font-size:17px;font-weight:400;line-height:1;cursor:grab;touch-action:none;user-select:none;pointer-events:auto}
.rotation-handle:hover{background:#edf5ff;border-color:#1d60b7;color:#174f98}
.rotation-handle:active{cursor:grabbing;background:#deedff}
.rotation-handle:focus-visible{outline:2px solid #82a9dd;outline-offset:3px}
.rotation-stem{position:absolute;z-index:108;width:1px;height:20px;background:#5e91d1;pointer-events:none;transform-origin:bottom center}
.object-tools-anchor{position:absolute;left:0;top:-12px;z-index:120;pointer-events:none;transform-origin:0 0}
.object-tools{pointer-events:auto}
.object-tools-anchor>.object-tools{left:0;top:0;margin:0;transform-origin:0 0}
.rotation-controls{padding-top:14px;margin-top:15px;border-top:1px solid #e6edf5;min-width:0}
.rotation-controls .field{margin-bottom:9px}
.rotation-controls .field input[type=number]{width:100%;min-height:34px;font-size:12px}
.rotation-actions{display:flex;align-items:center;gap:6px;margin-top:8px;min-width:0}
.rotation-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;min-height:32px;border:1px solid #d5e0ed;border-radius:4px;background:#f8fafd;color:#516d90;padding:6px 8px;font-size:12px;font-weight:450;line-height:1.3;white-space:nowrap}
.rotation-actions button:hover{background:#eaf3ff;border-color:#b1cae9;color:#386699}
.rotation-actions button:active{background:#deebfc}
.rotation-actions button:disabled{opacity:.4;cursor:default}
.rotation-help{margin:9px 0 0;color:#5c6d82;font-size:11px;line-height:1.65}
.preview-page .rotation-handle,.preview-page .rotation-stem,.preview-page .object-tools-anchor{display:none!important}
@media(max-width:700px){.rotation-controls{padding-top:17px;margin-top:18px}.rotation-controls .field input[type=number]{font-size:13px;min-height:38px}.rotation-actions{gap:8px;margin-top:10px}.rotation-actions button{min-height:37px;font-size:12px;padding:8px 9px}.rotation-help{font-size:12px;line-height:1.7;margin-top:11px}}

/* Two header rows: the document bar, then tools for the selected object. */
.editor-topbar{display:flex;align-items:center;flex-wrap:nowrap;gap:16px;min-height:59px;padding:9px max(18px,calc((100% - 1360px)/2 + 18px));background:#151b26;border-bottom:1px solid #252f3d}
.editor-topbar .wordmark{font-size:12px;flex:none;letter-spacing:.09em}
.editor-document-title{padding-left:16px;border-left:1px solid #394354;min-width:0;flex:none}
.editor-document-title h1{font-size:15px;font-weight:550;letter-spacing:-.3px;line-height:1.3;color:#f2f4f8}
.editor-document-title p{font-size:11px;line-height:1.4;color:#98a5b9;margin-top:3px;white-space:nowrap}
.header-history{display:flex;align-items:center;gap:4px;padding-left:14px;border-left:1px solid #394354;flex:none}
.header-icon-button{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border:1px solid transparent;border-radius:5px;background:transparent;color:#cbd4e2;font-family:Arial,sans-serif;font-size:24px;line-height:1;padding:0;cursor:pointer}
.header-icon-button:hover{background:#263247;border-color:#43526b;color:#fff}
.header-icon-button:disabled{opacity:.3}
.editor-topbar .own-plans-link{font-size:11px;margin-left:auto;white-space:nowrap;color:#aab7cb}
.header-document-actions{display:flex;align-items:center;gap:13px;flex:none}
.header-document-actions .text-button{font-size:12px;padding:7px 0;color:#9aa9bf;white-space:nowrap}
.header-document-actions .text-button:hover{color:#e8edf5}
.header-document-actions .preview-button{font-size:12px;min-height:34px;padding:8px 11px;background:#eef3fa;border-color:#eef3fa;color:#3a4f6d}
.header-document-actions .preview-button:hover{background:#fff;border-color:#fff}
.toolbar.unified-toolbar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px 0;padding:8px max(18px,calc((100% - 1360px)/2 + 18px));min-height:52px;background:#fff;border-bottom:1px solid #cfd9e6;z-index:25}
.insert-tools{display:flex;align-items:center;flex-wrap:nowrap;gap:2px;padding-right:10px;border-right:1px solid #e1e8f1;flex:none;min-width:0}
.unified-toolbar .tool-button{font-size:12px;min-height:34px;padding:7px 6px;gap:5px}
.unified-toolbar .tool-icon{font-size:17px;min-width:13px}
.unified-toolbar .text-icon{font-size:19px}
.unified-toolbar .menu-chevron{margin-left:0;font-size:10px}
.context-tools{display:none;align-items:center;gap:4px;min-width:0;flex:none;padding:0 9px;border-right:1px solid #e1e8f1}
.context-arrange-tools{padding-right:0;border-right:0}
body[data-selection-type=text] [data-context-tools=text],body[data-selection-type=text] [data-context-tools=color],body[data-selection-type=north] [data-context-tools=color],body[data-selection-type=shape] [data-context-tools=color],body[data-selection-type=text] [data-context-tools=selected],body[data-selection-type=image] [data-context-tools=selected],body[data-selection-type=north] [data-context-tools=selected],body[data-selection-type=shape] [data-context-tools=selected]{display:flex}
.unified-toolbar .format-button{min-height:33px;padding:7px 5px;font-size:12px;gap:4px}
.unified-toolbar .edit-text-button{padding-left:0;margin:0}
.unified-toolbar .format-font-field select{width:132px;min-height:33px;font-size:12px;padding-left:7px;padding-right:18px}
.unified-toolbar .format-size-field input{width:49px;min-height:33px;font-size:12px;padding-left:6px}
.unified-toolbar .bold-button{width:29px;padding:6px}
.unified-toolbar .format-color-field{font-size:11px;gap:5px;margin:0}
.unified-toolbar .format-color-field input{width:75px;min-height:33px;font-size:12px;padding:6px}
.unified-toolbar #format-color-picker{width:29px;height:31px;min-height:31px;flex:none;border:1px solid #d5dfed;border-radius:4px;padding:3px;background:#fff;cursor:pointer}
.unified-toolbar #format-color-picker:disabled{opacity:.35;cursor:default}
.unified-toolbar .brand-color-menu>summary{font-size:12px;gap:2px;padding-left:4px;padding-right:3px}
.unified-toolbar .brand-color-popover{left:auto;right:0}
.context-idle{font-size:12px;line-height:1.5;color:#5f6c7e;padding-left:15px;min-width:0;margin:0}
body[data-selection-type=text] .context-idle,body[data-selection-type=image] .context-idle,body[data-selection-type=north] .context-idle,body[data-selection-type=shape] .context-idle{display:none}
.toolbar-menu{position:relative;flex:none}
.toolbar-menu>summary{list-style:none}
.toolbar-menu>summary::-webkit-details-marker{display:none}
.toolbar-menu[open]>summary{background:#edf4ff;border-color:#c6d8ef;color:#36679f}
.toolbar-menu>summary>.alignment-icon{margin-right:1px}
.toolbar-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:180;display:flex;flex-direction:column;gap:3px;width:176px;border:1px solid #d5e0ed;border-radius:7px;background:#fff;box-shadow:0 8px 24px #27426525;padding:6px}
.unified-toolbar .toolbar-popover .format-button{justify-content:flex-start;width:100%;font-size:12px;min-height:35px;padding:8px 9px;gap:10px}
.unified-toolbar .toolbar-popover .align-button{width:100%}
.unified-toolbar .toolbar-popover .alignment-icon{flex:none}
.canvas-status{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:43px;padding:6px 10px 6px 14px}
.canvas-status #selection-status{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.5}
.canvas-view-controls{display:flex;align-items:center;gap:6px;flex:none;min-width:0}
.canvas-view-controls .view-field{display:block;font-size:11px}
.canvas-view-controls .view-field select{font-size:11px;padding:6px 18px 6px 6px;min-height:30px;max-width:100px;color:#596c86}
.canvas-view-controls .grid-button{font-size:11px;padding:6px;min-height:30px;gap:4px;margin-left:0}
.canvas-view-controls .tool-icon{font-size:16px;min-width:12px}
@media(max-width:1300px){.editor-topbar{gap:13px}.editor-document-title{padding-left:13px}.header-history{padding-left:10px}.header-document-actions{gap:10px}.toolbar.unified-toolbar{gap:7px 0;padding-inline:14px}.insert-tools{padding-right:7px}.context-tools{padding-left:7px;padding-right:7px}.context-arrange-tools{padding-right:0}.unified-toolbar .format-font-field select{width:128px}.unified-toolbar .tool-button{padding-left:5px;padding-right:5px}.context-idle{font-size:12px}}
@media(max-width:1050px){.editor-topbar{flex-wrap:wrap;gap:8px 13px;padding:10px 15px}.editor-document-title{flex:1}.editor-topbar .own-plans-link{margin-left:auto}.header-document-actions{gap:11px}.header-history{padding-left:10px}.toolbar.unified-toolbar{padding:8px 12px;gap:8px 0}.insert-tools{border-right:0;flex-wrap:wrap}.context-tools{flex-wrap:wrap;row-gap:6px}.context-text-tools{padding-left:8px}.unified-toolbar .tool-button,.unified-toolbar .format-button{font-size:12px;min-height:34px}.unified-toolbar .format-font-field select{font-size:12px;min-height:34px;width:132px}.unified-toolbar .format-size-field input{font-size:12px;min-height:34px}.context-color-tools{padding-left:8px}.canvas-status{gap:7px;padding-left:10px;padding-right:8px}.canvas-view-controls{gap:4px}.canvas-view-controls .view-field select{font-size:11px;padding-right:14px;padding-left:5px}.canvas-view-controls .grid-button{font-size:11px;padding:6px 4px}.context-idle{padding-left:10px}}
@media(max-width:700px){.editor-topbar{display:grid;grid-template-columns:1fr auto auto;gap:9px 10px;padding:11px 14px;min-height:0}.editor-topbar .wordmark{font-size:11px;grid-column:1;grid-row:1}.editor-document-title{grid-column:1 / 3;grid-row:2;border-left:0;padding-left:0}.editor-document-title h1{font-size:15px}.editor-document-title p{font-size:11px;margin-top:3px;white-space:normal}.header-history{grid-column:2 / 4;grid-row:1;justify-content:flex-end;padding-left:0;border-left:0}.header-icon-button{width:35px;height:35px;font-size:25px}.header-document-actions{grid-column:3;grid-row:2;align-items:flex-end;justify-content:flex-end;flex-direction:column-reverse;gap:6px}.header-document-actions .preview-button{font-size:12px;min-height:36px;padding:8px 10px}.header-document-actions .text-button{font-size:11px;padding:0}.editor-topbar .own-plans-link{grid-column:1 / -1;grid-row:3;margin:0;text-align:left;max-width:none;font-size:11px;line-height:1.4}.toolbar.unified-toolbar{padding:9px 10px;gap:8px 0;min-height:0}.insert-tools{width:100%;gap:4px 3px;padding:0 0 8px;border-right:0;border-bottom:1px solid #e6edf5;flex-wrap:wrap}.unified-toolbar .tool-button{font-size:12px;min-height:37px;padding:8px 7px;gap:5px}.unified-toolbar .tool-icon{font-size:17px;min-width:13px}.context-tools{padding:0 7px 0 0;border-right:0;gap:5px}.context-text-tools{width:100%;padding:0 0 8px;border-bottom:1px solid #e6edf5;row-gap:7px}.context-color-tools{padding-right:9px;row-gap:6px}.unified-toolbar .format-button{font-size:12px;min-height:37px;padding:8px 7px}.unified-toolbar .edit-text-button{padding-left:0;padding-right:2px}.unified-toolbar .format-font-field select{font-size:12px;min-height:37px;width:137px}.unified-toolbar .format-size-field input{font-size:12px;min-height:37px;width:50px}.unified-toolbar .bold-button{width:34px}.unified-toolbar .format-color-field{font-size:11px;gap:5px}.unified-toolbar .format-color-field input{font-size:12px;min-height:37px;width:78px}.unified-toolbar #format-color-picker{width:34px;height:35px;min-height:35px}.unified-toolbar .brand-color-menu>summary{font-size:12px;min-height:37px;padding-left:4px;padding-right:3px}.context-idle{display:none!important}.toolbar-popover{width:176px}.arrange-popover{left:0;right:auto}.unified-toolbar .toolbar-popover .format-button{min-height:38px;font-size:12px}.unified-toolbar .brand-color-popover{right:0;left:auto}.canvas-status{flex-wrap:wrap;padding:9px 12px;gap:7px;min-height:0}.canvas-status #selection-status{flex-basis:100%;font-size:11px;line-height:1.5}.canvas-view-controls{width:100%;gap:8px}.canvas-view-controls .view-field select{font-size:12px;min-height:36px;max-width:116px;padding-left:7px;padding-right:18px}.canvas-view-controls .grid-button{font-size:12px;min-height:36px;padding:7px 9px;margin-left:auto}.canvas-view-controls .tool-icon{font-size:17px}}
@media(max-width:380px){.editor-topbar{padding-left:12px;padding-right:12px;column-gap:8px}.editor-document-title h1{font-size:14px}.editor-document-title p{font-size:10px}.header-document-actions .preview-button{font-size:12px;padding-left:8px;padding-right:8px}.toolbar.unified-toolbar{padding-left:9px;padding-right:9px}.unified-toolbar .tool-button{font-size:12px;padding-left:6px;padding-right:6px}.unified-toolbar .format-font-field select{width:126px}.unified-toolbar .format-size-field input{width:47px}.unified-toolbar .format-button{font-size:12px}.canvas-view-controls{gap:5px}}

/* Readable UI defaults without changing the colors of editable handouts. */
.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea,.room-input-row input,.format-font-field select,.format-size-field input,.format-color-field input,.color-input-row input,.canvas-view-controls select{border-color:#7b8b9f}
.unified-toolbar #format-color-picker{border-color:#7b8b9f}
.field input:hover,.field select:hover,.field textarea:hover,.room-input-row input:hover,.format-font-field select:hover,.format-size-field input:hover,.format-color-field input:hover,.color-input-row input:hover{border-color:#466992}
.brand-color-apply{border-color:#7b8b9f}
body button:focus-visible,body a:focus-visible,body input:focus-visible,body select:focus-visible,body summary:focus-visible,body textarea:focus-visible{outline:3px solid #3072c5;outline-offset:3px}

.template-sample>img.authentic-template-preview{position:static;inset:auto;display:block;width:100%;height:100%;max-width:100%;margin:0;padding:0;object-fit:contain}
.thumb-sheet::before{background:var(--thumbnail-accent,#b75a32)}

@media(max-width:700px){.pages-panel .page-tile.master-tile{flex-basis:160px;width:160px;max-width:160px}}

@media(max-width:700px){.pages-panel .page-list{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;width:100%;max-width:100%;min-width:0;max-height:116px;overflow-x:auto;overflow-y:hidden;padding:1px 2px 8px;overscroll-behavior:contain;scrollbar-gutter:auto;scrollbar-width:thin;scrollbar-color:#627791 #e8edf5}.pages-panel .page-list::-webkit-scrollbar{height:9px;background:#e8edf5}.pages-panel .page-list::-webkit-scrollbar-thumb{border:2px solid #e8edf5;border-radius:8px;background:#627791}.pages-panel .page-tile{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;align-content:center;justify-content:start;column-gap:8px;row-gap:4px;flex:0 0 130px;width:130px;max-width:130px;min-height:88px;max-height:99px;padding:9px 7px;text-align:left}.pages-panel .page-tile>.thumb-sheet,.pages-panel .page-tile>.page-thumb{grid-column:1;grid-row:1 / 3;align-self:center;justify-self:center}.pages-panel .thumb-sheet{width:34px;height:48px}.pages-panel .thumb-plan{left:3px;top:12px;width:28px;height:26px}.pages-panel .thumb-title{left:4px;right:4px;top:8px}.pages-panel .thumb-sheet::before{left:4px;top:4px;width:13px;height:2px}.pages-panel .thumb-sheet::after{left:4px;right:4px;bottom:6px}.pages-panel .page-name{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;grid-column:2;grid-row:1;align-self:end;text-align:left;font-size:12px;line-height:1.3;max-width:100%}.pages-panel .page-note{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;grid-column:2;grid-row:2;align-self:start;text-align:left;font-size:10px;line-height:1.35;max-width:100%}.pages-panel .master-tile{margin:0 2px 0 0}.pages-panel .master-symbol{grid-column:1;grid-row:1 / 3;align-self:center;justify-self:center;width:33px;height:41px;margin:0;font-size:20px}.pages-panel .master-tile::after{right:-6px;left:auto;top:9px;bottom:9px;width:1px;height:auto}.pages-panel .page-list-caption{display:none}}

/* Real, non-interactive sheets share the canvas renderer and its exact geometry. */
.pages-panel .thumb-sheet.live-thumbnail{width:81px;height:auto;max-width:100%;aspect-ratio:794 / 1123;border:0;outline:1px solid #dce2e9;background:transparent;pointer-events:none;user-select:none}
.pages-panel .thumb-sheet.live-thumbnail::before,.pages-panel .thumb-sheet.live-thumbnail::after{content:none;display:none}
.live-thumbnail>.thumbnail-sheet{display:block;position:absolute;left:0;top:0;margin:0;padding:0;border:0;box-shadow:none;transform-origin:top left;pointer-events:none;text-align:left}
.live-thumbnail .canvas-element,.live-thumbnail .canvas-element:hover{pointer-events:none;cursor:inherit;outline:none!important}
.live-thumbnail .element-content{pointer-events:none;user-select:none}
@media(max-width:1050px){.pages-panel .thumb-sheet.live-thumbnail{width:72px}}
@media(max-width:700px){.pages-panel .thumb-sheet.live-thumbnail{width:34px;height:auto}}

/* Start the tools at the same edge as the centered thumbnail column. */
@media(min-width:701px){
  .toolbar.unified-toolbar{padding-left:max(0px,calc((100% - var(--editor-workspace-width,1280px))/2));padding-right:18px}
  .unified-toolbar #templates-button{padding-left:0}
}

.format-line-height-field{display:inline-flex;align-items:center;position:relative;flex:none;color:#5f6c7e}
.format-line-height-field svg{position:absolute;left:5px;width:12px;height:14px;pointer-events:none}
.format-line-height-field input{width:54px;min-height:33px;border:1px solid #7b8b9f;border-radius:4px;background:#fff;color:#53667f;padding:5px 3px 5px 21px;font-size:12px;appearance:textfield;-moz-appearance:textfield}
.format-line-height-field input::-webkit-inner-spin-button,.format-line-height-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.format-line-height-field input:hover{border-color:#466992}
.text-overflow-hint{margin-top:8px;font-size:11px;line-height:1.5;color:#875328}
@media(max-width:700px){.format-line-height-field input{min-height:37px}}

/* Personal assets stay available while the selected element's properties scroll. */
#properties-panel.properties-panel{--properties-content-padding:19px 17px 22px;display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden}
.properties-content{flex:1 1 auto;min-width:0;min-height:0;padding:var(--properties-content-padding);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#8c9db2 #fff}
.properties-content::-webkit-scrollbar{width:9px;background:#fff}
.properties-content::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:8px;background:#8c9db2}
.asset-library{display:flex;flex-direction:column;flex:0 0 auto;gap:6px;min-width:0;min-height:0;max-height:min(230px,45%);padding:10px 13px;border-top:1px solid #dce2e9;background:#f8fafc;overflow:hidden}
.library-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-width:0;min-height:32px}
.library-heading h2,.library-heading h3{min-width:0;margin:0;font-size:12px;font-weight:600;line-height:1.4;color:#41516a}
.asset-library #library-upload-button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:4px;width:auto;min-height:32px;margin:0;padding:5px 7px;border:1px solid #aebdd0;border-radius:4px;background:#fff;color:#3d5675;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap}
.asset-library #library-upload-button:not(:disabled):hover{background:#edf4ff;border-color:#6f94c6;color:#255b9a}
.library-hint{flex:none;min-width:0;margin:0;color:#58697e;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:7px;flex:0 1 auto;min-width:0;min-height:0;max-height:149px;padding:2px 3px 3px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#8c9db2 #eaf0f7}
.library-grid:empty{display:none}
.library-grid::-webkit-scrollbar{width:8px;background:#eaf0f7}
.library-grid::-webkit-scrollbar-thumb{border:2px solid #eaf0f7;border-radius:8px;background:#8c9db2}
.library-item{position:relative;min-width:0;margin:0;border-radius:5px}
.library-insert{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;min-width:0;min-height:68px;margin:0;padding:4px;border:1px solid #c6d2e2;border-radius:5px;background:#fff;color:#465a75;cursor:grab;user-select:none}
.library-insert img{display:block;width:100%;max-width:100%;height:40px;object-fit:contain;background-color:#fff;background-image:repeating-conic-gradient(#e6ebf1 0% 25%,transparent 0% 50%);background-position:center;background-size:10px 10px;pointer-events:none;user-select:none}
.library-name{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:450;line-height:1.3;text-align:left}
.library-insert:not(:disabled):hover{border-color:#7199cd;background:#f0f6ff}
.library-insert:not(:disabled):active{cursor:grabbing}
.library-remove{position:absolute;top:2px;right:2px;z-index:2;display:flex;align-items:center;justify-content:center;width:23px;height:23px;min-height:23px;margin:0;padding:0;border:1px solid #bcc9d9;border-radius:4px;background:#ffffffed;color:#7c483e;font-family:Arial,sans-serif;font-size:17px;line-height:1;box-shadow:0 1px 3px #263b5520;cursor:pointer}
.library-remove:not(:disabled):hover{border-color:#b46c60;background:#fff0ed;color:#923c2d}
.library-item.is-dragging{opacity:.6;outline:2px solid #4c7fc2;outline-offset:1px}
.library-empty{display:flex;align-items:center;gap:8px;grid-column:1 / -1;flex:none;min-width:0;margin:0;padding:12px 10px;border:1px dashed #aebed2;border-radius:5px;background:#fff;color:#58697e;font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.library-empty>span:first-child{flex:none;font-size:19px}
.asset-library.library-file-over{background:#edf4ff;box-shadow:inset 0 0 0 2px #4c7fc2}
.library-status{flex:none;min-width:0;margin:0;color:#465f7e;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.library-status:empty{display:none}
.library-status.is-error{color:#9a4838}
.sheet.library-drop-target{outline:4px solid #3072c5;outline-offset:6px}
@media(min-width:1600px){#properties-panel.properties-panel{--properties-content-padding:22px}.asset-library{padding-inline:15px}}
@media(max-width:1050px){#properties-panel.properties-panel{--properties-content-padding:17px 13px}.asset-library{padding-inline:10px}.library-heading{gap:5px}.asset-library #library-upload-button{padding-inline:5px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  #properties-panel.properties-panel{--properties-content-padding:23px 20px 25px;display:block;overflow:visible}
  .properties-content{min-height:150px;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}
  .asset-library{max-height:none;padding:16px 20px 20px;gap:9px;overflow:visible}
  .library-heading{min-height:38px;gap:10px}
  .library-heading h2,.library-heading h3{font-size:13px}
  .asset-library #library-upload-button{min-height:38px;padding:8px 11px;font-size:12px}
  .library-hint,.library-empty,.library-status{font-size:12px;line-height:1.5}
  .library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:194px;padding:3px 4px 4px;overscroll-behavior:auto}
  .library-insert{min-height:86px;padding:6px;gap:6px}
  .library-insert img{height:50px;background-size:12px 12px}
  .library-name{font-size:12px;line-height:1.35}
  .library-remove{top:3px;right:3px;width:32px;height:32px;min-height:32px;font-size:21px}
  .library-empty{padding:15px 12px}
}

/* Selection adornments are independent of the document element stack. */
.selection-frame{position:absolute;pointer-events:none;outline:2px solid #3576d7;outline-offset:0;background:transparent}
.selection-frame .handle,.selection-frame .rotation-handle{pointer-events:auto}
.selection-frame .rotation-stem,.selection-frame .resize-feedback{pointer-events:none}
.arrange-popover{width:206px;max-width:calc(100vw - 24px)}
@media(max-width:1050px){.context-arrange-tools{margin-left:auto}}
@media(max-width:700px){.unified-toolbar .arrange-popover{left:auto;right:0}}

.apply-dialog .apply-message{padding:0 26px;margin:0 0 18px;font-size:13px;line-height:1.65}
.apply-plan-option{display:flex;align-items:flex-start;gap:11px;margin:0 26px 15px;padding:14px 15px;border:1px solid #bdcde0;border-radius:6px;background:#f6f9fd;cursor:pointer}
.apply-plan-option input{flex:none;width:17px;height:17px;margin:2px 0 0;accent-color:#b75a32;cursor:pointer}
.apply-plan-option>span{display:flex;flex-direction:column;gap:5px;min-width:0}
.apply-plan-option strong{font-size:13px;font-weight:600;line-height:1.4;color:#344b68}
.apply-plan-option span span{font-size:12px;line-height:1.6;color:#58697e}
.apply-scope{padding:0 26px 22px;font-size:12px;line-height:1.65;color:#58697e}
.apply-scope p{margin:0}
.apply-scope #apply-format-note{margin-top:10px;color:#875328}
@media(max-width:700px){.apply-dialog .apply-message{padding-inline:18px;font-size:12px}.apply-plan-option{margin-inline:18px;padding:12px;gap:9px}.apply-plan-option strong{font-size:12px}.apply-scope{padding:0 18px 18px}}

.unified-toolbar .case-button{flex:none;width:31px;min-width:31px;padding:6px 3px;font-weight:500;letter-spacing:0;text-transform:none}
@media(max-width:700px){.unified-toolbar .case-button{width:34px;min-width:34px}}

/* Personal templates use the existing dialog rather than another editor row. */
.templates-dialog{width:min(1040px,94vw)}
.templates-dialog [hidden]{display:none!important}
.template-tabs{display:flex;align-items:center;gap:5px;padding:12px 25px 0;background:#fff;border-bottom:1px solid #dce4ee}
.template-tabs>[role=tab]{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;margin-bottom:-1px;border:1px solid transparent;border-bottom:3px solid transparent;border-radius:5px 5px 0 0;background:#fff;color:#526a87;font-size:13px;font-weight:500;line-height:1.4}
.template-tabs>[aria-selected=true]{border-bottom-color:#b95208;background:#fff8f1;color:#88400a}
.template-tabs>[role=tab]:hover{background:#f4f7fc}
.template-tabs>button:disabled{opacity:.55;cursor:wait}
.template-library-note{margin:0;padding:0 25px 22px;color:#596b81;font-size:11px;line-height:1.7}
.own-template-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:26px;padding:25px;align-items:start}
.own-template-workspace h3{margin:0 0 16px;font-size:14px;font-weight:550;line-height:1.5;color:#415b7b}
.own-template-catalog{min-width:0}
.own-template-catalog .template-search{margin-bottom:17px}
.own-template-workspace .field>span{font-size:12px;margin-bottom:7px;color:#53677f}
.own-template-workspace .field input{min-height:40px;padding:10px;font-size:13px;border-color:#7b8b9f}
.own-template-workspace .field>span small{display:inline;margin-left:5px;font-size:11px;font-weight:400;color:#647184}
.own-template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;max-height:500px;overflow-y:auto;overscroll-behavior:contain;padding:3px;scrollbar-gutter:stable}
.own-template-list>.template-library-empty{grid-column:1/-1}
.template-library-empty{margin:0;padding:22px 15px;border:1px dashed #c7d4e4;border-radius:6px;background:#f8fafc;color:#596d85;font-size:12px;line-height:1.8}
.editor-dialog>.dialog-heading{position:sticky;top:0;z-index:4;background:#fff}
.own-template-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;min-width:0;padding:11px;border:1px solid #c5d2e2;border-radius:6px;background:#f7f9fc;color:#49617e;text-align:left;line-height:1.5;overflow:hidden}
.own-template-card:hover{border-color:#819fc5;background:#eef4fc}
.own-template-card[aria-pressed=true]{border-color:#b95208;background:#fff8f1;box-shadow:inset 0 0 0 1px #b95208}
.own-template-card>strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}
.own-template-customer{font-size:11px;font-weight:400;color:#5d6f86;overflow-wrap:anywhere}
.own-template-preview{display:flex;align-items:center;justify-content:center;width:100%;height:210px;min-width:0;overflow:hidden;margin-bottom:4px;color:#63748b;font-size:11px}
.own-template-miniature{position:relative;display:block;flex:none;overflow:hidden;outline:1px solid #d4deea;background:#fff;box-shadow:0 2px 6px #243f5d1c;pointer-events:none}
.own-template-miniature>.saved-template-sheet{position:absolute;left:0;top:0;display:block;margin:0;padding:0;border:0;box-shadow:none;transform-origin:top left;pointer-events:none;text-align:left}
.own-template-miniature .canvas-element,.own-template-miniature .element-content{pointer-events:none;cursor:inherit;outline:none!important;user-select:none}
.own-template-catalog>.template-library-note{padding:13px 3px 0}
.own-template-form{min-width:0;padding:19px;border:1px solid #dce4ee;border-radius:7px;background:#fafbfd}
.template-form-note{margin:0 0 18px;color:#596d85;font-size:11px;line-height:1.75;overflow-wrap:anywhere}
.own-template-form>.template-form-note:last-child{margin:17px 0 0}
.own-template-form .field{margin-bottom:17px}
.own-template-selection{margin:19px 0;padding:13px;border:1px solid #d8e2ef;border-radius:5px;background:#fff}
.own-template-selection p{margin:0 0 11px;font-size:12px;font-weight:500;line-height:1.6;color:#445e7d;overflow-wrap:anywhere}
.template-save-actions{display:flex;align-items:stretch;flex-direction:column;gap:10px;margin-top:20px}
.own-template-form .apply-button,.own-template-form .secondary-button{width:100%;font-size:12px;min-height:40px;white-space:normal;line-height:1.45}
.own-template-form button:disabled,.template-card:disabled{opacity:.5;cursor:default}
.template-feedback{min-height:21px;margin:15px 0 0;color:#476e54;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.template-feedback.is-error{color:#964a2b}
@media(max-width:800px){.own-template-workspace{grid-template-columns:minmax(0,1fr);gap:25px}.own-template-list{max-height:430px;grid-template-columns:repeat(3,minmax(0,1fr))}.own-template-form{padding:18px}.own-template-preview{height:210px}.own-template-miniature{max-width:140px}.template-save-actions{flex-direction:row;flex-wrap:wrap}.template-save-actions>button{flex:1 1 180px}.own-template-selection .apply-button{width:auto}}
@media(max-width:700px){.template-tabs{padding:8px 18px 0}.template-tabs>[role=tab]{min-height:44px;padding:11px 14px;font-size:13px}.own-template-workspace{padding:20px 17px;gap:23px}.own-template-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px}.own-template-card{padding:9px;gap:7px}.own-template-preview{height:200px}.own-template-card>strong{font-size:12px}.own-template-customer{font-size:11px}.own-template-form .field input{min-height:44px;font-size:14px}.own-template-form .apply-button,.own-template-form .secondary-button{min-height:44px;font-size:13px}.template-library-note{padding-inline:18px;font-size:12px}.template-form-note,.template-feedback{font-size:12px}}
@media(max-width:700px){.editor-dialog .dialog-close{width:44px;height:44px;min-width:44px;min-height:44px;font-size:28px}}
@media(max-width:380px){.own-template-list{grid-template-columns:minmax(0,1fr)}.own-template-preview{height:210px}}
