@font-face{font-family:OrdersInter;src:url('/fonts/inter-variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}


body{color-scheme:light;--bg:#f7f7f7;--panel:#fff;--text:#251f20;--muted:#756e70;--line:#e5dfe0;--accent:#a6192e;--soft:#f8ebed;--error:#a6192e;--warn:#865610;background:var(--bg);color:var(--text);font-family:OrdersInter,system-ui,sans-serif;font-size:15px;font-weight:400}
body button,body input,body select,body textarea{font-family:inherit}
body button{border-radius:13px;font-weight:400;min-height:44px;transition:background .15s,border-color .15s}
body button.primary{font-weight:500;background:var(--accent);border-color:var(--accent);color:#fff}
body h1,body h2,body h3{font-weight:500;letter-spacing:-.015em}
body h1{font-size:1.42rem}
body h2{font-size:1.18rem}
body .panel{border-radius:16px;padding:18px;border-color:var(--line);box-shadow:none}
body .stack{gap:14px}
body input,body select,body textarea{border-radius:11px;background:var(--panel);border-color:var(--line)}
body .badge{border-radius:11px}
body .entry{border-radius:13px;margin-block:7px;line-height:1.35}
body .notice{border-radius:13px}
body th{font-weight:500}
body .catalog-list{border-radius:16px;padding-inline:18px}
body .catalog-item{padding-block:18px}
body .catalog-name h3{font-size:1rem;font-weight:500}
body .news-card{border-left:1px solid var(--line);border-radius:16px}
body .news-card.unread{border-left:3px solid var(--accent)}
body .news-grid{align-items:stretch;min-width:0}
body .news-card{display:flex;flex-direction:column;min-width:0;max-width:100%;min-height:230px;overflow-wrap:anywhere}
body .news-card h2,body .news-card p,body .news-full{overflow-wrap:anywhere;word-break:break-word}
body .news-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body .news-card:has(.news-expanded[open]) .news-preview{display:none}
body .news-expanded{margin-top:auto}
body .news-expanded summary{width:max-content;max-width:100%;padding:8px 0;color:var(--accent);cursor:pointer;list-style:none}
body .news-expanded summary::-webkit-details-marker{display:none}
body .news-expanded summary:hover{text-decoration:underline;text-underline-offset:3px}
body .news-expanded .news-read-less{display:none}
body .news-expanded[open] .news-read-more{display:none}
body .news-expanded[open] .news-read-less{display:inline}
body .news-full{line-height:1.5;user-select:text}
body .news-preview a,body .news-full a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
body .profile-contacts,body .profile-password{border-radius:16px}
body .settings-section>summary{font-weight:500}
body .heading{margin-bottom:18px}
body header{padding:12px 22px;min-height:65px}
body header .brand{font-weight:500}
body #shell{max-width:1500px;grid-template-columns:205px minmax(0,1fr)}
body #shell.auth-shell{grid-template-columns:1fr}
body main{padding:28px 34px}
body #nav{gap:6px;padding:24px 12px}
body #nav button{display:flex;align-items:center;gap:11px;text-align:left;padding:10px 13px;border-radius:12px;font-weight:400}
body #nav button.selected{font-weight:500}
body .calm-icon{width:19px;height:19px;flex:none;stroke-width:1.1}
body .session-name.calm-profile-link{border:0;background:transparent;padding:5px 0;min-height:36px;border-radius:0;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1px;text-underline-offset:5px;font-weight:500;max-width:min(38vw,340px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .header-cart{border-radius:13px;padding:6px 10px;min-width:auto;box-shadow:none}
body .header-cart-summary{font-size:.7rem}
body[data-role="client"]>header{position:sticky;top:0;z-index:60;justify-content:space-between}
body[data-role="client"]>header .brand{display:none}
body[data-role="client"] #session{width:100%;justify-content:space-between;gap:12px;flex-wrap:nowrap}
body[data-role="client"] #session .session-name{margin-right:auto}
body .calm-home{width:min(100%,680px);min-height:min(720px,calc(100dvh - 130px));margin:auto;display:flex;flex-direction:column;gap:17px}
body .calm-home h1{margin:0 0 2px}
body .calm-balance{display:block;width:100%;text-align:left;margin:0;padding:17px 19px;cursor:pointer}
body .calm-balance-line{display:flex;align-items:center;gap:11px;color:var(--accent);font-weight:500}
body .calm-balance-line.calm-credit{color:#187a49}
body .calm-balance-line.calm-zero{color:var(--muted)}
body .calm-balance-line strong{margin-left:auto;white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums}
body .calm-balance small{margin:9px 0 0 30px;font-size:.76rem}
body details.calm-balance summary{list-style:none;cursor:pointer}
body details.calm-balance summary::-webkit-details-marker{display:none}
body details.calm-balance summary::after{content:'⌄';margin-left:6px;color:var(--muted)}
body details.calm-balance[open] summary::after{content:'⌃'}
body .calm-balance-child{display:flex;justify-content:space-between;gap:12px;margin:12px 0 0 30px;padding-top:10px;border-top:1px solid var(--line);font-size:.9rem}
body .calm-balance-child strong{color:var(--accent);font-weight:500;white-space:nowrap}
body .auth-store-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}
body .auth-rustore-link{display:flex;width:188px;max-width:100%;flex:none;align-items:center;justify-content:center}
body .auth-rustore-link img{display:block;width:188px;max-width:100%;height:63px}
body .calm-main-action{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;font-size:1rem}
body .calm-home-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body .calm-home-links button{display:flex;align-items:center;gap:10px;text-align:left;padding:15px 16px;min-height:60px}
body .calm-home-spacer{flex:1;min-height:20px}
body .calm-home .home-banner{display:block;width:100%;height:auto;aspect-ratio:auto;max-height:none;margin:0;overflow:visible}
body .calm-home .home-banner img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:inherit}
body .calm-profile-menu{display:grid;gap:16px;max-width:650px}
body .calm-profile-summary{display:flex;align-items:center;gap:15px;margin:0;width:100%;text-align:left}
body .calm-profile-summary>span:nth-child(2){flex:1;min-width:0}
body .calm-profile-summary strong{font-weight:500}
body .calm-profile-summary small{margin-top:5px}
body .calm-menu-list{padding:4px 15px;margin:0}
body .calm-menu-list button{width:100%;display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 2px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left}
body .calm-menu-list button:last-child{border-bottom:0}
body .calm-menu-list button span{margin-left:auto}
body .calm-menu-secondary{display:flex;align-items:center;gap:12px;text-align:left;max-width:650px;padding:13px 16px}
body .calm-menu-secondary span{margin-left:auto}
body .calm-help{max-width:720px}
body .calm-help-topic{padding:0;margin-bottom:10px}
body .calm-help-topic summary{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 17px;cursor:pointer;list-style:none;font-weight:500}
body .calm-help-topic summary::-webkit-details-marker{display:none}
body .calm-help-topic summary small{margin-top:3px}
body .calm-help-topic ol{margin:0 18px 18px 28px;padding-left:12px;line-height:1.6}
body .calm-debt-page{max-width:780px}
body .calm-debt-page .profile-debt>summary{display:none}
body .calm-debt-page .profile-debt{padding:19px}
body .calm-debt-page .debt-current{font-size:1.4rem;font-weight:500;margin-bottom:6px}
body .calm-order-settings{max-width:650px}
body .calm-view-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body .calm-view-options button{text-align:left;padding:13px 15px;line-height:1.35}
body .calm-view-options button.selected{border:2px solid var(--accent);background:var(--soft)}
body .calm-view-options small{margin-top:5px}
body .calm-picker-list{max-width:1000px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
body .calm-picker-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;width:100%;min-height:38px;padding:2px 6px 2px 12px;border-bottom:1px solid var(--line);background:transparent;line-height:1.2}
body .calm-picker-row:last-child{border-bottom:0}
body .calm-picker-row:hover,body .calm-picker-row:focus-within{background:var(--soft)}
body .calm-picker-row.selected .calm-picker-name>span{font-weight:700}
body .calm-picker-name{width:100%;min-width:0;padding:7px 5px 7px 0;border:0;background:transparent;text-align:left}
body .calm-picker-name>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .calm-picker-name small{margin:2px 0 0;font-size:.72rem}
body .calm-picker-favorite{display:grid;place-items:center;width:36px;height:34px;padding:6px;border:0;background:transparent;color:var(--accent)}
body .calm-picker-favorite .calm-icon{width:19px;height:19px}
body .calm-picker-favorite.selected .calm-icon{fill:currentColor}
body .calm-picker-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
body .calm-picker-title h2{flex:1;min-width:0}
body .calm-picker-estimate{display:block;margin-top:12px;color:var(--muted);font-size:.8rem}
body[data-role="client"][data-page="catalog"] main{padding-bottom:100px}
body[data-role="client"][data-page="catalog"] .catalog-item [id^="boxes-"]{display:none}
body[data-role="client"][data-page="catalog"] .catalog-item{grid-template-columns:minmax(0,1fr) 130px 120px}
body[data-role="client"][data-page="catalog"] #catalog-total{position:fixed;left:0;right:0;bottom:0;z-index:45;margin:0;padding:10px max(16px,calc((100vw - 1000px)/2));border-top:1px solid var(--line);background:var(--panel);box-shadow:0 -4px 18px #0001}
body[data-role="client"][data-page="catalog"] #catalog-total .summary{border:0;padding:0}
body[data-role="client"][data-page="catalog"] #catalog-total .summary p{margin:3px 0 0;font-size:.75rem}
body .calm-picker-dialog{width:min(94vw,520px);max-height:88dvh;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);overflow:auto}
body .calm-picker-dialog::backdrop{background:#0008}
body .calm-picker-dialog h2{margin-bottom:15px}
body .calm-picker-dialog img{display:block;max-width:100%;max-height:180px;object-fit:contain;margin:0 auto 14px}
body .calm-picker-dialog p{margin:7px 0}
body .calm-picker-dialog label{margin-top:18px}
body .debt-report-table{font-variant-numeric:tabular-nums}
body[data-role="client"] #checkout label:has([name="deliveryDate"]),body[data-role="client"] #checkout label:has([name="addressId"]){padding:12px;border:2px solid var(--accent);border-radius:13px;background:var(--soft);color:var(--accent);font-weight:600}
body[data-role="client"] #checkout label:has([name="deliveryDate"]) input,body[data-role="client"] #checkout label:has([name="addressId"]) select{margin-top:7px;border-color:var(--accent);font-weight:500}
body[data-role="client"] #checkout label:has([name="deliveryDate"]){min-width:0;max-width:100%;overflow:hidden}
body[data-role="client"] #checkout input[name="deliveryDate"]{display:block;box-sizing:border-box;min-width:0;max-width:100%;width:100%;font-size:16px}

@media(max-width:800px){
 body #shell{display:block;max-width:none}
 body main{padding:20px 14px 96px}
 body #nav{position:fixed;left:8px;right:8px;bottom:8px;z-index:50;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;padding:5px;border:1px solid var(--line);border-radius:19px;background:var(--panel);box-shadow:none;backdrop-filter:none}
 body #nav button{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:54px;padding:4px 1px;text-align:center;font-size:.61rem;line-height:1.1;border:0;overflow-wrap:anywhere}
 body #nav button.selected{background:transparent;color:var(--accent)}
 body #nav .calm-icon{width:20px;height:20px}
 body[data-role="client"][data-page="catalog"] #catalog-total{bottom:calc(73px + env(safe-area-inset-bottom));padding:8px 14px}
 body[data-role="client"][data-page="catalog"] main{padding-bottom:180px}
 body[data-role="client"]>header{padding:8px 14px;min-height:56px}
 body[data-role="client"] #session .session-name{max-width:42vw;font-size:.95rem}
 body[data-role="client"] .header-cart-summary{display:none}
 body .calm-home{min-height:calc(100dvh - 166px);gap:15px}
 body .calm-home-spacer{min-height:12px}
 body .calm-home .home-banner{max-height:none}
 body .calm-home .home-banner img{max-height:none}
 body .calm-balance{padding:15px}
 body .calm-balance-line{flex-wrap:wrap}
 body .calm-balance-line strong{margin-left:auto}
 body .panel{padding:15px}
 body .catalog-item{grid-template-columns:minmax(0,1fr) 90px;padding-block:17px}
 body[data-role="client"][data-page="catalog"] .catalog-item{grid-template-columns:minmax(0,1fr) 90px}
 body .calm-home-links button{padding:12px 10px;font-size:.85rem}
 body .admin-nav-picker{display:flex}
 body[data-role="admin"] #nav{display:block;position:static;margin:8px 12px;width:auto}
 body[data-role="admin"] #nav>button{display:none}
}
@media(max-width:420px){body .calm-home h1{font-size:1.24rem}body .calm-home-links{gap:8px}body .calm-home-links button{font-size:.78rem}body #nav button{font-size:.56rem}}
@media(max-width:420px){body .calm-view-options{grid-template-columns:1fr}}
/* The browser interface is intentionally light, including on dark-mode devices. */
html:root{color-scheme:light;--bg:#f7f7f7;--panel:#fff;--text:#251f20;--muted:#756e70;--line:#e5dfe0;--accent:#a6192e;--soft:#f8ebed;--error:#a6192e;--warn:#865610;background:var(--bg)}
body .secondary{background:#e9eef7;border-color:#b9c8df;color:#294766}
