/* SOL116 — Atelier / Mechanika, presentation layer for the existing React panel.
   Colours come from motywy.js. No prototype records, requests or upload logic. */
.ff-panel { --ff-serif:"Cormorant Garamond",Georgia,serif; --ff-sans:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.ff-panel .ff-app { font-family:var(--ff-sans); -webkit-font-smoothing:antialiased; }
.ff-panel .ff-app button,.ff-panel .ff-app input,.ff-panel .ff-app select,.ff-panel .ff-app textarea { max-width:100%; }
.ff-panel .ff-app button { touch-action:manipulation; }
.ff-panel .ff-app button:focus-visible,.ff-panel .ff-app [role="button"]:focus-visible,.ff-panel .ff-app a:focus-visible,.ff-panel .ff-app summary:focus-visible { outline:2px solid var(--ff-gold-light); outline-offset:4px; }
.ff-panel .ff-app input:focus-visible,.ff-panel .ff-app textarea:focus-visible,.ff-panel .ff-app select:focus-visible { outline:2px solid var(--ff-gold-light)!important; outline-offset:3px; }
.ff-panel .ff-app button:disabled { cursor:not-allowed; opacity:.6; }
.ff-panel .ff-workspace { width:100%; max-width:1440px!important; padding:0 44px 44px!important; margin:0 auto; }
.ff-panel .ff-section-heading { justify-content:flex-start;gap:18px!important;margin:4px 0 18px!important; }
.ff-panel .ff-section-heading>div { font-family:var(--ff-serif)!important;font-size:38px!important;line-height:1.1;overflow-wrap:anywhere; }
.ff-panel .ff-section-heading>button { min-height:44px;flex-shrink:0; }
.ff-panel .ff-tab-content { min-width:0; animation:ff-content-enter .24s ease-out; }
/* Four primary destinations retain true loading/unknown values. */
.ff-panel .ff-eyebrow { font:11px/1.5 var(--ff-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ff-muted); }
/* Existing lists, all four density settings and warning badges. */
.ff-panel .ff-list-toolbar { margin-top:8px;margin-bottom:18px!important; }
.ff-panel .ff-list-toolbar input { min-height:48px;min-width:0!important;border-radius:28px!important;padding:12px 18px!important; }
.ff-panel .ff-view-select { min-height:46px;max-width:100%; }
.ff-panel .ff-clients button,.ff-panel .ff-client-detail>button,.ff-panel .ff-backpack button { min-height:44px; }
.ff-panel .ff-filter { min-height:44px;border-radius:25px!important;padding:9px 16px!important; }
.ff-panel .ff-card-grid { display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--ff-card-min,250px)),1fr));gap:19px!important;align-items:start; }
.ff-panel .ff-grid-duze { --ff-card-min:320px; }
.ff-panel .ff-grid-srednie { --ff-card-min:250px; }
.ff-panel .ff-grid-male { --ff-card-min:175px; }
.ff-panel .ff-card-grid>.ff-card { width:100%!important;max-width:100%; }
.ff-panel .ff-card { min-width:0;border-radius:15px!important;isolation:isolate; }
.ff-panel .ff-card-image { min-width:0; }
.ff-panel .ff-card-copy { min-width:0;padding:17px!important; }
.ff-panel .ff-card-title { font:28px/1.15 var(--ff-serif)!important;white-space:normal!important;overflow-wrap:anywhere; }
.ff-panel .ff-card-copy>div:not(.ff-card-title) { line-height:1.7!important;font-size:13px!important; }
.ff-panel .ff-card-male .ff-card-copy { padding:11px!important; }
.ff-panel .ff-card-male .ff-card-title { font-size:23px!important; }
.ff-panel .ff-card-list .ff-card-title { font-size:24px!important; }
.ff-panel .ff-card-list .ff-card-copy { padding:6px!important; }
.ff-panel .ff-card-list .ff-card-image { width:72px!important;height:72px!important; }
.ff-panel .ff-card-list .ff-card>span:last-child { max-width:40%;white-space:normal;overflow-wrap:anywhere;font-size:12px!important; }
.ff-panel .ff-page-title { font:44px/1.1 var(--ff-serif)!important;overflow-wrap:anywhere;margin:4px 0 10px!important; }
.ff-panel .ff-session-kind { display:inline-flex;font:12px/1.4 var(--ff-sans);border:1px solid var(--ff-line);border-radius:22px;color:var(--ff-gold);padding:7px 11px;margin:10px 0 0;overflow-wrap:anywhere;max-width:100%; }
.ff-panel .ff-client-detail>.ff-card-grid { --ff-card-min:320px;max-width:1040px; }
.ff-panel .ff-folder-create { flex-wrap:wrap;max-width:100%; }
.ff-panel .ff-folder-create input { flex:1;min-width:0!important;width:100%; }
/* Session form keeps the original setup questions and intention controller. */
.ff-panel .ff-panel-surface { min-width:0;border:1px solid var(--ff-line)!important;border-radius:17px;background:var(--ff-card);padding:26px; }
.ff-panel .ff-session-layout { display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.8fr);gap:25px;align-items:start;max-width:1140px; }
.ff-panel .ff-session-form { padding:28px!important; }
.ff-panel .ff-form-heading { font:30px/1.2 var(--ff-serif);font-weight:400;color:var(--ff-ink);margin:0 0 22px; }
.ff-panel .ff-form-heading-divided { border-top:1px solid var(--ff-line);padding-top:25px;margin-top:25px; }
.ff-panel .ff-session-form label { font-size:12px!important;letter-spacing:.04em!important;line-height:1.5; }
.ff-panel .ff-session-form input,.ff-panel .ff-session-form select { min-height:49px;font-size:16px!important; }
.ff-panel .ff-session-form p,.ff-panel .ff-field-hint { font:13px/1.7 var(--ff-sans)!important;color:var(--ff-muted); }
.ff-panel .ff-form-field { margin-bottom:20px; }
.ff-panel .ff-custom-kind { display:block;margin-top:14px;color:var(--ff-muted); }
.ff-panel .ff-custom-kind input { display:block;margin-top:8px; }
.ff-panel .ff-field-hint { margin-top:7px; }
.ff-panel .ff-session-actions { margin-top:25px;border-top:1px solid var(--ff-line);padding-top:22px; }
.ff-panel .ff-session-actions button { min-height:46px; }
.ff-panel .ff-session-actions button:first-child { background:var(--ff-gold)!important;color:var(--ff-cta)!important;border-color:var(--ff-gold)!important;border-radius:28px!important;font-size:14px!important; }
.ff-panel .ff-session-preview { padding:25px; }
.ff-panel .ff-preview-frame { display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:25px;min-height:260px;border:1px solid var(--ff-line);padding:25px 20px;margin:22px 0;background:linear-gradient(140deg,var(--ff-raised),var(--ff-bg)); }
.ff-panel .ff-preview-frame>span { color:var(--ff-gold);font:36px/1 var(--ff-serif); }
.ff-panel .ff-preview-frame>h2 { font:italic 39px/1.05 var(--ff-serif);color:var(--ff-ink);overflow-wrap:anywhere;max-width:100%;font-weight:400; }
.ff-panel .ff-session-preview>p:not(.ff-eyebrow) { font:13px/1.8 var(--ff-sans);color:var(--ff-muted); }
.ff-panel .ff-private-name { padding-top:19px;border-top:1px solid var(--ff-line);margin-top:19px;overflow-wrap:anywhere; }
.ff-panel .ff-private-name strong { font-weight:500;color:var(--ff-ink); }
/* Actual editors: settings at left, full photograph/files work area at right. */
.ff-panel .ff-editor { max-width:1440px!important;padding:26px 44px 152px!important;min-width:0; }
.ff-panel .ff-editor-header { position:relative!important;top:auto!important;background:transparent!important;margin:0 0 28px!important;padding:0 0 22px!important;border-color:var(--ff-line)!important; }
.ff-panel .ff-editor-header h1 { font:italic 42px/1.1 var(--ff-serif)!important;color:var(--ff-ink)!important;min-width:0;overflow-wrap:anywhere; }
.ff-panel .ff-editor-header h1>div { font:13px/1.7 var(--ff-sans)!important; }
.ff-panel .ff-editor-header>button { min-height:44px; }
.ff-panel .ff-editor-layout { display:grid;grid-template-columns:minmax(280px,335px) minmax(0,1fr);gap:27px;align-items:start; }
.ff-panel .ff-editor-settings { padding:25px; }
.ff-panel .ff-setting-field { margin-bottom:25px!important;min-width:0; }
.ff-panel .ff-setting-field>label { font-size:12px!important;line-height:1.6;letter-spacing:.06em!important; }
.ff-panel .ff-setting-field>p { font:13px/1.75 var(--ff-sans)!important; }
.ff-panel .ff-setting-field input { font-size:16px!important;min-height:48px; }
.ff-panel .ff-setting-field input[inputmode="numeric"] { font-size:24px!important; }
.ff-panel .ff-setting-field button { min-height:44px;font-size:14px!important; }
.ff-panel .ff-setting-field>div { max-width:100%;overflow-wrap:anywhere; }
.ff-panel .ff-language-choices { flex-wrap:wrap;gap:7px!important; }
.ff-panel .ff-language-choices button { padding:9px 10px!important; }
.ff-panel .ff-published-link { padding:12px!important;flex-wrap:wrap;border-radius:10px!important;gap:10px!important; }
.ff-panel .ff-published-link>div { flex-basis:100%!important; }
.ff-panel .ff-published-link span { font-size:13px!important; }
.ff-panel .ff-editor-media { min-width:0; }
.ff-panel .ff-editor-media>div>label { font:13px/1.6 var(--ff-sans)!important; }
.ff-panel .ff-editor-media p { overflow-wrap:anywhere; }
.ff-panel .ff-editor-media>.ls-sel-grid { margin-bottom:25px; }
.ff-panel .ff-editor-actions { position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:calc(100% - 88px);max-width:1352px!important;z-index:500;display:flex!important;justify-content:flex-end;align-items:center;padding:16px 22px calc(16px + env(safe-area-inset-bottom));background:var(--ff-raised);border:1px solid var(--ff-line);border-bottom:0;border-radius:15px 15px 0 0;box-shadow:0 -8px 30px #0002;gap:10px!important; }
.ff-panel .ff-editor-actions button { min-height:46px;padding:11px 17px!important;font-size:14px!important;white-space:normal!important; }
.ff-panel .ff-editor-actions>span { max-width:100%; }
.ff-panel .ff-editor-actions>span>span { font-size:12px!important;line-height:1.5; }
.ff-panel .ff-media-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))!important;gap:15px!important;align-items:start; }
.ff-panel .ff-editor-photo { border-radius:12px!important; }
.ff-panel .ff-editor-photo-image { aspect-ratio:4/5!important;background:var(--ff-bg); }
.ff-panel .ff-editor-photo-image>img,.ff-panel .ff-upload-box .ff-media-grid img { object-fit:contain!important; }
.ff-panel .ff-editor-photo>div:last-child { min-height:45px!important;padding:10px!important; }
.ff-panel .ff-editor-photo>div:last-child>span { font:12px/1.5 var(--ff-sans)!important; }
.ff-panel .ff-photo-action { width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;z-index:2; }
.ff-panel .ff-delivery-columns { display:grid!important;grid-template-columns:minmax(0,1fr);gap:24px!important; }
.ff-panel .ff-upload-box { min-width:0!important;width:100%;padding:23px; }
.ff-panel .ff-upload-box h3,.ff-panel .ff-video-section h3 { font:28px/1.1 var(--ff-serif)!important; }
.ff-panel .ff-upload-box p,.ff-panel .ff-video-section p { font:13px/1.7 var(--ff-sans)!important; }
.ff-panel .ff-upload-box>div:first-child,.ff-panel .ff-video-section>div:first-child { align-items:flex-start!important; }
.ff-panel .ff-upload-box>div:first-child>div:first-child,.ff-panel .ff-video-section>div:first-child>div:first-child { flex-shrink:0; }
.ff-panel .ff-video-section { padding:23px; }
.ff-panel .ff-dialog { border-color:var(--ff-gold)!important;background:var(--ff-card)!important;border-radius:19px!important;padding:30px!important;max-width:560px!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overflow-wrap:anywhere; }
.ff-panel .ff-dialog h2,.ff-panel .ff-dialog h3 { font:36px/1.1 var(--ff-serif)!important;font-weight:400!important; }
.ff-panel .ff-dialog p { line-height:1.7!important; }
.ff-panel .ff-dialog button { min-height:44px;white-space:normal!important; }
.ff-panel .ff-dialog input { min-height:48px; }
/* Mechanika uses the same data and colours; the brass instrument frame is decorative. */
html[data-panel-theme="mechanika"] .ff-panel-surface,html[data-panel-theme="mechanika"] .ff-card { border-radius:10px!important;border-color:var(--ff-line)!important;background:linear-gradient(145deg,var(--ff-raised),var(--ff-card) 52%,var(--ff-bg));box-shadow:inset 0 0 0 3px var(--ff-bg),inset 0 0 0 4px color-mix(in srgb,var(--ff-gold) 22%,transparent); }
html[data-panel-theme="mechanika"] .ff-panel-surface::before { content:"";position:absolute;inset:8px;border-radius:3px;background:radial-gradient(circle at 2px 2px,var(--ff-gold) 0 1px,transparent 2px),radial-gradient(circle at calc(100% - 2px) 2px,var(--ff-gold) 0 1px,transparent 2px),radial-gradient(circle at 2px calc(100% - 2px),var(--ff-gold) 0 1px,transparent 2px),radial-gradient(circle at calc(100% - 2px) calc(100% - 2px),var(--ff-gold) 0 1px,transparent 2px);pointer-events:none;opacity:.7; }
html[data-panel-theme="mechanika"] .ff-panel-surface { position:relative; }
html[data-panel-theme="mechanika"] .ff-filter{ border-radius:6px!important; }
html[data-panel-theme="mechanika"] .ff-preview-frame { border:4px double var(--ff-gold);border-radius:7px; }
html[data-panel-theme="mechanika"] .ff-editor-actions,html[data-panel-theme="mechanika"] .ff-dialog { border-radius:10px 10px 0 0!important;box-shadow:inset 0 0 0 3px var(--ff-bg),inset 0 0 0 4px var(--ff-line),0 -10px 35px #0002; }
html[data-panel-theme="mechanika"] .ff-dialog { border-radius:12px!important; }
/* Responsive layouts reflow; they never shrink a desktop canvas. */
@media(max-width:1200px) {
 .ff-panel .ff-workspace { padding-left:28px!important;padding-right:28px!important; }
 .ff-panel .ff-editor { padding-left:28px!important;padding-right:28px!important; }
 .ff-panel .ff-editor-actions { width:calc(100% - 56px); }
 .ff-panel .ff-editor-layout { grid-template-columns:290px minmax(0,1fr);gap:21px; }
 .ff-panel .ff-editor-settings { padding:21px; }
}
@media(max-width:1000px) {
 .ff-panel .ff-editor-layout { grid-template-columns:minmax(0,1fr); }
 .ff-panel .ff-editor-settings { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px; }
 .ff-panel .ff-editor-settings>.ff-setting-field { margin-bottom:0!important; }
 .ff-panel .ff-editor-settings>.ff-published-link { grid-column:1/-1; }
 .ff-panel .ff-editor-settings>div[role="dialog"] { display:flex; }
 .ff-panel .ff-delivery-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .ff-panel .ff-session-layout { grid-template-columns:minmax(0,1fr); }
 .ff-panel .ff-session-preview { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px; }
 .ff-panel .ff-session-preview .ff-eyebrow { grid-column:1/-1; }
 .ff-panel .ff-preview-frame { grid-column:1;grid-row:2/4;min-height:170px;margin:0; }
 .ff-panel .ff-preview-frame>h2 { font-size:30px; }
 .ff-panel .ff-private-name { margin-top:0; }
}
@media(max-width:600px) {
 .ff-panel .ff-workspace { padding:0 18px 30px!important; }
 .ff-panel .ff-section-heading { gap:12px!important; }
 .ff-panel .ff-section-heading>div { font-size:32px!important; }
 .ff-panel .ff-section-heading>button { font-size:13px!important; }
 .ff-panel .ff-list-toolbar { flex-direction:column;align-items:stretch!important; }
 .ff-panel .ff-list-toolbar input { flex-basis:auto!important;width:100%; }
 .ff-panel .ff-list-toolbar select { align-self:flex-end; }
 .ff-panel .ff-grid-duze,.ff-panel .ff-grid-srednie { --ff-card-min:100%; }
 .ff-panel .ff-grid-male { --ff-card-min:130px; }
 .ff-panel .ff-card-grid { gap:15px!important; }
 .ff-panel .ff-card-male .ff-card-title { font-size:21px!important; }
 .ff-panel .ff-card-list .ff-card { flex-wrap:wrap;gap:8px!important; }
 .ff-panel .ff-card-list .ff-card-copy { min-width:120px; }
 .ff-panel .ff-card-list .ff-card>span:last-child { max-width:100%;width:100%;padding-left:80px; }
 .ff-panel .ff-session-form { padding:21px!important; }
 .ff-panel .ff-session-preview { display:block;padding:21px; }
 .ff-panel .ff-preview-frame { min-height:180px;margin:18px 0; }
 .ff-panel .ff-private-name { margin-top:18px; }
 .ff-panel .ff-form-heading { font-size:29px; }
 .ff-panel .ff-session-actions { flex-direction:column; }
 .ff-panel .ff-session-actions button { width:100%; }
 .ff-panel .ff-editor { padding:20px 17px 185px!important; }
 .ff-panel .ff-editor-header { gap:14px!important;padding-bottom:18px!important;margin-bottom:21px!important; }
 .ff-panel .ff-editor-header h1 { font-size:32px!important;flex-basis:100%!important; }
 .ff-panel .ff-editor-header h1>div { margin-top:9px!important; }
 .ff-panel .ff-editor-settings { display:block;padding:21px; }
 .ff-panel .ff-editor-settings>.ff-setting-field { margin-bottom:24px!important; }
 .ff-panel .ff-editor-settings>.ff-setting-field:last-child { margin-bottom:0!important; }
 .ff-panel .ff-delivery-columns { grid-template-columns:minmax(0,1fr); }
 .ff-panel .ff-media-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important; }
 .ff-panel .ff-upload-box,.ff-panel .ff-video-section { padding:18px; }
 .ff-panel .ff-editor-actions { width:100%;max-width:100%!important;border-radius:13px 13px 0 0;padding:12px 13px calc(12px + env(safe-area-inset-bottom));justify-content:center;gap:8px!important; }
 .ff-panel .ff-editor-actions button { font-size:12px!important;padding:10px 12px!important; }
 .ff-panel .ff-editor-actions>span>span { max-width:none!important; }
 .ff-panel .ff-dialog { padding:22px!important;border-radius:15px!important; }
 .ff-panel .ff-dialog h2,.ff-panel .ff-dialog h3 { font-size:30px!important; }
 .ff-panel .ff-dialog p { font-size:14px!important; }
}
@media(max-width:350px) {
 .ff-panel .ff-workspace { padding-left:13px!important;padding-right:13px!important; }
 .ff-panel .ff-editor { padding-left:12px!important;padding-right:12px!important; }
 .ff-panel .ff-editor-actions button { font-size:11px!important;padding:10px!important; }
 .ff-panel .ff-session-form,.ff-panel .ff-editor-settings { padding:18px!important; }
}
@keyframes ff-content-enter { from{opacity:.6}to{opacity:1} }
@media(prefers-reduced-motion:reduce) {
 .ff-panel .ff-app *,.ff-panel .ff-app *::before,.ff-panel .ff-app *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
}

/* SOL117 — faithful panel composition, shared expanded/compact destinations.
   Three-column home is the owner's chosen composition for BOTH themes.
   Photographs keep their original colours; only the cover's text scrim is decorative. */
.ff-panel .ff-topbar { min-height:86px;margin:0!important;padding:15px 0;border-bottom:1px solid var(--ff-line); }
.ff-panel .ff-brand-header { display:flex;align-items:center;gap:22px;min-width:0;width:100%; }
.ff-panel .ff-brand { display:flex;align-items:center;flex:0 0 145px;width:145px;min-height:45px;border:0;background:none;padding:0;cursor:pointer; }
.ff-panel .ff-brand img { display:block;width:145px;height:45px;object-fit:contain; }
.ff-panel .ff-brand:disabled { opacity:1;cursor:default; }
.ff-panel .ff-header-divider { height:24px;width:1px;background:var(--ff-line); }
.ff-panel .ff-header-breadcrumb { font:10px/1.5 var(--ff-sans);letter-spacing:.19em;text-transform:uppercase;color:var(--ff-muted); }
.ff-panel .ff-header-tools { margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap!important;gap:14px!important;min-width:0; }
.ff-panel .ff-header-tools>button { min-width:44px;min-height:44px;justify-content:center;flex-shrink:0; }
.ff-panel .ff-help-trigger { min-width:44px;min-height:44px; }
.ff-panel .ff-help-trigger>span:first-child { width:23px!important;height:23px!important;flex-shrink:0;font-size:16px!important; }
.ff-panel .ff-help-label { font:12px/1.4 var(--ff-sans); }
.ff-panel .ff-account-tools { position:relative; }
.ff-panel .ff-account-tools summary,.ff-panel .ff-header-identity { display:flex;align-items:center;gap:11px;min-height:44px;color:var(--ff-ink);font:12px/1.4 var(--ff-sans); }
.ff-panel .ff-account-tools summary { list-style:none;cursor:pointer; }
.ff-panel .ff-account-tools summary::-webkit-details-marker { display:none; }
.ff-panel .ff-header-avatar { display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--ff-gold);border-radius:50%;font:italic 20px/1 var(--ff-serif);color:var(--ff-gold-light); }
.ff-panel .ff-header-studio { max-width:200px;overflow-wrap:anywhere; }
.ff-panel .ff-account-tools>div { position:absolute;right:0;top:calc(100% + 12px);width:250px;max-width:calc(100vw - 36px);z-index:800;background:var(--ff-card);border:1px solid var(--ff-line);border-radius:12px;padding:10px;box-shadow:0 12px 40px #0005;display:grid;gap:5px; }
.ff-panel .ff-account-tools>div>button { width:100%;min-height:44px;text-align:left;padding:10px!important;opacity:1!important;font:14px/1.5 var(--ff-sans)!important;background:transparent;border:0;color:var(--ff-ink);cursor:pointer; }
.ff-panel .ff-account-tools[open]>summary { color:var(--ff-gold); }
.ff-panel .ff-greeting { padding:28px 0 24px; }
.ff-panel .ff-greeting h1 { font:italic 64px/.98 var(--ff-serif);font-weight:400;letter-spacing:-.025em;color:var(--ff-ink);overflow-wrap:anywhere;margin:0; }
.ff-panel .ff-greeting p { font:16px/1.5 var(--ff-sans);color:var(--ff-muted);margin:10px 0 0; }
.ff-panel .ff-dashboard { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.35fr) minmax(0,.9fr);grid-template-rows:repeat(2,minmax(166px,auto));gap:16px;margin:0 0 28px; }
.ff-panel .ff-dashboard-card { min-width:0;position:relative;isolation:isolate;text-align:left;border:1px solid var(--ff-line);border-radius:15px;padding:0;background:linear-gradient(125deg,var(--ff-raised),var(--ff-card));color:var(--ff-ink);overflow:hidden;transition:border-color .2s,box-shadow .2s; }
.ff-panel .ff-dashboard-card:hover { border-color:var(--ff-gold);box-shadow:0 5px 20px #0004; }
.ff-panel .ff-dashboard-card:has(.ff-tile-link:focus-visible) { outline:2px solid var(--ff-gold-light);outline-offset:4px; }
.ff-panel .ff-tile-link { position:absolute;inset:0;z-index:2;width:100%;height:100%;background:none;border:0;cursor:pointer;opacity:0; }
.ff-panel .ff-tile-link:focus-visible { outline:none; }
.ff-panel .ff-tile-expanded { padding:23px;height:100%;position:relative;pointer-events:none;min-width:0; }
.ff-panel .ff-tile-expanded button { position:relative;z-index:3;pointer-events:auto; }
.ff-panel .ff-sessions-card { grid-column:1;grid-row:1/3;view-transition-name:ff-sessions-nav; }
.ff-panel .ff-clients-card { grid-column:2;grid-row:1/3;view-transition-name:ff-clients-nav; }
.ff-panel .ff-backpack-card { grid-column:3;grid-row:1;view-transition-name:ff-backpack-nav; }
.ff-panel .ff-dashboard-account-card { grid-column:3;grid-row:2;view-transition-name:ff-account-nav; }
.ff-panel .ff-sessions-card .ff-tile-expanded { display:flex;flex-direction:column; }
.ff-panel .ff-eyebrow { font:10px/1.5 var(--ff-sans);letter-spacing:.18em;text-transform:uppercase;color:var(--ff-muted); }
.ff-panel .ff-balance-layout { display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;margin:15px 0 20px; }
.ff-panel .ff-balance { font:128px/.94 var(--ff-serif);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.04em;color:var(--ff-gold-light); }
.ff-panel .ff-balance[data-many="true"] { font-size:80px; }
.ff-panel .ff-balance-label { font:12px/1.5 var(--ff-sans);color:var(--ff-muted);margin-top:3px; }
.ff-panel .ff-credit-expiry { max-width:100%;font:12px/1.8 var(--ff-sans);color:var(--ff-muted);border-left:1px solid var(--ff-line);padding-left:15px;margin:0; }
.ff-panel .ff-tile-actions { display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;margin-top:auto; }
.ff-panel .ff-primary-action { display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 19px;min-height:45px;max-width:100%;border:1px solid var(--ff-gold);border-radius:30px;background:linear-gradient(110deg,var(--ff-gold-light),var(--ff-gold));color:var(--ff-cta);font:500 12px/1.4 var(--ff-sans);cursor:pointer; }
.ff-panel .ff-primary-action>span:first-child { font-size:20px;line-height:1; }
.ff-panel .ff-text-action { display:inline-flex;align-items:center;justify-content:center;gap:14px;max-width:100%;min-height:44px;border:0;border-bottom:1px solid var(--ff-gold);background:none;color:var(--ff-gold-light);font:12px/1.4 var(--ff-sans);padding:6px 0;cursor:pointer; }
.ff-panel .ff-tile-title { display:flex;align-items:center;justify-content:space-between;gap:10px;font:26px/1.1 var(--ff-serif);overflow-wrap:anywhere; }
.ff-panel .ff-tile-arrow { font:23px/1 var(--ff-sans); }
.ff-panel .ff-clients-card .ff-tile-expanded { display:flex;flex-direction:column;align-items:flex-start; }
.ff-panel .ff-clients-card .ff-tile-title { width:100%; }
.ff-panel .ff-tile-photo { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:61% 45%;z-index:-2; }
.ff-panel .ff-clients-card:after { content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#000b,#0002),linear-gradient(0deg,#0008,transparent 70%); }
.ff-panel .ff-clients-card .ff-tile-expanded { color:#f5eee3; }
.ff-panel .ff-clients-card .ff-tile-arrow { color:#f5eee3; }
.ff-panel .ff-tile-no-photo { position:absolute;inset:0;display:grid;place-items:center;z-index:-2;background:radial-gradient(ellipse at 66% 42%,var(--ff-raised),var(--ff-bg));color:var(--ff-gold); }
.ff-panel .ff-tile-no-photo .ff-panel-icon { width:150px;height:150px;opacity:.24;transform:rotate(-12deg); }
.ff-panel .ff-client-count { font:96px/1.06 var(--ff-serif);font-variant-numeric:lining-nums;margin-top:12px; }
.ff-panel .ff-waiting-chip { display:inline-flex;align-items:center;gap:8px;font:500 12px/1.4 var(--ff-sans);color:#f0c76c;border:1px solid #c9a057;border-radius:30px;background:#15130de8;padding:9px 12px;margin-top:auto; }
.ff-panel .ff-waiting-chip>span { font-size:8px; }
.ff-panel .ff-backpack-card .ff-tile-expanded,.ff-panel .ff-dashboard-account-card .ff-tile-expanded { display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:18px;align-content:center; }
.ff-panel .ff-backpack-card .ff-tile-title,.ff-panel .ff-dashboard-account-card .ff-tile-title { grid-column:2;grid-row:1; }
.ff-panel .ff-tile-symbol { display:grid;place-items:center;color:var(--ff-gold-light);grid-column:1;grid-row:1/4;align-self:center;width:76px;height:76px; }
.ff-panel .ff-tile-symbol .ff-panel-icon { width:50px;height:45px; }
.ff-panel .ff-monogram { border:1px solid var(--ff-gold);border-radius:50%;font:italic 37px/1 var(--ff-serif); }
.ff-panel .ff-folder-count { grid-column:2;font:45px/1 var(--ff-serif);margin-top:8px; }
.ff-panel .ff-tile-description { grid-column:2;font:12px/1.5 var(--ff-sans);color:var(--ff-muted);margin:7px 0 0; }
.ff-panel .ff-account-title { grid-column:2;font:20px/1.2 var(--ff-serif);overflow-wrap:anywhere;margin:9px 0 0; }
.ff-panel .ff-owner-entry { display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 0 13px;margin-top:-10px;margin-bottom:16px;border:0;border-bottom:1px solid var(--ff-line);background:none;color:var(--ff-muted);font:12px/1.5 var(--ff-sans);text-align:left;cursor:pointer; }
.ff-panel .ff-owner-entry strong { color:var(--ff-gold);font-weight:500; }
.ff-panel .ff-owner-entry>span:last-child { margin-left:auto;font-size:19px; }
.ff-panel .ff-owner-entry>svg { color:var(--ff-gold);flex-shrink:0; }
.ff-panel .ff-panel-icon { display:inline-flex;flex:0 0 auto;width:24px;height:24px; }
.ff-panel .ff-panel-icon svg { width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.ff-panel .ff-icon-mechanika { display:none; }
.ff-panel .ff-compact-content { display:none; }
.ff-panel .ff-dashboard[data-compact="true"],.ff-panel .ff-navigation { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;position:sticky;top:12px;z-index:300;padding:5px;gap:6px;margin:24px 0 28px;background:var(--ff-bg);border:1px solid var(--ff-line);border-radius:16px; }
.ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card { grid-column:auto;grid-row:auto;min-height:55px;border:1px solid transparent;border-radius:11px;background:transparent;box-shadow:none; }
.ff-panel .ff-dashboard[data-compact="true"] .ff-tile-expanded,.ff-panel .ff-dashboard[data-compact="true"] .ff-tile-photo,.ff-panel .ff-dashboard[data-compact="true"] .ff-tile-no-photo,.ff-panel .ff-dashboard[data-compact="true"] .ff-clients-card:after { display:none; }
.ff-panel .ff-dashboard[data-compact="true"] .ff-compact-content,.ff-panel .ff-nav-item { display:flex;align-items:center;justify-content:center;gap:12px;min-height:55px;font:13px/1.4 var(--ff-sans);color:var(--ff-muted);min-width:0; }
.ff-panel .ff-compact-content>span { overflow-wrap:anywhere; }
.ff-panel .ff-compact-content .ff-panel-icon,.ff-panel .ff-nav-item .ff-panel-icon { color:var(--ff-gold);width:22px;height:22px; }
.ff-panel .ff-compact-content small,.ff-panel .ff-nav-item small { font:20px/1 var(--ff-serif);color:var(--ff-gold); }
.ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card[data-active="true"],.ff-panel .ff-nav-item[aria-current="page"] { border:1px solid var(--ff-gold);background:color-mix(in srgb,var(--ff-gold) 12%,var(--ff-card));border-radius:11px; }
.ff-panel .ff-nav-item { padding:7px;border:1px solid transparent; }
.ff-panel button.ff-nav-item { background:none;cursor:pointer; }
.ff-panel .ff-recent-sessions { margin:0 0 23px; }
.ff-panel .ff-recent-heading { display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px; }
.ff-panel .ff-recent-heading h2 { font:44px/1.05 var(--ff-serif);font-weight:400;letter-spacing:-.01em; }
.ff-panel .ff-recent-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px; }
.ff-panel .ff-recent-grid>.ff-card { width:100%!important;min-width:0; }
.ff-panel .ff-recent-grid .ff-card-image { height:218px;aspect-ratio:auto!important; }
.ff-panel .ff-recent-grid .ff-card-title { font-size:25px!important;font-weight:400!important; }
.ff-panel .ff-recent-grid .ff-card-copy { padding:15px 17px!important; }
.ff-panel .ff-recent-grid .ff-card-copy>div:not(.ff-card-title) { font-size:12px!important;line-height:1.6!important; }
.ff-panel .ff-home-empty { display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;min-height:170px;padding:25px;border:1px dashed var(--ff-line);border-radius:14px;color:var(--ff-muted);font:14px/1.6 var(--ff-sans); }
.ff-panel .ff-home-empty>.ff-panel-icon { color:var(--ff-gold);width:40px;height:40px; }
.ff-panel .ff-editor-shell { padding-bottom:0!important; }
/* Same watchmaking geometry as the approved Mechanika prototype. */
html[data-panel-theme="mechanika"] .ff-icon-atelier { display:none; }
html[data-panel-theme="mechanika"] .ff-icon-mechanika { display:block; }
html[data-panel-theme="mechanika"] .ff-topbar { border-bottom-color:var(--ff-gold);box-shadow:0 1px 0 #000,0 2px 0 #e7c88113; }
html[data-panel-theme="mechanika"] .ff-header-avatar { background:radial-gradient(circle at 40% 30%,var(--ff-raised),var(--ff-bg) 75%);box-shadow:inset 0 0 0 3px var(--ff-bg),inset 0 0 0 4px var(--ff-line); }
html[data-panel-theme="mechanika"] .ff-dashboard-card { border-color:var(--ff-gold);border-radius:12px;background:linear-gradient(140deg,var(--ff-raised),var(--ff-card) 46%,var(--ff-bg));box-shadow:inset 0 0 0 3px var(--ff-bg),inset 0 0 0 4px #a78b5033,inset 0 1px 0 #ead49c,0 10px 24px #0007; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-card:before { content:"";position:absolute;inset:7px;border-radius:7px;background:radial-gradient(circle at 3px 3px,#ffe4a5 0 1px,#9e7e43 1.5px 3px,#141619 3.5px 4px,transparent 4.5px),radial-gradient(circle at calc(100% - 3px) 3px,#ffe4a5 0 1px,#9e7e43 1.5px 3px,#141619 3.5px 4px,transparent 4.5px),radial-gradient(circle at 3px calc(100% - 3px),#ffe4a5 0 1px,#9e7e43 1.5px 3px,#141619 3.5px 4px,transparent 4.5px),radial-gradient(circle at calc(100% - 3px) calc(100% - 3px),#ffe4a5 0 1px,#9e7e43 1.5px 3px,#141619 3.5px 4px,transparent 4.5px);pointer-events:none;z-index:1; }
html[data-panel-theme="mechanika"] .ff-sessions-card .ff-eyebrow { text-align:center; }
html[data-panel-theme="mechanika"] .ff-balance-layout { align-items:center;gap:17px;margin:20px 0 19px; }
html[data-panel-theme="mechanika"] .ff-balance-dial { position:relative;isolation:isolate;width:min(100%,238px);aspect-ratio:1;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #dab879;border-radius:50%;padding:20px;background:radial-gradient(circle at 44% 35%,var(--ff-raised),var(--ff-bg) 65%,#615137 66%,var(--ff-card) 69%);box-shadow:0 0 0 4px var(--ff-bg),0 0 0 5px #8b7044,0 0 0 8px var(--ff-card),0 0 0 9px #9f8150,inset 0 0 0 6px #e7c98013,0 12px 24px #0009; }
html[data-panel-theme="mechanika"] .ff-balance-dial:before { content:"";position:absolute;inset:-7px;border-radius:50%;background:repeating-conic-gradient(#f7df9c 0deg 1deg,#685333 1deg 2.5deg,#151717 2.5deg 4deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5px));pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-balance-dial:after { content:"";position:absolute;inset:13px;z-index:-1;border:1px solid #b897554a;border-radius:50%;background:repeating-conic-gradient(from -14deg,transparent 0deg 54deg,#a78f5d30 55deg 56deg,transparent 57deg 60deg);pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-balance { font-size:clamp(82px,7.8vw,108px);line-height:.95;text-shadow:0 2px 0 #000,0 0 22px #b992411a; }
html[data-panel-theme="mechanika"] .ff-balance-label { text-align:center;margin-top:10px; }
html[data-panel-theme="mechanika"] .ff-credit-expiry { border-left:0;border-top:1px solid var(--ff-line);padding:10px 0 0;text-align:center;font-size:11px;line-height:1.65; }
html[data-panel-theme="mechanika"] .ff-tile-actions { justify-content:center;gap:8px 14px; }
html[data-panel-theme="mechanika"] .ff-tile-actions .ff-primary-action { flex:1 1 auto; }
html[data-panel-theme="mechanika"] .ff-primary-action,html[data-panel-theme="mechanika"] .ff-waiting-chip { border-radius:7px; }
html[data-panel-theme="mechanika"] .ff-tile-symbol { border:1px solid #d6b16c;border-radius:50%;background:radial-gradient(circle at 38% 26%,var(--ff-raised),var(--ff-bg) 70%);box-shadow:0 0 0 3px var(--ff-bg),0 0 0 4px #705b37,inset 0 0 0 5px var(--ff-bg),inset 0 0 0 6px #b08d4f80; }
html[data-panel-theme="mechanika"] .ff-tile-symbol .ff-panel-icon { width:36px;height:36px; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="true"] { border-radius:11px;box-shadow:inset 0 0 0 2px var(--ff-card); }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="true"] .ff-dashboard-card { border-radius:7px; }
@media(min-width:1450px) { .ff-panel .ff-recent-grid .ff-card-image { height:232px; } }
@media(max-width:1150px) {
 .ff-panel .ff-dashboard { grid-template-columns:minmax(0,1.05fr) minmax(0,1.2fr) minmax(0,.9fr);gap:13px; }
 .ff-panel .ff-tile-expanded { padding:20px; }
 .ff-panel .ff-backpack-card .ff-tile-expanded,.ff-panel .ff-dashboard-account-card .ff-tile-expanded { grid-template-columns:58px minmax(0,1fr);column-gap:12px; }
 .ff-panel .ff-tile-symbol { width:58px;height:58px;font-size:30px; }
 .ff-panel .ff-tile-title { font-size:24px; }
 .ff-panel .ff-account-title { font-size:19px; }
 .ff-panel .ff-recent-grid .ff-card-image { height:195px; }
 .ff-panel .ff-header-studio { max-width:160px; }
}
@media(max-width:850px) {
 .ff-panel .ff-header-breadcrumb,.ff-panel .ff-header-divider,.ff-panel .ff-help-label { display:none; }
 .ff-panel .ff-header-tools { gap:8px!important; }
 .ff-panel .ff-dashboard { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto; }
 .ff-panel .ff-sessions-card { grid-column:1;grid-row:1; }
 .ff-panel .ff-clients-card { grid-column:2;grid-row:1;min-height:300px; }
 .ff-panel .ff-backpack-card { grid-column:1;grid-row:2; }
 .ff-panel .ff-dashboard-account-card { grid-column:2;grid-row:2; }
 .ff-panel .ff-backpack-card,.ff-panel .ff-dashboard-account-card { min-height:142px; }
 .ff-panel .ff-greeting h1 { font-size:58px; }
 .ff-panel .ff-recent-grid .ff-card-image { height:175px; }
 .ff-panel .ff-dashboard[data-compact="true"] { grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto; }
 .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card { grid-column:auto;grid-row:auto;min-height:55px; }
}
@media(max-width:600px) {
 .ff-panel .ff-topbar { min-height:72px;padding:12px 0; }
 .ff-panel .ff-brand-header { gap:8px; }
 .ff-panel .ff-brand { flex-basis:112px;width:112px; }
 .ff-panel .ff-brand img { width:112px;height:40px; }
 .ff-panel .ff-header-tools { gap:4px!important; }
 .ff-panel .ff-header-studio,.ff-panel .ff-account-tools summary>span:last-child { display:none; }
 .ff-panel .ff-account-tools summary,.ff-panel .ff-header-identity { min-width:44px;justify-content:center;gap:0; }
 .ff-panel .ff-header-avatar { width:34px;height:34px;flex-basis:34px;font-size:19px; }
 .ff-panel .ff-greeting { padding:25px 0 22px; }
 .ff-panel .ff-greeting h1 { font-size:43px;line-height:1.02;letter-spacing:-.03em; }
 .ff-panel .ff-greeting p { font-size:13px;margin-top:10px; }
 .ff-panel .ff-dashboard { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto;gap:12px;margin-bottom:26px; }
 .ff-panel .ff-sessions-card { grid-column:1/-1;grid-row:1;min-height:225px; }
 .ff-panel .ff-clients-card { grid-column:1/-1;grid-row:2;min-height:230px; }
 .ff-panel .ff-backpack-card { grid-column:1;grid-row:3; }
 .ff-panel .ff-dashboard-account-card { grid-column:2;grid-row:3; }
 .ff-panel .ff-tile-expanded { padding:21px; }
 .ff-panel .ff-balance-layout { flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 14px; }
 .ff-panel .ff-balance { font-size:111px; }
 .ff-panel .ff-balance[data-many="true"] { font-size:70px; }
 .ff-panel .ff-credit-expiry { font-size:11px;max-width:150px; }
 .ff-panel .ff-tile-actions { gap:12px; }
 .ff-panel .ff-tile-actions .ff-primary-action { flex:1; }
 .ff-panel .ff-primary-action { padding:11px 14px; }
 .ff-panel .ff-tile-title { font-size:27px; }
 .ff-panel .ff-client-count { font-size:71px;line-height:1;margin-top:4px; }
 .ff-panel .ff-waiting-chip { font-size:11px;padding:7px 10px;margin-top:20px; }
 .ff-panel .ff-backpack-card,.ff-panel .ff-dashboard-account-card { min-height:180px; }
 .ff-panel .ff-backpack-card .ff-tile-expanded,.ff-panel .ff-dashboard-account-card .ff-tile-expanded { display:block;padding:17px; }
 .ff-panel .ff-backpack-card .ff-tile-title,.ff-panel .ff-dashboard-account-card .ff-tile-title { font-size:24px; }
 .ff-panel .ff-tile-symbol { width:46px;height:46px;margin:17px 0 12px;font-size:27px; }
 .ff-panel .ff-tile-symbol .ff-panel-icon { width:35px;height:30px; }
 .ff-panel .ff-folder-count { font-size:38px;margin-top:8px; }
 .ff-panel .ff-account-title { font-size:18px;margin:0; }
 .ff-panel .ff-tile-description { font-size:12px; }
 .ff-panel .ff-owner-entry { flex-wrap:wrap;gap:8px;font-size:12px; }
 .ff-panel .ff-owner-entry>span:not(:last-child) { flex-basis:75%; }
 .ff-panel .ff-dashboard[data-compact="true"],.ff-panel .ff-navigation { margin-top:18px;margin-bottom:24px;gap:3px;padding:4px;border-radius:12px;top:8px;grid-template-columns:repeat(4,minmax(0,1fr)); }
 .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card { min-height:65px; }
 .ff-panel .ff-dashboard[data-compact="true"] .ff-compact-content,.ff-panel .ff-nav-item { min-height:65px;flex-direction:column;gap:5px;font-size:11px;padding:7px 2px;text-align:center; }
 .ff-panel .ff-compact-content small,.ff-panel .ff-nav-item small { display:none; }
 .ff-panel .ff-compact-content .ff-panel-icon,.ff-panel .ff-nav-item .ff-panel-icon { width:21px;height:21px; }
 .ff-panel .ff-recent-heading { gap:10px; }
 .ff-panel .ff-recent-heading h2 { font-size:34px; }
 .ff-panel .ff-recent-heading .ff-text-action { font-size:12px;gap:5px; }
 .ff-panel .ff-recent-grid { grid-template-columns:1fr;gap:17px; }
 .ff-panel .ff-recent-grid .ff-card-image { height:230px; }
 .ff-panel .ff-recent-grid .ff-card-copy { padding:16px!important; }
 html[data-panel-theme="mechanika"] .ff-balance-layout { flex-direction:column;gap:17px;margin:20px 0 19px; }
 html[data-panel-theme="mechanika"] .ff-tile-symbol .ff-panel-icon { width:29px;height:29px; }
}
@media(max-width:350px) {
 .ff-panel .ff-greeting h1 { font-size:38px; }
 .ff-panel .ff-tile-expanded { padding:18px; }
 .ff-panel .ff-credit-expiry { max-width:130px;padding-left:12px; }
 .ff-panel .ff-primary-action { padding:10px 12px; }
 .ff-panel .ff-recent-heading { align-items:flex-start;flex-direction:column;gap:2px; }
 .ff-panel .ff-backpack-card .ff-tile-title,.ff-panel .ff-dashboard-account-card .ff-tile-title { font-size:22px; }
}
@media(prefers-reduced-motion:no-preference) {
 ::view-transition-group(ff-sessions-nav),::view-transition-group(ff-clients-nav),::view-transition-group(ff-backpack-nav),::view-transition-group(ff-account-nav) { animation-duration:380ms;animation-timing-function:cubic-bezier(.2,.75,.2,1); }
 ::view-transition-old(root),::view-transition-new(root) { animation-duration:160ms; }
}
@media(prefers-reduced-motion:reduce) {
 ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) { animation:none!important; }
 .ff-panel .ff-dashboard-card,.ff-panel .ff-primary-action { transition:none!important; }
}

/* SOL117: kompaktowy dzwonek zachowuje pelna dostepna nazwe; bez nakladania na logo. */
@media(max-width:800px){
 .ff-panel .ff-header-tools .ff-push-label { display:none; }
 .ff-panel .ff-header-tools .ff-push-trigger { flex:0 0 44px;width:44px;height:44px;padding:10px!important;border-radius:50%!important; }
 .ff-panel .ff-header-tools .ff-push-trigger svg { width:18px;height:18px;flex-shrink:0; }
}

.ff-panel button.ff-nav-item:focus-visible { outline:2px solid var(--ff-gold);outline-offset:3px; }

/* SOL120: approved Atelier SOL119. New ornaments are inert; Mechanika keeps its
   former layout, SVG24 and monogram. No sample records or photo colour filters. */
.ff-counter-heading,.ff-counter-center { display:contents; }
.ff-panel .ff-atelier-only,.ff-atelier-kicker,.ff-atelier-signature,.ff-atelier-counter-camera,
.ff-atelier-dial-face,.ff-atelier-ring,.ff-atelier-dial-ticks,.ff-atelier-counter-overline,
.ff-atelier-counter-unit,.ff-atelier-counter-light { display:none; }
html[data-panel-theme="atelier"] .ff-app { background:radial-gradient(ellipse at 6% 5%,#332d2325,transparent 48%),var(--ff-bg)!important; }
html[data-panel-theme="atelier"] .ff-workspace { max-width:1480px!important; }
html[data-panel-theme="atelier"] .ff-topbar { min-height:88px;background:transparent;border-bottom-color:#cdb47730; }
html[data-panel-theme="atelier"] .ff-header-divider { background:#d9bc7a42; }
html[data-panel-theme="atelier"] .ff-header-avatar { border-color:#bda268;background:radial-gradient(circle at 30% 20%,#40382c,#181612);color:#e7d5a5; }
html[data-panel-theme="atelier"] .ff-greeting { display:flex;justify-content:space-between;align-items:center;padding:30px 0 29px;gap:20px; }
html[data-panel-theme="atelier"] .ff-greeting-copy { min-width:0; }
html[data-panel-theme="atelier"] .ff-atelier-kicker { display:block;font:9px/1.5 var(--ff-sans);letter-spacing:.24em;text-transform:uppercase;color:#bbaa7f;margin-bottom:13px; }
html[data-panel-theme="atelier"] .ff-greeting h1 { font-size:59px;letter-spacing:-.025em; }
html[data-panel-theme="atelier"] .ff-greeting p { font-size:13px;color:#bdb7aa;margin-top:12px; }
html[data-panel-theme="atelier"] .ff-atelier-signature { display:block;flex:0 0 auto;font:italic 39px/1 var(--ff-serif);color:#d4bc83;text-align:right;padding-right:6px;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-atelier-signature>span { display:block;font:8px/1.5 var(--ff-sans);letter-spacing:.22em;text-transform:uppercase;color:#a49b88;margin-top:12px; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] { grid-template-columns:minmax(0,1.24fr) minmax(0,1.08fr) repeat(2,minmax(0,.74fr));grid-template-rows:auto;gap:16px;margin-bottom:33px; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-dashboard-card { grid-column:auto;grid-row:auto;min-height:342px;border-radius:15px;border-color:#a18b573f;background:linear-gradient(135deg,#2927225c,#151514 63%,#201e1b);box-shadow:inset 0 1px #e5d3a414,0 8px 20px #0002; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-dashboard-card:hover { border-color:#a48b59a6;box-shadow:inset 0 1px #fce5aa2b,0 12px 32px #0004; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-tile-expanded { padding:22px;display:flex;flex-direction:column; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-sessions-card { background:radial-gradient(ellipse at 50% 30%,#40392d29,#141312 70%);border-color:#bb9d675e; }
html[data-panel-theme="atelier"] .ff-counter-heading { display:flex;justify-content:space-between;align-items:center;gap:10px;color:#ccb781;min-height:26px; }
html[data-panel-theme="atelier"] .ff-counter-heading .ff-eyebrow { color:#cfccb9;font-size:10px;letter-spacing:.17em; }
html[data-panel-theme="atelier"] .ff-atelier-counter-camera { display:inline-flex;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-atelier-counter-camera .ff-panel-icon { width:26px;height:26px; }
html[data-panel-theme="atelier"] .ff-balance-layout { align-items:center;flex-direction:column;gap:0;margin:-3px 0 13px;justify-content:center; }
html[data-panel-theme="atelier"] .ff-balance-dial { --ff-counter-number-size:80px;position:relative;width:230px;max-width:100%;aspect-ratio:1;flex:0 0 auto;isolation:isolate; }
html[data-panel-theme="atelier"] .ff-atelier-dial-face { display:block;position:absolute;inset:20%;border-radius:50%;background:radial-gradient(circle at 36% 22%,#36312a 0,#211d18 44%,#151310 77%);box-shadow:inset 0 2px 22px #000a,0 1px 1px #e7d29c30;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-atelier-ring { display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1;filter:drop-shadow(0 5px 8px #0008);pointer-events:none; }
html[data-panel-theme="atelier"] .ff-atelier-dial-ticks { display:block;position:absolute;inset:18.6%;border-radius:50%;border:1px solid #9b8c5b50;z-index:2;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-counter-center { position:absolute;inset:25% 18%;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-atelier-counter-overline { display:block;font:8px/1.4 var(--ff-sans);letter-spacing:.16em;text-transform:uppercase;color:#b6b399;text-align:center;max-width:100%; }
html[data-panel-theme="atelier"] .ff-balance,html[data-panel-theme="atelier"] .ff-balance[data-many="true"] { font:calc(var(--ff-counter-number-size) * var(--ff-counter-scale,1))/.94 var(--ff-serif);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.04em;color:#f0e1b8;text-shadow:0 2px 7px #0008;margin-top:7px;min-width:1ch;text-align:center;white-space:nowrap; }
html[data-panel-theme="atelier"] .ff-atelier-counter-unit { display:block;font:italic 17px/1 var(--ff-serif);color:#bfb28e;margin-top:5px; }
html[data-panel-theme="atelier"] .ff-balance-label { display:none; }
html[data-panel-theme="atelier"] .ff-atelier-counter-light { display:block;position:absolute;inset:7%;border-radius:50%;z-index:2;pointer-events:none;background:conic-gradient(from 205deg,transparent 0 76%,#fbe7ad3d 79%,transparent 83%);-webkit-mask-image:radial-gradient(circle,transparent 58%,#000 60% 65%,transparent 67%);mask-image:radial-gradient(circle,transparent 58%,#000 60% 65%,transparent 67%);opacity:.55;transform:rotate(var(--ff-dial-turn,0deg));transition:transform 1.2s cubic-bezier(.19,1,.22,1); }
html[data-panel-theme="atelier"] .ff-balance-changing .ff-atelier-ring { animation:ff-atelier-ring-settle .9s cubic-bezier(.16,1,.3,1); }
@keyframes ff-atelier-ring-settle { from{transform:rotate(-6deg);filter:drop-shadow(0 5px 8px #0008) brightness(1.18)}to{transform:rotate(0);filter:drop-shadow(0 5px 8px #0008) brightness(1)} }
html[data-panel-theme="atelier"] .ff-credit-expiry { border:0;padding:0;margin:0;font-size:10px;letter-spacing:.015em;color:#b2ab9c;display:flex;align-items:flex-start;gap:7px;line-height:1.5;max-width:100%; }
html[data-panel-theme="atelier"] .ff-credit-expiry:before { content:"";flex:0 0 4px;width:4px;height:4px;margin-top:6px;border-radius:50%;background:#bd9f61;box-shadow:0 0 8px #d8b36735;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-tile-actions { margin-top:auto;gap:10px;justify-content:space-between; }
html[data-panel-theme="atelier"] .ff-tile-actions .ff-primary-action { padding:10px 16px;min-height:44px;font-size:11px; }
html[data-panel-theme="atelier"] .ff-primary-action { background:linear-gradient(125deg,#e4d09c,#c7a65f 65%,#dcc087);border-color:#c9aa68;box-shadow:inset 0 1px #fff4,0 3px 7px #0003;color:#1b1812; }
html[data-panel-theme="atelier"] .ff-primary-action:hover { background:#e8d6a7; }
html[data-panel-theme="atelier"] .ff-text-action { color:#d5bd86;border-color:#8f7b4c; }
html[data-panel-theme="atelier"] .ff-tile-actions .ff-text-action { font-size:11px;gap:6px; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-clients-card { background:#171512; }
html[data-panel-theme="atelier"] .ff-clients-card .ff-tile-photo { object-position:57% 45%; }
html[data-panel-theme="atelier"] .ff-clients-card:after { background:linear-gradient(180deg,#0d0c0b35 0,transparent 25%,#0d0c0bd6 83%),linear-gradient(90deg,#0d0c0b90,transparent 70%); }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { justify-content:space-between; }
html[data-panel-theme="atelier"] .ff-tile-title { font-size:29px;line-height:1;color:#eeeadc; }
html[data-panel-theme="atelier"] .ff-tile-arrow { font:20px var(--ff-sans);color:#cbb788; }
html[data-panel-theme="atelier"] .ff-clients-card .ff-client-count { margin-top:auto;font-size:77px;color:#faf2d9; }
html[data-panel-theme="atelier"] .ff-clients-card .ff-waiting-chip { margin-top:12px;align-self:flex-start;background:#15120dd9;border-color:#c3a66a90;color:#e4d1a2;font-size:10px; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { align-items:stretch; }
html[data-panel-theme="atelier"] .ff-atelier-medallion { width:112px;height:112px;flex:0 0 auto;position:relative;display:grid;place-items:center;align-self:center;margin:35px auto 24px;border:1px solid #c4ac6c60;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#49413455,#201b16 65%);box-shadow:inset 0 0 0 5px #16120e,inset 0 0 0 6px #8e805d50,0 7px 14px #0005;color:#d6bd83;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-atelier-medallion:before { content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid #c4ac6c19;pointer-events:none; }
html[data-panel-theme="atelier"] .ff-atelier-medallion .ff-panel-icon { width:66px;height:66px;filter:drop-shadow(0 2px 1px #0009); }
html[data-panel-theme="atelier"] .ff-atelier-account-emblem { margin-bottom:25px; }
html[data-panel-theme="atelier"] .ff-atelier-account-emblem .ff-panel-icon { width:77px;height:77px;opacity:.72; }
html[data-panel-theme="atelier"] .ff-folder-count { font:52px/1 var(--ff-serif);margin:0;text-align:center;color:#e7dcbd; }
html[data-panel-theme="atelier"] .ff-folder-count small { display:inline;font:11px/1.4 var(--ff-sans);color:#b8af9d;margin-left:5px; }
html[data-panel-theme="atelier"] .ff-backpack-card .ff-tile-description,
html[data-panel-theme="atelier"] .ff-dashboard-account-card .ff-tile-description { text-align:center;font-size:11px;color:#afa593;margin-top:12px; }
html[data-panel-theme="atelier"] .ff-account-title { text-align:center;font:23px/1.2 var(--ff-serif);color:#e1ddcb;margin-top:3px; }
html[data-panel-theme="atelier"] .ff-atelier-only { display:block; }
html[data-panel-theme="atelier"] .ff-atelier-only.ff-atelier-medallion { display:grid; }
html[data-panel-theme="atelier"] .ff-legacy-only { display:none; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="true"],html[data-panel-theme="atelier"] .ff-navigation { background:#100f0df2;border-color:#9f8d4e45;box-shadow:0 10px 24px #0004; }
html[data-panel-theme="atelier"] .ff-dashboard[data-compact="true"] .ff-dashboard-card[data-active="true"],html[data-panel-theme="atelier"] .ff-nav-item[aria-current="page"] { background:linear-gradient(120deg,#3b332855,#2e271f66);border-color:#c2a56a75; }
html[data-panel-theme="atelier"] .ff-compact-content .ff-panel-icon,html[data-panel-theme="atelier"] .ff-nav-item .ff-panel-icon { width:29px;height:29px;color:#d4bc83; }
html[data-panel-theme="atelier"] .ff-recent-grid>.ff-card { padding:7px 7px 0;background:#1a1815!important;border-color:#98936527!important;border-radius:12px!important;box-shadow:0 8px 18px #0002; }
html[data-panel-theme="atelier"] .ff-recent-grid .ff-card-image { border-radius:7px;height:208px; }
html[data-panel-theme="atelier"] .ff-recent-grid .ff-card-copy { padding:16px 10px 17px!important; }
html[data-panel-theme="atelier"] .ff-recent-grid .ff-card-title { font-size:26px!important; }
html[data-panel-theme="atelier"] .ff-recent-heading h2 { font-size:39px; }
@media(max-width:1200px) and (min-width:851px) {
 html[data-panel-theme="atelier"] .ff-workspace { padding-left:28px!important;padding-right:28px!important; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) repeat(2,minmax(0,.72fr));gap:12px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-tile-expanded { padding:17px; }
 html[data-panel-theme="atelier"] .ff-balance-dial { width:204px;--ff-counter-number-size:71px; }
 html[data-panel-theme="atelier"] .ff-atelier-counter-overline { font-size:7px; }
 html[data-panel-theme="atelier"] .ff-atelier-counter-unit { font-size:15px; }
 html[data-panel-theme="atelier"] .ff-atelier-medallion { width:94px;height:94px;margin-top:41px; }
 html[data-panel-theme="atelier"] .ff-atelier-medallion .ff-panel-icon { width:58px;height:58px; }
 html[data-panel-theme="atelier"] .ff-atelier-account-emblem .ff-panel-icon { width:70px;height:70px; }
 html[data-panel-theme="atelier"] .ff-account-title { font-size:21px; }
 html[data-panel-theme="atelier"] .ff-tile-actions { gap:8px; }
 html[data-panel-theme="atelier"] .ff-tile-actions .ff-primary-action { padding:10px 13px; }
}
@media(max-width:850px) {
 html[data-panel-theme="atelier"] .ff-workspace { padding-left:25px!important;padding-right:25px!important; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto auto;gap:15px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-dashboard-card { min-height:340px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-backpack-card,
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { min-height:218px; }
 html[data-panel-theme="atelier"] .ff-atelier-medallion { width:82px;height:82px;margin:16px auto 14px; }
 html[data-panel-theme="atelier"] .ff-atelier-medallion .ff-panel-icon { width:52px;height:52px; }
 html[data-panel-theme="atelier"] .ff-atelier-account-emblem .ff-panel-icon { width:60px;height:60px; }
 html[data-panel-theme="atelier"] .ff-folder-count { font-size:35px; }
 html[data-panel-theme="atelier"] .ff-account-title { font-size:22px;margin:0; }
 html[data-panel-theme="atelier"] .ff-greeting h1 { font-size:53px; }
 html[data-panel-theme="atelier"] .ff-atelier-signature { font-size:33px; }
 html[data-panel-theme="atelier"] .ff-atelier-signature>span { font-size:7px; }
}
@media(max-width:600px) {
 html[data-panel-theme="atelier"] .ff-workspace { padding-left:18px!important;padding-right:18px!important; }
 html[data-panel-theme="atelier"] .ff-topbar { min-height:70px; }
 html[data-panel-theme="atelier"] .ff-greeting { padding:27px 0 25px; }
 html[data-panel-theme="atelier"] .ff-greeting h1 { font-size:43px; }
 html[data-panel-theme="atelier"] .ff-greeting p { font-size:12px; }
 html[data-panel-theme="atelier"] .ff-atelier-kicker { font-size:8px;letter-spacing:.19em; }
 html[data-panel-theme="atelier"] .ff-atelier-signature { display:none; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto;gap:12px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column:1/-1;grid-row:1;min-height:347px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column:1/-1;grid-row:2;min-height:218px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column:1;grid-row:3;min-height:235px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column:2;grid-row:3;min-height:235px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-tile-expanded { padding:20px; }
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,
 html[data-panel-theme="atelier"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { padding:17px 12px; }
 html[data-panel-theme="atelier"] .ff-balance-dial { width:242px;--ff-counter-number-size:85px;margin-top:-12px;margin-bottom:-6px; }
 html[data-panel-theme="atelier"] .ff-balance-layout { flex-wrap:nowrap;gap:0;margin-bottom:13px; }
 html[data-panel-theme="atelier"] .ff-tile-actions .ff-primary-action { flex:initial;font-size:12px; }
 html[data-panel-theme="atelier"] .ff-clients-card .ff-client-count { font-size:62px; }
 html[data-panel-theme="atelier"] .ff-clients-card .ff-waiting-chip { margin-top:8px; }
 html[data-panel-theme="atelier"] .ff-atelier-medallion { margin:23px auto 18px; }
 html[data-panel-theme="atelier"] .ff-account-title { font-size:20px; }
 html[data-panel-theme="atelier"] .ff-tile-title { font-size:25px; }
 html[data-panel-theme="atelier"] .ff-recent-grid .ff-card-image { height:225px; }
 html[data-panel-theme="atelier"] .ff-recent-grid .ff-card-copy { padding:15px 9px!important; }
 html[data-panel-theme="atelier"] .ff-recent-grid .ff-card-title { font-size:25px!important; }
 html[data-panel-theme="atelier"] .ff-recent-heading h2 { font-size:33px; }
 html[data-panel-theme="atelier"] .ff-compact-content .ff-panel-icon,html[data-panel-theme="atelier"] .ff-nav-item .ff-panel-icon { width:27px;height:27px; }
}
@media(max-width:350px) {
 html[data-panel-theme="atelier"] .ff-workspace { padding-left:13px!important;padding-right:13px!important; }
 html[data-panel-theme="atelier"] .ff-greeting h1 { font-size:38px; }
 html[data-panel-theme="atelier"] .ff-tile-actions .ff-primary-action { padding:10px 13px;font-size:11px; }
 html[data-panel-theme="atelier"] .ff-tile-actions .ff-text-action { font-size:10px; }
 html[data-panel-theme="atelier"] .ff-account-title { font-size:18px; }
 html[data-panel-theme="atelier"] .ff-atelier-medallion { width:75px;height:75px; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-panel-theme="atelier"] .ff-atelier-counter-light,html[data-panel-theme="atelier"] .ff-atelier-ring { animation:none!important;transition:none!important; }
}

/* SOL120: the same Atelier backpack in the real heading / empty folder cover. */
html[data-panel-theme="atelier"] .ff-backpack-heading-icon { display:inline-flex;vertical-align:middle;margin-right:7px;color:var(--ff-gold-light);pointer-events:none; }
html[data-panel-theme="atelier"] .ff-backpack-heading-icon .ff-panel-icon { width:28px;height:28px; }
html[data-panel-theme="atelier"] .ff-backpack-folder-icon { color:var(--ff-gold-light);pointer-events:none; }
html[data-panel-theme="atelier"] .ff-backpack-folder-icon .ff-panel-icon { width:64px;height:64px; }

/* SOL125: accepted SOL123 Mechanika. Every override is theme-scoped; Atelier above is unchanged. */
html[data-panel-theme="mechanika"] .ff-app { background:radial-gradient(ellipse at 45% 0,#72502b20,transparent 54%),#0c0c0d!important; }
html[data-panel-theme="mechanika"] .ff-workspace { max-width:1480px!important; }
html[data-panel-theme="mechanika"] .ff-topbar { min-height:88px;background:transparent;border-bottom-color:#8d6c425c; }
html[data-panel-theme="mechanika"] .ff-header-avatar { background:radial-gradient(circle at 32% 24%,#4d4030,#181717 75%);border-color:#b58c51; }
html[data-panel-theme="mechanika"] .ff-greeting { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:31px 0 29px; }
html[data-panel-theme="mechanika"] .ff-greeting-copy { min-width:0; }
html[data-panel-theme="mechanika"] .ff-atelier-kicker { display:block;color:#c7a775;font:9px/1.5 var(--ff-sans);letter-spacing:.22em;margin-bottom:12px; }
html[data-panel-theme="mechanika"] .ff-greeting h1 { font-size:59px;color:#f0e6d1; }
html[data-panel-theme="mechanika"] .ff-greeting p { font-size:13px;color:#c1b7a6;margin-top:12px; }
html[data-panel-theme="mechanika"] .ff-mechanika-signature { font:italic 37px/1 var(--ff-serif);color:#d4b37e;text-align:right;flex:0 0 auto;pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-mechanika-signature>span { display:block;font:8px/1.5 var(--ff-sans);letter-spacing:.25em;margin-top:12px;color:#ab9573; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] { grid-template-columns:minmax(0,1.08fr) minmax(0,1.22fr) minmax(0,.94fr);grid-template-rows:repeat(2,minmax(210px,auto));gap:18px;margin-bottom:34px; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column:1;grid-row:1/3; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column:2;grid-row:1/3; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column:3;grid-row:1; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column:3;grid-row:2; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-card { border:1px solid #b18b54;border-radius:13px 5px 13px 5px;box-shadow:inset 0 0 0 3px #0c0c0d,inset 0 0 0 4px #b18b543e,inset 0 1px #f5d8a26b,0 10px 25px #0006; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-card::before { inset:8px;opacity:.8; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-card:hover { border-color:#e9c58c;box-shadow:inset 0 0 0 3px #0c0c0d,inset 0 0 0 4px #d5ac6b5c,0 12px 30px #0008; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-sessions-card { background:radial-gradient(ellipse at 50% 43%,#5444315c,transparent 65%),repeating-linear-gradient(115deg,#ffffff03 0 1px,transparent 1px 4px),linear-gradient(130deg,#2b2928,#111112 65%,#24201e); }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded { padding:23px 22px 21px;display:flex;flex-direction:column;height:100%; }
html[data-panel-theme="mechanika"] .ff-counter-heading { display:flex;align-items:center;justify-content:space-between;min-height:28px;gap:12px; }
html[data-panel-theme="mechanika"] .ff-counter-heading .ff-eyebrow { font-size:10px;letter-spacing:.18em;text-align:left;color:#dfc697; }
html[data-panel-theme="mechanika"] .ff-atelier-counter-camera { display:inline-flex;pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-atelier-counter-camera .ff-panel-icon { width:28px;height:28px;color:#d8b681; }
html[data-panel-theme="mechanika"] .ff-balance-layout { margin:4px 0 18px;gap:5px;align-items:center;flex:1; }
html[data-panel-theme="mechanika"] .ff-mechanika-counter { position:relative;display:block;width:min(100%,310px);aspect-ratio:1;flex:0 0 auto;isolation:isolate;container-type:inline-size; }
html[data-panel-theme="mechanika"] .ff-mechanika-dial-face { position:absolute;inset:24%;border-radius:50%;background:radial-gradient(circle at 40% 25%,#302b26,#100f10 75%);box-shadow:inset 0 4px 18px #000b;pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-mechanika-instrument-fallback { position:absolute;inset:6%;border:12px double #b58a4e;border-radius:50%;background:repeating-conic-gradient(from 0deg,#cba569 0 1deg,#1c1917 1deg 6deg);box-shadow:0 0 0 3px #151415,0 0 0 4px #8c6942,inset 0 0 0 6px #151415;mask-image:radial-gradient(circle,transparent 55%,#000 56%);pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-mechanika-instrument { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:2;pointer-events:none;opacity:0; }
html[data-panel-theme="mechanika"] .ff-mechanika-counter.ff-art-ready .ff-mechanika-instrument { opacity:1; }
html[data-panel-theme="mechanika"] .ff-mechanika-counter.ff-art-ready .ff-mechanika-instrument-fallback { visibility:hidden; }
html[data-panel-theme="mechanika"] .ff-mechanika-counter-center { position:absolute;inset:27% 27.5%;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:3;pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-mechanika-counter .ff-balance { font:var(--ff-mechanika-number,76px)/.94 var(--ff-serif);letter-spacing:-.025em;font-variant-numeric:lining-nums tabular-nums;color:#f2dbac;text-shadow:0 2px 3px #000;margin:5px 0 0;text-align:center;white-space:nowrap; }
@supports(font-size:1cqw) { html[data-panel-theme="mechanika"] .ff-mechanika-counter .ff-balance { font-size:min(var(--ff-mechanika-number,76px),var(--ff-mechanika-relative,24.5cqw)); } }
html[data-panel-theme="mechanika"] .ff-mechanika-counter-unit { font:italic 16px/1.2 var(--ff-serif);color:#bfa67c;margin-top:6px; }
html[data-panel-theme="mechanika"] .ff-mechanika-counter-light { position:absolute;inset:21%;border-radius:50%;z-index:4;pointer-events:none;background:conic-gradient(from 0deg,transparent 0 85%,#fff0c455 89%,transparent 94%);mask-image:radial-gradient(circle,transparent 67%,#000 69% 72%,transparent 74%);opacity:0; }
html[data-panel-theme="mechanika"] .ff-credit-expiry { max-width:100%;border:0;border-top:1px solid #8d6b3f50;padding:9px 0 0;margin:0;font-size:11px;line-height:1.6;text-align:center;color:#c6b497; }
html[data-panel-theme="mechanika"] .ff-sessions-card .ff-tile-actions { gap:10px;flex-wrap:wrap;margin-top:auto; }
html[data-panel-theme="mechanika"] .ff-sessions-card .ff-tile-actions .ff-primary-action { min-height:46px;font-size:12px;padding:11px 17px;flex:1 1 150px; }
html[data-panel-theme="mechanika"] .ff-sessions-card .ff-tile-actions .ff-text-action { font-size:11px;min-height:44px;gap:7px; }
html[data-panel-theme="mechanika"] .ff-primary-action { background:linear-gradient(115deg,#efd39d,#cba065 55%,#e4c08a);color:#20180e;border-color:#e9c58c;border-radius:6px;box-shadow:inset 0 1px #fff6,inset 0 -2px #7d5d2b66,0 3px 8px #0006; }
html[data-panel-theme="mechanika"] .ff-primary-action:hover { background:#f2d8ab; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-clients-card { background:#171515; }
html[data-panel-theme="mechanika"] .ff-clients-card .ff-tile-photo { object-position:57% 45%; }
html[data-panel-theme="mechanika"] .ff-clients-card:after { background:linear-gradient(180deg,#0d0c0bc0,transparent 28%,#0d0c0be6 97%),linear-gradient(90deg,#0c0b0ac0,transparent 85%); }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { height:100%;padding:25px 25px 23px;display:flex;align-items:flex-start;flex-direction:column; }
html[data-panel-theme="mechanika"] .ff-tile-title { font:30px/1.1 var(--ff-serif);color:#f1dfbf; }
html[data-panel-theme="mechanika"] .ff-tile-arrow { font:21px/1 var(--ff-sans);color:#e5c288; }
html[data-panel-theme="mechanika"] .ff-client-count { font:calc(98px * var(--ff-client-count-scale,1))/1 var(--ff-serif);font-variant-numeric:lining-nums;color:#f5e8ce;margin-top:auto;max-width:calc(100% - 150px);white-space:nowrap; }
html[data-panel-theme="mechanika"] .ff-waiting-chip { margin-top:18px;max-width:calc(100% - 150px);padding:9px 11px;font-size:11px;line-height:1.4;white-space:normal;background:#161310ef;border-color:#d0a264;color:#ecd09e; }
/* Decorative assets retain their full aspect; the title/count/chip stay live HTML. */
html[data-panel-theme="mechanika"] .ff-mechanika-emblem { display:block;position:relative;isolation:isolate;width:142px;aspect-ratio:1;pointer-events:none; }
html[data-panel-theme="mechanika"] .ff-mechanika-emblem>img { display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0; }
html[data-panel-theme="mechanika"] .ff-mechanika-emblem.ff-art-ready>img { opacity:1; }
html[data-panel-theme="mechanika"] .ff-mechanika-emblem-fallback { position:absolute;inset:15%;display:grid;place-items:center;border:2px double #b18851;border-radius:50%;background:radial-gradient(circle at 35% 25%,#51402b,#1a1817);box-shadow:0 0 0 4px #171515,0 0 0 5px #83613c;color:#dfbc80; }
html[data-panel-theme="mechanika"] .ff-mechanika-emblem-fallback .ff-panel-icon { width:55%;height:55%; }
html[data-panel-theme="mechanika"] .ff-mechanika-emblem.ff-art-ready .ff-mechanika-emblem-fallback { visibility:hidden; }
html[data-panel-theme="mechanika"] .ff-mechanika-clients-emblem { position:absolute;right:12px;bottom:16px;width:146px;margin:0; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-backpack-card,
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { background:radial-gradient(ellipse at 25% 35%,#4e3b253e,transparent 75%),repeating-linear-gradient(5deg,#ffffff02 0 1px,transparent 1px 3px),linear-gradient(135deg,#282525,#111112);min-height:210px; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { height:100%;padding:22px 19px;display:grid;grid-template-columns:minmax(90px,.95fr) minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:13px;align-content:center;align-items:center; }
html[data-panel-theme="mechanika"] .ff-mechanika-backpack-emblem,
html[data-panel-theme="mechanika"] .ff-mechanika-account-emblem { width:100%;max-width:145px;grid-column:1;grid-row:1/4;align-self:center; }
html[data-panel-theme="mechanika"] .ff-backpack-card .ff-tile-title,
html[data-panel-theme="mechanika"] .ff-dashboard-account-card .ff-tile-title { grid-column:2;grid-row:1;font-size:27px;gap:5px; }
html[data-panel-theme="mechanika"] .ff-folder-count { grid-column:2;grid-row:2;margin:10px 0 0;font:44px/1 var(--ff-serif);color:#ecd4aa;white-space:normal; }
html[data-panel-theme="mechanika"] .ff-mechanika-folder-unit { display:block;font:11px/1.5 var(--ff-sans);color:#beac90;margin-top:5px; }
html[data-panel-theme="mechanika"] .ff-account-title { grid-column:2;grid-row:2;font:22px/1.15 var(--ff-serif);color:#e7d4b2;margin-top:9px;overflow-wrap:anywhere; }
html[data-panel-theme="mechanika"] .ff-dashboard .ff-tile-description.ff-legacy-only,
html[data-panel-theme="mechanika"] .ff-dashboard .ff-account-title.ff-legacy-only { display:none; }
html[data-panel-theme="mechanika"] .ff-backpack-card .ff-tile-description.ff-atelier-only,
html[data-panel-theme="mechanika"] .ff-dashboard-account-card .ff-tile-description.ff-atelier-only,
html[data-panel-theme="mechanika"] .ff-dashboard-account-card .ff-account-title.ff-atelier-only { display:block; }
html[data-panel-theme="mechanika"] .ff-backpack-card .ff-tile-description,
html[data-panel-theme="mechanika"] .ff-dashboard-account-card .ff-tile-description { grid-column:2;grid-row:3;margin-top:9px;font-size:11px;line-height:1.5;color:#bba990; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="true"],html[data-panel-theme="mechanika"] .ff-navigation { background:#151414;border-color:#927044;box-shadow:inset 0 0 0 2px #0b0b0c,0 7px 20px #0008; }
html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="true"] .ff-dashboard-card[data-active="true"],html[data-panel-theme="mechanika"] .ff-nav-item[aria-current="page"] { background:linear-gradient(145deg,#453626,#242020); }
@media(prefers-reduced-motion:no-preference) {
 html[data-panel-theme="mechanika"] .ff-mechanika-counter-changing .ff-mechanika-counter-light { animation:ff-mechanika-sweep 950ms ease-out; }
 html[data-panel-theme="mechanika"] .ff-mechanika-counter-changing .ff-mechanika-instrument { animation:ff-mechanika-settle 700ms cubic-bezier(.18,.75,.2,1); }
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) {
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-sessions-card:hover .ff-mechanika-counter:not(.ff-mechanika-counter-changing) .ff-mechanika-counter-light { animation:ff-mechanika-sweep 700ms ease-out; }
}
@keyframes ff-mechanika-settle { 0%{transform:rotate(-1.8deg)}45%{transform:rotate(.6deg)}100%{transform:rotate(0)} }
@keyframes ff-mechanika-sweep { 0%{opacity:0;transform:rotate(-40deg)}20%{opacity:.75}100%{opacity:0;transform:rotate(140deg)} }
@media(max-width:1120px) {
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:16px; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column:1;grid-row:1; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column:2;grid-row:1; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column:1;grid-row:2; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column:2;grid-row:2; }
 html[data-panel-theme="mechanika"] .ff-greeting h1 { font-size:53px; }
 html[data-panel-theme="mechanika"] .ff-mechanika-signature { font-size:31px; }
}
@media(max-width:600px) {
 html[data-panel-theme="mechanika"] .ff-topbar { min-height:72px; }
 html[data-panel-theme="mechanika"] .ff-greeting { padding:26px 0; }
 html[data-panel-theme="mechanika"] .ff-greeting h1 { font-size:43px; }
 html[data-panel-theme="mechanika"] .ff-greeting p { font-size:12px;line-height:1.6; }
 html[data-panel-theme="mechanika"] .ff-atelier-kicker { font-size:8px; }
 html[data-panel-theme="mechanika"] .ff-mechanika-signature { display:none; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] { gap:13px;grid-template-rows:auto auto auto; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column:1/-1;grid-row:1; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column:1/-1;grid-row:2;min-height:315px; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column:1;grid-row:3; }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column:2;grid-row:3; }
 html[data-panel-theme="mechanika"] .ff-mechanika-counter { width:min(100%,300px); }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded { padding:22px 19px; }
 html[data-panel-theme="mechanika"] .ff-client-count { font-size:calc(76px * var(--ff-client-count-scale,1));max-width:calc(100% - 112px); }
 html[data-panel-theme="mechanika"] .ff-mechanika-clients-emblem { width:min(38%,120px);right:12px;bottom:14px; }
 html[data-panel-theme="mechanika"] .ff-waiting-chip { max-width:calc(100% - 112px); }
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,
 html[data-panel-theme="mechanika"] .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { display:flex;flex-direction:column;align-items:stretch;padding:19px 12px;gap:0; }
 html[data-panel-theme="mechanika"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="mechanika"] .ff-dashboard-account-card .ff-tile-title { font-size:24px; }
 html[data-panel-theme="mechanika"] .ff-mechanika-backpack-emblem,html[data-panel-theme="mechanika"] .ff-mechanika-account-emblem { width:min(100%,138px);margin:7px auto 0;order:1; }
 html[data-panel-theme="mechanika"] .ff-folder-count,html[data-panel-theme="mechanika"] .ff-account-title { order:2;margin-top:4px; }
 html[data-panel-theme="mechanika"] .ff-folder-count { font-size:35px; }
 html[data-panel-theme="mechanika"] .ff-mechanika-folder-unit { display:inline;font-size:10px;margin-inline-start:4px; }
 html[data-panel-theme="mechanika"] .ff-account-title { font-size:21px; }
 html[data-panel-theme="mechanika"] .ff-backpack-card .ff-tile-description,html[data-panel-theme="mechanika"] .ff-dashboard-account-card .ff-tile-description { order:3;font-size:11px; }
}
@media(max-width:350px) {
 html[data-panel-theme="mechanika"] .ff-greeting h1 { font-size:38px; }
 html[data-panel-theme="mechanika"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="mechanika"] .ff-dashboard-account-card .ff-tile-title { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-panel-theme="mechanika"] .ff-mechanika-instrument,html[data-panel-theme="mechanika"] .ff-mechanika-counter-light,html[data-panel-theme="mechanika"] .ff-mechanika-counter .ff-balance { animation:none!important;transition:none!important; }
}

/* SOL128 · Editorial: approved paper composition, real application data. */
.ff-panel .ff-icon-editorial{display:none}
html[data-panel-theme="editorial"]{color-scheme:light;--ff-paper:url('/images/editorial-paper.webp')}
html[data-panel-theme="editorial"] body,html[data-panel-theme="editorial"] .ff-app{background-image:linear-gradient(#f4f0e8cf,#f4f0e8cf),var(--ff-paper)!important;background-size:auto,650px!important}
html[data-panel-theme="editorial"] .ff-workspace{max-width:1500px!important;padding-inline:42px!important}
html[data-panel-theme="editorial"] .ff-topbar{min-height:82px;background:none;border-bottom:1px solid #b8a99d;box-shadow:none}
html[data-panel-theme="editorial"] .ff-brand img{filter:none}
html[data-panel-theme="editorial"] .ff-header-avatar{background:var(--ff-gold);color:#fffaf4;font-style:normal}
html[data-panel-theme="editorial"] .ff-icon-atelier,html[data-panel-theme="editorial"] .ff-icon-mechanika{display:none}
html[data-panel-theme="editorial"] .ff-icon-editorial{display:block}
html[data-panel-theme="editorial"] .ff-greeting{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:29px 0 31px}
html[data-panel-theme="editorial"] .ff-greeting h1{font:500 clamp(44px,4.2vw,66px)/1.08 var(--ff-serif);letter-spacing:-.035em}
html[data-panel-theme="editorial"] .ff-greeting p{font-size:15px;margin-top:10px;color:var(--ff-muted)}
html[data-panel-theme="editorial"] .ff-atelier-kicker{display:block;color:var(--ff-gold);font-size:9px;letter-spacing:.22em;margin-bottom:13px}
html[data-panel-theme="editorial"] .ff-editorial-signature{font:italic 30px var(--ff-serif);color:var(--ff-gold);text-align:right;white-space:nowrap}
html[data-panel-theme="editorial"] .ff-editorial-signature span{display:block;font:8px var(--ff-sans);letter-spacing:.2em;margin-top:5px}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"]{grid-template-columns:minmax(0,.94fr) minmax(0,1.47fr) minmax(0,.88fr);grid-template-rows:208px 208px;gap:17px;margin-bottom:30px}
html[data-panel-theme="editorial"] .ff-dashboard-card{border:1px solid #c6b7aa;border-radius:5px;background:linear-gradient(#fffcf7b8,#fffcf7b8),var(--ff-paper);background-size:auto,650px;box-shadow:0 1px 3px #543b2a09;min-height:0}
html[data-panel-theme="editorial"] .ff-dashboard-card:hover{border-color:#9c6f72;box-shadow:0 6px 18px #543b2a0c}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] .ff-sessions-card{overflow:visible;background:none;border:none;isolation:isolate;margin:9px 5px 0 2px}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] .ff-sessions-card:before,html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] .ff-sessions-card:after{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid #d2c4b7;background:linear-gradient(#eee4d85c,#eee4d85c),var(--ff-paper);background-size:650px;z-index:-1;border-radius:3px;transform:rotate(-2.2deg) translate(-2px,-7px)}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] .ff-sessions-card:after{transform:rotate(1deg) translate(4px,-2px);z-index:-2}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded{padding:25px 23px 20px;background:linear-gradient(#fffcf7a8,#fffcf7a8),var(--ff-paper);background-size:auto,650px;border:1px solid #c8b8aa;border-radius:3px;box-shadow:0 5px 10px #5a3b2512}
html[data-panel-theme="editorial"] .ff-counter-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #cbbcaf;padding-bottom:13px}
html[data-panel-theme="editorial"] .ff-counter-heading .ff-eyebrow{font:500 13px var(--ff-sans);letter-spacing:.16em;color:var(--ff-ink)}
html[data-panel-theme="editorial"] .ff-atelier-counter-camera{display:inline-flex;color:var(--ff-gold)}
html[data-panel-theme="editorial"] .ff-atelier-counter-camera .ff-panel-icon{width:21px;height:21px}
html[data-panel-theme="editorial"] .ff-balance-layout{align-items:center;justify-content:center;gap:0;margin:0;flex:1}
html[data-panel-theme="editorial"] .ff-paper-counter{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 0 5px}
html[data-panel-theme="editorial"] .ff-paper-counter .ff-balance{font:italic calc(182px * var(--ff-paper-number-scale))/.85 var(--ff-serif);letter-spacing:-.065em;color:var(--ff-gold);text-shadow:0 1px #fff;font-variant-numeric:lining-nums tabular-nums}
html[data-panel-theme="editorial"] .ff-counter-folio{font:8px var(--ff-sans);letter-spacing:.16em;color:#755953;margin-top:18px;text-transform:uppercase}
html[data-panel-theme="editorial"] .ff-credit-expiry{border:0;padding:0;margin:7px 0 14px;font:italic 17px/1.3 var(--ff-serif);text-align:center;color:var(--ff-muted)}
html[data-panel-theme="editorial"] .ff-tile-actions{display:flex;flex-direction:column;gap:7px;margin-top:6px}
html[data-panel-theme="editorial"] .ff-tile-actions .ff-primary-action{width:100%;min-height:43px;font-size:13px}
html[data-panel-theme="editorial"] .ff-tile-actions .ff-text-action{font:17px var(--ff-serif);padding:4px 0;line-height:1.3;border:0;min-height:36px}
html[data-panel-theme="editorial"] .ff-primary-action{background:var(--ff-gold);border-color:var(--ff-gold);color:#fffaf4;border-radius:5px}
html[data-panel-theme="editorial"] .ff-primary-action:hover{background:#602737}
html[data-panel-theme="editorial"] .ff-clients-card:after{display:none}
html[data-panel-theme="editorial"] .ff-clients-card .ff-tile-expanded{padding:18px 22px;display:block;color:var(--ff-ink)}
html[data-panel-theme="editorial"] .ff-clients-card .ff-tile-title{font:42px/.95 var(--ff-serif);border-bottom:1px solid #c8b9ac;padding-bottom:13px;padding-right:58px}
html[data-panel-theme="editorial"] .ff-clients-card .ff-tile-arrow{display:none}
html[data-panel-theme="editorial"] .ff-client-count{position:absolute;top:17px;right:21px;font:43px/1 var(--ff-serif);margin:0;color:var(--ff-gold)}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] :is(.ff-tile-photo,.ff-tile-no-photo){z-index:0;inset:79px 15px 15px;width:calc(100% - 30px);height:calc(100% - 94px);object-position:58% 46%;border-radius:2px}
html[data-panel-theme="editorial"] .ff-waiting-chip{position:absolute;top:93px;left:29px;margin:0;background:#7a3546f2;color:#fffaf4;border:0;border-radius:3px;padding:9px 13px;font-size:11px;box-shadow:0 2px 12px #32101c18;max-width:calc(100% - 58px)}
html[data-panel-theme="editorial"] .ff-backpack-card .ff-tile-expanded,html[data-panel-theme="editorial"] .ff-dashboard-account-card .ff-tile-expanded{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:23px}
html[data-panel-theme="editorial"] .ff-tile-title{font:35px/1 var(--ff-serif);position:relative;z-index:1;width:100%}
html[data-panel-theme="editorial"] .ff-backpack-card .ff-tile-arrow,html[data-panel-theme="editorial"] .ff-dashboard-account-card .ff-tile-arrow{font-size:18px;align-self:start}
html[data-panel-theme="editorial"] .ff-folder-count{font:19px var(--ff-sans);margin-top:19px;position:relative;z-index:1;display:flex;gap:5px;align-items:baseline}
html[data-panel-theme="editorial"] .ff-folder-count small{font:12px var(--ff-sans);color:var(--ff-muted)}
html[data-panel-theme="editorial"] .ff-dashboard-card .ff-legacy-only,html[data-panel-theme="editorial"] .ff-atelier-medallion{display:none}
html[data-panel-theme="editorial"] .ff-atelier-only:not(.ff-atelier-medallion){display:block}
html[data-panel-theme="editorial"] .ff-tile-description{color:var(--ff-muted);font-size:10px;max-width:92px;position:relative;z-index:1}
html[data-panel-theme="editorial"] .ff-account-title{font:15px/1.5 var(--ff-sans);margin-top:19px;position:relative;z-index:1;max-width:84px}
html[data-panel-theme="editorial"] .ff-editorial-emblem{position:absolute;right:-6px;bottom:10px;width:57%;aspect-ratio:1;pointer-events:none}
html[data-panel-theme="editorial"] .ff-editorial-emblem img{width:100%;height:100%;object-fit:contain}
html[data-panel-theme="editorial"] .ff-editorial-emblem-fallback{position:absolute;inset:22%;color:#b8a698}
html[data-panel-theme="editorial"] .ff-editorial-emblem-fallback .ff-panel-icon{width:100%;height:100%}
html[data-panel-theme="editorial"] .ff-editorial-emblem.ff-art-ready .ff-editorial-emblem-fallback{display:none}
html[data-panel-theme="editorial"] .ff-editorial-emblem--konto{right:11px;bottom:15px;width:46%}
html[data-panel-theme="editorial"] .ff-paper-monogram{position:absolute;inset:0;display:grid;place-items:center;padding-bottom:10%;font:37px var(--ff-serif);color:#795948;text-shadow:0 1px 0 #fffdf9}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="true"],html[data-panel-theme="editorial"] .ff-navigation{background:#f8f3ecf7;border-color:#c6b7aa;border-radius:5px;box-shadow:0 4px 14px #563a1f0d;backdrop-filter:blur(14px)}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="true"] .ff-dashboard-card{background:transparent;margin:0;border-radius:3px;box-shadow:none}
html[data-panel-theme="editorial"] .ff-dashboard[data-compact="true"] .ff-dashboard-card[data-active="true"],html[data-panel-theme="editorial"] .ff-nav-item[aria-current="page"]{border-color:#bc939b;background:#7a35460a;border-radius:3px}
html[data-panel-theme="editorial"] .ff-compact-content{color:var(--ff-ink)}
html[data-panel-theme="editorial"] .ff-compact-content svg{color:var(--ff-gold)}
html[data-panel-theme="editorial"] .ff-card{background:#fffcf7a0!important;border:1px solid #c6b7aa!important;border-radius:4px!important;padding:8px 8px 0!important}
html[data-panel-theme="editorial"] .ff-card:hover{border-color:#9c6f72!important}
html[data-panel-theme="editorial"] .ff-card-copy{padding:15px 6px!important}
html[data-panel-theme="editorial"] .ff-card-list .ff-card{padding:8px!important}
html[data-panel-theme="editorial"] .ff-card-list .ff-card-copy{padding:6px!important}
html[data-panel-theme="editorial"] .ff-recent-heading{gap:20px}
html[data-panel-theme="editorial"] .ff-recent-heading:after{content:'';height:1px;background:#c6b7aa;flex:1;order:1}
html[data-panel-theme="editorial"] .ff-recent-heading button{order:2}
html[data-panel-theme="editorial"] :is(.ff-filter,.ff-list-toolbar input,.ff-panel-surface,.ff-preview-frame,.ff-dialog){border-radius:5px!important}
html[data-panel-theme="editorial"] .ff-panel-surface{background:#fffcf7a6;box-shadow:0 2px 6px #4b352608}
html[data-panel-theme="editorial"] .ff-dialog{box-shadow:0 18px 70px #3020143b}
html[data-panel-theme="editorial"] .ff-session-actions button:first-child{border-radius:5px!important}
html[data-panel-theme="editorial"] .ff-paper-counter-changing .ff-balance{animation:ff-paper-number .42s cubic-bezier(.2,.7,.2,1)}
@keyframes ff-paper-number{from{transform:translateY(12px);opacity:.2}to{transform:translateY(0);opacity:1}}
@media(min-width:1600px){html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"]{grid-template-rows:225px 225px}}
@media(max-width:1100px) and (min-width:701px){
 html[data-panel-theme="editorial"] .ff-workspace{padding-inline:25px!important}
 html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"]{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-rows:390px 190px}
 html[data-panel-theme="editorial"] .ff-sessions-card{grid-column:1;grid-row:1}
 html[data-panel-theme="editorial"] .ff-clients-card{grid-column:2;grid-row:1}
 html[data-panel-theme="editorial"] .ff-backpack-card{grid-column:1;grid-row:2}
 html[data-panel-theme="editorial"] .ff-dashboard-account-card{grid-column:2;grid-row:2}
 html[data-panel-theme="editorial"] .ff-editorial-emblem{width:160px;right:20px;bottom:5px}
 html[data-panel-theme="editorial"] .ff-editorial-emblem--konto{width:150px;bottom:15px}
 html[data-panel-theme="editorial"] .ff-paper-counter .ff-balance{font-size:calc(160px * var(--ff-paper-number-scale))}
}
@media(max-width:700px){
 html[data-panel-theme="editorial"] .ff-workspace{padding-inline:20px!important}
 html[data-panel-theme="editorial"] .ff-greeting{padding:27px 0}
 html[data-panel-theme="editorial"] .ff-greeting h1{font-size:45px}
 html[data-panel-theme="editorial"] .ff-greeting p{font-size:13px;line-height:1.7;max-width:300px}
 html[data-panel-theme="editorial"] .ff-editorial-signature{display:none}
 html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:320px 330px 228px;gap:15px}
 html[data-panel-theme="editorial"] .ff-sessions-card{grid-column:1/-1;grid-row:1}
 html[data-panel-theme="editorial"] .ff-clients-card{grid-column:1/-1;grid-row:2}
 html[data-panel-theme="editorial"] .ff-backpack-card{grid-column:1;grid-row:3;min-height:0}
 html[data-panel-theme="editorial"] .ff-dashboard-account-card{grid-column:2;grid-row:3;min-height:0}
 html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded{padding:20px 24px}
 html[data-panel-theme="editorial"] .ff-counter-heading .ff-eyebrow{font-size:11px}
 html[data-panel-theme="editorial"] .ff-paper-counter{padding:10px 0 0}
 html[data-panel-theme="editorial"] .ff-paper-counter .ff-balance{font-size:calc(130px * var(--ff-paper-number-scale))}
 html[data-panel-theme="editorial"] .ff-counter-folio{display:none}
 html[data-panel-theme="editorial"] .ff-credit-expiry{font-size:16px;margin:9px 0 10px}
 html[data-panel-theme="editorial"] .ff-tile-actions{flex-direction:row;gap:17px;margin-top:0;flex-wrap:nowrap}
 html[data-panel-theme="editorial"] .ff-tile-actions .ff-primary-action{width:auto;flex:1;font-size:12px;padding:9px 12px}
 html[data-panel-theme="editorial"] .ff-tile-actions .ff-text-action{font:15px var(--ff-serif);flex:none;max-width:44%}
 html[data-panel-theme="editorial"] .ff-clients-card .ff-tile-title{font-size:36px}
 html[data-panel-theme="editorial"] .ff-client-count{font-size:36px}
 html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] :is(.ff-tile-photo,.ff-tile-no-photo){inset:69px 12px 12px;width:calc(100% - 24px);height:calc(100% - 81px)}
 html[data-panel-theme="editorial"] .ff-waiting-chip{top:83px;left:25px;font-size:10px}
 html[data-panel-theme="editorial"] .ff-backpack-card .ff-tile-expanded,html[data-panel-theme="editorial"] .ff-dashboard-account-card .ff-tile-expanded{padding:17px;display:block}
 html[data-panel-theme="editorial"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="editorial"] .ff-dashboard-account-card .ff-tile-title{font-size:27px}
 html[data-panel-theme="editorial"] .ff-editorial-emblem{width:135px;max-width:100%;right:calc(50% - 67.5px);bottom:24px}
 html[data-panel-theme="editorial"] .ff-editorial-emblem--konto{width:105px;right:calc(50% - 52.5px);bottom:37px}
 html[data-panel-theme="editorial"] .ff-folder-count{position:absolute;bottom:16px;left:17px;font-size:16px;gap:5px;margin:0}
 html[data-panel-theme="editorial"] .ff-folder-count small{font-size:11px}
 html[data-panel-theme="editorial"] .ff-backpack-card .ff-tile-description,html[data-panel-theme="editorial"] .ff-dashboard-account-card .ff-tile-description{display:none}
 html[data-panel-theme="editorial"] .ff-account-title{position:absolute;bottom:14px;left:17px;font-size:12px;max-width:none;margin:0}
 html[data-panel-theme="editorial"] .ff-paper-monogram{font-size:30px}
 html[data-panel-theme="editorial"] .ff-recent-heading:after{display:none}
}
@media(max-width:360px){
 html[data-panel-theme="editorial"] .ff-workspace{padding-inline:16px!important}
 html[data-panel-theme="editorial"] .ff-greeting h1{font-size:39px}
 html[data-panel-theme="editorial"] .ff-greeting p{font-size:12px}
 html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"]{grid-template-rows:310px 310px 220px}
 html[data-panel-theme="editorial"] .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded{padding:18px 17px}
 html[data-panel-theme="editorial"] .ff-counter-heading .ff-eyebrow{font-size:10px}
 html[data-panel-theme="editorial"] .ff-tile-actions{gap:11px}
 html[data-panel-theme="editorial"] .ff-tile-actions .ff-text-action{font-size:13px}
 html[data-panel-theme="editorial"] .ff-backpack-card .ff-tile-expanded,html[data-panel-theme="editorial"] .ff-dashboard-account-card .ff-tile-expanded{padding:13px}
 html[data-panel-theme="editorial"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="editorial"] .ff-dashboard-account-card .ff-tile-title{font-size:25px}
 html[data-panel-theme="editorial"] .ff-folder-count,html[data-panel-theme="editorial"] .ff-account-title{left:13px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){html[data-panel-theme="editorial"] .ff-paper-counter-changing .ff-balance{animation:none}}

/* SOL131: approved optical Kobalt, real React data and navigation.
   Previous theme rules remain intact. Every surface is scoped to Kobalt. */
.ff-panel .ff-icon-kobalt,.ff-kobalt-only { display:none; }
html[data-panel-theme="kobalt"] .ff-panel { --ff-serif:Inter,system-ui,sans-serif; }
html[data-panel-theme="kobalt"] .ff-panel .ff-app { background:radial-gradient(ellipse at 80% 0,#e9f0ff 0,transparent 48%),#f8faff!important; color:#142348; }
html[data-panel-theme="kobalt"] .ff-panel .ff-workspace { max-width:1584px!important;padding-inline:28px!important;isolation:isolate; }
html[data-panel-theme="kobalt"] .ff-panel :is(.ff-icon-atelier,.ff-icon-editorial,.ff-icon-mechanika) { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-icon-kobalt { display:block; }
html[data-panel-theme="kobalt"] .ff-panel .ff-topbar { min-height:76px;border-color:#c9d5ea;background:transparent;box-shadow:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-brand-header { gap:24px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-brand { flex-basis:164px;width:164px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-brand img { width:164px;height:50px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-header-avatar { background:#edf3ff;border-color:#b7c9eb;color:#142348;font:600 15px/1 var(--ff-sans); }
html[data-panel-theme="kobalt"] .ff-panel .ff-account-tools>div { box-shadow:0 12px 32px #14234820; }
html[data-panel-theme="kobalt"] .ff-panel .ff-greeting { display:flex;align-items:center;justify-content:space-between;gap:28px;padding:31px 12px 33px;position:relative;isolation:isolate;overflow:visible;min-height:145px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-greeting:after { content:'';position:absolute;z-index:-1;inset:0;background:url('/images/kobalt-lens.webp') right 78px top -175px/440px 440px no-repeat;opacity:.11;pointer-events:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-greeting h1 { font:700 clamp(36px,4.05vw,62px)/1.1 var(--ff-sans);letter-spacing:-.055em;font-style:normal;color:#142348; }
html[data-panel-theme="kobalt"] .ff-panel .ff-greeting p { font-size:clamp(14px,1.55vw,23px);line-height:1.5;margin-top:9px;color:#5e6b86; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-signature { font:italic 600 29px var(--ff-sans);color:#1749dc;border-left:1px solid #8ca7ec;padding-left:25px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-columns:minmax(0,1.08fr) minmax(0,1.2fr) minmax(0,.98fr);grid-template-rows:repeat(2,minmax(225px,auto));gap:14px;margin-bottom:28px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-card { border:1px solid #bacbe9;border-radius:16px;background:#fff;box-shadow:0 3px 5px #38578f05,0 13px 24px -16px #355da042,inset 0 1px 1px #fff;overflow:hidden;isolation:isolate; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-card:before { content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(120deg,#fff8,#eaf1ff19),url('/images/kobalt-light.webp') center/cover;opacity:.75;pointer-events:none;transition:transform 900ms ease,opacity 900ms ease; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-card:after { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-card:hover { border-color:#89a8e9;box-shadow:0 3px 7px #335fbb0c,0 16px 32px -16px #315ca850,inset 0 1px #fff; }
html[data-panel-theme="kobalt"] .ff-panel .ff-sessions-card:before { background:url('/images/kobalt-light.webp') center bottom/cover;opacity:.9; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded { padding:22px 23px 21px;display:flex;flex-direction:column; }
html[data-panel-theme="kobalt"] .ff-panel .ff-counter-heading { display:flex;align-items:center;justify-content:flex-start;gap:16px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-counter-heading .ff-eyebrow { font:700 28px/1.1 var(--ff-sans);letter-spacing:-.035em;text-transform:none;color:#142348; }
html[data-panel-theme="kobalt"] .ff-panel .ff-atelier-counter-camera { display:inline-flex;order:-1;pointer-events:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-atelier-counter-camera .ff-panel-icon { width:35px;height:35px;color:#142e76; }
html[data-panel-theme="kobalt"] .ff-panel .ff-balance-layout { flex:1;min-height:0;align-items:center;justify-content:center;margin:0;gap:0;position:relative; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter { --ff-kobalt-number-scale:1;position:relative;display:grid;place-items:center;isolation:isolate;flex:1;min-height:230px;max-width:380px;width:100%; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-lens { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-1;pointer-events:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-lens-fallback { position:absolute;inset:10%;border:7px solid #b3c9f4;border-radius:50%;background:radial-gradient(circle at 30% 20%,#fff,#dfebff);z-index:-2;pointer-events:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter.ff-art-ready .ff-kobalt-lens-fallback { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter-center { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding-bottom:6%;width:100%;height:100%; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter .ff-balance { font:700 calc(clamp(78px,7.2vw,112px) * var(--ff-kobalt-number-scale))/1 var(--ff-sans);letter-spacing:-.07em;font-variant-numeric:tabular-nums;color:#0c2874;text-shadow:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter-unit { font:400 18px/1.3 var(--ff-sans);color:#142e76;letter-spacing:-.04em;max-width:75%;text-align:center; }
html[data-panel-theme="kobalt"] .ff-panel .ff-credit-expiry { font:12px/1.5 var(--ff-sans);border:0;padding:0;margin:2px 0 10px;text-align:center;color:#5e6b86; }
html[data-panel-theme="kobalt"] .ff-panel .ff-tile-actions { gap:12px 20px;flex-wrap:wrap;margin:5px 0 0; }
html[data-panel-theme="kobalt"] .ff-panel .ff-primary-action { min-height:44px;flex:1;font:600 15px/1.4 var(--ff-sans);padding:10px 14px;background:#1749dc;color:#fff;border-color:#1749dc;border-radius:9px;box-shadow:0 3px 8px #1749dc15; }
html[data-panel-theme="kobalt"] .ff-panel .ff-primary-action:hover { background:#123bb5;border-color:#123bb5; }
html[data-panel-theme="kobalt"] .ff-panel .ff-text-action { color:#1749dc;border-color:#a7bce6;font:500 13px/1.4 var(--ff-sans); }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { padding:22px 24px;display:block;color:#142348; }
html[data-panel-theme="kobalt"] .ff-panel .ff-tile-title { font:700 24px/1.15 var(--ff-sans);letter-spacing:-.035em;justify-content:flex-start;gap:13px;color:#142348; }
html[data-panel-theme="kobalt"] .ff-panel .ff-clients-card .ff-tile-title { font-size:28px;line-height:1.1;padding-right:50px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-tile-title .ff-panel-icon { width:32px;height:32px;color:#142e76; }
html[data-panel-theme="kobalt"] .ff-panel .ff-tile-arrow { display:none; }
html[data-panel-theme="kobalt"] .ff-panel :is(.ff-tile-photo,.ff-tile-no-photo) { inset:77px 17px 17px;width:calc(100% - 34px);height:calc(100% - 94px);border-radius:10px;object-position:58% 45%;z-index:0; }
html[data-panel-theme="kobalt"] .ff-panel .ff-client-count { position:absolute;top:20px;right:24px;font:600 35px/1 var(--ff-sans);margin:0;color:#1749dc; }
html[data-panel-theme="kobalt"] .ff-panel .ff-waiting-chip { position:absolute;left:auto;top:auto;bottom:28px;right:28px;margin:0;max-width:calc(100% - 56px);border:1px solid #e4eaff;border-radius:12px;background:#fffffff2;box-shadow:0 3px 12px #132f6f12;color:#153fa5;padding:9px 12px;font-size:12px;font-weight:600; }
html[data-panel-theme="kobalt"] .ff-panel .ff-waiting-chip>span { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { display:block;padding:22px 24px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem { position:absolute;width:63%;max-width:240px;right:7px;bottom:5px;aspect-ratio:1;pointer-events:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem>img { width:100%;height:100%;object-fit:contain; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem--backpack { max-width:205px;bottom:10px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem--konto { width:52%;max-width:195px;right:19px;bottom:8px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-monogram { position:absolute;inset:0;display:grid;place-items:center;padding-bottom:7%;font:500 calc(66px * var(--ff-kobalt-monogram-scale,1))/1 Georgia,serif;color:#142e76;text-shadow:0 1px #fff8; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem-fallback { position:absolute;inset:22%;color:#9eb7e8; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem-fallback .ff-panel-icon { width:100%;height:100%; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem.ff-art-ready .ff-kobalt-emblem-fallback { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-folder-count { position:absolute;top:19px;right:24px;margin:0;font:600 29px/1.2 var(--ff-sans);color:#1749dc; }
html[data-panel-theme="kobalt"] .ff-panel .ff-folder-count small { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-backpack-card .ff-tile-description { font-size:13px;line-height:1.55;margin-top:9px;max-width:125px;color:#5e6b86; }
html[data-panel-theme="kobalt"] .ff-panel .ff-account-title { font:13px/1.6 var(--ff-sans);max-width:120px;margin:9px 0 0;color:#5e6b86; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-account-card .ff-tile-description { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-only { display:inline-flex; }
html[data-panel-theme="kobalt"] .ff-panel .ff-backpack :is(.ff-legacy-only,.ff-atelier-only) { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-backpack-heading-icon { display:inline-flex;vertical-align:middle; }
html[data-panel-theme="kobalt"] .ff-panel .ff-backpack-heading-icon .ff-panel-icon { width:30px;height:30px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-backpack-folder-icon .ff-panel-icon { width:42px;height:42px;color:#1749dc; }
html[data-panel-theme="kobalt"] .ff-panel .ff-backpack-card .ff-tile-description.ff-legacy-only { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-backpack-card .ff-tile-description.ff-atelier-only { display:block; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-account-card .ff-account-title.ff-legacy-only { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-account-card .ff-account-title.ff-atelier-only { display:block; }
html[data-panel-theme="kobalt"] .ff-panel .ff-recent-heading h2 { display:flex;align-items:center;gap:13px;font:700 29px/1.2 var(--ff-sans);letter-spacing:-.035em; }
html[data-panel-theme="kobalt"] .ff-panel .ff-recent-heading h2 .ff-panel-icon { width:32px;height:32px;color:#142e76; }
html[data-panel-theme="kobalt"] .ff-panel .ff-card { background:#ffffffb8!important;border:1px solid #bfceea!important;border-radius:12px!important;box-shadow:0 6px 17px -10px #345b9f30; }
html[data-panel-theme="kobalt"] .ff-panel .ff-card-title { font-family:var(--ff-sans)!important;font-size:22px!important;font-weight:600!important;letter-spacing:-.025em; }
html[data-panel-theme="kobalt"] .ff-panel .ff-recent-grid .ff-card-image { height:200px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-recent-grid .ff-card-title { font-size:18px!important; }
html[data-panel-theme="kobalt"] .ff-panel .ff-recent-grid .ff-card-copy { padding:13px 16px!important; }
html[data-panel-theme="kobalt"] .ff-panel :is(.ff-page-title,.ff-section-heading>div) { font-family:var(--ff-sans)!important;font-weight:600!important;letter-spacing:-.04em; }
html[data-panel-theme="kobalt"] .ff-panel .ff-panel-surface { background:#fff;border-color:#c5d1e5!important;border-radius:12px;box-shadow:0 8px 25px -18px #294c8a35; }
html[data-panel-theme="kobalt"] .ff-panel .ff-filter { border-radius:8px!important; }
html[data-panel-theme="kobalt"] .ff-panel .ff-list-toolbar input { border-radius:9px!important; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dialog { border-color:#b7c9e8!important;border-radius:16px!important;box-shadow:0 26px 100px #14234835; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dialog :is(h2,h3) { font:600 30px/1.2 var(--ff-sans)!important;letter-spacing:-.035em; }
/* Compact state overrides only appearance; existing guarded navigation stays active. */
html[data-panel-theme="kobalt"] .ff-panel :is(.ff-dashboard[data-compact="true"],.ff-navigation) { grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;top:8px;background:#f7fafff5;border:1px solid #c5d1e5;border-radius:12px;box-shadow:0 8px 20px -10px #294d8828;padding:5px;margin:22px 0 30px;gap:5px;backdrop-filter:blur(12px); }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card { grid-column:auto;grid-row:auto;border-radius:8px;margin:0;min-height:55px;background:transparent;border:1px solid transparent;box-shadow:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card:before { display:none; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card[data-active="true"],html[data-panel-theme="kobalt"] .ff-panel .ff-nav-item[aria-current="page"] { background:#e8efff;border-color:#9fb8ed;border-radius:8px; }
html[data-panel-theme="kobalt"] .ff-panel :is(.ff-compact-content,.ff-nav-item) { color:#142e76; }
html[data-panel-theme="kobalt"] .ff-panel .ff-compact-content small { font-family:var(--ff-sans); }
@keyframes ff-kobalt-glass-shift { 0%{transform:translateY(4px) rotate(-2deg);opacity:.78} 100%{transform:none;opacity:1} }
html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter-changing .ff-kobalt-lens { animation:ff-kobalt-glass-shift 420ms ease-out both; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-card:hover:before { transform:translate3d(2px,-3px,0) scale(1.025);opacity:1; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem { transition:transform .5s ease; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-card:hover .ff-kobalt-emblem { transform:translateY(-3px); }
}
@media(max-width:1190px) and (min-width:851px) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-workspace { padding-inline:23px!important; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-columns:minmax(0,1fr) minmax(0,1.12fr) minmax(0,.94fr);grid-template-rows:repeat(2,minmax(214px,auto)); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-counter-heading .ff-eyebrow,html[data-panel-theme="kobalt"] .ff-panel .ff-clients-card .ff-tile-title { font-size:24px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-tile-title { font-size:21px;gap:8px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem { width:66%;right:-3px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem--konto { width:62%;right:5px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { padding:20px 15px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-tile-actions { gap:10px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-primary-action { font-size:13px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter-unit { font-size:15px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-folder-count { right:16px;font-size:24px; }
}
@media(max-width:850px) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(410px,auto) minmax(216px,auto);gap:15px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column:1;grid-row:1; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column:2;grid-row:1; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column:1;grid-row:2; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column:2;grid-row:2; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting h1 { font-size:43px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting p { font-size:16px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-signature { font-size:23px;padding-left:17px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter .ff-balance { font-size:calc(88px * var(--ff-kobalt-number-scale)); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter-unit { font-size:15px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem { width:60%;right:9px;max-width:200px;bottom:5px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem--konto { width:53%;right:20px;max-width:180px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-monogram { font-size:calc(58px * var(--ff-kobalt-monogram-scale,1)); }
}
@media(max-width:600px) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-workspace { padding-inline:16px!important; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-brand-header { gap:12px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-brand { width:116px;flex-basis:116px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-brand img { width:116px;height:40px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting { padding:25px 0 27px;min-height:0; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting h1 { font-size:35px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting p { font-size:13px;line-height:1.6; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting:after { background-position:right -100px top -110px;background-size:270px 270px;opacity:.1; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-signature { display:none; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-rows:minmax(350px,auto) minmax(210px,auto);gap:10px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded { padding:17px 10px 13px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-counter-heading { gap:8px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-counter-heading .ff-eyebrow { font-size:19px;letter-spacing:-.045em; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-atelier-counter-camera .ff-panel-icon { width:23px;height:23px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter { min-height:125px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter .ff-balance { font-size:calc(55px * var(--ff-kobalt-number-scale)); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter-unit { font-size:12px;line-height:1.35;max-width:70%; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter-center { padding-bottom:3%;gap:1px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-credit-expiry { font-size:12px;line-height:1.45;margin:3px 0 8px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-tile-actions { flex-direction:column;align-items:stretch;gap:5px;margin:0; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-primary-action { flex:auto;width:100%;font-size:12px;min-height:44px;padding:8px 5px;gap:3px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-tile-actions .ff-text-action { font-size:12px;min-height:44px;padding:7px 2px;border-bottom:0; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { padding:17px 11px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-clients-card .ff-tile-title { font-size:19px;padding:0;gap:7px;letter-spacing:-.045em; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-tile-title .ff-panel-icon { width:23px;height:23px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-client-count { top:47px;left:12px;right:auto;font-size:25px; }
 html[data-panel-theme="kobalt"] .ff-panel :is(.ff-tile-photo,.ff-tile-no-photo) { inset:85px 8px 8px;width:calc(100% - 16px);height:calc(100% - 93px);border-radius:7px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-waiting-chip { bottom:16px;left:14px;right:14px;font-size:12px;line-height:1.4;justify-content:center;text-align:center;padding:7px 5px;border-radius:7px;max-width:none; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { padding:16px 11px; }
 html[data-panel-theme="kobalt"] .ff-panel :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-title { font-size:19px;gap:7px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem { width:130px;max-width:90%;right:calc(50% - 65px);bottom:10px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem--konto { width:113px;right:calc(50% - 56.5px);bottom:13px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-monogram { font-size:calc(39px * var(--ff-kobalt-monogram-scale,1)); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-folder-count { top:43px;left:12px;right:auto;font-size:21px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-backpack-card .ff-tile-description { display:none!important; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-account-title { font-size:12px;left:12px;top:44px;position:absolute;max-width:calc(100% - 24px);margin:0;line-height:1.4; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-recent-heading h2 { font-size:23px;gap:8px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-recent-heading h2 .ff-panel-icon { width:24px;height:24px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-recent-heading .ff-text-action { font-size:12px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-recent-grid .ff-card-image { height:230px; }
 html[data-panel-theme="kobalt"] .ff-panel :is(.ff-dashboard[data-compact="true"],.ff-navigation) { grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;margin:16px 0 25px;top:6px;border-radius:10px;padding:4px;gap:3px; }
 html[data-panel-theme="kobalt"] .ff-panel :is(.ff-compact-content,.ff-nav-item) { min-height:61px;font-size:12px;flex-direction:column;gap:6px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-compact-content small { display:none; }
}
@media(max-width:360px) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-workspace { padding-inline:12px!important; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting h1 { font-size:30px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-greeting p { font-size:13px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-counter-heading .ff-eyebrow,html[data-panel-theme="kobalt"] .ff-panel .ff-clients-card .ff-tile-title,html[data-panel-theme="kobalt"] .ff-panel :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-title { font-size:17px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-counter-heading .ff-panel-icon,html[data-panel-theme="kobalt"] .ff-panel .ff-tile-title .ff-panel-icon { width:20px;height:20px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-counter .ff-balance { font-size:calc(48px * var(--ff-kobalt-number-scale)); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem { width:120px;right:calc(50% - 60px); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem--konto { width:104px;right:calc(50% - 52px); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-recent-heading h2 { font-size:20px; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-lens,html[data-panel-theme="kobalt"] .ff-panel .ff-kobalt-emblem,html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard-card:before { animation:none!important;transition:none!important;transform:none!important; }
}

/* SOL131 mobile receipt: reserve real layout rows for titles/counts and art.
   Static grid placement also resets inherited align-content:center on the block. */
@media(max-width:600px) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded {
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(24px,auto) minmax(110px,1fr);
  align-content:start;align-items:start;row-gap:4px;column-gap:0;padding:16px 11px;
 }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-title {
  grid-column:1;grid-row:1;position:static;align-self:start;min-width:0;width:100%;z-index:1;
 }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count {
  grid-column:1;grid-row:2;position:static;inset:auto;align-self:start;margin:0;line-height:1.2;
 }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-description { display:none!important; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-emblem {
  grid-column:1;grid-row:3;position:relative;inset:auto;width:min(120px,100%);max-width:100%;height:auto;aspect-ratio:1;justify-self:center;align-self:end;margin:0;
 }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-emblem--konto { width:min(108px,100%); }
}

/* SOL142: accepted Riviera composition mapped to the real panel. Decorative assets only. */
html[data-panel-theme="riviera"] .ff-panel .ff-workspace { max-width: 1516px; margin: auto; padding: 0 26px; min-width: 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-topbar { height: 88px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #bba18a66; position: relative; z-index: 4; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand { width: 212px; flex: 0 0 212px; position: relative; isolation: isolate; padding: 8px 3px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand:before { content: ''; position: absolute; inset: -21px -28px -22px -28px; z-index: -1; background-image: var(--ff-riviera-linen); background-size: 120% auto; background-position: center bottom; background-repeat: no-repeat; transform: rotate(-1.8deg); mask-image: radial-gradient(ellipse 62% 62% at 50% 60%,#000 35%,#000d 58%,transparent 90%); -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 60%,#000 35%,#000d 58%,transparent 90%); }
html[data-panel-theme="riviera"] .ff-panel .ff-brand img { width: 206px; height: 58px; object-fit: contain; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-tools { margin-left: auto; display: flex; align-items: center; gap: 20px; min-width: 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-avatar { font: 24px/1 var(--ff-serif); display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ff-line); border-radius: 50%; background: #fff9ef; box-shadow: inset 0 1px 2px #fff,0 2px 3px #7e533516; color: var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting { padding: 25px 28px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting h1 { font: 600 clamp(48px,5.5vw,76px)/1.02 var(--ff-serif); letter-spacing: -.015em; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting p { margin-top: 6px; font-size: clamp(15px,2vw,25px); color: var(--ff-muted); line-height: 1.45; }
html[data-panel-theme="riviera"] .ff-panel .ff-atelier-kicker { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-signature { font: 600 italic 43px/1 var(--ff-serif); color: var(--ff-gold); padding-left: 25px; border-left: 2px solid var(--ff-riviera-sky); white-space: nowrap; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-signature span { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { display: grid; grid-template-columns: 1.05fr 1.12fr .95fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 15px; height: clamp(430px,34vw,510px); margin: 0 0 22px; position: relative; z-index: 2; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-card { position: relative; min-width: 0; isolation: isolate; border: 2px solid #fffaf1; border-radius: 23px; background-color: var(--ff-card); background-image: linear-gradient(130deg,#fff9f0a6,#f0ddc88c),var(--ff-riviera-linen); background-size: auto,850px auto; box-shadow: var(--ff-riviera-shadow); overflow: hidden; transition: box-shadow .2s,border-color .2s; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-card:hover { border-color: #fffdf9; box-shadow: inset 0 2px 2px #fffdf8,inset 0 -2px 3px #cbb29b55,0 4px 5px #88634529,0 14px 24px #76513526; }
html[data-panel-theme="riviera"] .ff-panel .ff-tile-link { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border-radius: inherit; }
html[data-panel-theme="riviera"] .ff-panel .ff-tile-link:focus-visible { outline-offset: -5px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded { height: 100%; padding: 21px 25px; position: relative; z-index: 1; pointer-events: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded button { pointer-events: auto; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-compact-content { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column: 1; grid-row: 1/3; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column: 2; grid-row: 1/3; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column: 3; grid-row: 1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column: 3; grid-row: 2; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card:before { content: ''; position: absolute; bottom: -45px; left: -40px; width: 110%; height: 200px; transform: rotate(8deg); border: 1px solid #eee0ca; background: linear-gradient(145deg,#fff9ed55,#b7946e20),var(--ff-riviera-linen); background-size: cover; clip-path: polygon(0 0,22% 20%,50% 42%,100% 62%,100% 100%,0 100%); box-shadow: 0 -8px 18px #60402614; z-index: 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading { display: flex; align-items: center; gap: 13px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-panel-icon { width: 37px; height: 37px; color: var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow { font: 600 31px/1.15 var(--ff-sans); letter-spacing: -.035em; text-transform: none; color: var(--ff-ink); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card .ff-tile-expanded { display: flex; flex-direction: column; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-balance-layout { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 3px 0 2px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter { position: relative; max-width: 340px; width: 100%; height: 100%; max-height: 345px; min-height: 240px; display: grid; place-items: center; isolation: isolate; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter:before { content: ''; position: absolute; inset: 5% 4% 0; border: 2px solid #dbaa7f; border-radius: 50% 50% 13px 13px; background: linear-gradient(120deg,#fff9ee,#f2e2ce); box-shadow: inset 0 0 0 4px #fff7e8,0 10px 15px #82533330; z-index: -1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter.ff-art-ready:before { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-plaque { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 0; pointer-events: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 22px; width: 100%; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter .ff-balance { font: 500 calc(clamp(96px,10.5vw,150px) * var(--ff-riviera-number-scale,1))/.95 var(--ff-serif); color: var(--ff-gold); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.045em; text-shadow: 0 2px 0 #f6d5b6,0 -1px 0 #792f14; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-unit { font-size: 19px; margin-top: 1px; white-space: nowrap; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-credit-expiry { font-size: 10px; line-height: 1.4; color: var(--ff-muted); margin-top: 6px; text-align: center; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { display: flex; align-items: center; gap: 22px; margin-top: 18px; position: relative; z-index: 4; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-primary-action { flex: 1; min-width: 0; white-space: nowrap; padding: 10px 14px; font-size: 16px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-text-action { font-size: 14px; white-space: nowrap; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-text-action span { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 19px; border: 1px solid var(--ff-line); border-radius: 10px; background: #fff9f1; color: var(--ff-ink); font-size: 13px; font-weight: 500; line-height: 1.4; text-align: center; box-shadow: inset 0 1px 2px #fffaf1,0 2px 3px #6f48240b; transition: background .18s,box-shadow .18s; }
html[data-panel-theme="riviera"] .ff-panel .ff-primary-action:hover:not(:disabled) { background: #efe0cd; box-shadow: 0 3px 8px #72503615; }
html[data-panel-theme="riviera"] .ff-panel .ff-text-action { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 3px 0; color: var(--ff-gold); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; background: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-eyebrow { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title { display: flex; align-items: center; gap: 12px; font: 600 31px/1.1 var(--ff-sans); letter-spacing: -.035em; color: var(--ff-ink); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title .ff-panel-icon { color: var(--ff-gold); width: 35px; height: 35px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-arrow { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { padding: 21px 25px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-title { padding-right: 42px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-client-count { position: absolute; top: 19px; right: 24px; font: 600 37px/1.1 var(--ff-sans); color: var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-photo { position: absolute; z-index: 0; left: 14px; top: 79px; width: calc(100% - 28px); height: calc(100% - 94px); object-fit: cover; object-position: 58% 44%; border-radius: 14px; border: 1px solid #fffaf1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-waiting-chip { position: absolute; bottom: 30px; right: 27px; background: #fff9eff2; border: 1px solid #d8bca2; border-radius: 11px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--ff-gold); box-shadow: 0 4px 9px #4b2d1726; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { padding: 20px 24px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title { font-size: 26px; position: relative; z-index: 2; padding-right: 15px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title .ff-panel-icon,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title .ff-panel-icon { width: 30px; height: 32px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-description { font-size: 14px; line-height: 1.4; max-width: 160px; margin-top: 9px; position: relative; z-index: 2; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem { position: absolute; right: -4px; bottom: -8px; width: 71%; height: 94%; pointer-events: none; z-index: 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem img { width: 100%; height: 100%; object-fit: contain; object-position: bottom right; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem-fallback { position: absolute; inset: 23%; color: #a47d5a55; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem-fallback .ff-panel-icon { width: 100%; height: 100%; stroke-width: .8; }
html[data-panel-theme="riviera"] .ff-panel .ff-art-ready .ff-riviera-emblem-fallback { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { position: absolute; top: 17px; right: 20px; font-size: 25px; color: var(--ff-gold); font-weight: 600; z-index: 2; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count small { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem--konto { right: 14px; bottom: 7px; width: 46%; height: 87%; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ff-gold); font: 500 80px/1 var(--ff-serif); text-shadow: 0 1px 0 #fff4dd; padding-top: 2%; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { font-size: 14px; color: var(--ff-muted); margin-top: 10px; max-width: 160px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-description { position: absolute; bottom: 24px; left: 25px; max-width: 100px; font-size: 10px; color: var(--ff-muted); }
html[data-panel-theme="riviera"] .ff-panel .ff-compact-content .ff-panel-icon { color: var(--ff-gold); width: 24px; height: 24px; }
html[data-panel-theme="riviera"] .ff-panel .ff-compact-content small { font-size: 11px; padding: 2px 7px; border-radius: 9px; background: #fff9ef; color: var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 4px 14px; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading h2 { font: 600 29px/1.2 var(--ff-sans); letter-spacing: -.03em; display: flex; gap: 16px; align-items: center; min-width: 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading h2 .ff-panel-icon { width: 35px; height: 35px; color: var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>a { font-size: 14px; color: var(--ff-gold); text-decoration: underline; text-underline-offset: 7px; white-space: nowrap; min-height: 44px; display: flex; align-items: center; gap: 18px; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>a span { font-size: 24px; }
@media (min-width:1450px) {
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { height: 510px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow { font-size: 36px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title { font-size: 30px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-client-count { font-size: 42px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-primary-action { font-size: 18px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-unit { font-size: 22px; }
}
@media (max-width:1150px) {
html[data-panel-theme="riviera"] .ff-panel .ff-workspace { padding: 0 22px; }
html[data-panel-theme="riviera"] .ff-panel .ff-topbar { gap: 20px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand { width: 180px; flex-basis: 180px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand img { width: 178px; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-tools { gap: 14px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting { padding-left: 10px; padding-right: 10px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting h1 { font-size: 58px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting p { font-size: 19px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-signature { font-size: 36px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { height: 440px; gap: 12px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { padding: 19px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title { font-size: 28px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-panel-icon,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title .ff-panel-icon { width: 30px; height: 30px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { gap: 14px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-primary-action { font-size: 13px; padding: 10px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-text-action { font-size: 12px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter { min-height: 230px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-unit { font-size: 17px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-client-count { font-size: 31px; right: 19px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { padding: 19px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title { font-size: 24px; gap: 8px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-description,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { font-size: 12px; max-width: 120px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-description { left: 20px; bottom: 17px; font-size: 9px; max-width: 78px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size: 64px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { font-size: 22px; right: 15px; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading h2 { font-size: 27px; }
}
@media (max-width:850px) {
html[data-panel-theme="riviera"] .ff-panel .ff-topbar { height: 82px; gap: 20px; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-studio { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting h1 { font-size: 51px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting p { font-size: 16px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-signature { font-size: 31px; padding-left: 18px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { height: auto; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 430px 220px; gap: 14px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column: 1; grid-row: 1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column: 2; grid-row: 1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column: 1; grid-row: 2; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column: 2; grid-row: 2; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title { font-size: 27px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-description,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { font-size: 14px; max-width: 150px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem--konto { height: 90%; width: 45%; right: 18px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem.ff-riviera-emblem--backpack { width: 65%; right: 3px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size: 78px; }
}
@media (max-width:600px) {
html[data-panel-theme="riviera"] .ff-panel .ff-workspace { padding: 0 15px; }
html[data-panel-theme="riviera"] .ff-panel .ff-topbar { height: 76px; gap: 12px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand { width: 137px; flex-basis: 137px; padding: 3px 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand img { width: 137px; height: 44px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand:before { inset: -17px -15px -18px -15px; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-tools { margin-left: 0; gap: 3px; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-avatar { width: 31px; height: 31px; font-size: 22px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting { padding: 27px 2px 22px; position: relative; display: block; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting h1 { font-size: 47px; line-height: .98; max-width: 340px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting p { font-size: 14px; line-height: 1.55; margin-top: 10px; max-width: 310px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-signature { display: inline-block; font-size: 25px; margin-top: 15px; padding-left: 13px; border-left-width: 2px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 390px 360px 194px; gap: 13px; margin-bottom: 26px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column: 1/-1; grid-row: 1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column: 1/-1; grid-row: 2; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column: 1; grid-row: 3; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column: 2; grid-row: 3; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-card { border-radius: 19px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { padding: 18px 21px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title { font-size: 28px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-panel-icon { width: 33px; height: 33px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter { min-height: 0; height: 255px; max-width: 270px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-balance-layout { padding: 0; justify-content: flex-start; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-center { padding-top: 21px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter .ff-balance { font-size: calc(113px * var(--ff-riviera-number-scale,1)); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-unit { font-size: 18px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-credit-expiry { font-size: 10px; margin-top: 2px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { margin-top: 9px; gap: 20px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-primary-action { font-size: 15px; min-height: 44px; padding: 9px 12px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-text-action { font-size: 13px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-photo { top: 68px; height: calc(100% - 82px); left: 12px; width: calc(100% - 24px); border-radius: 11px; object-position: 58% 40%; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-client-count { top: 16px; right: 22px; font-size: 31px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-waiting-chip { bottom: 25px; right: 23px; padding: 7px 11px; font-size: 12px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { padding: 15px 13px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title { font-size: 20px; gap: 6px; padding-right: 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title .ff-panel-icon,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title .ff-panel-icon { width: 22px; height: 25px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-description { font-size: 10px; max-width: 110px; margin-top: 6px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { top: auto; bottom: 12px; left: 13px; right: auto; font-size: 17px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem.ff-riviera-emblem--backpack { width: 110%; height: 77%; bottom: -4px; right: -15px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem--konto { height: 112px; width: 112px; right: 4px; bottom: 3px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size: 51px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { font-size: 10px; line-height: 1.4; max-width: 120px; margin-top: 6px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-description { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-compact-content .ff-panel-icon { width: 22px; height: 22px; }
html[data-panel-theme="riviera"] .ff-panel .ff-compact-content small { display: none; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading { margin: 0 1px 14px; gap: 8px; align-items: center; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading h2 { font-size: 23px; gap: 8px; line-height: 1.15; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading h2 .ff-panel-icon { width: 27px; height: 27px; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>a { font-size: 10px; gap: 7px; white-space: normal; max-width: 88px; line-height: 1.5; text-align: right; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>a span { font-size: 19px; }
}
@media (max-width:350px) {
html[data-panel-theme="riviera"] .ff-panel .ff-workspace { padding: 0 12px; }
html[data-panel-theme="riviera"] .ff-panel .ff-topbar { gap: 8px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand { width: 121px; flex-basis: 121px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand img { width: 121px; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-tools { gap: 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-avatar { width: 28px; height: 28px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting h1 { font-size: 42px; }
html[data-panel-theme="riviera"] .ff-panel .ff-greeting p { font-size: 13px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-rows: 380px 330px 184px; gap: 11px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title { font-size: 26px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { padding: 17px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { gap: 16px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-primary-action { font-size: 13px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions .ff-text-action { font-size: 12px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-title,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-title { font-size: 18px; gap: 5px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-expanded,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { padding: 14px 10px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-tile-description,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { font-size: 9px; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem--konto { width: 102px; height: 102px; right: 2px; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading h2 { font-size: 21px; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>a { font-size: 9px; max-width: 78px; }
}
/* Real-panel adaptations: keep existing data, hit targets and responsive navigation. */
.ff-panel .ff-icon-riviera { display:none; }
.ff-panel .ff-icon-fotiffu { display:block; }
.ff-panel .ff-recent-heading h2 { display:flex;align-items:center;gap:12px; }
.ff-panel .ff-recent-heading h2>.ff-panel-icon { flex-shrink:0;color:var(--ff-gold); }
html[data-panel-theme="riviera"] { --ff-riviera-linen:url('/images/riviera-linen.webp');--ff-riviera-sky:#96b9c1;--ff-riviera-ease:cubic-bezier(.2,.75,.2,1);--ff-riviera-shadow:inset 0 2px 2px #fffdf8,inset 0 -2px 3px #cbb29b55,0 3px 2px #8863451a,0 10px 20px #7651351c; }
html[data-panel-theme="riviera"] .ff-panel .ff-app { background-color:var(--ff-bg)!important;background-image:linear-gradient(115deg,#fff8ef99,#f8f0e5cc 60%,#e8d5bf66),var(--ff-riviera-linen)!important;background-size:auto,cover!important;background-repeat:no-repeat!important;background-attachment:fixed!important; }
html[data-panel-theme="riviera"] .ff-panel .ff-workspace { max-width:1516px!important;padding:0 26px 32px!important; }
html[data-panel-theme="riviera"] .ff-panel .ff-topbar { min-height:88px;height:auto;padding:15px 0; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand-header { flex-wrap:nowrap;gap:24px; }
html[data-panel-theme="riviera"] .ff-panel .ff-brand { display:flex; }
html[data-panel-theme="riviera"] .ff-panel .ff-header-avatar { font-style:normal; }
html[data-panel-theme="riviera"] .ff-panel .ff-help-trigger { border-left:1px solid #bda48c!important;padding-left:20px!important; }
html[data-panel-theme="riviera"] .ff-panel .ff-account-tools summary { padding-left:20px;border-left:1px solid #bda48c; }
html[data-panel-theme="riviera"] .ff-panel :is(.ff-icon-atelier,.ff-icon-editorial,.ff-icon-mechanika,.ff-icon-kobalt) { display:none; }
html[data-panel-theme="riviera"] .ff-panel .ff-icon-riviera { display:block; }
html[data-panel-theme="riviera"] .ff-panel :is(.ff-atelier-kicker,.ff-atelier-signature,.ff-atelier-medallion,.ff-dashboard .ff-legacy-only) { display:none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard .ff-atelier-only:not(.ff-atelier-medallion) { display:block; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading { justify-content:flex-start; }
html[data-panel-theme="riviera"] .ff-panel .ff-atelier-counter-camera { display:inline-flex;order:-1;pointer-events:none;color:var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-balance-layout { gap:0;margin:0; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter { flex:1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-unit { color:var(--ff-ink);font-family:var(--ff-sans); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-plaque,html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem>img { opacity:0; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-art-ready>.ff-riviera-plaque,html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem.ff-art-ready>img { opacity:1; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-credit-expiry { border:0;padding:0;max-width:100%; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { flex-wrap:nowrap;margin-top:18px; }
html[data-panel-theme="riviera"] .ff-panel .ff-primary-action { background:linear-gradient(#be6034,#a7431d);border-color:#973e1c;color:#fff9f1;box-shadow:inset 0 1px 2px #f5ba8b88,0 3px 5px #84401d25; }
html[data-panel-theme="riviera"] .ff-panel .ff-primary-action:hover:not(:disabled) { background:linear-gradient(#b34f27,#943715); }
html[data-panel-theme="riviera"] .ff-panel .ff-text-action { color:var(--ff-gold);border:0; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-title { justify-content:flex-start; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card:after { display:none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-expanded { display:block;color:var(--ff-ink); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-no-photo { inset:79px 14px 15px;z-index:0;border:1px solid #fffaf1;border-radius:14px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-waiting-chip { left:auto;top:auto;margin:0;max-width:calc(100% - 44px); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-waiting-chip>span { display:none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { display:block; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-client-count,html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { margin:0;font-variant-numeric:lining-nums tabular-nums; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { font-family:var(--ff-sans);line-height:1.2; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size:calc(80px * var(--ff-riviera-monogram-scale,1)); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { font-family:var(--ff-sans);line-height:1.5; }
html[data-panel-theme="riviera"] .ff-panel :is(.ff-dashboard[data-compact="true"],.ff-navigation) { grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;top:9px;background:#fff8eff2;border:1px solid var(--ff-line);border-radius:14px;box-shadow:0 5px 15px #79533217;padding:5px;margin:20px 0 27px;gap:5px;backdrop-filter:blur(12px); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card { grid-area:auto;background:transparent;border:1px solid transparent;border-radius:9px;box-shadow:none;min-height:58px; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card:before { display:none; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"] .ff-dashboard-card[data-active="true"],html[data-panel-theme="riviera"] .ff-panel .ff-nav-item[aria-current="page"] { background:#f0ddc6;border-color:#d4ac8e; }
html[data-panel-theme="riviera"] .ff-panel :is(.ff-compact-content,.ff-nav-item) { color:var(--ff-ink);gap:10px;min-height:58px;font:14px/1.4 var(--ff-sans); }
html[data-panel-theme="riviera"] .ff-panel .ff-compact-content small { font:11px/1.3 var(--ff-sans); }
html[data-panel-theme="riviera"] .ff-panel .ff-kobalt-only { display:inline-flex; }
html[data-panel-theme="riviera"] .ff-panel .ff-backpack :is(.ff-legacy-only,.ff-atelier-only) { display:none; }
html[data-panel-theme="riviera"] .ff-panel .ff-backpack-heading-icon { display:inline-flex;vertical-align:middle; }
html[data-panel-theme="riviera"] .ff-panel .ff-backpack-folder-icon .ff-panel-icon { width:44px;height:44px;color:var(--ff-gold); }
html[data-panel-theme="riviera"] .ff-panel .ff-card { border:1px solid #e0c4a6!important;border-radius:17px!important;background:#fff8efdf!important;box-shadow:0 5px 15px #80603d14; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-grid .ff-card-title { font:600 20px/1.2 var(--ff-sans)!important;letter-spacing:-.025em; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-grid .ff-card-copy { padding:15px 17px!important;background-image:linear-gradient(#fff8efc9,#fff8efe6),var(--ff-riviera-linen); }
html[data-panel-theme="riviera"] .ff-panel .ff-panel-surface { border-color:#e0cab4!important;border-radius:19px;background:#fff8efd9;box-shadow:inset 0 1px 2px #fff,0 6px 16px #7250340e; }
html[data-panel-theme="riviera"] .ff-panel :is(.ff-page-title,.ff-section-heading>div) { font-weight:500!important;font-style:normal; }
html[data-panel-theme="riviera"] .ff-panel .ff-list-toolbar input { border-radius:10px!important;background:#fffdf8!important; }
html[data-panel-theme="riviera"] .ff-panel .ff-dialog { border:2px solid #fff9ee!important;border-radius:22px!important;box-shadow:0 25px 80px #4e342849; }
html[data-panel-theme="riviera"] .ff-panel .ff-dialog :is(h2,h3) { font-weight:500!important; }
@keyframes ff-riviera-number { from{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:none} }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-changing .ff-balance { animation:ff-riviera-number .28s ease-out; }
@media(max-width:1150px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-workspace { padding-inline:22px!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-brand-header { gap:20px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-help-trigger,html[data-panel-theme="riviera"] .ff-panel .ff-account-tools summary { padding-left:14px!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size:calc(64px * var(--ff-riviera-monogram-scale,1)); }
}
@media(max-width:850px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-topbar { min-height:82px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size:calc(78px * var(--ff-riviera-monogram-scale,1)); }
 html[data-panel-theme="riviera"] .ff-panel .ff-help-trigger { border:0!important;padding:0!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-header-studio { display:none; }
}
@media(max-width:600px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-workspace { padding:0 15px 24px!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-topbar { min-height:76px;padding:12px 0; }
 html[data-panel-theme="riviera"] .ff-panel .ff-brand-header { gap:12px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-header-tools { margin-left:auto;gap:3px!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-header-tools .ff-push-trigger { min-width:33px;width:33px;flex-basis:33px;padding:6px!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-help-trigger { display:none!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-account-tools summary { padding:0!important;border:0;gap:0; }
 html[data-panel-theme="riviera"] .ff-panel .ff-header-avatar { flex-basis:31px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter { flex:none; }
 html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size:calc(51px * var(--ff-riviera-monogram-scale,1)); }
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { margin-top:9px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-no-photo { inset:68px 12px 14px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading { flex-direction:row;align-items:center;gap:8px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading .ff-text-action { font-size:10px;gap:7px;max-width:88px;line-height:1.5;text-align:right; }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-grid { grid-template-columns:minmax(0,1fr);gap:16px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-grid .ff-card-image { height:225px; }
 html[data-panel-theme="riviera"] .ff-panel :is(.ff-dashboard[data-compact="true"],.ff-navigation) { grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;top:6px;padding:4px;gap:2px;margin:16px 0 22px; }
 html[data-panel-theme="riviera"] .ff-panel :is(.ff-compact-content,.ff-nav-item) { min-height:63px;flex-direction:column;gap:5px;font-size:10px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-compact-content small { display:none; }
}
@media(max-width:350px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-workspace { padding-inline:12px!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-brand-header { gap:8px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-header-tools .ff-push-trigger { min-width:30px;width:30px;flex-basis:30px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-header-avatar { flex-basis:28px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-grid .ff-card-title { font-size:18px!important; }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-grid .ff-card-image { height:205px; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-changing .ff-balance { animation:none!important; }
}
/* Preserve the action layer above the card-wide navigation target. */
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-expanded { z-index:auto; }
html[data-panel-theme="riviera"] .ff-panel .ff-topbar { padding-block:0; }
html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>.ff-text-action { font-size:14px;text-underline-offset:7px;gap:18px; }
@media(max-width:600px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-rows:minmax(390px,auto) minmax(360px,auto) minmax(194px,auto); }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>.ff-text-action { font-size:10px;gap:7px; }
}
@media(max-width:350px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-rows:minmax(380px,auto) minmax(330px,auto) minmax(184px,auto); }
 html[data-panel-theme="riviera"] .ff-panel .ff-recent-heading>.ff-text-action { font-size:9px;max-width:78px; }
}

/* SOL142 CUA correction: inherited align-content:center also centres block contents.
   Keep headings at the upper left and the real folder count clear of the artwork. */
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded {
  align-content:start;align-items:start;justify-content:flex-start;
}
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-folder-count {
  position:absolute;inset:auto auto 20px 24px;display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 6px;max-width:calc(50% - 24px);
  margin:0;font-size:22px;line-height:1.25;
}
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-folder-count small {
  display:inline;font:12px/1.35 var(--ff-sans);color:var(--ff-muted);white-space:nowrap;
}
@media(max-width:1150px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-folder-count { left:19px;bottom:18px;max-width:calc(50% - 19px); }
}
@media(max-width:600px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-folder-count { left:13px;top:68px;bottom:auto;max-width:calc(50% - 13px);font-size:17px;gap:2px 4px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-folder-count small { font-size:10px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-emblem--backpack { width:84%;height:71%;right:-8px;bottom:-4px; }
}
@media(max-width:350px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card .ff-folder-count { left:10px;max-width:calc(50% - 10px);font-size:16px; }
}

/* SOL142 CUA: expanded contents never participate in the compact navigation layout. */
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"] {
  height:auto;min-height:0;max-height:none;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;
}
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"]>.ff-dashboard-card {
  grid-column:auto;grid-row:auto;height:auto;min-height:58px;padding:0;align-content:start;
}
html[data-panel-theme="riviera"] .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="riviera"] .ff-panel .ff-dashboard[data-compact="true"]>.ff-dashboard-card>.ff-compact-content {
  display:flex;align-items:center;justify-content:center;height:auto;min-height:58px;padding:0 7px;
}
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"]>.ff-dashboard-card::before,
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"]>.ff-dashboard-card::after { display:none!important; }
@media(max-width:600px) {
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"]>.ff-dashboard-card { min-height:63px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="true"]>.ff-dashboard-card>.ff-compact-content { min-height:63px;padding:0 3px;flex-direction:column;gap:5px; }
}

/* SOL147: one account summary in every theme, outside the decorative image. */
html[data-panel-theme] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { height:calc(100% - 42px)!important;min-height:0; }
html[data-panel-theme] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-detail { position:absolute;bottom:12px;left:20px;right:20px;margin:0;color:var(--ff-ink);font:12px/1.4 var(--ff-sans);overflow-wrap:anywhere; }
html[data-panel-theme] .ff-panel .ff-dashboard[data-compact="true"] .ff-account-detail { display:none!important; }
/* Phone density affects selectable card grids only. Desktop and the recent dashboard strip keep their layout. */
@media (max-width:600px) {
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-duze { grid-template-columns:minmax(0,1fr)!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-srednie { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-male { grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid:is(.ff-grid-srednie,.ff-grid-male) > .ff-card { min-width:0;width:100%!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-srednie > .ff-card .ff-card-copy { padding:10px!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-male > .ff-card .ff-card-copy { padding:7px!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-srednie > .ff-card .ff-card-title { font-size:20px!important;line-height:1.2!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-male > .ff-card .ff-card-title { font-size:16px!important;line-height:1.25!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid:is(.ff-grid-srednie,.ff-grid-male) > .ff-card .ff-card-copy > div:not(.ff-card-title) { font-size:12px!important;line-height:1.45!important;overflow-wrap:anywhere; }
 html[data-panel-theme] .ff-panel .ff-card-grid:is(.ff-grid-srednie,.ff-grid-male) > .ff-card > .ff-card-badge { position:static!important;display:flex;margin:5px 6px 0;padding:4px 5px!important;font-size:12px!important;line-height:1.35;overflow-wrap:anywhere; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-male .ff-card-empty-label { font-size:12px!important;line-height:1.25; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-male .ff-card-image > span { padding:4px!important;gap:3px!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-male .ff-card-image > span > svg { width:20px!important;height:20px!important; }
 html[data-panel-theme] .ff-panel .ff-card-grid.ff-grid-male .ff-card-image .ff-photo-action { width:44px!important;height:44px!important;min-height:44px;top:3px!important;right:3px!important; }
 html[data-panel-theme] .ff-panel .ff-account--studio-menu .ff-card-grid.ff-grid-srednie > .ff-card { padding:14px!important; }
 html[data-panel-theme] .ff-panel .ff-account--studio-menu .ff-card-grid.ff-grid-male > .ff-card { padding:8px!important; }
 html[data-panel-theme] .ff-panel .ff-account--studio-menu .ff-card-grid:is(.ff-grid-srednie,.ff-grid-male) > .ff-card .ff-card-copy { padding:10px 0 0!important; }
 html[data-panel-theme] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { min-height:280px!important; }
 html[data-panel-theme] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card .ff-tile-expanded { height:calc(100% - 56px)!important; }
 html[data-panel-theme] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-detail { left:10px;right:10px;bottom:10px;font-size:12px;line-height:1.4;text-align:center; }
}

/* Editorial uses fixed rows; the longer account summary needs room in its own row. */
@media(max-width:600px) {
 html[data-panel-theme="editorial"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-rows:320px 330px minmax(280px,auto); }
 html[data-panel-theme="editorial"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { display:block!important;align-content:start!important; }
 html[data-panel-theme="editorial"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { position:static;margin:10px 0 0;max-width:none;overflow-wrap:anywhere; }
}
@media(max-width:360px) {
 html[data-panel-theme="editorial"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-rows:310px 310px minmax(280px,auto); }
}

/* SOL158: the artwork and its text share one square coordinate system at every width. */
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-balance-layout {
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:12px 0;
}
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-counter {
 flex:none;width:min(100%,330px);aspect-ratio:1;min-height:0;height:auto;container-type:inline-size;
}
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-counter-center {
 position:absolute;inset:17% 17% 23%;width:auto;height:auto;padding:0;gap:6px;
}
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-counter .ff-balance {
 font-size:calc(34cqw * var(--ff-kobalt-number-scale));line-height:1;
}
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-counter-unit {
 max-width:100%;font-size:clamp(12px,5.5cqw,18px);line-height:1.3;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:anywhere;
}
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-credit-expiry { max-width:100%;margin:0; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-backpack-card,.ff-dashboard-account-card) .ff-tile-expanded { align-content:start; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-emblem--konto {
 width:min(50%,185px);max-height:calc(100% - 28px);right:12px;bottom:12px;container-type:inline-size;
}
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-monogram { font-size:calc(36cqw * var(--ff-kobalt-monogram-scale,1)); }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { top:auto;bottom:20px;left:24px;right:auto;max-width:44%;font-size:22px; }
html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count small { display:inline;margin-left:5px;font:12px/1.4 var(--ff-sans);color:var(--ff-muted); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter {
 flex:none;min-height:0;height:auto;max-height:none;width:min(100%,340px);aspect-ratio:1;container-type:inline-size;
}
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-center { position:absolute;inset:24% 17% 15%;width:auto;padding:0; }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter .ff-balance { font-size:calc(39cqw * var(--ff-riviera-number-scale,1)); }
html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter-unit { max-width:100%;white-space:normal;text-align:center;font-size:clamp(13px,5.6cqw,19px);line-height:1.3;text-wrap:balance;overflow-wrap:anywhere; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-emblem--konto { container-type:inline-size; }
html[data-panel-theme="riviera"] .ff-panel .ff-riviera-monogram { font-size:calc(37cqw * var(--ff-riviera-monogram-scale,1)); }
@media(max-width:600px) {
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(440px,auto) minmax(340px,auto) minmax(280px,auto);gap:14px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-sessions-card { grid-column:1/-1;grid-row:1; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card { grid-column:1/-1;grid-row:2; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-backpack-card { grid-column:1;grid-row:3; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-dashboard-account-card { grid-column:2;grid-row:3; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-sessions-card,.ff-clients-card) .ff-tile-expanded { padding:19px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-counter { width:min(100%,270px); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-tile-actions { flex-direction:row;align-items:center;gap:12px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-primary-action { flex:1;min-width:0;width:auto;font-size:14px;padding:10px 12px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-counter-heading .ff-eyebrow,
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-title { font-size:26px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-clients-card .ff-tile-title { padding-right:40px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-client-count { top:19px;right:19px;left:auto; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] :is(.ff-tile-photo,.ff-tile-no-photo) { inset:64px 13px 13px;width:calc(100% - 26px);height:calc(100% - 77px); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-waiting-chip { bottom:24px;right:24px;left:auto;max-width:calc(100% - 48px); }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-folder-count { position:static;max-width:100%;font-size:19px; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-kobalt-emblem--konto { width:min(108px,100%);max-height:none;inset:auto; }
 html[data-panel-theme="kobalt"] .ff-panel .ff-dashboard[data-compact="false"] .ff-account-title { display:block;grid-column:1;grid-row:2;position:static;max-width:100%;margin:0;font-size:12px; }
 html[data-panel-theme="riviera"] .ff-panel .ff-dashboard[data-compact="false"] .ff-riviera-counter { width:min(100%,270px); }
}

/* k46 · historia konta i ustawienie bieżącego urządzenia */
.ff-panel .ff-brand-header { position:relative; }
.ff-panel .ff-topbar:has(.ff-k46-list) { position:relative;z-index:760; }
.ff-panel .ff-k46-tools { display:flex;align-items:center;gap:10px;flex:none; }
.ff-panel .ff-header-tools .ff-k46-push-action {
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  min-width:44px;min-height:44px;padding:0 8px;border:0;border-radius:6px;background:transparent;
  color:var(--ff-gold);font:700 15.5px/1.3 var(--ff-sans);letter-spacing:.04em;white-space:nowrap;cursor:pointer;
}
.ff-panel .ff-k46-push-action:disabled { opacity:.65;cursor:default; }
.ff-panel :is(.ff-k46-push-action,.ff-k46-bell,.ff-k46-list button):focus-visible { outline:2px solid var(--ff-gold);outline-offset:2px; }
.ff-panel .ff-k46-push-status {
  position:absolute;top:calc(100% + 8px);right:0;max-width:min(320px,100%);z-index:810;
  padding:10px 14px;background:var(--ff-card);border:1px solid var(--ff-line);border-radius:10px;
  color:var(--ff-ink);font:13px/1.4 var(--ff-sans);
}
.ff-panel .ff-k46-bell {
  position:relative;display:grid;place-items:center;width:44px;height:44px;border:1px solid transparent;
  border-radius:50%;background:color-mix(in srgb,var(--ff-gold) 15%,var(--ff-card));color:var(--ff-gold);cursor:pointer;
}
.ff-panel .ff-k46-badge {
  position:absolute;right:-3px;top:-3px;min-width:18px;padding:1px 3px;border-radius:14px;
  background:var(--ff-gold);color:var(--ff-bg);font:700 11px/16px var(--ff-sans);text-align:center;
}
.ff-panel .ff-k46-list {
  position:absolute;top:calc(100% + 8px);right:0;z-index:820;width:min(386px,100%);
  max-height:min(480px,calc(100dvh - 100px));overflow:auto;overscroll-behavior:contain;
  background:var(--ff-card);color:var(--ff-ink);border:1px solid var(--ff-line);
  border-radius:14px;box-shadow:0 12px 40px #0005;
}
.ff-panel .ff-k46-list-head { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 14px 9px 17px; }
.ff-panel .ff-k46-list-head h2 { font:normal 26px/1.2 var(--ff-serif);margin:0; }
.ff-panel .ff-k46-close {
  display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;background:transparent;
  color:var(--ff-muted);font:normal 25px/1 var(--ff-sans);cursor:pointer;
}
.ff-panel .ff-k46-list ul { list-style:none;padding:0;margin:0; }
.ff-panel .ff-k46-entry {
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;
  padding:10px 17px;text-align:left;border:0;border-top:1px solid var(--ff-line);
  background:transparent;color:var(--ff-ink);font:14px/1.4 var(--ff-sans);cursor:pointer;
}
.ff-panel .ff-k46-entry:hover { background:color-mix(in srgb,var(--ff-gold) 12%,var(--ff-card)); }
.ff-panel .ff-k46-entry small { display:block;color:var(--ff-muted);font-size:12px;overflow-wrap:anywhere; }
.ff-panel .ff-k46-entry-arrow { color:var(--ff-gold);font-size:21px; }
.ff-panel .ff-k46-list-status { padding:0 17px 14px;color:var(--ff-muted);font:14px/1.4 var(--ff-sans); }
.ff-panel .ff-k46-list-status button { color:var(--ff-ink);text-decoration:underline;background:transparent;border:0;font:inherit;cursor:pointer; }
@media(max-width:600px) {
  html[data-panel-theme] .ff-panel .ff-brand-header { gap:clamp(4px,1.4vw,8px); }
  html[data-panel-theme] .ff-panel .ff-brand-header .ff-brand {
    width:clamp(62px,21vw,112px);min-width:0;flex:0 1 clamp(62px,21vw,112px);
  }
  html[data-panel-theme] .ff-panel .ff-brand-header .ff-header-tools { flex:0 0 auto; }
  html[data-panel-theme] .ff-panel .ff-brand img, .ff-panel .ff-brand img { width:100%; }
  .ff-panel .ff-k46-tools { gap:5px; }
  .ff-panel .ff-header-tools .ff-k46-push-action { font-size:15px; }
}
@media(max-width:360px) {
  html[data-panel-theme] .ff-panel .ff-brand-header .ff-brand { width:62px;flex-basis:62px; }
}
