/* 0.48.8.2: calm theme, one scene surface, compact recovery and service lists. */
:root,:root[data-theme="dark"]{--tone-positive4882:#91aaa0;--tone-positive-soft4882:rgba(125,150,137,.12);--pda-hi:#a4b6aa;--pda-fg:#c4cec5;--pda-muted:#99a99e;--pda-trim:#52645b;--mint:#91aaa0;--green:#91aaa0;--ui-highlight:#a4b6aa;--pix-accent:#91aaa0;--accent:#91aaa0}
:root[data-theme="light"]{--tone-positive4882:#48675a;--tone-positive-soft4882:rgba(82,111,94,.07);--pda-hi:#466253;--pda-fg:#2c4035;--pda-muted:#566b5f;--pda-trim:#9aa99e;--mint:#48675a;--green:#48675a;--ui-highlight:#466253;--pix-accent:#48675a;--accent:#48675a}
html body .retired4882,html body #exploration-progress4881,html body #action-detail-slot{display:none!important}
#game-shell #reaction-detail-slot .scene-deck{margin:8px 0 0!important;padding:8px 0!important;border:0!important;max-width:100%;background:transparent!important}
#game-shell #primary-actions>.scene-choice{display:inline-flex!important;justify-content:center;align-items:center;gap:5px}
#game-shell #primary-actions>.scene-choice>.action-icon484{width:16px;height:16px;flex:0 0 16px}
#game-shell #primary-actions>.scene-choice:has(.action-icon484)::before{content:none!important}
#game-shell #scene-root :is(.scene-module-grid,.service-list4882){display:flex!important;flex-direction:column!important;gap:7px!important}
#game-shell #scene-root .scene-module{justify-content:flex-start!important;align-items:center!important;text-align:left!important;padding:9px 10px!important;min-height:0!important;margin:0!important}
#game-shell #scene-root .scene-module:before{content:none!important}
#game-shell #scene-root .scene-module .action-copy484{flex:1;min-width:0;text-align:left!important}
#game-shell #scene-root .scene-module .action-copy484 small{margin-top:3px;line-height:1.5}
#game-shell .duration4871{display:flex!important;align-items:center!important;justify-content:flex-start;flex-wrap:nowrap!important;gap:5px!important;width:100%;max-width:440px;margin:9px 0}
#game-shell .duration4871 label{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:4px!important;min-width:0;flex:1 1 65px;width:auto!important;white-space:nowrap;font-size:10px!important;margin:0!important}
#game-shell .duration4871 input{display:block!important;width:42px!important;min-width:25px!important;max-width:58px;height:32px!important;padding:4px 1px!important;font-size:11px!important;margin:0!important;flex:1 1 32px;appearance:textfield;-moz-appearance:textfield}
#game-shell .duration4871 input::-webkit-inner-spin-button,#game-shell .duration4871 input::-webkit-outer-spin-button{appearance:none;margin:0}
#game-shell .duration4871 b{margin:0!important;flex:none;font-size:10px}
#game-shell #rest-free4871{min-width:0!important;white-space:nowrap;height:32px;flex:none;font-size:10px!important;padding:5px 6px!important;margin:0!important}
#game-shell #rest-free4871[aria-pressed="true"]{background:var(--tone-positive-soft4882)!important;border-color:var(--ui-text)!important}
#game-shell .service-card4882{display:grid!important;grid-template-columns:29px minmax(0,1fr);gap:4px 9px;padding:12px!important;min-width:0;border:1px solid var(--ui-border);border-radius:4px;background:var(--action-row4871);color:var(--ui-text);margin:7px 0;box-sizing:border-box}
#game-shell .service-card4882>.action-icon484{grid-column:1;grid-row:1/3;align-self:center;width:25px;height:25px}
#game-shell .service-copy4882{grid-column:2;min-width:0}
#game-shell .service-card4882 h4,#game-shell .production-order4882 h4,#game-shell .production-claim4882 h4{font:700 11px/1.5 var(--pixel)!important;margin:0!important;color:var(--ui-text)!important}
#game-shell .service-card4882 p,#game-shell .production-order4882 p{font-size:10px!important;font-weight:400;line-height:1.6!important;margin:4px 0!important;word-break:keep-all;overflow-wrap:anywhere}
#game-shell .service-card4882 small,#game-shell #production4882 small{display:block;font-size:9px!important;font-weight:400;line-height:1.6!important;color:var(--ui-sub)!important;margin:3px 0!important;word-break:keep-all;overflow-wrap:anywhere}
#game-shell .service-controls4882{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;grid-column:2;margin-top:2px;min-width:0}
#game-shell .service-material4882{display:flex;justify-content:space-between;align-items:center;gap:7px;margin:5px 0}
#game-shell .service-heading4882,#game-shell #production4882>h3{font-size:12px!important;line-height:1.5!important;margin:16px 0 8px!important;padding:0!important;color:var(--ui-text)!important}
#game-shell [data-scene="vault"] :is(.private-vault-panel,.room-panel4882){padding:10px 0!important;margin:0 0 10px!important;border:0!important;background:none!important}
#game-shell [data-scene="vault"] :is(h2,h3),#game-shell .records-panel4882 h3{font-size:12px!important;line-height:1.5!important;font-weight:700!important;margin:0 0 8px!important}
#game-shell [data-scene="vault"] .section-header{padding:0!important;border:0!important;margin:0!important}
#game-shell [data-scene="vault"] .mini-heading{font-size:11px!important;font-weight:700;line-height:1.6;padding:0!important;margin:13px 0 7px!important;color:var(--ui-text)!important}
#game-shell #vault-capacity{font-size:10px!important;padding:9px!important;margin:0 0 9px!important;border:1px solid var(--ui-border)!important;background:var(--action-row4871)!important;color:var(--ui-sub)!important;line-height:1.6}
#game-shell .vault-controls{display:flex!important;align-items:flex-end;gap:7px;flex-wrap:wrap;padding:0!important;border:0!important;background:none!important;margin:7px 0!important}
#game-shell .vault-controls label{display:flex;flex-direction:column;gap:4px;font-size:10px;min-width:0;flex:1 1 95px}
#game-shell .vault-controls label:nth-child(2){flex:0 1 65px}
#game-shell .vault-controls :is(select,input){width:100%;height:32px;box-sizing:border-box;margin:0!important;padding:6px!important;font-size:10px!important;min-width:0}
#game-shell .vault-controls .row-actions{margin:0!important;gap:5px;align-items:center}
#game-shell .vault-controls button{height:32px;padding:5px 7px!important;font-size:10px!important;margin:0!important}
#game-shell [data-scene="vault"] .vault-list{display:flex!important;flex-direction:column!important;gap:4px!important}
#game-shell [data-scene="legacy"] .records-panel4882{padding:12px 0!important;margin:0!important;border:0!important;background:none!important;border-radius:0!important}
#game-shell .records-panel4882 .section-header{border:0!important;padding:0!important;margin:0!important}
#game-shell .records-panel4882 .notes-list{padding:0!important;border:0!important;margin:0 0 9px!important;max-height:340px}
#game-shell .records-panel4882 #note-form{margin:0!important}
#game-shell :is(.small-form,.game-mini-form,.pda-inline,.inline-form,#private-radio-form,#party-message-form-v45,#chat-form,#note-form,#command-form){display:flex!important;align-items:center!important;gap:6px!important;min-width:0;padding:0!important;border:0!important;background:transparent!important;outline:none!important;box-shadow:none!important}
#game-shell :is(.small-form,.game-mini-form,.pda-inline,.inline-form,#private-radio-form,#party-message-form-v45,#chat-form,#note-form,#command-form)>:is(input,textarea,select){margin:0!important;align-self:center!important;min-width:0;flex:1;box-sizing:border-box;line-height:1.5}
#game-shell :is(.small-form,.game-mini-form,.pda-inline,.inline-form,#private-radio-form,#party-message-form-v45,#chat-form,#note-form,#command-form)>button{align-self:center!important;margin:0!important;flex:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
#game-shell :is([data-terminal-screen="status"],[data-terminal-screen="colony"]) :is(.pda-section-heading,.pda-camp-step,.growth-stat,.record-label,.life-entry,.life-card,.growth-value){color:var(--ui-sub)!important;text-shadow:none!important}
#game-shell :is([data-terminal-screen="status"],[data-terminal-screen="colony"]) :is(a,.positive,.success,.complete,.done){color:var(--tone-positive4882)!important;text-shadow:none!important}
#game-shell [data-terminal-screen="status"] details>summary{color:var(--ui-text)!important}
#game-shell #production4882{padding:10px 0;min-width:0}
#game-shell #production4882>.muted{font-size:10px;line-height:1.6;word-break:keep-all}
#game-shell .production-reserve4882{display:grid;grid-template-columns:minmax(0,1fr) 58px auto;align-items:end;gap:7px;margin:10px 0}
#game-shell .production-reserve4882 label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:10px}
#game-shell .production-reserve4882 :is(input,select){min-width:0;width:100%;box-sizing:border-box;height:32px;padding:4px!important;font-size:10px!important}
#game-shell .production-reserve4882 button{height:32px;margin:0!important;padding:5px 9px!important;font-size:10px}
#game-shell .production-costs4882{margin:8px 0 13px}
#game-shell .production-order4882,#game-shell .production-claim4882{padding:11px;border:1px solid var(--ui-border);border-radius:4px;background:var(--action-row4871);margin:8px 0;min-width:0}
#game-shell .production-heading4882{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px}
#game-shell .production-inline4882{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap;margin:8px 0 0!important;padding:0!important;border:0!important;background:none!important}
#game-shell .production-inline4882>select{flex:1;min-width:0;max-width:100%;font-size:10px;padding:5px!important;height:29px}
#game-shell .production-inline4882>input{width:55px;min-width:35px;max-width:75px;flex:0 1 55px;font-size:10px;padding:5px!important;height:29px}
#game-shell .production-inline4882>span{flex:1;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
#game-shell .production-order4882 progress{appearance:none;width:100%;height:5px;border:0;margin:6px 0 2px;background:var(--ui-border)}
#game-shell .production-order4882 progress::-webkit-progress-bar{background:var(--ui-border)}
#game-shell .production-order4882 progress::-webkit-progress-value{background:var(--tone-positive4882)}
#game-shell .production-order4882 progress::-moz-progress-bar{background:var(--tone-positive4882)}
#game-shell .production-claim4882{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}
@media(max-width:420px){#game-shell .duration4871{gap:3px!important}#game-shell .duration4871 label{gap:2px!important;font-size:9px!important}#game-shell #rest-free4871{padding:5px 4px!important;font-size:9px!important}#game-shell .service-card4882{padding:9px!important;gap:3px 7px;grid-template-columns:25px minmax(0,1fr)}#game-shell .service-card4882>.action-icon484{width:22px;height:22px}}
