@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{color-scheme:dark;--bg:#0b1530;--side:#0a1228;--panel:#111e3a;--raised:#192845;--line:#293754;--text:#f3f5fc;--muted:#a5b1ca;--orange:#ff8a35;--green:#90c8b5;--font:'DM Sans',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 var(--font)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--orange);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:4px}button{border:0;background:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,h4{font-family:'Manrope',var(--font);line-height:1.25;margin:0}h1{font-size:32px;letter-spacing:-1.1px;font-weight:750}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:17px;font-weight:650}p{margin:10px 0;color:var(--muted)}small,.small{font-size:13px;color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{width:238px;padding:35px 22px 24px;border-right:1px solid #22304b;background:var(--side);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;text-align:left;padding:0}.brand-mark{width:38px;height:43px;color:var(--orange)}.brand-name{font-family:Manrope,var(--font);font-size:25px;letter-spacing:-1px;font-weight:800;line-height:1.15}.brand-name b{color:var(--orange)}.brand small{font-size:10px;letter-spacing:.25px;color:#c1c8db}.nav-section{font-size:10px;letter-spacing:1.8px;font-weight:600;color:#74819d;margin:38px 14px 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;color:#b3bed5;text-align:left;font-size:14px;transition:.15s}.nav button:hover{background:#15223d;color:white}.nav button.active{background:#2a2630;color:#ffa461}.nav button.active svg{color:var(--orange)}.side-bottom{margin-top:auto;padding-top:35px}.local-info{border-top:1px solid var(--line);padding:19px 10px 0;display:flex;gap:9px;font-size:12px;color:#8c9bb8}.local-info svg{width:16px;height:16px;color:var(--green);margin-top:3px}.main{margin-left:238px;width:calc(100% - 238px);min-width:0}.topbar{height:87px;border-bottom:1px solid #1c2a45;display:flex;align-items:center;justify-content:space-between;padding:0 45px;gap:15px}.project-select{display:flex;gap:11px;align-items:center;min-width:0}.project-select>svg{color:var(--orange)}.project-select select{background:none;border:none;color:#e0e6f1;max-width:260px;font-size:14px;padding:4px;outline-offset:2px}.project-select option{background:var(--panel)}.quiet-button{color:var(--muted);padding:7px;display:inline-flex;align-items:center;gap:7px;font-size:13px}.quiet-button:hover{color:var(--text)}.top-actions{display:flex;align-items:center;gap:20px}.device-label{display:flex;align-items:center;gap:6px;font-size:12px;color:#90b6a9}.device-label svg{width:15px;height:15px}.avatar{width:33px;height:33px;background:#273551;color:#d2dbed;border:1px solid #3c4a64;border-radius:50%;font-size:12px}.content{max-width:1110px;margin:auto;padding:45px 48px 36px}.capture-home{max-width:780px;margin:9px auto 0;text-align:center}.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--orange);font-weight:700;margin-bottom:18px}.capture-home h1{font-size:34px}.intro{font-size:15px;margin-top:13px;margin-bottom:28px}.capture{border:1px solid #344361;border-radius:18px;background:linear-gradient(130deg,#172542,#111d38);box-shadow:0 16px 50px #00000015;text-align:left;overflow:hidden}.capture textarea{background:transparent;border:0;width:100%;padding:26px 28px 10px;min-height:149px;resize:vertical;outline:none;color:#e9effb;line-height:1.7;font-size:17px}.capture textarea::placeholder{color:#8090ad}.capture:focus-within{border-color:#a16b49}.capture-tools{display:flex;justify-content:space-between;align-items:center;padding:12px 22px 18px;gap:12px}.input-tools{display:flex;gap:8px;align-items:center}.input-tool{padding:9px 11px;display:flex;align-items:center;gap:8px;font-size:13px;color:#b6c2d9;border-radius:7px}.input-tool:hover{background:#263551}.mic{background:#ff8933;color:#101b33;width:47px;height:47px;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 22px #ff8a3517}.mic svg{height:24px;width:24px}.mic.recording{background:#ff6565;animation:pulse 1s infinite}.primary{background:var(--orange);color:#162039;border-radius:8px;font-weight:700;padding:10px 17px;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-size:14px}.primary:hover{background:#ffa05b}.primary svg{width:17px;height:17px}.secondary{border:1px solid #3b4963;border-radius:8px;padding:9px 15px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#182640}.secondary:hover{background:#243452}.saving-hint{margin:13px 0 35px;font-size:12px;color:#8c9ab4;display:flex;justify-content:center;align-items:center;gap:6px}.saving-hint svg{width:13px;height:13px}.tool-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:0 -10px}.tool-tile{padding:14px 6px;border-radius:10px;display:flex;align-items:center;flex-direction:column;gap:10px;font-size:12px;color:#c9d2e5}.tool-tile>span:first-child{border:1px solid #2e3c57;background:#16223d;display:grid;place-items:center;width:46px;height:46px;border-radius:12px;color:#c2cee5}.tool-tile:hover{background:#14213b}.tool-tile:first-child>span:first-child{color:var(--orange)}.home-divider{height:1px;background:#23304b;margin:34px 0 25px}.section-label{font-size:13px;font-weight:600}.recent-head{display:flex;justify-content:space-between;align-items:center;text-align:left;margin-bottom:13px}.recent-head button{font-size:12px;color:#99a8c4}.empty-inline{border:1px dashed #35415a;border-radius:12px;padding:24px;text-align:left;display:flex;align-items:center;gap:18px}.empty-inline svg{width:28px;height:28px;color:#8d9ab5}.empty-inline p{font-size:14px;margin:3px 0 0}.empty-inline h3{font-size:14px}.footnote{text-align:center;margin:35px 0 0;font-size:12px;color:#6f809d}.footnote span{color:#ae8566;margin:0 9px}.page-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{font-size:15px;max-width:620px}.page-heading h1{font-size:29px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:18px}.card p{font-size:15px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid>.card{margin:0}.stack{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;min-width:0}.field label{color:#bbc6dd;font-weight:500}input,select,textarea{background:#0e1932;border:1px solid #34415d;border-radius:8px;color:var(--text);padding:10px 12px;width:100%;outline-color:var(--orange)}textarea{min-height:112px;resize:vertical}input[type=checkbox]{width:18px;height:18px;accent-color:var(--orange);flex-shrink:0}input[type=file]{font-size:13px}input[type=number]{max-width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.full{grid-column:1/-1}.form-grid h3{margin-top:5px}.pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #3c4964;border-radius:20px;font-size:11px;padding:2px 9px;white-space:nowrap;color:#c5cde0}.pill.established{color:#9ed7c4;border-color:#365950;background:#142e33}.pill.possible{color:#e4c090;border-color:#5d4c37;background:#2d292b}.pill.unresolved,.pill.contradiction{color:#e5a8b3;border-color:#5c3e53;background:#2c2237}.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:22px}.filters input{flex:1;min-width:150px}.filters select{width:auto;max-width:210px}.note-card{border:1px solid var(--line);background:var(--panel);border-radius:11px;padding:18px 20px;text-align:left;margin-bottom:12px;overflow-wrap:anywhere}.note-card h3{font-size:16px;margin:9px 0 6px}.note-card p{font-size:14px;white-space:pre-wrap;margin:8px 0;line-height:1.65;color:#bcc7dc}.note-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:#8999b6}.note-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:12px}.note-bottom .actions{gap:8px}.tag{font-size:11px;color:#9badcc;background:#1a2b47;border-radius:5px;padding:2px 7px}.note-image{max-width:100%;max-height:260px;object-fit:contain;border-radius:7px;margin:10px 0}.image-strip{display:flex;gap:10px;padding:0 25px;flex-wrap:wrap}.image-preview{width:90px;position:relative}.image-preview img{width:90px;height:70px;object-fit:cover;border-radius:7px}.image-preview button{position:absolute;right:0;top:0;background:#132039;border-radius:50%;font-size:12px}.empty{padding:42px 25px;text-align:center;border:1px dashed #33415d;border-radius:12px}.empty svg{width:36px;height:36px;color:var(--orange);margin-bottom:12px}.empty p{font-size:14px;max-width:380px;margin:10px auto 20px}.tip{border-left:3px solid var(--orange);background:#19233a;padding:15px 18px;border-radius:0 9px 9px 0;color:#bfc9dc;font-size:14px;margin:16px 0}.notice{font-size:13px;padding:13px 16px;background:#23263a;border:1px solid #514535;border-radius:8px;color:#d9c6aa;margin-bottom:19px}.tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:11px}.tabs button{padding:8px 13px;border-radius:7px;color:#a9b5cf;font-size:14px;white-space:nowrap}.tabs button.active{color:#ffae74;background:#352b2d}.check-row{display:flex;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid #25324c;cursor:pointer;font-size:14px}.check-row input{margin-top:4px}.check-row:last-child{border:0}.check-row small{display:block}.progress-track{height:5px;border-radius:5px;background:#26334d;overflow:hidden;margin:18px 0}.progress-track>i{display:block;height:100%;background:var(--orange)}.chapter{display:flex;gap:18px;align-items:start}.chapter-number{font:700 27px Manrope;color:#657592;width:40px}.chapter-info{flex:1;min-width:0}.map-canvas{position:relative;min-height:460px;border:1px solid var(--line);border-radius:14px;background:radial-gradient(ellipse at center,#142442,#0d1730);overflow:hidden}.map-lines{position:absolute;inset:0;width:100%;height:100%;stroke:#415673;stroke-width:1;pointer-events:none}.map-node{position:absolute;transform:translate(-50%,-50%);padding:12px;border:1px solid #435773;background:#1a2c47;color:#dbe3f1;border-radius:11px;font-size:12px;max-width:140px;text-align:center;line-height:1.4;overflow-wrap:anywhere}.map-node.center{background:#382a2b;border-color:#a66b45;color:#ffbb89;padding:19px;font-size:14px;font-weight:700;max-width:160px}.map-node small{display:block;font-size:10px;margin-top:4px}.map-node:hover{border-color:var(--orange)}details{border-bottom:1px solid var(--line);padding:15px 0}summary{cursor:pointer;font-size:16px;font-weight:500}details p{font-size:14px}dialog{background:#111e38;color:var(--text);border:1px solid #43516d;border-radius:17px;max-width:650px;width:calc(100% - 32px);padding:28px;max-height:90vh;overflow:auto;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#030a19bb;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.modal-head button{color:var(--muted);padding:4px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.danger{color:#f1a1a6;border-color:#764851}.mobile-brand,.mobile-nav{display:none}#toast{position:fixed;bottom:28px;left:calc(50% + 110px);transform:translateX(-50%);z-index:100;background:#ecf1fa;color:#18253e;border:1px solid #fff5;box-shadow:0 8px 35px #0004;padding:12px 22px;border-radius:9px;font-size:14px;max-width:90vw;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1}.body-copy{white-space:pre-wrap;overflow-wrap:anywhere}.spread{display:flex;justify-content:space-between;gap:15px;align-items:center}.result{border-left:2px solid #aa734c;padding:14px 18px;background:#17243d;margin:14px 0;border-radius:0 8px 8px 0}.result li{color:#bfcbe0;margin:10px 0;font-size:14px}.result h3{margin-bottom:12px}.result p{font-size:14px}.result a{font-size:13px}.route-icon{width:43px;height:43px;display:grid;place-items:center;background:#25324b;color:#ffac70;border-radius:10px;margin-bottom:14px}.book-cover{background:linear-gradient(145deg,#ff993e,#fa7529);width:110px;min-height:150px;border-radius:3px 8px 8px 3px;padding:13px;color:#12223f;font-family:Manrope;line-height:1.05;font-weight:800;box-shadow:inset 5px 0 #12223f30;display:flex;align-items:center;font-size:23px}.inline-options{display:flex;flex-wrap:wrap;gap:15px}.inline-options label{display:flex;gap:7px;align-items:center;font-size:14px}.readable-list{padding-left:20px;color:var(--muted);font-size:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.memory-count{color:#9eacc7;font-size:13px}.audio-preview{width:100%;max-width:360px;margin-top:10px}.record-status{font-size:13px;color:#ffd0a9;padding:0 26px 10px}.capture-options{border-top:1px solid #31405c;padding:14px 24px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.capture-options select{width:auto;font-size:12px;padding:6px}.capture-options input{flex:1;min-width:150px;font-size:12px;padding:7px}.home-note{width:100%;padding:14px 16px;display:flex;gap:12px;align-items:center;background:#111d36;border:1px solid #24334e;border-radius:9px;text-align:left;margin-bottom:9px}.home-note>svg{color:#91a1bd;width:18px}.home-note strong{font-size:13px;font-weight:500;display:block}.home-note small{font-size:11px}.home-note .date{margin-left:auto;white-space:nowrap}.muted{color:var(--muted)}@keyframes pulse{50%{box-shadow:0 0 0 7px #ff656526}}@media(min-width:1450px){.capture-home{margin-top:45px}.content{padding-top:55px}.capture textarea{min-height:175px}.home-divider{margin-top:45px}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 15px}.main{margin-left:210px;width:calc(100% - 210px)}.content{padding:35px 28px}.topbar{padding:0 28px}.tool-grid{gap:2px}.tool-tile{font-size:11px}.brand-name{font-size:23px}}@media(max-width:760px){.sidebar{display:none}.main{margin:0;width:100%}.topbar{height:auto;min-height:77px;padding:17px 20px;flex-wrap:wrap;gap:15px}.mobile-brand{display:block}.mobile-brand .brand-name{font-size:24px}.mobile-brand .brand-mark{width:30px}.mobile-brand .brand small{display:none}.top-actions{gap:10px}.device-label{font-size:10px}.device-label span{display:none}.project-select{order:3;width:100%;padding-top:13px;border-top:1px solid #26334c}.project-select select{max-width:calc(100% - 70px);flex:1}.project-select .quiet-button{margin-left:auto}.content{padding:29px 20px 100px}.capture-home{margin:0}.eyebrow{font-size:9px;margin-bottom:13px}.capture-home h1{font-size:28px;letter-spacing:-.7px;max-width:340px;margin:auto}.intro{font-size:13px;max-width:290px;margin:12px auto 24px}.capture textarea{min-height:150px;padding:21px 20px;font-size:16px}.capture-tools{padding:6px 14px 15px;gap:6px}.input-tool{padding:8px}.input-tool span{display:none}.mic{width:43px;height:43px}.primary{padding:10px 13px;font-size:13px}.saving-hint{font-size:11px;margin-bottom:24px}.tool-grid{grid-template-columns:repeat(3,1fr);gap:5px;margin:0}.tool-tile{font-size:12px;padding:10px 4px;gap:7px}.tool-tile>span:first-child{width:42px;height:42px}.home-divider{margin:22px 0}.footnote{margin-top:26px;font-size:10px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#0b1530f5;backdrop-filter:blur(12px);border-top:1px solid #30405d;z-index:25;padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:#8d9dbc;padding:4px 13px}.mobile-nav button.active{color:var(--orange)}.mobile-nav svg{width:20px}.grid,.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.page-heading{margin-bottom:22px;gap:15px;flex-wrap:wrap}.page-heading h1{font-size:26px}.page-heading p{font-size:14px}.page-heading .actions{width:100%}.card{padding:20px}.filters select{max-width:100%;flex:1}.filters input{width:100%;flex:auto}.map-canvas{min-height:430px}.map-node{max-width:94px;font-size:10px;padding:10px}.map-node.center{max-width:110px;font-size:12px;padding:14px}.map-node small{font-size:9px}.note-card{padding:17px}.note-bottom{align-items:start;flex-direction:column}.map-lines{stroke-width:.8}.notice{font-size:12px}#toast{left:50%;bottom:90px;width:max-content;max-width:90vw}.empty-inline{padding:20px 16px;gap:12px}.empty-inline p{font-size:12px}.empty-inline h3{font-size:13px}.capture-options{padding:12px 16px}.top-actions .quiet-button{padding:3px}.top-actions .quiet-button span{display:none}.capture-options select{flex:1}dialog{padding:23px}.book-cover{flex-shrink:0}.tabs{margin-right:-10px}.chapter-number{font-size:22px;width:25px}.chapter{gap:12px}.home-note .date{font-size:10px}.home-note strong{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media print{.sidebar,.topbar,.mobile-nav,.actions,.filters,button{display:none!important}.main{margin:0;width:100%}body,.card,.note-card{background:white;color:black}.content{padding:0;max-width:none}p,small,.small,.note-card p{color:#333}.card,.note-card{break-inside:avoid}.map-canvas{background:#fff}.map-node{color:#000;background:#eee}}

.guide-emblem{display:grid;place-items:center;flex-shrink:0;width:90px;height:110px;border:1px solid #77523e;background:#352b2c;border-radius:12px;color:var(--orange)}.guide-emblem svg{width:46px;height:46px}.tool-tile{font-size:14px}@media(max-width:760px){.guide-emblem{width:56px;height:70px}.guide-emblem svg{width:30px;height:30px}.tool-tile{font-size:13px}}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:24px}.project-card{border:1px solid var(--line);border-radius:15px;background:var(--panel);overflow:hidden;min-width:0}.project-card.current{border-color:#986744}.project-cover-button{display:block;width:100%;padding:20px;background:#0e1931;border-bottom:1px solid var(--line)}.project-cover-image{width:100%;height:270px;object-fit:contain;display:block}.project-cover-empty{height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#8b9cbb;border:1px dashed #3e4d68;border-radius:8px;font-size:14px}.project-cover-empty svg{height:42px;width:42px;color:#b89b81}.project-card-details{padding:20px}.project-card-details h2{font-size:21px;margin-top:12px;overflow-wrap:anywhere}.project-card-status{min-height:25px}.project-card-details .project-author{font-size:14px;margin:8px 0}.project-card-details .project-counts{font-size:14px;margin:14px 0 18px}.project-card-details>.quiet-button{margin-top:12px;padding-left:0;font-size:14px}.project-thumb{display:block;width:24px;height:33px;object-fit:contain}.project-select #active-project-cover{color:var(--orange);display:flex;align-items:center}.book-cover-editor{display:flex;align-items:center;gap:25px}.book-cover-preview{width:140px;flex-shrink:0}.book-cover-preview .project-cover-image,.book-cover-preview .project-cover-empty{height:190px}.book-cover-preview .project-cover-empty{font-size:12px}.cover-modal-preview{max-width:230px;margin:0 auto 22px}.cover-modal-preview .project-cover-image,.cover-modal-preview .project-cover-empty{height:300px}.sidebar{overflow-y:auto}@media(max-width:760px){.projects-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.book-cover-editor{align-items:flex-start;gap:18px}.book-cover-preview{width:95px}.book-cover-preview .project-cover-image,.book-cover-preview .project-cover-empty{height:140px}.book-cover-editor h3{font-size:16px}.book-cover-editor p{font-size:14px}.book-cover-editor .secondary{font-size:13px;padding:9px 10px}}@media(max-width:370px){.book-cover-editor{flex-direction:column}.book-cover-preview{width:130px}.book-cover-preview .project-cover-image,.book-cover-preview .project-cover-empty{height:175px}.projects-grid{grid-template-columns:1fr}}
.complete-map{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#0e1931;padding:30px 18px 24px;margin-top:14px;scrollbar-color:#5e7396 #14223d}.complete-map:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.map-tree{width:max-content;min-width:100%;padding:0 8px}.map-root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#382a2b;border:1px solid #a66b45;border-radius:12px;padding:17px 22px;width:250px;max-width:100%;margin:0 auto 34px;overflow-wrap:anywhere;text-align:center;color:#ffbb89}.map-root span,.map-category span{display:block;font-size:13px;color:#adbad0;margin-top:4px}.map-root::after{content:'';position:absolute;top:100%;height:35px;left:50%;border-left:1px solid #617493}.map-branches{display:grid;grid-template-columns:repeat(var(--branches),260px);justify-content:center}.map-branch{position:relative;min-width:0;padding:30px 12px 0}.map-branch::before{content:'';position:absolute;top:0;left:0;right:0;border-top:1px solid #617493}.map-branch:first-child::before{left:50%}.map-branch:last-child::before{right:50%}.map-category-wrap{position:relative}.map-category-wrap::before{content:'';position:absolute;bottom:100%;height:31px;left:50%;border-left:1px solid #617493}.map-category{display:block;width:100%;background:#1b2e4b;border:1px solid #57708f;border-radius:10px;padding:14px;font-size:16px;text-align:center}.map-category:hover{border-color:var(--orange)}.map-thoughts{border-left:1px solid #506987;margin:0 0 0 12px;padding:14px 0 0 16px}.map-thought{position:relative;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:9px;border:1px solid #364b6c;background:#14243e;border-radius:9px;padding:13px;text-align:left;margin-bottom:14px;overflow-wrap:anywhere;font-size:14px}.map-thought::before{content:'';position:absolute;top:25px;right:100%;width:17px;border-top:1px solid #506987}.map-thought:hover{background:#203454;border-color:#b58256}.map-thought-title{font-weight:600;line-height:1.5}.map-thought .pill{white-space:normal}.map-tags{display:flex;flex-wrap:wrap;gap:5px}.map-note-meta{font-size:12px;color:#a5b7d3;line-height:1.5}.map-thought.historical{background:#181f32;border-style:dashed}.map-thought.historical .map-thought-title{color:#aab4c9}@media(max-width:760px){.complete-map{padding:24px 10px 20px}.map-branches{grid-template-columns:repeat(var(--branches),250px)}.filters .field{flex:1;min-width:125px}.filters .field select{width:100%;max-width:none}}
.delete-forever{background:#b83449;border:1px solid #e47e8d;color:white;border-radius:8px;padding:10px 17px;font-size:14px;font-weight:700}.delete-forever:hover{background:#cf3c53}.project-card-details>.quiet-button.danger{display:flex;margin-top:3px;color:#f1a1a6}
.main{display:flex;flex-direction:column}.content{width:100%;flex:1}.app-footer{border-top:1px solid var(--line);padding:25px 32px 30px;margin-top:8px;text-align:center;color:var(--muted);font-size:14px}.creator-credit a{color:#cbd6ea;text-decoration:underline;text-underline-offset:3px}.creator-credit a:hover{color:var(--orange)}.footer-support{margin-top:19px}.footer-support>p{font-size:13px;margin:7px 0 13px}.paypal-donation{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.donation-amounts{display:flex;gap:8px}.donation-amount{border:1px solid #42536e;background:#17243d;min-width:48px;min-height:42px;padding:8px 13px;border-radius:8px;font-size:14px;font-weight:600}.donation-amount:hover{border-color:var(--orange);background:#26324a}.paypal-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#ffc439;color:#152c4c;padding:10px 17px;border-radius:8px;min-height:42px;font-size:14px;font-weight:700}.paypal-button:hover{background:#ffd464}.paypal-button svg{width:17px;height:17px}.footer-support>.donation-caption{font-size:12px;color:#9dacc6;margin:12px 0 0}@media(max-width:760px){.content{padding-bottom:30px}.app-footer{padding:25px 20px calc(105px + env(safe-area-inset-bottom))}.creator-credit{font-size:13px}.paypal-donation{gap:10px}.paypal-button{padding:10px 13px}.donation-amount{min-width:43px;padding:8px 11px}}@media print{.app-footer{display:none}}
.shared-terms{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:13px}.shared-term{border:1px solid #6c5543;background:#302b30;color:#ffbf91;padding:5px 10px;border-radius:7px;font-size:14px;line-height:1.5;text-align:left;overflow-wrap:anywhere}.shared-term:hover{background:#49342e;border-color:var(--orange)}.shared-term span{color:#c9b9af;font-size:12px;margin-left:4px}.term-crosslinks{margin-bottom:18px}.term-crosslinks summary{font-size:14px}#modal .filters{margin-top:18px}#modal .filters .field{flex:1;min-width:140px}#modal .filters select{width:100%;max-width:100%}
.capture-organisation{padding:14px 24px;border-top:1px solid #31405c;border-bottom:0}.capture-organisation summary{font-size:14px;color:#cad5e9}.organisation-fields{margin-top:14px;text-align:left}.organisation-fields .field[hidden]{display:none}.organisation-fields .small{font-size:12px}.organisation-fields input,.organisation-fields select{font-size:14px}.organisation-filters .field{min-width:150px;flex:1}.organisation-filters select{max-width:100%;width:100%}.entity-link{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;background:#213149;border:1px solid #46536c;border-radius:6px;font-size:12px;color:#dfc4ae}.entity-link:hover{border-color:var(--orange)}.entity-link svg{width:14px;height:14px}.development-section{margin:25px 0}.development-section>h2{margin-bottom:18px}.sidebar .nav button{padding-top:10px;padding-bottom:10px}@media(max-width:760px){.capture-organisation{padding:13px 16px}.organisation-fields .form-grid{gap:14px}.organisation-filters{gap:12px}}
.tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:760px){.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.project-transfer-toolbar{margin-bottom:20px;flex-wrap:wrap}.transfer-options .card{margin-top:18px}.transfer-options h3{margin-top:0}#transfer-status,#suggestion-status{overflow-wrap:anywhere}

.project-card .project-cover-button{border-bottom:0;padding-bottom:0}.project-card .project-cover-image{height:auto;max-height:270px}.project-cover-control{background:#0e1931;border-bottom:1px solid var(--line);padding:9px 20px 14px}.project-cover-control .quiet-button{font-size:14px;padding:6px 0}
