@charset "UTF-8";
:root {
  --green: #167454;
  --green-dark: #11583f;
  --green-light: #edf6f0;
  --ink: #1c211e;
  --muted: #4b554e;
  --line: #e6ebe7;
  --canvas: #f6f8f7;
  --white: #fff;
  --radius: 14px;
  --sidebar: 254px;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button[aria-disabled="true"] { cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #80c9aa; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; }
h2 { font-size: 1.125rem; letter-spacing: -.025em; }
h3 { font-size: 1rem; }
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); font-size: .875rem; line-height: 1.65; }
.eyebrow { color: var(--green); font-size: .6875rem; font-weight: 700; letter-spacing: .13em; margin-bottom: 9px; }
.button { min-height: 43px; padding: 10px 17px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; font-size: .875rem; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background .16s, border-color .16s, box-shadow .16s; }
.button-primary { color: white; background: var(--green); border-color: var(--green); box-shadow: 0 2px 3px #11583f0c; }
a.button-primary:hover, button.button-primary:not([aria-disabled="true"]):hover { background: var(--green-dark); }
.button-secondary { color: #2b3830; background: white; border-color: #dce4df; }
a.button-secondary:hover, button.button-secondary:not([aria-disabled="true"]):hover { border-color: #96b5a5; background: #f8fbf9; }
.button-white { background: white; color: var(--green-dark); }
.button-white:hover { background: #f0f7f2; }
.button-small { min-height: 36px; padding: 8px 11px; font-size: .8125rem; }
.button-icon { display: inline-flex; align-items: center; justify-content: center; padding: 8px; width: 36px; height: 36px; min-height: 36px; background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--muted); }
a.button-icon:hover { background: #f0f4f1; color: var(--green); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; font-size: .75rem; font-weight: 550; white-space: nowrap; line-height: 1.4; }
.badge .icon { width: 14px; height: 14px; }
.badge-green { color: #287553; background: #eaf5ee; }
.badge-amber { color: #986c23; background: #fcf4e4; }
.badge-slate { color: var(--muted); background: #f0f3f1; }
.badge-white { color: #e7f4e8; background: #ffffff12; border: 1px solid #ffffff24; font-size: .625rem; letter-spacing: .12em; }
.icon-circle { width: 43px; height: 43px; border-radius: 11px; color: var(--green); background: var(--green-light); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tone-green { color: #328363; background: #eaf4ed; }
.tone-orange { color: #c1814c; background: #fbefe5; }
.tone-amber { color: #b3933f; background: #f8f2df; }
.tone-blue { color: #5b88ad; background: #edf3fa; }
.tone-purple { color: #8b73ac; background: #f2edf8; }
.tone-slate { color: #73817c; background: #edf1ef; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.text-link:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; }
.text-right { text-align: right; }
.app-body { background: var(--canvas); }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 15px; background: var(--green); color: white; padding: 12px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar); background: white; border-right: 1px solid var(--line); padding: 34px 20px 0; display: flex; flex-direction: column; z-index: 30; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding-left: 10px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.055em; }
.brand-mark { height: 42px; width: 42px; background: var(--green); color: #fff; border-radius: 12px; display: flex; justify-content: center; align-items: center; line-height: 1; font-size: 2rem; letter-spacing: -.12em; padding: 0 5px 6px 0; font-weight: 650; }
.brand-mark span { color: #c7e69d; font-size: 1.4rem; margin-top: 10px; }
.brand-separator { color: #667268; margin: 0 2px; font-weight: 400; }
.brand small { display: block; color: var(--muted); letter-spacing: .22em; font-size: .5rem; margin-top: 1px; font-weight: 600; }
.workspace { margin: 34px 0 29px; padding: 12px 10px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; }
.workspace-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 34px; color: #667268; background: #f4f6f4; border-radius: 7px; }
.workspace strong { display: block; font-size: .75rem; font-weight: 650; }
.workspace div > span { color: var(--muted); font-size: .625rem; }
.workspace-label { margin-left: auto; font-size: .625rem; font-weight: 650; background: #edf5ee; color: var(--green); padding: 3px 5px; border-radius: 4px; }
.nav-label { padding-left: 13px; color: var(--muted); font-size: .625rem; font-weight: 650; letter-spacing: .13em; margin-bottom: 13px; }
.nav-label-secondary { margin-top: 31px; }
.nav-link { display: flex; align-items: center; gap: 11px; padding: 12px 12px; margin: 4px 0; border-radius: 8px; color: var(--muted); font-size: .8125rem; font-weight: 500; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { background: #f5f8f6; color: var(--green); }
.nav-link.active { background: #eaf4ed; color: var(--green); font-weight: 650; }
.nav-count { margin-left: auto; color: #4c9271; background: #dceee1; font-size: .625rem; font-weight: 700; padding: 2px 5px; border-radius: 4px; }
.sidebar-bottom { margin-top: auto; padding-top: 42px; }
.demo-card { background: #f8faf8; border: 1px solid #edf0eb; border-radius: 12px; padding: 16px 14px; }
.demo-card > .icon { color: #83a08b; margin-bottom: 7px; width: 19px; }
.demo-card strong { font-size: .75rem; display: block; margin-bottom: 5px; }
.demo-card p { font-size: .6875rem; line-height: 1.65; color: var(--muted); margin-bottom: 12px; }
.demo-card .badge { font-size: .625rem; }
.sidebar-user { display: flex; align-items: center; gap: 9px; margin-top: 21px; padding: 21px 0; border-top: 1px solid var(--line); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #edf1f7; color: #6a8097; font-size: .75rem; font-weight: 650; flex-shrink: 0; }
.avatar-green { background: #e7eee1; color: #58815a; }
.avatar-small { width: 32px; height: 32px; font-size: .6875rem; }
.sidebar-user strong { font-size: .6875rem; display: block; font-weight: 650; }
.sidebar-user small { display: block; color: var(--muted); font-size: .625rem; margin-top: 3px; }
.logout-link { margin-left: auto; padding: 5px; width: 26px; }
.logout-link .icon { width: 16px; }
.app-shell { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 76px; min-height: 76px; background: #ffffffd9; border-bottom: 1px solid var(--line); padding: 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 13px; font-size: .75rem; color: var(--muted); min-width: 0; }
.breadcrumb > .icon { width: 12px; height: 12px; color: #667268; }
.breadcrumb strong { font-weight: 500; color: var(--muted); white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; font-size: .625rem; letter-spacing: .09em; font-weight: 650; color: var(--muted); }
.demo-label .icon { width: 15px; height: 15px; }
.language-switch { display: inline-flex; gap: 2px; align-items: center; border: 1px solid var(--line); background: #fafbf9; border-radius: 7px; padding: 3px; }
.language-switch a { padding: 4px 8px; color: var(--muted); font-size: .6875rem; font-weight: 650; border-radius: 4px; }
.language-switch a.selected { background: white; color: var(--green); box-shadow: 0 1px 4px #0e3b1714; }
.main-content { padding: 35px 38px 40px; max-width: 1650px; width: 100%; margin: 0 auto; flex: 1; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 29px; }
.page-title { font-size: 1.875rem; letter-spacing: -.04em; line-height: 1.25; font-weight: 650; }
.page-description { font-size: .875rem; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.page-heading > div > .muted { margin-top: 9px; }
.title-counter { display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 500; background: #e9efea; color: var(--muted); padding: 5px 9px; border-radius: 8px; vertical-align: middle; margin-left: 6px; letter-spacing: 0; }
.heading-actions { display: flex; gap: 10px; flex-shrink: 0; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 4px #1a302503; min-width: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 23px 24px; gap: 15px; border-bottom: 1px solid #f0f3f0; }
.panel-header h2 { font-size: 1rem; }
.panel-header p { margin-top: 4px; font-size: .75rem; }
.panel-bottom-note, .panel-footnote { display: flex; align-items: center; gap: 8px; border-top: 1px solid #eff2ee; padding: 16px 24px; color: var(--muted); font-size: .75rem; }
.panel-bottom-note .icon, .panel-footnote .icon { width: 16px; height: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-bottom: 25px; }
.stat-card { padding: 20px 21px 17px; background: white; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.stat-top { display: flex; align-items: center; gap: 12px; }
.stat-top .icon-circle { width: 37px; height: 37px; border-radius: 10px; }
.stat-top .icon { width: 19px; height: 19px; }
.stat-caption { color: var(--muted); font-size: .75rem; }
.stat-value { font-size: 2.125rem; letter-spacing: -.045em; font-weight: 650; line-height: 1.35; }
.stat-card > .stat-value { margin-top: 14px; }
.stat-card p { margin-top: 2px; color: var(--muted); font-size: .625rem; }
.welcome-banner { position: relative; background: #eaf2e9; border: 1px solid #e1ebdf; border-radius: var(--radius); padding: 30px 34px; overflow: hidden; margin-bottom: 27px; min-height: 261px; display: flex; }
.welcome-copy { z-index: 1; position: relative; }
.welcome-copy > .badge { background: #dbe8d7; color: #648162; border: 0; margin-bottom: 15px; }
.welcome-copy h2 { font-size: 1.75rem; color: #305a3b; letter-spacing: -.04em; line-height: 1.3; }
.welcome-copy p { font-size: .75rem; color: var(--muted); margin-top: 9px; }
.welcome-copy .button { margin-top: 19px; min-height: 37px; font-size: .75rem; padding: 8px 12px; background: #fff; border: 1px solid #dae4d7; }
.welcome-copy .button .icon { width: 15px; height: 15px; }
.banner-art { position: absolute; right: 17px; top: 0; width: 42%; height: 100%; }
.art-orbit { position: absolute; border: 1px solid #dbe7d8; width: 310px; height: 310px; border-radius: 50%; right: -15px; top: -13px; }
.orbit-two { width: 410px; height: 410px; right: -66px; top: -63px; }
.art-card { position: absolute; width: 175px; height: 184px; padding: 18px; background: white; box-shadow: 0 12px 22px #435d3f12; border: 1px solid #dfe7dc; border-radius: 12px; }
.art-card-back { transform: rotate(-9deg); right: 135px; top: 36px; }
.art-card-front { transform: rotate(10deg); right: 4px; top: 65px; }
.art-mini-icon { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; background: #edf6e8; color: #87a47a; border-radius: 10px; margin-bottom: 14px; }
.orange-icon { background: #fbf0df; color: #c1a071; }
.art-card strong { display: block; font-size: .8125rem; color: #57705b; }
.art-card > span:not(.art-mini-icon) { display: block; font-size: .625rem; color: var(--muted); margin-top: 4px; }
.art-line { width: 100%; height: 5px; border-radius: 3px; background: #edf2eb; margin-top: 16px; }
.art-line-short { width: 60%; margin-top: 6px; }
.art-chips { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; border-top: 1px solid #f2f3ee; padding-top: 10px; }
.art-chips span { font-size: .5625rem; color: var(--muted); }
.art-chips .icon { width: 16px; height: 16px; color: #8daf7d; }
.dashboard-columns { display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; }
.category-overview { padding: 5px 24px 10px; }
.category-overview-row { display: flex; align-items: center; padding: 12px 0; gap: 12px; border-bottom: 1px solid #f1f3f0; }
.category-overview-row:last-child { border-bottom: 0; }
.category-overview-row:hover strong { color: var(--green); }
.category-dot { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.category-dot .icon { width: 17px; height: 17px; }
.category-overview-row strong { font-size: .8125rem; font-weight: 550; }
.category-overview-row > span:not(.category-dot) { margin-left: auto; font-size: .6875rem; color: var(--muted); }
.category-overview-row > .icon { width: 13px; height: 13px; color: #667268; }
.dashboard-locations { padding: 2px 24px; }
.dashboard-location { display: flex; align-items: center; gap: 18px; padding: 24px 0; }
.dashboard-location + .dashboard-location { border-top: 1px solid #f0f3ef; }
.dashboard-location .eyebrow { font-size: .5625rem; letter-spacing: .09em; color: var(--muted); margin-bottom: 6px; }
.dashboard-location h3 { font-size: .875rem; font-weight: 600; }
.dashboard-location p { color: var(--muted); font-size: .6875rem; margin-top: 6px; max-width: 230px; line-height: 1.7; }
.location-illustration { width: 82px; height: 83px; background: #f0f5ed; border-radius: 10px; color: #91a687; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; flex-shrink: 0; }
.location-illustration > .icon { width: 38px; height: 38px; stroke-width: 1.1; }
.location-illustration > span { position: absolute; bottom: 2px; right: 6px; opacity: .23; font-size: 2.7rem; font-weight: 700; line-height: 1; }
.location-illustration-blue { background: #eef4f6; color: #89a5ad; }
.foundation-note { display: flex; align-items: center; gap: 13px; border: 1px dashed #dce5de; border-radius: 11px; margin-top: 24px; padding: 17px 20px; }
.foundation-note > .icon { color: #8d9e90; width: 19px; height: 19px; }
.foundation-note strong { font-size: .75rem; color: var(--muted); font-weight: 550; }
.foundation-note p { color: var(--muted); font-size: .6875rem; margin-top: 2px; }
.foundation-note > .badge { margin-left: auto; font-size: .625rem; }
.app-footer { margin: 0 38px; border-top: 1px solid #e8ece8; padding: 18px 0 21px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .625rem; }
.footer-separator { color: #667268; padding: 0 7px; }
.mobile-menu { display: none; }
.sidebar-scrim[hidden] { display: none; }
.sidebar-scrim { position: fixed; inset: 0; background: #132a2073; border: 0; z-index: 25; }
/* Catalog */
.catalog-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 25px; align-items: start; }
.category-sidebar { padding: 19px 11px 0; }
.category-sidebar-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 17px; }
.category-sidebar-heading h2 { font-size: .875rem; }
.category-sidebar-heading > span { font-size: .6875rem; color: var(--muted); }
.category-filter { display: flex; align-items: center; gap: 9px; padding: 11px 10px; color: var(--muted); border-radius: 7px; margin-bottom: 3px; font-size: .75rem; }
.category-filter .icon { width: 15px; height: 15px; }
.category-filter span:not(.small-color-dot) { flex: 1; }
.category-filter b { font-size: .625rem; font-weight: 500; color: var(--muted); }
.category-filter.selected { background: #eaf4ed; color: var(--green); font-weight: 600; }
.category-filter.selected b { color: var(--green); }
.category-filter:hover { background: #f1f6f2; }
.category-filter-divider { margin: 11px 10px; border-top: 1px solid #eff2ee; }
.small-color-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; opacity: .75; }
.category-sidebar-footer { margin-top: 17px; padding: 17px 5px; border-top: 1px solid #edf1ec; text-align: center; }
.category-sidebar-footer .text-link { font-size: .6875rem; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; min-height: 43px; }
.catalog-total { color: var(--muted); font-size: .6875rem; }
.catalog-total strong { color: var(--muted); font-weight: 650; }
.toolbar-dot { padding: 0 7px; color: #667268; }
.toolbar-actions { display: flex; gap: 7px; }
.toolbar-actions .button-small { font-size: .6875rem; padding: 8px 10px; min-height: 34px; }
.toolbar-actions .icon { width: 15px; height: 15px; }
.product-section { margin-bottom: 28px; }
.product-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.product-section-heading > div { display: flex; align-items: center; gap: 8px; }
.product-section-heading h2 { font-size: .875rem; letter-spacing: -.02em; }
.section-count { color: var(--muted); font-size: .625rem; padding: 1px 6px; background: #eaf0eb; border-radius: 4px; }
.section-description { color: var(--muted); font-size: .625rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.product-card { border: 1px solid #e1e8e0; background: white; border-radius: 11px; padding: 18px 17px 0; min-height: 183px; display: flex; flex-direction: column; }
.product-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.product-symbol { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 9px; }
.product-symbol .icon { width: 18px; height: 18px; }
.card-select { border: 1px solid #dfe6df; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.card-select .icon { width: 11px; height: 11px; color: #c2cfc3; }
.product-category { font-size: .5625rem; color: var(--muted); letter-spacing: .02em; }
.product-card h3 { font-size: .8125rem; font-weight: 600; margin-top: 4px; margin-bottom: 18px; line-height: 1.55; }
.product-meta { display: flex; align-items: center; gap: 13px; border-top: 1px solid #f1f4ef; padding: 10px 0; margin-top: auto; color: var(--muted); font-size: .625rem; }
.product-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.product-meta .icon { width: 13px; height: 13px; }
.product-meta .product-grip { margin-left: auto; color: #667268; }
.pending-meta { color: #756238; }
.catalog-footnote { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .6875rem; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 17px; }
.catalog-footnote .icon { width: 16px; height: 16px; }
/* Forms, categories and module screens */
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.tip-panel { padding: 25px; }
.tip-panel > .icon-circle { margin-bottom: 20px; }
.tip-panel h2 { font-size: 1.125rem; margin-bottom: 12px; line-height: 1.45; }
.tip-panel p { font-size: .8125rem; line-height: 1.85; color: var(--muted); }
.tip-panel .button { margin-top: 23px; font-size: .75rem; padding: 9px 11px; white-space: normal; }
.empty-note { display: flex; align-items: flex-start; gap: 10px; background: #eef3f0; color: var(--muted); border: 1px solid #e5ece6; border-radius: 10px; padding: 17px 19px; font-size: .8125rem; line-height: 1.75; margin-top: 22px; }
.empty-note > .icon { width: 18px; height: 18px; margin-top: 3px; }
.empty-note strong { color: var(--muted); font-weight: 550; }
.empty-note p { font-size: .75rem; }
.stack > .empty-note { margin-top: 0; }
.category-sort-list { padding: 0 24px; }
.category-sort-row { display: flex; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid #f0f3ee; }
.category-sort-row:last-child { border-bottom: 0; }
.sort-handle { color: #667268; display: flex; }
.sort-handle .icon { width: 16px; }
.sort-number { color: var(--muted); font-size: .6875rem; font-variant-numeric: tabular-nums; }
.category-sort-row .icon-circle { width: 37px; height: 37px; border-radius: 10px; }
.category-sort-row .icon-circle .icon { width: 18px; height: 18px; }
.category-sort-name { flex: 1; }
.category-sort-name a { font-size: .875rem; font-weight: 550; }
.category-sort-name a:hover { color: var(--green); }
.category-sort-name small { display: block; font-size: .6875rem; color: var(--muted); margin-top: 3px; }
.category-sort-row > .badge { font-size: .625rem; }
.back-link { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; color: var(--muted); margin-bottom: 22px; }
.back-link:hover { color: var(--green); }
.back-link .icon { width: 14px; height: 14px; }
.form-content, .panel-body { padding: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-field { margin-bottom: 21px; min-width: 0; }
.form-grid .form-field { margin-bottom: 0; }
.form-label { display: block; font-size: .8125rem; color: #2b3830; font-weight: 550; margin-bottom: 9px; }
.form-input, .form-select { width: 100%; border: 1px solid #dfe7df; border-radius: 7px; background: white; padding: 12px 13px; min-height: 45px; color: #2b3830; font-size: .8125rem; }
.form-input::placeholder { color: #667268; }
.form-input[readonly] { background: #fafbf9; color: var(--muted); }
.form-input:focus, .form-select:focus { border-color: #7eaf8d; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23667268' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.form-hint { font-size: .6875rem; color: var(--muted); margin-top: 7px; line-height: 1.6; }
.required { color: #4b6749; }
.input-action { display: flex; gap: 9px; }
.input-action .form-select { min-width: 0; }
.input-action .button { font-size: .75rem; }
.inline-category { padding: 19px; border: 1px dashed #cfdccf; background: #f7faf6; border-radius: 9px; margin: 24px 0; }
.inline-category > div { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #789571; }
.inline-category > div .icon { width: 18px; height: 18px; }
.inline-category strong { font-size: .75rem; font-weight: 550; }
.inline-category .badge { margin-left: auto; font-size: .5625rem; }
.inline-category .form-label { font-size: .75rem; }
.form-section-heading { margin: 28px 0 22px; padding-top: 23px; border-top: 1px solid #edf2e9; }
.form-section-heading h3 { font-size: .875rem; }
.form-section-heading p { margin-top: 5px; font-size: .6875rem; color: var(--muted); }
.input-unit { position: relative; }
.input-unit > span { position: absolute; right: 13px; top: 13px; font-size: .75rem; color: var(--muted); }
.input-unit .form-input { padding-right: 50px; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 19px 26px; border-top: 1px solid #edf1e9; }
.company-panel { margin-bottom: 31px; }
.company-summary { padding: 26px; display: flex; align-items: center; gap: 18px; }
.company-summary > .icon-circle { width: 58px; height: 58px; border-radius: 13px; }
.company-summary > .icon-circle .icon { width: 27px; height: 27px; }
.company-identity { flex: 1; }
.company-identity .eyebrow { font-size: .625rem; }
.company-identity h2 { font-size: 1.25rem; }
.company-identity p { margin-top: 5px; }
.company-bottom { padding: 16px 26px; border-top: 1px solid #f0f3ed; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.company-bottom > span { display: flex; align-items: center; gap: 8px; font-size: .75rem; }
.company-bottom > span .icon { width: 16px; height: 16px; }
.company-bottom .button { font-size: .75rem; min-height: 36px; padding: 8px 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-heading h2 { font-size: 1rem; }
.section-heading .muted { font-size: .6875rem; }
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.location-card { padding: 25px; }
.location-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.location-card-top .icon-circle { width: 50px; height: 50px; background: #f0f5ed; color: #7c9a73; }
.location-card:nth-child(2) .icon-circle { background: #edf3f7; color: #7096af; }
.location-card h2 { font-size: 1.125rem; }
.location-address { margin-top: 8px; min-height: 42px; font-size: .8125rem; }
.location-details { padding: 20px 0 17px; border-top: 1px solid #eff2ec; margin-top: 20px; }
.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .75rem; margin-bottom: 12px; }
.detail-row > span { color: var(--muted); }
.detail-row strong { font-weight: 500; color: var(--muted); }
.location-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid #edf1e9; }
.location-card-footer .button { min-height: 35px; font-size: .75rem; padding: 8px 12px; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.role-card { padding: 23px; }
.role-card-primary { border-color: #cddfcf; background: #fbfdfb; }
.role-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.role-card-top .icon-circle { width: 39px; height: 39px; }
.role-card-top .badge { font-size: .625rem; }
.role-card h2 { margin-bottom: 7px; }
.role-card .muted { font-size: .75rem; }
.role-card:not(.role-card-primary) .icon-circle { background: #f1f3f0; color: #667268; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.data-table thead { background: #fafbf9; }
.data-table th { color: var(--muted); font-size: .6875rem; font-weight: 550; padding: 14px 22px; text-align: left; border-bottom: 1px solid #edf1e8; white-space: nowrap; }
.data-table td { padding: 20px 22px; border-bottom: 1px solid #f0f3ec; color: var(--muted); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .text-right { text-align: right; }
.person-cell, .event-cell { display: flex; align-items: center; gap: 11px; }
.person-cell strong, .event-cell strong { font-size: .8125rem; font-weight: 550; color: #2b3830; }
.cell-subtext { display: block; font-size: .6875rem; color: var(--muted); margin-top: 4px; }
.username { color: var(--muted); font-size: .75rem; }
.user-location-cell { display: flex; align-items: flex-start; gap: 6px; min-width: 150px; color: var(--ink); }
.user-location-cell .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); }
.transport-option { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; padding: 16px 0; margin-bottom: 14px; border-top: 1px solid var(--line); }
.transport-option input[type="checkbox"] { appearance: none; display: grid; place-content: center; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid #667268; border-radius: 4px; background: white; accent-color: var(--green); opacity: 1; }
.transport-option input[type="checkbox"]:checked { border-color: var(--green); background: var(--green); }
.transport-option input[type="checkbox"]:checked::after { content: ""; width: 4px; height: 8px; margin-top: -2px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.transport-option input[type="checkbox"]:disabled { opacity: 1; cursor: default; }
.transport-option-label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); }
.transport-option-hint { display: block; margin-top: 4px; font-size: .8125rem; line-height: 1.65; color: var(--muted); }
.journal-summary { display: flex; align-items: center; gap: 21px; padding: 28px; margin-bottom: 27px; }
.journal-summary > .icon-circle { width: 55px; height: 55px; }
.journal-summary h2 { margin-bottom: 5px; }
.journal-summary-count { margin-left: auto; text-align: right; }
.journal-summary-count strong, .journal-summary-count span { display: block; }
.journal-summary-count .muted { font-size: .6875rem; }
.event-icon { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 8px; flex-shrink: 0; }
.event-icon .icon { width: 16px; height: 16px; }
.event-icon-green { color: #5e9f62; background: #edf6e9; }
.event-icon-amber { color: #b49e67; background: #f8f4e8; }
.event-icon-slate { color: #80977a; background: #eef2eb; }
.journal-table .person-cell { white-space: nowrap; font-size: .75rem; }
.journal-table .cell-subtext { max-width: 315px; }
.time-cell { font-variant-numeric: tabular-nums; font-size: .75rem; white-space: nowrap; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 980px; }
.panel-title-with-icon { display: flex; align-items: center; gap: 15px; }
.panel-title-with-icon .icon-circle { width: 36px; height: 36px; }
.panel-title-with-icon .icon { width: 18px; height: 18px; }
.settings-panel .form-grid { row-gap: 25px; }
.settings-rule { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.settings-rule + .settings-rule { margin-top: 20px; padding-top: 20px; border-top: 1px solid #edf2e7; }
.settings-rule strong { font-weight: 550; font-size: .8125rem; }
.settings-rule p { font-size: .75rem; margin-top: 4px; }
/* Sign in */
.login-body { background: #fcfdfb; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: 48% 52%; }
.login-story { padding: 46px 55px 28px; background: #164d39; color: white; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.login-story::before { content: ""; width: 700px; height: 700px; border: 1px solid #ffffff08; border-radius: 50%; position: absolute; left: -330px; top: 140px; pointer-events: none; }
.login-story::after { content: ""; width: 850px; height: 850px; border: 1px solid #ffffff08; border-radius: 50%; position: absolute; left: -405px; top: 65px; pointer-events: none; }
.brand-light { padding-left: 0; position: relative; z-index: 1; }
.brand-light .brand-mark { color: #eaf3e2; background: #ffffff12; border: 1px solid #ffffff1a; }
.brand-light small { color: #87ad97; }
.brand-light .brand-separator { color: #85aa92; }
.login-story-content { max-width: 455px; margin: auto 0; padding: 74px 0 62px; position: relative; z-index: 1; }
.story-eyebrow { color: #a0c0a2; font-size: .625rem; font-weight: 600; letter-spacing: .16em; }
.login-story-content h1 { font-size: clamp(2.35rem, 3.5vw, 3.625rem); line-height: 1.17; letter-spacing: -.055em; font-weight: 500; margin-top: 23px; }
.login-story-content > p { font-size: .875rem; color: #a9c6b1; line-height: 1.95; margin-top: 24px; max-width: 345px; }
.story-preview { margin-top: 42px; padding: 22px 23px; border: 1px solid #80a88435; border-radius: 13px; background: #ffffff06; }
.story-preview-heading { display: flex; align-items: center; gap: 13px; }
.preview-symbol { background: #ffffff0b; color: #a5c699; width: 39px; height: 39px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.story-preview-heading strong { font-size: .8125rem; font-weight: 550; }
.story-preview-heading div > span { display: block; font-size: .625rem; margin-top: 3px; color: #8fb49c; }
.preview-tick { margin-left: auto; width: 23px; height: 23px; border-radius: 50%; background: #a5c58f28; color: #b2d499; display: flex; align-items: center; justify-content: center; }
.preview-tick .icon { width: 14px; height: 14px; }
.story-metrics { display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin-top: 22px; padding-top: 19px; border-top: 1px solid #ffffff0e; }
.story-metrics strong { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -.04em; }
.story-metrics span { font-size: .5625rem; color: #8fb59b; }
.story-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #7ba28a; font-size: .5625rem; }
.login-main { padding: 35px 50px 26px; display: flex; flex-direction: column; align-items: center; }
.login-language { display: flex; align-items: center; justify-content: flex-end; gap: 22px; width: 100%; }
.login-form-wrap { width: 100%; max-width: 350px; margin: auto; padding: 60px 0; }
.login-welcome-icon { width: 51px; height: 51px; background: #edf4e9; border: 1px solid #e4ecdf; color: #7b9d6a; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.login-welcome-icon .icon { width: 25px; height: 25px; stroke-width: 1.4; }
.login-form-wrap .eyebrow { font-size: .5625rem; letter-spacing: .15em; color: var(--muted); margin-bottom: 10px; }
.login-form-wrap h2 { font-size: 2rem; letter-spacing: -.04em; line-height: 1.2; }
.login-subtitle { color: var(--muted); font-size: .8125rem; margin-top: 13px; }
.login-form { margin-top: 34px; }
.login-form .form-label { font-size: .75rem; margin-bottom: 9px; color: var(--muted); }
.input-with-icon { position: relative; margin-bottom: 21px; }
.input-with-icon > .icon { position: absolute; left: 13px; top: 16px; width: 17px; height: 17px; color: #667268; }
.input-with-icon .form-input { padding-left: 41px; min-height: 49px; font-size: .8125rem; border-color: #e1e7da; background: #fff; }
.login-submit { width: 100%; min-height: 48px; margin-top: 3px; font-size: .8125rem; background: #1c6848; }
.login-submit .icon { width: 17px; height: 17px; }
.login-demo-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 23px; padding: 15px 17px; background: #f1f5ed; border-radius: 8px; color: var(--muted); }
.login-demo-note > .icon { width: 16px; height: 16px; margin-top: 2px; }
.login-demo-note p { font-size: .6875rem; line-height: 1.75; }
.login-demo-note strong { display: block; font-size: .6875rem; font-weight: 550; color: var(--muted); margin-bottom: 3px; }
.login-bottom { display: flex; align-items: center; gap: 7px; font-size: .5625rem; color: var(--muted); }
.login-bottom .icon { width: 13px; height: 13px; }
/* Readability: primary controls and content stay comfortably legible. */
.nav-link, .category-filter, .stat-caption, .product-card h3, .product-meta, .form-label, .form-input, .form-select, .data-table, .person-cell strong, .event-cell strong, .username, .detail-row { font-size: .875rem; }
.form-hint, .panel-header p, .category-sort-name small, .cell-subtext, .location-address, .login-demo-note p, .login-demo-note strong, .login-subtitle, .login-form .form-label { font-size: .8125rem; }
.category-overview-row strong, .dashboard-location h3, .role-card .muted, .tip-panel p { font-size: .875rem; }
.product-category, .product-meta, .catalog-total, .toolbar-actions .button-small, .section-description, .category-sidebar-footer .text-link, .data-table th, .badge, .category-overview-row > span:not(.category-dot), .dashboard-location p, .stat-card p { font-size: .75rem; }
.product-meta .icon { width: 14px; height: 14px; }
.nav-link { font-size: .8125rem; }
.muted, .page-description, .stat-caption, .form-hint, .product-meta, .section-description, .product-category, .catalog-total, .category-filter, .category-sort-name small, .cell-subtext { color: var(--muted); }
/* Responsive layouts */
@media (min-width: 1600px) { .main-content { padding: 42px 50px; } .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .banner-art { right: 50px; width: 40%; } }
@media (max-width: 1250px) {
  :root { --sidebar: 230px; }
  .sidebar { padding-left: 14px; padding-right: 14px; }
  .topbar { padding: 0 26px; }
  .main-content { padding: 30px 26px; }
  .app-footer { margin: 0 26px; }
  .page-title { font-size: 1.625rem; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 17px 15px; }
  .stat-caption { font-size: .6875rem; }
  .stat-top { gap: 8px; }
  .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-filter { font-size: .75rem; padding-left: 7px; padding-right: 7px; gap: 7px; }
  .category-sidebar { padding-left: 8px; padding-right: 8px; }
  .catalog-toolbar { flex-wrap: wrap; gap: 12px; }
  .section-description { display: none; }
  .section-grid { grid-template-columns: minmax(0, 1fr) 245px; gap: 19px; }
  .category-sort-row { gap: 9px; }
  .sort-number { display: none; }
  .art-card { width: 153px; height: 177px; padding: 15px; }
  .art-card-back { right: 105px; top: 35px; }
  .art-card-front { right: -8px; top: 79px; }
  .welcome-copy p { max-width: 320px; }
  .dashboard-columns { gap: 18px; }
  .dashboard-location { gap: 12px; }
  .location-illustration { width: 63px; height: 75px; }
  .panel-header { padding: 20px; }
  .category-overview, .dashboard-locations { padding-left: 20px; padding-right: 20px; }
  .category-overview-row { gap: 9px; }
  .category-overview-row strong { font-size: .8125rem; }
  .category-overview-row > span:not(.category-dot) { font-size: .625rem; }
  .heading-actions { gap: 7px; }
  .heading-actions .button { padding: 9px 12px; font-size: .75rem; }
  .role-card { padding: 18px; }
  .role-card-top { flex-wrap: wrap; gap: 10px; }
  .data-table td, .data-table th { padding-left: 17px; padding-right: 17px; }
  .login-story { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 1020px) {
  :root { --sidebar: 215px; }
  .nav-link { font-size: .75rem; gap: 9px; padding-left: 10px; padding-right: 10px; }
  .nav-count { display: none; }
  .sidebar-user strong { font-size: .625rem; }
  .topbar { padding: 0 22px; }
  .main-content { padding: 27px 22px; }
  .page-heading { flex-wrap: wrap; gap: 16px; }
  .page-title { font-size: 1.625rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 18px 20px; }
  .stat-caption { font-size: .8125rem; }
  .stat-card .stat-value { font-size: 1.875rem; margin-top: 9px; }
  .stat-card p { font-size: .6875rem; }
  .welcome-banner { padding: 26px; }
  .welcome-copy h2 { font-size: 1.5rem; }
  .banner-art { opacity: .75; right: -23px; }
  .art-card-back { right: 28px; top: 70px; }
  .art-card-front { display: none; }
  .welcome-copy p { max-width: 250px; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .dashboard-locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dashboard-location + .dashboard-location { border-top: 0; }
  .dashboard-location { align-items: flex-start; }
  .location-illustration { width: 53px; height: 62px; }
  .section-grid { grid-template-columns: 1fr; }
  .section-grid > .stack { display: grid; grid-template-columns: 1fr 1fr; }
  .tip-panel { padding: 22px; }
  .tip-panel > .icon-circle { margin-bottom: 14px; }
  .catalog-layout { grid-template-columns: 166px minmax(0, 1fr); gap: 17px; }
  .category-filter { font-size: .6875rem; }
  .category-filter .small-color-dot { width: 6px; height: 6px; }
  .product-card { padding: 14px 13px 0; }
  .product-card h3 { font-size: .8125rem; }
  .product-meta { gap: 7px; font-size: .625rem; }
  .product-meta .icon { width: 12px; height: 12px; }
  .catalog-total { font-size: .6875rem; }
  .toolbar-actions .button-small { font-size: .625rem; }
  .role-grid { gap: 12px; }
  .role-card { padding: 15px; }
  .role-card p.muted { font-size: .75rem; }
  .location-grid { gap: 17px; }
  .location-card { padding: 20px; }
  .detail-row { font-size: .6875rem; }
  .location-card-top { flex-wrap: wrap; gap: 12px; }
  .login-story { padding-left: 30px; padding-right: 30px; }
  .login-main { padding-left: 35px; padding-right: 35px; }
  .login-story-content h1 { font-size: 2.55rem; }
  .story-preview { padding: 20px 17px; }
}
@media (max-width: 780px) {
  :root { --sidebar: 254px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; padding: 28px 20px 0; }
  body.menu-open .sidebar { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .nav-link { font-size: .875rem; padding: 12px; }
  .nav-count { display: block; }
  .app-shell { margin-left: 0; }
  .mobile-menu { display: inline-flex; padding: 5px; width: 28px; margin-left: -5px; }
  .breadcrumb { gap: 9px; font-size: .6875rem; }
  .topbar { padding: 0 22px; min-height: 66px; height: 66px; }
  .topbar-actions { gap: 12px; }
  .main-content { padding: 28px 22px; }
  .app-footer { margin: 0 22px; }
  .sidebar-user strong { font-size: .6875rem; }
  .category-filter { font-size: .75rem; }
  .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .product-card h3 { font-size: .875rem; }
  .dashboard-location { align-items: center; }
  .role-card .muted { font-size: .8125rem; }
  .login-layout { grid-template-columns: 1fr; }
  .login-story { padding: 28px 30px; min-height: auto; }
  .login-story-content { padding: 30px 0 10px; max-width: none; }
  .story-eyebrow { font-size: .5625rem; }
  .login-story-content h1 { font-size: 2.2rem; margin-top: 15px; }
  .login-story-content h1 br { display: none; }
  .login-story-content > p { max-width: none; font-size: .8125rem; margin-top: 15px; }
  .story-preview, .story-footer { display: none; }
  .login-main { padding: 25px 30px; }
  .login-form-wrap { padding: 30px 0 40px; max-width: 430px; }
  .login-form-wrap .login-welcome-icon { display: none; }
  .login-form-wrap h2 { font-size: 1.75rem; }
  .login-bottom { font-size: .625rem; text-align: center; }
}
@media (max-width: 580px) {
  .main-content { padding: 25px 18px 30px; }
  .topbar { padding: 0 18px; }
  .breadcrumb-root, .breadcrumb > .icon, .topbar-actions > .avatar, .topbar-actions > .demo-label { display: none; }
  .breadcrumb strong { max-width: 195px; overflow: hidden; text-overflow: ellipsis; }
  .page-heading { margin-bottom: 23px; gap: 18px; }
  .page-title { font-size: 1.625rem; }
  .page-description { font-size: .8125rem; }
  .eyebrow { font-size: .5625rem; }
  .heading-actions { width: 100%; }
  .heading-actions > .button { flex: 1; }
  .stats-grid { gap: 10px; margin-bottom: 20px; }
  .stat-card { padding: 16px 14px; }
  .stat-caption { font-size: .75rem; }
  .stat-top { align-items: flex-start; flex-direction: column; gap: 9px; }
  .stat-top .icon-circle { width: 32px; height: 32px; border-radius: 8px; }
  .stat-card p { font-size: .625rem; line-height: 1.7; }
  .welcome-banner { padding: 25px 22px; min-height: 260px; }
  .welcome-copy h2 { font-size: 1.5rem; }
  .welcome-copy p { max-width: 255px; line-height: 1.8; }
  .banner-art { display: none; }
  .dashboard-locations { display: block; }
  .dashboard-location { align-items: center; padding: 21px 0; gap: 17px; }
  .dashboard-location + .dashboard-location { border-top: 1px solid #f0f3ef; }
  .location-illustration { width: 70px; height: 75px; }
  .dashboard-location h3 { font-size: .875rem; }
  .dashboard-location p { font-size: .75rem; }
  .foundation-note { align-items: flex-start; padding: 15px; }
  .foundation-note > .badge { display: none; }
  .foundation-note p { font-size: .6875rem; line-height: 1.8; }
  .app-footer { flex-direction: column; margin: 0 18px; gap: 5px; font-size: .625rem; }
  .catalog-layout { display: block; }
  .category-sidebar { margin-bottom: 22px; padding: 15px 12px 11px; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto; border-radius: 10px; }
  .category-sidebar-heading, .category-filter-divider, .category-sidebar-footer { display: none; }
  .category-filter { white-space: nowrap; padding: 8px 10px; margin: 0; font-size: .75rem; gap: 7px; }
  .category-filter b { margin-left: 5px; }
  .catalog-toolbar { margin-bottom: 24px; gap: 12px; }
  .catalog-total { width: 100%; font-size: .75rem; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .button-small { font-size: .75rem; flex: 1; }
  .product-grid { gap: 10px; }
  .product-card { padding: 15px 13px 0; min-height: 190px; }
  .product-card h3 { font-size: .8125rem; line-height: 1.65; }
  .product-category { font-size: .625rem; }
  .product-meta { font-size: .625rem; gap: 7px; }
  .product-grip { display: none !important; }
  .pending-meta { font-size: .5625rem; }
  .section-grid > .stack { display: flex; }
  .category-sort-list { padding: 0 15px; }
  .category-sort-row { gap: 9px; padding: 16px 0; }
  .category-sort-row .icon-circle { display: none; }
  .category-sort-name a { font-size: .8125rem; }
  .category-sort-name small { font-size: .625rem; }
  .category-sort-row > .badge { font-size: .5625rem; }
  .category-sort-row > .button { width: 27px; padding: 4px; }
  .category-sort-row > .button .icon { width: 15px; height: 15px; }
  .form-content, .panel-body { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .input-action { flex-wrap: wrap; }
  .input-action .button { width: 100%; }
  .inline-category { padding: 15px; }
  .inline-category > div { flex-wrap: wrap; }
  .inline-category .badge { margin-left: 0; }
  .form-actions { padding: 18px 20px; }
  .form-actions > .button { flex: 1; }
  .company-summary { padding: 22px; flex-wrap: wrap; gap: 13px; }
  .company-summary > .icon-circle { width: 43px; height: 43px; }
  .company-identity h2 { font-size: 1rem; }
  .company-summary > .badge { margin-left: 56px; }
  .company-bottom { padding: 18px 22px; align-items: flex-start; flex-direction: column; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card { padding: 22px; }
  .location-card-top { margin-bottom: 20px; }
  .detail-row { font-size: .8125rem; }
  .role-grid { grid-template-columns: 1fr; gap: 13px; }
  .role-card { padding: 21px; }
  .role-card-top { margin-bottom: 14px; }
  .role-card .muted { font-size: .8125rem; }
  .role-card-top .badge { font-size: .6875rem; }
  .table-wrap { border-radius: 0 0 var(--radius) var(--radius); }
  .data-table { min-width: 650px; }
  .journal-table { min-width: 780px; }
  .journal-summary { padding: 22px; gap: 13px; flex-wrap: wrap; }
  .journal-summary > .icon-circle { width: 40px; height: 40px; }
  .journal-summary > div:nth-child(2) { flex: 1; }
  .journal-summary-count { margin-left: 53px; text-align: left; }
  .journal-summary h2 { font-size: 1rem; }
  .journal-summary .muted { font-size: .75rem; }
  .settings-panel > .panel-header { flex-wrap: wrap; }
  .settings-panel > .panel-header > .badge { margin-left: 51px; }
  .settings-rule { align-items: flex-start; }
  .settings-rule .badge { font-size: .625rem; }
  .panel-title-with-icon .muted { font-size: .6875rem; }
  .login-story { padding: 25px 27px; }
  .login-story-content h1 { font-size: 2rem; }
  .login-story-content > p { font-size: .75rem; }
  .login-main { padding: 20px 27px 25px; }
  .login-form-wrap { padding-top: 28px; }
  .login-form { margin-top: 25px; }
  .login-demo-note p, .login-demo-note strong { font-size: .75rem; }
}
.nav-link, .category-filter, .form-label, .form-input, .form-select, .product-card h3, .product-meta, .toolbar-actions .button-small, .data-table, .data-table th, .detail-row, .person-cell strong, .event-cell strong, .username, .login-form .form-label, .login-submit, .input-with-icon .form-input { font-size: .875rem; }
.product-meta { gap: 9px; flex-wrap: wrap; }
.pending-meta { font-size: .75rem; }
.stat-card p, .dashboard-location p, .category-sort-name small, .cell-subtext, .login-subtitle, .login-demo-note, .login-demo-note strong, .login-demo-note p, .form-hint, .foundation-note p { color: var(--muted); }
.login-subtitle, .login-demo-note p, .login-demo-note strong { font-size: .875rem; }
.login-story-content > p { color: #c2d7c8; }
.login-bottom, .app-footer, .catalog-footnote { color: var(--muted); }
@media (max-width: 780px) {
  .sidebar { visibility: hidden; }
  body.menu-open .sidebar { visibility: visible; }
}
@media (max-width: 580px) {
  .toolbar-actions .button-small { font-size: .8125rem; }
  .product-meta { font-size: .75rem; }
  .category-filter { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Live workspace */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 24px; padding: 15px 18px; border: 1px solid; border-radius: 9px; font-size: .875rem; }
.alert-error { background: #fff0ed; color: #8b3025; border-color: #f1c8c0; }
.alert-success { background: #eaf5ed; color: #205c3a; border-color: #c8e4d0; }
.sidebar-user form { margin-left: auto; }
.row-actions { display: flex; align-items: center; gap: 5px; }
.form-panel { margin-top: 28px; scroll-margin-top: 20px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 24px; margin-top: 30px; }
.location-grid + .company-panel { margin-top: 30px; }
.small-icon { height: 22px; width: 22px; background: transparent; }
.location-chip { display: inline-flex; align-items: center; gap: 5px; margin: 3px 6px 3px 0; padding: 5px 8px; border-radius: 6px; background: #edf3ee; font-size: .8125rem; }
.location-chip .icon { width: 14px; height: 14px; }
.location-picker { border: 0; padding: 0; margin: 26px 0 0; }
.location-picker legend { font-size: .875rem; font-weight: 600; padding: 0; }
.location-picker-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.location-choice { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); background: #fafcf9; border-radius: 9px; padding: 16px; cursor: pointer; }
.location-choice:has(input:checked) { background: #eaf4ed; border-color: #79a88b; }
.location-choice input { width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.location-choice strong { font-size: .875rem; }
.location-choice small { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; }
.catalog-actionbar { display: flex; gap: 14px; align-items: center; padding: 17px 20px; margin-bottom: 28px; }
.catalog-actionbar > span { font-size: .875rem; white-space: nowrap; margin-right: auto; }
.catalog-actionbar .form-select { max-width: 280px; }
.product-card { cursor: pointer; }
.product-card.is-selected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: #fbfefa; }
.product-card:focus-within { outline: 2px solid #8bb99c; outline-offset: 3px; }
.card-tick { display: flex; cursor: pointer; }
.product-check { appearance: none; width: 21px; height: 21px; border: 1px solid #9aaa9e; border-radius: 50%; margin: 0; display: grid; place-content: center; cursor: pointer; background: white; }
.product-check:checked { background: var(--green); border-color: var(--green); }
.product-check:checked::after { content: ''; width: 4px; height: 8px; margin-top: -2px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.product-card-actions { display: flex; align-items: center; gap: 5px; padding: 7px 0 10px; }
.product-card-actions form { margin-left: auto; }
.is-dragging { opacity: .55; }
.sort-up .icon { transform: rotate(-90deg); }
.sort-down .icon { transform: rotate(90deg); }
.category-sort-row > .category-sort-name { min-width: 0; overflow-wrap: anywhere; }
.empty-cell { padding: 45px 24px !important; text-align: center; color: var(--muted); }
#product-form, #category-form, #company-form, #location-form, #user-form { scroll-margin-top: 24px; }
.mode-picker { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border: 1px solid var(--line); margin: 0 0 25px; }
.mode-picker legend { padding: 0 8px; font-weight: 600; font-size: .875rem; }
.mode-choice { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.mode-choice:has(input:checked) { border-color: #79a88b; background: #f0f7f0; }
.mode-choice input { accent-color: var(--green); width: 17px; height: 17px; flex-shrink: 0; }
.mode-choice > .icon { color: var(--green); }
.mode-choice strong { font-size: .875rem; }
.mode-choice small { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; }
.wizard-progress { margin-bottom: 22px; scroll-margin-top: 18px; }
.wizard-progress > div { display: flex; align-items: center; gap: 14px; font-size: .875rem; margin-bottom: 10px; }
.wizard-progress strong { color: var(--green); }
.wizard-progress span { color: var(--muted); }
.wizard-progress progress { width: 100%; height: 7px; accent-color: var(--green); border: 0; border-radius: 5px; overflow: hidden; background: #e6ede6; }
.wizard-progress progress::-webkit-progress-bar { background: #e6ede6; }
.wizard-progress progress::-webkit-progress-value { background: var(--green); }
.sheet-step { margin-bottom: 24px; }
.sheet-products { padding: 0 24px; }
.sheet-product-row { display: grid; grid-template-columns: minmax(170px,1.6fr) repeat(2,minmax(110px,1fr)) repeat(2,minmax(100px,.8fr)); align-items: start; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sheet-product-row:last-child { border-bottom: 0; }
.sheet-product-name { align-self: center; font-size: .875rem; }
.sheet-product-name .badge { display: block; width: fit-content; margin-top: 7px; }
.sheet-product-row .form-label { min-height: 35px; font-size: .8125rem; font-weight: 500; }
.sheet-product-row .form-input { min-height: 44px; font-size: 1rem; }
.sheet-text-field { grid-column: span 2; }
.sheet-form-navigation, .review-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.sheet-form-navigation > span { margin-left: auto; font-size: .8125rem; }
.sheet-summary-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 25px; padding: 26px; border-bottom: 1px solid var(--line); }
.sheet-summary-grid > div > span { display: block; font-size: .75rem; color: var(--muted); margin: 0 0 5px; }
.sheet-summary-grid > div > strong { display: block; font-size: .875rem; margin-bottom: 8px; }
.sheet-summary-grid small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.7; }
.sheet-table { min-width: 850px; }
.sheet-table th { white-space: normal; }
.sheet-table td, .sheet-table th { padding: 14px 17px; }
.sheet-table td:nth-child(5) { max-width: 260px; overflow-wrap: anywhere; }
.sheet-table tfoot { background: #f1f6f0; font-weight: 600; }
.number-cell { font-variant-numeric: tabular-nums; text-align: right; }
.document-reference { margin-bottom: 20px; }
.review-actions { padding-bottom: 10px; }
.print-body { background: #eef1ed; color: #000; }
.print-toolbar { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 20px; }
.print-document { background: white; padding: 16px; width: 1120px; max-width: calc(100% - 30px); margin: 0 auto 30px; box-shadow: 0 4px 25px #00000012; font-family: Arial, sans-serif; font-size: 11px; }
.print-document-header { display: grid; grid-template-columns: 1fr 1.4fr 1fr; border: 1px solid #222; }
.print-document-header > div { padding: 8px; line-height: 1.7; }
.print-document-header > div + div { border-left: 1px solid #222; }
.print-title { text-align: center; }
.print-title h1 { font-size: 16px; line-height: 1.3; margin-bottom: 3px; }
.print-authorization, .print-details, .print-destination { border: 1px solid #222; border-top: 0; padding: 7px 8px; }
.print-details { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.print-table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 10px; }
.print-table th, .print-table td { border: 1px solid #333; padding: 3px 5px; line-height: 1.35; vertical-align: middle; overflow-wrap: anywhere; }
.print-table th { font-size: 9px; font-style: italic; text-align: center; }
.print-table th:nth-child(1) { width: 13%; }
.print-table th:nth-child(2) { width: 25%; }
.print-table th:nth-child(3), .print-table th:nth-child(4) { width: 10%; }
.print-table td:nth-child(n+3) { text-align: center; }
.print-table thead { display: table-header-group; }
.print-table tr { break-inside: avoid; }
.print-signatures { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 18px; font-size: 10px; }
@media (max-width: 1180px) { .sheet-product-row { grid-template-columns: minmax(170px,1.3fr) repeat(2,minmax(100px,1fr)); } .sheet-default { grid-column: auto; } .sheet-product-name { grid-column: 1 / -1; } .sheet-summary-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .admin-form-grid { grid-template-columns: 1fr; } .mode-picker { padding: 18px; } .mode-choice { gap: 9px; padding: 14px; } .mode-choice > .icon { display: none; } }
@media (max-width: 580px) { .catalog-actionbar { flex-wrap: wrap; padding: 16px; } .catalog-actionbar > span, .catalog-actionbar .form-select, .catalog-actionbar > .button { max-width: none; width: 100%; } .product-card-actions { flex-wrap: wrap; gap: 1px; } .product-card-actions .button-icon { width: 28px; padding: 5px; } .product-section-heading { align-items: flex-start; flex-wrap: wrap; } .mode-picker { grid-template-columns: 1fr; gap: 10px; } .location-picker-grid { grid-template-columns: 1fr; } .sheet-products { padding: 0 18px; } .sheet-product-row { grid-template-columns: 1fr 1fr; gap: 15px; } .sheet-product-name { grid-column: 1/-1; } .sheet-text-field { grid-column: 1/-1; } .sheet-product-row .form-label { min-height: 36px; font-size: .8125rem; } .sheet-form-navigation, .review-actions { flex-wrap: wrap; } .sheet-form-navigation > span { order: -1; flex-basis: 100%; margin-left: 0; } .sheet-form-navigation > button { flex: 1; } .review-actions > form { width: 100%; } .review-actions .button { width: 100%; } .sheet-summary-grid { padding: 20px; gap: 20px; } .sheet-summary-grid > div:nth-child(-n+2) { grid-column: 1/-1; } .print-document { max-width: none; } .print-body { overflow-x: auto; } }
@page { size: A4 landscape; margin: 9mm; }
@media print { .print-body { background: white; } .print-toolbar { display: none; } .print-document { width: auto; max-width: none; margin: 0; padding: 0; box-shadow: none; font-size: 9px; } .print-table { font-size: 8px; } .print-table th { font-size: 8px; } .print-table th, .print-table td { padding: 2px 4px; } .print-title h1 { font-size: 13px; } .print-document-header > div { padding: 4px 6px; } .print-authorization, .print-details, .print-destination { padding: 4px 6px; } .print-signatures { font-size: 8px; margin-top: 10px; } }
.language-switch form { display: flex; gap: 2px; }
.language-switch button { border: 0; background: transparent; padding: 4px 8px; color: var(--muted); font-size: .6875rem; font-weight: 650; border-radius: 4px; }
.language-switch button.selected { background: white; color: var(--green); box-shadow: 0 1px 4px #0e3b1714; }
