/* The playing surface owns the screen; authoring tools are a separate workspace. */
.creation-intro{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px}.creation-role{display:grid;gap:13px;align-content:start;background:#1d3020;padding:15px;border:1px solid #7f7851}.creation-role #creationPortrait{height:360px;overflow:hidden;background:#cdbf99;border:3px double #837753}.creation-role h3{font:21px Georgia,serif;color:#dcc68c}.creation-role p{font-size:12px;color:#b7c3a9;line-height:1.7}.creation-intro .roles{grid-template-columns:repeat(3,minmax(0,1fr))}.creation-intro .formgrid>.field:first-child{grid-column:1/-1}.creation-intro .form-disclosure p{padding-top:12px}.creation-role .portrait-full{min-height:0}
.dhwizard.creation-wizard{min-width:0;max-width:none;height:min(790px,89dvh);padding:0;display:flex;flex-direction:column;overflow:hidden}.creation-wizard .dialog-head{flex-shrink:0}.creation-wizard .dialog-head h2{font-size:25px;margin-top:7px}.creation-wizard .dialog-head p{margin-top:5px}.creation-wizard .dialog-body{flex:1;display:flex;flex-direction:column;gap:20px}.creation-wizard .actions{flex-shrink:0;flex-wrap:wrap}.creation-wizard .actions>#dhClose{margin-right:auto;font-size:11px;background:transparent;border-color:transparent}.creation-wizard form#dhChoices{margin:0;display:grid;gap:15px}.creation-wizard .form-disclosure{flex-shrink:0}.creation-wizard .form-disclosure p{margin-top:12px}.creation-wizard .dhstats{grid-template-columns:repeat(5,minmax(0,1fr));margin:0}.creation-wizard .stat{border-radius:0;min-height:95px;display:grid;align-content:center;gap:8px}.creation-wizard .stat small{font-size:10px}.creation-wizard .stat strong{font:30px Georgia,serif}.creation-wizard .vital-strip{margin:0}.creation-wizard .reroll-row{display:flex;gap:12px;align-items:flex-end}.reroll-row>div{flex:1}.reroll-row button{min-width:170px}.creation-steps{display:flex;gap:0;list-style:none;padding:13px 24px;margin:0;border-bottom:1px solid #4c583c;flex-shrink:0;background:#0f2117}.creation-steps li{flex:1;display:flex;align-items:center;gap:8px;font-size:11px;color:#9bac91}.creation-steps li>span{border:1px solid #4f5e43;width:24px;height:24px;display:grid;place-items:center;font-family:Georgia,serif;flex-shrink:0}.creation-steps li.active{color:#ebd59a}.creation-steps li.active>span{border-color:#c8b779;background:#33472a;color:#f4e5b7}.creation-steps li.complete>span{background:#28412a;color:#c4d2ab}.creation-wizard .purchasegrid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;margin:0}.creation-wizard #dhPurchaseKind{max-width:230px}.creation-wizard #dhPurchaseSearch{flex:1;width:auto;min-width:100px}.creation-wizard .purchasegrid .card{padding:17px;background:#14291b;border-radius:0}.creation-review{display:grid;grid-template-columns:160px 1fr;gap:24px;align-items:center}.creation-review>div:first-child{height:225px;background:#ccbd95;border:3px double #7d734c}.creation-review .portrait-full{min-height:0}.creation-review h3{font:28px Georgia,serif;color:#d9c38a}.creation-review .vital-strip{margin-top:19px}
@media(max-width:600px){.creation-intro{display:flex;flex-direction:column;gap:20px}.creation-role{display:grid;grid-template-columns:85px 1fr;column-gap:15px;row-gap:7px;padding:12px}.creation-role #creationPortrait{grid-row:1/3;height:130px}.creation-role h3{font-size:19px}.creation-role p{font-size:11px;line-height:1.6}.creation-intro .roles{grid-template-columns:repeat(3,minmax(0,1fr))}.creation-steps{padding:12px 14px}.creation-steps li{font-size:9px;display:grid;gap:6px;text-align:center;justify-items:center}.creation-steps li>span{width:22px;height:22px}.creation-wizard .dialog-head h2{font-size:22px}.creation-wizard .dhstats{grid-template-columns:repeat(3,minmax(0,1fr))}.creation-wizard .stat{min-height:82px;padding:9px 5px}.creation-wizard .stat small{font-size:9px}.creation-wizard .stat strong{font-size:26px}.creation-wizard .reroll-row{flex-wrap:wrap}.reroll-row>div{flex-basis:100%}.reroll-row button{width:100%}.creation-wizard .purchasegrid{grid-template-columns:1fr}.creation-wizard .actions{gap:7px}.creation-wizard .actions>#dhClose{order:3;flex-basis:100%;margin:0;min-height:28px;padding:5px}.creation-wizard .actions>#dhNext,.creation-wizard .actions>#dhRoll,.creation-wizard .actions>#dhFinish{flex:1}.creation-review{grid-template-columns:95px 1fr;gap:15px}.creation-review>div:first-child{height:170px}.creation-review h3{font-size:23px}.creation-review .vital-strip{gap:12px;margin-top:13px}.creation-review .vital-strip strong{font-size:19px}}
:root{--bg:#091410;--panel:#11231b;--line:#3b4938;--ink:#e4e6d5;--muted:#a3b09e;--gold:#d7bf81;--green:#88c5a2}
[hidden]{display:none!important}body{background:radial-gradient(ellipse at 50% 5%,#22392a 0,transparent 65%),#091410}
button,.button{border-radius:2px;background:linear-gradient(#1d3024,#14241c);min-height:40px}button.primary{background:linear-gradient(#dac68d,#bca263)!important;border-color:#d4bf81!important}
button:focus-visible,summary:focus-visible{outline:2px solid #f0d99c;outline-offset:3px}summary{cursor:pointer;list-style-position:inside;line-height:1.5}
h1,h2,.wordmark{font-family:Georgia,'Times New Roman',serif}h1{font-size:27px;letter-spacing:.3px}h2{color:var(--gold)}
.workspace{min-height:100dvh;display:flex;flex-direction:column}.workspace-main{flex:1;min-width:0}.workspace .content{max-width:1800px;padding:22px 28px;margin:auto}
.workspace-header{min-height:83px;display:flex;align-items:center;gap:28px;padding:15px 28px;border-top:3px solid #8b7950;border-bottom:1px solid #8b7950;background:linear-gradient(90deg,#0c1913,#17291e 55%,#0c1913);box-shadow:0 5px 20px #0004;position:relative;z-index:10}
.wordmark{display:flex;align-items:center;gap:12px;color:var(--gold);text-decoration:none;font-size:23px;letter-spacing:2px;flex-shrink:0}.wordmark small{display:block;font:9px 'Segoe UI',sans-serif;letter-spacing:2.8px;color:#a6b09a;margin-top:6px}
.brand-seal{border:1px solid #a9986e;outline:1px solid #5f6246;outline-offset:4px;transform:rotate(45deg);width:35px;height:35px;display:grid;place-items:center;font-size:21px;line-height:1;letter-spacing:0}
.workspace-nav.nav{display:flex;gap:5px;align-items:center;margin-right:auto}.workspace-nav.nav button{padding:11px 18px;border:1px solid transparent;color:#afba9f;justify-content:center;background:transparent;font-size:14px;white-space:nowrap}
.workspace-nav.nav button.active{border-color:#8e8058;color:#efd89b;background:linear-gradient(#2b3e28,#1a2a1e);box-shadow:inset 0 0 0 3px #18271d}.workspace-account{display:flex;align-items:center;gap:12px;min-width:0}.workspace-account>select{width:clamp(140px,20vw,310px);background:#0b1912;min-height:40px;text-overflow:ellipsis}
.compact-menu{position:relative;flex-shrink:0}.compact-menu>summary{display:block;border:1px solid #536048;border-radius:2px;padding:9px 13px;background:#182b20;font-size:12px;color:#d7d9c6;white-space:nowrap;min-height:40px}.compact-menu>summary:after{content:' ▾';color:var(--gold)}.compact-menu[open]>summary{border-color:var(--gold)}
.menu-popover{position:absolute;right:0;top:calc(100% + 8px);width:260px;background:#13261c;border:1px solid #a79462;box-shadow:0 12px 50px #000a;padding:10px;display:grid;gap:4px;z-index:30}.menu-popover button{border-color:transparent;justify-content:flex-start;text-align:left;background:transparent}.menu-popover button:hover{border-color:#6a7855;background:#263c29}.menu-popover small,.menu-identity{padding:10px;font-size:11px;color:#aab79c}.menu-identity{border-bottom:1px solid #48513d;margin-bottom:4px}.menu-up{top:auto;bottom:calc(100% + 8px)}
.workspace-status{padding:7px 28px;display:flex;justify-content:space-between;gap:20px;color:#a3b197;font-size:10px;letter-spacing:.4px;border-top:1px solid #3d4936;background:#0b1812}.workspace-status .unsaved{color:#edc47e}.workspace-status .offline{color:#f0a98d}
.heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.heading{margin-bottom:20px}.preparation-heading p{max-width:700px}.preparation-heading .eyebrow{margin-bottom:8px}
.wizard{display:block;max-width:1200px;margin:auto}.preparation-paper{gap:23px;background:linear-gradient(120deg,#17291e,#102017);border-color:#82774f;border-radius:2px}.preparation-progress{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-bottom:1px solid #4c553c;padding-bottom:20px}.preparation-progress label{margin:0;font-size:12px;white-space:nowrap}.preparation-progress select{max-width:380px;background:#0e1d14}.progress-track{height:3px;flex:1;min-width:80px;background:#394634}.progress-track i{height:3px;background:#cfbd7b;display:block}
.prep-footer{display:flex;align-items:center;gap:10px;border-top:1px solid #46523a;padding-top:19px}.prep-footer>.compact-menu{margin-left:auto}.form-disclosure{border:1px solid #3b4c38;padding:12px 15px}.form-disclosure summary{color:#dbc58a}.form-disclosure>.formgrid{margin-top:17px}.long-text{white-space:pre-wrap;overflow-wrap:anywhere}
.game-table{display:flex;flex-direction:column;gap:16px}.table-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.table-heading .eyebrow{margin-bottom:6px}.table-heading h1{font-size:24px}.table-heading-actions{display:flex;align-items:center;gap:18px}.live-dot{font-size:11px;color:#b3c7a8;white-space:nowrap}.live-dot:before{content:'';display:inline-block;width:6px;height:6px;background:#96cba4;border-radius:50%;margin-right:7px;box-shadow:0 0 10px #90cba4}
.table-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;min-height:480px;height:calc(100dvh - 294px);max-height:880px}.table-stage{border:1px solid #867752;box-shadow:inset 0 0 0 3px #15261b;background:#0b1711;min-width:0;display:flex;flex-direction:column;overflow:hidden;position:relative}
.stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;background:linear-gradient(#263b29,#17281d);border-bottom:1px solid #6d6746;min-height:57px}.stage-views{display:flex;gap:5px;flex-shrink:0}.stage-views button{background:transparent;border-color:transparent;padding:8px 14px;font-size:13px}.stage-views button.active{color:#f3dda4;border-color:#8c7d53;background:#263c27}
#stageContext{display:flex;gap:6px;align-items:center;min-width:0}#stageContext select{min-height:34px;width:200px;max-width:22vw;font-size:12px;padding:6px}#stageContext button{min-height:34px;width:33px;padding:5px;font-size:17px}
.table-stage-body{flex:1;min-height:0;position:relative;background:radial-gradient(ellipse at 50% 45%,#243b29,#0a1710 75%);overflow:hidden}.table-map-frame{position:absolute;inset:0;overflow:auto}.table-map-frame svg{display:block;min-width:100%;min-height:100%}.table-map-frame .region{stroke-width:1.6px}.table-map-frame .region:focus-visible{outline:none;stroke:#fff4b8;stroke-width:5px;fill:#e3cf865c}
.save-conflict{margin:0 0 18px;padding:16px;border:1px solid #bca56a;background:#302513;color:#e6d7b7}.save-conflict strong{color:#efca79}.save-conflict p{line-height:1.5}.save-conflict .row{flex-wrap:wrap}
.stage-caption{pointer-events:none;position:absolute;bottom:15px;left:18px;background:#07120dd9;border-left:2px solid #bca56a;padding:9px 13px;display:grid;gap:3px;max-width:80%}.stage-caption strong{font-family:Georgia,serif;color:#e5d399;font-size:16px}.stage-caption span{font-size:10px;color:#bdc9b1}
.scene-stage{height:100%;overflow:auto;padding:38px 6%;background:radial-gradient(ellipse at center,#32432c22,transparent)}.scene-paper{max-width:780px;min-height:85%;margin:auto;background:linear-gradient(110deg,#d0c5a2,#e0d6b6 48%,#c5b892);color:#353b2a;border:6px double #6e6847;padding:35px 42px;box-shadow:0 15px 40px #0005;text-align:left}.scene-paper h2{color:#3d432d;font-size:28px;margin:14px 0}.scene-paper .eyebrow{color:#6b663c;letter-spacing:2px}.scene-paper p{font:18px/1.8 Georgia,serif}.scene-ornament{text-align:center;color:#6b6543;margin-bottom:16px;font-size:20px}.scene-rule{border-top:1px solid #88805a;border-bottom:1px solid #88805a;height:4px;margin:22px 0}
.table-inspector{border:1px solid #6c6c47;background:linear-gradient(135deg,#1a2e20,#102017);display:flex;flex-direction:column;min-height:0;min-width:0}.inspector-header{padding:13px 16px;border-bottom:1px solid #4b5538;display:flex;align-items:center;justify-content:space-between;gap:8px}.inspector-header>span{font-size:10px;letter-spacing:2px;color:#c8bb85}.inspector-header button{font-size:11px;padding:7px 10px;min-height:32px}.inspector-body{padding:22px 20px;display:flex;flex-direction:column;gap:16px;overflow:auto;flex:1;min-height:120px}.inspector-body h2{font-size:23px;line-height:1.25}.inspector-body p{font-size:13px}.inspector-hint{margin-top:auto;color:#a9b69d;font-size:11px!important;border-top:1px solid #3f5139;padding-top:18px}
.secret-disclosure{border-left:2px solid #bda66a;padding:8px 10px;background:#322f1a66}.secret-disclosure summary{color:#d8c589;font-size:12px}.secret-disclosure p{padding-top:13px;white-space:pre-wrap}.linked-materials{display:grid;gap:7px}.linked-materials button{display:grid;gap:5px;text-align:left;justify-content:stretch;background:#13271b;border-color:#44543a;padding:11px}.linked-materials small{color:#a9b69a;font-size:10px}.linked-materials strong{font-size:13px;font-weight:500}
.dice-dock{padding:14px 17px;border-top:1px solid #5b6040;background:#102117;display:grid;gap:10px}.dice-dock form{display:grid;gap:6px}.dice-dock form>label{font-size:11px;color:#cab980;margin:0}.dice-controls{display:grid;grid-template-columns:1fr 1.3fr;gap:7px}.dice-controls input{font-size:17px;min-height:42px;text-align:center;padding:7px}.dice-options summary{font-size:10px;color:#9caf95}.dice-options label{margin:9px 0 2px;font-size:11px}.last-roll{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:24px}.last-roll span{font-size:10px;color:#a9b99e}.last-roll strong{font:24px Georgia,serif;color:#e2cb8c}.dock-tools{display:flex;justify-content:space-between;gap:6px}.dock-tools>button{background:transparent;border:0;padding:5px 0;font-size:11px;min-height:25px}.dock-tools .compact-menu>summary{border:0;background:transparent;padding:5px;font-size:11px;min-height:25px}
.party-dock{display:flex;align-items:center;gap:18px;border:1px solid #7d7450;background:linear-gradient(#213620,#112317);padding:10px 16px;min-height:91px;box-shadow:inset 0 0 0 3px #15271b}.party-label{writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:2px;color:#bfb383;flex-shrink:0}.party-portraits{display:flex;gap:9px;overflow-x:auto;min-width:0;flex:1;padding:3px}.party-token{padding:3px 10px 3px 3px;display:flex;gap:10px;align-items:center;min-width:145px;text-align:left;justify-content:flex-start;border-color:#6b6e48;background:#0f2118;flex-shrink:0}.party-token span:not(.portrait):not(.portrait-fallback){display:grid;gap:6px}.party-token strong{font:14px Georgia,serif;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.party-token small{color:#a8c1a0;font-size:11px}.party-token.selected,.party-token.current-turn{border-color:#decc8e;background:#2a3e26;box-shadow:inset 0 0 0 1px #b6a873}.turn-dock{display:grid;gap:3px;min-width:145px}.turn-dock small{font-size:10px}.turn-dock strong{font-size:12px}.turn-dock button{font-size:11px;padding:7px;min-height:31px}
.portrait{display:block;position:relative;width:49px;height:65px;border:1px solid #a99869;overflow:hidden;background:#d1c39f;flex-shrink:0}.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;mix-blend-mode:multiply}.portrait-fallback{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(#3a5536,#14281b)}.portrait-fallback svg{height:90%;width:90%;fill:#78926d;opacity:.6}.portrait-outline{fill:none;stroke:#ddca8a;stroke-width:1.5}.portrait-fallback b{position:absolute;bottom:5px;font:15px Georgia,serif;color:#eee0b7}.has-art .portrait-fallback{display:none}.has-art.missing-art .portrait-fallback{display:grid}.portrait-full{width:100%;height:100%;min-height:350px;border:0}.portrait-full img{object-fit:contain;object-position:center}.portrait-full .portrait-fallback svg{width:80%;height:75%}.portrait-full .portrait-fallback b{bottom:10%;font-size:58px}
.inspector-character{display:flex;gap:13px;align-items:center}.inspector-character .portrait{width:60px;height:81px}.inspector-character h2{font-size:21px}.inspector-character p{margin-top:5px;font-size:11px}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mini-stats>span{border:1px solid #49563d;padding:8px 4px;display:grid;gap:6px;text-align:center}.mini-stats small{font-size:9px;line-height:1.3}.mini-stats b{font:22px Georgia,serif;color:#e0c98c}
.dossier-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.character-list{display:flex;flex-direction:column;gap:9px;max-height:calc(100dvh - 185px);overflow:auto;padding:2px}.character-choice{justify-content:flex-start;text-align:left;gap:10px;background:#15281c;border-color:#4d5b3d;padding:7px}.character-choice>span:last-child{display:grid;gap:7px;min-width:0}.character-choice strong{font:15px Georgia,serif;overflow-wrap:anywhere}.character-choice small{font-size:10px}.character-choice.selected{border-color:#c5b179;background:#2b3d25}
.dossier{display:grid;grid-template-columns:minmax(200px,.75fr) minmax(0,1.7fr);border:1px solid #978557;background:#112319;min-width:0;box-shadow:inset 0 0 0 4px #1c2d1e}.dossier-art{background:linear-gradient(#cbbb96,#e0d4ae,#a89b71);min-height:580px;display:flex;flex-direction:column;margin:8px;position:relative;border:3px double #6e6947}.dossier-art .portrait-full{flex:1;min-height:400px}.dossier-caption{padding:22px 14px 25px;display:grid;gap:7px;text-align:center;color:#29351f;border-top:1px solid #91835b;background:#c4b991}.dossier-caption strong{font:25px Georgia,serif}.dossier-caption span{font-size:11px;text-transform:uppercase;letter-spacing:1.5px}.dossier-caption small{color:#51593e;font-size:11px}
.dossier-body{padding:28px;display:flex;flex-direction:column;gap:22px;min-width:0}.dossier-heading{display:flex;gap:15px;align-items:center;justify-content:space-between}.dossier-heading h2{font-size:28px;margin:7px 0}.dossier-heading p{font-size:12px;color:#aeba9f}.vital-strip{display:flex;gap:22px;flex-wrap:wrap;padding:15px 0;border-top:1px solid #536041;border-bottom:1px solid #536041}.vital-strip>span{display:grid;gap:7px}.vital-strip small{font-size:10px;text-transform:uppercase;letter-spacing:1px}.vital-strip strong{font:23px Georgia,serif;color:#e3d098}.condition-line{font-size:12px;color:#a8c59c}.section-heading{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#bdb484;margin:0 0 13px}.dossier .stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.dossier .stat{border-color:#52623e;border-radius:0;background:#0c1c12;padding:12px 6px}.dossier .stat small{font-size:9px;line-height:1.4;display:block;min-height:24px}.dossier .stat strong{font:29px Georgia,serif;margin-top:5px}
.dossier-sections{display:grid;gap:12px}.dossier-sections>details{border-top:1px solid #46553b;padding:14px 0}.dossier-sections summary{font-family:Georgia,serif;font-size:17px;color:#d6c28b}.dossier-sections details>p,.dossier-sections .paper{margin-top:15px}.dossier-skills{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:18px}.dossier-skills h3{font-size:11px;color:#a4b795;text-transform:uppercase;letter-spacing:1px}.dossier-skills ul{padding-left:16px;font-size:12px;line-height:1.8;color:#d0dac3}.inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px;margin-top:20px}.inventory-tile{border:3px double #837a50;padding:14px 10px;display:grid;gap:12px;text-align:center;background:#1b3020}.item-seal{font:28px Georgia,serif;color:#d7c18c}.inventory-tile strong{font-size:11px;line-height:1.5}.inventory-tile small{font-size:10px}
dialog{padding:0;width:min(930px,95vw);max-height:92dvh;border:3px double #b1a06b;border-radius:3px;overflow:hidden;background:#14261b}dialog::backdrop{background:#030a07d9;backdrop-filter:blur(3px)}dialog form.dialog-form{display:flex;flex-direction:column;gap:0;max-height:89dvh;margin:0}.dialog-head{padding:22px 26px;border-bottom:1px solid #606342;background:#1c3020;flex-shrink:0}.dialog-head h2{font-size:24px}.dialog-body{overflow:auto;padding:24px 26px;display:grid;gap:18px;min-height:0;flex:1}.dialog-body>.formgrid{margin:0}dialog .actions{padding:16px 25px;border-top:1px solid #646443;flex-shrink:0;background:#17291c;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0}.actions .danger{margin-right:auto}.scene-preview{padding:17px;border-left:2px solid #aa9868;background:#0e1e14;white-space:pre-wrap;max-height:220px;overflow:auto;font:15px/1.7 Georgia,serif}.material-results{display:grid;gap:8px}.material-results button{display:grid;gap:8px;text-align:left;justify-content:stretch;padding:14px}.material-results small{line-height:1.5}.journal-records{display:grid;gap:0}.journal-records article{display:grid;grid-template-columns:45px 1fr;gap:15px;padding:15px 0;border-bottom:1px solid #445338}.journal-records time{font-size:10px;color:#c4b683}.journal-records p{font-size:12px}
.combat-stage{overflow:auto}.combat-stage .combatpanel{border:0;padding:24px;margin:0;background:transparent;border-radius:0;gap:18px}.combat-stage .combatgrid{grid-template-columns:minmax(180px,.8fr) 1.2fr;gap:22px;margin:10px 0}.combat-stage .combatgrid>div{display:grid;align-content:start;gap:10px}.combat-stage .formgrid{gap:12px}.combat-settings{border:1px solid #4c5a3b;padding:10px}.combat-settings>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:12px 0 3px}.combat-stage .combatpanel .log{font-size:11px;max-height:250px}.combat-stage .combatpanel>details>summary{font-size:12px;color:#b8ba98}
@media(min-width:1600px){.workspace .content{padding:26px 36px}.table-layout{grid-template-columns:minmax(0,1fr) 360px;height:calc(100dvh - 310px)}.dossier-body{padding:34px}.dossier-layout{grid-template-columns:245px minmax(0,1fr)}}
@media(max-width:1150px){.workspace-header{gap:16px;padding:15px 20px}.wordmark{font-size:19px}.wordmark small{font-size:8px;letter-spacing:2px}.workspace-nav.nav button{padding:10px 12px;font-size:12px}.workspace-account>select{width:170px}.workspace .content{padding:20px}.table-layout{grid-template-columns:minmax(0,1fr) 290px}.dossier-layout{grid-template-columns:175px minmax(0,1fr)}.dossier{grid-template-columns:minmax(160px,.65fr) minmax(0,1.4fr)}.dossier-body{padding:22px}.dossier .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.character-choice .portrait{width:36px;height:50px}.character-choice strong{font-size:13px}.character-choice{padding:5px}.scene-paper{padding:25px}.scene-paper p{font-size:16px}}
@media(max-width:850px){.workspace-header{flex-wrap:wrap;padding:14px 18px;gap:13px}.wordmark{margin-right:auto}.workspace-nav.nav{order:3;width:100%;justify-content:center;margin:0;border-top:1px solid #46543a;padding-top:12px}.workspace-nav.nav button{flex:1}.workspace-account>select{width:180px}.table-layout{height:auto;min-height:0;grid-template-columns:1fr}.table-stage{height:56dvh;min-height:350px}.table-inspector{display:grid;grid-template-columns:1.2fr 1fr;max-height:400px}.inspector-header{grid-column:1/-1}.inspector-body{padding:18px;overflow:auto}.dice-dock{border-top:0;border-left:1px solid #5b6040;align-content:start}.party-dock{gap:10px}.table-heading h1{font-size:22px}.live-dot{display:none}.dossier-layout{grid-template-columns:1fr}.character-list{flex-direction:row;max-height:none;overflow:auto}.character-choice{min-width:165px}.dossier-art{min-height:490px}.dossier-art .portrait-full{min-height:300px}.dossier-body{padding:22px}.preparation-heading{align-items:flex-start}.heading-actions{gap:8px}#stageContext select{max-width:200px}}
@media(max-width:550px){.workspace-header{padding:12px;gap:12px}.wordmark{font-size:17px;letter-spacing:1.2px}.brand-seal{width:27px;height:27px;font-size:17px}.wordmark small{display:none}.workspace-account{gap:7px;flex:1;justify-content:flex-end}.workspace-account>select{width:112px;max-width:36vw;font-size:11px;padding:6px;min-height:35px}.workspace-menu>summary{font-size:11px;padding:8px;min-height:35px}.workspace-nav.nav{gap:3px;padding-top:10px}.workspace-nav.nav button{font-size:12px;padding:9px 5px;min-height:38px}.workspace .content{padding:16px 12px}.workspace-status{padding:7px 12px;font-size:9px}.table-heading{align-items:flex-start}.table-heading h1{font-size:20px;line-height:1.3}.table-heading .eyebrow{font-size:8px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-heading-actions button{font-size:10px;min-height:34px;padding:7px}.stage-toolbar{padding:8px;gap:4px;flex-wrap:wrap}.stage-views button{font-size:12px;padding:6px 10px;min-height:32px}#stageContext select{max-width:135px;min-height:32px;width:135px}#stageContext button{width:27px;min-height:31px;font-size:15px}.table-stage{height:47dvh;min-height:310px}.stage-caption{bottom:10px;left:10px;padding:7px 10px}.stage-caption strong{font-size:14px}.stage-caption span{font-size:9px}.table-inspector{display:flex;max-height:none}.inspector-header{padding:11px 15px}.inspector-body{max-height:320px;min-height:120px;padding:18px}.dice-dock{border-left:0;border-top:1px solid #5b6040;padding:14px 16px}.dice-dock form{grid-template-columns:1fr;gap:8px}.dice-controls{grid-template-columns:1fr 1.4fr}.dice-options{margin-top:2px}.party-dock{padding:8px;gap:7px}.party-token{min-width:130px;gap:7px}.party-token .portrait{width:40px;height:54px}.party-token strong{font-size:12px;max-width:95px}.party-label{font-size:8px}.turn-dock{min-width:95px;max-width:110px}.turn-dock strong{font-size:10px}.turn-dock button{font-size:10px}.scene-stage{padding:18px 13px}.scene-paper{padding:22px 18px;min-height:90%}.scene-paper h2{font-size:23px}.scene-paper p{font-size:15px;line-height:1.75}.scene-ornament{margin-bottom:7px}.scene-rule{margin:17px 0}.heading-actions{width:100%}.heading-actions>button{font-size:12px}.preparation-progress{gap:10px}.preparation-progress select{width:100%;max-width:none}.progress-track{flex-basis:100%}.prep-footer{gap:6px;flex-wrap:wrap}.prep-footer>button{font-size:11px;padding:8px 10px}.preparation-paper{padding:18px}.dossier{display:block}.dossier-art{height:330px;min-height:0;display:grid;grid-template-columns:1fr 1fr;margin:7px}.dossier-art .portrait-full{min-height:0;height:100%;width:100%}.dossier-caption{border-top:0;border-left:1px solid #91835b;align-content:center;padding:18px 10px}.dossier-caption strong{font-size:23px}.dossier-body{padding:20px 17px;gap:18px}.dossier-heading{align-items:flex-start}.dossier-heading h2{font-size:24px}.dossier-heading button{font-size:11px;min-height:33px;padding:7px}.dossier .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.vital-strip{gap:18px}.vital-strip strong{font-size:21px}.dossier-skills{grid-template-columns:1fr;gap:16px}dialog{width:calc(100vw - 18px);max-height:92dvh}dialog form.dialog-form{max-height:89dvh}.dialog-head{padding:17px 18px}.dialog-head h2{font-size:21px}.dialog-body{padding:18px;gap:16px}dialog .actions{padding:13px 16px;gap:8px}dialog .actions button{min-height:43px;font-size:12px;padding:10px 13px}.dialog-body .roles{grid-template-columns:repeat(3,minmax(0,1fr))}.menu-popover{max-width:calc(100vw - 28px)}.combat-stage .combatpanel{padding:17px}.combat-stage .combatgrid{grid-template-columns:1fr}.scene-preview{font-size:14px}.material-results button{padding:12px}.journal-records article{gap:10px}.menu-up{right:0}}
.portrait:not(.portrait-full) img{transform:scale(2.5);transform-origin:50% 10%}
.inventory-editor{display:grid;gap:9px}.inventory-editor-head,.inventory-editor-row{display:grid;grid-template-columns:minmax(100px,1fr) 70px 110px 70px;gap:7px;align-items:center}.inventory-editor-head{font-size:10px;color:#a7b79a}.inventory-editor-row input{min-width:0;font-size:12px;padding:9px}.inventory-editor-row button{padding:5px;font-size:10px;min-height:40px}.inventory-editor>#addInventoryRow{justify-self:start;margin-top:6px}.dossier .stat small{font-size:11px;min-height:28px}
@media(max-width:550px){.inventory-editor-head{display:none}.inventory-editor-row{grid-template-columns:1fr 1fr;border-bottom:1px solid #44543a;padding-bottom:13px}.inventory-editor-row>[data-item-field=name]{grid-column:1/-1}.inventory-editor-row button{grid-column:1/-1;justify-self:end;padding:8px 13px}.dossier .stat small{font-size:10px}}
.brand-seal{transform:none;border:0;outline:0;position:relative}.brand-seal:before{content:'';position:absolute;inset:0;border:1px solid #a9986e;outline:1px solid #5f6246;outline-offset:4px;transform:rotate(45deg)}
@media(min-width:851px){.table-layout{height:calc(100dvh - 340px);min-height:380px}.dossier-body{gap:18px}.dossier-sections>details{padding:11px 0}.dossier .stat{padding:9px 6px}.dossier-skills ul{max-height:150px;overflow:auto}.vital-strip{padding:12px 0}}
@media(min-width:1600px){.table-layout{height:calc(100dvh - 355px)}}
.hosting-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin-bottom:20px}.hosting-panel h2{margin:10px 0;font:25px Georgia,serif;color:#ddca91}.hosting-panel p{max-width:760px;line-height:1.6;overflow-wrap:anywhere}.hosting-controls{display:grid;gap:10px;max-width:300px}.room-invite-actions{margin:20px 0}.room-invitation{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:30px;align-items:center;margin:20px 0}.room-invitation-copy{min-width:0;display:grid;gap:14px}.room-invitation h2{font:24px Georgia,serif}.room-invitation label{margin:0}.room-invitation input{width:100%;min-width:0;font-size:13px}.room-invitation .help{line-height:1.7}.room-qr{display:grid;justify-items:center;gap:10px}.room-qr svg{width:220px;height:220px;max-width:100%;background:white}.room-qr small{font-size:10px;text-align:center}.hosting-controls button{white-space:normal}.table-heading-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:650px){.hosting-panel,.room-invitation{grid-template-columns:1fr;gap:20px}.hosting-controls{max-width:none}.room-invitation .row{display:grid;grid-template-columns:1fr}.room-qr svg{width:230px;height:230px}.room-invitation{padding:20px}.table-heading-actions{max-width:150px}}
.readiness-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:15px;padding:12px 0;border-bottom:1px solid #43523a;align-items:start}.readiness-row p{font-size:12px;line-height:1.6;margin-top:7px;color:#b9c7ad}.readiness-row .tag{justify-content:center;text-align:center;font-size:10px}.backup-section{display:grid;gap:15px;border-top:1px solid #80754d;padding-top:22px}.backup-section .help{line-height:1.7}.backup-section>button{justify-self:start}#backupList{display:grid;gap:12px}#checkpointPicker{max-width:100%;min-width:0}.import-review-summary{display:grid;gap:10px;padding:14px;border:1px solid #6d704b;background:#13271b}.import-review-summary p{line-height:1.6}
@media(max-width:550px){.readiness-row{grid-template-columns:1fr;gap:8px}.readiness-row .tag{justify-self:start}.backup-section .row{display:grid;grid-template-columns:1fr}.backup-section>button{width:100%;white-space:normal}#checkpointPicker{font-size:11px}}
.preflight-details{border:1px solid #52613e;padding:14px}.preflight-details>summary{font:17px Georgia,serif;color:#d7c18b;cursor:pointer}.preflight-details[open]>summary{margin-bottom:18px}#outlineReview{max-height:none;overflow:visible;display:grid;gap:14px}#outlineReview .card{margin:0}#draftSummary{font-size:13px;line-height:1.8;color:#dfca8f}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.roll-pending-notice{font-size:11px;line-height:1.6;color:#e5ce94;margin:0}.dice-dock #retryPendingRoll{font-size:11px;line-height:1.5;white-space:normal;text-align:center;padding:9px 12px;width:100%}.last-roll,.roll-receipt{flex-wrap:wrap}.roll-receipt{display:flex;align-items:center;justify-content:space-between;gap:8px 10px;padding:9px 0 0;border-top:1px solid #52613e}.roll-receipt-label{flex-basis:100%;font-size:10px;line-height:1.5;color:#e5ce94}.last-roll>span,.roll-receipt>span{overflow-wrap:anywhere;flex:1;min-width:0}.last-roll>strong,.roll-receipt>strong{flex-shrink:0}.roll-receipt>span{font-size:10px;color:#a9b99e}.roll-receipt>strong{font:22px Georgia,serif;color:#e2cb8c}
@media(max-width:850px){.table-layout{max-height:none}.table-inspector{max-height:none}.dice-dock{flex-shrink:0}}

.quick-rule-topics{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.quick-rule-topics button{min-height:44px;white-space:normal}.quick-rule-topics button[aria-pressed=true]{border-color:#dbc27d;background:#354429}.quick-rule-card{padding:16px 0;border-bottom:1px solid #52613e;display:grid;gap:10px;overflow-wrap:anywhere}.quick-rule-card h3{font:20px Georgia,serif}.quick-rule-card p{line-height:1.6}.quick-rule-source{font-size:11px;color:#cab980}#quickReference input,#quickReference select{width:100%;min-width:0;min-height:44px}

#accountSessionList button,#revokeOtherSessions,#revokeAllSessions{min-height:44px}

/* Scene artwork does not change map coordinates or the readable text surface. */
.scene-background-art{display:block;max-width:100%;object-fit:cover;pointer-events:none}
#sceneBackgroundField{min-width:0}#sceneBackgroundId{min-height:44px}#sceneBackgroundField .help{margin:8px 0 12px}
#sceneBackgroundPreview{width:min(100%,560px);aspect-ratio:3/2;overflow:hidden;border:1px solid #88764e;background:#0b1410}#sceneBackgroundPreview .scene-background-art{width:100%;height:100%}
.scene-stage.has-background{position:relative;isolation:isolate;padding-top:clamp(145px,26vh,260px);background:#0b1410}
.scene-stage.has-background>.scene-background-art{position:absolute;inset:0;width:100%;height:100%;z-index:-2;opacity:.86}
.scene-stage.has-background::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#06100a14,#06100a33 35%,#06100ad9);pointer-events:none}
.scene-stage.has-background .scene-paper{min-height:60%;background:#0c1714ed;color:#ececdd;border-color:#99855c;box-shadow:0 12px 45px #0008}
.scene-stage.has-background .scene-paper h2{color:#ead59a}.scene-stage.has-background .scene-paper .eyebrow,.scene-stage.has-background .scene-ornament{color:#cdbd87}
@media(max-width:650px){.scene-stage.has-background{padding-top:145px}.scene-stage.has-background .scene-paper{padding:22px 20px}}
.menu-popover>a{display:block;color:inherit;text-decoration:none;padding:10px 12px;min-height:44px;border:1px solid transparent;border-radius:6px;font-size:13px}.menu-popover>a:hover,.menu-popover>a:focus-visible{border-color:#6a7855;background:#263c29}#preparationHelp{margin:14px 0;padding:12px;border:1px solid #98a386;border-radius:6px}#preparationHelp summary{cursor:pointer;font-weight:600;min-height:32px}

.character-check{min-height:44px;max-width:100%;padding:6px 10px;font-size:12px}.character-check-options{margin:12px 0;overflow-wrap:anywhere}.character-check-options select,.character-check-options input[type=number]{max-width:100%;box-sizing:border-box}.character-check-options [data-test-skill-list] p{display:flex;align-items:center;justify-content:space-between;gap:8px}.stats .stat{min-width:0}.mini-stats>span{min-width:0}.mini-stats .character-check{display:block;width:100%}
