:root{--bg:#F3F5F3;--ink:#182E27;--muted:#586B62;--line:#E0E7E2;--tint:#0A735E;--radius:20px}
body{background:#F3F5F3;color:var(--ink);font-size:14px;line-height:1.6}
::selection{background:#C4E5D6;color:#123D2C}input,textarea{caret-color:#0A735E}*:focus-visible{outline:3px solid #3279B9;outline-offset:3px}
.sidebar{border-radius:20px;background:#FFFFFFF0;box-shadow:0 10px 36px -20px #263F3026}.sidebar .nav button{border-radius:9px;font-size:13px;min-height:40px}.nav-group-toggle{color:#52695C;font-size:12px!important;letter-spacing:.02em}.nav-children{padding-bottom:10px}.nav-section+.nav-section{margin-top:10px}.nav button.active{background:#E5F1EA;color:#09634C;font-weight:650}.nav .icon{width:17px;height:17px}
.topbar{border-radius:16px;box-shadow:none;background:#FFFFFFC9}.page-head{align-items:flex-start;margin-bottom:24px}.page-head h1{font-size:28px;line-height:1.3;font-weight:650;letter-spacing:-.025em}.page-head p{max-width:68ch;line-height:1.7;color:#586B62;font-size:14px;margin-top:8px}
.panel,.table-panel{border-radius:20px;box-shadow:0 8px 28px -22px #20392A33}.panel{padding:22px}.panel h2{font-size:18px;line-height:1.5}.content{max-width:1600px}.metric{border-radius:16px;padding:18px}.metric-value{font-size:29px}.metric small{color:#586B62}
button.primary,.primary{border-radius:11px;background:#0A735E;box-shadow:none;min-height:42px}.actions button,.page-tools button{border-radius:10px;min-height:40px}.queue{border-radius:12px;min-height:62px}.queue:nth-child(3n+2){background:#F1F4FA}.queue:nth-child(3n+3){background:#FAF3EA}.queue b{font-variant-numeric:tabular-nums}
.toolbar{gap:10px;padding:18px}.toolbar input,.toolbar select{border-radius:10px;min-height:42px}.table-wrap table{font-size:13px;line-height:1.6}.table-wrap th{font-size:12px;background:#F5F7F5;color:#586B62;font-weight:600;padding:14px 16px}.table-wrap td{padding:16px;vertical-align:top;border-bottom:1px solid #E8EDE9}.table-wrap tbody tr:hover{background:#F8FAF8}.table-wrap td:first-child{font-weight:550}.table-wrap .actions{gap:6px}.table-wrap .actions button{min-height:36px;font-size:12px;background:#EDF2F5;color:#285875;border-radius:8px;white-space:normal}
.badge{border-radius:6px;font-size:12px;line-height:1.5;padding:4px 8px}.badge.warn{background:#FBF0E2;color:#8D4F17}.badge.error{background:#FBE8E8;color:#AA3030}.badge.success{background:#E8F4EC;color:#216342}
#drawer{border-radius:24px;padding:26px;max-height:90vh}#drawer h2{font-size:23px}#drawer h3{font-size:17px;margin:20px 0 12px}#drawer label{font-size:13px;font-weight:550;display:block}#drawer input,#drawer textarea,#drawer select{border-radius:10px;padding:11px 12px;font:inherit;min-height:42px;border:1px solid #CDD8D0;background:#FBFCFB;color:#20392A}#drawer textarea{line-height:1.65;resize:vertical}#drawer .form-save-bar{background:#FFFFFFF2;backdrop-filter:blur(14px);padding:14px 0;border-top:1px solid #DFE7E1}.detail{padding:14px 0}.detail dt{color:#62746A;font-size:12px}.detail dd{font-size:14px;line-height:1.75}
.catalog-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;align-items:start}#drawer:has(.catalog-editor-layout){width:1000px;max-width:96vw}.catalog-editor-layout form>label{margin:16px 0}.catalog-editor-layout label>textarea,.catalog-editor-layout label>select{display:block;width:100%;margin-top:8px}.catalog-editor-layout aside{position:sticky;top:0}.catalog-block{border:1px solid #DCE5DE;border-radius:14px;padding:16px;margin:14px 0}.catalog-block label+label{margin-top:14px}.catalog-block>button{margin-top:12px;color:#9B3C30;background:#F8EDEC;padding:7px 10px;border-radius:8px;font-size:12px}.catalog-block legend{padding:0 7px;color:#536A5C;font-size:12px}.catalog-version{background:#ECF3EF;padding:12px;border-radius:10px;font-size:13px}.catalog-phone{background:#F3F5F3;border-radius:24px;overflow:hidden;border:1px solid #DFE6E1;max-height:72vh;overflow-y:auto}.catalog-phone img{display:block;width:100%;object-fit:cover;height:180px}.catalog-phone-body{padding:18px}.catalog-phone .catalog-scene-note{display:block;color:#63746B;text-align:right;font-size:10px}.catalog-phone h2{font-size:25px!important;margin:10px 0!important}.catalog-phone p{font-size:14px;line-height:1.75;color:#53665C;white-space:pre-wrap}.catalog-phone section{margin:24px 0;background:white;border-radius:16px;overflow:hidden}.catalog-phone section h3,.catalog-phone section p{padding:0 16px}.catalog-phone section p{padding-bottom:18px}.catalog-price{font-size:23px;font-weight:650;color:#974C25}.catalog-phone li{font-size:13px;line-height:1.7}.catalog-phone ul{padding-left:20px}.catalog-editor-layout #catalog-error{margin-top:14px;color:#AB3131;font-size:14px}.catalog-editor-layout button:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:950px){.catalog-editor-layout{grid-template-columns:1fr}.catalog-editor-layout aside{position:static}.catalog-phone{max-width:390px;margin:auto}.page-head h1{font-size:25px}.panel{padding:18px}}@media(max-width:600px){#drawer{padding:18px;border-radius:18px}.page-head{gap:14px}.table-wrap td,.table-wrap th{padding:12px}.catalog-editor-layout{gap:20px}.topbar{border-radius:12px}}
