:root{--navy:#1a3a5c;--paper:#f7f6f2;--ink:#22272b;--muted:#5a6068;--pass:#1d7a3e;--fail:#b3261e;--amend:#a04a00;--note:#1f5f8b;--field:#7a5b00;--line:#d8d5cc;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0}header{background:var(--navy);color:#fff;padding:12px 16px 10px}header h1{margin:0;font-size:1.15rem}.tagline{opacity:.85;margin:3px 0 0;font-size:.75rem}.searchbar{background:var(--paper);z-index:5;padding:12px 0 8px;position:sticky;top:0}.search-row{gap:6px;display:flex}#q{border:1.5px solid var(--navy);background:#fff;border-radius:8px;flex:1;padding:10px 12px;font-size:1rem}#help-btn{border:1.5px solid var(--navy);width:42px;color:var(--navy);cursor:pointer;background:#fff;border-radius:8px;font-size:1rem;font-weight:700}.search-tools{align-items:center;gap:6px;margin-top:6px;display:flex}#sortmode{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:6px;flex:1;padding:5px 8px;font-size:.8rem}.tabs{gap:6px;margin-bottom:10px;display:flex}.tab{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:8px;flex:1;padding:8px;font-size:.9rem}.tab.active{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:600}.doc-group{border:1px solid var(--line);background:#fff;border-radius:8px;margin-bottom:12px;overflow:hidden}.doc-group.field-notes{border-color:var(--field);background:#fdf9ec}.doc-head{border-bottom:1px solid var(--line);background:#eef1f4;flex-wrap:wrap;align-items:baseline;gap:6px;padding:8px 12px;display:flex}.doc-group.field-notes .doc-head{background:#f5edcf}.doc-group.user-work{border-color:var(--field);background:#fdf9ec}.doc-group.user-work .doc-head{background:#f5edcf}.user-hit .hit-doc{color:var(--field);background:#efe3c2}.doc-name{color:var(--navy);font-size:.95rem;font-weight:700}.doc-title{color:var(--muted);flex-basis:100%;font-size:.72rem}details.doc-group>summary.doc-head{cursor:pointer;list-style:none}details.doc-group>summary.doc-head:before{content:"▾";color:var(--muted);margin-right:2px;font-size:.8rem}details.doc-group:not([open])>summary.doc-head:before{content:"▸"}.group-count{color:var(--muted);white-space:nowrap;font-size:.7rem}.hit-doc{color:var(--navy);white-space:nowrap;background:#dde4ea;border-radius:8px;padding:0 6px;font-size:.7rem;font-weight:700}.rel-kind{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);background:#edeae2;border-radius:7px;margin-right:4px;padding:0 6px;font-size:.62rem;font-weight:700}.rel-kind.amendment{background:var(--amend);color:#fff}.rel-kind.note,.rel-kind.parent{color:var(--note);background:#d9e8f2}.rel-kind.curated{color:#fff;background:#2c5f2d}.rel-kind.topical{color:#2c5f2d;background:#e0ecdf}.rel.curated{border-left-color:#2c5f2d}.rel.topical{border-left-color:#a9c8a8}.doc-badge{color:var(--navy);background:#dde4ea;border-radius:9px;padding:1px 7px;font-size:.68rem;font-weight:600}.doc-badge.st-overlay{color:var(--amend);background:#f4e3d3}.doc-badge.st-bylaw,.doc-badge.jur{color:#2c5f2d;background:#e0ecdf}.doc-badge.st-product{color:#4a3b73;background:#e8e2f0}.doc-badge.st-field-notes,.doc-badge.warn{color:var(--field);background:#f5e9c8}.doc-badge.scope{color:var(--note);background:#d9e8f2}.hit{border-top:1px solid var(--line);padding:8px 12px}.hit:first-of-type{border-top:none}.hit-top{align-items:baseline;gap:6px;display:flex}.hit-top .hit-head{flex:1;min-width:0}.star{color:var(--field);cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:1.05rem;line-height:1}.snippet{color:var(--muted);border-left:2px solid var(--line);margin:5px 0 0;padding-left:8px;font-size:.78rem}.snippet mark{color:var(--ink);background:#f3e3ae;padding:0 1px}.hit-head{text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:none;align-items:baseline;gap:8px;padding:0;display:flex}.hit-ref{color:var(--navy);white-space:nowrap;font-weight:700}.hit-section{color:var(--navy);white-space:nowrap;text-overflow:ellipsis;background:#1f5f8b1a;border-radius:4px;flex:0 auto;max-width:45%;padding:1px 6px;font-size:.72rem;overflow:hidden}.hit-title{flex:1;font-size:.9rem}.hit-pages{color:var(--muted);white-space:nowrap;font-size:.78rem}.chips{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.chip{color:var(--muted);background:#edeae2;border-radius:9px;padding:1px 7px;font-size:.68rem;font-weight:600}.chip.amended{background:var(--amend);color:#fff}.chip.base-note{color:var(--amend);background:#f4e3d3}.chip.note,.chip.parent{color:var(--note);background:#d9e8f2}.chip.linked{color:#2c5f2d;background:#e0ecdf}.chip.prov,.chip.st-waiting{color:var(--field);background:#f5e9c8}.chip.st-due{color:var(--note);background:#d9e8f2}.chip.st-blocked{color:var(--fail);background:#fbe3e1}.chip.st-done{color:var(--pass);background:#e0ecdf}.chip.material{color:#5a3d82;background:#ece7f2}.chip.schedule{color:var(--navy);background:#dce9f0}.chip.viewonly{color:var(--amend);background:#eee3cf}.lib-open-ro{cursor:default}.related{margin-top:6px;font-size:.8rem}.related summary{color:var(--note);cursor:pointer}.related ul{margin:4px 0 0;padding:0;list-style:none}.rel{border-left:2px solid var(--line);margin:2px 0;padding:3px 0 3px 10px}.rel.amendment{border-left-color:var(--amend)}.rel.note,.rel.parent{border-left-color:var(--note)}.rel-meta{color:var(--muted);font-size:.7rem;display:block}.rel-matched{border-left-color:var(--field);background:#f6edd0;border-radius:0 5px 5px 0;padding-right:6px}.rel-snippet{color:var(--ink);margin:3px 0 0;font-size:.72rem}.rel-snippet mark{color:var(--ink);background:#f3e3ae;padding:0 1px}.page-link{font:inherit;text-align:left;cursor:pointer;color:inherit;background:0 0;border:none;padding:0}.rel .page-link{color:var(--navy)}.lib-row{border-top:1px solid var(--line);padding:8px 12px}.lib-row:first-of-type{border-top:none}.lib-open{align-items:baseline;gap:8px;width:100%;display:flex}.lib-open:disabled{cursor:default;opacity:.75}.lib-short{color:var(--navy);white-space:nowrap;font-weight:700}.lib-title{font-size:.85rem}.lib-meta{flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:4px;display:flex}.lib-info{color:var(--muted);font-size:.7rem}.banner{border-radius:8px;margin-bottom:10px;padding:10px 12px;font-size:.85rem}.banner.gap{border:1px solid var(--fail);background:#fdeceb}.banner.update{background:#e0ecdf;border:1px solid #2c5f2d;margin-top:12px}.dl-wrap{margin-top:6px}.dl-btn{background:var(--navy);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:8px 14px;font-size:.85rem}.dl-btn:disabled{opacity:.6}.dl-progress{align-items:center;gap:8px;margin-top:6px;display:flex}.dl-track{background:var(--line);border-radius:4px;flex:1;height:8px;overflow:hidden}.dl-bar{background:var(--navy);width:0;height:100%;transition:width .2s}.empty{color:var(--muted);padding:12px 4px;font-size:.9rem}.error{border:1px solid var(--fail);white-space:pre-wrap;background:#fdeceb;border-radius:8px;padding:12px 14px;font-family:ui-monospace,Consolas,monospace;font-size:.8rem}.loading{color:var(--muted);padding:12px 4px}footer{background:var(--navy);color:#cfd8e2;text-align:center;padding:6px 12px;font-size:.68rem;position:fixed;bottom:0;left:0;right:0}#viewer{z-index:50;background:#3a3f45;flex-direction:column;display:none;position:fixed;inset:0}#viewer.open{display:flex}.v-panes{flex:1;min-height:0;display:flex}.v-pane{flex-direction:column;flex:1 1 0;min-width:0;min-height:0;display:flex}#viewer.split .v-pane+.v-pane{border-left:2px solid #ffffff40}#viewer.split .v-title{display:none}#viewer.split .v-btn{padding:8px 10px}@media (orientation:portrait){#viewer.split .v-panes{flex-direction:column}#viewer.split .v-pane+.v-pane{border-top:2px solid #ffffff40;border-left:none}}.v-bar{background:var(--navy);color:#fff;align-items:center;gap:10px;padding:8px 10px;display:flex}.p-head{padding-right:max(14px, env(safe-area-inset-right,0px) + 10px)}.v-doc{flex-direction:column;flex:1;min-width:0;display:flex}.v-short{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:700;overflow:hidden}.v-title{opacity:.8;white-space:nowrap;text-overflow:ellipsis;font-size:.66rem;overflow:hidden}.v-page{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.8rem}.p-pagetools{flex:none;align-items:center;gap:6px;display:flex}.p-pagetools[hidden]{display:none}.p-pagetools .v-btn{padding:8px 12px}@media (orientation:portrait){.p-head{gap:5px}.p-head .v-btn{padding:8px}.p-pagetools{gap:3px}.p-pagetools .v-btn{padding:8px 11px}}.v-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:6px;padding:8px 14px;font-size:.9rem}.v-tools{justify-content:center}.v-foot{flex-direction:column;display:flex}.v-foottools{flex-wrap:wrap;gap:18px}.v-foottools:not(:has(>:not([hidden]))){display:none}.v-results{align-items:center;gap:6px;display:flex}.v-results[hidden]{display:none}.v-res-pos{text-align:center;font-variant-numeric:tabular-nums;min-width:110px;font-size:.8rem}.v-btn:disabled{opacity:.35;cursor:default}.v-scroll{text-align:center;flex:1;padding:8px;overflow:auto}.v-scroll canvas{background:#fff;display:block;box-shadow:0 2px 12px #0006}.v-canvaswrap{display:inline-block;position:relative}.v-linklayer{pointer-events:none;position:absolute;inset:0}.v-reflink{pointer-events:auto;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #1f5f8b66;padding:0;position:absolute}.v-reflink:hover,.v-reflink:active{background:#1f5f8b29}.v-reflink-text{color:#1f5f8b;font:inherit;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #1f5f8b80;padding:0;display:inline;position:static;inset:auto}.v-reflink-text:hover,.v-reflink-text:active{background:#1f5f8b24}.v-measure{pointer-events:auto;cursor:pointer;font:inherit;color:inherit;background:0 0;border:none;border-bottom:1px dotted #787878e6;padding:0;position:absolute}.v-measure:hover,.v-measure:active{background:#7878782e}.v-measure.on{color:#111;white-space:nowrap;min-width:0;box-shadow:none;z-index:2;background:#fff;border:1px solid #0000004d;border-radius:4px;align-items:center;padding:0 3px;font-weight:700;line-height:1;display:flex;width:auto!important}.v-status{color:#dfe4e9;font-size:.85rem}.v-textdoc{text-align:left;background:#fdf9ec;border-radius:8px;max-width:720px;margin:0 auto;padding:12px 14px}.v-fieldnote-banner{color:var(--field);background:#f5edcf;border-radius:6px;margin-bottom:10px;padding:6px 10px;font-size:.75rem;font-weight:700}.v-note{border-top:1px solid #e8dfc0;padding:10px 0}.v-note:first-of-type{border-top:none}.v-note h4{color:var(--navy);margin:0 0 6px;font-size:.9rem}.v-note-text{white-space:pre-wrap;word-break:break-word;font-size:.85rem}.modal.help{max-height:80vh;overflow:auto}.modal.help p{margin:4px 0;font-size:.85rem}#contents{z-index:40;background:#14191e73;display:none;position:fixed;inset:0}#contents.open{display:flex}.c-sheet{background:var(--paper);flex-direction:column;width:min(100vw,560px);height:100%;margin-left:auto;display:flex;box-shadow:-4px 0 18px #0000004d}.c-scroll{flex:1;padding:8px 10px;overflow:auto}.c-root,.c-kids{margin:0;padding:0;list-style:none}.c-kids{padding-left:12px}.c-row{align-items:stretch;gap:4px;display:flex}.c-toggle{color:#33452f;cursor:pointer;background:#e8ede3;border:1px solid #87927f;border-radius:8px;align-self:flex-start;place-items:center;width:44px;min-width:44px;min-height:44px;padding:0;font-size:1.05rem;font-weight:900;display:grid}.c-toggle:hover{background:#dce5d7;border-color:#596b52}.c-toggle-spacer{width:44px;min-width:44px}.c-entry{text-align:left;min-width:0;min-height:44px;font:inherit;cursor:pointer;color:var(--ink);background:0 0;border:none;border-bottom:1px solid #eceae2;flex:1;align-items:center;gap:8px;padding:7px 4px;font-size:.85rem;display:flex}.c-entry .c-title{flex:1}.c-entry .c-page{color:var(--muted);white-space:nowrap;font-size:.72rem}.contents-btn,.docsearch-btn{border:1px solid var(--navy);color:var(--navy);cursor:pointer;background:#fff;border-radius:7px;padding:2px 8px;font-size:.72rem;font-weight:600}.modal-wrap{z-index:60;background:#14191e8c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.root-back-notice{z-index:120;color:#fff7e8;text-align:center;pointer-events:none;background:#211b12;border:1px solid #a86a24;border-radius:999px;max-width:calc(100vw - 28px);padding:11px 16px;font-size:.9rem;font-weight:800;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #0000006b}@media (width<=1099px){.root-back-notice{bottom:calc(78px + env(safe-area-inset-bottom,0px))}}.modal{background:#fff;border-radius:10px;flex-direction:column;gap:8px;width:min(92vw,380px);padding:16px;display:flex}.modal h3{color:var(--navy);margin:0 0 4px;font-size:1rem}.modal.docsearch{width:min(94vw,640px);max-height:88vh}.modal.docsearch .ds-input{border:1px solid var(--line);border-radius:7px;padding:9px 11px;font-size:.95rem}.modal.docsearch .ds-results{text-align:left;flex:1;min-height:0;overflow-y:auto}.modal-opt{text-align:left;border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:7px;padding:9px 12px;font-size:.9rem}.modal-new{gap:6px;display:flex}.modal-new input{border:1px solid var(--line);border-radius:7px;flex:1;padding:8px 10px;font-size:.9rem}.modal-cancel{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:6px}#view-subjects{width:100%;color:var(--shell-text)}#view-subjects .doc-group{color:var(--document-text)}.subjects-home{width:100%}.subjects-view-head{border-bottom:1px solid var(--shell-border);margin-left:0;padding:20px 18px 18px}.subjects-eyebrow{color:#ffb15e;letter-spacing:.12em;text-transform:uppercase;margin:0 0 5px;font-size:.72rem;font-weight:900}.subjects-view-head h2,.subject-results-head h2{color:var(--shell-text);margin:0;font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.2}.subjects-view-head>p:last-child{max-width:660px;color:var(--shell-muted);margin:8px 0 0;font-size:.88rem;line-height:1.5}.subjects-primary-grid{gap:14px;margin-top:14px;display:grid}.subject-panel,.subjects-concepts{border:1px solid var(--shell-border);background:var(--shell-surface-1);border-radius:14px;overflow:hidden}.subject-panel-head{border-bottom:1px solid var(--shell-border);background:var(--shell-surface-2);margin-left:0;padding:15px 16px 13px}.subject-panel-head h3{color:var(--shell-text);margin:0;font-size:1rem}.subject-panel-head p{color:var(--shell-muted);margin:5px 0 0;font-size:.78rem;line-height:1.4}.subject-chips{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;padding:12px;display:grid}.subject-chip{color:#303a2e;min-width:0;min-height:44px;font:inherit;text-align:left;cursor:pointer;background:#f8f5ec;border:1px solid #778174;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:9px 11px;font-size:.82rem;line-height:1.25;display:flex}.subject-chip:hover{background:#fffaf0;border-color:#f28b2c}.subject-chip strong{min-width:0;font-weight:800}.subject-chip .chip-n{color:#4b5847;text-align:center;background:#dfe6d8;border-radius:999px;flex:none;min-width:28px;padding:3px 6px;font-size:.7rem;font-weight:800}.subjects-concepts{margin-top:14px}.subjects-concepts>summary{background:var(--shell-surface-2);min-height:60px;color:var(--shell-text);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.subjects-concepts>summary::marker{color:#ffb15e}.subjects-concepts>summary>span:first-child{flex-direction:column;gap:3px;display:flex}.subjects-concepts summary strong{font-size:1rem}.subjects-concepts summary small{color:var(--shell-muted);font-size:.75rem}.subjects-concept-count{color:#ffb15e;flex:none;font-size:.76rem;font-weight:900}.subjects-concepts[open]>summary{border-bottom:1px solid var(--shell-border)}.subject-concept-chips{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.subject-chip.concept{color:#33452f;background:#edf1e8;justify-content:flex-start}.subject-results-head{border:1px solid var(--shell-border);background:var(--shell-surface-1);border-radius:14px;align-items:flex-start;gap:14px;margin:0 0 14px;padding:18px;display:flex}.subject-results-head>div{min-width:0}.subject-results-head>div>p:last-child{color:var(--shell-muted);margin:6px 0 0;font-size:.8rem;line-height:1.4}#subjects-back{border:1px solid var(--shell-border);background:var(--shell-surface-3);min-height:44px;color:var(--shell-text);border-radius:9px;flex:none;align-items:center;padding:9px 12px;font:800 .8rem/1.2 inherit;display:inline-flex}@media (width>=760px){.subjects-primary-grid{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}}@media (width<=520px){.subjects-view-head{padding:18px 4px 16px}.subject-chips{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.subject-concept-chips{grid-template-columns:1fr}.subjects-concepts>summary{padding-inline:13px}.subject-results-head{flex-direction:column;padding:14px}#subjects-back{justify-content:center;width:100%}}.saved-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.saved-controls label.dl-btn{display:inline-block}.saved-row{align-items:baseline;gap:6px;display:flex}.saved-row .lib-open{flex:1;min-width:0}.bm-del{color:var(--fail);cursor:pointer;background:0 0;border:none;padding:2px 6px;font-size:.9rem}.note-btn{color:var(--note);cursor:pointer;background:0 0;border:none;padding:2px 6px;font-size:.9rem}.bm-note{color:var(--ink);border-left:3px solid var(--note);white-space:pre-wrap;background:#f2f6f9;border-radius:0 6px 6px 0;margin:4px 12px 6px;padding:6px 10px;font-size:.8rem}.doc-head .bm-note.set-note{flex-basis:100%;margin:4px 0 0}.note-edit{width:100%;font:inherit;border:1px solid var(--line);resize:vertical;border-radius:7px;padding:8px 10px;font-size:.9rem}.notes-group .not-authority{color:var(--field);font-style:italic}.note-modal .note-title-edit,.note-modal .note-meta-row input{width:100%;font:inherit;border:1px solid var(--line);border-radius:7px;padding:8px 10px;font-size:.9rem}.note-modal .note-meta-row{gap:6px;display:flex}.note-modal .note-meta-row input{flex:1;min-width:0}.note-proj-row,.save-proj-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.note-proj-label,.save-proj-label{color:var(--muted);font-size:.8rem;font-weight:600}.note-proj-select,.save-proj-select,.note-newproj,.save-newproj{min-width:0;font:inherit;border:1px solid var(--line);background:#fff;border-radius:7px;flex:1;padding:8px 10px;font-size:.9rem}.note-newproj[hidden],.save-newproj[hidden]{display:none}.note-chip-group{flex-direction:column;gap:5px;margin:4px 0;display:flex}.note-chip-label{color:var(--muted);font-size:.8rem;font-weight:600}.note-chip-hint{color:var(--muted);font-weight:400}.chip-picker{flex-wrap:wrap;gap:6px;display:flex}.pick-chip{font:inherit;border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fff;border-radius:14px;padding:6px 11px;font-size:.82rem}.pick-chip.current{border-color:var(--navy);background:#eef4f8;font-weight:600}.status-detail-row:not([hidden]){flex-wrap:wrap;align-items:center;gap:6px;display:flex}.status-detail-row .status-who{min-width:0;font:inherit;border:1px solid var(--line);background:#fff;border-radius:7px;flex:1;padding:8px 10px;font-size:.9rem}.note-date-row:not([hidden]){margin:4px 0;display:block}.note-date-lbl{color:var(--muted);align-items:center;gap:4px;font-size:.8rem;display:inline-flex}.note-date-lbl .note-date{font:inherit;border:1px solid var(--line);border-radius:7px;padding:6px 8px}.notes-filter-row{flex-wrap:wrap;gap:12px;display:flex}.notes-filter-cb{color:var(--ink);cursor:pointer;align-items:center;gap:5px;font-size:.85rem;display:inline-flex}.note-card .note-head{flex-wrap:wrap}.note-body{white-space:normal;word-break:break-word;padding:6px 12px 10px;font-size:.9rem;line-height:1.45}.note-measure{font:inherit;color:var(--pass);cursor:pointer;background:0 0;border:none;border-bottom:1px dashed #1d7a3e99;padding:0;display:inline}.note-measure:hover,.note-measure:active{background:#1d7a3e1f}.note-photos{flex-wrap:wrap;gap:6px;padding:6px 12px 0;display:flex}.note-photo{border:1px solid var(--line);background:#f0f0f0;border-radius:8px;max-width:100%;max-height:240px}.note-photo.missing{border-style:dashed;min-width:120px;min-height:60px}.capture-sheet .capture-preview{border:1px solid var(--line);border-radius:8px;max-width:100%;max-height:46vh;margin:0 auto 8px;display:block}.capture-sheet .capture-caption{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--line);border-radius:7px;margin-bottom:8px;padding:8px 10px;font-size:.9rem}.capture-camera .capture-cam-stage{background:#000;border-radius:8px;margin-bottom:8px;position:relative;overflow:hidden}.capture-camera .capture-video:not([hidden]){object-fit:contain;background:#000;width:100%;max-height:52vh;display:block}.capture-camera .capture-still:not([hidden]){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.capture-review:not([hidden]){flex-direction:column;gap:8px;display:flex}.capture-review .capture-caption{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--line);border-radius:7px;padding:8px 10px;font-size:.95rem}.capture-review-btns{align-items:center;gap:8px;display:flex}.capture-review-btns .modal-opt{flex:1;margin:0}.modal-cancel-inline{border:1px solid var(--line);background:var(--paper);color:var(--note);cursor:pointer;border-radius:7px;padding:8px 12px;font-size:.9rem}.modal-cancel-inline:hover{background:#eef4f7}.capture-camera .capture-cam-msg{color:var(--muted);text-align:center;padding:16px;font-size:.9rem}.capture-camera .capture-flash{color:#fff;background:#000000b8;border-radius:999px;padding:6px 14px;font-size:.9rem;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.capture-camera .capture-shutter{width:100%;font-size:1rem}.capture-foot{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.capture-import-btn{border:1px solid var(--line);background:var(--paper);color:var(--note);cursor:pointer;border-radius:7px;padding:6px 10px;font-size:.85rem}.capture-import-btn:hover{background:#eef4f7}.capture-newproj-row:not([hidden]){gap:6px;width:100%;margin-top:6px;display:flex}.capture-newproj-row .capture-newproj{flex:1;min-width:0}.capture-newproj-create{border:1px solid var(--line);background:var(--paper);color:var(--note);cursor:pointer;white-space:nowrap;border-radius:7px;padding:6px 10px;font-size:.85rem}.capture-newproj-create:hover{background:#eef4f7}body.capture-open{overflow:hidden}.capture-wrap{z-index:82;height:var(--modal-viewport-height,100dvh);box-sizing:border-box;background:#070a07c7;padding:18px;bottom:auto}.capture-context-wrap{z-index:84;height:var(--modal-viewport-height,100dvh);box-sizing:border-box;padding:9px;bottom:auto}.modal.capture-context{max-height:calc(var(--modal-viewport-height,100dvh) - 18px);overscroll-behavior:contain;overflow-y:auto}.capture-context-actions{background:#fff;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-top:8px;display:grid;position:sticky;bottom:0}.capture-context-actions .modal-opt{text-align:center;margin:0}.capture-context-actions .modal-cancel{min-width:76px}.capture-details-description{color:var(--muted);margin:-2px 0 4px;font-size:.85rem;line-height:1.4}.modal.capture-camera{width:min(94vw,820px);max-height:min(92vh,820px);max-height:min(calc(var(--modal-viewport-height,100dvh) - 36px), 820px);border:1px solid var(--shell-border);background:var(--document);color:var(--document-text);border-radius:16px;gap:0;padding:0;overflow:hidden;box-shadow:0 24px 64px #00000075}.capture-head{border-bottom:1px solid var(--shell-border);background:var(--shell-surface-1);min-height:104px;color:var(--shell-text);justify-content:space-between;align-items:flex-start;gap:18px;margin-left:0;padding:18px 20px;display:flex}.capture-eyebrow{color:#ffb15e;letter-spacing:.11em;text-transform:uppercase;margin:0 0 4px;font-size:.75rem;font-weight:900}.modal.capture-camera .capture-head h2{color:var(--shell-text);margin:0;font-size:1.4rem;line-height:1.2}.capture-head #capture-description{max-width:34rem;color:var(--shell-muted);margin:7px 0 0;font-size:.88rem;line-height:1.45}.capture-head .capture-done{border:1px solid var(--shell-border);background:var(--shell-surface-3);min-width:68px;min-height:44px;color:var(--shell-text);border-radius:9px;flex:none;padding:9px 13px;font-size:.9rem;font-weight:800}.capture-grid{overscroll-behavior:contain;flex:1;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);min-height:0;display:grid;overflow-y:auto}.capture-camera-region,.capture-controls{min-width:0;padding:18px}.capture-controls{background:#f1eee4;border-left:1px solid #c6c9bd}.capture-section-head{margin-bottom:10px}.modal.capture-camera .capture-section-head h3{color:#344430;letter-spacing:.055em;text-transform:uppercase;margin:0;font-size:.82rem;font-weight:900}.capture-section-head p{color:#596356;margin:5px 0 0;font-size:.88rem;line-height:1.4}.capture-camera .capture-cam-stage{background:#050705;border:1px solid #566052;border-radius:12px;justify-content:center;align-items:center;min-height:250px;margin:0;display:flex}.capture-camera .capture-video:not([hidden]){object-fit:contain;width:100%;min-height:250px;max-height:54vh}.capture-camera .capture-cam-msg{color:#e4e8df;margin:0;padding:20px;font-size:.9rem;line-height:1.5}.capture-camera .capture-cam-msg .dl-btn{color:#fffdf5;background:#344430;border-color:#899984;min-height:44px;margin:10px 0 0}.capture-camera .note-proj-row{flex-direction:column;align-items:stretch;gap:7px;display:flex}.capture-camera .note-proj-label,.capture-caption-label{color:#4f574d;letter-spacing:.035em;text-transform:uppercase;font-size:.78rem;font-weight:900}.capture-camera .note-proj-select,.capture-camera .note-newproj{width:100%;min-width:0;min-height:44px;color:var(--document-text);font:inherit;background:#fffdf7;border:1px solid #969e90;border-radius:9px;padding:9px 11px;font-size:.95rem}.capture-camera .capture-newproj-row:not([hidden]){grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:0;display:grid}.capture-camera .capture-newproj-create{border-color:var(--shell-accent);background:var(--shell-accent);color:#17110b;border-radius:9px;min-height:44px;font-weight:900}.capture-live{flex-direction:column;gap:16px;margin-top:16px;display:flex}.capture-camera .capture-shutter{border:1px solid var(--shell-accent);background:var(--shell-accent);color:#17110b;text-align:center;border-radius:10px;width:100%;min-height:52px;padding:11px 14px;font-size:1rem;font-weight:900}.capture-camera-region>.capture-shutter{margin-top:12px}.capture-camera .capture-shutter:disabled{color:#6c726a;cursor:not-allowed;background:#e0dfd7;border-color:#adb3a7}.capture-alternatives{border-top:1px solid #c6c9bd;padding-top:14px}.capture-other-head{margin-bottom:9px}.capture-foot{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.capture-import-btn{color:#33452f;text-align:center;background:#fffdf7;border:1px solid #8d9789;border-radius:9px;justify-content:center;align-items:center;min-height:48px;padding:10px 11px;font-size:.88rem;font-weight:800;line-height:1.25;display:flex;position:relative}.capture-import-btn:hover{background:#e8eee2;border-color:#667c50}.capture-import-btn:focus-within{outline:3px solid var(--shell-accent);outline-offset:2px}.capture-file-input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.capture-review:not([hidden]){margin-top:16px}.capture-caption-label span{text-transform:none;font-weight:700}.capture-camera .capture-review .capture-caption{min-height:88px;color:var(--document-text);background:#fffdf7;border-color:#969e90;border-radius:9px;margin:0;padding:10px 11px;font-size:1rem;line-height:1.4}.capture-camera .capture-review-btns :is(.modal-opt,.modal-cancel-inline){border-radius:9px;min-height:44px;font-weight:800}.capture-camera .capture-review-btns .modal-opt{border-color:var(--shell-accent);background:var(--shell-accent);color:#17110b;text-align:center}@media (width<=720px){.modal.capture-camera{width:min(96vw,520px)}.capture-grid{display:block}.capture-controls{border-top:1px solid #c6c9bd;border-left:0}.capture-camera .capture-cam-stage,.capture-camera .capture-video:not([hidden]){min-height:190px}}@media (width<=420px){.capture-wrap{align-items:center;padding:9px}.modal.capture-camera{width:calc(100vw - 18px);max-height:calc(100vh - 18px);max-height:calc(var(--modal-viewport-height,100dvh) - 18px)}.capture-head{min-height:0;padding:16px}.capture-camera-region,.capture-controls{padding:15px}}@media (width<=340px){.capture-foot,.capture-camera .capture-newproj-row:not([hidden]){grid-template-columns:1fr}}.capture-wrap.keyboard-visible .capture-review-btns{z-index:2;background:#f1eee4;padding:8px 0;position:sticky;bottom:0}.capture-context-wrap.keyboard-visible .capture-preview{max-height:120px}.capture-wrap.keyboard-visible .capture-camera .capture-cam-stage,.capture-wrap.keyboard-visible .capture-camera .capture-video:not([hidden]){min-height:140px}#ws-health-result{padding:4px 0;line-height:1.7}#ws-health-result .dl-btn{margin-left:6px}.export-choice .modal-opt{text-align:left}.export-warn{color:var(--fail)}html.dailylog-open,body.dailylog-open{overscroll-behavior:none;overflow:hidden}.dailylog-wrap{z-index:82;height:var(--modal-viewport-height,100dvh);box-sizing:border-box;background:#070a07c7;justify-content:flex-end;align-items:stretch;bottom:auto}.modal.dailylog-sheet{box-sizing:border-box;background:var(--document);width:100%;height:100%;max-height:none;color:var(--document-text);border:0;border-radius:0;gap:0;padding:0;overflow:hidden;box-shadow:0 24px 64px #00000075}.dailylog-head{min-height:96px;padding:max(14px, env(safe-area-inset-top,0px)) 16px 14px;border-bottom:1px solid var(--shell-border);background:var(--shell-surface-1);color:var(--shell-text);justify-content:space-between;align-items:flex-start;gap:14px;margin-left:0;display:flex}.dailylog-head>div{min-width:0}.dailylog-eyebrow{color:#ffb15e;letter-spacing:.11em;text-transform:uppercase;margin:0 0 4px;font-size:.75rem;font-weight:900}.modal.dailylog-sheet .dailylog-head h2{color:var(--shell-text);margin:0;font-size:1.35rem;line-height:1.2}.dailylog-head #dailylog-description{max-width:36rem;color:var(--shell-muted);margin:6px 0 0;font-size:.84rem;line-height:1.4}.dailylog-done{border:1px solid var(--shell-border);background:var(--shell-surface-3);min-width:64px;min-height:44px;color:var(--shell-text);cursor:pointer;border-radius:9px;flex:none;padding:9px 12px;font:800 .88rem/1 inherit}.dailylog-content{overscroll-behavior:contain;flex:1;min-height:0;padding:16px 16px 24px;scroll-padding-bottom:96px;overflow-y:auto}.dailylog-sheet .dl-details>h3,.dailylog-sheet .dl-section-head h3{color:#344430;letter-spacing:.055em;text-transform:uppercase;margin:0;font-size:.82rem;font-weight:900}.dailylog-sheet .dl-fields-grid{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:10px;display:grid}.dailylog-sheet .dl-field,.dailylog-sheet .dl-photo-caption{flex-direction:column;gap:6px;min-width:0;display:flex}.dailylog-sheet .dl-label,.dailylog-sheet .dl-photo-caption>span{color:#4f574d;letter-spacing:.025em;text-transform:uppercase;font-size:.78rem;font-weight:800}.dailylog-sheet .dl-date,.dailylog-sheet .dl-headcount,.dailylog-sheet .dl-project,.dailylog-sheet .dl-work,.dailylog-sheet .dl-manual,.dailylog-sheet .dl-cap{box-sizing:border-box;width:100%;min-width:0;min-height:44px;color:var(--document-text);font:inherit;background:#fffdf7;border:1px solid #aab0a5;border-radius:9px;padding:10px 11px;font-size:1rem}.dailylog-sheet .dl-date:disabled{color:#4f574d;opacity:1;background:#e9e8df}.dailylog-sheet .dl-work{resize:vertical;min-height:9.5rem;line-height:1.5}.dailylog-sheet .dl-help{color:#596356;text-transform:none;margin:0;font-size:.8rem;line-height:1.4}.dailylog-sheet .dl-aids,.dailylog-sheet .dl-photos-section,.dailylog-sheet .dl-manual-group{border-top:1px solid #c6c9bd;margin-top:18px;padding-top:18px}.dailylog-sheet .dl-aids[hidden]{display:none}.dailylog-sheet .dl-section-head p,.dailylog-sheet .dl-photos-head{color:#596356;margin:5px 0 0;font-size:.84rem;line-height:1.4}.dailylog-sheet .dl-aid-list{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px;display:grid}.dailylog-sheet .dl-aid{min-width:0;min-height:44px;color:var(--document-text);font:inherit;text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#fffdf7;border:1px solid #aab0a5;border-radius:9px;padding:9px 11px;font-size:.9rem;overflow:hidden}.dailylog-sheet .dl-empty{color:#4f574d;background:#f1eee4;border:1px solid #c6c9bd;border-radius:10px;margin:10px 0 0;padding:12px;font-size:.9rem;line-height:1.45}.dailylog-sheet .dl-photo-row{background:#f1eee4;border:1px solid #c6c9bd;border-radius:10px;grid-template-columns:84px minmax(0,1fr);align-items:start;gap:10px;margin-top:10px;padding:10px;display:grid}.dailylog-sheet .dl-thumb{object-fit:cover;background:#dfe3da;border-radius:8px;width:84px;height:84px}.dailylog-sheet .dl-thumb.missing{outline:2px dashed var(--fail);opacity:.6}.dailylog-sheet .dl-cap{resize:vertical;min-height:84px;padding:9px 10px;font-size:.95rem;line-height:1.4}.dailylog-sheet .dl-manual{min-height:8rem;margin-top:8px;line-height:1.45}.dailylog-sheet .dl-status{color:#4f574d;min-height:1.25rem;margin:12px 0 0;font-size:.84rem;line-height:1.4}.dailylog-sheet .dl-actions{padding:12px 14px max(12px, env(safe-area-inset-bottom,0px));background:#f1eee4;border-top:1px solid #c6c9bd;flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid;box-shadow:0 -8px 24px #22271f14}.dailylog-sheet .dl-action{white-space:normal;cursor:pointer;border-radius:9px;min-width:0;min-height:48px;padding:10px 8px;font:800 .88rem/1.2 inherit}.dailylog-sheet .dl-secondary{color:var(--document-text);background:#fffdf7;border:1px solid #8f988a}.dailylog-sheet .dl-primary{background:var(--shell-accent);color:#17110b;border:1px solid #d8751b}.dailylog-sheet .dl-action:disabled{cursor:wait;opacity:.62}.dailylog-wrap.keyboard-visible .dailylog-content{scroll-padding-bottom:112px}.dailylog-wrap.keyboard-visible .dailylog-sheet .dl-work{min-height:7rem}@media (width>=768px){.dailylog-wrap{justify-content:center;align-items:center;padding:18px}.modal.dailylog-sheet{width:min(94vw,760px);height:auto;max-height:min(calc(var(--modal-viewport-height,100dvh) - 36px), 820px);border:1px solid var(--shell-border);border-radius:16px}.dailylog-head{min-height:104px;padding:18px 20px}.dailylog-content{padding:18px 20px 26px}.dailylog-sheet .dl-fields-grid{grid-template-columns:minmax(150px,.85fr) minmax(230px,1.35fr) minmax(140px,.75fr)}.dailylog-sheet .dl-work-field{grid-column:1/-1}.dailylog-sheet .dl-aid-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dailylog-sheet .dl-photo-row{grid-template-columns:104px minmax(0,1fr)}.dailylog-sheet .dl-thumb{width:104px;height:104px}.dailylog-sheet .dl-cap{min-height:104px}.dailylog-sheet .dl-actions{padding-inline:20px}}.add-ref-btn{border:1px solid var(--line);background:var(--paper);color:var(--note);cursor:pointer;border-radius:7px;padding:6px 10px;font-size:.85rem}.add-ref-btn:hover{background:#eef4f7}.ref-pick-wrap{z-index:70}.modal.ref-pick{width:min(94vw,560px);max-height:86vh}.ref-pick .ref-pick-input{border:1px solid var(--line);border-radius:7px;padding:9px 11px;font-size:.95rem}.ref-pick .ref-pick-results{text-align:left;flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.ref-pick-controls:not([hidden]){justify-content:flex-end;display:flex}.ref-pick-expand-all{border:1px solid var(--line);background:var(--paper);color:var(--note);cursor:pointer;border-radius:6px;padding:4px 10px;font-size:.8rem}.ref-pick-expand-all:hover{background:#eef4f7}.ref-pick-row{border-bottom:1px solid var(--line)}.ref-pick-line{align-items:baseline;gap:4px;width:100%;display:flex}.ref-pick-main{text-align:left;cursor:pointer;min-width:0;font:inherit;background:0 0;border:none;flex:1;align-items:baseline;gap:8px;padding:8px 4px;display:flex}.ref-pick-main:hover,.ref-pick-main:active{background:var(--paper)}.ref-pick-peek{color:var(--muted);cursor:pointer;background:0 0;border:none;align-self:center;padding:6px 9px;font-size:.95rem;line-height:1}.ref-pick-peek:hover,.ref-pick-peek[aria-expanded=true]{color:var(--ink)}.ref-pick-preview{color:var(--ink);border-left:3px solid var(--note);white-space:pre-wrap;word-break:break-word;background:#f2f6f9;border-radius:0 6px 6px 0;max-height:200px;margin:0 4px 8px;padding:6px 10px;font-size:.8rem;line-height:1.45;overflow-y:auto}.ref-pick-num{color:var(--navy);white-space:nowrap;font-weight:600}.ref-pick-title{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.85rem;overflow:hidden}.ref-pick-doc{color:var(--muted);white-space:nowrap;font-size:.7rem}.head-top{align-items:center;gap:10px;display:flex;position:relative}.menu-btn{color:#fff;cursor:pointer;background:#ffffff24;border:none;border-radius:6px;padding:5px 11px;font-size:1.1rem;line-height:1}.menu-btn:hover,.menu-btn[aria-expanded=true]{background:#ffffff42}.menu-pop{border:1px solid var(--line);z-index:70;background:#fff;border-radius:8px;min-width:210px;margin-top:6px;position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 4px 16px #00000047}.menu-pop[hidden]{display:none}.menu-item{text-align:left;width:100%;color:var(--ink);cursor:pointer;white-space:nowrap;background:#fff;border:none;padding:11px 14px;font-size:.9rem;display:block}.menu-item:hover{background:var(--paper)}.menu-item+.menu-item{border-top:1px solid var(--line)}.record-btn{color:#fff;cursor:pointer;background:#ffffff24;border:none;border-radius:6px;margin-left:auto;padding:6px 10px;font-size:1rem;line-height:1}.record-btn:hover{background:#ffffff42}.project-switcher{color:#fff;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:#ffffff24;border:none;border-radius:6px;max-width:45vw;margin-left:auto;padding:6px 10px;font-size:.82rem;line-height:1.2;overflow:hidden}.project-switcher:hover{background:#ffffff42}.modal.proj-pick{overscroll-behavior:contain;color:#30362f;background:#f4f1e8;border:1px solid #8b9483;border-radius:16px;gap:0;width:min(94vw,480px);max-height:min(90vh,720px);padding:0;overflow:hidden auto;box-shadow:0 24px 60px #00000057}.proj-pick-head{color:#f7f4e8;background:#273326;margin-left:0;padding:20px 20px 18px}.proj-pick-eyebrow{color:#ffb15e;letter-spacing:.12em;text-transform:uppercase;margin:0 0 5px;font-size:.72rem;font-weight:900}.modal.proj-pick .proj-pick-head h2{color:#fffdf5;margin:0;font-size:1.35rem;line-height:1.2}.proj-pick-head>p:last-child{color:#d8dfd1;margin:8px 0 0;font-size:.84rem;line-height:1.5}.proj-pick-section{flex:none;padding:16px 18px}.proj-pick-section[aria-labelledby=project-list-title]{flex-direction:column;flex:auto;min-height:0;display:flex}.proj-pick-section+.proj-pick-section{border-top:1px solid #c9ccbf}.modal.proj-pick .proj-pick-section h3{color:#344430;letter-spacing:.05em;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:900}.proj-pick .proj-pick-list{flex-direction:column;flex:auto;gap:7px;min-height:52px;max-height:38vh;display:flex;overflow-y:auto}.proj-pick .proj-opt{color:#30362f;background:#fffdf7;border-color:#a7ad9f;border-radius:10px;flex-direction:column;justify-content:center;gap:2px;min-height:52px;padding:8px 12px;display:flex}.proj-pick .proj-opt strong{font-size:.92rem;line-height:1.2}.proj-pick .proj-opt span{color:#596356;font-size:.73rem;line-height:1.25}.proj-pick .proj-opt.current{background:#dfe8d5;border-color:#667c50;box-shadow:inset 4px 0 #667c50}.proj-pick .proj-row{align-items:stretch;gap:7px;display:flex}.proj-pick .proj-row .proj-opt{flex:1;min-width:0}.proj-remove{color:#626b5e;cursor:pointer;background:#fffdf7;border:1px solid #a7ad9f;border-radius:10px;flex:none;min-width:44px;min-height:44px;padding:0 12px;font-size:1.2rem}.proj-remove:hover{color:var(--fail);border-color:var(--fail);background:#f7e9e9}.proj-pick-create>p{color:#596356;margin:-2px 0 10px;font-size:.78rem;line-height:1.4}.proj-new-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.proj-new-label{color:#4c5748;grid-column:1/-1;font-size:.74rem;font-weight:800}.proj-new-input{min-width:0;min-height:44px;font:inherit;color:#30362f;background:#fffdf7;border:1px solid #969e90;border-radius:9px;padding:9px 11px;font-size:.9rem}.proj-pick .proj-create-action{color:#1d160f;background:#f28b2c;border-color:#f28b2c;justify-content:center;min-height:44px;font-weight:900}.proj-pick .proj-create-action:hover{background:#ff9e3d}.proj-pick-foot{border-top:1px solid #c9ccbf;justify-content:flex-end;padding:12px 18px 16px;display:flex}.proj-pick-foot .modal-cancel{color:#3f493c;background:0 0;border:1px solid #969e90;border-radius:9px;min-height:44px;font-weight:800}@media (width<=420px){.modal.proj-pick{width:calc(100vw - 18px);max-height:calc(100vh - 24px)}.proj-pick-head{padding:18px 16px 16px}.proj-pick-section{padding:14px 15px}.proj-new-row{grid-template-columns:1fr}.proj-new-label{grid-column:auto}.proj-pick .proj-create-action{width:100%}.proj-pick-foot{padding:11px 15px 14px}.proj-pick-foot .modal-cancel{width:100%}}.proj-filter-bar{flex-wrap:wrap;align-items:center;gap:8px}.proj-filter-bar .lib-info{flex:1;min-width:0}html.spancalc-open,body.spancalc-open{overscroll-behavior:none;overflow:hidden}.spancalc-wrap{z-index:82;height:var(--modal-viewport-height,100dvh);box-sizing:border-box;background:#070a07cc;padding:20px;bottom:auto}.modal.spancalc{width:min(100vw - 40px,1040px);height:auto;max-height:min(calc(var(--modal-viewport-height,100dvh) - 40px), 760px);box-sizing:border-box;border:1px solid var(--shell-border);background:var(--document);color:var(--document-text);border-radius:16px;gap:0;padding:0;overflow:hidden;box-shadow:0 24px 64px #0000007a}.spancalc-head{border-bottom:1px solid var(--shell-border);background:var(--shell-surface-1);min-height:106px;color:var(--shell-text);justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;display:flex}.spancalc-head>div{min-width:0}.spancalc-eyebrow{color:#ffb15e;letter-spacing:.11em;text-transform:uppercase;margin:0 0 4px;font-size:.75rem;font-weight:900}.modal.spancalc .spancalc-head h2{color:var(--shell-text);margin:0;font-size:1.4rem;line-height:1.2}.spancalc-head #spancalc-description{max-width:42rem;color:var(--shell-muted);margin:7px 0 0;font-size:.86rem;line-height:1.4}.spancalc-done{border:1px solid var(--shell-border);background:var(--shell-surface-3);min-width:68px;min-height:44px;color:var(--shell-text);cursor:pointer;border-radius:9px;flex:none;padding:9px 13px;font:800 .9rem/1 inherit}.spancalc-workspace{overscroll-behavior:contain;flex:1;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);align-items:start;min-height:0;scroll-padding-bottom:72px;display:grid;overflow-y:auto}.spancalc-controls,.spancalc-output{min-width:0;padding:20px}.spancalc-output{background:#f1eee4;border-left:1px solid #c6c9bd;min-height:100%}.spancalc-section-head{margin-bottom:14px}.modal.spancalc .spancalc-section-head h3{color:#344430;letter-spacing:.055em;text-transform:uppercase;margin:0;font-size:.82rem;font-weight:900}.spancalc-section-head p{color:#596356;margin:5px 0 0;font-size:.84rem;line-height:1.4}.sc-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.sc-field{flex-direction:column;gap:6px;min-width:0;margin:0 0 12px;display:flex}.sc-form .sc-field{margin:0}.sc-field>span{color:#4f574d;letter-spacing:.025em;text-transform:uppercase;font-size:.78rem;font-weight:800}.sc-field select{width:100%;min-width:0;min-height:44px;color:var(--document-text);font:inherit;background:#fffdf7;border:1px solid #969e90;border-radius:9px;padding:9px 11px;font-size:.95rem}.sc-field select:disabled{color:#687064;opacity:1;background:#e5e4dd;border-color:#c1c4ba}.sc-empty,.sc-hint,.sc-refuse{color:#4f574d;background:#fffdf7;border:1px solid #c6c9bd;border-radius:11px;flex-direction:column;gap:5px;padding:16px;font-size:.9rem;line-height:1.45;display:flex}.sc-empty strong,.sc-hint strong{color:#344430}.sc-refuse{color:#5d2925;background:#fdeceb;border-color:#b9574f}.sc-answer{border:1px solid #bbc0b4;border-top:4px solid var(--shell-selected);background:#fffdf7;border-radius:12px;padding:17px}.sc-span{color:#3d463a;font-size:1.05rem;line-height:1.3}.sc-span strong{color:#253822;margin-top:3px;font-size:1.65rem;display:block}.sc-gov{color:#4f574d;margin-top:9px;font-size:.88rem}.sc-gov strong{color:#344430}.sc-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px;display:grid}.sc-actions .dl-btn{text-align:center;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;min-width:0;min-height:48px;margin:0;padding:10px 12px;font:900 .86rem/1.25 inherit;display:inline-flex}.sc-actions .sc-open{border:1px solid var(--shell-accent);background:var(--shell-accent);color:#17110b}.sc-actions .sc-article{color:#2c3f29;background:#e8eee2;border:1px solid #7d8978}.sc-notes{margin-top:12px;font-size:.82rem}.sc-notes summary,.sc-gloss summary{color:#315f7d;cursor:pointer;align-items:center;min-height:44px;font-weight:800;line-height:1.3;display:flex}.sc-notes p,.sc-gloss p{color:#596356;margin:4px 0 8px;line-height:1.45}.sc-verify{color:#596356;margin:11px 0 0;font-size:.75rem;line-height:1.4}.sc-gloss{margin:-3px 0 12px;font-size:.82rem}.modal.settings{width:min(94vw,460px);max-height:90vh;overflow:auto}.set-sec{border-top:1px solid var(--line);margin-top:4px;padding-top:8px}.set-sec h4{color:var(--navy);margin:0 0 6px;font-size:.85rem}.set-field{flex-direction:column;gap:3px;margin-bottom:8px;display:flex}.set-field>span{color:var(--muted);font-size:.78rem}.set-field select{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:7px;padding:8px 10px;font-size:.9rem}.set-collapse{flex-direction:column;gap:5px;display:flex}.set-check{align-items:center;gap:8px;font-size:.85rem;display:flex}.spancalc-wrap.sc-min{z-index:61;pointer-events:none;background:0 0}.spancalc-wrap.sc-min .modal{display:none}@media (width<=720px){.spancalc-wrap{align-items:stretch;padding:0}.modal.spancalc{border:0;border-radius:0;width:100%;height:100%;max-height:none}.spancalc-head{min-height:0;padding:max(14px, env(safe-area-inset-top,0px)) 14px 14px}.modal.spancalc .spancalc-head h2{font-size:1.25rem}.spancalc-head #spancalc-description{font-size:.8rem}.spancalc-workspace{display:block}.spancalc-controls,.spancalc-output{padding:16px}.spancalc-output{border-top:1px solid #c6c9bd;border-left:0;min-height:0}.sc-form,.sc-actions{grid-template-columns:minmax(0,1fr)}}.same-page{color:var(--muted);margin:4px 0 0;font-size:.72rem;font-style:italic}.pageorder{z-index:6;border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:12px;flex-direction:column;align-items:flex-start;gap:4px;padding:6px 11px;font-size:.75rem;display:flex;position:fixed;bottom:34px;right:12px;box-shadow:0 1px 6px #00000026}.pageorder[hidden]{display:none}.pageorder .pg-opt{cursor:pointer;align-items:center;gap:5px;display:flex}.pageorder input{cursor:pointer;margin:0}.calc-toggle{z-index:6;background:var(--navy);color:#fff;cursor:pointer;border:none;border-radius:16px;align-items:center;gap:5px;padding:6px 13px;font-family:inherit;font-size:.78rem;text-decoration:none;display:inline-flex;position:fixed;bottom:34px;left:12px;box-shadow:0 1px 6px #00000047}.notes-toggle{bottom:74px}.daylog-toggle{bottom:114px}:root{--shell-bg:#10130f;--shell-surface-1:#182019;--shell-surface-2:#213022;--shell-surface-3:#2d3a2c;--shell-text:#f4f0e6;--shell-muted:#b9b9aa;--shell-border:#667463;--shell-accent:#f28c28;--shell-selected:#52663d;--document:#f7f3e8;--document-text:#1d211b}body{background:var(--shell-bg)}:where(button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--shell-accent);outline-offset:3px}header{background:var(--shell-surface-1);color:var(--shell-text);border-bottom:1px solid var(--shell-border)}body>header{z-index:21;position:relative}.head-top h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.menu-btn,.record-btn,.project-switcher{min-width:44px;min-height:44px}.record-btn{margin-left:0}.project-switcher{max-width:min(42vw,180px);margin-left:0}main{max-width:none;margin:0;padding:0}.app-stage{width:min(100%,784px);min-height:calc(100vh - 78px);padding:0 12px calc(92px + env(safe-area-inset-bottom,0px));margin:0 auto}.app-nav{z-index:22;padding:6px 6px max(6px, env(safe-area-inset-bottom,0px));border-top:1px solid var(--shell-border);background:#182019fa;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #00000047}.app-nav-primary{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.app-nav-item{min-width:0;min-height:60px;color:var(--shell-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 2px;font:700 .72rem/1.1 inherit;display:flex}.app-nav-item:hover{background:var(--shell-surface-3);color:var(--shell-text)}.app-nav-item.active{background:var(--shell-selected);color:var(--shell-text);border-color:#76896f}.app-nav-icon{place-items:center;width:23px;height:23px;display:grid}.app-nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.app-nav-brand,.app-nav-context,.app-nav-secondary,.legacy-tabs[hidden],.calc-toggle{display:none}.searchbar{z-index:20;background:var(--shell-surface-2);border-bottom:1px solid var(--shell-border);margin:0 -12px 12px;padding:12px;position:sticky;top:0;box-shadow:0 8px 18px #0000002e}.searchbar[hidden]{display:none}.search-label{color:var(--shell-text);letter-spacing:.015em;margin:0 0 7px;font-size:.78rem;font-weight:700;display:block}.search-row{gap:8px}#q{border:2px solid var(--shell-border);background:var(--document);min-width:0;min-height:48px;color:var(--document-text);border-radius:10px;box-shadow:inset 0 1px #fff9}#q::placeholder{color:#62675e}#q:focus{border-color:var(--shell-accent)}#help-btn{border:2px solid var(--shell-border);background:var(--shell-surface-3);min-width:48px;min-height:48px;color:var(--shell-text);border-radius:10px;flex:0 0 48px}.pageorder{color:var(--shell-muted);box-shadow:none;background:0 0;border:0;border-radius:0;flex-flow:wrap;justify-content:flex-end;gap:8px 14px;margin:9px 0 0;padding:0;display:flex;position:static}.pageorder .pg-opt{min-height:44px}.pageorder input{width:18px;height:18px;accent-color:var(--shell-accent)}#view-search{color:var(--document-text)}#view-search>.empty{border:1px dashed var(--shell-border);background:var(--shell-surface-1);color:var(--shell-muted);border-radius:12px;margin:18px 0}#view-search .doc-group{background:var(--document);color:var(--document-text);border:1px solid #a4aa9c;border-radius:14px;margin-bottom:16px;box-shadow:0 10px 24px #00000038}#view-search .doc-head{background:#e4e9dd;border-bottom-color:#b6bdad;gap:7px 9px;min-height:52px;padding:11px 14px}#view-search details.doc-group>summary.doc-head{align-items:center}#view-search .doc-name,#view-search .hit-ref{color:#33452f}#view-search .doc-title{color:#545b50}#view-search .group-count{color:#4f5b4a}#view-search .hit{border-top-color:#c7ccbf;padding:12px 14px 14px}#view-search .hit:hover{background:#fffcf3}#view-search .hit-top{align-items:flex-start;gap:6px}#view-search .hit-head{border-radius:6px;grid-template:"ref section pages""title title title"/auto minmax(0,1fr) auto;align-content:center;align-items:center;gap:4px 8px;min-height:44px;display:grid}#view-search .hit-ref{grid-area:ref;font-size:.94rem}#view-search .hit-section{color:#3f5739;background:#dce5d7;grid-area:section;max-width:100%}#view-search .hit-title{grid-area:title;font-size:.94rem;line-height:1.35}#view-search .hit-pages{color:#555d53;grid-area:pages}#view-search .star{border-radius:8px;flex:0 0 44px;min-width:44px;min-height:44px}#view-search .star:hover{background:#eee7d5}#view-search .same-page{color:#62685f;margin-top:7px}#view-search .snippet{color:#4d534b;border-left-color:#9fa996;margin-top:7px;padding:5px 0 5px 10px;font-size:.82rem;line-height:1.4}#view-search .snippet mark,#view-search .rel-snippet mark{background:#f7d9a4}#view-search .chips{margin-top:8px}#view-search .related{margin-top:7px}#view-search .related summary{color:#355f50;align-items:center;min-height:44px;display:flex}#view-search .rel{padding:7px 8px 7px 11px}#view-library{width:100%;color:var(--shell-text)}.library-view-head{margin-left:0;padding:22px 4px 16px}.library-kicker{color:var(--shell-accent);letter-spacing:.08em;text-transform:uppercase;margin:0 0 5px;font-size:.72rem;font-weight:900}.library-view-head h2,.library-panel-head h3,.library-browse-head h3{color:var(--shell-text);margin:0;line-height:1.15}.library-view-head h2{font-size:1.55rem}.library-panel-head h3,.library-browse-head h3{font-size:1.08rem}.library-view-head>p:last-child,.library-panel-head>p:last-child,.library-browse-head>p:last-child{max-width:68ch;color:var(--shell-muted);margin:7px 0 0;font-size:.875rem;line-height:1.5}.library-overview{grid-template-columns:1fr;gap:12px;display:grid}.library-panel,.library-browse{border:1px solid var(--shell-border);background:var(--shell-surface-1);border-radius:14px;min-width:0;overflow:hidden;box-shadow:0 10px 24px #0000002e}.library-panel-head,.library-browse-head{border-bottom:1px solid var(--shell-border);background:var(--shell-surface-2);margin-left:0;padding:16px}.library-offline-panel{border-color:#859372}.library-data-panel{border-color:#8a795f}.library-status{min-height:44px;color:var(--shell-text);font-variant-numeric:tabular-nums;align-items:center;margin:0;padding:11px 16px;font-size:.875rem;line-height:1.45;display:flex}.library-actions{flex-wrap:wrap;align-items:flex-start;gap:10px;padding:0 16px 16px;display:flex}.library-actions .dl-wrap{flex:300px;margin:0}.library-verify-action{flex-direction:column;flex:180px;align-items:flex-start;gap:8px;display:flex}#view-library .dl-btn{border:1px solid var(--shell-border);background:var(--shell-surface-3);min-height:44px;color:var(--shell-text);border-radius:9px;justify-content:center;align-items:center;padding:9px 14px;font:850 .84rem/1.25 inherit}#view-library .dl-btn:not([hidden]){display:inline-flex}#view-library .dl-btn[hidden],#view-library .dl-progress[hidden]{display:none}#view-library .library-primary-action{border-color:var(--shell-accent);background:var(--shell-accent);color:#17110b}#view-library .dl-btn:hover:not(:disabled){background:#394837;border-color:#a4b19b}#view-library .library-primary-action:hover:not(:disabled){background:#ff9e3d}#view-library .dl-progress{min-height:44px;margin-top:8px}#view-library .dl-track{background:#4a5547;min-width:120px}#view-library .dl-bar{background:var(--shell-accent)}#view-library .lib-info{color:var(--shell-muted);font-size:.8rem;line-height:1.45}#view-library #ws-health-result{border:1px solid var(--shell-border);background:var(--shell-surface-2);border-radius:9px;margin:0 16px 16px;padding:11px 12px}.library-browse{margin-top:16px}#lib-list{background:var(--shell-bg)}#lib-list .doc-group{background:var(--document);color:var(--document-text);border:1px solid #a4aa9c;border-radius:14px;margin:12px 0 0;box-shadow:0 8px 18px #0000002e}#lib-list .doc-group:first-child{margin-top:0}#lib-list .doc-head{background:#e4e9dd;border-bottom-color:#b6bdad;align-items:center;gap:8px;min-height:52px;padding:10px 14px}#lib-list .doc-name{color:#33452f;font-size:.95rem}#lib-list .group-count{color:#4f5b4a;font-size:.8rem}#lib-list .lib-row{border-top-color:#c7ccbf;padding:8px 14px 12px}#lib-list .lib-open{border-radius:7px;grid-template-columns:minmax(128px,.28fr) minmax(0,1fr);align-items:center;gap:10px;min-height:44px;padding:5px 0;display:grid}#lib-list .lib-open:hover:not(:disabled){background:#fffcf3}#lib-list .lib-short{color:#33452f}#lib-list .lib-title{color:#343a33;font-size:.875rem;line-height:1.35}#lib-list .lib-info{color:#555d53}#lib-list .lib-meta{align-items:center;gap:7px 8px;margin-top:2px}#lib-list .contents-btn,#lib-list .docsearch-btn{color:#33452f;background:#f7f3e8;border-color:#6c7967;border-radius:8px;align-items:center;min-height:44px;padding:8px 10px;font-size:.8rem;display:inline-flex}#lib-list .contents-btn:hover,#lib-list .docsearch-btn:hover{background:#e4e9dd}#lib-list .doc-badge{font-size:.75rem}@media (width>=760px){.library-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.library-view-head{padding-top:18px}.library-panel-head,.library-browse-head{padding:14px}.library-status{padding-inline:14px}.library-actions{flex-direction:column;padding-inline:14px}.library-actions .dl-wrap,.library-verify-action{flex-basis:auto;width:100%}#view-library .dl-btn{width:100%}#lib-list .lib-open{grid-template-columns:1fr;gap:2px}#lib-list .lib-meta{gap:6px}}footer{border-top:1px solid var(--shell-border);color:var(--shell-muted);background:0 0;margin:24px 0 0;padding:12px 4px;position:static}@media (width<=380px){header{padding-inline:10px}.head-top{gap:6px}header h1{font-size:1rem}.tagline{font-size:.68rem}.project-switcher{max-width:112px;padding-inline:7px}.app-nav-item{font-size:.68rem}.pageorder{justify-content:flex-start}}@media (width<=1099.98px) and (height<=480px){.app-nav{padding:3px 6px max(3px, env(safe-area-inset-bottom,0px))}.app-nav-item{gap:2px;min-height:44px;padding:3px 2px;font-size:.66rem}.app-nav-icon{width:19px;height:19px}.app-stage{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}}@media (width>=1100px){header,main{margin-left:248px}header{padding:14px 28px 12px}.project-switcher{display:none}.app-nav{border-top:0;border-right:1px solid var(--shell-border);flex-direction:column;gap:22px;width:248px;padding:22px 16px;display:flex;top:0;bottom:0;right:auto;overflow-y:auto;box-shadow:8px 0 24px #00000038}.app-nav-brand{color:var(--shell-text);align-items:center;gap:10px;display:flex}.app-nav-brand>span:last-child{flex-direction:column;display:flex}.app-nav-brand strong{font-size:1rem}.app-nav-brand small{color:var(--shell-muted);font-size:.7rem}.app-nav-mark{background:var(--shell-accent);color:#17110b;border-radius:12px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.app-nav-primary{flex-direction:column;gap:6px;display:flex}.app-nav-item{flex-direction:row;justify-content:flex-start;gap:12px;min-height:50px;padding:10px 13px;font-size:.9rem}.app-nav-context{border:1px solid var(--shell-border);background:var(--shell-surface-2);color:var(--shell-muted);border-radius:12px;flex-direction:column;gap:5px;padding:12px;font-size:.7rem;display:flex}.app-nav-context button{background:var(--shell-surface-3);min-height:44px;color:var(--shell-text);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border:0;border-radius:8px;padding:8px 10px;font:700 .8rem/1.2 inherit;overflow:hidden}.app-nav-secondary{flex-direction:column;gap:2px;margin-top:auto;display:flex}.app-nav-secondary button{min-height:44px;color:var(--shell-muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 12px;font:600 .8rem/1.2 inherit}.app-nav-secondary button:hover{background:var(--shell-surface-3);color:var(--shell-text)}.app-stage{width:min(100%,1080px);min-height:calc(100vh - 82px);padding:0 28px 44px}.searchbar{margin-inline:-28px;padding:14px 28px 12px}#view-library,#view-subjects{max-width:none}#view-saved{max-width:760px}footer{margin-top:32px}}@media (width>=1100px) and (height<=800px){.app-nav{gap:12px;padding:12px}.app-nav-item{min-height:44px;padding:7px 13px}.app-nav-mark{width:34px;height:34px}.app-nav-context{padding:8px}.app-nav-context button{min-height:40px}.app-nav-secondary button{min-height:40px;padding:6px 12px}}#viewer,#viewer .v-pane{background:#30352f}#viewer.split .v-pane+.v-pane{border-color:var(--shell-border)}.v-bar{background:var(--shell-surface-1);min-height:60px;color:var(--shell-text);border-bottom:1px solid var(--shell-border)}.v-foot .v-bar{border-top:1px solid var(--shell-border);border-bottom:0}.v-btn{background:var(--shell-surface-3);min-width:44px;min-height:44px;color:var(--shell-text);border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;display:inline-flex}.v-btn:hover:not(:disabled){border-color:var(--shell-border);background:#394837}.v-btn:focus-visible{outline-color:var(--shell-accent)}.v-back-label{font-size:.76rem;font-weight:800;display:none}.v-crossref-pane .v-back{background:var(--shell-accent);color:#17110b;min-width:88px}.v-crossref-pane .v-back-label{display:inline}.v-scroll{background:#343934;padding:16px}.v-scroll canvas{box-shadow:0 10px 30px #0000007a}.v-status{color:var(--shell-text);line-height:1.45}.v-textdoc{background:var(--document);color:var(--document-text);border:1px solid #b9b9aa;box-shadow:0 10px 28px #00000057}@media (width<=380px) and (orientation:portrait){.p-head{gap:4px;padding-inline:7px}.p-head .v-btn{min-width:44px;padding-inline:8px}.p-head .v-doc{flex-basis:0}.v-crossref-pane .v-back{min-width:70px}.v-crossref-pane .v-back-label{font-size:.68rem}.v-scroll{padding:8px}}html.note-editor-open,body.note-editor-open{overscroll-behavior:none;overflow:hidden}.note-editor-wrap{height:var(--modal-viewport-height,100dvh);background:#080b08b3;justify-content:flex-end;align-items:stretch;bottom:auto}.note-modal{background:var(--document);width:100%;height:100%;max-height:none;color:var(--document-text);border-radius:0;gap:0;padding:0;overflow:hidden;box-shadow:-16px 0 40px #00000061}.note-editor-head{min-height:64px;padding:8px 10px;padding-top:max(8px, env(safe-area-inset-top,0px));background:var(--shell-surface-1);color:var(--shell-text);border-bottom:1px solid var(--shell-border);grid-template-columns:minmax(72px,auto) minmax(0,1fr) minmax(64px,auto);align-items:center;gap:8px;display:grid}.note-editor-head h2{text-align:center;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1rem;overflow:hidden}.note-editor-head button{border:1px solid var(--shell-border);cursor:pointer;border-radius:9px;min-width:64px;min-height:44px;font:700 .84rem/1 inherit}.note-editor-back{background:var(--shell-surface-3);color:var(--shell-text)}.note-editor-save{background:var(--shell-accent);color:#17110b}.note-editor-content{overscroll-behavior:contain;min-height:0;padding:14px 14px calc(24px + env(safe-area-inset-bottom,0px));flex-direction:column;flex:1;gap:14px;display:flex;overflow-y:auto}.note-field{flex-direction:column;gap:6px;display:flex}.note-field>span,.saved-move-field>span{color:#4f574d;letter-spacing:.025em;text-transform:uppercase;font-size:.78rem;font-weight:800}.note-modal .note-title-edit,.note-modal .note-edit,.note-modal .status-who,.note-modal .note-proj-select,.note-modal .note-newproj,.note-modal .note-date{width:100%;min-width:0;min-height:44px;color:var(--document-text);font:inherit;background:#fffdf7;border:1px solid #aab0a5;border-radius:9px;padding:10px 11px;font-size:1rem}.note-body-field{flex:1 0 auto}.note-modal .note-edit{resize:vertical;min-height:clamp(14rem,38dvh,28rem);line-height:1.5}.note-editor-wrap.keyboard-visible .note-modal .note-edit{min-height:8rem}.note-editor-wrap.keyboard-visible .note-editor-content{scroll-padding-bottom:96px}.note-context{background:#fff5df;border:1px solid #c79a54;border-radius:10px;flex-direction:column;gap:9px;padding:11px;display:flex}.note-context h3{color:#5e4318;margin:0;font-size:.9rem}.note-context p{color:#625941;margin:3px 0 0;font-size:.78rem;line-height:1.4}.note-context-chips{flex-direction:column;gap:7px;display:flex}.note-context-chip{color:#493c26;background:#fffdf7;border:1px solid #d8b777;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:6px 6px 6px 10px;font-size:.82rem;display:flex}.note-context-chip>span{overflow-wrap:anywhere;min-width:0}.note-context-chip button{color:#674515;cursor:pointer;background:#eee2c8;border:0;border-radius:8px;flex:none;min-height:44px;padding:8px 10px;font:800 .75rem/1 inherit}.note-context-empty{color:#625941;font-size:.8rem}.note-modal .add-ref-row{display:flex}.note-modal .add-ref-btn{color:#33452f;background:#edf1e8;border-color:#7f9277;border-radius:9px;min-height:44px;padding:9px 12px;font-weight:800}.note-editor-fields{border-top:1px solid #c9c9be;flex-direction:column;gap:13px;padding-top:2px;display:flex}.note-modal .note-chip-group{gap:7px;margin:0}.note-modal .note-chip-label,.note-modal .note-proj-label,.note-modal .note-date-lbl{color:#4f574d;font-size:.78rem;font-weight:800}.note-modal .pick-chip{border-color:#aab0a5;border-radius:9px;min-height:44px;padding:9px 12px;font-size:.84rem}.note-modal .pick-chip.current{color:#273622;background:#dbe5d0;border-color:#52663d}.note-modal .note-proj-row{flex-direction:column;align-items:stretch;gap:7px}.note-modal .note-date-lbl{flex-direction:column;align-items:stretch;gap:7px;display:flex}.note-modal .status-detail-row:not([hidden]){display:flex}.note-modal .status-detail-row .status-who{flex:1}.modal-wrap :is(.modal-opt,.modal-cancel,.ref-pick-expand-all),.saved-move-dialog :is(button,select,input),.ref-pick :is(.ref-pick-input,.ref-pick-main,.ref-pick-peek),.bookmark-set-modal input{min-height:44px}.ref-pick .ref-pick-peek{min-width:44px}.saved-move-field{flex-direction:column;gap:6px;display:flex}.saved-move-select,.saved-move-new{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:8px;padding:9px 10px}#view-saved{width:100%;color:var(--shell-text)}#view-saved>.proj-filter-bar{border:1px solid var(--shell-border);background:var(--shell-surface-2);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-height:52px;margin:12px 0;padding:8px 12px;display:flex}#view-saved .proj-filter-bar .lib-info{color:var(--shell-text)}#view-saved .dl-btn,#view-saved label.dl-btn{border:1px solid var(--shell-border);background:var(--shell-surface-3);min-height:44px;color:var(--shell-text);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;padding:9px 12px;font:800 .8rem/1.2 inherit;display:inline-flex}#view-saved .saved-recent-group,#view-saved .saved-data-tools{border-color:var(--shell-border);background:var(--shell-surface-1);color:var(--shell-text);border-radius:14px;overflow:visible;box-shadow:0 12px 28px #00000038}.saved-view-head{border-bottom:1px solid var(--shell-border);justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.saved-view-head h2,.saved-data-tools h2{margin:2px 0;font-size:1.25rem}.saved-view-head p{color:var(--shell-muted);margin:0;font-size:.8rem}.saved-eyebrow{letter-spacing:.08em;text-transform:uppercase;margin:0;font-weight:900;color:var(--shell-accent)!important;font-size:.68rem!important}.saved-new-note{background:var(--shell-accent);color:#17110b;cursor:pointer;border:0;border-radius:10px;min-width:96px;min-height:48px;font:900 .86rem/1 inherit}.saved-type-filters{border-bottom:1px solid var(--shell-border);flex-wrap:wrap;gap:7px;padding:12px 16px;display:flex}.saved-type-filters button{border:1px solid var(--shell-border);background:var(--shell-surface-3);min-width:44px;min-height:44px;color:var(--shell-muted);cursor:pointer;border-radius:999px;padding:9px 13px;font:800 .78rem/1 inherit}.saved-type-filters button[aria-pressed=true]{background:var(--shell-selected);color:var(--shell-text);border-color:#879a78}.saved-refine{border-bottom:1px solid var(--shell-border)}.saved-refine>summary{min-height:44px;color:var(--shell-muted);cursor:pointer;align-items:center;padding:8px 16px;font-size:.8rem;font-weight:800;display:flex}.saved-refine .notes-filter-row{padding:0 16px 12px}.saved-refine .notes-filter-cb{min-height:44px;color:var(--shell-text)}.saved-refine input{width:20px;height:20px;accent-color:var(--shell-accent)}.saved-recent-list{padding:4px 12px 14px}.saved-date-group>h3{color:var(--shell-muted);letter-spacing:.055em;text-transform:uppercase;margin:0;padding:14px 4px 9px;font-size:.74rem;font-weight:900}#view-saved .saved-item{background:var(--document);color:var(--document-text);box-shadow:none;border:1px solid #b8bcb1;border-radius:11px;margin:0 0 9px;overflow:visible}#view-saved .saved-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}#view-saved .saved-row .lib-open{border-radius:8px;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;min-height:54px;padding:6px 8px;display:flex}#view-saved .saved-item .doc-head{background:#e7eadf;border-bottom:0;border-radius:10px 10px 0 0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px;padding:10px;display:grid}#view-saved .saved-item .doc-head>:not(.saved-actions){grid-column:1}#view-saved .saved-item .doc-head>.saved-actions{grid-area:1/2/span 4}#view-saved .saved-bookmark-item .lib-open{text-align:left;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:4px;display:flex}#view-saved .saved-item .doc-name{color:#33452f}#view-saved .saved-item .lib-info,#view-saved .saved-item .hit-pages{color:#555d53}.saved-type{color:#33452f;letter-spacing:.035em;text-transform:uppercase;background:#d5e0ce;border-radius:999px;align-items:center;width:max-content;max-width:100%;min-height:24px;padding:3px 8px;font-size:.68rem;font-weight:900;display:inline-flex}.saved-actions{color:var(--document-text);position:relative}.saved-actions>summary{color:#33452f;cursor:pointer;background:#fffdf7;border:1px solid #8e9889;border-radius:9px;justify-content:center;align-items:center;min-width:78px;min-height:44px;font-size:.78rem;font-weight:900;list-style:none;display:flex}.saved-actions>summary::-webkit-details-marker{display:none}.saved-actions>summary:after{content:" ▾";margin-left:4px}.saved-actions[open]>summary:after{content:" ▴"}.saved-actions-list{z-index:8;background:#fffdf7;border:1px solid #8e9889;border-radius:10px;flex-direction:column;gap:3px;width:min(210px,100vw - 42px);padding:6px;display:flex;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 10px 24px #00000047}.saved-actions-list button{min-height:44px;color:var(--document-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:9px 10px;font:750 .82rem/1.2 inherit}.saved-actions-list button:hover{background:#e8ecdf}.saved-actions-list button.danger{color:#98251f}#view-saved .note-body{padding:2px 12px 12px}#view-saved .note-body :is(.v-reflink-text,.note-measure){vertical-align:middle;align-items:center;min-width:44px;min-height:44px;padding-inline:4px;display:inline-flex}#view-saved .bm-note{margin-bottom:10px}#view-saved .empty{color:var(--shell-muted)}.saved-data-tools>header{border-bottom:1px solid var(--shell-border);padding:16px}.saved-data-block{border-top:1px solid var(--shell-border);padding:14px 16px}.saved-data-block:first-of-type{border-top:0}.saved-data-block h3{color:var(--shell-text);margin:0 0 4px;font-size:.92rem}.saved-data-block p{color:var(--shell-muted);margin:0 0 10px;font-size:.8rem;line-height:1.45}.saved-data-actions{flex-wrap:wrap;gap:8px;display:flex}.saved-health-block{background:var(--shell-surface-2)}.saved-bookmark-warning{background:#3a2d18;border:1px solid #9f7c42;border-radius:10px}.v-note-page{min-width:72px;font-weight:800}@media (width<=420px){.note-editor-head{grid-template-columns:72px minmax(0,1fr) 64px;padding-inline:7px}.note-editor-content{padding-inline:10px}.saved-view-head{align-items:flex-start;padding:13px 12px}.saved-view-head h2{font-size:1.1rem}.saved-new-note{min-width:88px}.saved-type-filters{gap:6px;padding-inline:12px}.saved-type-filters button{flex:auto;padding-inline:10px}.saved-recent-list{padding-inline:7px}#view-saved .saved-row{grid-template-columns:minmax(0,1fr) auto;padding:6px}#view-saved .saved-item .doc-head{padding:8px}.saved-actions>summary{min-width:72px}.v-note-page{min-width:64px;padding-inline:8px}}@media (width>=1100px){.note-modal{border-left:1px solid var(--shell-border);width:clamp(420px,34vw,480px)}.note-editor-head,#view-saved header{margin-left:0}.note-editor-content{padding:18px 20px 28px}#view-saved{max-width:none}#view-saved .saved-recent-group,#view-saved .saved-data-tools{width:min(100%,980px)}.saved-recent-list{padding:6px 16px 16px}}body.app-guide-open{overflow:hidden}.app-guide-wrap{z-index:82;background:#070a07c7;padding:20px}.modal.app-guide{border:1px solid var(--shell-border);background:var(--shell-surface-1);width:min(94vw,780px);max-height:min(88vh,820px);color:var(--shell-text);border-radius:16px;gap:0;padding:0;display:flex;overflow:hidden;box-shadow:0 24px 64px #00000075}.app-guide-head{border-bottom:1px solid var(--shell-border);justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:14px 18px;display:flex}.app-guide-head h2{color:var(--shell-text);margin:2px 0 0;font-size:1.25rem;line-height:1.15}.app-guide-eyebrow{color:var(--shell-accent);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.7rem;font-weight:900}.app-guide-close{border:1px solid var(--shell-border);background:var(--shell-surface-3);width:48px;height:48px;color:var(--shell-text);cursor:pointer;border-radius:10px;flex:none;place-items:center;font-family:inherit;font-size:1.65rem;font-weight:500;line-height:1;display:grid}.app-guide-tabs{border-bottom:1px solid var(--shell-border);background:var(--shell-bg);grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 12px;display:grid}.app-guide-tabs button{min-width:0;min-height:48px;color:var(--shell-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;padding:8px 12px;font-family:inherit;font-size:.875rem;font-weight:850;line-height:1}.app-guide-tabs button:hover{background:var(--shell-surface-3);color:var(--shell-text)}.app-guide-tabs button[aria-selected=true]{background:var(--shell-selected);color:var(--shell-text);border-color:#819276}.app-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:18px;overflow-y:auto}.app-guide-panel[hidden]{display:none}.app-guide-intro{margin:0 0 16px}.app-guide-intro h3,.app-guide-about-hero h3{color:var(--shell-text);margin:3px 0 6px;font-size:1.45rem;line-height:1.15}.app-guide-intro>p:last-child,.app-guide-about-hero p:last-child{max-width:62ch;color:var(--shell-muted);margin:0;font-size:.9rem;line-height:1.5}.app-guide-settings-grid,.app-guide-help-grid,.app-guide-about-grid{grid-template-columns:1fr;gap:12px;display:grid}.app-guide-card{border:1px solid var(--shell-border);background:var(--shell-surface-2);min-width:0;color:var(--shell-text);border-radius:12px;margin:0;padding:15px}.app-guide-card h4,.modal.app-guide .set-sec h4{color:var(--shell-text);margin:0 0 8px;font-size:.94rem;line-height:1.25}.app-guide-card p{color:var(--shell-muted);margin:7px 0 0;font-size:.88rem;line-height:1.52}.app-guide-card p:first-of-type{margin-top:0}.app-guide-principle{background:#293525;border-color:#8d9869}.app-guide-personal{background:#322918;border-color:#a97934}.modal.app-guide .set-sec{border-top:0}.modal.app-guide .set-field{gap:6px;margin:0 0 12px}.modal.app-guide .set-field:last-child{margin-bottom:0}.modal.app-guide .set-field>span{color:var(--shell-muted);font-size:.875rem;font-weight:750}.modal.app-guide .set-field select{background:var(--document);width:100%;min-height:48px;color:var(--document-text);font:inherit;border:2px solid #8d9788;border-radius:9px;padding:9px 34px 9px 11px;font-size:.9rem}.app-guide-hint{color:var(--shell-muted)!important;margin:-2px 0 10px!important;font-size:.875rem!important}.modal.app-guide .set-collapse{grid-template-columns:1fr;gap:3px;display:grid}.modal.app-guide .set-check{min-height:44px;color:var(--shell-text);border-radius:7px;align-items:center;gap:10px;padding:5px 7px;font-size:.875rem;line-height:1.3;display:flex}.modal.app-guide .set-check:hover{background:var(--shell-surface-3)}.modal.app-guide .set-check input{width:20px;height:20px;accent-color:var(--shell-accent);flex:none}.app-guide-terms{margin:0}.app-guide-terms>div{border-top:1px solid var(--shell-border);grid-template-columns:minmax(110px,.42fr) 1fr;gap:8px 12px;padding:9px 0;display:grid}.app-guide-terms>div:first-child{border-top:0;padding-top:0}.app-guide-terms dt{color:var(--shell-text);font-size:.875rem;font-weight:850}.app-guide-terms dd{color:var(--shell-muted);margin:0;font-size:.875rem;line-height:1.45}.app-guide-about-hero{background:#253021;border:1px solid #859372;border-radius:14px;align-items:center;gap:16px;margin-bottom:16px;padding:16px;display:flex}.app-guide-mark{background:var(--shell-accent);color:#17110b;border-radius:14px;flex:none;place-items:center;width:64px;height:64px;font-size:1.15rem;font-weight:950;display:grid}.app-guide-facts{border:1px solid var(--shell-border);background:var(--shell-border);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:14px 0 0;display:grid;overflow:hidden}.app-guide-facts>div{background:var(--shell-surface-2);min-width:0;padding:11px 12px}.app-guide-facts dt{color:var(--shell-muted);letter-spacing:.055em;text-transform:uppercase;font-size:.875rem;font-weight:850}.app-guide-facts dd{overflow-wrap:anywhere;color:var(--shell-text);font-variant-numeric:tabular-nums;margin:3px 0 0;font-size:.88rem}.app-guide-foot{border-top:1px solid var(--shell-border);background:var(--shell-bg);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:8px 14px;display:flex}.app-guide-foot span{color:var(--shell-muted);font-size:.875rem;line-height:1.35}.app-guide-foot button{background:var(--shell-accent);color:#17110b;cursor:pointer;border:0;border-radius:9px;flex:none;min-width:92px;min-height:48px;padding:8px 16px;font-family:inherit;font-size:.875rem;font-weight:900;line-height:1}@media (width>=700px){.app-guide-settings-grid,.app-guide-help-grid,.app-guide-about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-guide-library-settings{grid-column:1/-1}.modal.app-guide .set-collapse{grid-template-columns:repeat(2,minmax(0,1fr))}.app-guide-principle,.app-guide-personal{grid-column:1/-1}.app-guide-facts{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=767px){.app-guide-wrap{align-items:stretch;padding:0}.modal.app-guide{border:0;border-radius:0;width:100%;height:100dvh;max-height:none}.app-guide-head{min-height:68px;padding:10px 12px}.app-guide-head h2{font-size:1.06rem}.app-guide-tabs{padding:7px 8px}.app-guide-body{padding:14px 12px 22px}.app-guide-intro h3,.app-guide-about-hero h3{font-size:1.28rem}.app-guide-about-hero{align-items:flex-start;padding:14px}.app-guide-mark{border-radius:12px;width:52px;height:52px}.app-guide-foot{padding-bottom:max(8px, env(safe-area-inset-bottom,0px))}.app-guide-foot span{max-width:58%}}@media (width<=380px){.app-guide-head h2{max-width:220px}.app-guide-tabs button{padding-inline:6px}.app-guide-card{padding:13px 12px}.app-guide-about-hero{gap:11px}.app-guide-terms>div{grid-template-columns:1fr;gap:3px}.app-guide-facts{grid-template-columns:1fr}.app-guide-foot span{display:none}.app-guide-foot{justify-content:flex-end}}
