/* SOL146: steampunk optical workshop. Dashboard presentation only; all selectors
   are explicitly scoped to Mechanika. The shared navigation and actions stay live. */
html[data-panel-theme="mechanika"] .ff-panel .ff-greeting { padding:28px 0 25px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-atelier-kicker,
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-signature>span { display:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-greeting h1 { font-size:clamp(42px,4.4vw,64px); }
html[data-panel-theme="mechanika"] .ff-panel .ff-greeting p { font-size:15px;line-height:1.5; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-signature { font-size:43px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.03fr);
  grid-template-rows:repeat(2,minmax(260px,auto));gap:14px;margin-bottom:22px;
}
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-dashboard-card {
  min-height:0;border-radius:12px;border:1px solid #bfa36aa0;
  background:#191713 url('/images/mechanika-metal-sol146.webp') center bottom/cover no-repeat;
  box-shadow:inset 0 1px #f5ddb517,0 9px 26px #0003;
}
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-dashboard-card:hover { border-color:#e4c484;box-shadow:inset 0 1px #ffebc22b,0 12px 28px #0005; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-dashboard-card::before { opacity:.8;inset:7px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-sessions-card { grid-column:1;grid-row:1/3; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-clients-card { grid-column:2;grid-row:1/3; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-backpack-card { grid-column:3;grid-row:1; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-dashboard-account-card { grid-column:3;grid-row:2; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded { padding:20px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading { justify-content:flex-start;gap:12px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow { font:34px/1.15 var(--ff-serif);letter-spacing:-.02em;text-transform:none;color:#eee5cf; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-atelier-counter-camera { order:-1; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-atelier-counter-camera .ff-panel-icon { width:33px;height:33px;color:#dfbe7c; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-balance-layout { margin:4px 0 8px;gap:0;flex:1;justify-content:center;align-items:center; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-balance { margin:0;color:#f4e8cb;text-shadow:0 2px 8px #0009; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-credit-expiry { font-size:12px;line-height:1.45;text-align:center;display:block;margin-top:-3px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-credit-expiry::before { display:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { flex-wrap:nowrap;gap:12px;margin-top:auto; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-primary-action { flex:1;font-size:15px;min-height:44px;padding:10px 14px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-text-action { flex:0 0 auto;font-size:14px;color:#efd7a8;background:#18150f;padding-inline:8px;border-radius:4px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title { font:34px/1.15 var(--ff-serif);gap:11px;justify-content:flex-start;color:#eee5cf; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title .ff-panel-icon { width:28px;height:28px;flex:0 0 28px;color:#dfbe7c; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-arrow { display:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card::after { display:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { display:block; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-photo,
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-no-photo {
  inset:75px 16px 16px;width:calc(100% - 32px);height:calc(100% - 91px);border-radius:3px;border:4px ridge #b28c54;box-shadow:0 3px 8px #0008;object-fit:cover;object-position:55% 45%;filter:none;
}
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-client-count { position:absolute;right:20px;top:17px;margin:0;font:42px/1 var(--ff-serif);color:#eedab2;max-width:35%;overflow-wrap:anywhere; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-title { padding-right:25%; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-waiting-chip { position:absolute;bottom:28px;left:28px;top:auto;margin:0;max-width:calc(100% - 56px);font-size:12px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { display:block;align-content:start; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-title { position:relative;z-index:1;max-width:55%; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-description { text-align:left;font:13px/1.45 var(--ff-sans);max-width:44%;margin:8px 0 0;color:#d8cdb8; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { position:absolute;left:20px;top:107px;max-width:42%;font:26px/1.2 var(--ff-serif);text-align:left;margin:0;overflow-wrap:anywhere; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count small { font:12px/1.35 var(--ff-sans);white-space:nowrap;margin-left:5px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { text-align:left;font:13px/1.45 var(--ff-sans);max-width:42%;margin:9px 0 0;color:#d8cdb8; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-description { display:none; }
/* Expanded artwork must never occupy the compact navigation on inner screens. */
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="true"]>.ff-dashboard-card>:not(.ff-compact-content):not(.ff-tile-link) { display:none!important; }
html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid>.ff-card { display:grid!important;grid-template-columns:minmax(100px,42%) minmax(0,1fr);gap:0;padding:7px!important;align-items:center;background:#211e19 url('/images/mechanika-metal-sol146.webp') center/cover!important;border-color:#ad915c66!important; }
html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid .ff-card-image { width:100%!important;height:140px!important;aspect-ratio:auto!important;min-width:0;border-radius:8px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid .ff-card-copy { padding:12px 12px!important;min-width:0; }
html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid .ff-card-title { font-size:22px!important;line-height:1.15!important; }
html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid .ff-card-copy>div:not(.ff-card-title) { font-size:12px!important;line-height:1.4!important; }
@media(max-width:1100px) {
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(420px,auto) minmax(245px,auto); }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-sessions-card { grid-column:1;grid-row:1; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-clients-card { grid-column:2;grid-row:1; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-backpack-card { grid-column:1;grid-row:2; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-dashboard-account-card { grid-column:2;grid-row:2; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid { grid-template-columns:1fr;gap:12px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid>.ff-card { grid-template-columns:140px minmax(0,1fr); }
}
@media(max-width:600px) {
 html[data-panel-theme="mechanika"] .ff-panel .ff-workspace { padding-left:16px!important;padding-right:16px!important; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-greeting { padding:23px 0; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-greeting h1 { font-size:42px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-greeting p { font-size:13px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(390px,auto) minmax(350px,auto) minmax(230px,auto);gap:12px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-sessions-card { grid-column:1/-1;grid-row:1; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-clients-card { grid-column:1/-1;grid-row:2; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-backpack-card { grid-column:1;grid-row:3; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-dashboard-account-card { grid-column:2;grid-row:3; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded { padding:17px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow,
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title { font-size:30px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-primary-action { font-size:14px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-text-action { font-size:13px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { padding:14px 12px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-title { font-size:25px;max-width:100%; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-description,
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { font-size:12px;max-width:100%;margin-top:5px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { left:12px;top:80px;font-size:20px;max-width:45%;z-index:1; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count small { display:block;font-size:12px;margin:2px 0 0; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid>.ff-card { grid-template-columns:105px minmax(0,1fr); }
 html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid .ff-card-image { height:128px!important; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid .ff-card-title { font-size:22px!important; }
}
@media(max-width:350px) {
 html[data-panel-theme="mechanika"] .ff-panel .ff-workspace { padding-left:12px!important;padding-right:12px!important; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-greeting h1 { font-size:38px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-title { font-size:23px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-recent-grid .ff-card-copy { padding:10px!important; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"]>.ff-dashboard-card { transition:none; }
}

/* Mechanika-specific objects remain contained within the two small tiles. */
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-mechanika-counter { width:min(100%,405px);margin:0; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-mechanika-counter-center { inset:27% 29% 40%;gap:3px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-counter-unit { font:14px/1.2 var(--ff-sans);color:#eee2c7;max-width:100%;text-align:center;margin-top:0; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-dial-face { inset:18% 18% 24%; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-counter.ff-art-ready .ff-mechanika-dial-face { display:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object { position:absolute;display:block;right:0;bottom:2px;width:65%;height:98%;pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object>img { display:block;width:100%;height:100%;object-fit:contain;opacity:0; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object.ff-art-ready>img { opacity:1; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object-fallback { position:absolute;inset:22%;display:grid;place-items:center;color:#dab979; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object-fallback .ff-panel-icon { width:70%;height:70%; }
html[data-panel-theme="mechanika"] .ff-panel .ff-art-ready>.ff-mechanika-object-fallback { display:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object--konto { width:min(62%,240px);height:auto;aspect-ratio:1;bottom:8px;right:8px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object--konto>.ff-mechanika-object-fallback { inset:20% 17% 15%;border:2px solid #c0a16b;border-radius:50%;background:#1c1914; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object--konto>.ff-mechanika-object-fallback .ff-panel-icon { display:none; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-live-monogram { position:absolute;inset:30% 20% 37% 15%;display:grid;place-items:center;font:calc(68px * var(--ff-mechanika-monogram-scale,1))/1 var(--ff-serif);color:#f2e6c9;text-shadow:0 2px 5px #0009; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count small { display:inline;font:12px/1.35 var(--ff-sans);white-space:nowrap;margin-left:5px; }
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-credit-expiry { border:0;padding:0;margin:0;font-size:12px; }
@media(max-width:1100px) {
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-mechanika-counter { width:min(100%,320px); }
 html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object--konto { width:min(58%,220px); }
}
@media(max-width:600px) {
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-mechanika-counter { width:min(100%,320px); }
 html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-counter-unit { font-size:12px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object--backpack { width:84%;height:65%;right:-4px;bottom:0; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-object--konto { width:min(91%,150px);height:auto;aspect-ratio:1;right:4%;bottom:4px; }
 html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-live-monogram { font-size:calc(45px * var(--ff-mechanika-monogram-scale,1)); }
 html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count small { display:block;margin:2px 0 0; }
}

/* SOL158: the longer translated label and number must share the aperture. */
html[data-panel-theme="mechanika"] .ff-panel .ff-dashboard[data-compact="false"] .ff-mechanika-counter .ff-balance { font-size:calc(min(var(--ff-mechanika-number,76px),var(--ff-mechanika-relative,24.5cqw)) * .8);margin:0; }
html[data-panel-theme="mechanika"] .ff-panel .ff-mechanika-counter-unit { text-wrap:balance; }
