:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#213b36;background:#f5f7f5;font-synthesis:none;font-size:14px;--green:#166b54;--line:#e0e7e2;--muted:#788780}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #d8e2db;background:white;color:#304b42;border-radius:7px;padding:9px 13px;font-weight:600;transition:.15s}button:hover{background:#edf5ee;border-color:#9fb6a8}button:disabled{opacity:.4;cursor:default}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#105440}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #acd9c3;outline-offset:2px}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center;font-size:21px;font-weight:700;letter-spacing:-.6px}.brand-icon{display:grid;place-items:center;background:#19694f;color:white;width:43px;height:43px;border-radius:11px;font-size:33px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:4px}.top-actions{display:flex;align-items:center;gap:10px}.privacy{font-size:12px;color:#688475;margin-right:18px}main{max-width:1800px;margin:auto;padding:34px 38px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#738c7e;font-weight:700}h1{font-weight:600;font-size:30px;letter-spacing:-1px;margin:8px 0}p{color:var(--muted);line-height:1.5;margin:5px 0 0}.step{display:flex;gap:18px;font-size:11px;color:#6c8776}.step span{color:#afbfb3}.workspace{display:grid;grid-template-columns:280px minmax(360px,1fr) 270px;gap:20px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 3px 5px #16332603}section section,.properties>section{padding:20px}aside>section{padding:20px}aside>section+section{border-top:1px solid var(--line)}h2{font-size:14px;font-weight:650;margin:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2 span{color:#85a18e;font-size:10px;margin-right:8px}.text-button{border:0;background:none;padding:3px 0;color:var(--green);font-size:11px}.muted{color:var(--muted);font-size:11px}label{display:block;color:#6b7f73;font-size:11px;font-weight:600;margin-bottom:12px}input,select,textarea{display:block;width:100%;min-width:0;border:1px solid #dce4de;background:#fff;border-radius:6px;color:#334a3e;padding:9px 10px;margin-top:6px;font-size:12px}textarea{resize:vertical;min-height:58px}input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:var(--green)}input[type=number]{font-variant-numeric:tabular-nums}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload{border:1px dashed #9ebba9;background:#f5faf6;text-align:center;border-radius:8px;padding:17px 8px;cursor:pointer;position:relative}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}.upload-icon{display:block;font-size:25px;color:var(--green);margin-bottom:4px}.upload strong{display:block;color:#446653;font-size:12px}.upload small{display:block;font-size:10px;font-weight:400;margin-top:5px}.upload.dragover{background:#deefdf}.file-name{color:#557560;font-size:11px;overflow-wrap:anywhere;margin:10px 0 17px}.check{display:flex;gap:8px;align-items:center;font-weight:400}.info{background:#f3f6f1;padding:10px;font-size:11px;line-height:1.6;border-radius:6px;color:#648068}.info.error{background:#fff1e8;color:#995429}.center-column{display:grid;gap:20px}.panel-toolbar{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-toolbar p{font-size:11px}.button-group{display:flex;gap:7px;align-items:center}.button-group button{font-size:11px}.design-stage{padding:24px 20px 16px;min-height:320px;display:flex;align-items:center;flex-direction:column;justify-content:center;background-color:#f1f4ef;background-image:radial-gradient(#d3ddd2 .75px,transparent .75px);background-size:14px 14px;overflow:auto}.dimension{font-size:10px;letter-spacing:1px;color:#91a08e;margin-bottom:13px}#canvas{position:relative;background:#fff;box-shadow:0 6px 20px #34433418;flex-shrink:0;touch-action:none}.label-element{position:absolute;color:#000;overflow:hidden;white-space:pre-wrap;line-height:1.15;font-family:Arial,sans-serif;display:flex;flex-direction:column;justify-content:center}.label-element svg{display:block;width:100%;height:100%}#canvas .label-element{cursor:move;outline:1px dashed transparent;user-select:none}#canvas .label-element:hover{outline-color:#a8c6b0}#canvas .label-element.selected{outline:1.5px solid #4c9872;background:#3ca46f06}#canvas .label-element.selected:after{content:'';position:absolute;right:0;bottom:0;width:5px;height:5px;background:#4c9872}.stage-bottom{display:flex;justify-content:space-between;width:100%;margin-top:23px;align-items:center}.stage-bottom>span{font-size:9px;letter-spacing:1.5px;color:#879583}.stage-bottom label{display:flex;align-items:center;gap:9px;margin:0}.stage-bottom select{width:145px;margin:0;padding:6px}.designer-footer{display:flex;justify-content:space-between;padding:12px 20px;font-size:10px;color:#8a9b8f}.badge{background:#eef3eb;color:#748369;font-size:10px;padding:3px 7px;border-radius:5px;margin-left:6px}#search{max-width:175px;margin:0;background:#f8faf7}.data-actions{display:flex;align-items:center;gap:16px;padding:12px 20px;font-size:10px;color:#8a988f}.data-actions span{margin-left:auto}.table-wrap{overflow:auto;max-height:315px}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;white-space:nowrap}th{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#899c8d;background:#f8faf7;font-weight:600;position:sticky;top:0}td,th{padding:11px 16px;border-bottom:1px solid #edf1ec}td{max-width:300px;overflow:hidden;text-overflow:ellipsis}td:first-child,th:first-child{width:32px;padding-right:0}tbody tr:hover{background:#f7faf6}.data-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;color:#81917f;font-size:10px}.data-pagination button{font-size:10px;padding:6px 9px}.properties small{font-size:11px;color:#83927f;line-height:1.7;display:block}.properties .print-summary{background:#f9fbf6}.print-summary p{font-size:12px;margin:12px 0}.wide{width:100%;margin:5px 0 15px}.danger{color:#b25a4a}.element-actions{display:flex;gap:10px;margin-top:12px}.element-actions button{font-size:11px;flex:1}footer{display:flex;gap:20px;padding:25px 0;font-size:9px;letter-spacing:.8px;color:#8b9c8c}footer span{letter-spacing:0}footer span:last-child{margin-left:auto}#notice{padding:12px 16px;border:1px solid #c9dfce;border-radius:8px;background:#edf7ef;margin-bottom:20px;font-size:12px}#notice.error{background:#fff1e8;border-color:#f1c8a8;color:#995429}.barcode-error{color:#ad352c;background:#fff0ee;padding:3px;font-size:11px}.print-label{position:relative;overflow:hidden;background:#fff}.print-label.bordered{outline:1px solid #aaa;outline-offset:-1px}.print-page{background:white;position:relative;display:grid;align-content:start;justify-content:start;overflow:hidden;flex-shrink:0}.print-page .label-element{outline:none}dialog{border:1px solid #d5e1d5;border-radius:12px;max-width:95vw;width:1000px;padding:0;background:#edf1eb}dialog::backdrop{background:#18372e88}.preview-toolbar{position:sticky;top:0;z-index:1;background:white;padding:18px 22px;display:flex;justify-content:space-between;gap:15px;align-items:center}.preview-toolbar p{font-size:11px}#sheetPreview{padding:24px;overflow:auto;max-height:75vh;display:flex;justify-content:center}#sheetPreview .print-page{box-shadow:0 5px 20px #21392220}#printRoot{display:none} @media(max-width:1150px){.workspace{grid-template-columns:250px minmax(340px,1fr)}.properties{grid-column:2}.settings{grid-row:1 / span 2}.step{display:none}.topbar{padding:0 22px}main{padding:25px 22px}.privacy{display:none}}@media(max-width:700px){.workspace{display:flex;flex-direction:column}.workspace>*{width:100%}.topbar{height:auto;padding:16px;gap:15px;flex-wrap:wrap}.brand{font-size:18px}.top-actions{gap:5px}.top-actions button{font-size:11px;padding:8px}.intro h1{font-size:25px}main{padding:22px 14px}.panel-toolbar{padding:16px;flex-wrap:wrap}.design-stage{min-height:250px}footer span:last-child{display:none}.preview-toolbar{flex-wrap:wrap}#sheetPreview{justify-content:flex-start}}@media print{html,body{margin:0!important;padding:0!important;background:white!important}body>*{display:none!important}body>#printRoot{display:block!important}.print-page{break-after:page;page-break-after:always;box-shadow:none!important}.print-page:last-child{break-after:auto;page-break-after:auto}.label-element{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
:root .designer-actions{flex-wrap:wrap;justify-content:flex-end}
#canvas .label-element.selected:after{display:none}
.selection-handles{position:absolute;pointer-events:none;z-index:10;outline:1.5px solid #4c9872}
.resize-handle{position:absolute;display:block;width:7px;height:7px;min-width:0;margin:0;padding:0;border:1px solid #267b54;border-radius:1px;background:white;pointer-events:auto;touch-action:none;transform:translate(-50%,-50%)}
.resize-handle:hover,.resize-handle:focus-visible{background:#bce4cb}
.handle-nw{left:0;top:0;cursor:nwse-resize}.handle-n{left:50%;top:0;cursor:ns-resize}.handle-ne{left:100%;top:0;cursor:nesw-resize}.handle-e{left:100%;top:50%;cursor:ew-resize}.handle-se{left:100%;top:100%;cursor:nwse-resize}.handle-s{left:50%;top:100%;cursor:ns-resize}.handle-sw{left:0;top:100%;cursor:nesw-resize}.handle-w{left:0;top:50%;cursor:ew-resize}
@media(pointer:coarse){.resize-handle{width:11px;height:11px}}
.rotation-handle{position:absolute;left:50%;top:-30px;transform:translate(-50%,-50%);width:24px;height:24px;padding:0;border:1.5px solid #267b54;border-radius:50%;background:white;color:#166b54;font-size:19px;line-height:20px;pointer-events:auto;touch-action:none;cursor:grab}
.rotation-handle:active{cursor:grabbing}
.rotation-handle:after{content:'';position:absolute;top:100%;left:50%;height:18px;border-left:1px solid #4c9872;pointer-events:none}
.dimension{margin-bottom:42px}
#rotationWarning{margin:0 16px 16px}
.design-surface{position:relative;flex-shrink:0;margin:35px 16px 18px 35px}
.ruler{position:absolute;overflow:visible;pointer-events:none;background:#eef4edaa}
.ruler-x{left:0;top:-32px}.ruler-y{left:-32px;top:0}
.page-resize-handle{position:absolute;right:-18px;bottom:-18px;width:25px;height:25px;padding:0;border:1px solid #166b54;border-radius:4px;background:#166b54;color:white;font-size:20px;line-height:20px;cursor:nwse-resize;touch-action:none;z-index:12}
.page-resize-handle:hover{background:#105440;color:white}
.paper-resize-wrap{position:relative;flex-shrink:0;margin:35px 20px 20px 35px}
.workspace{grid-template-columns:280px minmax(0,1fr)}
.center-column{min-width:0}
.properties-toolbar{padding:9px 12px}
.properties-toolbar .section-heading{display:none}
.properties-toolbar #inspector{display:flex;flex-wrap:wrap;gap:7px 8px;align-items:flex-end}
.properties-toolbar #inspector>.two{display:contents}
.properties-toolbar #inspector label{flex:0 1 76px;min-width:60px;max-width:100px;margin:0;font-size:10px}
.properties-toolbar #inspector>label:has(select),.properties-toolbar #inspector>label:has(textarea){flex:1 1 115px;max-width:165px}
.properties-toolbar #inspector label:has(input[type=number]){flex:0 0 64px;min-width:64px}
.properties-toolbar #inspector input:not([type=checkbox]),.properties-toolbar #inspector select,.properties-toolbar #inspector textarea{margin-top:3px;padding:4px 6px;height:27px;min-height:27px;font-size:11px}
.properties-toolbar #inspector>p{flex:0 0 auto;margin:0 4px 5px 0!important;font-size:11px;color:#587361}
.properties-toolbar #inspector .check{flex:0 0 auto;min-height:27px;max-width:none;gap:5px}
.properties-toolbar #inspector .element-actions{margin:0;gap:5px;min-height:27px}
.properties-toolbar #inspector .element-actions button{padding:4px 8px;font-size:10px}
.properties-toolbar #inspector>.inspector-help{flex:0 0 auto;margin:0 0 4px!important;font-size:14px;cursor:help}
.settings .print-summary{background:#f9fbf6}
.print-summary small{font-size:11px;color:#83927f;line-height:1.7;display:block}
@media(max-width:1150px){.workspace{grid-template-columns:250px minmax(0,1fr)}.settings{grid-row:auto}.properties-toolbar{grid-column:auto}}
@media(max-width:700px){.properties-toolbar{padding:8px}.properties-toolbar #inspector label{max-width:none}}
.sidebar-card+ .sidebar-card{border-top:1px solid var(--line)}
.sidebar-card>summary{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;cursor:pointer;list-style:none;font-size:13px;font-weight:650;user-select:none}
.sidebar-card>summary::-webkit-details-marker{display:none}
.sidebar-card>summary:after{content:'▸';color:#688475;font-size:15px}
.sidebar-card[open]>summary:after{content:'▾'}
.sidebar-card>summary:hover{background:#edf5ee}
.sidebar-card>summary:focus-visible{outline:2px solid #4c9872;outline-offset:-3px}
.sidebar-card>summary small{color:#85a18e;font-size:10px;margin-right:8px}
.sidebar-card-body{padding:0 20px 18px}
.sidebar-card-body>.demo-button{display:block;margin:0 0 10px auto}
.format-buttons{display:flex;gap:3px;align-items:center}
.format-buttons button{width:27px;height:27px;padding:3px;font-size:12px}
.format-buttons button[aria-pressed=true]{background:#d6eddf;border-color:#4c9872;color:#105440}
.format-bold{font-weight:800}.format-italic{font-style:italic}.format-underline{text-decoration:underline}.format-strike{text-decoration:line-through}
.label-table-cell{min-width:0;min-height:0;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;display:flex;flex-direction:column;justify-content:center;line-height:1.15}
.label-element img{display:block;min-height:0}
.table-editor{padding:20px}.table-editor .two{max-width:260px}
#tableFields{font-size:12px;color:#166b54;overflow-wrap:anywhere;margin-bottom:15px}
#tableCells{display:grid;gap:5px;overflow:auto;max-height:50vh}#tableCells input{margin:0}
.top-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;min-width:112px;padding:0 14px;font-size:12px;line-height:1;white-space:nowrap}
.designer-actions{gap:6px}
.designer-actions button{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:30px;min-width:72px;padding:0 10px;font-size:11px;line-height:1;white-space:nowrap}
.properties-toolbar #inspector>button,.properties-toolbar #inspector .element-actions button{display:inline-flex;align-items:center;justify-content:center;height:27px;min-width:62px;padding:0 8px;line-height:1;font-size:10px;white-space:nowrap}
.properties-toolbar #inspector .format-buttons button{display:inline-flex;align-items:center;justify-content:center;height:27px;width:27px;padding:0;line-height:1}
@media(max-width:700px){.top-actions{flex-wrap:wrap}.top-actions button{min-width:96px}.designer-actions button{min-width:66px}}
.column-list-heading{font-size:11px;color:#587361;font-weight:600;margin:12px 0 7px}
.column-chips{display:flex;flex-wrap:wrap;gap:5px;max-height:160px;overflow:auto}
.column-chips button{font-size:11px;padding:4px 8px;max-width:100%;overflow-wrap:anywhere;background:#f3f8f2}
.column-chip-group{display:inline-flex;align-items:stretch;max-width:100%}.column-chip-group button+button{border-left:0;border-radius:0;padding-left:5px;padding-right:5px;font-size:10px}.column-chip-group button:first-child{border-radius:6px 0 0 6px}.column-chip-group button:last-child{border-radius:0 6px 6px 0}.column-chip-group button:nth-child(2){border-radius:0}.column-chip-group button:hover{background:#dcefe1}
.column-help{display:block;font-size:10px;color:#788780;line-height:1.5;margin:6px 0 12px}
#fieldMappings:not(:empty){padding:10px;background:#fff7e9;border:1px solid #efdfbf;border-radius:6px;margin-bottom:12px}
#fieldMappings p{font-size:11px;margin:0 0 8px;color:#856531}
#fieldMappings label:last-child{margin-bottom:0}
.grid-controls{display:flex;align-items:center;gap:18px;padding:8px 20px;border-bottom:1px solid var(--line)}
.grid-controls label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px}
.grid-controls input[type=number]{width:65px;margin:0;padding:4px 6px;height:26px}
.intro{margin-bottom:14px}
.intro h1{font-size:26px;margin:3px 0}
.intro p{line-height:1.35;margin-top:2px}
.grid-controls{flex-wrap:wrap}
.zoom-controls{display:flex;align-items:center;gap:5px;margin-left:auto}
.zoom-controls button{height:27px;min-width:28px;padding:0 8px;font-size:12px}
.zoom-controls output{min-width:44px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}
.design-stage{max-height:560px;padding-left:52px;padding-right:52px;align-items:flex-start;justify-content:flex-start;touch-action:none;overscroll-behavior:contain}
.design-stage .dimension{align-self:center;flex-shrink:0}
.design-surface{margin-left:auto;margin-right:auto}
.design-stage .stage-bottom{min-width:220px;flex-shrink:0}
