/* Night Desk — warm charcoal, petrol teal and a little copper. */
:root{color-scheme:dark;--cream:#242222;--paper:#2d2b2a;--teal:#75b9b5;--teal2:#9dcac4;--orange:#f08c53;--ink:#f5eee3;--muted:#b1aaa1;--line:#464341;--pale:#353433;--shadow:none;background:var(--cream);color:var(--ink)}
body{background:#242222;line-height:1.5}
button,input,textarea,select{font-family:'DM Sans',sans-serif}
button{transition:background .18s,border-color .18s,color .18s}
button:focus-visible,a:focus-visible{outline:2px solid #f5ad7e;outline-offset:4px}
.brand{font-weight:500;letter-spacing:.14em;font-size:36px}.brand-mark{display:none!important}
.primary{background:#ef8b53;color:#211e1c;border:1px solid #ef8b53;border-radius:8px;font-weight:700}.primary:hover{background:#ff9e65;color:#211e1c;transform:none}
.secondary{background:transparent;border-color:#68605a;color:#f1e6da;border-radius:8px}.secondary:hover{background:#ffffff09;border-color:#bb9a80}
.round{background:transparent;border-color:var(--line);color:var(--ink)}.round:hover{background:#ffffff0c}
.field input,.field select,.field textarea,.settings-grid select,.safety-item select{background:#242827;border-color:#515554;color:#f5eee3}.field input:disabled{background:#393b38;color:#bbb}.field input::placeholder,.composer textarea::placeholder{color:#a9aaa2;opacity:1}
input:focus,textarea:focus,select:focus{outline:2px solid #8dbab3;outline-offset:2px}
.form-error{color:#ffb399}.loading{color:var(--ink)}
.workspace.night-desk{padding:0;max-width:1520px;margin:0 auto;min-height:100svh}
.desk-header{display:flex;align-items:center;gap:38px;margin:0 44px;padding:22px 0 0;min-height:103px;border-bottom:1px solid #65574e}
.desk-brand{padding:0 28px 17px 0;border-right:1px solid var(--line);line-height:1}
.desk-nav{display:flex;align-self:stretch;gap:30px;align-items:stretch}.desk-nav button{font-size:14px;padding:0 9px 19px;position:relative;border-bottom:2px solid transparent;color:#bcb5ad;min-width:55px;display:flex;align-items:center}.desk-nav button:hover{color:#fff6ea}.desk-nav button.active{color:#fff4e5;border-color:var(--orange)}
.desk-user{display:flex;align-items:center;gap:17px;margin-left:auto;padding-bottom:17px}.desk-settings{padding:8px;color:#c7bdb2;display:flex}.desk-account{display:flex;align-items:center;gap:10px;font-size:12px}.desk-account .initials{background:transparent;border:1px solid #a3978a;color:#f4e5d2;width:32px;height:32px;font-size:11px}
.night-desk .workspace-main{max-width:none;padding:35px 44px 34px;margin:0}
.desk-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 28px;gap:20px}.desk-heading h1{font-size:clamp(30px,3.1vw,45px);letter-spacing:-1.8px;font-weight:550;line-height:1.18}.desk-heading>p{font-size:12px;color:#b8afa5}.desk-kicker{font-size:9px;letter-spacing:2.5px;color:#bf9680;margin:0 0 10px}
.desk-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:36px;align-items:start}.desk-chat-column{min-width:0}.desk-companion{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.desk-character{height:330px;display:flex;align-items:center;justify-content:center;margin:-15px 0 14px;background:radial-gradient(ellipse at 50% 60%,#32444260,transparent 70%)}.desk-character img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.chat-panel{background:#203739;border:1px solid #3b5050;border-radius:12px;height:clamp(430px,calc(100svh - 275px),760px);min-height:430px;max-height:none;box-shadow:none}
.chat-header{padding:17px 20px;border-bottom:1px solid #ffffff15;gap:12px}.chat-header>img{border-radius:50%;width:42px;height:42px;object-fit:cover;background:#e8e1d1}.chat-header h2{font-size:16px;font-weight:600}.chat-header p{font-size:11px;color:#b6c1bb}.chat-header #new-chat{padding:8px;border:1px solid #64817b;border-radius:7px;font-size:11px;color:#e4e4d9;display:flex;align-items:center;gap:5px}.chat-header #new-chat:hover{background:#ffffff0d}.chat-header #new-chat .icon{width:14px;height:14px}
.chat-conversation-bar{display:flex;align-items:center;gap:12px;padding:9px 20px;border-bottom:1px solid #ffffff0c;background:#1c3031;color:#b5bcb5}.chat-conversation-bar label{font-size:10px;flex-shrink:0}.chat-conversation-bar .conversation-select{margin:0;padding:5px 27px 5px 8px;background:transparent;border-color:transparent;font-size:11px;min-width:0;color:#f0e7d8}.chat-conversation-bar select:hover{border-color:#55706a}.chat-conversation-bar option{background:#203739;color:#f5eee3}
.chat-scroll{padding:18px 24px;scrollbar-width:thin;scrollbar-color:#627671 #203739;overscroll-behavior:contain}.desk-welcome{text-align:center;padding:10px 12px;max-width:450px;margin:auto}.desk-welcome-mark{border:1px solid #b9997c;width:45px;height:45px;border-radius:50%;display:grid;place-items:center;margin:0 auto 23px;color:#e8b08b}.desk-welcome .eyebrow{font-size:9px;letter-spacing:1.6px;color:#d9b79e}.desk-welcome h2{font-size:29px;font-weight:500;letter-spacing:-1px;margin:10px 0}.desk-welcome>p:last-child{font-size:12px;line-height:1.9;color:#bdc4bb}
.message{margin:13px 0}.message img.reply-avatar{width:28px;height:28px;border-radius:50%;background:#ede4d2}.message.assistant .bubble{background:#2a4344;border:1px solid #435a57;color:#f3eee4}.message.user .bubble{background:#46615a;color:#fff9ec}.message .bubble{font-size:13px;padding:13px 16px;line-height:1.75;max-width:91%}.message-time{color:#c1c9c0;font-size:9px;opacity:.85}.message.user .message-time{color:#dfdfd0}
.composer-wrap{padding:12px 18px 14px;background:#203739;border-top:1px solid #ffffff0b}.composer{border-color:#70857c;background:#182c2d;padding:10px 12px;border-radius:10px;align-items:center}.composer textarea{color:#f5eee3;line-height:1.6;font-size:13px;padding:5px;min-height:42px}.composer button{background:var(--orange);color:#28211c;min-width:36px;height:36px}.composer button:hover{background:#ffa570}.composer button:disabled{opacity:.45}.composer-caption{font-size:9px;margin-top:9px;color:#a8b5ad;letter-spacing:.1px}.desk-prompts{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 11px}.desk-prompts button{font-size:10px;color:#d7dfd5;border:1px solid #576f68;border-radius:30px;padding:5px 11px}.desk-prompts button:hover{background:#ffffff0a;border-color:#b9b6a2}#chat-status{color:#e8c29f;margin:12px 0;font-size:12px}#chat-status:empty{display:none}
.desk-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#bdb6a9;margin-top:15px;font-size:11px}.desk-tools>span{display:flex;align-items:center;gap:10px}.desk-tools .icon{width:17px;height:17px}.desk-tools button{color:#d8b89c;font-size:11px;display:flex;gap:7px;align-items:center}
.desk-agenda{border-top:1px solid #765640;padding-top:17px}.desk-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.desk-section-title h2{font-size:14px;font-weight:550;letter-spacing:-.1px}.desk-section-title button{font-size:11px;color:#d0b69e;display:flex;gap:8px;align-items:center;padding:0}.desk-section-title .icon{width:16px;height:16px}.desk-empty{color:#b8afa5;font-size:12px;line-height:1.8;padding:7px 0 17px}.desk-new{display:flex;gap:9px;align-items:center;font-size:11px;color:#f0caab;padding:10px 0}.desk-new .icon{width:15px;height:15px}.desk-flight{display:flex;gap:10px;align-items:start;padding:13px 0;border-bottom:1px solid #ffffff10}.desk-flight-time{font-size:10px;color:#e0c9b0;min-width:44px;padding-top:2px}.desk-flight>div:nth-child(2){min-width:0}.desk-flight>div>button{text-align:left;font-size:12px;padding:0;font-weight:500}.desk-flight p{font-size:10px;line-height:1.6;color:#aaa99f;overflow-wrap:anywhere;margin-top:4px}.desk-flight .desk-row-open{margin-left:auto;padding:0}.desk-flight .icon{width:14px;height:14px;color:#c9a989}.desk-up-next{border-top:1px solid #ffffff10;padding-top:14px;margin-top:5px}.desk-up-next>span{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#b4a18e}.desk-up-next button{display:grid;text-align:left;padding:9px 0;gap:3px}.desk-up-next button span{font-size:9px;color:#b6afa4}.desk-up-next strong{font-weight:500;font-size:11px}
.desk-recent{margin-top:30px;border-top:1px solid var(--line);padding-top:22px}.desk-recent-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.desk-recent-flight{text-align:left;background:#2b2e2c;border:1px solid #444b45;border-radius:8px;padding:17px 19px;min-width:0;display:grid;gap:9px}.desk-recent-flight:hover{border-color:#b28b6d;background:#2d3430}.desk-recent-flight>span{font-size:10px;color:#bcb9ab;display:flex;align-items:center;gap:7px}.desk-recent-flight .icon{width:14px;height:14px}.desk-recent-flight strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.desk-recent-flight small{font-size:10px;color:#aaa99d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.desk-footer{border-top:1px solid #654a39;margin:0 44px;padding:16px 0 22px;display:flex;justify-content:space-between;gap:15px;color:#948f85;font-size:9px;letter-spacing:.5px}
.page-heading h1{font-weight:550;font-size:34px}.page-heading .eyebrow{color:#c39c7e}.page-heading p{font-size:12px;color:#b2ada4}.page-heading{margin-bottom:28px}
.reports-overview{gap:30px;padding-bottom:21px;margin-bottom:23px}.reports-overview strong{font-size:22px;color:#e1b28e;font-weight:500}.reports-overview span{font-size:11px}.event-group{border-radius:10px;background:#2c2d2a;border-color:#454d45}.event-header{background:#233b3a;border-color:#43544a;padding:22px 24px}.event-header .eyebrow{color:#bca68a;font-size:9px}.event-header h2{font-size:20px;font-weight:550;margin:7px 0}.event-header p{color:#b5c2b6}.event-header .secondary{border-color:#9e876d;font-size:11px;padding:10px 14px}.report-entry{padding:20px 24px;border-color:#41483f}.report-entry-main small,.report-date span{color:#b8b6a7}.report-entry-main p{color:#d0d0be}.report-entry-main .report-title{color:#f3eddf;font-size:13px}.report-entry-actions .secondary{background:transparent;border-color:#5f6658}.reports-library .filter{background:#2c302b;border-color:#555d51;color:#dedfce;padding:10px}.reports-library .search input{font-size:12px;color:#eee9dc;padding:10px}.reports-library .search input::placeholder{color:#adae9f}.reports-library .search{background:#292b28;border:1px solid #495143;border-radius:8px;padding-left:12px}.reports-library .table-toolbar{border-color:var(--line);gap:9px}.reports-library .table-footer{border-color:#464c43}.reports-library .table-footer button{color:#cdb18f}.status.complete{background:#355448;color:#c2e2c3}.status.draft{background:#4d4d40;color:#e1ddbd}.status.review{background:#654c32;color:#ffcf97}.status.archived{background:#4a4945;color:#d0cac0}
.desk-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.desk-calendar{border:1px solid #495448;background:#292f2a;border-radius:12px;overflow:hidden}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px;background:#213936;border-bottom:1px solid #495448}.calendar-toolbar h2{font-size:20px;font-weight:550;letter-spacing:-.5px}.calendar-toolbar>div{display:flex;gap:8px;align-items:center}.calendar-toolbar .secondary{padding:7px 12px;font-size:11px}.calendar-toolbar .round{width:30px;height:30px;font-size:22px;border-color:#697462}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));color:#b9beac;font-size:10px;padding:16px 0 12px;text-align:center}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #414d3e}.calendar-day,.calendar-blank{min-height:101px;border-right:1px solid #414d3e;border-bottom:1px solid #414d3e;min-width:0}.calendar-day{text-align:left;padding:11px 10px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;position:relative;background:transparent}.calendar-day:nth-child(7n){border-right:0}.calendar-day>span:first-child{font-size:12px}.calendar-day:hover{background:#3c4437}.calendar-day.is-today>span:first-child{color:#ffb080;font-weight:700}.calendar-day.is-selected{background:#3d5145;box-shadow:inset 0 0 0 1px #d9ad80}.calendar-flight-count{font-size:9px;color:#dae5cb;border-radius:4px;background:#4b6350;padding:2px 5px;white-space:nowrap}.calendar-flight-title{font-size:9px;color:#d0cebd;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.calendar-note{font-size:10px;color:#b4b9a6;padding:14px 18px}.calendar-day-panel{padding:23px;border:1px solid #4e5045;border-radius:12px;background:#2f302b}.calendar-day-panel>.eyebrow{font-size:9px;color:#cba682}.calendar-day-panel>h2{font-size:22px;letter-spacing:-.6px;font-weight:500;margin:9px 0 21px;line-height:1.35}.calendar-report{border-top:1px solid #4c5142;padding:20px 0}.calendar-report:last-child{padding-bottom:0}.calendar-report h3{font-size:14px;font-weight:550;margin:6px 0 9px}.calendar-report>p{font-size:11px;color:#b7bbaa;line-height:1.7;overflow-wrap:anywhere}.calendar-report>.status{margin-top:12px}.calendar-report>div{display:flex;align-items:center;gap:8px;margin-top:16px}.calendar-report .secondary{font-size:11px;padding:9px 11px}.calendar-report .icon{width:15px;height:15px}.calendar-day-panel>.secondary{font-size:11px;padding:10px 12px}
/* Existing settings, planning and reports share the same calm palette. */
.account-panel,.planning-controls,.map-panel,.zone-results,.conditions-card,.forecast-details{background:#2a302c;border-color:#4a5549}.account-info,.settings-note,.source-line,.weather-values span,.zone-detail p,.map-heading span,.account-panel p{color:#b6c0b0}.settings-grid a,.source-line a{color:#a5d1c4}.usage-amount small{color:#b8c3b0}.settings-grid progress{accent-color:#b7c6a6}.connection-status{background:#454236;border-color:#635943;color:#ddd2b2;margin-top:12px}.connection-status a{color:#f3ce9a}.draft-proposal{background:#2d443a;border-color:#657662;color:#f0eddb}.draft-proposal dt{color:#b3c0ac}.draft-proposal .eyebrow{color:#efbf91}.conditions-placeholder{background:#303c32;color:#bac9b2}.kp-value{color:#bbdcc5}.report-meta,.daily-report-grid article{background:#2f3f34}.report-banner{background:#394638;color:#cbd4bd}.report-note,.modal-note{color:#bfc6b5}.report-check span:last-child{color:#afd3aa}.report-check.pending span:last-child{color:#edbe82}.report-section>p{font-size:12px;line-height:1.75}.report-section h3{color:#e4d4b8}.source-status{background:#3f5948;color:#c4e3c2}.source-status.attention{background:#675139;color:#f0ca96}.zone-detail{border-color:#4a5545}.modal-actions .text-danger{color:#f1ae8f}.account-figure .nixi-figure{border-radius:0}.settings-grid .account-panel h2{font-weight:550}dialog{background:#282c27;border-color:#5b6253;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#090d0ccc;backdrop-filter:blur(3px)}th{background:#343d30;color:#c8d2ba}td{border-color:#4b5742}tbody tr:hover{background:#36422e}.forecast-details table th,.forecast-details table td{display:table-cell}#toast{background:#dfc4a5;color:#29251f;border:1px solid #f3d1a9;box-shadow:0 8px 30px #0004}
.auth-page{max-width:1220px;padding:30px 45px}.auth-layout{gap:80px;grid-template-columns:minmax(0,1fr) 370px}.auth-intro{grid-template-columns:minmax(0,1fr) 250px;gap:15px}.auth-intro h1{font-size:clamp(30px,3vw,43px);color:#f5ebdc;font-weight:500;line-height:1.25}.auth-intro h1 em{color:#e3a978}.auth-character{width:100%;height:450px;max-width:none;object-fit:contain}.auth-card{background:#253936;border-color:#4a5b4d;padding:33px}.auth-card h2{font-weight:500;font-size:27px}.auth-card .text-link{color:#d3b69a}.auth-footer{color:#a49a8a}.auth-header{border-bottom:1px solid #69513c;padding-bottom:20px}.auth-help{color:#b3c2ad}
@media(min-width:1450px){.desk-home-grid{grid-template-columns:minmax(0,1fr) 320px}.desk-character{height:370px}}
@media(max-width:1100px){.desk-header{margin:0 28px;gap:25px}.night-desk .workspace-main{padding:30px 28px}.desk-footer{margin:0 28px}.desk-home-grid{grid-template-columns:minmax(0,1fr) 225px;gap:24px}.desk-character{height:295px}.desk-calendar-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.calendar-day-panel{padding:18px}.calendar-day{padding:9px 7px;min-height:90px}.calendar-flight-title{display:none}.calendar-toolbar{padding:19px}.desk-nav{gap:20px}.desk-tools{flex-wrap:wrap}.auth-layout{gap:35px;grid-template-columns:minmax(0,1fr) 335px}.auth-intro{grid-template-columns:1fr;gap:20px}.auth-character{height:330px;max-width:270px;justify-self:center}.auth-intro h1{font-size:34px}.desk-heading>p{font-size:11px}}
@media(max-width:800px){.desk-header{margin:0 20px;gap:20px;min-height:88px;padding-top:19px}.desk-brand{padding-right:18px;padding-bottom:15px}.brand{font-size:29px}.desk-nav{gap:12px}.desk-nav button{font-size:12px;padding:0 5px 15px}.desk-user{gap:5px;padding-bottom:15px}.desk-account>span:last-child{display:none}.desk-settings .icon{width:18px;height:18px}.night-desk .workspace-main{padding:25px 20px 28px}.desk-footer{margin:0 20px}.desk-heading{margin-bottom:23px}.desk-heading h1{font-size:34px}.desk-kicker{font-size:8px;letter-spacing:2px}.desk-home-grid{grid-template-columns:minmax(0,1fr) 180px;gap:20px}.desk-character{height:255px}.chat-panel{height:610px;min-height:530px}.desk-heading>p{max-width:125px;text-align:right;line-height:1.6}.desk-recent-list{gap:12px}.desk-recent-flight{padding:15px}.desk-recent-flight strong{font-size:12px}.desk-calendar-layout{grid-template-columns:1fr}.calendar-day-panel{padding:23px}.calendar-day{min-height:92px}.calendar-flight-title{display:block}.calendar-report>div{justify-content:flex-start}.desk-agenda .desk-section-title h2{font-size:13px}.desk-empty{font-size:11px}.desk-flight-time{min-width:34px;font-size:9px}.desk-flight{gap:6px}.desk-flight>div>button{font-size:11px}.desk-agenda .desk-row-open{display:none}}
@media(max-width:620px){.desk-header{display:grid;grid-template-columns:1fr auto;gap:0;margin:0 18px;padding-top:18px}.desk-brand{justify-self:start;border:0;padding:0 0 15px}.brand{font-size:29px}.desk-user{grid-column:2;grid-row:1;padding-bottom:15px}.desk-account .initials{width:29px;height:29px;font-size:10px}.desk-nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,1fr);gap:0;width:100%;border-top:1px solid #ffffff0a}.desk-nav button{justify-content:center;padding:13px 5px 12px;font-size:12px;min-height:44px}.night-desk .workspace-main{padding:23px 16px 28px}.desk-heading{gap:12px;margin-bottom:20px}.desk-heading h1{font-size:30px;letter-spacing:-1.2px}.desk-heading>p{font-size:10px;max-width:105px}.desk-kicker{font-size:7px;letter-spacing:1.5px;margin-bottom:8px}.desk-home-grid{grid-template-columns:1fr;gap:25px}.chat-panel{height:clamp(535px,calc(100svh - 200px),700px);min-height:535px;border-radius:10px}.chat-header{padding:14px 15px}.chat-header>img{width:37px;height:37px}.chat-header h2{font-size:15px}.chat-header p{font-size:10px}.chat-header #new-chat{font-size:10px;padding:7px}.chat-conversation-bar{padding:8px 13px;gap:6px}.chat-conversation-bar label{font-size:9px}.chat-conversation-bar .conversation-select{font-size:10px;padding-left:4px}.chat-scroll{padding:15px}.desk-welcome{padding:24px 6px}.desk-welcome h2{font-size:25px}.desk-welcome-mark{margin-bottom:18px;width:39px;height:39px}.desk-welcome>p:last-child{font-size:11px}.message .bubble{font-size:12px;max-width:88%;padding:11px 12px}.message img.reply-avatar{width:25px;height:25px}.message.assistant{gap:7px}.composer-wrap{padding:11px 12px 12px}.composer textarea{font-size:14px}.desk-prompts{gap:5px;margin-bottom:10px}.desk-prompts button{font-size:9px;padding:5px 9px}.desk-tools{margin-top:13px;font-size:10px;gap:11px}.desk-tools button{font-size:10px}.desk-tools>span{gap:7px}.desk-tools .icon{width:15px;height:15px}.desk-companion{display:grid;grid-template-columns:125px minmax(0,1fr);gap:19px;align-items:center}.desk-character{height:230px;margin:0}.desk-agenda{padding-top:15px}.desk-agenda .desk-section-title h2{font-size:14px}.desk-recent{margin-top:24px}.desk-recent-list{grid-template-columns:1fr}.desk-recent-flight{padding:15px 17px;gap:6px}.desk-recent-flight strong{font-size:13px}.desk-footer{margin:0 18px;font-size:8px;padding-top:13px}.page-heading h1{font-size:29px}.page-heading .primary{font-size:10px;padding:10px}.page-heading p{font-size:11px;max-width:215px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.reports-overview{gap:25px}.reports-overview>div{display:grid;gap:3px}.reports-overview strong{font-size:22px}.reports-overview span{font-size:10px}.event-header{padding:18px}.event-header h2{font-size:19px}.event-header>button{width:100%}.report-entry{padding:18px}.reports-library .search{width:100%}.reports-library .table-toolbar .primary,.reports-library .table-toolbar .secondary{font-size:11px;padding:11px 12px}.reports-library .table-toolbar .filter{font-size:10px;max-width:none;flex:1}.calendar-toolbar{padding:16px 12px;gap:10px}.calendar-toolbar h2{font-size:17px}.calendar-toolbar>div{gap:5px}.calendar-toolbar .secondary{font-size:10px;padding:6px 8px}.calendar-toolbar .round{width:27px;height:27px}.calendar-weekdays{font-size:9px;padding:13px 0 10px}.calendar-day,.calendar-blank{min-height:72px}.calendar-day{padding:8px 5px;gap:6px}.calendar-day>span:first-child{font-size:11px}.calendar-flight-count{font-size:8px;padding:1px 4px}.calendar-flight-count>span,.calendar-flight-title{display:none}.calendar-note{font-size:9px;padding:12px}.calendar-day-panel h2{font-size:21px}.auth-page{padding:23px;max-width:500px}.auth-layout{gap:26px;padding-top:25px}.auth-intro{grid-template-columns:1fr 120px;gap:8px}.auth-intro h1{font-size:28px}.auth-character{width:120px;height:220px;max-width:none}.auth-card{padding:27px 23px}.auth-header{padding-bottom:18px}.auth-card h2{font-size:25px}.settings-grid{gap:18px}.account-panel{padding:22px}.field input,.field select,.field textarea{font-size:16px}dialog{padding:20px}.report-meta{gap:16px}.modal-header h2{font-size:21px}.draft-proposal{padding:13px}.draft-proposal dl{grid-template-columns:80px minmax(0,1fr);font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(min-width:801px) and (max-height:800px){.desk-welcome{padding:0 12px}.desk-welcome-mark{width:30px;height:30px;margin-bottom:9px}.desk-welcome-mark .icon{width:17px;height:17px}.desk-welcome h2{font-size:24px;margin:5px 0}.desk-welcome>p:last-child{font-size:11px;line-height:1.6}.chat-scroll{padding-top:12px;padding-bottom:12px}}

@media(max-width:800px){.composer textarea{font-size:16px}}

/* Contextual character art stays outside operational content. */
.desk-portrait-block{min-width:0;margin-bottom:18px}.desk-portrait-block .desk-character{margin-bottom:7px}.desk-portrait-block.is-portrait .desk-character{padding:30px 8px 10px}.nixi-look-picker{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.nixi-look-picker button{min-height:32px;padding:6px 11px;border:1px solid transparent;border-radius:20px;color:#b9b4aa;font-size:10px}.nixi-look-picker button[aria-pressed=true]{border-color:#98765d;color:#f4d4b8;background:#ffffff06}.nixi-look-picker button:hover{color:#fff0de;background:#ffffff09}
.calendar-day-intro{display:flex;align-items:center;gap:8px;margin-bottom:18px}.calendar-day-intro>div{min-width:0;flex:1}.calendar-day-intro .eyebrow{font-size:9px;color:#cba682}.calendar-day-intro h2{font-size:22px;letter-spacing:-.6px;font-weight:500;line-height:1.35;margin-top:9px}.calendar-day-intro img{display:block;width:100px;height:145px;object-fit:contain;flex-shrink:0}
.page-heading.illustrated-heading{gap:20px;min-height:132px}.illustrated-heading>div{flex:1;min-width:0}.heading-character{display:block;width:128px;height:140px;object-fit:contain;flex-shrink:0}.illustrated-heading>.primary,.illustrated-heading>.art-library-link{flex-shrink:0}
@media(max-width:800px){.page-heading.illustrated-heading{gap:14px}.heading-character{width:100px;height:125px}.calendar-day-intro{justify-content:space-between}.calendar-day-intro>div{flex:0 1 auto}.calendar-day-intro img{width:110px;height:135px}}
@media(max-width:620px){.desk-portrait-block{margin-bottom:0}.desk-portrait-block .desk-character{height:210px;margin-bottom:5px}.desk-portrait-block.is-portrait .desk-character{padding:18px 0}.nixi-look-picker{gap:0}.nixi-look-picker button{padding:5px 7px;font-size:9px;min-height:32px}.page-heading.illustrated-heading{display:grid;grid-template-columns:minmax(0,1fr) 88px;min-height:0;gap:8px 12px}.illustrated-heading>div{grid-column:1;grid-row:1}.heading-character{grid-column:2;grid-row:1/3;width:88px;height:125px;align-self:center}.illustrated-heading>.primary,.illustrated-heading>.art-library-link{grid-column:1;grid-row:2;justify-self:start;margin-top:6px}.calendar-day-intro img{width:88px;height:115px}.calendar-day-intro h2{font-size:21px}}
