@font-face{font-family:Ritinn Noto Sans;src:url(/fonts/NotoSans-Regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--slate950);color:var(--text);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:18px;line-height:1.5}.shell{min-height:100%;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);flex-direction:column;display:flex}.skip-link{background:var(--amber500);min-height:44px;color:var(--onAmber);z-index:10;padding:12px 16px;font-weight:600;position:absolute;top:-100px;left:8px}.skip-link:focus{top:8px}.topbar{min-height:64px;padding:max(8px, env(safe-area-inset-top)) 24px 8px;background:var(--slate800);border-bottom:1px solid var(--slate700);justify-content:space-between;align-items:center;gap:16px;display:flex}.wordmark{color:var(--amber500);letter-spacing:.02em;font-size:28px;font-weight:700}.lang-switch{gap:8px;display:flex}.lang-button{border:2px solid var(--slate700);background:var(--slate950);min-width:56px;min-height:48px;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:8px;padding:8px 16px;font-weight:600}.lang-button[aria-pressed=true]{background:var(--amber500);border-color:var(--amber500);color:var(--onAmber)}:focus-visible{outline:3px solid var(--amber500);outline-offset:3px}.lang-button[aria-pressed=true]:focus-visible{outline-color:var(--text)}.main{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:32px 24px;display:flex}.main:focus{outline:none}.status-heading{margin:0 0 12px;font-size:36px}.status-body{max-width:36em;color:var(--textMuted);margin:0}.footer{padding:12px 24px max(12px, env(safe-area-inset-bottom));background:var(--slate800);border-top:1px solid var(--slate700)}.footer-text{color:var(--textMuted);margin:0;font-size:16px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.card{background:var(--slate800);border:1px solid var(--slate700);text-align:left;border-radius:12px;width:100%;max-width:480px;padding:32px}.card.wide{max-width:720px}.card h1{margin:0 0 16px;font-size:30px}.card form{flex-direction:column;display:flex}.field-label{margin:16px 0 6px;font-weight:600}.field-input{border:2px solid var(--slate700);background:var(--slate950);min-height:52px;color:var(--text);font:inherit;border-radius:8px;padding:10px 14px;font-size:18px}.field-input:focus-visible{border-color:var(--amber500)}.primary-button,.secondary-button,.link-button{min-height:52px;font:inherit;cursor:pointer;touch-action:manipulation;border-radius:8px;padding:12px 20px;font-weight:600}.primary-button{border:2px solid var(--amber500);background:var(--amber500);color:var(--onAmber);margin-top:24px}.secondary-button{border:2px solid var(--slate700);background:var(--slate950);color:var(--text);margin-top:12px}.link-button{color:var(--amber500);background:0 0;border:2px solid #0000;margin-top:12px;text-decoration:underline}.primary-button:disabled,.secondary-button:disabled,.link-button:disabled{cursor:wait}.primary-button:focus-visible{outline-color:var(--text)}.form-error{border-left:4px solid var(--amber500);background:var(--slate950);color:var(--text);margin:16px 0 0;padding:12px 14px}.notice{color:var(--textMuted);margin:0 0 8px}.fill-finished-notice{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.fill-finished-notice p{margin:0}.fill-download{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.fill-download .secondary-button{min-height:44px}.hint{color:var(--textMuted);margin:24px 0 0;font-size:16px}.choices{flex-direction:column;margin-top:16px;display:flex}.identity{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:0 0 24px;display:grid}.identity dt{color:var(--textMuted);font-size:16px}.identity dd{overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:600}.actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px;display:flex}.actions .primary-button,.actions .secondary-button,.actions .link-button{margin-top:0}.card+.card{margin-top:24px}.section-heading{margin:0 0 12px;font-size:26px}.list-heading{margin-top:32px}.file-input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.upload-target{border:3px dashed var(--amber500);background:var(--slate950);min-height:140px;color:var(--text);text-align:center;cursor:pointer;touch-action:manipulation;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;margin-top:16px;padding:24px;display:flex}.upload-target[aria-disabled=true]{cursor:wait;opacity:.6}.file-input:focus-visible+.upload-target{outline:3px solid var(--amber500);outline-offset:3px}.upload-target-title{color:var(--amber500);font-size:26px;font-weight:700}.upload-target-hint{color:var(--textMuted);font-size:16px}.upload-progress{flex-direction:column;gap:8px;margin:16px 0 0;display:flex}.upload-progress progress{width:100%;height:16px;accent-color:var(--amber500)}.upload-result{border-left:4px solid var(--amber500);background:var(--slate950);color:var(--text);align-items:flex-start;gap:12px;margin:16px 0 0;padding:12px 14px;display:flex}.upload-result.refused{border:2px solid var(--onAmber);background:var(--amber500);color:var(--onAmber)}.result-icon{color:var(--amber500);flex:none}.upload-result.refused .result-icon{color:var(--onAmber)}.upload-result p{overflow-wrap:anywhere;margin:0}.upload-result .upload-warning,.upload-result .upload-name{color:var(--textMuted);margin-top:8px}.upload-result div>p:first-child{font-size:20px;font-weight:600}.originals{margin:0;padding:0;list-style:none}.original-row{border-top:1px solid var(--slate700);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.original-row>div{flex:240px;min-width:0}.original-title{overflow-wrap:anywhere;margin:0;font-weight:600}.original-meta{color:var(--textMuted);margin:0;font-size:16px}.download-link{align-items:center;margin-top:0;text-decoration:none;display:inline-flex}.original-actions{flex-wrap:wrap;gap:12px;display:flex}.original-actions .primary-button{margin-top:0}.shell:has(.viewer){height:100%}.main:has(.viewer){min-height:0;padding:8px max(8px, env(safe-area-inset-left)) 8px max(8px, env(safe-area-inset-right));text-align:left;justify-content:stretch;align-items:stretch}.viewer{flex-direction:column;flex:1;gap:8px;width:100%;min-height:0;display:flex}.viewer-head{align-items:center;gap:12px;min-width:0;display:flex}.viewer-head>.viewer-button,.viewer-head>.version-badge{flex:none}.viewer-title{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;margin:0;font-size:20px;overflow:hidden}.viewer-toolbar{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.viewer-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.viewer-button{border:2px solid var(--slate700);background:var(--slate800);min-width:48px;min-height:48px;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:8px;padding:0 12px;font-size:22px;font-weight:600;line-height:1}.viewer-back,.viewer-fit{white-space:nowrap;font-size:18px}.viewer-button:disabled{opacity:.45;cursor:default}.viewer-indicator{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:7.5em}.viewer-scale{min-width:4em}.viewer-message{margin:24px 0}.viewer-viewport{border:1px solid var(--slate700);background:var(--slate800);touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none;border-radius:8px;flex:1;min-height:320px;position:relative;overflow:auto}.viewer-viewport:focus-visible{outline:3px solid var(--amber500);outline-offset:2px}.viewer-content{position:absolute}.viewer-page{background:var(--paper);position:absolute;overflow:hidden}.viewer-canvas{display:block;position:absolute}.viewer-edit{white-space:nowrap;margin-left:auto;font-size:18px}.viewer-edit.is-on{border-color:var(--amber500);background:var(--amber500);color:var(--onAmber)}.viewer-edit-note{margin:0}.viewer-stage{flex:1;gap:8px;min-height:0;display:flex}.viewer-stage>.viewer-viewport{min-width:0}.editor-layer{pointer-events:none;position:absolute}.editor-svg{position:absolute;top:0;left:0;overflow:visible}.editor-svg rect{fill:none;vector-effect:non-scaling-stroke}.editor-svg .grid-cell-tint,.editor-svg .grid-header-tint{stroke:none}.grid-saved .grid-cell-tint{fill:var(--gridSavedFill)}.grid-saved .grid-header-tint{fill:var(--gridSavedFill);fill-opacity:.5}.grid-preview .grid-cell-tint{fill:var(--gridPreviewFill);fill-opacity:.6}.grid-preview .grid-header-tint{fill:var(--gridPreviewFill)}.grid-lines{fill:none;stroke-width:1.25px;stroke-linecap:butt;vector-effect:non-scaling-stroke}.grid-saved .grid-lines{stroke:var(--gridSaved)}.grid-preview .grid-lines{stroke:var(--gridPreview);stroke-width:1.5px;stroke-dasharray:5 3}.grid-preview-bad{stroke:var(--gridBad);stroke-width:3px;stroke-dasharray:4 4}.grid-outline{pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:absolute}.grid-outline:focus-visible{outline:3px solid var(--amber500);outline-offset:2px}.grid-handle{pointer-events:auto;touch-action:none;cursor:grab;border-radius:50%;width:48px;height:48px;margin:-24px 0 0 -24px;position:absolute}.grid-handle-col{cursor:ew-resize}.grid-handle-header{cursor:ns-resize}.grid-handle:after{content:"";border:3px solid var(--paper);background:var(--gridPreview);box-sizing:border-box;border-radius:50%;width:20px;height:20px;position:absolute;top:12px;left:12px}.grid-handle:focus-visible{outline:3px solid var(--amber500)}.grid-drawing{border:2px dashed var(--gridPreview);background:var(--gridPreviewFill);pointer-events:none;position:absolute}.grid-sheet{border:1px solid var(--slate700);background:var(--slate800);border-radius:8px;flex-direction:column;flex:0 0 340px;gap:12px;padding:16px;display:flex;overflow:auto}.grid-sheet-title{margin:0;font-size:20px}.grid-steppers{flex-wrap:wrap;gap:12px 24px;display:flex}.grid-stepper,.grid-type{flex-direction:column;gap:6px;font-weight:600;display:flex}.grid-stepper-row{align-items:center;gap:8px;display:flex}.grid-number{text-align:center;appearance:textfield;width:5.5em;min-height:48px}.grid-number::-webkit-inner-spin-button{appearance:none;margin:0}.grid-number::-webkit-outer-spin-button{appearance:none;margin:0}.grid-check{cursor:pointer;align-items:center;gap:12px;min-height:48px;display:flex}.grid-check input{width:28px;height:28px;accent-color:var(--amber500)}.grid-types{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;display:grid}.grid-type select{appearance:none;background-color:var(--slate950);background-image:linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);min-height:48px;color:var(--text);background-position:calc(100% - 22px),calc(100% - 15px);background-repeat:no-repeat;background-size:7px 7px;padding-right:40px}.grid-hint,.grid-sheet .form-error,.grid-sheet .notice{margin:0}.grid-actions{flex-wrap:wrap;gap:12px;display:flex}.grid-sheet{scroll-padding-bottom:160px}.grid-sheet .grid-actions{border-top:1px solid var(--slate700);background:var(--slate800);margin:0 -16px -16px;padding:12px 16px 16px;position:sticky;bottom:-16px}.grid-actions .primary-button,.grid-actions .secondary-button{margin-top:0}@media (orientation:portrait){.viewer-stage{flex-direction:column}.grid-sheet{flex:0 auto;max-height:40vh}}.edit-tools{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.edit-segment{gap:4px;display:flex}.edit-tools .viewer-button[aria-pressed=true]{border-color:var(--amber500);background:var(--amber500);color:var(--onAmber)}.edit-type select{min-width:13em}.edit-snap{min-height:48px}.field-saved rect{stroke:var(--gridSaved);stroke-width:2px;fill:var(--gridSavedFill)}.field-outline{pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:absolute}.field-outline:focus-visible{outline:3px solid var(--slate950);outline-offset:2px}.field-selected{box-sizing:border-box;border:3px solid var(--gridPreview);background:var(--gridPreviewFill);pointer-events:auto;touch-action:none;cursor:move;position:absolute}.field-selected:focus{outline:none}.field-selected:focus-visible{outline:3px solid var(--slate950);outline-offset:3px}.field-selected.is-dragging{border-style:dashed}.field-handle{pointer-events:auto;touch-action:none;width:48px;height:48px;margin:-24px 0 0 -24px;position:absolute}.field-handle:after{content:"";box-sizing:border-box;border:2px solid var(--paper);background:var(--gridPreview);outline:1px solid var(--gridPreview);width:14px;height:14px;position:absolute;top:17px;left:17px}.field-handle-nw{cursor:nwse-resize;top:0;left:0}.field-handle-n{cursor:ns-resize;top:0;left:50%}.field-handle-ne{cursor:nesw-resize;top:0;left:100%}.field-handle-e{cursor:ew-resize;top:50%;left:100%}.field-handle-se{cursor:nwse-resize;top:100%;left:100%}.field-handle-s{cursor:ns-resize;top:100%;left:50%}.field-handle-sw{cursor:nesw-resize;top:100%;left:0}.field-handle-w{cursor:ew-resize;top:50%;left:0}.field-selected.is-narrow .field-handle-n,.field-selected.is-narrow .field-handle-s,.field-selected.is-short .field-handle-e,.field-selected.is-short .field-handle-w{display:none}.field-selected.is-short .field-handle-nw,.field-selected.is-short .field-handle-n,.field-selected.is-short .field-handle-ne{margin-top:-48px}.field-selected.is-short .field-handle-nw:after,.field-selected.is-short .field-handle-n:after,.field-selected.is-short .field-handle-ne:after{top:41px}.field-selected.is-short .field-handle-sw,.field-selected.is-short .field-handle-s,.field-selected.is-short .field-handle-se{margin-top:0}.field-selected.is-short .field-handle-sw:after,.field-selected.is-short .field-handle-s:after,.field-selected.is-short .field-handle-se:after{top:-7px}.field-selected.is-narrow .field-handle-nw,.field-selected.is-narrow .field-handle-w,.field-selected.is-narrow .field-handle-sw{margin-left:-48px}.field-selected.is-narrow .field-handle-nw:after,.field-selected.is-narrow .field-handle-w:after,.field-selected.is-narrow .field-handle-sw:after{left:41px}.field-selected.is-narrow .field-handle-ne,.field-selected.is-narrow .field-handle-e,.field-selected.is-narrow .field-handle-se{margin-left:0}.field-selected.is-narrow .field-handle-ne:after,.field-selected.is-narrow .field-handle-e:after,.field-selected.is-narrow .field-handle-se:after{left:-7px}.field-loupe{z-index:30;border:3px solid var(--slate950);pointer-events:none;border-radius:50%;position:fixed;box-shadow:0 4px 16px #0f172a80}.field-nudges{border:0;margin:0;padding:0}.field-nudges legend{margin-bottom:6px;padding:0;font-weight:600}.field-nudge-row{gap:8px;display:flex}.field-grid-note{margin:0}.confirm-backdrop{z-index:20;background:#0f172ab3;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.confirm-dialog{border:1px solid var(--slate700);background:var(--slate800);max-width:460px;color:var(--text);border-radius:12px;padding:24px}.confirm-dialog h2{margin:0 0 8px;font-size:22px}.confirm-dialog p{margin:0 0 20px}.edit-icon{min-width:48px;padding-left:8px;padding-right:8px;font-size:1.25rem}.field-radio circle{stroke:var(--gridSaved);stroke-width:1.5px;fill:none}.field-picked rect{stroke:var(--gridPreview);stroke-width:3px;stroke-dasharray:6 3;fill:var(--gridPreviewFill)}.field-problem{margin:0}.field-rules{border:1px solid var(--slate700);border-radius:6px;flex-direction:column;gap:12px;margin:0;padding:12px;display:flex}.field-rules legend{padding:0 4px;font-weight:600}.field-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}.field-bound{flex-direction:column;gap:8px;display:flex}.field-options{border:0;flex-direction:column;gap:8px;margin:0;padding:0;display:flex}.field-options legend{margin-bottom:4px;padding:0;font-weight:600}.field-option-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.field-option{border:1px solid var(--slate700);border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.field-option-title{margin:0;font-weight:600}.field-option-actions{gap:4px;display:flex}.order-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.order-row{border:1px solid var(--slate700);background:var(--slate950);border-radius:6px;align-items:center;gap:8px;min-height:52px;padding:2px 4px;display:flex}.order-row.is-dragging{border-color:var(--amber500);outline:2px solid var(--amber500)}.order-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex:0 0 48px;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.5rem;display:flex}.order-text{overflow-wrap:anywhere;flex:auto;min-width:0}.order-buttons{flex:none;gap:4px;display:flex}.order-buttons .viewer-button{min-width:48px;padding-left:0;padding-right:0}.template-status{flex-wrap:wrap;gap:8px;margin:6px 0;display:flex}.status-chip{border:1px solid var(--slate700);background:var(--slate800);color:var(--text);border-radius:999px;padding:4px 10px;font-size:15px;font-weight:600;line-height:1.3;display:inline-block}.version-badge{background:var(--amber500);color:var(--onAmber);white-space:nowrap;border-radius:999px;margin-left:auto;padding:6px 12px;font-size:16px;font-weight:700}.viewer-publish{white-space:nowrap;margin-left:auto;font-size:18px}.viewer-publish+.viewer-edit{margin-left:0}.viewer-publish.is-on{border-color:var(--amber500)}.publish-sheet .field-input{width:100%;min-height:48px;margin-top:4px}.publish-description{resize:vertical;min-height:96px;font:inherit}.publish-problems{border-left:4px solid var(--amber500);background:var(--slate950);padding:8px 12px}.publish-problems p,.publish-problems ul{margin:0}.publish-problems ul{padding-left:20px}.history-head{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:8px;display:flex}.history-title{overflow-wrap:anywhere;flex:240px;margin:0}.history-list{padding-left:0;list-style:none}.history-events{color:var(--textMuted);margin:0;padding-left:20px}.history-events li{padding:4px 0}.audience-picker{border:0;margin:0;padding:0}.audience-picker legend{margin-bottom:8px;font-weight:600}.audience-options{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;display:grid}.audience-option{border:1px solid var(--slate700);cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-height:48px;padding:4px 12px;line-height:1.2;display:flex}.audience-option:has(input:checked){border-color:var(--amber500);box-shadow:inset 0 0 0 1px var(--amber500)}.audience-option input{width:24px;height:24px;accent-color:var(--amber500);flex:none;margin:0}.lock-icon{vertical-align:-2px;flex:none}.people-record-note,.sensitive-ask p{align-items:center;gap:8px;display:flex}.status-chip.people-chip{border-color:var(--amber500);align-items:center;gap:6px;display:inline-flex}.field-lock{background:var(--paper);color:var(--paperText);pointer-events:none;border-radius:3px;display:flex;position:absolute}.field-lock .lock-icon{width:100%;height:100%}.sensitive-ask{border:1px solid var(--amber500);border-radius:8px;padding:12px}.sensitive-ask .grid-actions{margin-top:8px}.fill-layer{pointer-events:none;position:absolute}.fill-field{border:1px dashed var(--gridSaved);background:var(--gridSavedFill);color:var(--fillInk);font:inherit;pointer-events:none;cursor:pointer;border-radius:2px;justify-content:flex-start;align-items:center;margin:0;padding:0;line-height:1.15;display:flex;position:absolute;overflow:hidden}.fill-screen.is-finished .fill-field,.fill-field[data-filled=true]{background:0 0;border-color:#0000}.fill-field.is-auto{border-style:dotted;border-color:var(--fillAuto);color:var(--fillAuto);background:0 0;font-style:italic}.fill-field[data-type=checkbox],.fill-field[data-type=radio]{justify-content:center}.fill-field.is-open{outline:3px solid var(--gridPreview);outline-offset:1px;background:var(--gridPreviewFill)}.fill-field.is-day-locked,.fill-field.is-day-locked[data-filled=true]{background:#64748b38}.fill-field.is-day-ahead{background:repeating-linear-gradient(135deg,#64748b38 0 4px,#0000 4px 9px);border-style:dashed}.fill-field.has-error{border:2px dashed var(--gridBad)}.fill-field:focus-visible{outline:3px solid var(--amber500);outline-offset:2px}.fill-error-badge{background:var(--gridBad);min-width:14px;height:14px;color:var(--text);text-align:center;border-radius:7px;padding:0 3px;font-size:11px;font-style:normal;font-weight:700;line-height:14px;position:absolute;top:0;right:0}.fill-text{font-kerning:none;font-variant-ligatures:common-ligatures;font-synthesis:none;text-rendering:geometricprecision;font-family:Ritinn Noto Sans,sans-serif;position:absolute;inset:0;overflow:hidden}.fill-line{white-space:pre;text-align:left;display:block;position:absolute;overflow:hidden}.fill-mark{font-weight:700;line-height:1}.fill-dot{background:var(--fillInk);border-radius:50%;display:block}.fill-signature{object-fit:contain;width:100%;height:100%}.fill-photos-on-page{position:absolute;inset:0;overflow:hidden}.fill-photo{object-fit:fill;display:block;position:absolute}.fill-photos{gap:10px;display:grid}.fill-photo-count{margin:0}.fill-photo-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.fill-photo-item{border:2px solid var(--slate700);background:var(--slate950);border-radius:8px;grid-template-columns:minmax(72px,112px) 1fr;align-items:start;gap:10px;padding:8px;display:grid}.fill-photo-thumb{object-fit:contain;background:var(--slate800);border-radius:4px;width:100%;height:auto;max-height:112px}.fill-photo-meta{gap:6px;min-width:0;display:grid}.fill-photo-caption{width:100%;min-width:0}.fill-photo-state{color:var(--textMuted);font-size:15px}.fill-photo-state.is-refused{color:var(--amber500);font-weight:600}.fill-photo-state.is-refused:before{content:"! "}.fill-photo-remove{justify-self:start;min-height:44px;margin-top:0;padding:8px 16px}.fill-photo-actions{flex-wrap:wrap;gap:10px;display:flex}.fill-photo-actions .fill-photo-add{flex:140px;margin-top:0}.fill-status{color:var(--textMuted);font-size:15px}.fill-status.is-offline,.fill-status.is-failed{color:var(--amber500);font-weight:600}.fill-progress{color:var(--textMuted);font-size:15px}.fill-screen .viewer-head{flex-wrap:wrap;row-gap:8px}.fill-screen .viewer-head .viewer-title{flex:60%}.fill-head-info{flex-wrap:wrap;flex:240px;align-items:center;gap:2px 12px;min-width:0;display:flex}.fill-head-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:8px;margin-left:auto;display:flex}.fill-head-actions>.viewer-button,.fill-head-actions>.primary-button{flex:none;margin-top:0}@media (width<=900px){.viewer-head .fill-head-actions .fill-head-action{padding:0 12px;font-size:17px}.fill-screen .viewer-head{grid-template-columns:auto minmax(0,1fr) minmax(0,max-content);grid-template-areas:"back title title""info info actions";column-gap:12px;display:grid}.fill-screen .viewer-head>.viewer-button{grid-area:back;justify-self:start}.fill-screen .viewer-head .viewer-title{grid-area:title}.fill-head-info{grid-area:info}.fill-head-actions{flex-wrap:nowrap;grid-area:actions;min-width:0}.viewer-head .fill-head-actions .fill-head-action{white-space:normal;flex:0 auto;min-width:0;line-height:1.2}.fill-head-info>*{overflow-wrap:anywhere;min-width:0}.fill-head-info>.fill-required-left{white-space:normal}.fill-head-info>.fill-progress,.fill-head-info>.fill-status,.fill-head-info>.fill-required-left{font-size:14px}}.fill-required-left{color:var(--textMuted);white-space:nowrap;font-size:15px;font-weight:600}.fill-required-left.has-left{color:var(--amber500)}.fill-required-left.has-left:before{content:"* "}.viewer-head .fill-finish{flex:none;min-height:44px;margin-top:0;padding:0 18px}.viewer-head .fill-head-action{white-space:nowrap;font-size:22px;line-height:1.2}@media (width<=560px){.viewer-head .fill-head-action{white-space:normal;max-width:100%}}.viewer-head .fill-finish[data-blocked=true]{border-color:var(--slate700);background:var(--slate800);color:var(--text)}.fill-finished-chip{border-color:var(--amber500)}.finish-problems-title{margin:12px 0 6px;font-size:16px}.finish-problems{gap:6px;max-height:40vh;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.finish-problem{border:2px dashed var(--gridBad);background:var(--slate950);width:100%;min-height:48px;color:var(--text);text-align:left;border-radius:8px;gap:2px;padding:8px 12px;display:grid}.finish-problem-label{font-weight:700}.finish-problem-message{color:var(--textMuted);font-size:15px}.fill-conflict{flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 8px;display:flex}.fill-conflict .secondary-button{margin-top:0}.fill-sheet-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.fill-count{color:var(--textMuted);white-space:nowrap}.fill-required{color:var(--amber500)}.fill-input{width:100%;min-height:48px;font-size:18px}.fill-textarea{resize:vertical;min-height:120px}.fill-number{align-items:center;gap:8px;display:flex}.fill-number-value{font-variant-numeric:tabular-nums;flex:1;justify-content:flex-end;align-items:center;min-height:52px;font-size:24px;display:flex}.fill-unit{color:var(--textMuted);font-size:18px}.keypad{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.keypad-key{border:1px solid var(--slate700);background:var(--slate950);min-height:52px;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:8px;font-size:22px;font-weight:600}.keypad-key:active{background:var(--slate700)}.keypad-key:disabled{opacity:.45;cursor:default}.keypad-key:focus-visible{outline:3px solid var(--amber500);outline-offset:2px}.keypad-wide{grid-column:span 1;font-size:18px}.keypad-key[data-key=clear]{grid-column:span 2}.fill-date{flex-direction:column;gap:8px;display:flex}.fill-date .secondary-button,.fill-options .secondary-button,.sig-pad-wrap .secondary-button{align-self:flex-start;margin-top:0}.fill-toggle,.fill-option{border:1px solid var(--slate700);background:var(--slate950);width:100%;min-height:52px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:8px;align-items:center;gap:14px;padding:8px 14px;font-size:18px;display:flex}.fill-toggle.is-on,.fill-option.is-on{border-color:var(--amber500);box-shadow:inset 0 0 0 1px var(--amber500)}.fill-toggle:focus-visible,.fill-option:focus-visible{outline:3px solid var(--amber500);outline-offset:2px}.fill-toggle-box{border:2px solid var(--textMuted);border-radius:4px;flex:0 0 28px;justify-content:center;align-items:center;height:28px;font-weight:700;display:inline-flex}.fill-toggle.is-on .fill-toggle-box{border-color:var(--amber500);background:var(--amber500);color:var(--onAmber)}.fill-options{flex-direction:column;gap:8px;display:flex}.fill-option-dot{border:2px solid var(--textMuted);border-radius:50%;flex:0 0 24px;height:24px}.fill-option.is-on .fill-option-dot{border-color:var(--amber500);background:radial-gradient(circle, var(--amber500) 45%, transparent 50%)}.sig-pad-wrap{flex-direction:column;gap:8px;display:flex}.sig-pad{border:2px solid var(--slate700);background:var(--paper);touch-action:none;cursor:crosshair;border-radius:8px;width:100%;min-height:120px}.sig-hint{color:var(--textMuted)}.fill-error{font-weight:600}.my-fills .original-actions .primary-button{margin-top:0}@media (orientation:portrait){.fill-screen .grid-sheet{max-height:52vh}}.fill-sheet .fill-nav{flex-wrap:nowrap;gap:8px}.fill-nav .primary-button,.fill-nav .secondary-button{white-space:nowrap;flex:auto;min-width:0;padding-inline:8px}.fill-sheet .keypad-key{min-height:48px}.signout-saving{margin:0;font-size:18px;font-weight:600}.signout-kept{z-index:15;border:1px solid var(--amber500);background:var(--slate800);color:var(--text);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 0;padding:12px 16px;display:flex;position:sticky;bottom:8px}.signout-kept p{flex:240px;margin:0}.signout-kept .secondary-button{margin-top:0}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.section-head .section-heading{margin:0}.section-head .secondary-button,.section-head .primary-button{margin-top:0}.project-form{border-bottom:1px solid var(--slate700);margin:8px 0 16px;padding:0 0 16px}.project-input{box-sizing:border-box;width:100%;min-width:0;display:block}.project-form .grid-hint{color:var(--textMuted);margin:6px 0 12px;font-size:16px}.projects-closed-toggle{margin-top:8px}.confirm-dialog.project-picker{flex-direction:column;width:100%;max-width:560px;max-height:calc(100dvh - 48px);display:flex}.picker-list{flex-direction:column;gap:8px;min-height:0;margin:12px 0;display:flex;overflow-y:auto}.picker-name{overflow-wrap:anywhere;font-weight:600}.picker-address{color:var(--textMuted);overflow-wrap:anywhere;font-size:16px}.picker-option{text-align:start;flex:none;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 8px;padding-top:8px;padding-bottom:8px;display:grid}.picker-option input{grid-row:span 2}.picker-option .picker-address{grid-column:2}.picker-option.is-disabled{opacity:.6;cursor:not-allowed}.project-picker .grid-hint{color:var(--textMuted);margin:0 0 12px;font-size:16px}.project-picker .form-error{margin:0 0 12px}.fill-project{flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0;padding:4px 4px 8px;display:flex}.fill-project-text{overflow-wrap:anywhere;min-width:0}.fill-project-address{color:var(--textMuted)}.fill-project .link-button{min-height:44px;margin-top:0;padding:8px 4px}.project-page .project-address{color:var(--textMuted);overflow-wrap:anywhere;margin:0 0 8px}.project-page h1{overflow-wrap:anywhere}.access-grid{flex-direction:column;gap:8px;margin:12px 0 0;display:flex}.access-row{grid-template-columns:minmax(150px,1fr) minmax(0,2.6fr);align-items:center;gap:4px 12px;display:grid}.access-category{font-weight:600;line-height:1.2}.access-levels{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.access-cell{border:2px solid var(--slate700);background:var(--slate950);min-height:48px;color:var(--text);text-align:center;cursor:pointer;touch-action:manipulation;border-radius:8px;justify-content:center;align-items:center;padding:4px 6px;font-size:16px;line-height:1.15;display:flex;position:relative}.access-cell input{opacity:0;width:100%;height:100%;cursor:inherit;margin:0;position:absolute;inset:0}.access-cell:has(input:checked){border-color:var(--amber500);background:var(--amber500);color:var(--onAmber);font-weight:700}.access-cell:has(input:focus-visible){outline:3px solid var(--text);outline-offset:2px}.access-cell.is-capped{background:repeating-linear-gradient(135deg, var(--slate800) 0 6px, var(--slate950) 6px 9px);color:var(--textMuted);cursor:not-allowed;border-style:dashed}.access-cap{margin:8px 0 0;font-size:16px}.access-meanings{border-left:4px solid var(--slate700);margin:16px 0 0;padding:4px 0 4px 14px}.access-meanings-heading{margin:0 0 4px;font-size:18px}.access-meanings ul{color:var(--textMuted);margin:0;padding-left:20px;font-size:16px}.people-invite{margin-top:12px}.people-list,.tpl-access-list,.my-access-list{margin:16px 0 0;padding:0;list-style:none}.people-list{flex-direction:column;gap:12px;display:flex}.person-row{border:1px solid var(--slate700);border-radius:10px;padding:12px 16px}.person-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.person-head p,.tpl-access-row p{margin:0}.person-name{min-width:0}.person-toggle{margin-top:0}.person-access{margin-top:8px}.people-card-body{margin:8px 0 0}.undo-toast-region{right:0;bottom:max(16px, env(safe-area-inset-bottom));z-index:15;pointer-events:none;justify-content:center;padding:0 12px;display:flex;position:fixed;left:0}.undo-toast{border:2px solid var(--amber500);background:var(--slate950);pointer-events:auto;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 16px;width:100%;max-width:640px;padding:10px 16px;display:flex;box-shadow:0 8px 24px #00000073}.undo-toast-actions{gap:8px;margin-left:auto;display:flex}.undo-toast .secondary-button,.undo-toast .link-button{min-height:48px;margin-top:0}.confirm-dialog.invite-sheet{flex-direction:column;width:100%;max-width:680px;max-height:calc(100dvh - 48px);display:flex}.invite-form{flex-direction:column;min-height:0;display:flex}.invite-scroll{min-height:0;padding-right:4px;overflow-y:auto}.invite-roles{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;display:grid}.confirm-dialog .invite-note{margin:12px 0 0}.invite-actions{border-top:1px solid var(--slate700);flex-wrap:wrap;justify-content:flex-end;gap:8px 12px;margin-top:12px;padding-top:12px;display:flex}.invite-actions .primary-button,.invite-actions .secondary-button{margin-top:0}.template-access{border-top:1px solid var(--slate700);margin-top:32px;padding-top:8px}.template-access .list-heading{margin-top:16px}.tpl-access-list{flex-direction:column;gap:8px;display:flex}.tpl-access-row{border:1px solid var(--slate700);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 12px;display:flex}.tpl-access-who{flex:220px;min-width:0}.tpl-access-set{flex:220px;max-width:320px}.tpl-access-select,.tpl-access-add-field select{width:100%;min-width:0}.tpl-access-add{margin-top:16px}.tpl-access-add-heading{margin:0;font-size:18px}.tpl-access-add-row{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;display:flex}.tpl-access-add-field{flex-direction:column;flex:180px;min-width:0;display:flex}.tpl-access-add-field:first-child{flex:2 240px}.tpl-access-add-field .field-label{margin:8px 0 4px}.tpl-access-add-button{margin-top:0}.my-access-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin-top:8px;display:grid}.my-access-row{border:1px solid var(--slate700);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.status-chip.access-level-none{color:var(--textMuted);border-style:dashed}.my-access-meanings{margin-top:8px}.my-access-meanings summary{min-height:44px;color:var(--amber500);cursor:pointer;padding:10px 0;font-weight:600}@media (width<=560px){.access-row{grid-template-columns:minmax(0,1fr)}.access-cell{padding:4px 2px;font-size:15px}.main:has(.card.people){padding:12px 8px}.card.people{padding:20px 12px}.person-row{padding:12px 10px}.confirm-backdrop:has(.invite-sheet){padding:8px}.confirm-dialog.invite-sheet{max-height:calc(100dvh - 16px);padding:16px 12px}.invite-roles{grid-template-columns:minmax(0,1fr)}}.fill-signing{position:absolute;inset:0;overflow:hidden}.fill-signing-part{display:block;position:absolute}.fill-signer-line{color:var(--fillInk)}.fill-placeholder{color:var(--fillAuto);opacity:.6;position:absolute;inset:0}.fill-note{color:var(--fillAuto);position:absolute;inset:0}.fill-pending-badge{background:var(--amber500);color:var(--onAmber);white-space:nowrap;border-radius:4px;padding:1px 6px;font-size:12px;line-height:1.4;position:absolute;bottom:100%;right:0}.fill-signing-status p,.fill-locked-value p{margin:0 0 8px}.fill-signing-status .primary-button{margin-top:8px}.fill-locked,.fill-declined{border-left:4px solid var(--amber500);background:var(--slate950);color:var(--text);padding:8px 12px}.danger-button{border:2px solid var(--gridBad);background:var(--slate950);color:var(--text);margin-top:12px}.signing-mode{z-index:50;background:var(--slate950);color:var(--text);flex-direction:column;display:flex;position:fixed;inset:0}.signing-head,.signing-bar,.signing-foot{border-bottom:1px solid var(--slate700);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;display:flex}.signing-foot{border-top:1px solid var(--slate700);border-bottom:0}.signing-head .secondary-button,.signing-bar .primary-button,.signing-foot .link-button{margin-top:0}.signing-title{overflow-wrap:anywhere;flex:240px;margin:0;font-size:22px}.signing-lang,.signing-tabs{gap:6px;display:flex}.signing-tab{border:2px solid var(--slate700);background:var(--slate950);min-width:56px;min-height:48px;color:var(--text);border-radius:8px}.signing-tab.is-on{border-color:var(--amber500);background:var(--amber500);color:var(--onAmber)}.signing-seen{font-size:18px;font-weight:700}.signing-bar .primary-button{margin-left:auto}.signing-pages{flex:1;min-height:0;overflow:auto}.signing-body{flex:1;min-height:0;padding:24px 16px;overflow:auto}.signing-card{max-width:720px;margin:0 auto}.signing-card p{font-size:18px;line-height:1.5}.signing-field-name,.signing-signer{font-weight:700}.signing-people{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.signing-person{border:2px solid var(--slate700);background:var(--slate950);min-height:48px;color:var(--text);border-radius:8px;padding:8px 16px;font-size:18px}.signing-person.is-on{border-color:var(--amber500);background:var(--amber500);color:var(--onAmber)}.signing-host{color:var(--textMuted)}.signing-card .signing-handoff{font-size:22px;font-weight:700}.fill-signing-record{margin:12px 0 0;padding:0;list-style:none}.fill-signing-record li{margin:0 0 6px;font-size:15px}.signing-label{margin:16px 0 6px;font-weight:700;display:block}.signing-input,.signing-typed,.signing-reason{box-sizing:border-box;width:100%;min-height:52px;font-size:20px}.signing-reason{min-height:120px}.signing-typed{font-family:cursive;font-size:30px}.signing-consent{border:2px solid var(--slate700);border-radius:8px;margin:16px 0;padding:16px;font-size:20px;line-height:1.5}.signing-agree{min-height:56px}.signing-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.signing-actions .primary-button,.signing-actions .secondary-button,.signing-actions .danger-button{margin-top:16px}@media (width<=560px){.signing-head,.signing-bar,.signing-foot{padding:8px 10px}.signing-title{font-size:18px}.signing-bar .primary-button{margin-left:0}.signing-actions>button{flex:100%}}.verify-choose{cursor:pointer;align-items:center;min-height:44px;margin-top:16px;display:inline-flex}.verify-choose:focus-within{outline:3px solid var(--amber500);outline-offset:2px}.verify-choose.is-disabled{cursor:progress;opacity:.7}.verify-result{border-left:4px solid var(--amber500);background:var(--slate950);color:var(--text);margin-top:16px;padding:12px 14px}.verify-result.verify-altered,.verify-result.verify-no_match{border-left-style:dashed}.verify-result-title{margin:0 0 8px;font-size:20px}.verify-result p{margin:0}.verify-record{overflow-wrap:anywhere;margin:8px 0 0;padding-left:20px}.verify-result .link-button{padding-left:0;padding-right:0}.card.wide.submissions{width:100%;max-width:1180px}.subs-filters{border:0;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));align-items:end;gap:0 12px;margin:8px 0 16px;padding:0;display:grid}.subs-filter{flex-direction:column;min-width:0;display:flex}.subs-filter .field-input{box-sizing:border-box;width:100%}.subs-filter select.field-input{appearance:none;background-color:var(--slate950);color:var(--text);text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f8fafc' stroke-width='2'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:40px}.subs-filter-search{grid-column:1/-1}.subs-clear{justify-self:start;margin-top:12px;padding-left:0;padding-right:0}.subs-count{margin:0 0 8px;font-weight:600}.subs-head{display:none}.subs-list{margin:0;padding:0;list-style:none}.subs-row{border:1px solid var(--slate700);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin-bottom:12px;padding:14px 16px;display:grid}.subs-cell{overflow-wrap:break-word;flex-direction:column;gap:2px;min-width:0;display:flex}.subs-form{grid-column:1/-1}.subs-label{color:var(--textMuted);font-size:15px}.subs-status{align-items:flex-start}.subs-chip-not_sealed{border-style:dashed}.subs-chip-declined{border-style:double;border-width:3px}.subs-chip-sealed{border-color:var(--amber500)}.subs-actions{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px 12px;display:flex}.subs-actions .secondary-button,.subs-actions .fill-download{margin-top:0}.subs-actions .fill-download{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.subs-more{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}@media (width>=900px){.subs-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.subs-filter-search,.subs-filter-project{grid-column:span 2}.subs-head,.subs-row{grid-template-columns:minmax(0,2.2fr) minmax(0,1.2fr) minmax(0,1.4fr) minmax(0,1.4fr) minmax(0,1fr);gap:4px 16px}.subs-head{border-bottom:1px solid var(--slate700);color:var(--textMuted);padding:0 12px 8px;font-size:15px;font-weight:600;display:grid}.subs-row{border:0;border-bottom:1px solid var(--slate700);border-radius:0;margin:0;padding:12px}.subs-form{grid-column:auto}.subs-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.subs-actions{justify-content:flex-end}.subs-more{margin-top:12px}}@media (width<=560px){.main:has(.card.submissions){padding:12px 8px}.card.submissions{padding:20px 12px}.subs-row{grid-template-columns:minmax(0,1fr);padding:12px}.subs-actions>.secondary-button,.subs-actions>.fill-download{flex:100%}.subs-actions .fill-download .secondary-button{width:100%}}.card.wide.checklist-builder{box-sizing:border-box;width:100%;max-width:960px}.checklist-new{flex-wrap:wrap;align-items:end;gap:8px 12px;margin:8px 0 16px;display:flex}.checklist-new .grid-type{flex-direction:column;min-width:0;display:flex}.checklist-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:12px;display:flex}.checklist-save{color:var(--textMuted);margin:0;font-size:16px}.checklist-save-incomplete,.checklist-save-error{color:var(--amber500)}.checklist-builder .grid-type{flex-direction:column;gap:6px;min-width:0;margin:0 0 12px;font-weight:600;display:flex}.checklist-builder .field-input{box-sizing:border-box;width:100%;font-weight:400}.checklist-builder select.field-input,.checklist-new select.field-input{appearance:none;background-color:var(--slate950);color:var(--text);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f8fafc' stroke-width='2'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:40px}.checklist-details{margin-bottom:16px}.checklist-sections,.checklist-questions{margin:0;padding:0;list-style:none}.checklist-section{border:1px solid var(--slate700);border-radius:10px;margin:0 0 20px;padding:16px}.checklist-section-head{flex-wrap:wrap;align-items:end;gap:8px 12px;display:flex}.checklist-grow{flex:260px}.checklist-row-actions{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.checklist-row-actions>button{min-height:44px}.checklist-question{background:var(--slate950);border:1px solid var(--slate700);border-radius:8px;margin:0 0 12px;padding:12px}.checklist-question-grid{grid-template-columns:minmax(0,1fr);gap:0 12px;display:grid}.checklist-question-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.checklist-check{cursor:pointer;align-items:center;gap:8px;min-height:44px;display:flex}.checklist-check input{width:24px;height:24px}.checklist-options{border:0;margin:0 0 12px;padding:0}.checklist-options legend{margin-bottom:6px;font-weight:600}.checklist-option{align-items:center;gap:8px;margin-bottom:8px;display:flex}.checklist-option .field-input{flex:auto;min-width:0}.checklist-sensitive-ask p{margin:0 0 8px}.checklist-publish{margin-top:20px}.checklist-builder .audience-picker .grid-hint{margin-top:10px}@media (width>=700px){.checklist-question-grid{grid-template-columns:minmax(180px,220px) minmax(0,1fr)}}@media (width<=560px){.main:has(.card.checklist-builder){padding:12px 8px}.card.checklist-builder{padding:20px 12px}.checklist-section{padding:12px 8px}.checklist-question{padding:10px 8px}}.rule-editor{border-left:3px solid var(--slate700);margin:0 0 12px;padding:8px 12px}.rule-editor[data-on=true]{border-left-color:var(--amber500)}.rule-editor .grid-type{flex-direction:column;gap:6px;min-width:0;margin:0 0 8px;font-weight:600;display:flex}.rule-editor .field-input{box-sizing:border-box;width:100%;min-height:44px;font-weight:400}.rule-editor>.secondary-button,.rule-condition .link-button{min-height:44px}.rule-match,.rule-values,.rule-condition fieldset{border:0;min-width:0;margin:0 0 8px;padding:0}.rule-match legend,.rule-values legend,.rule-condition legend{margin-bottom:6px;font-weight:600}.rule-conditions{margin:0;padding:0;list-style:none}.rule-condition{border:1px solid var(--slate700);border-radius:8px;margin:0 0 8px;padding:8px}.rule-condition-grid{grid-template-columns:minmax(0,1fr);gap:0 12px;display:grid}@media (width>=900px){.checklist-builder .rule-condition-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}}.checklist-photo-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}.checklist-reference{margin:0 0 12px}.checklist-reference .secondary-button{cursor:pointer;align-items:center;min-height:44px;display:inline-flex}.checklist-reference-thumb,.fill-reference img{border:1px solid var(--slate700);border-radius:6px;max-width:min(100%,240px);height:auto;margin:0 0 8px;display:block}.fill-reference{margin:0 0 12px}.fill-reference summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.fill-hidden-veil{pointer-events:none;background:repeating-linear-gradient(135deg,#0f172ac7 0 8px,#0f172aad 8px 16px);position:absolute}@media print{.fill-reference{display:none}}@media (width<=640px){.fill-screen .viewer-head{display:flex}.fill-head-actions{flex-wrap:wrap}}.rule-source-full{color:var(--textMuted);overflow-wrap:anywhere;white-space:normal;margin-top:4px;font-size:15px;font-weight:400;display:block}.marked-photo{display:block;position:relative;overflow:hidden}.marked-photo>img{object-fit:fill;width:100%;height:100%;display:block}.marked-photo-layer{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.marked-photo-layer.is-editing{pointer-events:auto;touch-action:none;cursor:crosshair}.fill-photo-item .fill-photo-thumb{width:100%;height:auto;max-height:none}.fill-photo-link{display:block;position:absolute}.fill-photo-link>.fill-photo{width:100%;height:100%;position:static}.fill-photo-stamp{color:var(--textMuted);overflow-wrap:anywhere;gap:2px;margin:0;font-size:14px;display:grid}.fill-photo-buttons{flex-wrap:wrap;gap:8px;display:flex}.fill-photo-original{align-items:center;text-decoration:none;display:inline-flex}.markup-backdrop{padding:0}.markup-dialog{background:var(--slate950);width:100%;max-width:none;height:100%;color:var(--text);box-sizing:border-box;flex-direction:column;gap:8px;padding:12px 16px;display:flex}.markup-title{margin:0;font-size:20px}.markup-toolbar{flex-wrap:wrap;align-items:flex-end;gap:8px 16px;display:flex}.markup-group{flex-wrap:wrap;gap:8px;display:flex}.markup-tool{min-height:44px;margin-top:0;padding:0 14px}.markup-tool.is-on{border-color:var(--amber500);background:var(--slate800);box-shadow:inset 0 0 0 2px var(--amber500)}.markup-swatch{border:2px solid var(--slate700);cursor:pointer;border-radius:50%;width:44px;height:44px}.markup-swatch.is-on{outline:3px solid var(--amber500);outline-offset:2px}.markup-swatch.is-red{background:#dc2626}.markup-swatch.is-yellow{background:#facc15}.markup-swatch.is-white{background:#fff}.markup-swatch.is-black{background:#0f172a}.markup-text{flex:220px;gap:4px;display:grid}.markup-hint{margin:0}.markup-stage{flex:auto;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.markup-photo{flex:none}.markup-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.markup-actions>button{min-height:44px;margin-top:0}.markup-spacer{flex:auto}.photo-location-card .actions{flex-wrap:wrap}.projects-sort{flex-direction:column;max-width:320px;margin-top:8px;display:flex}.projects-sort select.field-input{appearance:none;background-color:var(--slate950);color:var(--text);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f8fafc' stroke-width='2'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:40px}.project-activity{margin-top:2px}.project-feed{margin-top:8px}.feed-filters{grid-template-columns:repeat(auto-fill,minmax(min(100%,15.5rem),1fr))}.feed-list{border-top:1px solid var(--slate700);margin:0 0 12px;padding:0;list-style:none}.feed-item{border-bottom:1px solid var(--slate700)}.feed-open{width:100%;min-height:64px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"lead text""lead time";align-items:center;gap:2px 14px;margin:0;padding:10px 8px;display:grid}.feed-open:hover{background:var(--slate800)}.feed-open:focus-visible{outline:3px solid var(--amber500);outline-offset:-3px}.feed-thumb{background:var(--slate800);border-radius:4px;grid-area:lead;justify-self:center;width:72px;max-width:72px}.feed-thumb.is-tall{width:42px}.feed-dot{border:2px solid var(--textMuted);border-radius:50%;grid-area:lead;justify-self:center;width:14px;height:14px}.feed-dot-finished,.feed-dot-approved,.feed-dot-signed{background:var(--textMuted)}.feed-dot-sealed{border-color:var(--amber500);background:var(--amber500)}.feed-dot-declined{border-style:double;border-width:4px}.feed-text{overflow-wrap:break-word;flex-direction:column;grid-area:text;min-width:0;display:flex}.feed-what{font-weight:600}.feed-title,.feed-caption{margin:0}.feed-time{color:var(--textMuted);grid-area:time;font-size:15px}@media (width>=700px){.feed-open{grid-template-columns:72px minmax(0,1fr) max-content;grid-template-areas:"lead text time"}.feed-time{text-align:right}}.confirm-dialog.photo-sheet{flex-direction:column;width:100%;max-width:720px;max-height:calc(100dvh - 48px);display:flex;overflow-y:auto}.confirm-dialog.photo-sheet p{margin:0 0 6px}.photo-sheet-image{background:var(--slate950);border-radius:6px;margin:4px auto 12px}.photo-sheet-caption{font-weight:600}.photo-sheet .grid-actions{margin-top:10px}.photo-sheet a.secondary-button{align-items:center;text-decoration:none;display:inline-flex}@media (width<=560px){.confirm-backdrop:has(.photo-sheet){padding:8px}.confirm-dialog.photo-sheet{padding:16px}}.week-bar{flex-direction:column;gap:6px;min-width:0;padding:6px 4px 10px;display:flex}.week-bar-head{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.week-status{border:1px solid var(--slate700);background:var(--slate800);border-radius:999px;padding:2px 10px;font-weight:600}.week-start{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.week-start select{min-width:11em;min-height:44px}.week-days{grid-template-columns:repeat(auto-fit,minmax(9.5em,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.week-day{border:1px solid var(--slate700);background:var(--slate800);overflow-wrap:anywhere;border-radius:8px;flex-direction:column;gap:2px;min-width:0;padding:6px 10px;display:flex}.week-day.is-today{border:2px solid var(--amber500)}.week-day.is-ahead{color:var(--textMuted);border-style:dashed}.week-day-name{font-weight:700}.week-day-state{color:var(--textMuted);font-size:14px}.week-day.is-done .week-day-state{color:var(--text)}.week-badge{border-style:dashed}.shell-banner{background:var(--slate950);border-bottom:2px solid var(--amber500);color:var(--text);flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 24px;display:flex}.shell-banner p{flex:16em;margin:0}.shell-banner.is-offline{border-bottom-style:dashed}.device-row{padding:16px 0}.device-row+.device-row{border-top:1px solid var(--slate700)}.device-row .primary-button,.device-row .secondary-button{margin-top:8px}.device-subheading{margin:0 0 8px;font-size:20px}.device-status{margin:0 0 8px}.storage-chip.is-persistent{border-color:var(--amber500);color:var(--amber500)}.storage-chip.is-best-effort,.storage-chip.is-unsupported,.storage-chip.is-checking{border-style:dashed;border-color:var(--textMuted);color:var(--textMuted)}.offline-needs{color:var(--textMuted);margin:16px 0 0;padding-left:1.2em}.offline-needs li+li{margin-top:4px}.sync-screen .section-heading{margin-top:32px}.sync-list{margin:0;padding:0;list-style:none}.sync-row{border-top:1px solid var(--slate700);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:16px 0;display:flex}.sync-row:first-child{border-top:0;padding-top:4px}.sync-title{overflow-wrap:anywhere;flex:100%;font-size:20px;font-weight:600}.sync-reasons{color:var(--text);flex:100%;margin:0;padding-left:20px}.sync-row .actions{flex:100%;margin-top:4px}.card.wide.documents{width:100%;max-width:1180px}.docs-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.docs-summary{color:var(--textMuted);margin:8px 0}.docs-filter-check{flex-direction:row;align-items:center;gap:10px;min-height:48px}.docs-filter-check input{width:24px;height:24px}.docs-table-wrap{overflow-x:auto}.docs-table{border-collapse:collapse;width:100%;font-size:17px}.docs-table th{border-bottom:2px solid var(--slate700);color:var(--textMuted);text-align:left;white-space:nowrap;padding:8px 7px;font-size:15px;font-weight:600}.docs-table td{border-bottom:1px solid var(--slate700);vertical-align:middle;overflow-wrap:break-word;padding:10px 7px}.docs-number{white-space:nowrap}.docs-open{min-height:44px;padding:0;font-weight:700}.docs-title{min-width:180px}.docs-date{white-space:nowrap}.docs-num{text-align:right}.docs-muted{color:var(--textMuted)}.status-chip.docs-overdue{border-color:var(--amber500);background:var(--amber500);color:var(--onAmber);white-space:nowrap;font-weight:600}.status-chip.docs-status-not_set_up{color:var(--textMuted);border-style:dashed}.status-chip.docs-status-published,.status-chip.docs-result-accepted,.status-chip.docs-rev-published{border-color:var(--amber500)}.status-chip.docs-rev-superseded,.status-chip.docs-rev-withdrawn,.status-chip.docs-result-duplicate{color:var(--textMuted);border-style:dashed}.doc-batch{border:1px solid var(--slate700);border-radius:8px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));align-items:end;gap:8px 12px;margin:16px 0;padding:16px;display:grid}.doc-batch-legend{padding:0 6px}.doc-batch .notice,.doc-batch .form-error,.doc-batch .docs-actions{grid-column:1/-1}.doc-pick{cursor:pointer;align-items:center;display:inline-flex}.doc-pick:focus-within{outline:3px solid var(--amber500);outline-offset:2px}.doc-pick.is-disabled{opacity:.5;cursor:default}.doc-upload-list,.doc-revisions{margin:0;padding:0;list-style:none}.doc-upload-row,.doc-revision-row{border:1px solid var(--slate700);border-radius:8px;margin-bottom:12px;padding:12px 16px}.doc-upload-row.doc-upload-accepted{border-left:6px solid var(--amber500)}.doc-upload-row.doc-upload-refused{border-left:6px double var(--amber500)}.doc-upload-row.doc-upload-duplicate{border-left:6px dashed var(--slate700)}.doc-upload-file{overflow-wrap:anywhere;margin:0 0 6px}.doc-upload-inputs{grid-template-columns:minmax(120px,1fr) minmax(200px,3fr) minmax(110px,1fr);gap:8px 12px;display:grid}.doc-upload-field{flex-direction:column;min-width:0;display:flex}.doc-upload-field .field-input{width:100%}.doc-upload-result{margin:8px 0 0}.docs-result-refused{overflow-wrap:break-word}.status-chip.docs-result-refused-chip{border-style:double;border-width:3px;border-color:var(--amber500)}.doc-facts{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px 16px;margin:8px 0 0;display:grid}.doc-facts dt{color:var(--textMuted);font-size:15px}.doc-facts dd{overflow-wrap:anywhere;margin:0;font-size:19px;font-weight:600}.doc-revision-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.doc-revision-head .original-title{margin:0}.doc-revision-row .original-meta{margin:4px 0 0}.password-form{flex-direction:column;gap:8px;max-width:480px;display:flex}.password-form .primary-button{align-self:flex-start;margin-top:16px}@media (width<=760px){.docs-table thead{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.docs-table,.docs-table tbody,.docs-table tr,.docs-table td{display:block}.docs-table tr{border:1px solid var(--slate700);border-radius:8px;margin-bottom:12px;padding:8px 12px}.docs-table td{border:0;padding:4px 0}.docs-table td[data-label]:before{content:attr(data-label);color:var(--textMuted);font-size:14px;display:block}.docs-num{text-align:left}.doc-upload-inputs{grid-template-columns:1fr}}.docs-table .status-chip{white-space:nowrap}.docs-table .status-chip.docs-pending,.status-chip.docs-pending{color:var(--textMuted);white-space:nowrap;border-style:dashed;margin-inline-start:.5rem}.docs-table .status-chip.docs-overdue{white-space:normal;border-radius:10px;display:inline-block}.docs-nowrap{white-space:nowrap}.docs-table .status-chip.docs-pending{white-space:normal;background:0 0;border:0;border-radius:0;margin:4px 0 0;padding:0;font-size:14px;line-height:1.3;display:block}
