:root{color-scheme:light;--ink:#352616;--muted:#74634b;--gold:#b18b44;--paper:#ead5ad;--metal:#20231f;--wine:#7f2928;--green:#39583c;font-family:Georgia,'Times New Roman',serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--metal);color:var(--ink)}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d1a539;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,h4,p{margin-top:0}h1{font-size:42px;line-height:1.1;margin:0;color:#eedcba;font-weight:700}h2{font-size:27px;margin-bottom:15px;line-height:1.16}h3{font-size:23px;margin:0 0 9px;line-height:1.16}h4{font-size:18px;margin:17px 0 10px}p{line-height:1.45;margin-bottom:12px}strong{font-weight:700}.numeric{font-variant-numeric:tabular-nums}.muted,.observed{color:var(--muted);font-size:14px}.observed{font-size:12px;margin:10px 0}.stale{color:#8c351f}.icon{width:24px;height:24px;flex-shrink:0}
.sidebar{position:fixed;inset:0 auto 0 0;width:236px;padding:28px 18px;background:linear-gradient(100deg,#282a24,#191c19);border-right:2px solid #826b40;color:#ddc795;display:flex;flex-direction:column;z-index:20}.brand{color:#e3bd73;text-decoration:none;text-align:center;display:flex;align-items:center;flex-direction:column;gap:11px;margin-bottom:34px}.brand b{font-size:34px;line-height:1;letter-spacing:-1px;text-shadow:1px 2px 0 #000}.brand small{font-size:17px;color:#d4bd91}.brand-ring{width:36px;height:36px;border:5px solid #b7934d;box-shadow:inset 0 0 0 2px #ead49e,0 2px 4px #000;border-radius:50%;transform:rotate(-22deg) scaleX(.8)}#navigation{display:grid;gap:12px}.nav-item.button{color:#d9c9a8;background:transparent;border:1px solid transparent;justify-content:flex-start;text-align:left;box-shadow:none;padding:15px 13px;font-size:18px;gap:14px}.nav-item.selected{background:#652627;border-color:#b69252;color:#fff0ce;box-shadow:inset 0 0 0 2px #37231d}.sidebar-foot{margin-top:auto;padding:28px 5px 10px;color:#a99573;font-size:13px;line-height:1.6;text-align:center}
.workspace{margin-left:236px;padding:25px 25px 18px;max-width:1800px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.header-actions{display:flex;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 15px;border:1px solid #9b7b45;border-radius:4px;background:#f1dfb8;color:#3a2819;box-shadow:inset 0 0 0 1px #fff3d355,0 2px 2px #36231122;font-size:15px;font-weight:600;line-height:1.25;text-decoration:none;transition:filter .12s}.button:hover{filter:brightness(1.06)}.button:disabled{cursor:default;opacity:.5}.button.primary,.button.dark{background:#252722;color:#efdfb9;border-color:#ac8b50}.button.danger{background:#792726;color:#ffead0;border-color:#bc7853}.button.subtle{background:transparent;box-shadow:none;font-size:13px;padding:7px 11px;min-height:32px}.button.full{width:100%;margin-top:16px}.button.selected{background:#4b3722;color:#fff2ce}.header-actions .button{min-height:46px;padding:12px 20px;font-size:16px}.resources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#1c201d;border:1px solid #77674d;border-radius:5px;color:#e6d7b9;margin-bottom:20px}.resource{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 12px;border-right:1px solid #665c4844;font-size:16px;flex-wrap:wrap}.resource:last-child{border:0}.resource img{width:26px;height:30px;object-fit:contain}.resource strong{font-size:17px}.notice,.pause-banner{background:#f0cf83;border:1px solid #b89246;border-radius:4px;padding:13px 17px;line-height:1.45;margin-bottom:18px}.pause-banner{background:#edceaa;border-color:#a76542}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:20px;align-items:stretch}.panel{background-color:var(--paper);background-image:linear-gradient(#f4e6cb99,#f4e6cb99),url('/static/assets/parchment.jpeg');background-size:100% 100%;border:2px solid #9c7a40;border-radius:6px;box-shadow:inset 0 0 0 2px #26261d,0 3px 5px #0005;padding:24px 24px 20px;min-width:0;margin-bottom:20px}.dashboard-grid>.panel{margin:0}.panel>h2{padding-bottom:12px;border-bottom:1px solid #a88a5355}.row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.row>.muted{margin:0}.empty{color:#796750;padding:20px 0;line-height:1.6}.state-label{font-size:14px;font-weight:600;color:#6a4722}.page-foot{color:#9b8969;text-align:center;padding:26px 10px 8px;font-size:12px}
.fight-content{display:flex;gap:20px;align-items:flex-start}.boss-portrait{width:34%;max-width:220px;min-width:90px;height:268px;object-fit:cover;object-position:center;border:3px solid #705932;border-radius:4px;background:#f7f4e9;box-shadow:0 2px 4px #59452133}.fight-detail{flex:1;min-width:0}.mode{display:inline-block;color:#fff0db;background:#762b27;border:1px solid #ad7850;padding:4px 9px;border-radius:2px;font-size:13px;margin-bottom:15px}.mode-line{color:#7d4f29;font-size:13px;margin:7px 0}.outcome{font-size:23px;font-weight:700;color:#3d613c}.fight-detail .row{font-size:14px;padding-bottom:6px;border-bottom:1px solid #ad925c33}.fight-panel>.observed{margin-top:-4px}.progress-block{margin:13px 0 16px}.progress-block>.row{margin-bottom:6px;flex-wrap:nowrap}.progress-label{font-size:15px;font-weight:600}.progress{height:15px;border:1px solid #88734c;border-radius:10px;background:#75664955;box-shadow:inset 0 1px 3px #3a2a1b44;overflow:hidden}.progress>span{display:block;height:100%;min-width:0;background:linear-gradient(#e9bd48,#c49726);border-radius:inherit;border-top:1px solid #f8d982}.progress.health{height:23px;border-radius:4px;background:#534c3b}.progress.health>span{background:linear-gradient(#a74134,#7e2827);border-top-color:#bb6150}.queue-entry,.walk-entry{padding:15px 0;border-bottom:1px solid #a58a5a77;position:relative}.queue-entry:last-of-type,.walk-entry:last-of-type{border-bottom:0}.queue-entry p{font-size:14px;margin-bottom:7px}.entry-head{display:flex;align-items:center;gap:10px;font-size:19px}.order{display:inline-flex;flex-shrink:0;width:27px;height:27px;border-radius:50%;background:#4d412d;color:#f1dfb9;font-size:14px;align-items:center;justify-content:center}.queue-entry.active .entry-head strong{color:#7b2724}.queue-entry .row{margin:13px 0 0;justify-content:flex-start}.walk-entry h3{margin-bottom:15px}.walk-entry.active{border-left:3px solid #a47d26;padding-left:15px}.walk-entry .row:not(.progress-block .row){justify-content:flex-start}.mode-select{max-width:240px}.daily-entry{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:19px 0;border-bottom:1px solid #ad925c66}.daily-entry h3{font-size:20px}.daily-entry p{margin-bottom:0}.switch.button{position:relative;min-width:100px;padding:9px 10px 30px;font-size:12px;background:transparent;box-shadow:none;border:0}.switch:after{content:'';position:absolute;bottom:2px;left:calc(50% - 22px);width:44px;height:22px;border:1px solid #8c8065;border-radius:12px;background:#8b8c7b}.switch:before{content:'';position:absolute;bottom:5px;left:calc(50% - 18px);width:16px;height:16px;border-radius:50%;background:#f1ead6;z-index:1;box-shadow:0 1px 2px #0005}.switch.on:after{background:#425d40;border-color:#31482e}.switch.on:before{left:calc(50% + 2px)}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:20px}.boss-card{padding:14px;border:1px solid #a0845266;background:#f4e2bc66;border-radius:4px}.catalog-portrait{width:100%;height:150px;object-fit:cover;border:1px solid #9b7b45;border-radius:3px;margin-bottom:14px}.boss-card h3{font-size:21px}.log-entry{display:grid;grid-template-columns:100px 1fr;gap:15px;border-bottom:1px solid #b1946166;padding:16px 0}.log-entry time{font-size:13px;color:var(--muted)}.log-entry p{margin:0}details{padding:20px 0 0}summary{cursor:pointer;font-weight:600;margin-bottom:12px}
dialog{width:min(560px,calc(100vw - 28px));max-height:90vh;overflow:auto;border:2px solid #9c7a40;border-radius:7px;padding:26px;color:var(--ink);background:#efdcba;box-shadow:0 20px 80px #0008}dialog::backdrop{background:#111810b8}.editor-form h2{font-size:27px}.editor-form>.row{margin:24px 0 0;justify-content:flex-end}.field{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:15px}.check-field{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.field input,.field select,select{min-height:42px;padding:9px 11px;border:1px solid #a28c65;border-radius:4px;background:#fcf0d7;color:#38291c;font-size:16px;max-width:100%}.check-field input{width:22px;height:22px;min-height:22px;accent-color:#6d4b27}.toast{position:fixed;bottom:24px;left:calc(50% + 118px);transform:translateX(-50%);background:#20271f;color:#fff0d2;border:1px solid #c3a165;border-radius:5px;padding:14px 20px;max-width:min(600px,85vw);box-shadow:0 5px 18px #0008;z-index:50;font-size:15px;line-height:1.45}.busy #content button{opacity:.65;pointer-events:none}
@media(max-width:1100px){.sidebar{width:195px;padding:25px 12px}.brand b{font-size:30px}.workspace{margin-left:195px;padding:22px 18px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-grid>.panel{margin:0}.fight-content .boss-portrait{height:240px;width:30%}.topbar{align-items:flex-start}h1{font-size:35px}.header-actions .button{font-size:14px;padding:10px 13px}.resource{gap:6px;padding:12px 7px;font-size:14px}.resource strong{font-size:14px}.toast{left:calc(50% + 98px)}}
@media(max-width:700px){.sidebar{inset:auto 0 0;width:100%;padding:7px 5px calc(8px + env(safe-area-inset-bottom));height:auto;border-right:0;border-top:1px solid #947945}.brand,.sidebar-foot{display:none}#navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.nav-item.button{padding:8px 2px;font-size:11px;gap:5px;min-height:54px;flex-direction:column;justify-content:center;border:0;box-shadow:none;white-space:nowrap}.nav-item .icon{width:23px;height:23px}.workspace{margin-left:0;padding:20px 13px 110px}.topbar{gap:14px;flex-direction:column;margin-bottom:16px}h1{font-size:34px}.header-actions{width:100%;gap:8px}.header-actions .button{flex:1;font-size:13px;padding:10px 7px;min-height:44px}.resources{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:15px}.resource{justify-content:flex-start;padding:10px 11px;gap:7px;font-size:12px;flex-wrap:nowrap}.resource img{width:22px;height:26px}.resource strong{font-size:12px}.resource:nth-child(2){border-right:0}.resource:nth-child(-n+2){border-bottom:1px solid #665c4844}.dashboard-grid{gap:15px}.panel{padding:20px 17px 17px;margin-bottom:15px}h2{font-size:24px}h3{font-size:21px}.fight-content{gap:13px}.boss-portrait,.fight-content .boss-portrait{width:30%;height:190px;min-width:80px}.fight-detail h3{font-size:21px}.fight-detail .row{font-size:12px;gap:6px}.fight-detail .progress-label{font-size:13px}.fight-detail .numeric{font-size:12px}.fight-detail p{font-size:13px}.mode{font-size:11px;padding:4px 6px;margin-bottom:8px}.progress{height:13px}.progress.health{height:20px}.row{gap:8px}.row .button{font-size:13px;padding:9px 11px}.queue-entry p{font-size:13px}.entry-head{font-size:18px}.daily-entry{gap:10px}.daily-entry h3{font-size:18px}.daily-entry p{font-size:13px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.boss-card{padding:10px}.boss-card h3{font-size:18px}.boss-card .button{width:100%;font-size:12px;padding:9px 4px}.catalog-portrait{height:105px}.log-entry{grid-template-columns:70px minmax(0,1fr);gap:12px}.log-entry p{font-size:14px}.log-entry time{font-size:11px}.toast{left:50%;bottom:100px;max-width:calc(100vw - 28px);width:calc(100vw - 28px)}dialog{padding:22px 18px}.page-foot{padding-top:20px}.observed{font-size:11px}.notice,.pause-banner{font-size:13px;padding:12px}.mode-select{max-width:100%}}
:root{--muted:#65513b}.compact-queue .queue-entry{padding:11px 0}.compact-queue .queue-entry p{margin:7px 0;font-size:13px}.compact-queue .entry-head{font-size:18px}.compact-queue .button.full{margin-top:12px}.resources{margin-bottom:8px}.resource-observed{font-size:12px;color:#c4ae88;margin:0 0 18px;line-height:1.5}
@media(max-width:700px){.resource,.resource strong{font-size:13px}.nav-item.button{font-size:12px}.dashboard-grid>.panel:nth-child(1){order:0}.dashboard-grid>.panel:nth-child(3){order:1}.dashboard-grid>.panel:nth-child(2){order:2}.dashboard-grid>.panel:nth-child(4){order:3}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
