/* Mobile-first application, silver-white and restrained gold from the user's artwork. */
:root{--bg:#f7f8fa;--paper:#fff;--text:#26313f;--muted:#65717e;--accent:#8e6a33;--line:#e2e5e8}body{background:radial-gradient(ellipse at 100% 0,#e7eef77a,transparent 50%),radial-gradient(ellipse at 0 80%,#f4e8d934,transparent 50%),var(--bg);padding-bottom:95px}header{max-width:620px;margin:0 auto;min-height:88px;padding:18px 22px;gap:14px}.wordmark{font-size:20px;letter-spacing:1px;gap:10px}.app-logo{width:48px;height:48px;object-fit:contain}.wordmark small{font-size:8px;letter-spacing:2.8px;color:#78838f}header>nav{display:none}.header-action{padding:11px 14px;border-radius:99px;box-shadow:inset 0 0 0 1px #c8ced5;background:#ffffff9c;font-size:11px}.header-action span{margin-left:8px}main{width:100%;max-width:620px;margin:auto;padding:22px 22px 35px;min-height:65dvh}footer{max-width:620px;flex-wrap:wrap;padding:18px 22px 24px;gap:10px;border-top:1px solid #e0e3e8}footer>span{font-size:11px}footer p{font-size:10px}footer small{width:100%;font-size:9px;margin:0}.hero{display:flex;flex-direction:column;min-height:0;gap:18px;align-items:stretch}.hero-copy{padding:5px 1px 0}.hero h1{font-size:43px;font-weight:500;line-height:1.38;letter-spacing:-1.5px;margin-bottom:18px}.hero h1 span{color:#778391}.hero-copy>p{font-size:14px;line-height:1.95;max-width:390px;margin-bottom:23px}.eyebrow{color:var(--accent);font-size:10px;letter-spacing:1.2px;margin-bottom:21px}.hero-actions{gap:17px}.button{background:#846333;color:white;box-shadow:inset 0 1px #ffffff24,0 5px 15px #795a2310;font-size:13px;min-height:50px;gap:25px}.button:hover{background:#715124}.button.secondary{background:#ede8df;color:#604c32;box-shadow:inset 0 1px #fff}.button.secondary:hover{background:#e6dece}.button.plain{min-height:47px;padding:13px 23px}.hero-art{height:300px;min-height:0;border-radius:30px;background:radial-gradient(ellipse at center,#fff 30%,#edf1f6 100%);padding:5px 20px 21px;box-shadow:inset 0 0 0 1px #fff,0 15px 65px #5b6d8410;margin:2px 0 0;overflow:hidden}.hero-art img{aspect-ratio:1;width:auto;height:100%;object-fit:contain;filter:drop-shadow(0 8px 15px #53627a0c)}.hero-art-caption{bottom:17px;font-size:8px;letter-spacing:2px;left:25px;right:25px}.intro-bottom{display:block;margin-top:29px;padding-top:25px}.intro-bottom h2{font-size:17px;line-height:1.8;margin-bottom:25px}.intro-bottom h2 br{display:none}.path{grid-template-columns:1fr 1fr;gap:27px 24px}.path h3{font-size:13px;font-weight:500}.path p{font-size:12px;line-height:1.85}.path small{color:var(--accent)}.survey{display:block;margin:0}.survey-rail{padding:0;margin-bottom:25px}.survey-rail h1{font-size:27px;line-height:1.5;letter-spacing:-.5px;margin-bottom:12px}.survey-rail>p{font-size:13px;margin-bottom:19px}.steps{grid-template-columns:repeat(5,1fr);gap:3px}.step{flex-direction:column;gap:8px;font-size:10px;padding:7px 0}.step b{width:28px;height:28px;border-color:#c3cbd3}.step.active{color:#806238}.step.active b{background:#8e6a33;border-color:#8e6a33}.step.done b{background:#ede6da;color:#71552d}.rail-note{display:none}.bezel{padding:5px;background:#e7ebef80;border-radius:27px;box-shadow:inset 0 0 0 1px #e6e9ec}.panel{padding:24px;border-radius:22px;background:#fff;box-shadow:inset 0 1px #fff,0 8px 40px #57687c04}.survey-panel{min-height:510px;padding:25px 21px}.survey-panel h2{font-size:23px;font-weight:500}.survey-panel>.muted{font-size:13px;margin-bottom:25px}.form-meta{font-size:10px}.form-meta span:last-child{color:#806238}.field-row{grid-template-columns:1fr;gap:21px}.field label,.label{font-size:14px;line-height:1.7;margin-bottom:10px}.fields{gap:22px}input[type=text],input[type=number],input[type=search],input[type=password],input[type=url],input[type=time],textarea,select{font-size:16px;min-height:50px;line-height:1.7;background:#f7f9fb;border:1px solid #afbac6;border-radius:12px;padding:12px 14px;width:100%;color:var(--text)}input::placeholder,textarea::placeholder{color:#78838f}textarea{min-height:120px}.choices{grid-template-columns:1fr 1fr;gap:9px}.choice{min-height:52px;font-size:12px;padding:13px 11px;gap:8px;border-color:#b7c1cd;line-height:1.7}.choice:has(input:checked){border-color:#a5875b;background:#f6f0e6;color:#6a512f}.choice input{accent-color:#8e6a33}.hint{font-size:12px;line-height:1.9}.survey-actions{padding-top:25px}.back{font-size:12px;min-height:44px}.save-status{font-size:11px;line-height:1.7}.heading{display:block;margin-bottom:25px}.heading h1{font-size:29px;line-height:1.5;letter-spacing:-.5px}.heading p{font-size:13px}.heading>.button{margin-top:20px;width:100%}.plan-grid{display:block}.plan-grid>.bezel+.bezel{margin-top:21px}.plan-grid h2{font-size:24px}.plan-row{font-size:13px;gap:17px;line-height:1.8}.plan-row span{flex-shrink:0}.plan-path p{font-size:13px;line-height:1.9}.plan-bottom{flex-direction:column;align-items:stretch}.plan-bottom .micro{font-size:12px}.dashboard{display:block}.side{display:none}.work-heading{margin-bottom:23px}.work-heading h1{font-size:27px;line-height:1.5;letter-spacing:-.5px}.work-heading p{font-size:13px;line-height:1.8}.work-heading>small{display:none}.work-grid{display:block}.work-right{display:block;margin-top:25px}.task{min-height:270px;padding:25px 22px;background:linear-gradient(125deg,#f1f4f8,#f7f3ed)}.task h2{font-size:27px;line-height:1.55;max-width:330px;margin-bottom:13px}.task p{font-size:13px;line-height:1.9;max-width:340px}.task .eyebrow{font-size:10px;margin-bottom:16px}.metrics{padding:27px 4px;gap:15px}.metric b{font-size:29px}.metric small{font-size:10px;margin-left:5px}.metric p{font-size:11px;line-height:1.8}.section-head h2{font-size:16px}.source{border-radius:17px;padding:20px 18px;margin-bottom:12px;box-shadow:0 6px 24px #32486104}.source b{font-size:13px}.source small{font-size:11px;line-height:1.85}.empty-notice{font-size:11px;line-height:1.9}.schedule{padding:0}.schedule h2{font-size:17px}.schedule-row{grid-template-columns:64px 1fr;gap:18px}.schedule-row>span{font-size:21px;color:#846333}.schedule-row b{font-size:14px}.schedule-row p{font-size:12px}.schedule-note{margin-top:20px;font-size:13px;background:#eeeff0;border-radius:22px;padding:24px}.capture-grid{display:block}.capture-side{display:none}.capture h2{font-size:24px}.capture>p{font-size:13px}.capture label{font-size:13px}.capture textarea{min-height:265px;font-size:16px}.input-meta{font-size:11px}.actions{flex-wrap:wrap;gap:13px}.ai-actions{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0 8px}.ai-action{border:1px solid #cfbfaa;color:#765a35;background:#faf7f1;min-height:44px;border-radius:99px;padding:10px 15px;font-size:12px}.ai-action:hover{background:#f0e8dd}#interview-result:not(:empty){background:#f5f1e9;color:#6b5434;padding:16px;border-radius:13px;margin-bottom:22px;font-size:13px;line-height:1.9}.toolbar{gap:16px}.search{max-width:none}.filter-group{gap:8px}.filter{min-height:44px;padding:11px 14px;font-size:12px;background:#e9edf1}.filter.active{background:#eee5d6;color:#73562e}.records{grid-template-columns:1fr;gap:15px}.record{min-height:180px;padding:25px;border-radius:22px}.record p{font-size:13px;line-height:1.9}.record h2{font-size:17px}.record-meta{font-size:11px;line-height:1.7;flex-wrap:wrap}.tag{font-size:11px}.tag.imported{background:#eef1f4;color:#5f6d7c}.upload-row{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin:0 0 22px}.upload-button{font-size:12px;background:#e8edf3;padding:13px 17px;min-height:44px;border-radius:99px;cursor:pointer}.upload-button input{display:block;max-width:210px;font-size:11px;margin-top:10px}.review-grid{grid-template-columns:1fr;gap:23px}.review-item h2{font-size:21px}.raw{font-size:14px;line-height:1.95;padding:18px}.review-grid label{font-size:13px}.review-grid textarea{min-height:220px}.review-grid .actions{justify-content:flex-end}.review-grid .back{margin-right:auto}.chat{min-height:500px;display:flex}.twin-identity{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:20px}.twin-identity img{object-fit:contain;width:54px;height:54px}.twin-identity h2{font-size:19px;margin-bottom:5px}.twin-identity span{font-size:11px;color:var(--muted)}.connection-hint{font-size:12px;color:#725d3d;background:#f8f2e7;padding:12px;border-radius:10px;margin-top:19px;line-height:1.8}.inline-link{color:#806033}.messages{gap:17px}.bubble{font-size:14px;line-height:1.9;background:#f0f3f7;max-width:96%;padding:17px;border-radius:16px;overflow-wrap:anywhere}.bubble.user{background:#80643d;color:white}.chat-sources{font-size:11px;margin-top:15px;border-top:1px solid #cfd7e1;padding-top:10px;color:#596a7b}.chat-form{gap:9px;align-items:stretch}.chat-form input{width:0;flex:1;min-width:0}.chat-form button{min-height:50px;padding:12px 17px;font-size:12px}.feedback{margin-top:22px}.feedback h2{font-size:20px}.feedback .field{margin:20px 0}.feedback textarea{min-height:150px}.feedback button{width:100%}.settings-links{display:grid;gap:10px;margin-bottom:24px}.settings-links a{display:flex;justify-content:space-between;align-items:center;min-height:52px;padding:16px 20px;border-radius:16px;background:#fff;font-size:13px}.settings-links a:hover{background:#f0f2f5}#settings-form h2{font-size:23px;font-weight:500}.connection-state{font-size:12px;color:#756043;background:#f6f0e5;border-radius:10px;padding:13px 15px;margin:20px 0 25px}.framework-flow{background:#edf0f4;padding:20px;gap:9px}.framework-flow span{font-size:12px}.framework-flow b{color:#8e6a33}.framework-grid{grid-template-columns:1fr;gap:20px}.framework-grid>.bezel:first-child{grid-row:auto}.framework-grid h2{font-size:23px}.framework-grid p,.framework-grid ol{font-size:13px;line-height:2.1}.brand-stage{min-height:0;aspect-ratio:1;padding:18px;background:radial-gradient(ellipse at center,white,#edf1f6)}.brand-stage img{width:100%;height:100%;aspect-ratio:1;object-fit:contain}.logo-download{display:flex;flex-direction:column;align-items:stretch;gap:17px;margin-top:24px}.logo-download .link{text-align:center}.original-detail{margin:24px 0;padding:16px 0;border-top:1px solid var(--line)}.original-detail summary{font-size:13px;cursor:pointer;padding:6px 0;min-height:40px}.source-info{font-size:14px;line-height:2}.loading-state{padding:90px 0;text-align:center;color:var(--muted);font-size:14px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:620px;border-radius:23px 23px 0 0;z-index:3;display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(16px);box-shadow:0 -6px 30px #2b3e5b09,inset 0 1px #fff}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:49px;padding:6px 4px;border-radius:13px;font-size:10px;color:#647281}.bottom-nav img{width:23px;height:23px;opacity:.65}.bottom-nav a.active{background:#eee7dc;color:#785a31;box-shadow:none}.bottom-nav a.active img{opacity:.9}.survey-open .bottom-nav{display:none}.survey-open{padding-bottom:15px}#save-banner{position:fixed;top:8px;left:50%;transform:translateX(-50%);background:#263b54;color:white;z-index:6;max-width:90vw;border-radius:14px;padding:11px 18px;font-size:11px;line-height:1.8;box-shadow:0 8px 25px #263b5420}#save-banner.failed{background:#963e30}#toast{bottom:100px;border-radius:16px;font-size:12px;line-height:1.8;max-width:90vw}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#b08b4f}.error{font-size:12px;line-height:1.8}.link{min-height:44px;display:inline-flex;align-items:center;font-size:12px;color:#806033}
@media(min-width:761px){body{background:radial-gradient(ellipse at 20% 15%,#e7edf5,transparent 55%),#edf0f4}header,main,footer{background:#f7f8fa}header{margin-top:22px;border-radius:28px 28px 0 0}main{min-height:calc(100dvh - 220px)}footer{border-radius:0 0 20px 20px}.bottom-nav{bottom:12px;border-radius:20px;width:596px;box-shadow:0 6px 40px #25354e15}.hero-art{height:350px}.hero h1{font-size:48px}}
@media(max-width:370px){header,main{padding-left:17px;padding-right:17px}.wordmark{font-size:18px}.app-logo{width:42px;height:42px}.hero h1{font-size:38px}.hero-actions{gap:11px}.hero-actions .micro{font-size:9px}.hero-art{height:250px}.panel{padding:21px}.survey-panel{padding:23px 18px}.choices{grid-template-columns:1fr}.button{gap:18px}.filter{font-size:11px;padding:11px 12px}}/* Voice: quiet silver surface, single focal control, mobile first. */
.voice-panel{margin:24px 0 28px;padding:20px 0 16px;max-width:100%;min-width:0;border-top:1px solid #e8ebee;border-bottom:1px solid #e8ebee;background:transparent}.voice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#76818e;font-size:11px;letter-spacing:1px}.voice-clock{font-size:10px;letter-spacing:.8px;font-variant-numeric:tabular-nums}.voice-stage{display:flex;align-items:center;justify-content:center;gap:24px;padding:24px 0 0}.voice-record{appearance:none;border:0;background:none;color:#39434e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:0 4px;min-width:86px;cursor:pointer;font:inherit}.voice-orb{width:76px;height:76px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 15%,#fff 20%,#f6f4f0 70%,#e9e3d9);box-shadow:inset 0 2px 3px #fff,inset 0 -1px 2px #a88b5330,0 7px 20px #44576b12,0 0 0 5px #f4f5f7,0 0 0 6px #e8ebef;color:#927344;transition:transform .25s cubic-bezier(.2,.8,.2,1)}.voice-orb svg{width:26px;height:26px;stroke-width:1.45}.voice-record:active .voice-orb{transform:scale(.95)}.voice-action-label{font-size:13px;letter-spacing:1px}.voice-record:disabled{cursor:wait;opacity:.6}.voice-wave{display:flex;align-items:center;gap:4px;height:32px;margin-top:-25px;color:#cdd2d7}.voice-wave i{display:block;width:2px;height:8px;border-radius:3px;background:currentColor}.voice-wave i:nth-child(2),.voice-wave i:nth-child(4){height:17px}.voice-wave i:nth-child(3){height:28px}.voice-status{text-align:center;color:#7d8691;font-size:11px;line-height:1.8;margin:13px 0 10px;min-height:20px;overflow-wrap:anywhere}.voice-panel audio{width:100%;max-width:100%;height:40px;margin:10px 0}.voice-options{display:flex;align-items:center;gap:4px 10px;flex-wrap:wrap}.voice-toggle{display:flex!important;align-items:center;gap:7px;font-size:11px!important;font-weight:400!important;color:#77818b!important;min-height:40px;margin:0!important;position:relative;cursor:pointer}.voice-toggle input{position:absolute;opacity:0;width:30px;height:20px;margin:0;cursor:pointer}.voice-switch{width:29px;height:17px;border-radius:99px;background:#d9dfe5;position:relative;transition:background .2s cubic-bezier(.2,.8,.2,1)}.voice-switch:after{content:'';position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #45566820;transition:transform .2s cubic-bezier(.2,.8,.2,1)}.voice-toggle input:checked+.voice-switch{background:#a08456}.voice-toggle input:checked+.voice-switch:after{transform:translateX(12px)}.voice-toggle input:focus-visible+.voice-switch{outline:2px solid #a08456;outline-offset:3px}.voice-options button,.voice-options>a{font:inherit;font-size:11px;min-height:40px;padding:5px 0;border:0;color:#927344;background:none;cursor:pointer;text-decoration:none}.voice-help{margin-left:auto;font-size:10px;color:#87909b}.voice-help summary{cursor:pointer;min-height:40px;display:flex;align-items:center;list-style:none}.voice-help summary::-webkit-details-marker{display:none}.voice-help p{font-size:11px;line-height:1.8;margin:5px 0 10px;max-width:250px}.voice-help[open]{width:100%}.voice-read{display:block;margin-top:10px;border:0;background:transparent;padding:8px 0;min-height:40px;font:inherit;font-size:11px;letter-spacing:1px;color:#927344;cursor:pointer}.recording .voice-orb{color:#ae5359;background:radial-gradient(circle at 30% 15%,#fff,#f8eeee);box-shadow:inset 0 2px 3px #fff,0 0 0 5px #f8eeee,0 0 0 6px #ead6d8,0 8px 20px #ac555512}.voice-square{width:19px;height:19px;border-radius:5px;background:#ae5359}.recording .voice-wave{color:#b79d75}.voice-panel [hidden]{display:none!important}.voice-record:focus-visible{outline:2px solid #a08456;outline-offset:8px;border-radius:25px}@media(prefers-reduced-motion:no-preference){.recording .voice-wave i{animation:voice-wave 1s cubic-bezier(.2,.8,.2,1) infinite alternate}.recording .voice-wave i:nth-child(2n){animation-delay:-.5s}.recording .voice-wave i:nth-child(3){animation-delay:-.8s}@keyframes voice-wave{from{transform:scaleY(.45)}to{transform:scaleY(1)}}}
/* Mobile web keeps touch, wheel and keyboard scrolling without desktop rails. */
html{background:#f7f8fa;scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{width:0;height:0}body{scrollbar-width:none;min-width:0;width:100%;margin:0;min-height:100dvh}main{min-width:0}.records,.panel,.capture-grid,.work-grid{min-width:0}

/* Brand and return action share the same optical center. */
header{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;min-height:88px;box-sizing:border-box}.wordmark{display:inline-flex;align-items:center;gap:10px;line-height:1;flex-shrink:0}.wordmark>span{display:block;line-height:1.2}.app-logo{display:block;flex:0 0 48px;width:48px;height:48px}.header-action{display:inline-flex;align-items:center;justify-content:center;align-self:center;margin-top:0;margin-bottom:0;min-height:38px;line-height:1.2;white-space:nowrap}
/* Public entrance: one visual, one identity field. */
.entry-open .bottom-nav,.entry-open footer{display:none}.entry-open{padding-bottom:0;background:radial-gradient(ellipse at 80% 30%,#e5edf670,transparent 58%),#f7f8fa}.entry-open main{padding:10px 25px 30px;max-width:560px}.entry-open header{max-width:560px}.brain-entry{padding:8px 0 0}.entry-intro{text-align:center}.entry-kicker{display:block;font-size:10px;color:#9b835d;letter-spacing:2px;margin:10px 0 18px}.entry-intro h1{font-size:43px;font-weight:500;letter-spacing:-1.6px;line-height:1.35;margin:0 0 14px;color:#26313f}.entry-intro h1 span{color:#7f8a96}.entry-intro p{font-size:12px;color:#858e99;line-height:1.9;margin:0}.entry-art{height:240px;position:relative;display:grid;place-items:center;margin:1px -10px 0}.entry-art img{position:relative;width:245px;height:245px;max-width:90%;object-fit:contain;filter:drop-shadow(0 15px 22px #51647b13);z-index:1}.entry-halo{position:absolute;width:235px;height:150px;border-radius:50%;background:radial-gradient(ellipse,#ffffffed 12%,#e8edf250 55%,transparent 73%);transform:rotate(-22deg)}.entry-form{max-width:350px;margin:0 auto}.entry-form>label,.entry-form #entry-verification>label{display:block;font-size:12px;color:#65717e;font-weight:400;letter-spacing:.5px;margin-bottom:10px}.entry-phone-wrap{display:flex;align-items:center;border-radius:16px;background:#ffffffc9;box-shadow:0 0 0 1px #e0e5ea,inset 0 2px #fff,0 8px 24px #63758c05;min-height:58px}.entry-phone-wrap>span{font-size:11px;letter-spacing:1px;color:#a99069;padding-left:20px;padding-right:15px;border-right:1px solid #e9ecf0}.entry-phone-wrap input[type=tel]{appearance:none;background:transparent;border:0;min-width:0;flex:1;width:100%;padding:16px 14px;font:inherit;font-size:16px;color:#27333f;outline-offset:0;border-radius:12px;box-shadow:none}.entry-phone-wrap:focus-within{outline:2px solid #b49b7250;outline-offset:2px}.entry-phone-wrap input:focus{outline:none}.entry-form #entry-hint{font-size:10px;color:#9098a2;margin:10px 1px 14px;line-height:1.8}.entry-submit{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:99px;min-height:55px;padding:7px 9px 7px 24px;background:linear-gradient(125deg,#b79b6b,#977646);color:#fff;font:inherit;font-size:14px;letter-spacing:1px;cursor:pointer;box-shadow:inset 0 1px #ffffff40,0 7px 20px #85653710}.entry-submit i{font-style:normal;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffffff1f;font-size:21px;font-weight:300}.entry-submit:disabled{opacity:.6;cursor:wait}.entry-links{display:flex;justify-content:space-between;gap:14px;margin-top:7px}.entry-links a{min-height:40px;display:flex;align-items:center;font-size:10px;color:#8e98a3;text-decoration:none}.entry-footnote{text-align:center;font-size:10px;letter-spacing:2px;color:#9ba4ad;margin:14px 0 4px}.entry-footnote b{font-weight:400;color:#bca67e;padding:0 7px}.entry-form #entry-error{font-size:12px;line-height:1.7;color:#a44949;margin:8px 0}.entry-form #entry-error:empty{display:none}.entry-form #entry-verification{margin:20px 0}.entry-form #entry-verification input{background:#fff;border:1px solid #dce1e7;border-radius:14px;margin-bottom:12px}.entry-form [hidden]{display:none!important}@media(min-width:600px){.entry-intro h1{font-size:49px}.entry-art{height:260px}.entry-art img{height:265px;width:265px}}@media(prefers-reduced-motion:no-preference){.entry-submit{transition:transform .25s cubic-bezier(.2,.8,.2,1)}.entry-submit:active{transform:scale(.985)}}

/* Hide tracks while retaining normal scrolling and editable review fields. */
*{scrollbar-width:none}*::-webkit-scrollbar{width:0;height:0;display:none}.review-item textarea{min-height:420px;line-height:1.9}.review-item input[name="title"]{width:100%}

#batch-understanding{margin:0 0 24px}#open-batch{background:#927344;color:white}.batch-panel{margin-top:18px;padding:24px;background:#fff;border-radius:24px}.batch-panel[hidden]{display:none}.batch-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.batch-heading h2{font-size:22px;margin:0}.batch-heading button{min-height:44px;color:#927344}.batch-notes{max-height:360px;overflow:auto;margin:18px 0}.batch-note{display:flex;align-items:flex-start;gap:14px;padding:16px 0;border-bottom:1px solid #edf0f3;cursor:pointer}.batch-note input{width:20px;height:20px;flex-shrink:0;accent-color:#927344}.batch-note b,.batch-note small{display:block}.batch-note small{color:#7e8997;margin-top:6px;line-height:1.7}.batch-panel textarea{min-height:90px}.batch-panel select{width:100%;padding:14px;border:1px solid #c6ced8;border-radius:14px;background:#f7f8fa;color:inherit;font:inherit}.batch-panel>label{display:block;margin:18px 0 10px}#batch-status{font-size:13px;color:#927344;min-height:24px;margin:18px 0}.raw details{margin-bottom:14px}.raw summary{cursor:pointer;font-weight:500;min-height:44px}

.work-grid:not(:has(.work-right)){grid-template-columns:minmax(0,1fr)}

#capture-understanding[hidden]{display:none}#capture-understanding{margin-top:24px;padding-top:24px;border-top:1px solid #e4e8ed}#capture-title{width:100%;padding:14px;border:1px solid #b8c4d2;border-radius:14px;background:#f7f8fa;color:inherit}#capture-body{min-height:300px}

.batch-actions{display:flex;align-items:center;gap:12px}.batch-actions .button{flex:1;min-width:0;max-width:220px}.batch-actions #open-batch{background:#eee5d6;color:#765a31}.batch-actions #run-batch{background:#927344;color:#fff}.batch-actions #run-batch:disabled{opacity:.45;cursor:not-allowed}

.note-entry-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.import-tabs{display:flex;gap:8px;background:#edf0f3;padding:6px;border-radius:18px;margin-bottom:24px}.import-tabs button{flex:1;min-height:48px;border-radius:14px}.import-tabs button[aria-selected=true]{background:#fff;color:#8a693b}.import-file-picker{display:block;padding:28px;background:#f7f8fa;border:1px dashed #bba887;border-radius:18px}.import-file-picker input{display:block;max-width:100%;margin-top:16px}.import-preview{margin:24px 0;padding:20px;background:#f7f8fa;border-radius:20px}.import-preview textarea,#import-text{width:100%;min-height:300px;line-height:1.9}.import-preview input,#import-title{width:100%;padding:14px;border:1px solid #bbc7d6;border-radius:14px;background:#fff;color:inherit;font:inherit}.import-preview label,#import-paste label{display:block;margin:18px 0 10px}.import-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8}.import-preview-actions button{min-height:44px;color:#927344}#import-status{min-height:24px;color:#927344;margin:20px 0}#import-files[hidden],#import-paste[hidden],#import-done[hidden]{display:none}

/* Knowledge notes: semantic headings, field labels, and narrow-screen facts. */
.note-content{white-space:normal!important;overflow-wrap:anywhere;max-width:100%;font-size:15px;line-height:1.85;color:#293b4d}
.note-content h2,.note-content h3,.note-content h4{color:#24384d;font-weight:650;line-height:1.45;margin:28px 0 12px}
.note-content h2{font-size:22px}.note-content h3{font-size:19px}.note-content h4{font-size:17px}
.note-content p{margin:12px 0 18px}.note-content strong{font-weight:700;color:#74572e}
.note-content ul,.note-content ol{padding-left:24px;margin:12px 0 24px}.note-content li{margin:9px 0;line-height:1.85}
.note-content blockquote{margin:18px 0;padding:14px 16px;border-left:3px solid #b39b76;background:#f7f4ed;color:#65543b}
.note-content code{font-size:12px;background:#f0f2f4;border-radius:4px;padding:2px 4px;overflow-wrap:anywhere}
.note-facts{display:grid;gap:14px;margin:16px 0 26px}.note-fact{padding:17px 18px;background:#f6f7f9;border-radius:12px;min-width:0}
.note-fact h3{font-size:17px;margin:0 0 12px;color:#74572e}.note-fact dl{margin:0}.note-fact dl>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;margin:8px 0;align-items:start}
.note-fact dt{font-size:13px;color:#667587;font-weight:600}.note-fact dd{margin:0;font-size:14px;line-height:1.8}

.knowledge-category{margin:8px 0 28px}.knowledge-category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 16px}.knowledge-category-heading h2{font-size:20px;font-weight:650;color:#293b4d;margin:0}.knowledge-category-heading>span{font-size:12px;color:#68788a;white-space:nowrap}.note-order{color:#806033;font-variant-numeric:tabular-nums}

.knowledge-folders{display:grid;gap:16px;margin:8px 0 24px}.knowledge-folder{display:flex;align-items:center;gap:18px;width:100%;padding:22px;text-align:left;background:#fff;border:1px solid #e0e5eb;border-radius:16px;cursor:pointer}.knowledge-folder>span:nth-child(2){flex:1}.knowledge-folder b{display:block;font-size:17px;color:#293b4d}.knowledge-folder small{display:block;font-size:12px;color:#6d7a88;margin-top:8px}.folder-symbol{font-size:35px;color:#b3945e}.folder-back{padding:12px 0;margin-bottom:16px;border:0;background:none;color:#806033;cursor:pointer}.note-section-tabs{display:flex;gap:10px;margin:22px 0}.note-section-tabs button{flex:1;padding:13px 8px;border:1px solid #dce2e8;border-radius:10px;background:#f4f6f8;color:#526477;font-size:14px;cursor:pointer}.note-section-tabs button[aria-selected=true]{background:#eee5d6;color:#70542c;font-weight:650;border-color:#cdb893}

.number-picker{width:min(440px,calc(100% - 32px));max-height:85dvh;box-sizing:border-box;border:1px solid #dce2e8;border-radius:20px;padding:22px;color:var(--text);background:#fff}.number-picker::backdrop{background:#26313f66}.number-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.number-picker-heading h2{margin:0!important;font-size:20px!important}.number-picker-heading button{min-width:44px;min-height:44px;border:0;background:none;font-size:26px;cursor:pointer}.number-elements{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:13px;margin:16px 0;color:#74572e}.number-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.number-grid button{min-height:64px;border:1px solid #dce2e8;border-radius:10px;background:#f6f7f9;cursor:pointer;color:#293b4d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.number-grid b{font-size:23px;font-variant-numeric:tabular-nums}.number-grid small{font-size:12px}.number-grid button:hover{background:#eee5d6}.number-grid button:focus-visible{outline:2px solid #8e6a33;outline-offset:2px}.knowledge-diagram{margin:18px 0 24px}.knowledge-diagram img{display:block;width:100%;height:auto;border-radius:12px}.knowledge-diagram figcaption{font-size:12px;color:#667587;margin-top:8px}

.element-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(4px,1.5vw,10px);margin-top:18px}.element-grid button{min-width:0;min-height:76px;padding:12px 2px;border:1px solid #dce2e8;border-radius:10px;background:#f6f7f9;cursor:pointer;color:#293b4d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.element-grid b{font-size:clamp(20px,5vw,28px);line-height:1.2}.element-grid small{font-size:clamp(9px,2.6vw,12px);white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.3}.element-grid button:hover{background:#eee5d6}.element-grid button:focus-visible{outline:2px solid #8e6a33;outline-offset:2px}@media(max-width:360px){.element-picker{padding:16px}}
