/* Presentation only: the virtual 1600 × 900 stage and panel geometry remain owned
   by the game. No transform animation is used on an interactive surface. */
:root {
  --ui-ink:#392a1c; --ui-muted:#79654a; --ui-bronze:#8d693c;
  --ui-gold:#cfab66; --ui-paper:#ede0bf; --ui-paper-deep:#d7c39a;
  --ui-edge:rgba(117,85,42,.34); --ui-radius:6px;
  --ui-shadow:0 18px 60px #100c09a6,0 0 0 1px #29190db3;
}
#buildingPanel, #worldMapPanel:not(.world-global-mode):not(.world-battle-mode) {
  color:var(--ui-ink);
  background-color:var(--ui-paper);
  background-image:radial-gradient(ellipse at 15% 5%,#fff7df85,transparent 48%),linear-gradient(115deg,#ede0bf,#d9c49d);
  border-color:#b28c50;
  border-radius:8px;
  box-shadow:var(--ui-shadow),inset 0 0 0 3px #f4e9cb,inset 0 0 0 4px #bda06e;
}
#buildingPanel .panel-heading, #worldMapPanel:not(.world-global-mode):not(.world-battle-mode) .world-heading {
  position:relative;
  background:linear-gradient(110deg,#34271d,#665039 68%,#3d2d20);
  color:#f6e8c8;
  border:1px solid #ab8652;
  border-radius:5px;
  padding:2px 10px!important;
  margin-bottom:0!important;
  box-shadow:inset 0 1px #e0c59244,0 3px 9px #6c4c222b;
}
#buildingPanel .panel-heading h1, #worldMapPanel:not(.world-global-mode):not(.world-battle-mode) .world-heading h1 {
  font-size:18px!important; line-height:1.2; letter-spacing:.2px;
  color:#fff1d1; text-shadow:0 2px 2px #1d120b;
}
#buildingPanel .panel-close, #worldMapPanel:not(.world-global-mode):not(.world-battle-mode) .panel-close {
  width:28px; height:28px; flex:0 0 28px; padding:0;
  border:1px solid #ba9865; border-radius:5px; color:#f6e5c1;
  background:linear-gradient(#775b3f,#4b3523); box-shadow:inset 0 1px #e5cc922b;
  font-size:22px; line-height:1;
}
#buildingPanel .city-center-tabs {
  border:1px solid var(--ui-edge); border-radius:5px;
  background:linear-gradient(#aa8b5538,#85613916);
  box-shadow:inset 0 1px #fff8de99; min-width:0;
}
#buildingPanel .city-center-tab {
  color:#715735; background:transparent; border-color:transparent;
  border-radius:4px; box-shadow:none; font-weight:700;
}
#buildingPanel .city-center-tab:is(.is-active,[aria-selected=true]),
.ledger-tabs button[aria-pressed=true],.raid-tabs button[aria-selected=true],.raid-tabs button.is-active {
  color:#fff1ce; background:linear-gradient(#9b7747,#684923);
  border-color:#a1814d; box-shadow:inset 0 1px #efd7a755,0 2px 5px #6a472c2e;
}
#buildingPanel .city-center-pages {
  border:1px solid var(--ui-edge); border-radius:5px;
  background:linear-gradient(135deg,#faf1d434,#c2a77a12);
  box-shadow:inset 0 1px #fff9df80;
}
:is(#buildingPanel,#worldMapPanel) :is(button,.game-action,.import-label) {
  transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease,color 140ms ease;
  touch-action:manipulation;
}
:is(#buildingPanel,#worldMapPanel):not(.world-battle-mode) :is(.game-action,.building-design-card,.ledger-table button,.ledger-tabs button,.recruit-ledger button,.compact-army button,.raid-console button,.settings-layout button) {
  border-radius:5px; border-color:#987344;
  background:linear-gradient(#896741,#513722); color:#fff0d0;
  box-shadow:inset 0 1px #e3c58e66,0 2px 3px #6f4f2526;
  text-shadow:0 1px #26160d66; font-weight:700;
}
:is(#buildingPanel,#worldMapPanel) button:not(:disabled):hover {
  border-color:#caa35c; box-shadow:inset 0 1px #f9e7bc66,0 0 0 1px #d8b87033;
}
:is(#buildingPanel,#worldMapPanel) button:not(:disabled):active {box-shadow:inset 0 2px 5px #20120e55;}
:is(#buildingPanel,#worldMapPanel) :is(button,input,select,summary,a):focus-visible {
  outline:2px solid #715a30; outline-offset:3px; box-shadow:0 0 0 4px #fff5d766;
}
:is(#buildingPanel,#worldMapPanel) button:disabled {
  cursor:not-allowed; opacity:.5; filter:saturate(.35); text-shadow:none;
  box-shadow:inset 0 1px #f2ddb222;
}
:is(#buildingPanel,#worldMapPanel) :is(input:not([type=range]):not([type=file]):not([type=checkbox]),select) {
  color:#3d2a18; background:linear-gradient(#f9efda,#e9d7b2);
  border:1px solid #aa8c58; border-radius:4px;
  box-shadow:inset 0 2px 3px #654b2514; font-variant-numeric:tabular-nums;
}
:is(#buildingPanel,#worldMapPanel) input[type=range] {accent-color:#936d38; cursor:pointer;}
.ledger-table {border:1px solid var(--ui-edge);background:#f7ebce30;font-variant-numeric:tabular-nums;}
.ledger-table th {background:linear-gradient(#bea37366,#aa8d5533);color:#6d5534;letter-spacing:.25px;}
.ledger-table td {border-bottom-color:#a68a5545;}
.ledger-table tr:nth-child(even) {background:#fbf3dc48;}
.ledger-table tbody tr:hover {background:#fff1c778;}
.ledger-name {gap:12px;}
.ledger-name>img {filter:drop-shadow(0 3px 2px #6c452326);}
.ledger-name small,.ledger-summary {color:var(--ui-muted);}
.ledger-level {background:linear-gradient(#fff3c6,#d5b26c);border-color:#b4914f;box-shadow:inset 0 1px #fff8df;}
.ledger-cost {white-space:nowrap;font-variant-numeric:tabular-nums;}
.ledger-summary,.building-facts>div,.city-center-stat,.compact-army-summary>div,.raid-summary-grid article {
  border:1px solid var(--ui-edge); border-radius:5px;
  background:linear-gradient(135deg,#fff7df70,#c5a97524);box-shadow:inset 0 1px #fff7df80;
}
.building-facts strong,.city-center-stat strong,.compact-army-summary strong {color:#4c351d;font-variant-numeric:tabular-nums;}
.building-facts span,.city-center-stat>span {color:#816744;letter-spacing:.55px;}
.warehouse-resource-item,.production-resource-row {border-color:#ae8d5260;border-radius:5px;box-shadow:0 2px 3px #7051290a;}
.warehouse-resource-card,.production-resource-card {border-radius:4px!important;}
.resource-card-name {color:#46331f!important;}
.warehouse-resource-card .resource-card-count {color:#5a3b18!important;font-variant-numeric:tabular-nums;}
.recruit-row {border-color:#ad8c58;background:linear-gradient(100deg,#fff5d99c,#dcc69c44);border-radius:6px;box-shadow:inset 0 1px #fff9e0a6,0 2px 4px #6b4e2410;}
.recruit-row>img {filter:drop-shadow(0 3px 3px #5b381c40);}
.recruit-row small {color:#7e633e;line-height:1.6;}
.compact-army table,.raid-console {border-radius:5px;border-color:#ae8c53;}
.mil-calculator,.mil-matchups,.save-export-copy {border:1px solid var(--ui-edge);border-radius:5px;padding:10px 12px;background:#f8edce40;}
:is(#buildingPanel,#worldMapPanel) details summary {color:#765732;font-weight:700;}
.building-panel-actions {border-top-color:#a98b5666;}
.building-feedback:not(:empty),#worldStatus:not(:empty) {color:#745124;line-height:1.5;}
.building-feature-hero,.city-center-artboard {background:radial-gradient(ellipse,#f9f1d68c,transparent 68%);}
.city-center-artboard img,.building-feature-hero img {filter:drop-shadow(0 7px 5px #6c492e2b);}
.house-evolution-stage {border-color:#b69a663f;border-radius:5px;}
.house-evolution-stage.is-current {border-color:#a97b35;background:#f5e5b565;box-shadow:inset 0 0 0 1px #d9b979;}
:is(#buildingPanel,#worldMapPanel):not(.world-battle-mode) :is(.ledger-tabs,.raid-tabs) button:is([aria-pressed=true],[aria-selected=true]) {
  color:#fff4d7;background:linear-gradient(#b28c53,#765126);border-color:#b69253;
  box-shadow:inset 0 1px #ffedbf88,0 2px 5px #6a472c2e;
}
.raid-report-list {border-right-color:#a68a5545;}
.raid-report-list button {border:1px solid #a98a5555;border-radius:5px;margin-bottom:7px;}
.raid-report-list button.selected {background:#d7bb834d;border-color:#a27a3d;box-shadow:inset 3px 0 #997037;}
.raid-report-list button.unread strong {color:#815425;}
.raid-report-detail {border-radius:5px;background:linear-gradient(#fff6dc40,#dec7a026);}
.raid-formations button[aria-pressed=true] {border-color:#99713a;box-shadow:inset 0 0 0 1px #dab77b;}
.raid-troop-selector label {background:#fbefd152;border:1px solid #b79a655e;border-radius:5px;}
.raid-troop-selector img {filter:drop-shadow(0 3px 3px #6c452326);}
.settings-layout>div {padding:20px;border:1px solid var(--ui-edge);border-radius:6px;background:#f8edcf48;min-width:0;}
.settings-layout h2 {font-size:20px;color:#63462a;}
.settings-layout p {color:#7b6245;line-height:1.7;}
.world-content,.city-center-pages,.building-panel-standard,.raid-camp-body {
  scrollbar-width:thin; scrollbar-color:#a78048 #d6c0975e;
}
:is(#buildingPanel,#worldMapPanel) ::-webkit-scrollbar {width:8px;height:8px;}
:is(#buildingPanel,#worldMapPanel) ::-webkit-scrollbar-thumb {border:2px solid #dfcba4;border-radius:8px;background:#a37a43;}
:is(#buildingPanel,#worldMapPanel) ::-webkit-scrollbar-track {background:#d1b88d30;}
.premium-panel-enter {animation:premium-panel-reveal 180ms ease-out both;}
.mine-summary-stores {display:block!important;margin-top:22px;}
.mine-summary-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;}
.mine-overview-resource {min-height:96px!important;}
.mine-overview-resource .resource-card-name {font-size:11px!important;white-space:normal!important;}
.mine-summary-limit {display:none;}
.mine-overview-resource.resource-card {grid-template-columns:30px 1fr!important;grid-template-rows:auto auto!important;min-height:96px!important;}
.mine-overview-resource .resource-card-name {grid-column:1 / -1!important;text-overflow:clip!important;overflow:visible!important;}
.mine-overview-resource .resource-card-icon {grid-column:1!important;grid-row:2!important;}
.mine-overview-resource .resource-card-count {grid-column:2!important;grid-row:2!important;font-size:16px!important;}
.mine-overview-resource .resource-card-rate {grid-column:1 / -1!important;grid-row:3!important;}
.warehouse-resource-card.resource-card {grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:2px 7px!important;}
.warehouse-resource-card .resource-card-icon {grid-row:1 / 3!important;}
.warehouse-resource-card .resource-card-name {grid-column:2!important;grid-row:1!important;white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip!important;}
.warehouse-resource-card .resource-card-count {grid-column:2!important;grid-row:2!important;text-align:right;font-size:15px!important;}
.warehouse-resource-list {gap:6px!important;}
.warehouse-resource-item {padding:3px!important;}
.standard-building-portrait {float:right;width:160px;height:135px;object-fit:contain;margin:0 0 10px 18px;filter:drop-shadow(0 5px 3px #61401c33);}
.standard-building-portrait[hidden] {display:none;}
.building-production-details {clear:both;}
.building-panel[data-building=altar],.building-panel[data-building=healer],.building-panel[data-building=workshop],.building-panel[data-building=woodcutter] {height:620px!important;max-height:620px!important;}
.recruit-row {gap:12px!important;padding:6px 12px!important;min-height:0!important;}
.recruit-row>img {height:67px!important;width:58px!important;}
.recruit-row small {line-height:1.3!important;margin:3px 0!important;}
.recruit-ledger {gap:8px!important;}
.arena-mode .city-center-page {min-height:0!important;}
.recruit-row h3 {line-height:20px!important;}
.recruit-row input[type=number] {padding:5px!important;}
.recruit-row button[data-unit-detail] {width:20px!important;height:20px!important;}
#worldMapPanel .raid-report-list button {background:linear-gradient(#f5e8c9,#dcc69e)!important;color:#49351d!important;text-shadow:none!important;}
#worldMapPanel .raid-report-list button strong {color:#634922!important;}
#worldMapPanel .raid-report-list button.selected {background:linear-gradient(#927047,#654525)!important;color:#fff0d0!important;}
#worldMapPanel .raid-report-list button.selected strong {color:#ffe1a6!important;}
.raid-result {padding:12px 15px!important;}
.raid-result h2 {font-size:30px!important;margin:5px 0!important;}
.raid-result p {font-size:12px!important;margin:6px 0!important;}
#worldMapPanel .raid-troop-selector label {color:#49351d!important;text-shadow:none!important;}
#worldMapPanel .raid-troop-selector label strong {color:#49351d!important;}
#worldMapPanel .raid-troop-selector label small {color:#6d5737!important;}
#worldMapPanel .raid-formations button[aria-pressed=true] {background:linear-gradient(#c8a361,#94703c)!important;color:#2d2114!important;box-shadow:inset 0 0 0 2px #efd7a8!important;}
#worldMapPanel .raid-troop-selector img {height:95px!important;width:75px!important;}
.mine-mode #buildingAction.game-action--passive {display:none!important;}
.mine-mode .building-actions {display:flex!important;}
.mine-mode #buildingUpgrade {min-width:180px;}
#hallWorkerControls {display:flex;gap:6px;margin-top:9px;}
#hallWorkerControls button {width:28px;height:28px;padding:0;}
.ledger-level {width:auto;min-width:40px;padding:0 5px;white-space:nowrap;}

/* One compact frame contract for every building, including all console modes. */
#buildingPanel {padding:0!important;gap:4px!important;border-width:2px!important;grid-template-rows:36px minmax(0,1fr) auto!important;}
#buildingPanel .panel-heading {height:36px;min-height:36px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;border-width:0 0 1px;border-radius:0;margin:0!important;gap:12px;}
#buildingPanel .panel-heading h1 {margin:0!important;min-width:0;white-space:nowrap;}
.panel-heading-controls {display:flex;align-items:center;gap:5px;flex-shrink:0;height:28px;min-height:0;}
#buildingPanel .panel-heading .building-design-actions {display:flex!important;align-items:center;gap:4px!important;height:28px;min-height:0;margin:0;padding:0;border:0;}
#buildingPanel .panel-heading .building-design-card {display:grid;place-items:center;width:28px;height:28px;min-height:28px!important;padding:0!important;}
#buildingPanel .panel-heading .building-design-card svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;}
#buildingPanel .panel-title-button {display:inline-flex;align-items:center;gap:9px;padding:2px 8px 2px 0;border:0;background:transparent;color:#ffedc6;box-shadow:none;font:700 18px Georgia;cursor:pointer;border-radius:3px;}
#buildingPanel .panel-title-button::before {content:'⌂';font-size:24px;line-height:1;color:#d7b876;}
#buildingPanel .panel-title-button[aria-pressed=true] {color:#fff9e6;text-shadow:0 1px 6px #ecc87955;}
#buildingPanel .panel-title-button[hidden],#buildingPanel #buildingTitleText[hidden] {display:none!important;}
#buildingPanel .city-center-console {margin:0 12px;gap:6px!important;}
#buildingPanel .city-center-tabs {min-height:34px!important;height:34px;box-sizing:border-box;padding:2px!important;gap:2px!important;border-radius:3px;overflow-y:hidden!important;align-items:center;}
#buildingPanel .city-center-tab {min-height:28px!important;height:28px;box-sizing:border-box;padding:5px 12px!important;font-size:12px!important;line-height:1;}
#buildingPanel .city-center-pages {padding:12px!important;}
#buildingPanel .building-panel-standard {margin:4px 14px 0;min-height:0;overflow-y:auto;}
#buildingPanel .building-panel-actions {margin:2px 14px 10px;padding-top:7px!important;gap:6px!important;grid-template-columns:1fr!important;}
#buildingPanel .building-actions {display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;}
#buildingPanel .building-actions .game-action {min-height:32px!important;padding:7px 13px!important;flex:0 1 auto;}
#buildingPanel .building-feedback {margin:0;font-size:12px;}
#buildingPanel .building-feedback:empty {display:none;}
#buildingPanel:is(.city-center-mode,.mine-mode,.arena-mode) {height:720px!important;max-height:720px!important;}
#buildingPanel.city-center-mode:has(#cityCenterViewOverview:not([hidden])) {height:500px!important;max-height:500px!important;}
#buildingPanel:not(.city-center-mode):not(.mine-mode):not(.arena-mode) {height:auto!important;max-height:720px!important;}
.annex-building-row:has(.instant-action) {grid-template-columns:50px minmax(0,1fr) auto;}
.annex-building-row .instant-action {width:auto!important;min-width:100px!important;padding:6px 8px;}
#buildingPanel .ledger-tabs {margin:0 0 8px!important;gap:4px;}
#buildingPanel .ledger-tabs button {min-height:28px;padding:5px 12px;font-size:12px;}
#buildingPanel .ledger-summary {padding:7px 10px!important;margin:0 0 9px!important;font-size:12px;}
#buildingPanel .ledger-table th {padding:7px 9px;font-size:11px;}
#buildingPanel .ledger-table td {padding:7px 9px;}
#buildingPanel .ledger-name>img {height:43px;width:45px;}
#buildingPanel .ledger-name small {margin-top:3px;font-size:11px;}
#buildingPanel .ledger-cost img {height:22px;width:22px;}
#buildingPanel .ledger-table td:last-child {white-space:nowrap;}
#buildingPanel .mine-resource-heading h2 {font-size:27px!important;margin:0;}
#buildingPanel .mine-resource-heading img {width:80px!important;height:80px!important;max-height:80px!important;}
#buildingPanel .mine-worker-allocation h3 {font-size:16px!important;}
#buildingPanel .mine-summary-stores .city-center-section-heading {display:none;}
.instant-action {white-space:nowrap;}
:is(#buildingPanel,#worldMapPanel) button.instant-action {background:linear-gradient(#a48346,#6c4b26)!important;color:#fff5cc!important;border-color:#bd9d5c!important;}
.instant-action small {display:inline!important;margin:0 0 0 5px!important;font:normal 10px Georgia;color:#fff0bf!important;opacity:.85;}
.instant-action[hidden] {display:none!important;}
#buildingPanel .upgrade-cost[hidden] {display:none!important;}
:is(#buildingPanel,#worldMapPanel) :is(.instant-action,.mil-training-ledger button) {padding:7px 12px;border:1px solid #987344;border-radius:5px;background:linear-gradient(#896741,#513722);color:#fff0d0;font:700 12px Georgia;box-shadow:inset 0 1px #e3c58e66;cursor:pointer;}
.compact-army .mil-stats {grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px;}
.compact-army .mil-stats>div {padding:8px 10px;}
.compact-army .mil-stats strong {font-size:19px;}
.compact-army .raid-table th,.compact-army .raid-table td {text-align:center;padding:7px 10px;}
.compact-army .raid-table td:first-child {text-align:left;}
.compact-army .raid-table td:first-child img {width:42px;height:57px;vertical-align:middle;object-fit:contain;margin-right:12px;}
.compact-army .mil-transfer {align-items:center;justify-content:center;margin:0;gap:6px;}
.compact-army .mil-transfer button {width:29px;height:28px;padding:0;font:700 18px Georgia;}
.compact-army .mil-transfer input {width:65px;height:28px;box-sizing:border-box;text-align:center;}
.compact-army .mil-transfer-bulk {font:700 12px Georgia;gap:10px;}
#buildingPanel .compact-army button.mil-count {min-width:56px;padding:5px 12px;border:1px solid #ad8e5c;background:linear-gradient(#fff4d5,#d8bd8b);color:#543817;text-shadow:none;box-shadow:inset 0 1px #fff9e9;}
#buildingPanel .compact-army button.mil-count:not(:disabled):hover {background:linear-gradient(#fff7dc,#edcd8f);border-color:#86602a;}
.mil-priority-note {font-size:11px;color:#7d6542;margin:7px 0 0;}
.mil-training-ledger article {display:flex;gap:12px;align-items:center;padding:9px;border-bottom:1px solid #b89c6b60;}
.mil-training-ledger article img {width:42px;height:55px;object-fit:contain;}
.mil-training-ledger article>span {margin-left:auto;font-size:12px;}
#worldMapPanel:not(.world-global-mode):not(.world-battle-mode) {padding:0!important;gap:4px!important;border-width:2px!important;}
#worldMapPanel:not(.world-global-mode):not(.world-battle-mode) .world-heading {min-height:36px;box-sizing:border-box;border-width:0 0 1px;border-radius:0;}
#worldMapPanel:not(.world-global-mode):not(.world-battle-mode) .world-content {padding:10px 14px!important;}
#worldMapPanel:not(.world-global-mode):not(.world-battle-mode) .world-footer {margin:0 14px 8px;}
:is(#buildingPanel,#worldMapPanel) button {position:relative;overflow:hidden;}
.ui-press-ring {position:absolute;pointer-events:none;z-index:10;width:12px;height:12px;margin:-6px;border:1px solid #fff2b5aa;border-radius:50%;background:#ffe6a238;animation:ui-ring 420ms ease-out forwards;}
@keyframes ui-ring {to{transform:scale(12);opacity:0;}}
@media(prefers-reduced-motion:reduce){.ui-press-ring{display:none!important;}}
@keyframes premium-panel-reveal {from{opacity:.4}to{opacity:1}}
@media(prefers-reduced-motion:reduce) {
  .premium-panel-enter {animation:none!important;}
  :is(#buildingPanel,#worldMapPanel) :is(button,.game-action,.import-label) {transition:none!important;}
}
/* Mine: one compact ledger, independent deposit staffing. */
#buildingPanel.mine-mode .mine-console {display:flex;flex-direction:column;min-height:0;}
#buildingPanel.mine-mode #minePages {padding:10px!important;overflow:auto;}
.mine-ledger {display:flex;flex-direction:column;gap:8px;}
.mine-ledger-summary {display:grid;grid-template-columns:84px 1fr 1fr;align-items:center;gap:18px;padding:6px 12px;background:#b28b4514;border:1px solid #a68b573d;border-radius:4px;}
.mine-ledger-summary>img {width:78px;height:64px;object-fit:contain;}
.mine-ledger-summary strong,.mine-ledger-summary span {display:block;}
.mine-ledger-summary strong {font:700 18px Georgia;color:#503b21;}
.mine-ledger-summary span {font-size:12px;color:#7b6645;margin-top:5px;}
.mine-ledger-head {display:grid;grid-template-columns:48px minmax(0,1fr) 130px 100px minmax(0,1fr);gap:12px;padding:7px 12px;font-size:11px;color:#765e39;text-transform:uppercase;}
.mine-ledger-head span:not(:first-child) {text-align:center;}
.mine-ledger-row {display:grid;grid-template-columns:48px minmax(0,1fr) 130px 100px minmax(0,1fr);align-items:center;gap:12px;min-height:58px;padding:5px 12px;border:1px solid #a5895840;border-bottom:0;background:#fff5d61c;box-sizing:border-box;}
.mine-ledger-row:last-child {border-bottom:1px solid #a5895840;}
.mine-ledger-row:nth-child(even) {background:#886b3520;}
.mine-ledger-row>img {width:43px;height:43px;object-fit:contain;}
.mine-deposit-name strong {font:700 14px Georgia;color:#513d23;}
.mine-deposit-name small {display:block;color:#8a6f46;font-size:11px;margin-top:4px;}
.mine-deposit-name small:empty {display:none;}
.mine-amount {text-align:center;}
.mine-amount strong {font:700 16px Georgia;}
.mine-amount small {display:block;font-size:11px;color:#8b7452;margin-top:2px;}
.mine-hourly {font:700 14px Georgia;text-align:center;color:#647237;}
.mine-slider-control {display:grid;grid-template-columns:minmax(80px,1fr) 55px;align-items:center;gap:10px;}
.mine-slider-control input {width:100%;accent-color:#94703a;cursor:pointer;margin:0;}
.mine-slider-control output {font:700 13px Georgia;text-align:center;white-space:nowrap;}
.mine-ledger-row.is-locked>img {filter:grayscale(.8);opacity:.48;}
.mine-ledger-row.is-locked {background:#88774e0c;}
.mine-ledger-row.is-locked .mine-hourly {color:#9a8a6c;}
.mine-ledger-note {font-size:12px;margin:5px 0 0;color:#786442;}
.annex-mine-slider {display:grid;grid-template-columns:28px minmax(80px,1fr) minmax(55px,1fr) 46px;gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid #99784433;}
.annex-mine-slider img {width:26px;height:26px;object-fit:contain;}
.annex-mine-slider label {font-size:11px;}
.annex-mine-slider small {display:block;color:#8b7550;font-size:10px;}
.annex-mine-slider input {width:100%;accent-color:#94703a;}
.annex-mine-slider output {font-size:11px;white-space:nowrap;text-align:right;}
.mine-ledger-head span:first-child {grid-column:span 2;}
.mine-slider-control input {appearance:none;height:6px;border:1px solid #a98c57;border-radius:9px;background:linear-gradient(to right,#9d793d var(--fill,0%),#ded0ac var(--fill,0%));}
.mine-slider-control input::-webkit-slider-thumb {appearance:none;width:14px;height:14px;border-radius:50%;border:1px solid #795b29;background:linear-gradient(#e6cc8e,#98733b);box-shadow:0 1px 2px #36271055;}
.mine-slider-control input::-moz-range-thumb {width:12px;height:12px;border-radius:50%;border:1px solid #795b29;background:#c2a160;}
.mine-slider-control input:disabled {opacity:.35;cursor:not-allowed;}
