/* Cabinet Studio. Remove this stylesheet to restore the original skin. */
:root {
  --bg:#f5f4f0;--card:#fffefa;--bg-soft:#f2f3ef;--hover:#f0f4fc;
  --text:#222c2a;--label:#52605c;--muted:#69756f;
  --border:#dedfd8;--border-soft:#ebece5;--border-in:#c9cec5;
  --input-bg:#fffefa;--input-dis:#eceee7;--chip:#eef0ea;
  --accent:#285ee8;--accent-soft:#eaf0ff;--side:#f0f0e9;
  --side-hi:#e8ebe3;--side-on:#e3eafb;--side-tx:#4e5c56;--side-mut:#6a776f;
  --ok:#247553;--ok-bg:#e9f4ed;--ok-tx:#246141;--ok-bd:#bbd9c6;
  --shadow:0 3px 12px #263a2a05;--ring:#285ee83b;
}
html.dark {
  --bg:#171d20;--card:#20282c;--bg-soft:#262f33;--hover:#293740;
  --text:#e6ede9;--label:#bdc9c4;--muted:#9caca5;
  --border:#364147;--border-soft:#303a40;--border-in:#4a575d;
  --input-bg:#1d2529;--input-dis:#2b3338;--chip:#2c383b;
  --accent:#8dabff;--accent-soft:#2b3a51;--side:#1b2327;
  --side-hi:#2a363a;--side-on:#2a3a4e;--side-tx:#bac8c1;--side-mut:#93a79b;
  --ok:#378b68;--ok-bg:#203c31;--ok-tx:#a1d9b9;--ok-bd:#426c55;
  --shadow:0 4px 20px #00000012;--ring:#8dabff55;
}
html{scrollbar-gutter:stable}
body{font-family:'Segoe UI',Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
body a,html.dark body a{color:var(--accent)}
body #side{width:210px;border-right:1px solid var(--border)}
body #side .brand{padding:18px 18px 14px;flex-shrink:0;color:var(--text);font-size:17px;letter-spacing:.07em}
body #side .brand .sq{background:var(--text);color:var(--card);border-radius:10px;width:33px;height:33px;font:bold italic 24px Georgia,serif;position:relative}
body #side .brand .sq:after{content:'';position:absolute;right:-2px;top:-2px;width:8px;height:8px;background:#ee765e;border:2px solid var(--side);border-radius:50%}
body #side nav{padding:0 10px 10px;min-height:0;scrollbar-width:thin;scrollbar-color:var(--border-in) transparent}
body #side nav .navcap{font-size:9px;letter-spacing:.12em;padding:12px 10px 4px}
body #side nav a{border:0;border-radius:8px;padding:8px 10px;margin:2px 0;color:var(--side-tx);font-size:13px;gap:10px}
body #side nav a.on{background:var(--side-on);color:var(--accent);font-weight:650}
body #side nav a:hover{background:var(--side-hi);color:var(--text)}
body #side .foot{padding:14px 16px;border-color:var(--border);line-height:1.5;flex-shrink:0;white-space:normal}
body #side .foot a.bye{color:var(--side-tx);margin:0;padding:5px 0}
body #side .foot a.bye:hover{color:var(--accent)}
body #side .foot .footrow{flex-wrap:nowrap;margin-bottom:8px}
body #side .foot .switch{margin:0}
body #side .foot .switch input:focus-visible + .slider{outline:2px solid var(--accent);outline-offset:3px}
.foot-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.foot-legal{display:flex;flex-wrap:wrap;gap:0 10px;font-size:10px}
.plan-usage{font-size:10px;color:var(--muted);margin-bottom:6px;overflow-wrap:anywhere}
body #side .foot .plan{border-radius:6px;padding:3px 8px;font-size:10px}
body #side .foot .plan.pro{background:var(--ok-bg);color:var(--ok-tx)}
body #side .foot .plan.free{background:#ad202b;color:#fff}
body #collapse{top:30px;box-shadow:var(--shadow);border-color:var(--border)}
body main{margin-left:210px}
.studio-topbar{min-height:70px;border-bottom:1px solid var(--border);padding:14px 32px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--card)}
.studio-location{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.studio-location strong{font-weight:600;color:var(--text)}
.studio-location>span{color:var(--border-in)}
.studio-controls{display:flex;align-items:center;gap:16px;flex-shrink:0}
.studio-design-label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}
body .studio-design-label select{font-size:12px;width:100px;padding:6px 8px;min-height:32px}
body .wrap{padding:0 32px;margin:30px auto 48px;max-width:none;min-width:0}
body .setwrap{width:100%;max-width:none;margin:0}
body .setgrid,body .fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
body .setgrid>*,body .fgrid>*{min-width:0}
body .pagehead{margin:0 0 24px}
body .pagehead h1{font-size:32px;font-weight:650;letter-spacing:-1.1px;line-height:1.2;margin:0 0 7px}
body .pagehead p{font-size:14px}
body .card{border-radius:14px;padding:22px;box-shadow:var(--shadow);margin-bottom:20px}
body .tabs{gap:8px;margin-bottom:22px}
body .tabs a{font-size:13px;padding:10px 15px;color:var(--muted)}
body .tabs a.on{color:var(--accent);border-bottom-color:var(--accent)}
body .btn{border-radius:8px;font-size:13px;font-weight:600;padding:8px 13px;line-height:1.45;transition:background .15s,border-color .15s,box-shadow .15s;color:var(--text)}
body .btn.pri{background:#285ee8;border-color:#285ee8;color:#fff;box-shadow:0 2px 3px #285ee81a}
body .btn.pri:hover{background:#214fc9}
body .btn.ok{background:var(--ok);border-color:var(--ok);color:#fff}
body .btn.sm{padding:5px 10px;font-size:12px}
body input[type=email],body input[type=text],body input[type=password],body input[type=number],body input[type=date],body select,body textarea{border-radius:8px;font-size:14px;min-height:36px;transition:border-color .15s,box-shadow .15s}
body input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px;cursor:pointer}
body :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body input:focus,body select:focus,body textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}
html.dark body select option{background:var(--card)}
body .tag{border-radius:5px;padding:3px 7px;font-size:11px;line-height:1.5}
body .tag.ozon,body .tag.wb,body .tag.ym{border-left:0}
body .msg{border-radius:10px;padding:13px 16px}
body .step{padding:20px;border-radius:12px}
/* Tables: quieter headers, room to read, clear hover and numeric alignment. */
body table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
body th,body td{padding:13px 16px;vertical-align:middle;border-bottom:1px solid var(--border-soft)}
body th{font-size:11px;font-weight:650;color:var(--label);letter-spacing:.065em;line-height:1.6;white-space:nowrap;background:var(--bg-soft)}
body td{font-size:13px;line-height:1.6}
body tbody tr:last-child td{border-bottom:0}
body tr:hover td{background:var(--hover)}
body tr:focus-within td{background:var(--accent-soft)}
body .tblwrap,body .studio-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--border);border-radius:11px;scrollbar-width:thin;scrollbar-color:var(--border-in) var(--bg-soft)}
body td .btn{white-space:nowrap}
body .row:has(> .col > .scard){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
body .row:has(> .col > .scard)>.col{min-width:0}
body .scard{border-radius:12px;padding:18px 16px;text-align:left;box-shadow:var(--shadow)}
body .scard .num{font-size:30px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}
body .scard .lbl{font-size:10px;letter-spacing:.06em;margin-top:4px}
/* Product list uses the same rhythm as data tables, including its tile view. */
body .pl-search input{height:46px;border-radius:9px;background:var(--input-bg)}
body .pl-tabs{gap:7px;margin-top:16px}
body .ptab{border-color:transparent;background:var(--bg-soft);border-radius:7px;padding:6px 10px;color:var(--label);font-size:12px}
body .ptab b{border-radius:4px;min-width:20px;text-align:center;padding:0 4px;font-size:10px;background:var(--card)}
body .ptab.on{background:var(--accent-soft);color:var(--accent);border-color:transparent}
body .pl-bar{gap:12px;border-top-style:solid;padding-top:15px;margin-top:15px}
body .pl-bar select{width:auto;font-size:12px;min-height:32px}
body .seg{padding:3px;border-radius:8px;background:var(--bg-soft);border-color:var(--border)}
body .seg button{border-radius:5px;background:transparent;padding:5px 11px}
body .seg button.on{background:var(--card);color:var(--text);box-shadow:0 1px 4px #00000015}
body .plist .prow{padding:17px 18px;gap:16px;border-bottom-color:var(--border-soft);min-height:88px}
body .prow:last-child{border-bottom:0}
body .prow-name,html.dark body .prow-name{font-size:14px;font-weight:650;color:var(--text)}
body .prow-name:hover{color:var(--accent)}
body .prow-sub{margin-top:5px}
body .prow:has(.pick-cb:checked){background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent)}
body .prow:focus-within{background:var(--hover)}
body .prow-bc{width:140px;color:var(--label);font-size:12px;font-variant-numeric:tabular-nums}
body .prow-art{width:108px;font-size:12px}
body .prow-act{width:196px;justify-content:flex-end;gap:7px}
body .pform{display:flex;align-items:center;gap:6px}
body .chips{margin-top:9px}
body .chip{border-color:var(--border-soft);padding:3px 6px;border-radius:6px;background:var(--bg-soft)}
body .chip.on{border-color:var(--accent);box-shadow:none;background:var(--accent-soft)}
body .chip-bc{font-size:10px}
body .pv-hint{opacity:.45}
body .pmenu{padding:6px;border-radius:10px;box-shadow:0 12px 32px #00000024}
body .pmenu a,body .pmenu button{padding:10px 12px;color:var(--text)}
body .bulkbar{bottom:16px;padding:14px 18px;border-color:var(--accent);box-shadow:0 8px 32px #0000001a}
body .plist.tiles{gap:16px;padding:16px}
body .plist.tiles .prow{padding:20px;border-radius:12px;gap:12px;min-width:0}
body .plist.tiles .prow-main{padding-right:18px}
body .plist.tiles .prow-act{width:100%;margin-top:8px;padding-top:12px;border-top:1px solid var(--border-soft)}
body .plist.tiles .prow-bc,body .plist.tiles .prow-art{width:auto}
.studio-list-head{display:flex;gap:16px;align-items:center;padding:12px 18px;background:var(--bg-soft);color:var(--label);font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.09em;border-radius:14px 14px 0 0;border-bottom:1px solid var(--border)}
.studio-list-head .head-pick{width:16px}
.studio-list-head .head-name{flex:1;min-width:0}
.studio-list-head .head-bc{width:140px}
.studio-list-head .head-art{width:108px}
.studio-list-head .head-act{width:196px;text-align:right}
.plist.tiles .studio-list-head{display:none}
body.min #side{width:64px}body.min main{margin-left:64px}
body.min #side .brand{padding:27px 15px 24px}body.min #side nav{padding:0 6px}
@media(max-width:1100px){body .wrap{padding:0 22px}.studio-topbar{padding:14px 22px}.studio-list-head{display:none}body .prow{flex-wrap:wrap}body .prow-main{min-width:230px}body .prow-act{width:auto}body .prow-bc,body .prow-art{width:auto}}
@media(max-width:760px){body #side,body.min #side{width:232px;transform:translateX(-250px)}body.side-open #side{transform:none}body #collapse{display:none}body .wrap{padding:0 14px;margin:22px auto}body .card{padding:16px;border-radius:12px}body .pagehead h1{font-size:28px}.studio-topbar{padding:10px 14px;min-height:56px;flex-wrap:wrap;gap:9px}.studio-location{display:none}.studio-controls{width:100%;justify-content:space-between}body .mhead{background:var(--card);color:var(--text);border-bottom:1px solid var(--border)}body .mhead button{color:var(--text);border-color:var(--border-in)}body .pl-search{min-width:0;width:100%}body .pl-search input{font-size:14px}body .plist .prow{padding:16px;gap:10px}body .prow-main{min-width:0;flex-basis:calc(100% - 38px)}body .prow-act{width:100%;justify-content:flex-end}body .chips{gap:4px}body .chip-bc{display:none}body .prow-art{margin-left:auto}body .pl-bar{gap:10px}body .btn{min-height:36px}body .tabs{gap:0}body .tabs a{padding:10px}body .bulkbar{bottom:8px}body.min #side .brand .lbl,body.min #side .foot,body.min #side nav a .lbl,body.min #side nav .navcap{display:revert}body.min #side nav a{justify-content:flex-start;padding:11px 13px}}
@media(prefers-reduced-motion:reduce){body *,body *:before,body *:after{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){body .row:has(> .col > .scard){grid-template-columns:repeat(2,minmax(0,1fr))}body .row:has(> .col > .scard)>.col:last-child{grid-column:1/-1}}
@media print{.studio-topbar{display:none}body main{margin-left:0}body .card{box-shadow:none}}
@media(max-width:760px){body #side{width:210px;transform:translateX(-220px)}body.side-open #side{transform:none}body .setgrid,body .fgrid{grid-template-columns:1fr!important}body .item-workspace{display:block}body .item-workspace>.col{min-width:0}}
@media(max-height:650px){body #side .brand{padding-top:12px;padding-bottom:8px}body #side nav .navcap{padding-top:6px}body #side nav a{padding-top:6px;padding-bottom:6px}body #side .foot{padding-top:10px;padding-bottom:10px}}

/* Main action in the product workspace; keep it distinct from navigation. */
body .tabs a.work-add{margin-left:auto;margin-bottom:8px;align-self:center;min-height:44px;padding:10px 20px;border-radius:10px;font-size:14px;font-weight:650;white-space:nowrap}
