@font-face{font-family:Kab;src:url('/assets/NotoSans-Regular.ttf') format('truetype');font-display:swap;font-weight:100 900}
:root{font-family:Kab,Arial,sans-serif;color:#273c35;background:#f8f7f3;font-size:13px;--bg:#f8f7f3;--panel:#fffefa;--text:#273c35;--muted:#777e72;--border:#e6e5dc;--accent:#b85535;--soft:#f2e9de;--hover:#f1f1e9;--sidebar:#22382f;--stage:#e5e7e1;--shadow:0 15px 50px #273c3510}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:transparent}button:disabled{opacity:.35;cursor:default}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ba7546;outline-offset:3px}a{color:inherit}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}button{display:inline-flex;align-items:center;justify-content:center;gap:9px}button:hover:not(:disabled){filter:brightness(.96)}.icon{width:19px;height:19px}.skip-link{position:fixed;left:12px;top:-80px;z-index:300;background:var(--panel);padding:12px}.skip-link:focus{top:12px}.initial{display:grid;place-content:center;gap:22px;min-height:100vh;text-align:center}.logo{font-weight:bold;font-size:28px;letter-spacing:-1.3px;white-space:nowrap}.logo span{font-family:Georgia,serif;font-style:italic;color:#d9a67c;font-weight:normal}.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:var(--sidebar);color:#f3f1e7;display:flex;flex-direction:column;padding:30px 19px;position:fixed;top:0;bottom:0;width:224px;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:1px 9px 34px;text-align:left}.brand .brand-mark{width:30px;height:38px;color:#e3b38c}.brand .logo{font-size:25px}.brand small{display:block;color:#a1b0a6;font-size:9px;letter-spacing:1.3px;margin-top:3px}.nav-group{margin:25px 12px 12px;color:#8fa298;font-size:10px;letter-spacing:1.8px}.nav-btn{justify-content:flex-start;min-height:43px;border-radius:7px;padding:0 13px;width:100%;color:#b6c3b9;margin-bottom:4px;text-align:left;font-size:12px}.nav-btn .icon{width:17px;height:17px}.nav-btn.active{background:#344b3e;color:#fff5e7}.nav-btn:hover{background:#2d4438}.sidebar-new{border:1px solid #5b6b58;border-radius:6px;min-height:40px;width:100%;margin:2px 0 13px;color:#e5cfb1;font-size:12px}.side-footer{margin-top:auto;padding:26px 10px 0}.side-privacy{display:flex;gap:9px;font-size:10px;line-height:1.7;color:#a0b4a6;border-top:1px solid #415348;padding-top:18px}.side-privacy .icon{color:#bfbb92;width:16px}.side-signature{font-size:10px;color:#7d9586;margin-top:20px;letter-spacing:.6px}.body-shell{grid-column:2;min-width:0}.topbar{height:75px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:18px;background:var(--bg)}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:11px;color:var(--muted);min-width:0}.breadcrumb b{color:var(--text);font-weight:normal}.breadcrumb .icon{width:12px;height:12px;opacity:.4}.top-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.language{font-size:10px;letter-spacing:.6px;border:1px solid var(--border);padding:7px 10px;border-radius:5px}.language i{display:inline-block;border-radius:50%;background:#829d73;width:5px;height:5px;margin-right:6px;vertical-align:middle}.icon-btn{width:34px;height:34px;border-radius:6px;padding:0;flex-shrink:0}.icon-btn:hover{background:var(--hover)}.avatar{width:30px;height:30px;display:grid;place-content:center;background:#e8ddcc;border:1px solid #d6c8b4;border-radius:50%;font-family:Georgia,serif;color:#766549;font-size:14px}.primary,.secondary,.danger{min-height:41px;padding:0 18px;border-radius:6px;font-size:12px;transition:background .16s,transform .16s;white-space:nowrap}.primary{background:var(--accent);color:#fff9ed;box-shadow:0 3px 0 #7f3c2117}.primary:hover{background:#a64b30}.secondary{background:var(--panel);border:1px solid var(--border);color:var(--text)}.danger{background:#a83c32;color:#fff}.subtle{color:var(--muted);text-decoration:underline;text-underline-offset:4px;font-size:11px}.mobile-menu{display:none}.home-main{max-width:1260px;margin:auto;padding:47px 48px 32px}.welcome-line{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px;letter-spacing:.35px;margin-bottom:24px}.welcome-line span:first-child{display:flex;align-items:center;gap:8px}.tiny-diamond{width:6px;height:6px;background:var(--accent);transform:rotate(45deg);display:inline-block}.hero{border:1px solid #e6e0d2;border-radius:12px;background:#f2eee4;min-height:260px;display:flex;overflow:hidden;position:relative}.hero-copy{padding:34px 35px;z-index:1;max-width:68%}.eyebrow{letter-spacing:2px;font-size:9px;color:#927757;margin-bottom:16px}.hero h1{font-size:clamp(30px,3.2vw,44px);font-weight:normal;line-height:1.23;letter-spacing:-1.6px}.hero h1 em{font-family:Georgia,serif;font-weight:normal;color:var(--accent)}.hero p{font-size:11px;line-height:1.9;max-width:360px;color:#7c7b6d;margin:15px 0 23px}.hero-buttons{display:flex;gap:15px;align-items:center}.hero-buttons .primary{min-height:38px;padding:0 14px;font-size:11px}.hero-buttons .subtle{text-decoration:none;font-size:10px;color:#82745c}.hero-art{width:36%;position:absolute;right:0;top:0;height:100%;color:#344b3e;opacity:.97}.dropzone{border:1px dashed #c9c9ba;border-radius:9px;display:flex;align-items:center;gap:20px;padding:24px 28px;margin:22px 0 37px;transition:all .2s;background:#ffffff42}.dropzone.dragging{border-color:var(--accent);background:var(--soft);transform:scale(1.01)}.dropzone-symbol{width:46px;height:46px;border-radius:50%;background:#f0ede2;display:grid;place-content:center;color:#8e866b;flex-shrink:0}.dropzone h2{font-size:12px;font-weight:normal}.dropzone p{font-size:10px;color:var(--muted);margin-top:7px}.dropzone .secondary{margin-left:auto;min-height:34px;font-size:10px;padding:0 16px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.section-heading h2{font-size:15px;font-weight:normal;letter-spacing:-.3px}.section-heading span{font-size:9px;letter-spacing:.4px;color:var(--muted)}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.tool-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;border:1px solid var(--border);border-radius:9px;background:var(--panel);padding:19px;gap:0;position:relative;min-height:129px;transition:transform .18s,border-color .18s,box-shadow .18s}.tool-card:hover{transform:translateY(-3px);border-color:#c6c4b5;box-shadow:var(--shadow)}.tool-card .tool-symbol{width:32px;height:32px;display:grid;place-content:center;background:var(--toolbg,#eee9df);color:var(--toolcolor,#8a7356);border-radius:7px;margin-bottom:15px}.tool-symbol .icon{width:17px;height:17px}.tool-card h3{font-size:12px;font-weight:normal}.tool-card p{color:var(--muted);font-size:9px;line-height:1.8;margin-top:7px;max-width:90%}.tool-card>.icon{position:absolute;right:18px;top:23px;opacity:.25;width:15px}.recent-section{margin-top:36px}.recent-head{display:grid;grid-template-columns:1fr 135px 80px 35px;font-size:9px;color:var(--muted);padding:0 13px 10px;gap:15px}.recent-row{display:grid;grid-template-columns:1fr 135px 80px 35px;align-items:center;gap:15px;background:var(--panel);border:1px solid var(--border);border-radius:7px;padding:13px;margin-bottom:7px}.recent-name{justify-content:flex-start;text-align:left;min-width:0}.recent-name .icon{color:var(--accent);margin-right:4px}.recent-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.recent-row small{font-size:9px;color:var(--muted)}.recent-row .icon-btn{width:24px;height:24px}.recent-empty{font-size:11px;color:var(--muted);padding:20px 0}.home-footer{margin-top:30px;padding-top:20px;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#8b8c7d}.berber-border{display:flex;align-items:center;gap:8px;color:#ae9472}.berber-border::before,.berber-border::after{content:'';width:22px;height:1px;background:#c9bca1}.berber-border svg{width:16px;height:16px}.chip{display:inline-flex;gap:7px;align-items:center;background:var(--hover);padding:6px 9px;border-radius:4px;font-size:10px}.doc-shell{display:flex;flex-direction:column;height:100dvh;min-height:480px;overflow:hidden}.doc-shell .topbar{height:63px;padding:0 22px;flex-shrink:0}.doc-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;max-width:35vw}.dirty{color:var(--accent);margin-left:6px;font-size:16px}.doc-shell .top-actions{gap:7px}.doc-shell .top-actions .primary{min-height:33px;font-size:11px;padding:0 12px}.doc-tabs{display:flex;background:var(--bg);border-bottom:1px solid var(--border);padding:0 16px;min-height:35px;overflow-x:auto;flex-shrink:0}.doc-tab{position:relative;padding:0;font-size:10px;white-space:nowrap;max-width:240px;min-width:0;display:flex;align-items:center;flex-shrink:0;border-bottom:2px solid transparent}.doc-tab-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:8px 11px;text-align:left;font-size:10px}.doc-tab .doc-tab-close{width:26px;height:26px;margin-right:4px;color:var(--muted)}.doc-tab-close .icon{width:14px;height:14px}.doc-shell .top-actions .doc-close{min-height:33px;padding:0 11px;font-size:11px}.close-actions{flex-wrap:wrap}.doc-tab.active{border-color:var(--accent);background:var(--panel)}.doc-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:49px;padding:6px 18px;background:var(--panel);border-bottom:1px solid var(--border);gap:12px;flex-shrink:0}.toolbar-group{display:flex;gap:3px;align-items:center}.toolbar-group .icon-btn{width:29px;height:29px}.divider{width:1px;height:18px;background:var(--border);margin:0 7px}.toolbar-group .icon{width:17px;height:17px}.tool-mode{min-height:30px;padding:0 9px;font-size:10px;border-radius:5px;white-space:nowrap}.tool-mode.active{background:var(--soft);color:var(--accent)}.zoom-label{font-size:10px;min-width:44px;text-align:center}.doc-body{display:grid;grid-template-columns:155px minmax(0,1fr) 218px;flex:1;min-height:0;position:relative}.page-sidebar{overflow:auto;background:var(--bg);padding:0 16px 18px;border-right:1px solid var(--border)}.panel-caption{font-size:9px;color:var(--muted);letter-spacing:1px;text-transform:uppercase;padding:20px 0 16px;display:flex;justify-content:space-between;align-items:center}.page-thumb{width:100%;padding:0 7px 9px;display:flex;flex-direction:column;align-items:center;position:relative;gap:7px;border:1px solid transparent;border-radius:7px;margin-bottom:10px;font-size:9px;color:var(--muted)}.page-thumb canvas{max-width:100%;height:auto;box-shadow:0 2px 6px #1b302014;pointer-events:none}.page-thumb.active{border-color:#c1875d;background:var(--soft);color:var(--accent);padding-top:8px}.page-thumb[draggable=true]{cursor:grab}.page-thumb.over{border:2px dashed var(--accent)}.canvas-region{background:var(--stage);min-width:0;overflow:auto;padding:35px 28px 60px;display:flex;align-items:flex-start;justify-content:center;position:relative}.page-wrap{position:relative;flex-shrink:0;box-shadow:0 4px 22px #28362d24;background:white;touch-action:pan-x pan-y}.page-wrap canvas{display:block}.annotation-layer{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;pointer-events:none}.annotation-layer .annotation{pointer-events:all;cursor:pointer}.annotation-layer.drawing{pointer-events:all;touch-action:none;cursor:crosshair}.annotation-layer.drawing .annotation{pointer-events:none}.annotation-layer .selected{filter:drop-shadow(0 0 3px #4677aa)}.textLayer{position:absolute;text-align:initial;inset:0;overflow:clip;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2;user-select:text}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer>span:not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1}.textLayer span.markedContent{top:0;height:0}.textLayer ::selection{background:#6a91be55}.textLayer .highlight-result{background:#e9c85b77;border-radius:2px}.textLayer.endOfContent{display:none}.textLayer[aria-hidden=true]{pointer-events:none}.inspector{background:var(--panel);border-left:1px solid var(--border);padding:0 18px 18px;overflow:auto}.inspector h3{font-weight:normal;font-size:13px;margin:4px 0 10px}.inspector p{font-size:10px;color:var(--muted);line-height:1.9;margin-bottom:20px}.label{display:block;font-size:10px;margin:17px 0 7px;color:var(--muted)}textarea,input[type=text],input[type=number],input[type=search],select{border:1px solid var(--border);color:var(--text);background:var(--bg);padding:10px;border-radius:5px;max-width:100%}textarea{width:100%;resize:vertical;min-height:88px;line-height:1.7;font-size:12px}input[type=number]{width:65px;padding:7px}input[type=color]{border:0;padding:0;width:28px;height:28px;background:transparent;cursor:pointer}.color-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.color-dot{width:22px;height:22px;border-radius:50%;background:var(--swatch);padding:0;border:2px solid var(--panel);box-shadow:0 0 0 1px var(--border)}.color-dot.active{box-shadow:0 0 0 2px var(--accent)}.property-row{display:flex;gap:10px;align-items:center;justify-content:space-between}.small-btn{min-height:30px;padding:0 10px;border:1px solid var(--border);border-radius:4px;font-size:10px;justify-content:flex-start;width:100%;margin-bottom:7px;text-align:left}.small-btn .icon{width:15px;height:15px}.small-btn.accent{color:var(--accent)}.panel-rule{height:1px;background:var(--border);margin:20px 0}.keyboard{display:flex;gap:3px;flex-wrap:wrap;margin-top:8px}.keyboard button{font-size:13px;border:1px solid var(--border);border-radius:3px;width:25px;height:27px;background:var(--bg)}.doc-status{height:30px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;font-size:9px;border-top:1px solid var(--border);background:var(--bg);color:var(--muted);flex-shrink:0}.page-control{display:flex;align-items:center;gap:6px}.page-control input{width:37px;font-size:10px;padding:2px;border:1px solid var(--border);height:23px;text-align:center}.page-control .icon-btn{width:23px;height:23px}.page-control .icon{width:13px;height:13px}.back-icon{transform:rotate(180deg)}.doc-status .icon{width:12px;height:12px}.busy-cover{position:fixed;inset:0;background:#f8f7f3c9;backdrop-filter:blur(4px);z-index:200;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--text);font-size:12px}.spinner{width:30px;height:30px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.busy-cover progress{width:220px;accent-color:var(--accent)}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,14px);padding:13px 22px;background:#243b31;color:#fff8e9;border-radius:7px;box-shadow:0 8px 30px #0002;z-index:250;font-size:12px;max-width:min(520px,90vw);opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#8b3c31}dialog{border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);padding:0;max-width:min(600px,94vw);width:500px;max-height:88dvh;box-shadow:0 25px 100px #102c3140}dialog::backdrop{background:#1f302c66;backdrop-filter:blur(3px)}.modal-header{padding:22px 24px 14px;display:flex;justify-content:space-between;align-items:center;gap:20px}.modal-header h2{font-size:18px;font-weight:normal;letter-spacing:-.5px}.modal-body{padding:2px 24px 24px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.modal-body p{color:var(--muted);font-size:11px;margin-bottom:16px}.modal-body .label{margin-top:13px}.modal-body input[type=text],.modal-body select{width:100%}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:20px}.modal-actions .primary,.modal-actions .secondary{min-height:36px;font-size:11px}.modal-note{background:var(--soft);padding:13px;border-radius:6px;margin:14px 0;font-size:10px;line-height:1.8}.check-label{display:flex;align-items:flex-start;gap:8px;margin:12px 0;font-size:11px}.check-label input{margin-top:4px;accent-color:var(--accent)}.signature-canvas{width:100%;height:180px;border:1px dashed #aaa99c;background:#fff;touch-action:none;border-radius:7px}.signature-actions{display:flex;justify-content:space-between;align-items:center;padding-top:8px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.stat{background:var(--hover);border-radius:6px;padding:14px;font-size:10px}.stat strong{display:block;font-size:19px;font-weight:normal;margin-bottom:5px}.about-links{display:flex;gap:20px;font-size:11px;margin-top:20px}.merge-list{padding:0;list-style:none;max-height:200px;overflow:auto}.merge-list li{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--border);font-size:11px}.merge-list li span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merge-list .icon-btn{width:24px;height:24px}.search-results{margin-top:12px}.search-result{display:block;text-align:left;padding:9px;border:1px solid var(--border);border-radius:5px;width:100%;font-size:10px;line-height:1.7;margin:5px 0}.search-result small{color:var(--accent);font-size:9px;display:block}.tools-page .tool-grid{grid-template-columns:repeat(3,1fr)}.tools-page h1{font-size:30px;font-weight:normal;margin:5px 0 10px;letter-spacing:-1px}.tools-page>p{color:var(--muted);font-size:11px;margin-bottom:32px}.loading-text{font-size:11px;color:var(--muted);padding:40px 20px}.outline-link{display:block;text-align:left;font-size:10px;padding:9px 2px;border-bottom:1px solid var(--border);width:100%;line-height:1.6}.document-info{padding-top:13px;line-height:1.9;font-size:10px;color:var(--muted)}.ocr-text{min-height:220px;font-size:13px}.ocr-lang{display:flex;gap:12px}.keycap{background:var(--hover);border:1px solid var(--border);border-radius:3px;padding:2px 5px;font-size:10px}.shortcut-row{display:flex;justify-content:space-between;margin:12px 0;font-size:11px}.annotation-list{font-size:10px}.annotation-item{border:1px solid var(--border);padding:8px;border-radius:4px;margin-bottom:5px;display:flex;justify-content:space-between;align-items:center;gap:6px}.annotation-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.annotation-item .icon-btn{width:19px;height:19px}.install-tag{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;margin-bottom:14px}.workspace-tip{background:var(--soft);padding:12px;border-radius:6px;color:var(--muted);font-size:10px;line-height:1.9;margin-top:16px}
[data-theme=dark]{--bg:#1c2823;--panel:#25332c;--text:#eeeadd;--muted:#a2ac9e;--border:#3b493e;--accent:#ce8561;--soft:#443e30;--hover:#354236;--stage:#131f19;--sidebar:#15271f;color:var(--text);background:var(--bg)}[data-theme=dark] .hero{background:#30392c;border-color:#49513e}[data-theme=dark] .hero p{color:#a9b09b}[data-theme=dark] .hero-art{opacity:.63}[data-theme=dark] .dropzone{background:transparent;border-color:#5b6350}[data-theme=dark] .dropzone-symbol{background:#354236;color:#d4c29c}[data-theme=dark] .avatar{background:#48503a;border-color:#6a6b4a;color:#dfceb0}[data-theme=dark] .busy-cover{background:#1c2823cc}[data-theme=dark] .tool-card .tool-symbol{background:#354236!important;color:#d3ba91!important}[data-theme=dark] .primary{color:#17281e}[data-theme=dark] .hero h1 em{color:#d39570}[data-theme=dark] .hero .subtle{color:#b8b299}
@media(min-width:1500px){.home-main{padding-top:55px}.hero{min-height:290px}.hero-copy{padding-top:40px}.tool-card{min-height:145px}.hero h1{font-size:48px}}
@media(max-width:1200px){.shell{grid-template-columns:190px 1fr}.sidebar{width:190px;padding:25px 12px}.home-main{padding:36px 30px}.topbar{padding:0 30px}.hero-copy{padding:30px 25px}.hero h1{font-size:34px}.doc-body{grid-template-columns:125px minmax(0,1fr) 190px}.inspector{padding:0 13px 16px}.doc-toolbar{padding:6px 9px}.toolbar-group .divider{margin:0 3px}.tool-mode{padding:0 6px;gap:5px}.hero p{max-width:300px}.page-sidebar{padding:0 10px}.canvas-region{padding:30px 18px 45px}}
@media(max-width:1020px){.sidebar{width:175px}.shell{grid-template-columns:175px 1fr}.brand{gap:7px;padding-left:5px}.brand .logo{font-size:24px}.brand-mark{width:24px!important}.hero-art{width:32%;opacity:.6}.hero-copy{max-width:78%}.hero p{font-size:10px}.hero h1{font-size:32px}.tool-card{padding:16px}.tool-card p{font-size:9px}.topbar{height:65px}.tool-mode span{display:none}.doc-body{grid-template-columns:110px minmax(0,1fr) 178px}.doc-shell .topbar{padding:0 12px}.doc-shell .language{display:none}.doc-toolbar{gap:4px}.recent-head,.recent-row{grid-template-columns:1fr 95px 65px 25px;gap:9px}.home-main{padding:32px 24px}.inspector p{font-size:9px}}
@media(max-width:800px){.shell{grid-template-columns:1fr}.body-shell{grid-column:1}.sidebar{transform:translateX(-100%);transition:transform .2s;width:224px;box-shadow:var(--shadow)}body.menu-open .sidebar{transform:translateX(0)}.mobile-menu{display:inline-flex}.topbar{padding:0 20px}.home-main{padding:28px 22px}.hero-copy{max-width:73%}.hero h1{font-size:34px}.hero-art{width:35%}.doc-body{grid-template-columns:100px minmax(0,1fr) 185px}.doc-name{max-width:35vw}.doc-toolbar .toolbar-group:first-child .divider{display:none}.doc-tabs{padding:0 8px}.doc-shell .breadcrumb{gap:8px}.doc-status{padding:0 10px}}
@media(max-width:600px){.home-main{padding:22px 17px}.topbar{padding:0 16px;height:61px}.top-actions{gap:6px}.top-actions .avatar{display:none}.language{font-size:9px}.welcome-line{font-size:9px;margin-bottom:17px}.welcome-line>span:last-child{display:none}.hero{min-height:270px}.hero-copy{max-width:87%;padding:28px 23px}.hero h1{font-size:34px}.hero p{max-width:250px;line-height:1.9;font-size:10px}.hero-art{opacity:.16;width:65%;right:-35px}.hero-buttons{gap:12px}.hero-buttons .primary{font-size:10px}.hero-buttons .subtle{font-size:9px}.eyebrow{font-size:8px;letter-spacing:1.4px}.dropzone{margin:17px 0 29px;gap:13px;padding:20px 15px;flex-wrap:wrap}.dropzone-symbol{width:36px;height:36px}.dropzone h2{font-size:11px}.dropzone p{font-size:9px}.dropzone .secondary{width:100%;margin:0;min-height:33px}.tool-grid,.tools-page .tool-grid{grid-template-columns:repeat(2,1fr);gap:10px}.tool-card{padding:15px;min-height:140px}.tool-card h3{font-size:11px}.tool-card p{font-size:9px;max-width:100%}.tool-card>.icon{right:13px;top:20px;width:12px}.section-heading h2{font-size:14px}.section-heading span{font-size:8px}.recent-head,.recent-row{grid-template-columns:1fr 75px 24px}.recent-head>:nth-child(3),.recent-row>:nth-child(3){display:none}.recent-row{gap:7px;padding:11px 8px}.recent-name{gap:5px}.recent-name span{font-size:10px}.recent-row small{font-size:8px}.home-footer{font-size:8px;line-height:1.8}.home-footer>.berber-border{display:none}.doc-body{grid-template-columns:minmax(0,1fr)}.page-sidebar,.inspector{display:none}.doc-body.show-pages .page-sidebar{display:block;position:absolute;left:0;top:0;bottom:0;width:140px;z-index:10;box-shadow:var(--shadow)}.doc-body.show-inspector .inspector{display:block;position:absolute;right:0;top:0;bottom:0;width:220px;z-index:10;box-shadow:var(--shadow)}.doc-shell .topbar{height:56px}.doc-name{max-width:33vw;font-size:10px}.doc-shell .topbar .breadcrumb>button:nth-child(2){display:none}.doc-shell .top-actions .icon-btn{width:28px;height:28px}.doc-shell .top-actions .primary{padding:0 9px;font-size:10px}.doc-shell .top-actions .primary .icon{width:15px}.doc-toolbar{min-height:47px;padding:6px 9px;overflow-x:auto}.doc-toolbar>.toolbar-group{gap:2px}.toolbar-group .icon-btn{width:27px}.tool-mode{padding:0 5px}.doc-toolbar .zoom-group{display:none}.canvas-region{padding:22px 14px 50px}.doc-status{font-size:8px}.doc-status .status-local{display:none}.doc-status .page-control{font-size:9px}.modal-header{padding:18px 18px 10px}.modal-body{padding:3px 18px 20px}.modal-header h2{font-size:16px}.modal-actions{gap:8px}.modal-actions .primary,.modal-actions .secondary{font-size:10px;padding:0 12px}.doc-status .icon-btn{width:23px}.mobile-doc-button{display:inline-flex}.tools-page h1{font-size:26px}}
@media(min-width:601px){.mobile-doc-button{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.textLayer{--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor)*var(--min-font-size));--min-font-size-inv:calc(1/var(--min-font-size))}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){--font-height:0;font-size:calc(var(--text-scale-factor)*var(--font-height));--scale-x:1;--rotate:0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));user-select:text}.textLayer .markedContent{display:contents}.textLayer span[role=img]{user-select:none;cursor:default}

@media(max-width:600px){.doc-shell .top-actions .doc-close{width:28px;padding:0;flex-shrink:0}.doc-close span{display:none}.doc-close .icon{width:15px;height:15px}.doc-shell .breadcrumb{min-width:0;flex:1}.doc-name{max-width:100%}}

.session-note{font-size:10px;line-height:1.8;color:var(--muted);margin:-8px 0 15px}

/* A named appearance control stays visible on home and in the PDF workspace. */
.body-shell>.topbar{position:sticky;top:0;z-index:40}
.doc-shell>.topbar{position:relative;z-index:40}
.doc-shell>.topbar>.breadcrumb{flex:1}
.appearance-picker{position:relative;flex-shrink:0}
.appearance-picker summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:0 12px;border:1px solid var(--accent);border-radius:7px;background:var(--panel);color:var(--accent);cursor:pointer;font-size:11px;font-weight:600;white-space:nowrap;touch-action:manipulation}
.appearance-picker summary::-webkit-details-marker{display:none}
.appearance-picker summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.appearance-picker summary>.icon{width:12px;height:12px;transform:rotate(90deg);transition:transform .15s}
.appearance-picker[open] summary>.icon{transform:rotate(-90deg)}
.appearance-dot{width:13px;height:13px;border-radius:50%;border:1px solid #bcae91;background:linear-gradient(90deg,#f6eedc 50%,#24382d 50%)}
.appearance-panel{position:absolute;top:calc(100% + 9px);right:0;width:min(300px,calc(100vw - 24px));padding:16px;background:var(--panel);border:1px solid var(--border);border-radius:11px;box-shadow:0 12px 40px #102c3130;z-index:60}
.appearance-title{font-size:12px;font-weight:600;margin:0 0 13px}
.appearance-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.appearance-choice{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;border:1px solid var(--border);border-radius:8px;padding:7px;background:var(--bg);text-align:left}
.appearance-choice[aria-pressed=true]{border:2px solid var(--accent);padding:6px}
.appearance-label{display:flex;align-items:center;justify-content:space-between;padding:0 3px 3px;font-size:11px}
.appearance-label>.icon{width:15px;height:15px;color:var(--accent);visibility:hidden}
.appearance-choice[aria-pressed=true] .appearance-label>.icon{visibility:visible}
.appearance-preview{position:relative;display:block;height:72px;border-radius:4px;overflow:hidden;background:#eee9dd;border:1px solid #c4c2b7}
.preview-dark{background:#15211b;border-color:#455447}
.preview-sidebar{position:absolute;inset:0 auto 0 0;width:23%;background:#22382f}
.preview-dark .preview-sidebar{background:#0d1712}
.preview-paper{position:absolute;top:12px;bottom:12px;left:42%;width:36%;background:#fffefa;border:1px solid #d2c9b9;border-radius:2px}
.preview-paper:before,.preview-paper:after{content:"";position:absolute;left:6px;right:6px;top:11px;height:2px;background:#b85535;box-shadow:0 7px 0 #c1c5ba,0 14px 0 #c1c5ba}
.preview-paper:after{top:auto;bottom:6px;right:40%;height:1px;box-shadow:none;background:#c1c5ba}
.preview-dark .preview-paper{background:#2e4035;border-color:#59705e}
.preview-dark .preview-paper:before{background:#dcaa80;box-shadow:0 7px 0 #7f9884,0 14px 0 #7f9884}
.preview-diamond{position:absolute;left:7%;top:12px;width:10px;height:10px;border:1px solid #dbb58a;transform:rotate(45deg)}
@media(prefers-reduced-motion:reduce){.appearance-picker summary>.icon{transition:none}}
@media(max-width:800px){.doc-shell>.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;height:auto;min-height:63px;padding:10px 12px}.doc-shell>.topbar>.breadcrumb{grid-column:1;grid-row:1}.doc-shell>.topbar>.appearance-picker{grid-column:2;grid-row:1}.doc-shell>.topbar>.top-actions{grid-column:1/-1;grid-row:2;justify-content:flex-end}.doc-shell .doc-name{max-width:100%}}
@media(max-width:600px){.appearance-picker summary{min-height:36px;padding:0 9px;font-size:10px;gap:6px}.appearance-picker summary>.icon{width:10px;height:10px}.topbar{gap:10px}.body-shell>.topbar .language{display:none}.doc-shell>.topbar{min-height:92px}.doc-shell>.topbar .doc-name{font-size:10px}.doc-shell>.topbar .top-actions{gap:8px}.doc-shell .top-actions .icon-btn{width:32px;height:32px}}

@media(max-width:420px){.body-shell>.topbar .breadcrumb>span,.body-shell>.topbar .breadcrumb>.icon{display:none}}

/* The supplied banner is displayed intact; real controls cover its CTA areas. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.hero.hero-banner{display:block;min-height:0;background:#f4f0e7;border-color:#ddd7c9;isolation:isolate}
.banner-visual{position:relative}
.banner-visual img{display:block;width:100%;height:auto}
.banner-actions{position:absolute;inset:0}
.banner-action{position:absolute;top:73.75%;height:13.8%;min-height:36px;border-radius:7px;padding:0;background:transparent;color:transparent;gap:8px}
.banner-action>.icon,.banner-action>span{opacity:0}
.banner-open{left:7.28%;width:14.65%}
.banner-demo{left:23.15%;width:16.7%}
.banner-action:focus-visible{outline:3px solid #273c35;outline-offset:3px;box-shadow:0 0 0 5px #fff9}
.banner-action:hover:not(:disabled){background:#ffffff0d;filter:none}
@media(max-width:800px){.hero-banner .banner-visual{aspect-ratio:2048/475;overflow:hidden}.hero-banner .banner-actions{position:static;display:flex;gap:10px;padding:12px}.hero-banner .banner-action{position:static;flex:1;width:auto;height:auto;min-height:44px;padding:8px 10px;font-size:11px;font-weight:600;color:#273c35;background:#fffaf0;border:1px solid #d5cdbb}.hero-banner .banner-open{background:#b85535;border-color:#b85535;color:#fffaf0}.hero-banner .banner-action>.icon,.hero-banner .banner-action>span{opacity:1}.hero-banner .banner-action>.icon{width:17px;height:17px}.hero-banner .banner-action:hover:not(:disabled){filter:brightness(.97)}.hero-banner .banner-open:hover:not(:disabled){background:#a94c30}.hero-banner .banner-demo:hover:not(:disabled){background:#f4eddf}}

/* The selected wordmark retains its original colors against every theme. */
.brand{flex-direction:column;align-items:flex-start;gap:6px;padding:0 0 27px}.brand small{align-self:center;margin-top:0}.brand-surface{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#f8f4eb;border:1px solid #e4ddcf;border-radius:7px;overflow:hidden;line-height:0}.brand-image{display:block;width:100%;height:auto}.sidebar-logo{width:100%;max-width:174px}.breadcrumb-logo{width:94px;border-radius:5px}.document-brand{padding:0;border-radius:5px;flex-shrink:0}.document-logo{width:94px;border-radius:5px}.initial-logo{width:170px;margin:0 auto}.initial p{line-height:1.4}@media(max-width:1020px){.sidebar-logo{max-width:150px}}@media(max-width:420px){.breadcrumb-logo,.document-logo{width:76px}}

/* Three complete home layouts, inspired by the selected visual concepts. */
[data-theme=village]{--bg:#f7f2e8;--panel:#fbf8f1;--text:#19382f;--muted:#68736b;--border:#e1d8c7;--accent:#b95735;--soft:#f2e5d8;--hover:#eae8da;--sidebar:#1e342a;--stage:#e8e5dc;color:var(--text);background:var(--bg)}
[data-theme=night]{--bg:#061715;--panel:#102422;--text:#f5f0e7;--muted:#aebdb7;--border:#324641;--accent:#ef8858;--soft:#382c25;--hover:#19342d;--sidebar:#071615;--stage:#07120f;--shadow:0 15px 50px #0003;color:var(--text);background:var(--bg)}
[data-theme=weave]{--bg:#f8f6f0;--panel:#fcfaf6;--text:#193043;--muted:#6e7b87;--border:#e7e2d8;--accent:#bb5837;--soft:#f3e8dd;--hover:#f2eee6;--sidebar:#30425e;--stage:#e5e9eb;color:var(--text);background:var(--bg)}
.appearance-panel{width:min(360px,calc(100vw - 24px))}.appearance-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.appearance-preview{height:72px;background-size:cover;background-position:center right}.preview-village{background-image:url('/assets/theme-village.png')}.preview-night{background-image:url('/assets/theme-night.png');border-color:#4d5a55}.preview-weave{background-image:url('/assets/theme-weave.png')}.preview-village .preview-sidebar{background:#1e342a}.preview-night .preview-sidebar{background:#071615}.preview-weave .preview-sidebar{inset:0 0 auto 0;width:100%;height:20%;background:#30425e}.preview-village .preview-paper,.preview-night .preview-paper,.preview-weave .preview-paper{top:22px;left:30%;width:37%;height:31px;bottom:auto;background:#fffaf0e8}.preview-night .preview-paper{background:#142a25e8;border-color:#657567}.preview-village .preview-diamond,.preview-night .preview-diamond{border-color:#da9168}.preview-weave .preview-diamond{left:79%;top:27px;border-color:#bd6040}.appearance-label{font-size:10px;gap:5px}
[data-theme=night] .appearance-picker summary{background:#102422;color:#f2a37b}.recent-row[hidden],.recent-no-results[hidden]{display:none!important}.recent-no-results{font-size:11px;color:var(--muted);padding:15px}
.modern-sidebar{overflow-y:auto;padding:27px 18px;background:var(--sidebar)}.modern-sidebar .brand{padding-bottom:30px}.modern-sidebar .brand small{opacity:.75}.modern-sidebar .nav-btn{font-size:13px;min-height:48px;color:#e5e9df}.modern-sidebar .nav-btn.active{background:#42584a;color:#fff}.modern-extra{border-top:1px solid #71807366;margin-top:15px;padding-top:17px}.modern-sidebar .side-footer{z-index:1}.side-pattern{position:absolute;bottom:100px;left:20px;width:135px;color:#a98752;opacity:.27;pointer-events:none}.side-pattern svg{width:100%}.nav-more{display:none}
.modern-topbar{height:72px;background:var(--bg);border-bottom:0}.modern-topbar .breadcrumb>.breadcrumb-logo,.modern-topbar .breadcrumb>span,.modern-topbar .breadcrumb>.icon{display:none}.modern-topbar .top-actions{margin-left:auto}.recent-search{display:flex;align-items:center;gap:8px;width:188px;height:39px;padding:0 11px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--muted)}.recent-search .icon{width:17px;height:17px}.recent-search input[type=search]{width:100%;min-width:0;border:0;background:transparent;padding:0;color:var(--text);font-size:11px;outline:0}.recent-search input::placeholder{color:var(--muted)}.recent-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.theme-home{max-width:none;padding:0 clamp(28px,4vw,70px) 32px}.feature-panel{position:relative;overflow:hidden;border-radius:15px;isolation:isolate}.modern-intro{position:relative;z-index:1;padding:0}.modern-intro .eyebrow{font-size:10px;letter-spacing:2px;color:#8a8171;margin:0 0 18px}.modern-intro .eyebrow:before{content:'';display:inline-block;vertical-align:middle;width:26px;height:2px;background:var(--accent);margin-right:10px}.modern-intro h1{font-family:Georgia,serif;font-size:clamp(45px,5.2vw,76px);font-weight:700;letter-spacing:-2.6px;line-height:.98;color:var(--text)}.modern-intro h1 em{font-weight:700;color:var(--accent)}.modern-intro>p:last-child{font-size:14px;line-height:1.5;max-width:370px;color:var(--text);opacity:.86;margin-top:18px}.modern-dropzone{position:relative;z-index:1;max-width:585px;min-height:200px;border:1.5px dashed #df9a78;border-radius:14px;background:#fbf8f1ed;box-shadow:0 8px 20px #42301a16;margin:24px 0 0;padding:25px 30px;display:grid;grid-template-columns:88px 1fr;gap:10px 23px}.modern-dropzone .dropzone-symbol{height:78px;width:78px;background:#f2e8da;color:var(--accent)}.modern-dropzone .dropzone-symbol .icon{width:35px;height:35px}.modern-dropzone .dropzone-copy h2{font:700 22px Georgia,serif;color:var(--text);margin:0 0 6px}.modern-dropzone .dropzone-copy p{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 12px}.modern-dropzone .primary{width:100%;max-width:240px;min-height:43px;color:#fffaf0}.modern-dropzone .demo-wrap{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:14px;color:var(--muted);font-size:11px}.demo-wrap:before,.demo-wrap:after{content:'';height:1px;flex:1;max-width:110px;background:var(--border)}.demo-wrap .secondary{min-height:34px;padding:0 14px;font-size:11px}.tools-panel{margin-top:28px}.theme-home .section-heading{margin:0 0 14px}.theme-home .section-heading h2{font:700 24px Georgia,serif;letter-spacing:-.5px}.theme-home .section-heading .subtle{color:var(--accent);text-decoration:none}.theme-home .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.theme-home .tool-card{display:grid;grid-template-columns:56px minmax(0,1fr) 26px;grid-template-rows:auto auto;align-content:center;align-items:center;gap:3px 15px;min-height:94px;padding:13px 14px;border-radius:11px;background:var(--panel)}.theme-home .tool-card .tool-symbol{grid-column:1;grid-row:1/3;width:56px;height:56px;border-radius:12px}.theme-home .tool-card .tool-symbol .icon{width:28px;height:28px}.theme-home .tool-card h3{grid-column:2;grid-row:1;font:700 16px Georgia,serif;margin:0;align-self:end}.theme-home .tool-card p{grid-column:2;grid-row:2;font-size:11px;line-height:1.35;margin:0;align-self:start;color:var(--muted)}.theme-home .tool-card>svg.icon{position:static;grid-column:3;grid-row:1/3;width:20px;color:var(--accent);opacity:.85}.theme-home .recent-section{margin-top:24px}.theme-home .recent-head{padding:10px 14px;color:var(--muted);background:var(--panel);border:1px solid var(--border);border-bottom:0;border-radius:10px 10px 0 0}.theme-home .recent-row{margin:0;border-radius:0;border-bottom:0}.theme-home .recent-row:last-child{border-bottom:1px solid var(--border);border-radius:0 0 10px 10px}.theme-home .recent-empty,.theme-home .recent-no-results{background:var(--panel);padding:18px;border:1px solid var(--border);border-radius:10px}.theme-home .session-note{margin:0 0 10px}.theme-home .home-footer{margin-top:24px}
/* Village and mountains. */
[data-theme=village] .feature-panel{padding:6px 0 0;background-image:url('/assets/theme-village.png');background-position:center right;background-size:cover;min-height:440px}.modern-shell .sidebar-logo{max-width:175px}[data-theme=village] .modern-intro{padding:12px 15px 0}[data-theme=village] .modern-dropzone{margin-left:12px;margin-bottom:12px}[data-theme=village] .theme-home .tools-panel,[data-theme=village] .theme-home .recent-section{position:relative}
/* Night village. */
[data-theme=night] .modern-sidebar .nav-btn.active{background:#3d2922;color:#fff2e8;border:1px solid #a8532e}[data-theme=night] .modern-sidebar .nav-btn.active .icon{color:#f08c5f}[data-theme=night] .modern-topbar{background:#0b201d;border-color:#27413b}[data-theme=night] .recent-search{background:#122c27}[data-theme=night] .avatar{background:#dcc9af;color:#463328}[data-theme=night] .feature-panel{background-image:url('/assets/theme-night.png');background-size:cover;background-position:center top;padding:32px 30px 22px;min-height:445px}[data-theme=night] .modern-intro .eyebrow{color:#dbb898}[data-theme=night] .modern-intro h1{color:#f9f3e9}[data-theme=night] .modern-intro h1 em{color:#ef8858}[data-theme=night] .modern-intro>p:last-child{color:#c9d4ce}[data-theme=night] .modern-dropzone{max-width:none;min-height:172px;margin:34px 0 0;background:#071b19e8;border-color:#6e9485;box-shadow:none;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:15px}[data-theme=night] .modern-dropzone .dropzone-symbol{width:48px;height:48px;background:#233a2d;border:1px solid #667e61;color:#efe7d0}[data-theme=night] .modern-dropzone .dropzone-symbol .icon{width:24px;height:24px}[data-theme=night] .modern-dropzone .dropzone-copy h2{display:none}[data-theme=night] .modern-dropzone .dropzone-copy p{margin:8px 0;color:#bdc9c2}[data-theme=night] .modern-dropzone .dropzone-copy{display:flex;flex-direction:column-reverse;align-items:center}[data-theme=night] .modern-dropzone .primary{min-width:215px;background:#bd5c3a;color:#fff}[data-theme=night] .demo-wrap{gap:8px}[data-theme=night] .demo-wrap:before,[data-theme=night] .demo-wrap:after{display:none}[data-theme=night] .demo-wrap .secondary{background:#19312b;color:#e8eee8;border-color:#3d554a}[data-theme=night] .tool-card .tool-symbol{background:color-mix(in srgb,var(--toolcolor) 20%,#101e1a);color:var(--toolcolor)}[data-theme=night] .theme-home .tool-card{background:#112321;border-color:#30433d}[data-theme=night] .theme-home .tool-card h3{font-family:Kab,Arial,sans-serif;font-size:13px}[data-theme=night] .theme-home .section-heading h2{font-family:Kab,Arial,sans-serif;font-size:18px}[data-theme=night] .theme-home .recent-head,[data-theme=night] .theme-home .recent-row{background:#102220}[data-theme=night] .busy-cover{background:#071715cc}[data-theme=night] .primary{color:#fff9ed}
/* Paper and weaving: top navigation and two-column workspace. */
[data-theme=weave] .modern-shell{display:block;padding-top:72px}[data-theme=weave] .modern-shell .body-shell{display:block}[data-theme=weave] .modern-sidebar{position:absolute;top:0;left:0;right:0;bottom:auto;width:100%;height:72px;z-index:30;display:flex;flex-direction:row;align-items:center;padding:0 28px;overflow:visible;background:#30425e}[data-theme=weave] .modern-sidebar .brand{width:140px;flex-shrink:0;padding:0;margin-right:28px}[data-theme=weave] .modern-sidebar .brand small,[data-theme=weave] .modern-sidebar .side-footer,[data-theme=weave] .side-pattern{display:none}[data-theme=weave] .modern-navigation{display:flex;align-items:center;gap:8px}[data-theme=weave] .modern-navigation>.nav-btn{width:auto;margin:0;padding:0 15px;white-space:nowrap}[data-theme=weave] .modern-sidebar .nav-btn.active{background:#536986;position:relative}[data-theme=weave] .modern-sidebar .nav-btn.active:after{content:'';position:absolute;bottom:0;left:15px;right:15px;height:3px;background:#d27c55}[data-theme=weave] .modern-extra{display:none}[data-theme=weave] .nav-more{display:block;position:relative}[data-theme=weave] .nav-more summary{list-style:none;cursor:pointer;padding:12px;color:#fff}[data-theme=weave] .nav-more>div{position:absolute;top:42px;left:0;width:215px;padding:8px;background:#30425e;border:1px solid #6a7c90;border-radius:8px;box-shadow:0 10px 25px #0003}[data-theme=weave] .nav-more .nav-btn{margin:0}[data-theme=weave] .modern-topbar{position:absolute;right:0;top:0;z-index:40;height:72px;background:transparent;padding:0 28px}[data-theme=weave] .modern-topbar .breadcrumb{display:none}[data-theme=weave] .recent-search{background:#405474;border-color:#586d89;color:#dce4ea}[data-theme=weave] .recent-search input{color:#fff}[data-theme=weave] .recent-search input::placeholder{color:#b7c4d1}[data-theme=weave] .appearance-picker summary{background:#30425e;color:#f4f0e8;border-color:#b5b8b4}[data-theme=weave] .theme-home{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(0,1fr);gap:18px 20px;padding:20px 30px 30px}[data-theme=weave] .feature-panel{background:url('/assets/theme-weave.png') center right/cover no-repeat;padding:50px 36px 30px;min-height:600px;border:1px solid #e9e0d2}[data-theme=weave] .modern-intro h1{font-size:clamp(42px,4.4vw,70px);color:#193b37}[data-theme=weave] .modern-intro>p:last-child{color:#596a7a}[data-theme=weave] .modern-intro .eyebrow{display:none}[data-theme=weave] .modern-dropzone{max-width:none;margin-top:30px;background:#fbf9f3ed;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:11px;padding:20px}[data-theme=weave] .modern-dropzone .dropzone-copy h2{display:none}[data-theme=weave] .modern-dropzone .dropzone-copy{display:flex;flex-direction:column-reverse;align-items:center}[data-theme=weave] .modern-dropzone .dropzone-copy p{margin:10px 0 0}[data-theme=weave] .modern-dropzone .primary{width:240px;max-width:100%}[data-theme=weave] .demo-wrap:before,[data-theme=weave] .demo-wrap:after{max-width:45px}[data-theme=weave] .tools-panel{margin:0;padding:28px 24px 20px;background:var(--panel);border:1px solid var(--border);border-radius:14px}[data-theme=weave] .tools-panel .section-heading h2{font-size:27px}[data-theme=weave] .theme-home .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}[data-theme=weave] .theme-home .tool-card{display:flex;position:relative;align-items:flex-start;justify-content:flex-start;min-height:150px;padding:18px 20px;background:color-mix(in srgb,var(--toolbg) 42%,#faf8f3);gap:8px}[data-theme=weave] .theme-home .tool-card .tool-symbol{width:50px;height:50px}[data-theme=weave] .theme-home .tool-card h3{font:700 16px Kab,Arial,sans-serif;align-self:auto}[data-theme=weave] .theme-home .tool-card p{align-self:auto;font-size:11px;line-height:1.45}[data-theme=weave] .theme-home .tool-card>svg.icon{position:absolute;top:23px;right:18px}[data-theme=weave] .theme-home .recent-section{grid-column:1/-1;margin:0;padding:22px 24px;background:#fbfaf7;border:1px solid var(--border);border-radius:14px}[data-theme=weave] .recent-head{display:none}[data-theme=weave] .recent-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}[data-theme=weave] .theme-home .recent-row{display:grid;grid-template-columns:1fr auto;gap:5px;padding:14px;border:1px solid var(--border);border-radius:8px;min-width:0}[data-theme=weave] .recent-name{grid-column:1;grid-row:1;min-width:0}[data-theme=weave] .recent-row small{grid-column:1;color:var(--muted);padding-left:28px}[data-theme=weave] .recent-row .icon-btn{grid-column:2;grid-row:1/3}[data-theme=weave] .home-footer{grid-column:1/-1}
@media(max-width:1250px){[data-theme=weave] .modern-navigation>.nav-btn{padding:0 9px;font-size:11px}[data-theme=weave] .modern-sidebar .brand{width:120px;margin-right:12px}[data-theme=weave] .recent-search{width:150px}[data-theme=weave] .theme-home{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);padding:18px}[data-theme=weave] .feature-panel{padding:35px 25px 25px}[data-theme=weave] .tools-panel{padding:20px 15px}}
@media(max-width:1000px){.theme-home .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}[data-theme=weave] .recent-search{display:none}[data-theme=weave] .theme-home{grid-template-columns:1fr}[data-theme=weave] .feature-panel{min-height:480px}[data-theme=weave] .tools-panel,[data-theme=weave] .recent-section{grid-column:1}[data-theme=weave] .theme-home .tool-card{min-height:130px}}
@media(max-width:800px){.modern-topbar .breadcrumb>.breadcrumb-logo{display:inline-flex}.modern-sidebar{width:224px;padding:27px 18px}.theme-home{padding:0 18px 28px}.theme-home .modern-intro h1{font-size:clamp(42px,8vw,64px)}[data-theme=weave] .modern-shell{padding-top:0}[data-theme=weave] .modern-sidebar{position:fixed;top:0;bottom:0;right:auto;width:224px;height:100vh;display:flex;flex-direction:column;align-items:stretch;padding:27px 18px;overflow:auto}[data-theme=weave] .modern-sidebar .brand{width:auto;margin:0;padding-bottom:30px}[data-theme=weave] .modern-sidebar .brand small{display:block}[data-theme=weave] .modern-navigation{display:block}[data-theme=weave] .modern-navigation>.nav-btn{width:100%;margin-bottom:4px;justify-content:flex-start;font-size:12px}[data-theme=weave] .modern-extra{display:block}[data-theme=weave] .nav-more{display:none}[data-theme=weave] .modern-topbar{position:sticky;top:0;background:#30425e;padding:0 18px}[data-theme=weave] .modern-topbar .breadcrumb{display:flex}[data-theme=weave] .modern-topbar .mobile-menu{color:#fff}[data-theme=weave] .theme-home{padding:16px 18px 28px}[data-theme=weave] .recent-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.recent-search{display:none}.modern-topbar{height:64px;padding:0 14px}.theme-home .tool-grid,[data-theme=weave] .theme-home .tool-grid{grid-template-columns:1fr}.theme-home .tool-card{min-height:82px}.theme-home .section-heading h2{font-size:20px}.theme-home .feature-panel{min-height:0}.modern-intro>p:last-child{font-size:12px;max-width:300px}[data-theme=village] .feature-panel{padding:10px;background-position:65% top;background-image:linear-gradient(90deg,#f8f3e7ed 0%,#f8f3e7cf 60%,#f8f3e750),url('/assets/theme-village.png')}[data-theme=village] .modern-intro{padding:8px 3px 0}[data-theme=village] .modern-dropzone{margin:22px 0 0}.modern-dropzone{grid-template-columns:50px 1fr;gap:10px;padding:18px 14px;min-height:0}.modern-dropzone .dropzone-symbol{width:48px;height:48px}.modern-dropzone .dropzone-symbol .icon{width:23px;height:23px}.modern-dropzone .dropzone-copy h2{font-size:18px}.modern-dropzone .dropzone-copy p{font-size:10px}[data-theme=night] .feature-panel{padding:22px 15px 15px;background-position:55% top}[data-theme=night] .modern-dropzone{margin-top:30px}[data-theme=weave] .feature-panel{padding:28px 20px 20px;min-height:0}[data-theme=weave] .modern-dropzone{min-height:195px}[data-theme=weave] .theme-home .tool-card{min-height:115px}[data-theme=weave] .recent-list{grid-template-columns:1fr}[data-theme=weave] .tools-panel .section-heading h2{font-size:20px}.theme-home .recent-head,.theme-home .recent-row{grid-template-columns:1fr 65px 25px}.theme-home .recent-head>:nth-child(3),.theme-home .recent-row>:nth-child(3){display:none}}
/* Bright, distinct tool accents remain legible in the night workspace. */
[data-theme=night] .tool-card[data-tool=merge] .tool-symbol{background:#3c2921;color:#f29a69}
[data-theme=night] .tool-card[data-tool=organize] .tool-symbol{background:#15372a;color:#73c7a1}
[data-theme=night] .tool-card[data-tool=extract] .tool-symbol{background:#202d48;color:#9babff}
[data-theme=night] .tool-card[data-tool=text] .tool-symbol{background:#402921;color:#f39b7c}
[data-theme=night] .tool-card[data-tool=signature] .tool-symbol{background:#173542;color:#92c9e1}
[data-theme=night] .tool-card[data-tool=ocr] .tool-symbol{background:#203a2a;color:#b4d6a4}

/* The welcome headline stays editable and readable in every appearance. */
.modern-intro h1,.theme-home .modern-intro h1,[data-theme=weave] .modern-intro h1{font-size:clamp(25px,2.8vw,41px);letter-spacing:-1.2px;line-height:1.12}
.modern-intro h1 span,.modern-intro h1 em{white-space:nowrap}
.banner-visual{container-type:inline-size}
.banner-title{position:absolute;left:7.3%;top:29%;max-width:55%;z-index:1;font-family:Georgia,serif;font-size:clamp(13px,3.25cqw,48px);font-weight:400;letter-spacing:-.6px;line-height:1.14;color:#273c35}
.banner-title span,.banner-title em{white-space:nowrap}
.banner-title em{color:#b85535;font-weight:400}
@media(max-width:800px){.theme-home .modern-intro h1,[data-theme=weave] .modern-intro h1{font-size:clamp(20px,4.1vw,34px)}.hero-banner .banner-visual{aspect-ratio:auto;height:clamp(140px,40vw,250px)}.hero-banner .banner-visual img{height:100%;width:100%;object-fit:cover;object-position:center right}.banner-title{left:7%;top:28%;max-width:none;font-size:clamp(19px,3.9cqw,30px);text-shadow:0 1px 6px #f8f4e9}}
@media(max-width:600px){.theme-home .modern-intro h1,[data-theme=weave] .modern-intro h1{font-size:clamp(19px,5.4vw,30px);letter-spacing:-.7px}}

/* The logo has a dedicated brand position; names elsewhere remain text. */
.body-shell>.topbar .breadcrumb>.breadcrumb-logo{display:none}
.body-shell>.topbar .breadcrumb>.breadcrumb-name{display:inline;color:var(--text);font-weight:600}
.modern-topbar .breadcrumb>.breadcrumb-name{display:none}
@media(max-width:800px){.body-shell>.topbar .breadcrumb>.breadcrumb-name{display:none}.body-shell>.topbar .breadcrumb>.breadcrumb-logo{display:inline-flex}}
@media(max-width:420px){.body-shell>.topbar .breadcrumb>.breadcrumb-logo{display:inline-flex}}

/* A single logo beside the heading in the About dialog. */
.modal-header h2.modal-title-with-logo{display:flex;align-items:center;gap:12px;min-width:0}
.about-title-logo{width:90px;border-radius:5px}
@media(max-width:480px){.about-title-logo{width:74px}.modal-header h2.modal-title-with-logo{gap:9px}}
