.settings-form{display:grid;gap:16px;max-width:440px;padding:24px 0;border-top:1px solid #e2e6e4}.settings-form label{display:grid;gap:6px;color:#62736a;font-size:12px}.settings-form button{justify-self:start}.settings-form select[multiple]{min-height:105px}#invite-url,#telegram-url{overflow-wrap:anywhere;line-height:1.6}#invite-url a,#telegram-url a{color:#137667;font-weight:600;text-decoration:none}.notification-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #e2e6e4;padding:22px 0}.notification-tools strong{font-size:13px;min-width:130px}.notification-tools a{color:#137667;font-weight:600;text-decoration:none}.notification-tools a:hover{text-decoration:underline}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#232a29;background:#f9faf9;font-size:14px;letter-spacing:0;--accent:#137667;--border:#e2e6e4;--muted:#77817c}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;letter-spacing:0}button{cursor:pointer;min-height:38px;border:1px solid transparent;border-radius:5px;font-weight:550;padding:8px 13px;line-height:1.4}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #9bd4c9;outline-offset:2px}button:hover:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.sidebar{width:222px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--border);padding:26px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:#222;text-decoration:none;font-size:17px;font-weight:650}.brand strong{color:var(--accent)}.workspace{font-size:11px;font-weight:700;margin:40px 12px 22px;line-height:1.8;color:#57605b}.workspace span{display:block;font-size:12px;font-weight:400;color:var(--muted)}nav{display:grid;gap:5px}.nav-item{text-align:left;background:none;color:#626b66;font-size:13px;padding:12px}.nav-item.active{color:var(--accent);background:#eaf4f0}.sidebar-bottom{margin-top:auto;padding:18px 10px 0;display:grid;gap:8px;font-size:11px;color:var(--muted)}.env{color:#3a554a;display:flex;align-items:center;gap:7px}.env i{width:6px;height:6px;background:#ba8d31;border-radius:50%}main{margin-left:222px;min-height:100vh}.topbar{height:66px;border-bottom:1px solid var(--border);background:#fff;padding:0 34px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;color:#626b66;display:flex;gap:15px}.breadcrumb>span:first-child{color:#c1c7c3}#application,#login{padding:30px 34px}.heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:26px}.eyebrow{font-size:10px;font-weight:650;color:var(--accent);margin-bottom:9px}h1{font-size:27px;line-height:1.25;font-weight:650;margin:0}h2{font-size:16px;margin:0}.account-label{display:grid;gap:5px;color:var(--muted);font-size:11px}select,input{border:1px solid #dbe1dd;background:#fff;border-radius:5px;padding:9px 11px;color:#303933;min-height:38px}select{max-width:100%}.account-label select{min-width:245px;font-size:13px}.status-line{background:#fff;border-block:1px solid var(--border);padding:15px 0;display:flex;justify-content:space-between;align-items:center;gap:15px}.status-line>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.status-line strong{font-size:13px}.status-line .muted{font-size:11px;margin-left:9px}.status-dot{background:#9ba49f;width:7px;height:7px;border-radius:50%;flex-shrink:0}.status-dot.on{background:var(--accent)}.status-dot.stopping{background:#b77a1d}.market-label{font-weight:750;color:#874494;white-space:nowrap}.market-label span{font-size:11px;color:var(--muted);font-weight:400;margin-left:5px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0 28px;gap:20px}.metrics>div{display:grid;gap:10px;padding-left:18px;border-left:1px solid var(--border)}.metrics>div:first-child{padding-left:0;border-left:0}.metrics span{font-size:12px;color:#69726d}.metrics strong{font-size:28px;line-height:1;font-weight:600}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:22px}.search-wrap{flex:1;min-width:180px}.search-wrap input{width:100%;font-size:12px}.toolbar select{font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.primary{background:var(--accent);color:white;border-color:var(--accent)}.secondary{background:white;border-color:#dbe1dd;color:#46524b}.quiet{background:transparent;color:#62736a;font-size:12px}.selection{display:flex;justify-content:space-between;padding:18px 0 12px;font-size:11px;color:#48584e}.muted{color:var(--muted)}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:6px;background:#fff}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:550;color:#79837e;background:#f6f8f6;padding:13px 12px;border-bottom:1px solid var(--border)}td{font-size:12px;padding:17px 12px;border-bottom:1px solid #edf0ee}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfc}.numeric{text-align:right;font-variant-numeric:tabular-nums}.check{width:40px;padding-inline:14px 4px}input[type=checkbox]{accent-color:var(--accent);width:14px;height:14px;min-height:0;margin:0;cursor:pointer}.product-name{font-size:12px;font-weight:550;white-space:normal;min-width:170px;max-width:330px;line-height:1.6}.sku{font-size:10px;color:#89938c;margin-top:4px}.target{font-weight:600;color:#276a58}.badge{display:inline-block;border-radius:4px;padding:5px 7px;font-size:10px;white-space:nowrap;background:#f0f3f1;color:#717c74}.badge.good{color:#2a7658;background:#edf6ef}.badge.pending{color:#967017;background:#faf3df}.badge.alert{color:#aa493e;background:#fbeeea}.last{width:38px}.row-action{font-size:11px;padding:5px 7px;min-height:30px;background:transparent;color:#477664}.empty{text-align:center;padding:45px;color:var(--muted)}footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);margin-top:26px;padding-top:16px;color:#8a948e;font-size:10px}.section-bar{display:flex;justify-content:space-between;padding:25px 0 15px;gap:15px}.section-bar .muted{font-size:12px}.event{display:grid;grid-template-columns:145px 1fr;gap:14px;background:#fff;border-bottom:1px solid var(--border);padding:17px 16px;line-height:1.6;font-size:12px}.event time{color:var(--muted);font-size:11px}.event small{display:block;color:var(--muted)}.member{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 16px;background:#fff;border-bottom:1px solid var(--border)}.member small{display:block;color:var(--muted);margin-top:5px}.error{padding:14px;background:#fbeeea;color:#a44437;border:1px solid #f1c8bf;border-radius:5px;margin-bottom:15px}.toast{position:fixed;bottom:25px;right:25px;max-width:calc(100% - 50px);background:#253f34;color:#fff;padding:14px 20px;border-radius:6px;box-shadow:0 5px 20px #0002;z-index:20}dialog{width:440px;max-width:calc(100% - 30px);border:1px solid var(--border);border-radius:8px;padding:24px;color:#28372e}dialog::backdrop{background:#18221c66}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}dialog label{display:grid;gap:8px;margin-top:18px;font-size:12px}dialog p{line-height:1.6;font-size:13px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;margin-top:24px}#login{padding-top:70px}#login p{margin:15px 0 25px}
@media(min-width:1600px){#application{max-width:1600px;margin:auto}}@media(max-width:1100px){.sidebar{width:185px;padding-inline:13px}main{margin-left:185px}#application,#login{padding:24px}.topbar{padding-inline:24px}.brand{font-size:15px}.actions{margin-left:auto}.toolbar .search-wrap{min-width:200px}.toolbar{row-gap:12px}}
@media(max-width:700px){.sidebar{position:static;width:100%;padding:14px 16px;border-right:0;border-bottom:1px solid var(--border);gap:16px}.brand{font-size:16px}.brand img{width:27px;height:27px}.workspace,.sidebar-bottom{display:none}nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.nav-item{font-size:11px;padding:7px 4px;text-align:center;min-height:42px;line-height:1.2}main{margin:0}.topbar{height:42px;padding:0 16px}.breadcrumb{font-size:10px;gap:9px}#application,#login{padding:22px 16px}.heading{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:20px}h1{font-size:24px}.account-label{width:100%}.account-label select{width:100%;min-width:0}.metrics{gap:8px;grid-template-columns:repeat(2,1fr);row-gap:22px}.metrics>div:nth-child(3){border-left:0;padding-left:0}.metrics strong{font-size:25px}.metrics span{font-size:11px}.status-line{align-items:flex-start}.status-line>div{gap:8px}.status-line .muted{margin-left:15px;width:100%;font-size:10px}.market-label{font-size:11px}.market-label span{display:block;margin:3px 0 0}.toolbar{gap:8px}.toolbar .search-wrap{min-width:150px}.toolbar select{max-width:145px;padding-inline:6px;font-size:11px}.actions{width:100%;margin:3px 0 0;display:grid;grid-template-columns:1fr 1.5fr}.actions button{font-size:11px;padding:10px 8px}.event{grid-template-columns:1fr;gap:4px}.selection{gap:12px}.table-wrap{max-width:100%}.member{padding:16px 10px}footer{gap:12px;line-height:1.5}}
.selection{align-items:center;flex-wrap:wrap;gap:8px 16px}.selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}.selection-actions button{min-height:30px;padding:4px 8px}
.write-only{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;font-size:12px;color:#42574a;margin:0 0 14px;line-height:1.4}.write-only input{margin:0;flex:none}
.billing-summary{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 2fr;gap:12px;border-top:1px solid var(--border);padding:22px 0}.billing-stat,.billing-note,.plan{background:#fff;border:1px solid var(--border);border-radius:6px;padding:16px}.billing-stat{display:grid;gap:8px}.billing-stat span,.billing-note,.plan p,.plan span{font-size:12px;color:var(--muted);line-height:1.45}.billing-stat strong{font-size:17px;overflow-wrap:anywhere}.billing-note{display:flex;align-items:center}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.plan{display:grid;gap:11px}.plan h3{font-size:16px;margin:0}.plan>strong{font-size:20px}.plan.current{border-color:#8fc7bb;background:#f6fbf9}.plan span{font-weight:600;color:#4e655b}
.receipt-email{display:grid;gap:6px;max-width:360px;margin:0 0 18px;color:var(--muted);font-size:12px}
@media(max-width:700px){.billing-summary,.plan-grid{grid-template-columns:1fr}.billing-note{min-height:0}}
.referral-link{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--border);padding:0 0 22px}.referral-link a{color:var(--accent);overflow-wrap:anywhere;min-width:0;font-size:13px}.referral-link button{flex:none}
.referral-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.referral-filters input{flex:1;min-width:220px}.referral-filters select{min-width:170px}.referral-table{min-width:1080px}.referral-table td{white-space:normal;vertical-align:top}.referral-table td:first-child{min-width:160px;font-weight:600}.referral-table td:nth-child(3){font-weight:600;color:#276a58}.referral-table small{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:400}.referral-pages{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;color:var(--muted);font-size:12px}.referral-pages[hidden]{display:none}
@media(max-width:700px){.referral-filters input,.referral-filters select{width:100%;flex:auto}.referral-pages{justify-content:space-between}.referral-pages button{padding-inline:9px}}
@media(max-width:700px){#billing-view .table-wrap{border:0;background:transparent;overflow:visible}.referral-table{display:block;min-width:0;white-space:normal}.referral-table thead{display:none}.referral-table tbody{display:grid;gap:8px}.referral-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px;border:1px solid var(--border);border-radius:6px;background:#fff}.referral-table td{display:block;min-width:0!important;padding:0;border:0;overflow-wrap:anywhere}.referral-table td:first-child{grid-column:1 / -1}.referral-table td::before{content:attr(data-mobile-label);display:block;margin-bottom:3px;color:var(--muted);font-size:10px;font-weight:500}.referral-table td:nth-child(3),.referral-table td:nth-child(5){grid-column:1 / -1}}
.access-notice{padding:12px 16px;margin:0 0 16px;border:1px solid #d6c58b;background:#fff9df;color:#544617;font-size:14px}.access-notice.expired{border-color:#e6b4ab;background:#fff1ed;color:#913b2c}
.status-dot.rejected{background:#b44736}
.draft-label{display:block;margin-top:4px;color:#56786b;font-size:10px;font-weight:500}
.numeric small.sku{display:block}
#fix-preview{width:min(700px,calc(100% - 24px));max-height:85vh}.preview-table-wrap{max-height:55vh;overflow:auto;border:1px solid var(--border);border-radius:5px}.preview-table-wrap table{min-width:500px}.preview-table-wrap td:first-child{white-space:normal;min-width:150px}.preview-table-wrap td small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.cabinet-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.product-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:10px}.product-filters select{font-size:12px;max-width:220px}.product-filters .muted{font-size:11px;margin-left:auto}
.bulk-actions{padding-top:10px}.bulk-actions button{font-size:12px}
@media(max-width:700px){.member{align-items:flex-start;flex-wrap:wrap}.cabinet-actions{width:100%;justify-content:flex-start}}
@media(max-width:700px){
  #items-view .table-wrap{border:0;background:transparent;overflow:visible}
  #items-view .table-wrap table{display:block;white-space:normal}
  #items-view .table-wrap thead{display:none}
  #items-view .table-wrap tbody{display:grid;gap:8px}
  #items-view .table-wrap tbody tr{display:grid;grid-template-columns:24px repeat(2,minmax(0,1fr));column-gap:10px;row-gap:9px;padding:13px 12px;border:1px solid var(--border);border-radius:6px;background:#fff}
  #items-view .table-wrap td{display:block;min-width:0;padding:0;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
  #items-view .table-wrap td::before{content:attr(data-mobile-label);display:block;margin-bottom:3px;color:var(--muted);font-size:10px;font-weight:500}
  #items-view .table-wrap td:first-child{grid-column:1;grid-row:1;padding-top:3px}
  #items-view .table-wrap td:nth-child(-n+2)::before{display:none}
  #items-view .table-wrap td:nth-child(2){grid-column:2 / 4;grid-row:1}
  #items-view .table-wrap td:nth-child(3){grid-column:2;grid-row:2}
  #items-view .table-wrap td:nth-child(4){grid-column:3;grid-row:2}
  #items-view .table-wrap td:nth-child(5){grid-column:2;grid-row:3}
  #items-view .table-wrap td:nth-child(6){grid-column:3;grid-row:3}
  #items-view .table-wrap td:nth-child(7){grid-column:2;grid-row:4}
  #items-view .table-wrap td:nth-child(8){grid-column:3;grid-row:4}
  #items-view .table-wrap td:nth-child(9){grid-column:2 / 4;grid-row:5}
  #items-view .table-wrap td:nth-child(9):empty{display:none}
  #items-view .table-wrap .product-name{min-width:0;max-width:none}
  #items-view .table-wrap .badge{white-space:normal}
}
#cabinets-list .member>div:first-child{min-width:0;overflow-wrap:anywhere}
#cabinets-list .member small.cabinet-warning{color:#a44437}
.price-impact{padding:10px 12px;border-left:3px solid var(--accent);background:#edf6f2;color:#385a4a}
.topbar-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.topbar-actions a{font-size:12px;color:var(--accent);font-weight:600;text-decoration:none}.topbar-actions a:hover{text-decoration:underline}.topbar-actions button{padding-inline:0}
@media(min-width:701px){#items-view table{table-layout:fixed;min-width:980px}#items-view th:nth-child(1){width:34px}#items-view th:nth-child(2){width:185px}#items-view th:nth-child(3){width:55px}#items-view th:nth-child(4){width:105px}#items-view th:nth-child(5){width:90px}#items-view th:nth-child(6){width:130px}#items-view th:nth-child(7){width:125px}#items-view th:nth-child(8){width:120px}#items-view th:nth-child(9){width:136px}#items-view .product-name{min-width:0;max-width:none}#items-view td:nth-child(6) small{white-space:normal}#items-view td:last-child,#items-view th:last-child{position:sticky;right:0;z-index:1;background:#fff;border-left:1px solid var(--border)}#items-view th:last-child{z-index:2;background:#f6f8f6}#items-view td:last-child .row-action{display:block;width:100%;text-align:left;padding:4px 2px;min-height:27px}}
@media(max-width:700px){.topbar{height:auto;min-height:48px;gap:8px;flex-wrap:wrap;padding-block:8px}.topbar-actions{gap:10px}.topbar-actions a{font-size:11px}}
.landing{padding:0!important;max-width:1180px;margin:0 auto}.landing-hero{min-height:620px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:70px;align-items:center;padding:58px 0 70px}.landing-kicker{color:var(--accent);font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.landing-copy h1{max-width:700px;font-size:clamp(38px,4.2vw,64px);line-height:1.05;letter-spacing:0;margin:14px 0 22px}.landing-lead{max-width:610px;color:#64736b;font-size:18px;line-height:1.6;margin:0 0 32px}.landing-actions{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.registration-form{display:grid;gap:8px;max-width:570px;flex:1 1 520px}.registration-form label{font-size:12px;color:#53675d;font-weight:600}.registration-row{display:flex;gap:8px}.registration-row input{flex:1;min-width:180px}.registration-row button{white-space:nowrap}.registration-form small{font-size:11px;color:var(--muted);line-height:1.45}.support-cta{display:grid;gap:3px;align-content:center;min-height:58px;padding:8px 12px;border-left:1px solid var(--border);color:var(--accent);text-decoration:none}.support-cta span{font-size:11px;color:var(--muted)}.support-cta strong{font-size:13px}.login-link{padding:0;margin-top:20px;color:var(--accent);font-size:12px;background:none;border:0}.landing-visual{min-height:360px;border-left:1px solid var(--border);display:grid;place-content:center;gap:22px;padding-left:50px;color:#52665b;font-size:24px;line-height:1.25}.landing-visual img{width:76px;height:76px}.landing-visual strong{color:var(--accent)}.landing-section{border-top:1px solid var(--border);padding:58px 0 64px}.section-intro h2,.landing-benefits h2{font-size:30px;line-height:1.2;margin:10px 0 0}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:32px}.steps article{padding:22px 18px 10px;border-top:3px solid #dbe9e3}.steps b{color:var(--accent);font-size:12px}.steps h3{font-size:17px;margin:18px 0 8px}.steps p,.landing-benefits p{color:var(--muted);line-height:1.6;margin:0}.landing-benefits{display:grid;grid-template-columns:1fr 1fr;gap:60px;border-top:1px solid var(--border);padding:58px 0}.benefit-list{display:grid;gap:0;align-content:start}.benefit-list span{padding:14px 0;border-bottom:1px solid var(--border);color:#4d6559}.landing-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding:22px 0 34px;color:var(--muted);font-size:12px}.landing-footer a{color:var(--accent);text-decoration:none;font-weight:600}
@media(max-width:800px){.landing{padding:0 16px!important}.landing-hero{min-height:0;display:block;padding:42px 0 50px}.landing-copy h1{font-size:39px}.landing-lead{font-size:16px}.landing-visual{display:none}.landing-actions{display:grid;gap:18px}.registration-form{max-width:none}.registration-row{display:grid;grid-template-columns:1fr}.registration-row input,.registration-row button{width:100%}.support-cta{border-left:0;border-top:1px solid var(--border);padding:14px 0 0}.steps,.landing-benefits{grid-template-columns:1fr;gap:24px}.landing-section,.landing-benefits{padding:42px 0}.landing-footer{display:grid;gap:8px}}
body:has(#login:not([hidden])) .sidebar,body:has(#login:not([hidden])) .topbar{display:none}body:has(#login:not([hidden])) main{margin-left:0}
