/* Valhallan.app-inspired presentation. No data, access or workflow changes. */
:root,.dark{--background:210 13% 6%;--foreground:210 11% 93%;--card:218 13% 16%;--card-foreground:210 11% 93%;--popover:218 14% 13%;--popover-foreground:210 11% 93%;--primary:45 88% 60%;--primary-foreground:220 20% 9%;--secondary:218 12% 23%;--secondary-foreground:210 11% 93%;--muted:218 12% 21%;--muted-foreground:218 8% 69%;--accent:45 25% 17%;--accent-foreground:45 88% 68%;--border:218 11% 25%;--input:218 11% 29%;--ring:45 88% 60%;--radius:.5rem;--chart-1:45 88% 60%;--chart-2:158 58% 55%;--chart-3:276 75% 69%;--chart-4:335 76% 64%;--chart-5:210 45% 63%}
body{font-family:Inter,'Segoe UI',Arial,sans-serif;background:#0d0f11;background-image:none;color:#ebedef;-webkit-font-smoothing:antialiased}
#root p:empty{display:none}
button,input,select,textarea{font-family:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button,a{transition:background-color .15s,border-color .15s,color .15s}button:disabled{cursor:not-allowed}
:focus-visible{outline:2px solid #f3c64f;outline-offset:3px}
h1,h2,h3{font-family:Manrope,Inter,'Segoe UI',Arial,sans-serif;letter-spacing:-.025em}
#root>div.min-h-dvh{background:transparent}
#root>div.min-h-dvh>header{background:#20242b;border-bottom:1px solid #363b44;box-shadow:0 1px 0 #080a0c}
#root>div.min-h-dvh>header>div:has(>div>nav){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}
#root>div.min-h-dvh>header>div>div:has(>nav){display:contents}
#root>div.min-h-dvh>header>div>div>nav{grid-row:2;grid-column:1/-1}
#root>div.min-h-dvh>header>div:has(>div>nav)>div:last-child{grid-column:2;grid-row:1}
#root>div.min-h-dvh>header nav a{border-radius:6px;white-space:nowrap;font-weight:600;font-size:13px;min-height:36px}
#root>div.min-h-dvh>header nav a[aria-current=page]{background:#edbd40;color:#171a20}
#root>div.min-h-dvh>header nav a:not([aria-current=page]):hover{background:#30353d;color:#fff}
#root>div.min-h-dvh>header [class*='font-black']{font-weight:750;letter-spacing:-.015em}
#root main{padding-top:32px;padding-bottom:64px}
#root main h1,.tm h1{font-size:clamp(25px,3vw,34px);font-weight:800;line-height:1.18;letter-spacing:-.04em}
#root main .rounded-2xl,#root main .rounded-xl{border-radius:9px}
#root main .bg-card{background:#252a32;border-color:#383e48;box-shadow:0 2px 8px #0001}
#root main th{font-size:11px;font-weight:650;letter-spacing:.06em;color:#adb4bf;padding-top:13px;padding-bottom:13px}
#root main td{padding-top:13px;padding-bottom:13px}
#root main tr{border-color:#343a44}
#root main tbody tr:hover{background:#ffffff03}
#root main .font-serif{font-family:inherit;font-style:normal}
#root main .text-muted-foreground{color:#a7acb4}
#root main input:not([type=checkbox]):not([type=range]),#root main select,#root main textarea{background-color:#15191f;border-color:#424955;border-radius:6px;color:#ebedef}
#root main input::placeholder,#root main textarea::placeholder{color:#929aa7}
.tm{--tm-accent:#edbd40;color:#ebedef;max-width:1120px}
.tm-heading{margin-bottom:24px;align-items:center}.tm h2{font-size:19px;font-weight:750}.tm h3{font-size:14px;font-weight:650}.tm p{font-size:14px;line-height:1.6;color:#b4bac4}
.tm-panel{background:#252a32;border:1px solid #393f49;border-radius:9px;padding:24px;box-shadow:0 2px 8px #0001}
.tm-post{border-top:3px solid #bd55c7}.tm-editor{border-top:3px solid #edbd40}.weekly-child>.tm-panel:first-of-type{border-top:3px solid #bb55bd}
.tm button{background:#252a32;border:1px solid #444b57;color:#e8ebef;border-radius:6px;padding:9px 14px;font-weight:600;min-height:38px}
.tm button:hover{background:#343b46;border-color:#626c7b}.tm button:disabled{opacity:.5;cursor:not-allowed}
.tm .tm-primary{background:#edbd40;border-color:#edbd40;color:#191c22}.tm .tm-primary:hover{background:#f6cc61;border-color:#f6cc61}
.tm button:focus-visible,.tm input:focus-visible,.tm select:focus-visible,.tm textarea:focus-visible,.tm summary:focus-visible{outline-color:#edbd40}
.tm-tabs{gap:6px;margin:16px 0 22px}.tm-tabs button{padding:7px 12px;min-height:34px;background:transparent;color:#b8bec8;border-color:#383f49}
.tm-tabs button[aria-pressed=true]{color:#f5d780;background:#3a3322;border-color:#9b8038}
.tm .tm-body{color:#e0e4ea}.tm a,.weekly-home a{color:#edcb71}.tm a:hover{color:#ffe4a0}
.tm-post-top,.tm-post time,.tm small,.cm-award small,.tm-consent-row span{color:#aab2bf}
.tm-badge{border-radius:5px;background:#39404a;color:#dbe0e7}.tm-pending{background:#423922;color:#f4d580}.tm-published{background:#1e3a31;color:#8bd7b1}
.tm-highlight{background:#202630;border-left:3px solid #b357c2;border-radius:0 6px 6px 0}
.tm-consent-form,.tm-photo,.weekly-photos figure{background:#171b21;border-color:#3c4350;border-radius:7px}
.tm-empty{border-color:#3a414d;border-radius:9px;padding:36px 24px;background:#1a1e24;text-align:left}
.tm-empty p{margin:0}.tm-check input{accent-color:#edbd40}.tm-stats strong{color:#edcb71;font-variant-numeric:tabular-nums}
.tm-alert{background:#40262d;border-color:#784151}.tm-notice{background:#1e3a31;color:#bcebd1}.tm-modal{border-top:3px solid #edbd40}
.tm-photo img,.weekly-photos img{border-radius:0}.tm td,.tm th,.tm-upload,.cm-question,.tm-consent-row,.weekly-highlight{border-color:#3b424e}
.cm-award{background:#20262e;border-color:#414854;border-radius:7px}.cm-award>span{background:#423922;color:#f3d276;border-radius:6px}
.cm-message{background:#1c222a;border-color:#3b4450;border-radius:7px}.cm-own{background:#333024}.cm-placeholder{background:#171b21;color:#aab2bf}
.weekly-event{padding:16px 0;border-top:1px solid #3b424e}.weekly-thanks{margin-top:18px}.weekly-thanks button[aria-pressed=true]{background:#233c31;color:#b4e1c9;border-color:#46795e}
.weekly-home .tm-heading p{color:#a7acb4;font-size:13px}.weekly-home nav{margin:24px 0}.weekly-home details{margin-top:20px}.weekly-home details>summary{cursor:pointer;font-size:14px;font-weight:600}
@media(min-width:1000px){#root>div.min-h-dvh>header>div{max-width:1280px}#root>div.min-h-dvh>header nav{max-width:1280px}}
@media(max-width:640px){#root main{padding:22px 16px 88px}.tm-panel{padding:18px}.tm-heading{align-items:flex-start;gap:14px}.tm h1{font-size:27px}.tm-tabs{gap:6px}.tm-tabs button{font-size:12px}.tm-actions{gap:8px}.tm-actions button{min-height:42px}.weekly-photos{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){button,a{transition:none}}
/* Quiet, consistent surfaces and usable narrow-screen navigation. */
#root main{min-width:0}#root main h1{margin-bottom:8px}
#root main table{font-variant-numeric:tabular-nums}
.tm-panel+.tm-panel{margin-top:16px}.tm-post,.tm-editor,.weekly-child>.tm-panel:first-of-type{border-top-width:1px;border-top-color:#393f49}
.weekly-home{max-width:960px;margin-inline:auto}.weekly-child>h2{font-size:17px;color:#d7dce3}
.weekly-home>nav{border-top:1px solid #343a44;padding-top:20px;gap:8px 24px}
.weekly-home>nav a{text-decoration:none;padding:8px 0}.weekly-home>nav a:hover{text-decoration:underline}
.weekly-home>details{border-top:1px solid #343a44;padding-top:18px}
.tm-body{overflow-wrap:anywhere}.tm-post-top{gap:12px}.tm-post-top time{white-space:nowrap;font-size:12px}
@media(max-width:900px){#root>div.min-h-dvh>header nav{flex-wrap:wrap}#root>div.min-h-dvh>header nav a{padding-inline:9px}}
@media(max-width:640px){.weekly-home .tm-heading{flex-direction:column}.weekly-home .tm-heading .tm-actions{width:100%}.weekly-home .tm-heading button{flex:1}.tm-post-top{flex-wrap:wrap}#root>div.min-h-dvh>nav{padding-bottom:env(safe-area-inset-bottom)}.weekly-home>nav{display:grid;grid-template-columns:1fr 1fr}}
