/* SUPERPLASTY 0.28.0 — shared presentation tokens, no business logic */
:root{--sp-space:8px;--sp-radius:12px;--sp-focus:#267a44;--sp-action:#216638;--sp-sidebar:#103d2a;--shadow:0 3px 12px #153d2510;--bg:#f4f6f5;--line:#d8e1db;--text:#172b21;--muted:#52645a}
:root[data-theme=dark]{--sp-focus:#9ce4b0;--bg:#101611;--text:#eff5ef;--line:#344338;--muted:#b3c6b6}
body{font-size:15px;line-height:1.55}.sidebar{background:var(--sp-sidebar);padding:16px 12px;gap:5px}.side-caption{padding:10px 12px}.side-group{border-bottom:1px solid #ffffff18;padding:3px 0}.side-group summary{cursor:pointer;min-height:44px;padding:10px 12px;color:#e8f5ec;font-size:14px;font-weight:650;list-style-position:inside}.side-group[open] summary{color:#b9efc5}.side-group .side-link{padding-left:24px;font-size:13px}.side-link{min-height:44px}.sidebar .brand{padding-bottom:12px}.workspace #menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px}.workspace .page-shell{min-width:0}.workspace.nav-collapsed .page-shell{margin-left:0}.workspace.nav-collapsed .sidebar{visibility:hidden;transform:translateX(-100%)}
header{gap:12px;padding:12px 24px;min-height:68px}.header-title{flex:1}.header-title strong{font-weight:700}.version{flex:0 1 auto;font-size:12px}.workspace main{max-width:1600px;margin:24px auto;padding:0 clamp(16px,2vw,32px)}.panel,.od-panel,.od-kpi{border-radius:var(--sp-radius);box-shadow:var(--shadow)}.panel{padding:clamp(16px,2vw,24px)}h1{line-height:1.18}h2{line-height:1.3}h3{line-height:1.4}main nav{gap:6px;margin-bottom:20px}main nav a{min-height:44px;display:inline-flex;align-items:center}main nav a[aria-current=page]{border-color:var(--sp-focus);font-weight:700;background:color-mix(in srgb,var(--sp-focus) 9%,var(--surface))}.labor-strip{font-size:13px;margin-bottom:16px;border-radius:8px}.labor-strip a{font-weight:650}
input,select,textarea{max-width:100%;min-width:0;border-radius:8px;font:inherit}textarea{width:100%;padding:12px;border:1px solid var(--line);background:var(--surface);color:var(--text)}label{min-width:0;gap:6px}form{gap:14px}button,.btn{border-radius:8px;min-height:44px;max-width:100%;white-space:normal}button:not(.secondary):not(.danger),.btn:not(.secondary):not(.danger){background:var(--sp-action);color:#fff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--sp-focus);outline-offset:3px}.sidebar :focus-visible{outline-color:#b9efc5}.scroll{border:1px solid var(--line);border-radius:8px}.scroll th{white-space:normal}.scroll tr:nth-child(even) td{background:color-mix(in srgb,var(--bg) 45%,var(--surface))}td,th{padding:12px 14px}.scroll table{min-width:100%}.grid{gap:16px}.shop-toolbar{border-radius:12px}.shop-product{border-radius:12px;overflow:hidden}.shop-product-image img{object-fit:contain}.shop-checkout{scroll-margin-top:16px}.shop-filters button{min-height:44px}.shop-hero{border-radius:16px}.shop-product-body{padding:16px}.worker .page-shell{max-width:820px}.worker main{padding-bottom:90px}.worker button,.worker .btn{min-height:48px}
@media(min-width:961px){.workspace .panel>form.sp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.workspace .panel>form.sp-form-grid>button,.workspace .panel>form.sp-form-grid>fieldset,.workspace .panel>form.sp-form-grid>p,.workspace .panel>form.sp-form-grid>details{grid-column:1/-1}.workspace .panel>form.sp-form-grid>button{justify-self:start}.workspace .panel>form.sp-form-grid>input[type=hidden]{display:none}}
@media(max-width:960px){.workspace.nav-collapsed .sidebar{visibility:visible}.workspace .page-shell{margin-left:0}.workspace main{padding:0 14px}.sidebar{width:min(288px,88vw)}header{padding:12px 14px}.version{display:none}}
@media(max-width:650px){header{gap:8px}.header-title{min-width:90px}header #theme{font-size:13px;padding:10px}.workspace header #ex-install:not([hidden]){order:4;width:100%}.workspace main,.worker main,.store main{padding-inline:12px;margin-top:16px}.panel{padding:15px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:10px}.panel form{grid-template-columns:minmax(0,1fr)}input,select,textarea{font-size:16px}.scroll table{min-width:440px}.scroll td,.scroll th{padding:10px}.shop-product-body{padding:12px}.shop-filters{gap:6px}.shop-toolbar{flex-wrap:wrap;gap:8px}.shop-layout{min-width:0}.shop-hero h1{overflow-wrap:anywhere}.worker .grid{grid-template-columns:1fr}.od-heading{flex-wrap:wrap}.od-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{font-size:25px}.shop-checkout{position:static}.panel>form>button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:960px){.workspace.nav-collapsed.menu-open .sidebar{transform:none}}

#menu-close{display:none}.worker #menu-close{display:block;width:100%}@media(max-width:960px){.workspace #menu-close{display:block;width:100%}}

/* 0.28.1: readable labels, content-driven sizing; no mid-word splitting in UI copy. */
.panel, .header-title, .side-profile, .side-link, .side-group summary,
.od-heading, .od-heading h1, .od-label, .od-kpi small, .od-flow strong,
.od-flow small, .od-alerts a>div, .od-sectionhead, .shop-hero h1,
.shop-product-body h3, button, .btn, label, nav a {
  overflow-wrap: normal; word-break: normal; hyphens: none; white-space: normal;
  text-overflow: clip;
}
.side-link span{flex:0 0 22px}
.od-heading>div:first-child,.od-sectionhead>div{min-width:0;flex:1 1 240px}
.od-heading h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.025em}
.od-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.od-kpi{padding:18px;gap:9px}
.od-kpi>strong{overflow-wrap:normal;word-break:normal;letter-spacing:-.035em;font-size:clamp(18px,2vw,26px)}
.od-label,.od-kpi small{font-size:13px;line-height:1.45}
.od-flow{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px}
.od-flow>a{padding:14px 10px;border:1px solid var(--line);border-radius:10px;align-content:start;background:var(--surface)}
.od-flow>a:after{display:none}
.od-flow strong{font-size:14px;line-height:1.4}
.od-flow small{font-size:12px}
.od-sectionhead{flex-wrap:wrap}
.od-sectionhead>a,.od-date,.ad-status{white-space:normal}
.od-channel{flex-wrap:wrap}
@media(max-width:650px){
 .od-heading>div:first-child,.od-sectionhead>div{flex:1 1 auto;width:100%}
 .od-kpis{grid-template-columns:minmax(0,1fr)}
 .od-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
 .od-flow>a{padding:12px 8px}
 .od-kpi>strong{font-size:24px}
 .workspace .grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){.od-flow{grid-template-columns:minmax(0,1fr)}}
