@charset "UTF-8";
/* Shared visual system. Business state and inventory actions remain in their modules. */
:root {
  --bg:#f3f5f9; --paper:#fff; --ink:#172536; --muted:#627185;
  --line:#e1e7ef; --green:#087f70; --green-hover:#066858; --mint:#e9f6f2;
  --yellow:#d4f5b8; --danger:#c3433e; --radius:14px;
  --shadow:0 4px 24px #14253f08; --sidebar-width:232px;
  --font:"Segoe UI",Inter,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
}
body { font-size:14px; -webkit-font-smoothing:antialiased; }
h1,h2,h3 { color:var(--ink); }
h1 { font-weight:700; letter-spacing:-1px; }
p { color:var(--muted); }
button:disabled { cursor:not-allowed; }
:is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid #5aafa5; outline-offset:3px; }
input[type=checkbox] { accent-color:var(--green); width:18px; height:18px; cursor:pointer; }
.eyebrow { color:var(--muted); font-size:11px; letter-spacing:1.6px; }
.brand { letter-spacing:-.6px; gap:11px; }
.brand-mark { background:#bdf3a3; color:#163c31; border-radius:11px; }
.brand-subtitle { font-size:9px; letter-spacing:2px; }
.button { min-height:42px; border-radius:9px; padding:10px 16px; font-size:13px; font-weight:600; box-shadow:0 2px 3px #14253f06; transition:background .15s,border-color .15s,box-shadow .15s; }
.button:hover:not(:disabled) { box-shadow:0 3px 10px #14253f12; }
.button.secondary { color:#33465c; border-color:#d9e2ec; }
.button.secondary:hover:not(:disabled) { background:#f6f8fb; border-color:#b9c8d8; }
.button.ghost { color:#607185; box-shadow:none; }
.button.ghost:hover:not(:disabled) { background:#eef3f7; color:var(--ink); }
.button.small { min-height:36px; font-size:12px; }
.icon-button { width:36px; height:36px; color:#63758b; }
.icon-button:hover { background:#eaf0f6; color:var(--ink); }
.text-link { color:#4e6b83; font-size:12px; }
.text-link:hover { color:var(--green); }
.app-layout { grid-template-columns:var(--sidebar-width) minmax(0,1fr); }
.sidebar { width:var(--sidebar-width); padding:28px 16px 18px; background:#142234; border:0; color:#f2f6fb; }
.sidebar-brand { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.sidebar .brand { color:#f8fbff; padding-left:10px; font-size:21px; }
.sidebar .brand-mark { width:34px; height:34px; }
.sidebar .brand-subtitle { color:#94a6bc; margin-top:3px; }
.sidebar-close { display:none; }
.workspace-badge { margin:30px 0 28px; padding:13px 12px; background:#1e3046; border-color:#314158; border-radius:11px; }
.workspace-avatar { background:#e5f3ed; color:#167462; border-radius:9px; }
.sidebar .workspace-avatar { background:#334a5f; color:#d6ebdf; width:35px; height:35px; }
.workspace-label { font-size:9px; letter-spacing:1.1px; color:#9baec5; }
.workspace-name { max-width:143px; color:#edf3fa; font-size:12px; margin-top:3px; }
.nav-label { color:#8296af; font-size:9px; letter-spacing:1.3px; padding-left:14px; margin-bottom:12px; }
.nav { gap:6px; }
.nav-link { min-height:46px; padding:12px 13px; gap:11px; font-size:13px; font-weight:500; color:#b2c1d3; border-radius:9px; }
.nav-link svg { width:19px; height:19px; color:#8fa6c0; }
.nav-link:hover { color:#fff; background:#20344b; }
.nav-link.active { color:#ebfff6; background:#255447; border-color:#326557; }
.nav-link.active svg { color:#bdf3a3; }
.nav-link.active:after { background:#bdf3a3; width:5px; height:5px; right:11px; }
.sidebar-bottom { padding:24px 6px 0; }
.sidebar-note { background:transparent; border-top:1px solid #2c3c50; border-radius:0; padding:18px 8px 0; color:#94a7bf; font-size:11px; }
.sidebar-note strong { color:#c5d5e6; font-weight:600; font-size:12px; }
.sidebar-note svg { color:#84bca2; }
.sidebar-version { color:#8195ae; font-size:10px; padding:0 8px; }
.topbar { height:68px; padding:0 32px; background:#fff; border-color:var(--line); }
.breadcrumb { font-size:12px; color:#77869b; }
.breadcrumb strong { color:#273c53; font-weight:600; }
.account { gap:10px; }
.account-avatar { border-radius:10px; background:#eaf1f8; color:#456382; width:36px; height:36px; }
.account-name { font-size:12px; color:#22364d; font-weight:600; }
.account-role { font-size:10px; color:#687b91; }
.main { max-width:1680px; padding:30px 32px 40px; }
.page-heading { margin-bottom:24px; gap:20px; }
.page-heading h1 { font-size:29px; font-weight:700; margin-bottom:7px; }
.page-heading p { color:#697a8f; font-size:13px; line-height:1.6; }
.heading-actions { gap:8px; }
.heading-actions .button { min-height:44px; font-size:13px; }
.panel,.info-panel,.company-card,.stat-card { border-color:var(--line); border-radius:13px; box-shadow:var(--shadow); }
.panel-title { padding:20px 22px; }
.panel-title h2 { font-size:16px; font-weight:650; }
.panel-title h2 span,.counter-note { font-size:12px; color:var(--muted); }
.stats-grid { gap:16px; margin-bottom:24px; }
.stat-card { padding:20px; }
.stat-card.primary { background:#173e42; border-color:#173e42; }
.stat-top { color:#677b90; font-size:12px; }
.stat-top svg { color:#7f98b2; }
.stat-value { font-size:32px; font-weight:650; margin:14px 0 7px; color:var(--ink); }
.stat-value.money { font-size:27px; }
.stat-card.primary .stat-value { color:white; }
.stat-card.primary .stat-top,.stat-card.primary .stat-bottom { color:#c1e0d7; }
.stat-bottom { font-size:11px; color:#6d7f93; }
.stat-bottom.warn,.warn-color { color:#9d5c0b; }
.toolbar { padding:0 22px 18px; gap:10px; }
.search-field input,.filter-select,.product-labels-toolbar select,.robot-filters select,.robot-source-panel select { min-height:42px; height:auto; background:#f8fafc; border:1px solid #dce4ed; border-radius:8px; color:var(--ink); font-size:13px; }
.search-field svg { color:#8a9bb0; top:13px; }
.search-field input::placeholder { color:#738399; }
.filter-chip { color:#556e86; font-size:12px; min-height:42px; }
.data-table { font-size:13px; }
.data-table thead { background:#f7f9fc; border-color:#e5ebf2; }
.data-table th { padding:13px 14px; color:#677b91; font-size:10px; letter-spacing:.7px; font-weight:600; }
.data-table td { padding:17px 14px; border-color:#e9edf3; }
.data-table tbody tr:hover { background:#f8fafc; }
.product-name { color:#20344b; font-size:13px; font-weight:600; line-height:1.5; }
.product-icon { background:#eef3f8; border-color:#e2eaf2; color:#7f96ad; }
.sku { color:#6c7f94; font-size:11px; line-height:1.5; }
.product-makes,.catalog-link { color:#60768e; font-size:11px; }
.price,.quantity { color:#233c55; font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; }
.rrp-price,.quantity-unit,.row-date { color:#6c7f94; font-size:11px; }
.category-pill { background:#eef3f9; color:#546f88; font-size:11px; border-radius:6px; }
.stock-action { background:#e7f4ed; color:#087151; font-size:12px; min-height:36px; padding:8px 10px; }
.pagination { font-size:12px; color:#708299; padding:18px 22px; }
.page-buttons button { min-width:34px; height:34px; color:#526c87; }
.page-footer { color:#74869b; font-size:11px; }
.empty-state { padding:52px 24px; }
.empty-icon { background:#edf4f8; color:#7f97ac; }
.empty-state h3 { font-size:17px; }
.empty-state p { color:var(--muted); }
.category-row { padding:20px 0; }
.category-row strong { font-size:14px; font-weight:600; color:#28415a; }
.category-row svg { color:#5b8e91; }
.category-row .number { font-size:12px; color:var(--muted); }
.company-card { padding:24px; }
.company-metrics { color:var(--muted); font-size:12px; }
.company-metrics strong { color:#24485a; font-weight:650; }
.movement-badge { font-size:11px; padding:5px 9px; background:#e6f4ec; color:#1a754e; }
.movement-badge.out { background:#fff0e6; color:#a45622; }
.movement-badge.adjust { background:#eaf0fb; color:#496a9c; }
.movement-reason,.movement-numbers { color:#62788e; font-size:12px; }
.movement-numbers strong { color:#294761; font-size:13px; }
.info-panel { padding:24px; }
.info-panel p { font-size:13px; color:#5f738a; line-height:1.8; }
.info-panel h3 svg { color:#398d7e; }
.endpoint { background:#f2f6fa; color:#365873; border-color:#e3eaf2; font-size:12px; }
.key-status { color:#137e59; font-size:12px; }
.key-status.revoked { color:#74839a; }
.info-box { background:#edf7f3; color:#315f51; border-color:#d6eade; }
.field>span,.field>label { font-size:12px; font-weight:600; color:#40576d; }
.field input,.field select,.field textarea { border-color:#d4deea; border-radius:9px; min-height:44px; font-size:14px; padding:11px 13px; box-shadow:0 1px 2px #12253d03; }
.field input::placeholder,.field textarea::placeholder { color:#7d8ca0; }
.field small,.field .optional,.form-inline-note,.type-note { color:#6b7f93; font-size:11px; }
.field input:focus,.field textarea:focus,.field select:focus { border-color:#258c7c; }
.modal-backdrop { background:#0c1b2e85; backdrop-filter:blur(5px); }
.modal { border:1px solid #fff; background:#fff; border-radius:17px; box-shadow:0 24px 90px #07162b40; }
.modal-header { padding:23px 26px 19px; }
.modal-header h2 { font-size:20px; font-weight:650; }
.modal-body { padding:24px 26px; }
.modal-description { font-size:13px; color:var(--muted); }
.modal-actions .button { min-height:44px; font-size:13px; }
.modal-product { background:#f0f5f9; border-radius:10px; }
.modal-product strong { color:#254159; font-size:13px; }
.modal-product span { color:#72869b; font-size:11px; }
.segmented { background:#edf2f7; }
.segmented button { color:#647e97; min-height:38px; }
.segmented button.active { color:#086c5f; }
.toast { background:#143e38; font-size:13px; border:1px solid #2c685c; box-shadow:0 8px 32px #102a3b25; }
.demo-banner { background:#e9effa; color:#526d91; font-size:11px; }
/* Product categories remain available while scrolling. */
.assortment-category-nav { background:#fff; border-color:#e0e7ef; box-shadow:0 3px 14px #122c4810; border-radius:12px; padding:14px 16px 10px; top:8px; margin-bottom:16px; }
.assortment-category-heading { margin-bottom:8px; }
.assortment-category-heading strong { font-size:12px; font-weight:650; color:#586f86; }
.assortment-category-heading>span { color:#7b8ca0; font-size:10px; }
.assortment-category-chip { min-height:42px; font-size:12px; padding:9px 12px; border-color:#e0e7ef; color:#4c637c; border-radius:8px; }
.assortment-category-chip>svg { color:#6d8a9f; width:17px; height:17px; }
.category-chip-count { background:#eef3f8; color:#5e758c; border-radius:5px; font-size:11px; }
.assortment-category-chip.active,.assortment-category-chip[aria-pressed=true] { background:#1a3e48; border-color:#1a3e48; }
.assortment-category-chip.active>svg { color:#b9e9da; }
.assortment-category-chip:hover:not(.active) { background:#f1f6f9; border-color:#b7cad8; }
.assortment-category-more { background:#f5f8fb; border-color:#dce5ee; color:#49667c; min-height:42px; font-size:12px; }
.assortment-category-more:hover,.assortment-category-more[aria-expanded=true] { background:#eaf2f7; border-color:#c0d1df; }
.assortment-category-picker { border-color:#d8e3ee; box-shadow:0 12px 40px #10243e25; }
.assortment-category-search { background:#f6f9fc; border-color:#d8e3ec; }
.assortment-category-option { background:#f6f8fb; color:#3a536c; font-size:13px; }
.assortment-category-option>span:last-child { background:#e8eef6; color:#5b728b; }
.assortment-category-option:hover { background:#eef5f7; border-color:#c7d9df; }
.assortment-category-option.active { background:#e4f4ed; border-color:#a8d4c0; color:#106b50; }
.assortment-intro { background:#eaf6f1; border:1px solid #d7eae2; padding:13px 17px; gap:12px; margin-bottom:20px; border-radius:11px; }
.assortment-intro-icon { width:32px; height:32px; background:#d6ece1; color:#208364; border-radius:9px; }
.assortment-intro strong { color:#2a5d4c; font-size:13px; font-weight:650; }
.assortment-intro p { color:#537766; font-size:12px; line-height:1.6; margin-top:2px; }
.assortment-tabs { padding:14px 16px; gap:5px; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; }
.assortment-tabs button { border-radius:7px; min-height:38px; padding:9px 11px; color:#667b90; font-size:12px; font-weight:550; }
.assortment-tabs button.active { background:#e5f4ed; color:#076c4c; box-shadow:inset 0 0 0 1px #d0e8dc; }
.assortment-tabs button.active span { background:#cde9dc; color:#086a4c; }
.assortment-tabs button span { background:#eef2f7; color:#667b90; }
.assortment-filters { grid-template-columns:minmax(180px,1.45fr) repeat(3,minmax(120px,1fr)); gap:12px; padding:20px 18px 12px; }
.assortment-filters .search-field { grid-column:auto; }
.assortment-filters .search-field input,.assortment-filters select { min-height:42px; font-size:12px; border-color:#dce5ed; background:#fbfcfe; border-radius:8px; }
.assortment-filters>label>span:not(.screen-reader) { font-size:11px; color:#6a8095; font-weight:500; }
.assortment-tools { padding:4px 18px 14px; font-size:11px; gap:10px; color:#73869c; }
.assortment-tools>div { gap:6px; }
.assortment-tools .button.small { min-height:34px; font-size:11px; padding:8px 10px; }
.assortment-tools .text-link { font-size:11px; }
.assortment-table { min-width:860px; }
.assortment-table th:first-child { width:42px; padding-left:18px; }
.assortment-table th:nth-child(3) { width:110px; }
.assortment-table th:nth-child(4) { width:130px; }
.assortment-table th:nth-child(5) { width:133px; }
.assortment-table th:nth-child(6) { width:135px; }
.assortment-table td { padding:18px 12px; }
.assortment-table td:first-child { padding-left:18px; }
.assortment-table td:last-child { padding-right:16px; }
.assortment-product-main { display:flex; align-items:flex-start; gap:13px; min-width:0; }
.assortment-product-info { min-width:0; flex:1; }
.assortment-photo { float:none; width:62px; height:62px; flex:0 0 62px; padding:4px; margin:2px 0 0; border:1px solid #e1e8ef; border-radius:10px; background:#fff; }
.assortment-photo.no-photo { color:#9aaec1; background:#f4f7fa; }
.assortment-table .product-name { margin:6px 0 4px; font-size:13px; line-height:1.5; font-weight:650; color:#243b51; max-width:none; }
.assortment-kind,.assortment-supply { padding:2px 6px; border-radius:5px; font-size:10px; font-weight:550; background:#edf2f7; color:#60768d; }
.assortment-kind.new { background:#e3f4eb; color:#15724d; }
.assortment-supply.not_purchased { background:#fff1dc; color:#946112; }
.assortment-supply.unavailable { background:#fff0e9; color:#ae5937; }
.assortment-supply.archived { background:#eaf0f6; color:#62758d; }
.assortment-category-link { font-size:10px; padding:4px 0; color:#70869b; }
.assortment-category-link>svg { width:12px; height:12px; }
.assortment-brand-cell strong { font-size:12px; font-weight:600; color:#2e4962; }
.assortment-brand-cell>span { font-size:11px; color:#6d8195; line-height:1.5; }
.assortment-price-line>span { color:#6b8094; font-size:10px; }
.assortment-price-line>strong { font-size:14px; font-weight:650; color:#233e55; }
.assortment-price-line input,.assortment-quantity input { min-height:40px; background:#fbfcfe; border-color:#cedbe7; border-radius:8px; padding:8px 10px; font-size:14px; color:#203e56; font-variant-numeric:tabular-nums; }
.assortment-price-line input:focus,.assortment-quantity input:focus { border-color:#218e7a; background:white; }
.assortment-quantity { gap:6px; }
.assortment-quantity input { width:82px; font-weight:600; }
.assortment-quantity-cell small { white-space:normal; font-size:10px; color:#73869b; line-height:1.5; }
.assortment-quick-actions { gap:7px; margin-top:12px; }
.assortment-quick-actions .button { font-size:11px; padding:9px 10px; min-height:36px; gap:6px; }
.assortment-quick-actions .button svg { width:16px; height:16px; }
.assortment-quick-actions .assortment-add,.assortment-quick-actions .assortment-restore { background:#09854e; border-color:#09854e; }
.assortment-quick-actions .assortment-archive { background:#d05b28; border-color:#d05b28; }
.assortment-quick-actions .assortment-add:disabled { background:#edf1f5; color:#7b8999; border-color:#dde4ec; box-shadow:none; }
.assortment-quick-actions small { font-size:10px; color:#6e8093; line-height:1.6; }
.assortment-row-actions .button { white-space:normal; font-size:11px; min-height:34px; text-align:left; }
.assortment-row-actions>.text-link { font-size:11px; white-space:normal; line-height:1.5; }
.assortment-match { color:#9c6a20; font-size:11px; }
.assortment-dirty { background:#fffbec!important; }
.assortment-dirty .assortment-quantity input { background:#fffef8; border-color:#c8a95b; }
.assortment-savebar { background:#173b3a; border-color:#28534a; color:#fff; box-shadow:0 8px 30px #112a3b24; border-radius:12px; }
.assortment-savebar span { color:#bfd5d2; }
.assortment-savebar .button.ghost { color:#d9e9e5; }
.assortment-savebar .button.ghost:hover { background:#315751; }
.robot-tabs button { color:#657c93; }
.robot-tabs button.active { background:#e5f4ed; color:#0b7052; }
.robot-status { background:#edf2f7; color:#61768c; }
.robot-source-panel { border-radius:13px; }
.api-flow>span { background:#edf6f4; border-color:#dcebe5; color:#587568; }
.api-guide p,.api-guide li,.api-guide td { color:#526a7f; }
.api-guide-section>summary { color:#294b5e; }
.api-guide-section>summary:hover { background:#f1f7f8; }
.api-guide pre { background:#17283a; color:#e9f4fa; }
.api-guide p code,.api-guide li code,.api-guide td code { background:#edf3f8; color:#385d76; }
.api-guide th { background:#f0f5fa; color:#47657d; }
/* A quiet, branded sign-in surface. */
.login-layout { grid-template-columns:1fr 1fr; background:#f4f7fa; }
.login-story { background:#142234; padding:44px 10%; color:#fff; }
.login-story .brand { color:white; }
.login-story .brand-subtitle { color:#9db0c7; }
.login-copy { max-width:480px; padding:65px 0 36px; }
.login-copy .eyebrow { color:#9ac7b6; font-size:11px; }
.login-copy h1 { color:#fff; font-size:clamp(38px,4vw,58px); line-height:1.12; font-weight:650; letter-spacing:-2.1px; margin:20px 0 24px; }
.login-copy h1 span { color:#bdf3a3; }
.login-copy p { color:#acbed2; font-size:16px; line-height:1.8; }
.login-caption { color:#9db4c9; font-size:12px; margin-top:34px; }
.login-caption:before { background:#bdf3a3; }
.login-form-side { background:#f7f9fc; padding:60px 48px; }
.login-form-wrap { max-width:380px; }
.login-form-wrap h2 { font-size:30px; color:#1c3048; font-weight:700; letter-spacing:-.8px; }
.login-form-wrap>p { font-size:14px; color:#718298; }
.login-form-wrap .field { margin-bottom:21px; }
.login-form-wrap .field input { min-height:48px; }
.login-form-wrap .button.full { min-height:48px; margin-top:3px; justify-content:space-between; padding:13px 17px; font-size:14px; }
.login-footnote { color:#718398; font-size:12px; border-top:1px solid #e2e8f0; padding-top:22px; margin-top:28px; }
.login-mobile-brand { color:#243c51; }
@media(min-width:1550px) {
  :root { --sidebar-width:248px; }
  .main { padding:36px 42px 48px; }
  .topbar { padding:0 42px; }
  .assortment-table th:nth-child(3) { width:160px; }
  .assortment-table th:nth-child(4) { width:160px; }
  .assortment-table th:nth-child(5) { width:165px; }
  .assortment-table th:nth-child(6) { width:180px; }
  .assortment-photo { width:72px; height:72px; flex-basis:72px; }
  .assortment-table .product-name { font-size:14px; }
  .assortment-quick-actions .button { font-size:12px; }
}
@media(max-width:1250px) {
  :root { --sidebar-width:216px; }
  .main { padding:26px 22px 36px; }
  .topbar { padding:0 22px; }
  .sidebar .brand { font-size:19px; padding-left:5px; }
  .nav-link { font-size:12px; gap:9px; padding:12px 10px; }
  .workspace-name { max-width:125px; }
  .assortment-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .assortment-filters .search-field { grid-column:1/-1; }
}
@media(max-width:900px) {
  .app-layout { display:block; }
  .sidebar { width:248px; transform:translateX(-100%); transition:transform .2s; z-index:50; padding:25px 16px 18px; }
  .app-layout.nav-open .sidebar { transform:translateX(0); }
  .app-layout.nav-open .sidebar-backdrop { display:block; position:fixed; inset:0; background:#0b1d346e; z-index:40; backdrop-filter:blur(2px); }
  .sidebar-close { display:flex; width:32px; color:#b4c9da; }
  .sidebar-close:hover { background:#294159; color:white; }
  .sidebar .brand { font-size:20px; }
  .nav-link { font-size:13px; padding:12px 13px; }
  .workspace { width:100%; }
  .workspace-name { max-width:145px; }
  .mobile-menu { display:flex; }
  .topbar { height:62px; padding:0 22px; gap:12px; }
  .breadcrumb { flex:1; }
  .breadcrumb>span { display:none; }
  .breadcrumb>svg { display:none; }
  .main { padding:25px 22px 32px; }
  .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .login-story { padding:35px 8%; }
  .login-copy h1 { font-size:42px; }
  .login-form-side { padding:40px 28px; }
}
@media(max-width:700px) {
  .main { padding:22px 14px 30px; }
  .topbar { padding:0 14px; }
  .page-heading { flex-direction:column; align-items:stretch; gap:16px; margin-bottom:20px; }
  .page-heading h1 { font-size:27px; }
  .page-heading p { font-size:12px; max-width:none; }
  .heading-actions { max-width:none; justify-content:flex-start; width:100%; }
  .heading-actions .button { min-height:44px; padding:11px 14px; font-size:12px; }
  .account-name { font-size:11px; }
  .account-role { font-size:9px; }
  .account-avatar { width:32px; height:32px; }
  .assortment-category-nav { top:0; padding:9px 10px 6px; border-radius:11px; }
  .assortment-category-heading { min-height:42px; padding-right:120px; margin-bottom:4px; }
  .assortment-category-heading strong { font-size:12px; }
  .assortment-category-more { right:10px; top:9px; min-height:40px; font-size:11px; }
  .assortment-category-chip { min-height:44px; font-size:12px; padding:10px 12px; }
  .assortment-category-chips { gap:7px; padding-bottom:7px; }
  .assortment-intro { padding:12px; gap:10px; align-items:flex-start; margin-bottom:16px; }
  .assortment-intro-icon { width:28px; height:28px; }
  .assortment-intro strong { font-size:12px; }
  .assortment-intro p { font-size:11px; }
  .assortment-tabs { padding:11px 10px; gap:5px; }
  .assortment-tabs button { min-height:42px; padding:10px; font-size:12px; }
  .assortment-filters { padding:15px 12px 10px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
  .assortment-filters>label:last-child { grid-column:1/-1; }
  .assortment-filters select { min-height:44px; font-size:13px; }
  .assortment-filters input[type=search] { font-size:16px; min-height:44px; }
  .assortment-tools { padding:4px 12px 13px; gap:8px; }
  .assortment-tools .button.small,.assortment-tools .text-link { min-height:40px; }
  .assortment-table { min-width:0; }
  .assortment-table tr { grid-template-columns:22px minmax(0,1fr) 130px; column-gap:9px; row-gap:15px; padding:19px 13px; }
  .assortment-table .assortment-name { grid-column:2/-1; }
  .assortment-product-main { gap:12px; }
  .assortment-photo { width:58px; height:58px; flex-basis:58px; }
  .assortment-table .product-name { font-size:14px; }
  .assortment-table .sku { font-size:11px; overflow-wrap:anywhere; white-space:normal; }
  .assortment-quick-actions .button { min-height:44px; padding:10px 12px; font-size:12px; }
  .assortment-quick-actions small { font-size:11px; }
  .assortment-brand-cell strong { font-size:13px; }
  .assortment-brand-cell>span { font-size:11px; }
  .assortment-price-line input,.assortment-quantity input { font-size:16px; min-height:44px; }
  .assortment-price-line>span { font-size:11px; }
  .assortment-price-line>strong { font-size:16px; }
  .assortment-row-actions .button,.assortment-row-actions>.text-link { min-height:40px; font-size:12px; }
  .assortment-quantity-cell small { font-size:10px; }
  .assortment-savebar { bottom:8px; padding:14px; }
  .assortment-savebar .button { min-height:44px; font-size:12px; }
  .pagination { padding:16px 13px; font-size:11px; }
  .page-buttons button { width:38px; height:38px; }
  .data-table:not(.assortment-table) { min-width:620px; }
  .field input,.field select,.field textarea { font-size:16px; }
  .modal-backdrop { padding:12px; }
  .modal { max-height:calc(100dvh - 24px); }
  .modal-header { padding:20px; }
  .modal-body { padding:20px; }
  .modal-actions .button { min-height:44px; font-size:13px; }
  .api-guide-title h2 { font-size:23px; }
  .company-grid { grid-template-columns:1fr; }
  .stat-card { padding:17px; }
  .stat-value { font-size:28px; }
  .stat-top,.stat-bottom { font-size:11px; }
  .login-layout { display:block; }
  .login-story { display:none; }
  .login-form-side { min-height:100dvh; padding:38px 26px; }
  .login-mobile-brand { display:flex; margin-bottom:56px; }
}
@media(max-width:390px) {
  .assortment-table tr { grid-template-columns:18px minmax(0,1fr) 120px; column-gap:7px; padding:17px 10px; }
  .assortment-product-main { gap:9px; }
  .assortment-photo { width:50px; height:50px; flex-basis:50px; }
  .assortment-quick-actions { gap:6px; }
  .assortment-quick-actions .button { padding:9px; font-size:11px; }
  .assortment-filters select { font-size:12px; }
  .assortment-tools>div { gap:3px; }
  .assortment-tools .button.small { font-size:10px; padding:8px; }
}
@media(prefers-reduced-motion:reduce) { .sidebar,.button { transition:none; } }

/* Магазавед: the store manager, from the sign-in page to the workspace. */
.brand-mark:has(.brand-symbol) { padding:0; letter-spacing:0; }
.brand-symbol { width:27px; height:27px; stroke-width:1.8; }
.brand-name { white-space:nowrap; }
.brand-name>span { color:#278871; }
.brand-subtitle { text-transform:none; letter-spacing:.1px; font-size:10px; font-weight:400; margin-top:2px; line-height:1.4; white-space:nowrap; }
.sidebar .brand-name>span,.login-story .brand-name>span { color:#bdf3a3; }
.sidebar .brand-subtitle,.login-story .brand-subtitle { color:#b3c4d6; font-size:10px; letter-spacing:.1px; }
.sidebar .nav-label { font-size:9px; letter-spacing:1px; }
.sidebar-version { gap:8px; font-size:9px; }
.login-copy { padding:40px 0 20px; }
.login-copy h1 { font-size:clamp(42px,4.5vw,62px); margin:18px 0 22px; }
.login-copy p { max-width:410px; margin-bottom:0; }
.management-art { margin:28px 0 0; padding:17px 19px 6px; border:1px solid #3b5065; border-radius:14px; background:#203248; max-width:410px; box-shadow:0 16px 36px #09182730; }
.management-art-head { display:flex; align-items:center; gap:9px; color:#ecf5fb; font-size:13px; padding-bottom:14px; }
.management-art-head>svg { color:#bdf3a3; width:18px; }
.management-art-head>span { margin-left:auto; font-size:10px; color:#a8bdcf; }
.management-art-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-top:1px solid #35485d; }
.management-art-row>span { width:34px; height:34px; display:grid; place-items:center; border-radius:8px; background:#30485c; color:#b8d6df; flex-shrink:0; }
.management-art-row>span svg { width:19px; height:19px; }
.management-art-row>div { flex:1; }
.management-art-row strong { display:block; font-size:13px; font-weight:600; color:#e8f4fa; }
.management-art-row small { display:block; font-size:11px; color:#a5b9cc; margin-top:3px; }
.management-art-row>svg { width:14px; color:#90b2a3; }
.login-caption { margin-top:24px; }
.assortment-table th:nth-child(6) { width:156px; }
.assortment-row-actions .button { gap:6px; padding:8px 7px; }
.assortment-row-actions .button>svg { width:16px; height:16px; }
@media(max-width:900px) {
  .sidebar .brand { gap:9px; }
  .sidebar .brand-subtitle { font-size:10px; }
  .login-copy h1 { font-size:44px; }
  .management-art-head>span { display:none; }
}
@media(max-width:700px) {
  .login-mobile-brand .brand-mark { width:42px; height:42px; }
  .login-mobile-brand { font-size:25px; margin-bottom:42px; }
  .login-mobile-brand .brand-subtitle { font-size:12px; color:#60758d; }
  .login-form-wrap>p { font-size:14px; line-height:1.7; }
  .sidebar-close { flex-shrink:0; }
}
