/* Approved pistachio pearl. Spacing: 8 / 12 / 16 / 24 / 32 px. */
:root{--ink:#30382f;--green:#426523;--cream:#f7f9f2;--paper:#fffefc;--line:#e0e6d8;--muted:#687260;--wash:#edf3e5;--peach:#f9e6d3;--orange:#8cbd56;--pearl:linear-gradient(135deg,#ffffff 0%,#fcf8ff 50%,#f4faed 100%);--shadow:inset 0 2px 2px #fff,0 3px 4px #44573112,0 9px 22px #60774609}
body{font-family:Montserrat,-apple-system,sans-serif;background:radial-gradient(ellipse at 96% 0%,#dceccb90,transparent 50%),#f7f9f2;font-size:14px;line-height:1.55;color:var(--ink)}
button,input,select,textarea{font-family:inherit}button,.btn{color:#2e481a;background:linear-gradient(175deg,#edfbd5,#c9eba3 60%,#b5de8c);border:1px solid #c8dfb2;box-shadow:inset 0 2px 2px #fff,0 3px 5px #435d2614;border-radius:14px;font-weight:650;min-height:44px;padding:11px 18px;gap:8px;transition:background .15s,box-shadow .15s}
button:hover,.btn:hover{background:linear-gradient(175deg,#e4f8c7,#b7de8b);color:#263f16;box-shadow:inset 0 2px 2px #fff,0 4px 8px #435d2622}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #82b64b;outline-offset:3px}
button.secondary,.btn.secondary,.tab,.ghost{background:linear-gradient(145deg,#fff,#f4f2f6);color:var(--ink);border:1px solid #e0dfdf;box-shadow:inset 0 2px 2px #fff,0 2px 5px #3331}.secondary:hover,.tab:hover,.ghost:hover{color:#2e481a;background:#edf5e3}.ghost{background:transparent;border-color:transparent;box-shadow:none}.ghost:hover{box-shadow:none}
.brand{font-size:27px;gap:8px;letter-spacing:-1px;font-weight:800;white-space:nowrap}.brand img{width:46px;height:49px;object-fit:contain}.brand:hover{color:var(--ink)}
.app-shell.pearl-cabinet{display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100dvh;background:radial-gradient(ellipse at 100% 0%,#eaddf24d,transparent 38%),radial-gradient(ellipse at 0% 90%,#e4f0d45c,transparent 45%),#fbfbf7}
.cabinet-header{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 28px;border-bottom:1px solid var(--line);background:var(--pearl);position:relative;z-index:30;box-shadow:0 3px 14px #59713707}
.header-brand,.header-account{display:flex;align-items:center;gap:24px;min-width:0}.copy-shop{display:inline-flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap;padding:10px 16px}.copy-shop svg{width:20px;height:20px}.header-account{gap:18px}.subscription-chip{display:flex;align-items:center;font-size:11px;font-weight:550;padding:9px 14px;min-height:40px;background:linear-gradient(135deg,#fff,#e6f3d6);white-space:nowrap;gap:9px}.subscription-chip svg{width:13px;height:13px}.subscription-dot{width:7px;height:7px;border-radius:50%;background:#72a742;flex-shrink:0}.needs-payment{background:linear-gradient(135deg,#fff8ed,#fae7d2)}.needs-payment .subscription-dot{background:#cc9350}
.profile-menu{position:relative;flex-shrink:0}.profile-menu>summary{list-style:none;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;border:1px solid #e0dfdf;border-radius:50%;background:linear-gradient(135deg,#fff,#eeedf0);box-shadow:var(--shadow);color:#858780}.profile-menu>summary::-webkit-details-marker{display:none}.profile-menu>summary svg{width:25px;height:25px}.profile-dropdown{position:absolute;right:0;top:calc(100% + 12px);width:280px;border:1px solid #e3e0e6;border-radius:20px;padding:10px;background:var(--pearl);box-shadow:0 12px 36px #3d4e3829;z-index:50}.profile-heading{display:flex;gap:12px;align-items:center;padding:12px 8px 18px;margin-bottom:6px;border-bottom:1px solid var(--line)}.profile-heading>div{min-width:0}.profile-heading b{font-size:13px;display:block;overflow-wrap:anywhere}.profile-heading small{font-size:10px;display:block;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}.profile-avatar{color:#92948d;width:34px;flex-shrink:0}.profile-avatar svg{width:30px;height:30px}.profile-dropdown button{display:flex;justify-content:flex-start;width:100%;background:none;box-shadow:none;border:0;padding:10px 12px;text-align:left;font-size:13px;gap:12px;color:var(--ink);font-weight:550}.profile-dropdown button:hover{background:#e7f2dc}.profile-dropdown button img{width:29px;height:29px;object-fit:contain}.profile-dropdown .profile-logout{border-radius:0;border-top:1px solid var(--line);margin-top:6px;padding-top:14px;color:#72634e}
.pearl-cabinet>.sidebar{grid-column:1;grid-row:2;position:sticky;top:0;align-self:start;height:calc(100dvh - 86px);min-height:300px;display:flex;flex-direction:column;gap:24px;padding:28px 18px 24px;border-right:1px solid var(--line);background:linear-gradient(120deg,#ffffffb0,#f1f5eb80)}
.pearl-cabinet .nav-items{display:grid;gap:12px;overflow:visible}.pearl-cabinet .nav-item{display:flex;align-items:center;flex-direction:row;justify-content:flex-start;text-align:left;border:1px solid transparent;background:transparent;box-shadow:none;color:#404a39;min-height:66px;padding:10px 13px;border-radius:18px;font-size:13px;font-weight:600;gap:13px}.pearl-cabinet .nav-item:hover{background:#ecf5e1;color:#30451d}.pearl-cabinet .nav-item.active{color:#293e1b;background:linear-gradient(145deg,#f1fbdc,#d6edb6);border-color:#cce3b4;box-shadow:var(--shadow)}.pearl-cabinet .nav-icon{width:42px;height:42px;object-fit:contain;filter:brightness(1.08) saturate(.9)}.shop-footer{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:18px 6px 0;min-width:0}.shop-footer img{width:34px;height:34px;object-fit:contain}.shop-footer span{font-size:12px;font-weight:550;overflow-wrap:anywhere;min-width:0}
.pearl-cabinet>.main{grid-column:2;grid-row:2;padding:24px 32px 48px;max-width:1440px;width:100%;min-width:0;margin:0 auto}.cabinet-mode{font-size:10px;color:#707769;margin:0 0 16px;display:flex;align-items:center;gap:7px}.cabinet-mode>span{width:6px;height:6px;border-radius:50%;background:#b29a72;flex-shrink:0}.page-head{margin-bottom:24px;gap:16px}.page-head h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:750}.page-head p{margin-top:8px;font-size:13px;color:var(--muted);line-height:1.6}
.panel,.summary-card,.stat,.ob-card{background:var(--pearl);border:1px solid #e9e4ec;border-radius:22px;box-shadow:var(--shadow)}.panel{padding:24px;margin-bottom:24px}.summary-card{padding:24px;min-width:0}.settings-grid,.faq-grid{gap:20px}.summary-head{margin-bottom:20px;gap:14px}.summary-head h2{font-size:17px;line-height:1.4}.summary-head p{font-size:11px}.icon-mat{background:transparent;width:58px;height:58px}.icon-mat img{width:56px;height:56px;filter:brightness(1.08)}.summary-rows{gap:12px}.summary-row{font-size:12px;gap:16px}.summary-row dt{max-width:46%;white-space:normal;flex-shrink:1}.summary-row dd{max-width:65%;overflow-wrap:anywhere;color:var(--ink)}.summary-card footer{padding-top:16px;gap:12px;border-top-color:#e5e8df}.summary-card footer>span{font-size:10px}.edit-button{background:linear-gradient(160deg,#f4fcdf,#d3eab4);color:#3d5b25;border:1px solid #cee0b8;min-height:36px;padding:7px 12px;border-radius:12px;font-size:11px;white-space:normal;text-align:right;flex-shrink:0}.edit-button:hover{background:#cce5ad;color:#2e481a;text-decoration:none}.summary-card footer .edit-button{max-width:58%}.settings-note{font-size:11px;line-height:1.6;padding-top:20px}
.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat{padding:20px;display:flex;gap:16px;align-items:center;min-width:0}.stat:first-child{background:var(--pearl);border-color:#e9e4ec}.stat img{width:56px;height:56px;object-fit:contain}.stat small{font-size:12px;font-weight:600;color:#535e48;line-height:1.5}.stat strong{font-size:34px;line-height:1.2;margin-top:8px;display:block;font-weight:750;color:var(--ink)}.panel-head{gap:16px;margin-bottom:20px;flex-wrap:wrap}.order-search{flex:1;min-width:150px;max-width:340px;position:relative}.order-search>svg{position:absolute;left:14px;top:14px;width:18px;height:18px;color:#858b80}.order-search input{margin:0;padding-left:42px;font-size:12px;min-height:44px;background:#ffffffaa}.tabs{gap:8px}.tab{font-size:11px;padding:9px 13px;min-height:40px;border-radius:14px;color:#59634e}.tab.active{color:#30451d;background:linear-gradient(160deg,#f3fcdf,#d5ebb8);border-color:#cde3b6}.tab:hover{color:#30451d}.badge{border-radius:12px;padding:6px 10px;font-size:10px;font-weight:600;white-space:normal}.badge.green{background:#e2efce;color:#395521}.badge.peach{background:#fae5cf;color:#74502e}.badge.red{background:#f6deda;color:#873e37}
.order-panel{padding:20px}.orders-table{white-space:normal;font-size:12px}.orders-table th{padding:12px;font-size:11px;background:#edf2e6;color:#56604b;font-weight:600}.orders-table th:first-child{border-radius:12px 0 0 12px}.orders-table th:last-child{border-radius:0 12px 12px 0}.orders-table td{padding:18px 12px;overflow-wrap:anywhere;border-bottom-color:#e3e6dc;vertical-align:middle}.orders-table td:nth-child(1){min-width:130px}.orders-table td:nth-child(2){max-width:190px}.orders-table .order-link{color:var(--ink);background:none;box-shadow:none;border:0;padding:4px 0;font-size:12px;text-align:left}.orders-table .order-link:hover{color:#426523}.orders-table .row-open{background:transparent;color:#5a684d;box-shadow:none;border:0;min-height:36px;padding:8px}.orders-table .row-open:hover{background:#e7f2dc}.orders-table .subtext{font-size:10px}.table-wrap{margin:0}.order-note{font-size:10px;line-height:1.6;color:var(--muted);margin-top:12px}.order-docs{display:flex;gap:8px;flex-wrap:wrap}.order-docs button{font-size:10px;min-height:34px;padding:7px 10px}.empty{padding:40px 16px;font-size:13px;line-height:1.8}.empty img{display:block;width:64px;height:64px;object-fit:contain;margin:0 auto 16px}.pagination{gap:16px;font-size:10px;margin-top:20px;flex-wrap:wrap}.hint-card{background:linear-gradient(135deg,#f3f9e8,#faf2ed);padding:20px 24px;margin-top:24px;gap:20px}.hint-card h3{font-size:15px}.hint-card p{font-size:12px;line-height:1.6;color:var(--muted)}
.status-strip,.onboarding{background:linear-gradient(135deg,#f0f7e6,#edf5e5);border:1px solid #dbe6cf;border-radius:16px;padding:16px 20px;margin-bottom:24px;gap:16px}.status-strip.unfinished,.onboarding{background:linear-gradient(135deg,#fff9ed,#f8e9d6);border-color:#e8ddca}.status-strip small{line-height:1.6;margin-top:6px}.status-strip button{max-width:180px;white-space:normal}.faq-search{padding:20px 24px}.faq-item summary{font-size:12px;padding:17px 24px 17px 0}.faq-item p{color:#56634b;line-height:1.8;font-size:12px}.faq-group h2{font-size:16px}.help-contact{background:var(--pearl);box-shadow:var(--shadow);border:1px solid var(--line);border-radius:20px;padding:22px 24px;gap:20px}.help-contact p{line-height:1.7;color:var(--muted)}.other-grid article,.total-box{background:linear-gradient(140deg,#f6faef,#eef3e8);border-radius:16px}.other-deliveries summary{line-height:1.8}.other-deliveries summary span{display:inline-block}.connections-grid .summary-head{margin-bottom:16px}.summary-card .note{font-size:12px;line-height:1.7}.summary-card .summary-rows{flex:1}.summary-card footer .small{white-space:normal}.ob-choices button{color:var(--ink)}.ob-card h1{color:var(--ink)}.ob-choices .selected{background:#d9ecbd;color:#2c431b}.total-box{color:var(--ink)}.dialog-body h2{line-height:1.35}input,select,textarea{color:var(--ink);border-color:#dce0d5;background:#fffefc}input:focus,select:focus,textarea:focus{border-color:#90b96c;box-shadow:0 0 0 3px #dcebc9}label{color:#58654d}.public-wrap .panel{background:var(--pearl)}.public-wrap #buyer-form>.panel:last-child{background:#eff5e5}.carrier-choice button.selected{color:#30451d;background:#dff0c7}.account-layout .panel{background:var(--pearl)}
@media(min-width:1600px){.pearl-cabinet{grid-template-columns:248px minmax(0,1fr)!important}.pearl-cabinet>.main{padding:32px 44px 56px}.cabinet-header{padding:20px 32px}.pearl-cabinet>.sidebar{padding:32px 22px}.summary-card{padding:26px}.stats{gap:20px}}
@media(max-width:1100px){.app-shell.pearl-cabinet{grid-template-columns:184px minmax(0,1fr)}.cabinet-header{padding:16px 20px;gap:16px}.header-brand{gap:18px}.brand{font-size:23px}.brand img{width:40px;height:44px}.header-account{gap:12px}.copy-shop{font-size:10px;padding:10px 12px}.subscription-chip{font-size:10px;padding:9px 12px}.pearl-cabinet>.sidebar{padding:24px 12px}.pearl-cabinet .nav-item{font-size:11px;padding:10px;gap:8px}.pearl-cabinet .nav-icon{width:34px;height:34px}.pearl-cabinet>.main{padding:24px}.summary-card{padding:20px}.summary-head{gap:10px}.summary-head h2{font-size:15px}.summary-row{display:block}.summary-row dt,.summary-row dd{max-width:none;text-align:left}.summary-row dt{margin-bottom:4px}.stat{padding:16px;gap:10px}.stat img{width:44px;height:44px}.stat small{font-size:10px}.stat strong{font-size:30px}.orders-table td{padding:16px 10px}.settings-grid,.faq-grid{gap:16px}.icon-mat{width:44px;height:44px}.icon-mat img{width:44px;height:44px}}
@media(max-width:900px) and (min-width:701px){.header-brand{gap:12px}.copy-shop span{display:none}.copy-shop{width:42px;padding:10px}.subscription-chip{font-size:9px}.pearl-cabinet>.main{padding:20px}.stats{gap:10px}.stat{display:block;padding:16px}.stat img{width:36px;height:36px;margin-bottom:8px}.page-head h1{font-size:27px}.summary-card{padding:18px}.summary-head{align-items:start;flex-direction:column;gap:10px}.summary-card footer{flex-wrap:wrap}.orders-table{min-width:600px}.orders-table th,.orders-table td{display:table-cell!important}.pearl-cabinet .nav-item{font-size:11px}}
@media(max-width:900px){.app-shell.pearl-cabinet{display:flex;flex-direction:column;min-height:100dvh}.cabinet-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;padding:14px 16px 12px}.header-brand{gap:12px;grid-column:1;grid-row:1}.cabinet-header .brand{font-size:23px;gap:6px}.cabinet-header .brand img{width:36px;height:40px}.copy-shop{width:40px;height:40px;min-height:40px;flex-shrink:0;padding:9px}.copy-shop span{display:none}.header-account{display:contents}.profile-menu{grid-column:2;grid-row:1;justify-self:end}.profile-menu>summary{width:40px;height:40px}.profile-dropdown{width:min(280px,calc(100vw - 32px));right:0;top:calc(100% + 12px)}.subscription-chip{grid-row:2;grid-column:1/-1;justify-content:center;font-size:10px;min-height:34px;padding:7px 12px;width:100%;gap:8px}.subscription-chip svg{margin-left:auto}.subscription-dot{margin-left:auto}.pearl-cabinet>.sidebar{display:block;position:static;align-self:stretch;width:100%;height:auto;min-height:0;border-right:0;border-bottom:1px solid var(--line);padding:12px 16px;background:#fbfbf8;box-shadow:none}.pearl-cabinet .nav-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;padding:0}.pearl-cabinet .nav-item{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:72px;padding:8px 4px;font-size:10px;gap:4px;line-height:1.3;border:1px solid #e6e5df;background:var(--pearl);border-radius:16px;box-shadow:var(--shadow)}.pearl-cabinet .nav-icon{width:30px;height:30px}.shop-footer{display:none}.pearl-cabinet>.main{padding:18px 16px 32px;width:100%}.cabinet-mode{font-size:9px;line-height:1.6;margin-bottom:16px;align-items:flex-start}.cabinet-mode>span{margin-top:4px}.page-head{margin-bottom:20px;display:block}.page-head h1{font-size:27px;letter-spacing:-.8px}.page-head p{font-size:11px;line-height:1.7;margin-top:7px}.settings-grid,.faq-grid{grid-template-columns:1fr;gap:16px}.summary-card{padding:20px;border-radius:20px}.summary-head{flex-direction:row;align-items:center;gap:12px;margin-bottom:18px}.summary-head h2{font-size:16px}.summary-row{display:flex;font-size:11px;gap:12px}.summary-row dt{max-width:42%;margin:0}.summary-row dd{max-width:60%;text-align:right}.summary-card footer{padding-top:16px;flex-wrap:nowrap}.summary-card footer>span{font-size:9px}.summary-card .summary-rows+footer{margin-top:18px}.edit-button{font-size:10px;padding:7px 10px;min-height:36px}.icon-mat,.icon-mat img{width:46px;height:46px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.stat{display:flex;flex-direction:column;align-items:flex-start;padding:14px 10px;gap:8px;border-radius:17px}.stat img{width:36px;height:36px;margin:0}.stat small{font-size:9px;line-height:1.4;display:block;min-height:26px}.stat strong{font-size:28px;margin-top:6px}.panel{padding:20px;border-radius:20px;margin-bottom:20px}.order-panel{padding:16px}.panel-head{gap:12px;margin-bottom:16px}.order-search{max-width:none;flex-basis:100%;min-width:0}.order-search input{font-size:11px}.tabs{gap:6px}.tab{font-size:10px;padding:8px 11px;min-height:38px}.order-panel .panel-head>.small{font-size:10px;padding:8px 10px;min-height:38px}.orders-table,.orders-table tbody{display:block;width:100%;min-width:0}.orders-table thead{display:none}.orders-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:18px 0;position:relative;border-bottom:1px solid var(--line)}.orders-table tr:first-child{padding-top:0}.orders-table tr:last-child{border-bottom:0;padding-bottom:0}.orders-table td,.orders-table td:nth-child(3),.orders-table td:nth-child(5){display:block!important;padding:0;border:0;min-width:0;max-width:none;text-align:left;font-size:11px}.orders-table td:first-child{grid-column:1;min-width:0}.orders-table td.row-buyer{grid-column:1}.orders-table td.row-carrier{grid-column:1}.orders-table td.row-price{grid-column:1}.orders-table td.row-status{grid-column:2;grid-row:2/4;align-self:center;text-align:right;max-width:130px}.orders-table td.row-action{grid-column:2;grid-row:1;text-align:right}.orders-table .row-documents{grid-column:1/-1}.orders-table td.row-date{display:none!important}.orders-table .order-link{font-size:12px;min-height:30px}.orders-table td.row-buyer:before{content:'Покупатель: ';color:var(--muted)}.orders-table td.row-carrier:before{content:'Доставка: ';color:var(--muted)}.orders-table .row-price{font-weight:650}.order-docs{gap:10px}.order-docs button{min-height:40px;font-size:11px}.table-wrap:has(.orders-table){overflow:visible;margin:0}.order-note{font-size:9px}.pagination{font-size:9px;gap:10px}.pagination button{min-height:40px;font-size:10px}.hint-card{padding:20px;gap:16px;margin-top:20px;align-items:flex-start}.hint-card h3{font-size:14px}.hint-card p{font-size:11px}.hint-card button{font-size:11px}.status-strip{padding:16px;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:20px}.status-strip button{max-width:none;min-height:40px;font-size:10px}.settings-note{display:block;font-size:10px}.settings-note button{margin-top:12px}.help-contact{padding:20px;flex-direction:column;align-items:flex-start;gap:16px}.help-contact p{font-size:11px}.help-contact button{font-size:11px;white-space:normal}.other-grid{grid-template-columns:1fr}.ob-layout{margin:12px 0;gap:12px}.ob-card{padding:22px}.ob-card h1{font-size:24px}.ob-card .eyebrow{font-size:9px}.ob-footer{gap:10px}.ob-footer button{font-size:10px;min-height:40px}.form-actions{gap:10px}.detail-header h1{font-size:24px}.detail-layout{gap:0}.dialog-body h2{font-size:22px}.dialog-body p{font-size:12px}.faq-item summary{font-size:11px}.faq-item p{font-size:11px}.faq-group h2{font-size:16px}.account-layout .brand{font-size:27px}}
.art-icon{display:inline-block;vertical-align:middle;flex-shrink:0;width:48px;height:48px;background-image:url('/assets/brand/pistachio-icons.png');background-size:300% 300%;background-repeat:no-repeat;mix-blend-mode:multiply}.art-store{background-position:0 0}.art-sender{background-position:50% 0}.art-logo-2{background-position:100% 0}.art-delivery{background-position:0 50%}.art-connections{background-position:50% 50%}.art-settings{background-position:100% 50%}.art-subscription{background-position:0 100%}.art-pricing{background-position:50% 100%}.art-clipboard{background-position:100% 100%}.icon-mat .art-icon{width:58px;height:58px}.stat>.metric-icon{width:64px;height:64px}.profile-dropdown button .art-icon{width:29px;height:29px}.empty .art-icon{display:block;width:74px;height:74px;margin:0 auto 16px}.shop-footer .art-icon{width:34px;height:34px}.pearl-cabinet .nav-icon.art-icon{width:46px;height:46px}.stat{box-shadow:inset 0 2px 2px #fff,0 4px 5px #44573119,0 10px 24px #6077460d}
@media(max-width:1100px){.stat>.metric-icon{width:48px;height:48px}.pearl-cabinet .nav-icon.art-icon{width:38px;height:38px}.icon-mat .art-icon{width:48px;height:48px}}
@media(max-width:900px){.pearl-cabinet .nav-icon.art-icon{width:34px;height:34px}.stat>.metric-icon{width:42px;height:42px}.icon-mat .art-icon{width:52px;height:52px}.connections-grid .summary-head h2{overflow-wrap:anywhere}}
@media(max-width:900px){.pearl-cabinet .nav-item{font-size:11px}.stat small{font-size:11px;min-height:32px}.stat{padding:14px 10px}.summary-row{font-size:12px}.summary-head p{font-size:11px}.orders-table td,.orders-table td:nth-child(3),.orders-table td:nth-child(5){font-size:12px}.orders-table .order-link{font-size:13px}.orders-table .subtext{font-size:11px}.tab,.order-panel .panel-head>.small,.edit-button{font-size:11px}.badge{font-size:11px}.order-search input{font-size:12px}.pagination{font-size:11px}.order-note,.settings-note,.summary-card footer>span{font-size:10px}.subscription-chip{font-size:11px}.faq-item summary,.faq-item p{font-size:12px}.page-head p{font-size:12px}}
/* Compact review: the active navigation already names the working section. */
.compact-section>.cabinet-mode,.cabinet-mode,.shop-footer,.main .page-head p,.main .summary-head p,.main .settings-note,.main .hint-card{display:none}
.compact-section .page-head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.profile-menu>summary{display:flex;gap:10px;width:auto;max-width:230px;height:auto;min-height:46px;padding:5px 12px 5px 5px;border-radius:26px}.profile-menu>summary img{width:37px;height:37px;object-fit:contain;flex-shrink:0}.profile-shop-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.profile-avatar{width:40px}.profile-avatar img{width:40px;height:44px;object-fit:contain}.profile-heading small{font-size:10px}.profile-heading{padding:10px 8px 14px}.main .summary-card footer{justify-content:flex-end}.settings-grid.connections-grid{align-items:start}.carrier-card{min-height:220px;padding:22px}.connection-title{display:flex;align-items:center;gap:14px;margin-bottom:14px}.connection-title h2{font-size:18px;line-height:1.35;margin:0;overflow-wrap:anywhere}.carrier-card>.badge{margin:0 0 12px;align-self:start}.carrier-card footer{margin-top:16px;padding-top:14px}.api-guide{margin:4px 0 0;min-width:0}.api-guide summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;font-weight:600;font-size:12px;min-height:42px;padding:9px 0}.api-guide summary::-webkit-details-marker{display:none}.api-guide summary svg{width:15px;height:15px;transition:transform .15s}.api-guide[open] summary svg{transform:rotate(180deg)}.api-guide ol{padding:0 0 0 20px;margin:8px 0 16px;display:grid;gap:10px}.api-guide li{font-size:12px;line-height:1.8;padding-left:3px;overflow-wrap:anywhere}.api-guide>a{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:550;color:#426523;padding:6px 0;min-height:36px}.api-guide>a:hover{text-decoration:none;color:#294616}
.hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:28px}.hero-actions .primary{margin:0}.hero-actions .telegram-button{margin:0;min-height:50px;font-size:15px;padding:13px 24px;background:linear-gradient(150deg,#f2fcff,#caebf9);border-color:#bcdce8;color:#245c71;box-shadow:inset 0 2px 2px white,0 4px 9px #2f74861a}.hero-actions .telegram-button:hover{background:linear-gradient(150deg,#e4f7ff,#b6e0f3);color:#16475c}.telegram-button svg{width:22px;height:22px}.topbar nav .btn{font-size:12px;min-height:40px;padding:10px 16px}.workflow-section{padding-top:40px;padding-bottom:64px}.workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.workflow-grid .step-card{padding:26px;background:var(--pearl);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;min-width:0}.workflow-grid h3{font-size:18px;line-height:1.4;margin:16px 0 12px}.workflow-grid p{font-size:13px;line-height:1.8;color:var(--muted)}.feature-planned .badge{font-size:11px;background:#f9e5ce;color:#78512d;margin-bottom:15px}.feature-planned h3{margin-top:10px}.savings-section{padding:0 0 64px;scroll-margin-top:24px}.savings-section .section-head{margin-bottom:28px}.savings-section .section-head p{max-width:680px;margin:20px 0 0;font-size:15px;line-height:1.8}.savings-section .price-strip{margin-bottom:24px}.savings-calculator{padding:30px;background:var(--pearl);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}#savings-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px}#savings-form label{font-size:12px;line-height:1.6}#savings-form input{font-size:18px;font-weight:650;padding:14px;min-height:52px}.savings-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.savings-results article{padding:22px;background:linear-gradient(145deg,#f9fdf3,#ecf4e0);border:1px solid #e1e9d7;border-radius:18px;min-width:0}.savings-results article span{display:block;font-size:12px;line-height:1.5;color:#5a684e}.savings-results article strong{display:block;margin-top:12px;font-size:28px;letter-spacing:-.5px;overflow-wrap:anywhere;line-height:1.35}.savings-results article p{font-size:11px;margin-top:8px;color:var(--muted);line-height:1.7}.savings-explanation{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.savings-explanation summary{font-size:13px;font-weight:600;cursor:pointer;min-height:40px;padding:8px 0}.savings-explanation p{margin-top:12px;font-size:12px;line-height:1.8;max-width:900px}
@media(max-width:1100px){.profile-shop-name{max-width:120px}.header-account{gap:12px}.hero-text .carriers{font-size:13px;gap:14px}.workflow-grid{gap:16px}.workflow-grid .step-card{padding:22px}.workflow-grid h3{font-size:17px}}
@media(max-width:900px){.cabinet-header{grid-template-columns:minmax(0,1fr) auto}.profile-menu>summary{min-height:40px;padding:3px 9px 3px 3px;gap:5px;max-width:128px}.profile-menu>summary img{width:32px;height:32px}.profile-shop-name{font-size:11px;max-width:76px}.profile-menu{grid-column:2;justify-self:end}.carrier-card{padding:20px;min-height:0}.connection-title{gap:12px}.connection-title h2{font-size:17px}.api-guide li{font-size:12px}.pearl-cabinet>.main{padding-top:20px}.hero-actions{gap:12px;margin-top:24px}.hero-actions .primary,.hero-actions .telegram-button{width:100%;font-size:14px;min-height:50px;white-space:normal;padding:13px 16px}.workflow-grid{grid-template-columns:1fr}.workflow-grid .step-card{padding:24px}.workflow-section{padding-top:36px;padding-bottom:44px}.savings-section{padding-bottom:44px}.savings-section .section-head p{font-size:13px;margin-top:16px}.savings-calculator{padding:22px}#savings-form{grid-template-columns:1fr;gap:16px;margin-bottom:22px}.savings-results{gap:12px}.savings-results article{padding:18px}.savings-results article strong{font-size:24px}.savings-results article span{font-size:11px}.savings-results article p{font-size:10px}.topbar{gap:12px}.topbar nav{gap:8px}.topbar nav .btn{font-size:11px;padding:9px 12px;min-height:40px}.topbar .brand{font-size:23px}.topbar .brand img{width:36px;height:40px}.savings-section .price-strip{margin-bottom:20px}}
@media(max-width:420px){.topbar .brand{font-size:21px;gap:4px}.topbar .brand img{width:31px;height:36px}.topbar nav .btn{font-size:10px;padding:8px 10px}.topbar nav{gap:6px}.savings-results{grid-template-columns:1fr}.hero-text .carriers{font-size:11px;gap:10px}.header-brand{gap:8px}.cabinet-header .brand{font-size:21px}.profile-shop-name{max-width:65px}.profile-menu>summary{max-width:112px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.main .pagination>span{display:none}.main .pagination:not(:has(button)){display:none}
