/* ALPLINE 4.1.115 — Theme studio finish: correct the 4.1.101 force-same-preview
   and match preview palette/rounded geometry to the actual scoped dashboard skin.
   The figures in sample previews remain illustrative, not live production data. */
#studio-theme .theme-preview-grid[data-preset]{
 display:grid!important;min-width:0!important;gap:8px!important;
 grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
 grid-template-areas:"welcome welcome" "metrics metrics" "income operations" "actions actions"!important;
}
#studio-theme [data-theme-preview] :is(.theme-preview-panel,.theme-preview-metrics>div,.theme-preview-welcome){
 background:#fff!important;color:#153743!important;
 border:1px solid color-mix(in srgb,var(--preview-primary) 16%,white)!important;
 border-radius:var(--preview-radius,12px)!important;
 box-shadow:0 4px 14px rgba(18,54,63,.06)!important;
}
#studio-theme [data-theme-preview] .theme-preview-welcome {
 background:linear-gradient(113deg,color-mix(in srgb,var(--preview-primary) 11%,white),#fff 70%)!important;
 border-left:3px solid var(--preview-primary)!important;
}
#studio-theme [data-theme-preview] .theme-preview-welcome h3{color:#173643!important;text-shadow:none!important}
#studio-theme [data-theme-preview] .theme-preview-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
#studio-theme [data-theme-preview] .theme-preview-metrics b{color:var(--preview-primary)!important;font-variant-numeric:tabular-nums}
#studio-theme [data-theme-preview] .theme-preview-links i{font-size:12px!important;width:25px!important;height:25px!important;border-radius:7px!important;background:color-mix(in srgb,var(--preview-primary) 12%,white)!important;color:var(--preview-primary)!important}
#studio-theme [data-theme-preview] .theme-preview-chart{display:flex!important;clip-path:none!important;mask:none!important;background:transparent!important;width:100%!important;height:52px!important;border-radius:7px!important}
#studio-theme [data-theme-preview] .theme-preview-chart i{display:block!important}
#studio-theme [data-theme-preview] .theme-preview-report-table{display:none!important}
/* The same existing sections in the same order; seven skins vary intentionally
   by border treatment, header finish and palette, not fake new dashboard widgets. */
#studio-theme [data-layout="signature"] .theme-preview-welcome{background:linear-gradient(110deg,color-mix(in srgb,var(--preview-accent) 21%,white),#fff 76%)!important;border-left-width:5px!important}
#studio-theme [data-layout="signature"] .theme-preview-panel{border-top:2px solid var(--preview-accent)!important}
#studio-theme [data-layout="paper"] :is(.theme-preview-panel,.theme-preview-metrics>div,.theme-preview-welcome){border-radius:6px!important;box-shadow:0 1px 3px rgba(16,44,40,.04)!important;background:#fff!important}
#studio-theme [data-layout="paper"] .theme-preview-welcome{border-left:3px solid var(--preview-primary)!important}
#studio-theme [data-layout="focus"] .theme-preview-panel[data-theme-area="income"]{background:color-mix(in srgb,var(--preview-primary) 8%,white)!important;border-top:3px solid var(--preview-primary)!important}
#studio-theme [data-layout="focus"] .theme-preview-welcome{border-top:3px solid var(--preview-primary)!important}
#studio-theme [data-layout="atelier"] :is(.theme-preview-panel,.theme-preview-metrics>div){border-radius:20px 10px 20px 10px!important}
#studio-theme [data-layout="atelier"] .theme-preview-welcome{border-radius:6px 22px 22px 6px!important}
#studio-theme [data-layout="ledger"] .theme-preview-panel{border-radius:5px!important;box-shadow:none!important;border-bottom:2px solid color-mix(in srgb,var(--preview-primary) 25%,white)!important}
#studio-theme [data-layout="ledger"] .theme-preview-metrics>div{box-shadow:none!important;border-radius:4px!important}
#studio-theme [data-layout="orbit"] :is(.theme-preview-panel,.theme-preview-metrics>div){border-radius:17px!important;border-color:color-mix(in srgb,var(--preview-accent) 25%,white)!important}
#studio-theme [data-layout="orbit"] .theme-preview-links i{border-radius:50%!important}
#studio-theme [data-layout="original_live"] .theme-preview-welcome{background:white!important}
/* Scoped real dashboard treatments for the same palette / outline language. */
html[data-alpline-theme="signature"] main[data-alpline-alt-theme] :is(.alp484-panel,.alp457-paper){border-top:2px solid var(--workspace-accent,#39c8bb)!important}
html[data-alpline-theme="paper"] main[data-alpline-alt-theme] :is(.alp484-panel,.alp457-paper){border-radius:7px!important;box-shadow:0 1px 4px rgba(15,50,44,.04)!important}
html[data-alpline-theme="focus"] main[data-alpline-alt-theme] :is(.alp484-panel,.alp457-paper){border-top:3px solid var(--workspace-primary,#42376f)!important}
html[data-alpline-theme="atelier"] main[data-alpline-alt-theme] :is(.alp484-panel,.alp457-paper){border-radius:20px 10px 20px 10px!important}
html[data-alpline-theme="ledger"] main[data-alpline-alt-theme] :is(.alp484-panel,.alp457-paper){border-radius:5px!important;box-shadow:none!important;border-bottom:2px solid color-mix(in srgb,var(--workspace-primary,#6d4a20) 25%,white)!important}
html[data-alpline-theme="orbit"] main[data-alpline-alt-theme] :is(.alp484-panel,.alp457-paper){border-radius:17px!important;border-color:color-mix(in srgb,var(--workspace-accent,#71c2fe) 25%,white)!important}
@media(max-width:650px){
 #studio-theme .theme-preview-grid[data-preset]{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"welcome" "metrics" "income" "operations" "actions"!important}
 #studio-theme [data-theme-preview] .theme-preview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
