:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#183b35;background:#f3f6f5;font-synthesis:none;font-size:16px;line-height:1.5;--ink:#183b35;--muted:#5c716d;--line:#dce5e1;--accent:#c5f17c}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,.button{border:0;border-radius:9px;padding:12px 17px;min-height:46px;cursor:pointer;font-weight:650;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}button:disabled,.disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #639c29;outline-offset:3px}button:hover:not(:disabled),.button:hover{filter:brightness(.96)}.primary{background:var(--ink);color:#fff}.secondary{background:#fff;color:var(--ink);border:1px solid #cbd8d2}.small{min-height:38px;padding:8px 12px}.text-button{padding:8px 0;min-height:36px;background:none;color:var(--ink);font-weight:600}.danger{color:#a54035}.muted{color:var(--muted);font-size:.875rem}.inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}[hidden]{display:none!important}header{height:84px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:1.4rem;font-weight:750;text-decoration:none;letter-spacing:-.6px}.brand-icon{display:grid;place-items:center;width:36px;height:36px;background:var(--ink);color:var(--accent);border-radius:10px;font-size:30px;font-weight:500}.prototype{font-size:.75rem;letter-spacing:1px;border:1px solid var(--line);border-radius:4px;padding:3px 6px;margin-left:6px}.local-badge{font-size:.875rem;color:#3c6553;background:#edf5e9;border:1px solid #d5e7ca;border-radius:30px;padding:7px 12px}main{max-width:1390px;margin:auto;padding:36px 5vw}.intro{display:flex;justify-content:space-between;gap:36px;align-items:center;margin-bottom:28px}.eyebrow,.tiny-label{font-size:.75rem;letter-spacing:1.5px;font-weight:750;color:#577568;margin:0 0 10px}h1{font-size:clamp(1.85rem,3vw,2.7rem);font-weight:650;letter-spacing:-1.7px;line-height:1.15;margin:0 0 16px}h1 span{color:#6b837b}.intro p:not(.eyebrow){color:var(--muted);font-size:1rem;margin:0}.offline-card{min-width:275px;border-left:2px solid #a9cf7e;padding:6px 0 6px 20px;display:flex;flex-direction:column;gap:5px}.offline-card strong{font-size:.95rem}.offline-card>span:not(.tiny-label){font-size:.875rem;color:var(--muted)}.offline-card .tiny-label{margin:0}.steps{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:24px;padding:0 0 16px;font-size:.875rem;color:#6b7c74}.steps span{display:flex;align-items:center;gap:9px}.steps b{display:grid;place-items:center;border-radius:50%;background:#e6ece8;width:25px;height:25px;font-size:.75rem}.steps .active{color:var(--ink);font-weight:700}.steps .active b{background:var(--ink);color:#fff}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;min-height:530px}.library{padding:24px 20px;background:#f9fbfa;border-right:1px solid var(--line);display:flex;flex-direction:column}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px}h2{font-size:1.05rem;letter-spacing:-.25px;margin:0}h3{font-size:.95rem;margin:0}.count{background:#e9efeb;padding:3px 9px;border-radius:6px;font-size:.875rem}.library p{margin:7px 0 20px}.upload{position:relative;overflow:hidden;cursor:pointer}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.upload:focus-within{outline:3px solid #639c29;outline-offset:2px}.library>.button{width:100%;margin-bottom:9px}.library>.text-button{font-size:.875rem;margin-bottom:16px}.page-list{display:flex;flex-direction:column;gap:9px;max-height:550px;overflow:auto}.page-item{text-align:left;justify-content:flex-start;background:transparent;border:1px solid transparent;padding:10px 8px;gap:10px}.page-item.selected{background:#eaf0e9;border-color:#c5d5bd}.page-item img{width:34px;height:45px;object-fit:cover;border:1px solid #d5ddd7;border-radius:3px}.page-item>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:2px}.page-item strong{font-size:.875rem}.page-item small{font-size:.75rem;font-weight:400;color:var(--muted)}.page-mark{font-size:.75rem;color:#577463}.empty-list{border:1px dashed #cfdad3;padding:22px 15px;border-radius:8px;color:#617569;font-size:.875rem;text-align:center}.library-bottom{margin-top:auto;padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;font-size:.75rem;color:var(--muted)}.editor{padding:26px 30px;min-width:0}.empty-editor{min-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.document-symbol{width:72px;height:88px;background:#edf3e9;border:1px solid #c4d6b8;border-radius:12px;display:grid;place-items:center;font-size:48px;color:#608651;box-shadow:7px 7px #f3f6ef;margin-bottom:30px}.empty-editor h2{font-size:1.7rem;line-height:1.25;letter-spacing:-.8px}.empty-editor>p:not(.eyebrow){color:var(--muted);font-size:1rem;line-height:1.7}.privacy-note{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:24px;margin-top:16px;gap:5px}.privacy-note strong{font-size:.875rem}.privacy-note span{font-size:.75rem;color:var(--muted)}.editor-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.editor-head .eyebrow{margin-bottom:3px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.tabs{display:flex;border-bottom:1px solid var(--line);gap:16px;overflow:auto}.tabs button{background:none;white-space:nowrap;border-radius:0;padding:12px 0;border-bottom:2px solid transparent;color:var(--muted)}.tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink)}.view-panel{padding:20px 0 0}.field-label{display:block;font-size:.875rem;color:var(--muted);margin-bottom:9px}.original-wrap{max-height:650px;overflow:auto;background:#ecf0ed;border:1px solid var(--line);padding:12px}.original{width:100%;display:block}textarea{width:100%;min-height:340px;resize:vertical;border:1px solid #cedbd3;border-radius:9px;background:#fcfdfc;padding:18px;color:#213e34;font-size:1rem;line-height:1.65}input:not([type=checkbox]):not([type=file]){border:1px solid #cbd7d0;border-radius:8px;padding:12px;background:#fff;color:var(--ink);min-width:0}input[type=checkbox]{accent-color:#245741;width:19px;height:19px;flex-shrink:0}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eff5eb;border:1px solid #d9e4d2;border-radius:9px;padding:18px;min-height:300px;font-family:inherit;font-size:1rem;line-height:1.7}.text-actions{justify-content:space-between;margin-top:9px}.text-actions .muted{font-size:.75rem}.page-meta{display:flex;gap:15px;flex-wrap:wrap;margin:12px 0;font-size:.75rem;color:var(--muted)}.redactions{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.redactions>p{margin:8px 0 16px}.hit{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0ed;padding:10px 0;cursor:pointer}.hit>span:nth-child(2){display:flex;flex-direction:column;flex:1;min-width:0;overflow-wrap:anywhere}.hit strong{font-size:.875rem;font-weight:550}.hit small{font-size:.75rem;color:var(--muted)}.redact-label{font-size:.75rem;color:#8b6736;background:#faf1df;border-radius:4px;padding:3px 7px}.redactions>.field-label{margin-top:20px}.custom-row{display:flex;gap:8px}.custom-row input{flex:1;width:100%}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.chip{font-size:.875rem;background:#edf2e9;min-height:36px;padding:5px 10px}.review-check{display:flex;gap:12px;align-items:flex-start;background:#f1f6ed;border:1px solid #dce8d3;border-radius:9px;padding:15px;margin-top:22px;font-size:.875rem;cursor:pointer}.export-bar{background:#e5eedf;border:1px solid #d2dfc8;border-radius:12px;display:flex;align-items:center;justify-content:space-between;padding:22px 26px;margin-top:18px;gap:20px}.export-bar p{margin:5px 0 0;color:#5b7057;font-size:.875rem}.vault{border:1px solid var(--line);border-radius:12px;background:#fff;margin-top:22px}.vault summary{padding:18px 22px;cursor:pointer;font-weight:600;font-size:.95rem}.vault summary span{color:var(--muted);font-weight:400;font-size:.875rem;margin-left:12px}.vault-body{border-top:1px solid var(--line);padding:20px 22px}.vault-body p{max-width:800px;font-size:.875rem;color:var(--muted);margin-top:0}.vault-body>input{width:min(100%,450px);margin-bottom:15px}.notice{padding:13px 17px;border-radius:8px;background:#e7efdf;border:1px solid #d2e1c5;font-size:.875rem;margin-bottom:20px;overflow-wrap:anywhere}.notice.error{background:#fff0e9;border-color:#eed3c4;color:#803f28}.progress-wrap{margin:15px 0;font-size:.875rem}progress{width:100%;height:7px;accent-color:#49793b;display:block;margin-top:8px}footer{display:flex;justify-content:space-between;gap:20px;color:#617569;font-size:.75rem;padding:22px 0}button,.button{-webkit-tap-highlight-color:transparent}@media(min-width:1400px){main{padding-left:40px;padding-right:40px}}@media(max-width:900px){.intro{align-items:flex-start}.offline-card{min-width:215px}.workspace{grid-template-columns:220px minmax(0,1fr)}.editor{padding:22px 20px}.export-bar{align-items:flex-start;flex-direction:column}.prototype{display:none}}@media(max-width:650px){header{height:68px;padding:0 20px}.brand{font-size:1.2rem}.local-badge{font-size:.75rem;padding:6px 9px}main{padding:25px 16px}.intro{flex-direction:column;gap:20px;margin-bottom:25px}h1{font-size:2rem;letter-spacing:-1px}.intro p:not(.eyebrow){font-size:1rem}.offline-card{padding:10px 14px;background:#eaf0e6;border-left:2px solid #a9cf7e;width:100%}.steps{gap:0;justify-content:space-between;font-size:.75rem}.steps span{gap:5px}.steps b{width:22px;height:22px}.workspace{display:flex;flex-direction:column}.library{border-right:0;border-bottom:1px solid var(--line);padding:20px}.library>.button{margin-bottom:8px}.library>.text-button{margin-bottom:3px}.library>p{margin-bottom:12px}.page-list{flex-direction:row;max-height:none;overflow:auto}.page-item{min-width:165px}.page-item img{width:28px;height:36px}.empty-list{display:none}.library-bottom{padding-top:12px;flex-direction:row;align-items:center;justify-content:space-between}.editor{padding:20px 16px}.empty-editor{min-height:350px}.empty-editor h2{font-size:1.5rem}.tabs{gap:18px}.tabs button{font-size:.875rem}.editor-head{align-items:flex-start}.editor-head .inline{gap:5px}.editor-head .small{padding:7px 9px;font-size:.875rem}.toolbar button{flex:1;padding:11px 9px;font-size:.875rem}textarea{font-size:1rem;padding:13px;min-height:310px}.export-bar{padding:20px}.export-bar>.inline{width:100%;align-items:stretch}.export-bar button{flex:1}.vault summary span{display:block;margin:4px 0 0}.vault-body{padding:18px}.vault-body .inline>*{flex:1;font-size:.875rem;min-width:130px}footer{flex-direction:column;gap:7px}.redact-label{display:none}}@media(prefers-reduced-motion:no-preference){button,.button{transition:background .15s,filter .15s}}
