.sheet-page{position:relative;width:794px;height:1123px;box-sizing:border-box;overflow:hidden;background:#fff}.sheet-output-grid,.sheet-design-grid{display:grid;grid-template-columns:var(--sheet-columns);grid-template-rows:var(--sheet-rows);position:relative;align-content:start;justify-content:start}.sheet-output-cell,.sheet-design-cell{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0;overflow:hidden;white-space:pre-wrap;line-height:1.18}.sheet-field-label{display:block;font-size:.75em;font-weight:700;opacity:.8}.sheet-field-value{display:block;white-space:pre-wrap}.sheet-type-signature .sheet-field-value{font-family:cursive}.sheet-checkbox-mark{font-size:1.25em}.sheet-matrix{display:grid;grid-template-columns:repeat(var(--matrix-columns),minmax(0,1fr));width:100%;height:100%;font-size:6px;line-height:1}.sheet-matrix>*{display:grid;place-items:center;min-width:0;border-right:1px solid currentColor;border-bottom:1px solid currentColor}.sheet-matrix>b{background:#f1f2ef;font-weight:700}.sheet-branding{position:absolute;right:18px;bottom:5px;font-size:7px;color:#777}
.sheet-editor-shell{grid-column:1/-1;border:1px solid #cbd4ce;border-radius:16px;background:#f4f6f3;overflow:hidden}.sheet-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px;border-bottom:1px solid #d2d9d3;background:#fff;position:sticky;top:68px;z-index:20}.sheet-toolbar-group{display:flex;align-items:center;gap:4px;padding-right:7px;border-right:1px solid #d8ddd9}.sheet-toolbar button,.sheet-toolbar select,.sheet-toolbar input{min-height:31px;font-size:11px}.sheet-toolbar button{border:1px solid #cbd3cd;border-radius:7px;background:#fff;padding:5px 8px;cursor:pointer}.sheet-toolbar button:hover,.sheet-toolbar button.is-active{background:#e7f2ed;border-color:#2b7762}.sheet-toolbar input[type=color]{width:33px;padding:2px}.sheet-toolbar-status{margin-left:auto;font-size:11px;font-weight:800}.sheet-toolbar-status.is-overflow{color:#a51e2a}.sheet-workspace{display:grid;grid-template-columns:minmax(700px,1fr) 280px;gap:12px;padding:12px;align-items:start}.sheet-canvas-scroll{overflow:auto;max-height:1200px;background:#cfd6d1;border-radius:10px;padding:28px}.sheet-canvas-wrap{width:794px;min-height:1123px;margin:auto;position:relative;box-shadow:0 12px 35px rgba(22,49,40,.2);background:#fff}.sheet-editor-page{transform-origin:top left}.sheet-column-ruler{position:absolute;left:18px;top:-25px;height:22px;display:flex;z-index:8}.sheet-column-head{position:relative;box-sizing:border-box;border-right:1px solid #9eaaa2;background:#e7ebe8;font-size:7px;text-align:center;line-height:20px;flex:none}.sheet-column-resize{position:absolute;right:-3px;top:0;width:6px;height:100%;cursor:col-resize;z-index:2}.sheet-grid-background{grid-area:1/1/-1/-1;display:grid;grid-template-columns:var(--sheet-columns);grid-template-rows:var(--sheet-rows);pointer-events:none}.sheet-grid-background span{border-right:1px solid #e1e5e2;border-bottom:1px solid #e1e5e2;box-sizing:border-box}.sheet-selection-layer{grid-area:1/1/-1/-1;display:grid;grid-template-columns:var(--sheet-columns);grid-template-rows:var(--sheet-rows);z-index:3}.sheet-select-cell{min-width:0;min-height:0;cursor:cell;border:1px solid transparent;box-sizing:border-box}.sheet-select-cell.is-selected{background:rgba(34,129,98,.16);border-color:rgba(34,129,98,.45)}.sheet-cells-layer{display:contents}.sheet-design-cell{position:relative;z-index:4;cursor:move}.sheet-design-cell.is-selected{outline:3px solid #167a5f;outline-offset:-2px;z-index:6}.sheet-design-cell[contenteditable=true]{cursor:text}.sheet-design-cell .sheet-cell-kind{position:absolute;right:2px;top:1px;font-size:6px;opacity:.55}.sheet-design-cell .sheet-cell-content{width:100%;outline:none;white-space:pre-wrap}.sheet-sidepanel{position:sticky;top:130px;display:flex;flex-direction:column;gap:9px}.sheet-panel-card{background:#fff;border:1px solid #d0d7d1;border-radius:11px;padding:10px}.sheet-panel-card h3{font-size:12px;margin:0 0 8px}.sheet-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.sheet-property-grid label{display:flex;flex-direction:column;gap:3px;font-size:9px;font-weight:800}.sheet-property-grid input,.sheet-property-grid select,.sheet-property-grid textarea{width:100%;box-sizing:border-box;font-size:10px;padding:6px}.sheet-property-grid .full{grid-column:1/-1}.sheet-help{font-size:9px;line-height:1.55;color:#59635e}.sheet-overflow-banner{display:none;margin:0 12px 12px;padding:10px;border-radius:8px;background:#fff0f0;color:#991b1b;font-size:11px;font-weight:800}.sheet-overflow-banner.is-visible{display:block}.sheet-shortcut{display:inline-block;border:1px solid #ccd3ce;border-radius:4px;background:#fff;padding:0 4px;font-family:monospace}
@media(max-width:1150px){.sheet-workspace{grid-template-columns:1fr}.sheet-sidepanel{position:relative;top:auto;display:grid;grid-template-columns:1fr 1fr}.sheet-canvas-scroll{max-height:850px}.sheet-toolbar{top:0}}
@media(max-width:760px){.sheet-workspace{padding:6px}.sheet-canvas-scroll{padding:24px 6px}.sheet-sidepanel{grid-template-columns:1fr}.sheet-toolbar-group{border-right:0}.sheet-toolbar-status{width:100%;margin-left:0}}
@media print{.sheet-editor-shell{display:none!important}.sheet-page{width:210mm!important;height:297mm!important}.sheet-output-grid{transform-origin:top left}}
.sheet-type-fixed{white-space:nowrap}
.sheet-editor-stage{position:relative;width:794px;height:1123px;transform-origin:top left}.sheet-editor-page{transform:none!important}.sheet-toolbar-save{border:1px solid #173f35!important;background:#173f35!important;color:#fff!important;font-weight:800}.sheet-sidepanel{position:relative;top:0;scroll-margin-top:155px}.sheet-editor-shell:fullscreen,.sheet-editor-shell.is-pseudo-fullscreen{width:100vw;height:100vh;border:0;border-radius:0;background:#edf1ee;overflow:auto}.sheet-editor-shell.is-pseudo-fullscreen{position:fixed;inset:0;z-index:9999}.sheet-editor-shell:fullscreen .sheet-toolbar,.sheet-editor-shell.is-pseudo-fullscreen .sheet-toolbar{top:0}.sheet-editor-shell:fullscreen .sheet-workspace,.sheet-editor-shell.is-pseudo-fullscreen .sheet-workspace{grid-template-columns:minmax(700px,1fr) 310px;min-height:calc(100vh - 65px)}.sheet-editor-shell:fullscreen .sheet-canvas-scroll,.sheet-editor-shell.is-pseudo-fullscreen .sheet-canvas-scroll{max-height:calc(100vh - 92px);height:calc(100vh - 92px)}.sheet-editor-shell:fullscreen .sheet-sidepanel,.sheet-editor-shell.is-pseudo-fullscreen .sheet-sidepanel{position:sticky;top:72px;max-height:calc(100vh - 90px);overflow:auto}.sheet-editor-shell:fullscreen [data-sheet-action=fullscreen],.sheet-editor-shell.is-pseudo-fullscreen [data-sheet-action=fullscreen]{background:#173f35;color:#fff}
.sheet-editor-shell:not(:fullscreen):not(.is-pseudo-fullscreen) .sheet-toolbar{position:relative;top:auto}
.sheet-context-menu{position:fixed;z-index:10050;width:224px;box-sizing:border-box;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#fff;border:1px solid #aebbb3;border-radius:10px;box-shadow:0 14px 40px rgba(16,42,34,.3);color:#17231f;font-size:11px}.sheet-context-menu[hidden]{display:none}.sheet-context-menu button,.sheet-context-menu select,.sheet-context-menu input{box-sizing:border-box;min-height:30px;border:1px solid #c8d1cb;border-radius:6px;background:#fff;font:inherit}.sheet-context-menu button{padding:5px 7px;cursor:pointer;text-align:left}.sheet-context-menu button:hover{background:#e7f2ed;border-color:#2b7762}.sheet-context-menu label{display:grid;grid-template-columns:1fr 48px;grid-column:1/-1;align-items:center;gap:8px;font-weight:700}.sheet-context-menu label select{width:70px;justify-self:end}.sheet-context-menu label input[type=color]{width:48px;padding:2px;justify-self:end}.sheet-context-title{grid-column:1/-1;margin:3px -8px 0;padding:5px 8px;border-top:1px solid #e1e6e2;color:#587067;font-size:9px;font-weight:900}.sheet-context-title:first-child{margin-top:-3px;border-top:0}.sheet-context-borders{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.sheet-context-borders button{text-align:center;padding:4px 2px}.sheet-context-borders button:nth-last-child(-n+3){grid-column:span 1}.sheet-design-cell.is-editing{cursor:text!important;outline:3px solid #0b78d1;z-index:10}.sheet-cell-content[contenteditable=true]{min-height:1em;cursor:text;background:rgba(255,255,255,.88);box-shadow:inset 0 0 0 1px #0b78d1;white-space:pre-wrap}
