@charset "UTF-8";

:root {
    --ink: #292e2c;
    --ink-soft: #606963;
    --muted: #68756b;
    --navy: #242827;
    --navy-deep: #1b1f1e;
    --teal: #bc3329;
    --teal-dark: #a62b22;
    --mint: #f1cc68;
    --canvas: #f5f3ee;
    --surface: #fff;
    --line: #e5e9e4;
    --line-dark: #d5dcd5;
    --radius: 12px;
    --sidebar-width: 248px;
    --shadow: 0 2px 5px #183b2c03, 0 6px 20px #183b2c03;
    font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid #62a992; }
button:disabled { cursor: not-allowed; }
button .icon, a .icon { flex-shrink: 0; }
svg { vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; }
h1 { font-size: clamp(27px, 2.35vw, 36px); line-height: 1.18; letter-spacing: -.045em; }
h2 { font-size: 17px; line-height: 1.35; letter-spacing: -.025em; }
h3 { font-size: 15px; line-height: 1.4; letter-spacing: -.015em; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.muted { color: var(--muted); }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; letter-spacing: .015em; }
.tabular { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; background: #fff; padding: 12px 20px; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; color: var(--teal); font-size: 10px; font-weight: 750; letter-spacing: .14em; line-height: 1.5; }
.eyebrow-light { color: var(--mint); }
.heading-dot { color: var(--teal); }

/* Navigation and persistent frame */
.app-body { background: var(--canvas); }
.sidebar { width: var(--sidebar-width); position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; background: var(--navy); color: #e8f0ec; padding: 33px 20px 0; }
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; margin-left: 9px; }
.brand-symbol { width: 39px; height: 39px; border: 1px solid #97c0b038; border-radius: 10px; display: grid; place-items: center; color: var(--mint); }
.brand-symbol svg { width: 30px; height: 30px; }
.brand-name { display: block; font-size: 10px; font-weight: 700; letter-spacing: .22em; color: #c1d5cc; line-height: 1.3; }
.brand-product { display: flex; align-items: center; font-size: 23px; font-weight: 600; letter-spacing: -.035em; line-height: 1.4; color: #fff; }
.brand-dot { width: 5px; height: 5px; display: inline-block; background: var(--mint); border-radius: 50%; margin: 8px 0 0 3px; }
.sidebar-section-label { font-size: 9px; letter-spacing: .125em; font-weight: 650; color: #8aa39f; padding: 0 13px; margin: 47px 0 14px; }
.nav-list { display: flex; flex-direction: column; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border: 1px solid transparent; border-radius: 8px; color: #b7c8c6; font-size: 13px; font-weight: 500; transition: background .15s, color .15s; }
.nav-item .icon { width: 19px; height: 19px; opacity: .8; }
.nav-item:hover { background: #ffffff08; color: #fff; }
.nav-item.is-active { color: #eafff4; border-color: #88c7b128; background: #76b69b19; }
.nav-item.is-active .icon { color: #a8e4cc; opacity: 1; }
.nav-item.is-active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #a8e4cc; margin-left: auto; }
.nav-section-gap { margin-top: 26px; margin-bottom: 8px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-context { display: flex; align-items: flex-start; gap: 9px; margin: 26px 13px 23px; color: #b2c8be; font-size: 11px; }
.sidebar-context .live-dot { margin-top: 5px; }
.sidebar-context small { display: block; color: #829d95; font-size: 10px; margin-top: 3px; }
.live-dot { height: 6px; width: 6px; background: #95d6b2; border-radius: 50%; flex-shrink: 0; }
.sidebar-user { display: flex; align-items: center; gap: 10px; border-top: 1px solid #d1e6dc14; margin: 0 -20px; padding: 20px 21px; background: #071a221f; }
.sidebar-user-text { flex: 1; min-width: 0; }
.sidebar-user-text strong, .sidebar-user-text span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-text strong { font-size: 11px; font-weight: 550; color: #e7eee9; }
.sidebar-user-text span { color: #92aaa2; font-size: 10px; margin-top: 3px; }
.sidebar-user form { display: flex; }
.avatar { display: inline-grid; place-items: center; font-size: 11px; font-weight: 650; width: 35px; height: 35px; border-radius: 50%; flex-shrink: 0; }
.avatar-sidebar { background: #b0d4c320; color: #b6e5ce; border: 1px solid #b0d4c325; }
.avatar-table { background: #edf1ed; color: #4d6d5d; font-size: 11px; }
.avatar-heading { width: 53px; height: 53px; background: #e3efe7; color: var(--teal); font-size: 17px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 7px; border: 0; color: var(--ink-soft); background: transparent; border-radius: 6px; }
.icon-button:hover { background: #183b2c08; color: var(--ink); }
.logout-button { color: #94aaa2; padding: 5px; }
.logout-button:hover { background: #ffffff0d; color: #fff; }
.logout-button .icon { width: 17px; height: 17px; }
.app-shell { margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; height: 75px; padding: 0 38px; background: #ffffffaa; border-bottom: 1px solid var(--line); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 23px; }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: #8e9a9c; font-size: 11px; }
.breadcrumb > .icon { height: 12px; width: 12px; color: #adb8b4; }
.breadcrumb > span { color: #465b61; font-weight: 550; }
.environment-badge { background: #eef1ec; border: 1px solid #e3e8df; color: #68796b; font-size: 10px; border-radius: 5px; padding: 4px 8px; }
.account-link { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--ink-soft); }
.account-link .icon { width: 16px; height: 16px; }
.account-link:hover, .account-link.is-active { color: var(--teal); }
.menu-toggle { display: none; }
.main-content { width: 100%; max-width: 1620px; margin: 0 auto; padding: 37px 38px 42px; outline: none; flex: 1; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 28px; }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading p { margin-top: 11px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.app-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 19px 38px 22px; margin-top: 7px; border-top: 1px solid var(--line); color: #627166; font-size: 10px; }
.app-footer > :first-child { color: #627166; font-weight: 550; }

/* Controls */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; padding: 11px 17px; min-height: 42px; line-height: 1.4; white-space: nowrap; transition: background .15s, box-shadow .15s, border-color .15s; }
.button .icon { width: 16px; height: 16px; }
.button-primary { background: var(--teal); color: #fff; box-shadow: 0 2px 3px #0d44320c; }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 3px 8px #10564218; }
.button-secondary { background: #fff; border-color: var(--line-dark); color: #465b50; }
.button-secondary:hover { background: #f4f7f1; border-color: #bcc8bd; }
.button-small { min-height: 36px; padding: 8px 12px; font-size: 11px; }
.button-full { width: 100%; }
.button-group { display: flex; align-items: center; gap: 8px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-size: 11px; font-weight: 600; white-space: nowrap; }
.text-link .icon { width: 15px; height: 15px; }
.text-link:hover { color: #0e4634; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #627166; margin-bottom: 19px; }
.back-link .icon { width: 14px; height: 14px; }
.back-link:hover { color: var(--teal); }
.badge { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 4px 8px; border-radius: 5px; font-size: 10px; font-weight: 550; }
.dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.dot-teal { background: #489f7c; }
.badge-success, .badge-resolved { background: #edf6ee; color: #3d7c52; }
.badge-muted, .badge-ignored { background: #eff1ed; color: #627166; }
.badge-open { background: #fff1df; color: #627166; }
.badge-in_review { background: #e9f0fa; color: #4a70a4; }
.count-pill { display: inline-grid; place-items: center; min-width: 24px; height: 23px; padding: 0 7px; border-radius: 6px; background: #f0f3ed; color: #627166; font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.role-badge { display: inline-flex; white-space: nowrap; padding: 4px 8px; border: 1px solid #e1e6df; border-radius: 5px; color: #65755c; font-size: 10px; font-weight: 550; background: #f6f8f3; }
.role-superadmin { background: #eaf1ed; color: #3e6755; border-color: #d9e8de; }
.role-zone_manager { background: #edf0f8; color: #5c6a9b; border-color: #e0e4f2; }
.role-accountant { background: #fcf2e7; color: #627166; border-color: #f1e6d8; }
.role-shop_manager { background: #eaf4f3; color: #3c7971; border-color: #dceae8; }

/* Panels and overview */
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 25px 26px 22px; }
.panel-heading .eyebrow { font-size: 9px; margin-bottom: 6px; color: #627166; }
.panel-heading h2 { font-size: 17px; }
.subtle-icon { color: #627166; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-bottom: 25px; }
.stat-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 21px 23px 17px; min-width: 0; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
a.stat-card:hover { border-color: #b8cfc1; box-shadow: 0 5px 20px #244b3610; }
.stat-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #627166; font-size: 11px; font-weight: 500; }
.stat-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #627166; background: #edf5ee; }
.stat-icon .icon { width: 17px; height: 17px; }
.stat-icon-blue { color: #627166; background: #eff3f9; }
.stat-icon-amber { color: #627166; background: #fff4e5; }
.stat-value { font-size: 38px; font-weight: 550; letter-spacing: -.06em; line-height: 1.3; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.stat-value-role { font-size: 24px; line-height: 1.65; letter-spacing: -.035em; }
.stat-description { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #627166; }
.stat-arrow { margin-left: auto; color: #627166; }
.stat-arrow .icon { width: 15px; height: 15px; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,1fr); align-items: stretch; gap: 22px; margin-bottom: 25px; }
.shop-preview-list { padding: 0 24px 10px; }
.shop-preview { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid #eef1eb; }
.shop-preview:hover .shop-preview-body strong { color: var(--teal); }
.shop-tile { display: inline-grid; place-items: center; color: #627166; width: 39px; height: 39px; background: #f0f5ed; border: 1px solid #e7eee2; border-radius: 9px; flex-shrink: 0; }
.shop-tile-small { width: 34px; height: 34px; border-radius: 7px; }
.shop-tile-small .icon { width: 17px; height: 17px; }
.shop-preview-body { flex: 1; min-width: 0; }
.shop-preview-body strong { display: block; font-size: 12px; font-weight: 600; }
.shop-preview-body > span { display: block; font-size: 10px; color: #627166; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-preview-meta { text-align: right; }
.shop-preview-meta > small { font-size: 8px; font-weight: 550; color: #627166; letter-spacing: .04em; display: block; margin-bottom: 4px; }
.shop-preview > .icon { height: 14px; width: 14px; margin-left: 0; }
.activity-list { margin: 0; padding: 2px 26px 10px; list-style: none; }
.activity-list li { display: flex; gap: 13px; padding-bottom: 21px; position: relative; }
.activity-list li::before { content: ""; background: #e4eae0; position: absolute; top: 13px; bottom: 0; left: 4px; width: 1px; }
.activity-list li:last-child::before { display: none; }
.activity-marker { height: 9px; width: 9px; background: #e3ede0; border: 2px solid #a5b8a0; border-radius: 50%; flex-shrink: 0; margin-top: 4px; position: relative; }
.activity-list strong { font-size: 11px; font-weight: 550; display: block; }
.activity-list p { font-size: 10px; color: #627166; margin-top: 2px; }
.activity-list time { display: block; font-size: 9px; color: #627166; margin-top: 4px; }
.roadmap-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; border: 1px solid #dce5d9; border-radius: var(--radius); background: #edf2e9; padding: 27px 29px; }
.roadmap-intro .eyebrow { font-size: 9px; color: #627166; margin-bottom: 8px; }
.roadmap-intro h2 { font-size: 21px; letter-spacing: -.04em; color: #37573c; }
.roadmap-intro p { font-size: 11px; line-height: 1.75; color: #627166; margin-top: 9px; max-width: 440px; }
.roadmap-items { display: flex; flex-direction: column; gap: 0; }
.roadmap-items > span { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #627166; padding: 11px 0; }
.roadmap-items > span + span { border-top: 1px solid #dce5d6; }
.roadmap-items .icon { width: 17px; height: 17px; color: #627166; }
.roadmap-items small { margin-left: auto; padding: 3px 7px; border: 1px solid #d8e1d1; border-radius: 4px; font-size: 8px; color: #627166; }

/* Tables and searchable directories */
.table-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 21px 23px; }
.table-title { display: flex; align-items: center; gap: 10px; }
.table-title h2 { font-size: 15px; }
.filter-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-input { position: relative; }
.search-input > .icon { position: absolute; top: 11px; left: 12px; width: 15px; height: 15px; color: #627166; pointer-events: none; }
.filter-form input, .filter-form select { font-size: 10px; height: 37px; padding-top: 7px; padding-bottom: 7px; }
.filter-form .search-input input { padding-left: 35px; width: 245px; }
.filter-form select { width: 142px; }
.clear-filter { color: #627166; font-size: 10px; margin-left: 3px; text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c7d2c3 transparent; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafbf8; color: #627166; font-size: 9px; letter-spacing: .035em; font-weight: 600; padding: 13px 17px; }
td { border-bottom: 1px solid #edf0e9; padding: 17px; font-size: 11px; color: #63725e; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 23px; }
th:last-child, td:last-child { padding-right: 23px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .1s; }
tbody tr:hover { background: #fcfdf9; }
.entity-cell { display: flex; align-items: center; gap: 11px; min-width: 180px; }
.table-link { font-size: 12px; font-weight: 600; color: #344b39; }
.table-link:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.cell-secondary { display: block; color: #627166; font-size: 10px; margin-top: 3px; max-width: 270px; overflow: hidden; text-overflow: ellipsis; }
.cell-end { text-align: right; }
.cell-number { text-align: right; }
.row-action { display: inline-grid; width: 29px; height: 29px; border: 1px solid #e6ebe0; color: #627166; border-radius: 6px; place-items: center; }
.row-action:hover { color: var(--teal); background: #edf4e9; border-color: #cdddc4; }
.row-action .icon { width: 14px; height: 14px; }
.shop-assignment-cell { white-space: normal; min-width: 140px; max-width: 230px; font-size: 10px; line-height: 1.6; }
.all-shops { display: flex; align-items: center; gap: 5px; font-size: 10px; }
.all-shops .icon { width: 12px; height: 12px; color: #627166; }
.self-badge { margin-left: 4px; color: #627166; font-size: 8px; padding: 1px 4px; border-radius: 3px; background: #eff4e9; }
.date-cell { font-size: 10px; color: #627166; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pagination { border-top: 1px solid var(--line); padding: 16px 23px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.pagination > span { font-size: 10px; color: #627166; }
.page-footnote { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #627166; margin-top: 17px; }
.page-footnote .icon { width: 14px; height: 14px; }
.info-strip { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 17px 20px; background: #edf1e8; border: 1px solid #e1e8da; border-radius: 8px; color: #627166; }
.info-strip > .icon { width: 17px; height: 17px; color: #627166; margin-top: 1px; }
.info-strip p { font-size: 10px; line-height: 1.7; }
.info-strip strong { color: #627166; font-weight: 550; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0,1fr) 288px; gap: 24px; align-items: start; }
.form-primary { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.form-aside { display: flex; flex-direction: column; gap: 22px; min-width: 0; position: sticky; top: 24px; }
.form-panel { padding: 25px 27px; }
.section-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.section-heading > div { flex: 1; }
.section-heading h2 { font-size: 15px; margin-top: 1px; }
.section-heading p, .panel-description { font-size: 11px; color: #627166; line-height: 1.7; margin-top: 5px; }
.section-icon { display: inline-grid; place-items: center; background: #f1f5ed; border: 1px solid #e7eee0; color: #627166; width: 33px; height: 33px; flex-shrink: 0; border-radius: 8px; }
.section-icon .icon { width: 16px; height: 16px; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; row-gap: 19px; }
.span-two { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.field + .field { margin-top: 20px; }
.field-grid > .field + .field { margin-top: 0; }
label, .field > label { font-size: 11px; font-weight: 550; color: #596d4d; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { width: 100%; min-height: 42px; border: 1px solid #dfe6d8; border-radius: 6px; padding: 10px 12px; color: #405737; background: #fff; font-size: 12px; line-height: 1.4; transition: border-color .12s, box-shadow .12s; }
input::placeholder, textarea::placeholder { color: #627166; font-size: 11px; }
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: #becbb4; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: #72a58b; box-shadow: 0 0 0 3px #73a78916; }
input:disabled, select:disabled, textarea:disabled { background: #f8faf5 !important; color: #7e8f71 !important; cursor: default; opacity: 1; -webkit-text-fill-color: #7e8f71; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b9b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 33px; }
textarea { resize: vertical; min-height: 82px; }
input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--teal); flex-shrink: 0; cursor: pointer; }
.required-mark { color: #627166; font-weight: 600; }
.field-hint { color: #627166; font-size: 10px; line-height: 1.7; }
.unit-input { position: relative; }
.unit-input input { padding-right: 42px !important; }
.unit-input > span { position: absolute; right: 13px; top: 12px; font-size: 11px; color: #627166; pointer-events: none; }
.switch-row { position: relative; display: flex; align-items: center; gap: 15px; justify-content: space-between; border-top: 1px solid #e9eee1; margin-top: 20px; padding-top: 19px; cursor: pointer; }
.switch-row > span:first-child { flex: 1; }
.switch-row strong { display: block; font-size: 11px; font-weight: 550; }
.switch-row small { display: block; margin-top: 3px; font-size: 9px; color: #627166; font-weight: 400; }
.switch-row input { position: absolute; opacity: 0; right: 0; width: 34px; height: 20px; z-index: 1; }
.switch-control { width: 32px; height: 19px; background: #d6dfcd; border-radius: 15px; position: relative; flex-shrink: 0; transition: background .15s; }
.switch-control::after { content: ""; position: absolute; left: 3px; top: 3px; background: #fff; width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 1px 2px #13281225; transition: transform .15s; }
.switch-row input:checked + .switch-control { background: var(--teal); }
.switch-row input:checked + .switch-control::after { transform: translateX(13px); }
.switch-row input:focus-visible + .switch-control { outline: 3px solid #6a9f7f; outline-offset: 4px; }
.switch-row input:disabled + .switch-control { opacity: .6; }
.aside-note { display: flex; gap: 11px; padding: 0 8px; }
.aside-note > .icon { width: 17px; height: 17px; color: #627166; margin-top: 2px; }
.aside-note strong { display: block; font-size: 11px; color: #627166; font-weight: 550; }
.aside-note p { color: #627166; font-size: 10px; line-height: 1.8; margin-top: 4px; }
.form-actions { border-top: 1px solid #e0e6d9; padding-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.form-actions small { text-align: center; font-size: 9px; color: #627166; margin-top: 4px; }
.password-input { position: relative; }
.password-input input { padding-right: 43px !important; }
.password-toggle { position: absolute; right: 6px; top: 5px; color: #627166; }
.password-toggle .icon { width: 17px; height: 17px; }
.role-explainer { margin-top: 13px; }
.role-explainer > p { display: flex; gap: 8px; padding: 10px 12px; background: #f6f8f1; border-radius: 5px; font-size: 10px; line-height: 1.7; color: #627166; }
.role-explainer .icon { width: 14px; height: 14px; margin-top: 2px; }
.assignment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.assignment-option { display: flex; align-items: center; gap: 9px; padding: 13px 12px; border: 1px solid #e3e9da; border-radius: 7px; cursor: pointer; font-weight: 400; transition: background .1s, border-color .1s; }
.assignment-option:hover { border-color: #c0d1af; }
.assignment-option:has(input:checked) { border-color: #a5c8ab; background: #f2f7ee; }
.assignment-text { flex: 1; min-width: 0; }
.assignment-text strong { display: block; font-size: 10px; font-weight: 550; color: #627166; }
.assignment-text small { display: block; font-size: 9px; color: #627166; margin-top: 3px; }
.assignment-option > .icon { width: 15px; height: 15px; color: #627166; }
.superadmin-scope { display: flex; align-items: center; gap: 10px; color: #627166; padding: 12px 15px; background: #f3f7ed; border: 1px solid #e5edd9; border-radius: 6px; }
.superadmin-scope p { font-size: 11px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-top: 19px; font-size: 10px; font-weight: 400; }
.inline-empty { display: flex; gap: 10px; align-items: center; padding: 20px; border: 1px dashed #dce6d0; background: #fafcf6; border-radius: 6px; color: #627166; }
.inline-empty p { font-size: 11px; line-height: 1.7; }
.inline-empty > .icon { color: #627166; }
.password-layout { max-width: 1000px; }
.password-form { max-width: 520px; }
.inline-form-actions { border-top: 1px solid #e8efdf; padding-top: 22px; margin-top: 25px; }
.account-summary { text-align: center; padding: 27px 18px; }
.account-summary h2 { font-size: 14px; margin-top: 14px; }
.account-summary p { font-size: 10px; color: #627166; margin: 5px 0 13px; overflow-wrap: anywhere; }

/* Empty states, feedback and error diagnostics */
.empty-state { padding: 55px 25px 58px; display: flex; align-items: center; flex-direction: column; text-align: center; }
.empty-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border: 1px solid #e4ebdc; color: #627166; background: #f4f7ef; border-radius: 16px; margin-bottom: 18px; }
.empty-icon .icon { width: 25px; height: 25px; }
.empty-icon-success { color: #627166; background: #eef6e8; border-color: #deecd4; }
.empty-state h3 { font-size: 15px; color: #536e40; }
.empty-state p { font-size: 11px; line-height: 1.8; color: #627166; max-width: 350px; margin-top: 8px; }
.empty-state .button { margin-top: 22px; }
.empty-state-compact { padding: 35px 24px 42px; }
.empty-state-compact .empty-icon { height: 47px; width: 47px; border-radius: 13px; margin-bottom: 14px; }
.empty-state-compact .empty-icon .icon { width: 21px; height: 21px; }
.empty-state-compact h3 { font-size: 13px; }
.empty-state-compact p { max-width: 260px; font-size: 10px; }
.notice { display: flex; align-items: flex-start; gap: 12px; border: 1px solid #d9e9d1; border-radius: 8px; color: #627166; background: #f1f8eb; padding: 16px 18px; margin-bottom: 23px; font-size: 12px; }
.notice strong { font-weight: 600; font-size: 12px; }
.notice p { font-size: 11px; margin-top: 3px; line-height: 1.7; }
.notice ul { margin: 7px 0 0; padding-left: 17px; font-size: 11px; line-height: 1.8; }
.notice-icon { margin-top: 1px; }
.notice-icon .icon { width: 18px; height: 18px; }
.notice-danger { background: #fdf1ec; color: #ae5b45; border-color: #f1dacf; }
.notice-warning { background: #fbf6e8; color: #627166; border-color: #ede4c3; }
.notice .text-link { margin-left: auto; margin-top: 4px; color: inherit; font-size: 10px; }
.monitoring-badge { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #627166; padding: 8px 11px; border-radius: 6px; border: 1px solid #dce7d0; background: #f1f6eb; }
.monitoring-badge .icon { width: 15px; height: 15px; }
.error-message { display: block; max-width: 320px; text-overflow: ellipsis; overflow: hidden; font-size: 11px; }
.module-tag { display: inline-block; padding: 3px 6px; font-size: 9px; border-radius: 4px; border: 1px solid #e5ebdc; background: #f7f9f2; color: #627166; }
.occurrence-count { font-size: 12px; color: #627166; }
.error-summary { padding: 25px 27px 0; }
.error-summary-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 25px; }
.error-summary-heading .eyebrow { color: #627166; font-size: 9px; margin-bottom: 5px; }
.error-summary-heading h2 { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; font-weight: 550; }
.error-summary-icon { display: grid; place-items: center; width: 36px; height: 36px; color: #627166; background: #fbf5e8; border-radius: 8px; flex-shrink: 0; }
.error-summary-icon .icon { width: 18px; height: 18px; }
.detail-grid { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; border-top: 1px solid #e9efde; padding: 17px 0 5px; }
.detail-grid > div { padding-bottom: 18px; }
.detail-grid dt { font-size: 9px; color: #627166; margin-bottom: 4px; }
.detail-grid dd { margin: 0; font-size: 11px; color: #627166; }
.diagnostic-event { border-top: 1px solid #e7eedb; }
.diagnostic-event summary { list-style: none; display: flex; align-items: center; gap: 11px; padding: 17px 24px; cursor: pointer; }
.diagnostic-event summary::-webkit-details-marker { display: none; }
.event-dot { width: 6px; height: 6px; background: #b4c4a0; border-radius: 50%; flex-shrink: 0; }
.diagnostic-event summary > span:nth-child(2) { flex: 1; }
.diagnostic-event summary strong { display: block; font-size: 10px; font-weight: 550; color: #627166; }
.diagnostic-event summary small { display: block; font-size: 9px; color: #627166; margin-top: 3px; }
.diagnostic-event summary > .icon { width: 14px; height: 14px; color: #627166; transition: transform .15s; }
.diagnostic-event[open] summary > .icon { transform: rotate(90deg); }
.diagnostic-content { padding: 0 24px 22px; }
.diagnostic-content h3 { font-size: 10px; color: #627166; margin: 18px 0 8px; font-weight: 550; }
.diagnostic-content > p { font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.diagnostic-code { padding: 16px; background: #f6f8f1; border: 1px solid #e7eedb; border-radius: 6px; font-size: 10px; line-height: 1.8; color: #627166; max-height: 360px; overflow: auto; white-space: pre-wrap; word-break: break-word; scrollbar-width: thin; margin: 0; }
.review-list { list-style: none; margin: 0; padding: 0 26px 10px; }
.review-list li { border-top: 1px solid #e7efda; padding: 17px 0; }
.review-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.review-heading strong { font-size: 10px; font-weight: 550; color: #627166; }
.review-list p { font-size: 11px; line-height: 1.8; color: #627166; margin-top: 10px; overflow-wrap: anywhere; }
.review-list time { color: #627166; font-size: 9px; display: block; margin-top: 9px; }
.review-empty { margin: 0 24px 24px; }
.error-page { text-align: center; padding: 65px 25px; max-width: 750px; margin: 30px auto; display: flex; align-items: center; flex-direction: column; }
.error-page h1 { font-size: 28px; margin-top: 10px; max-width: 500px; }
.error-page p { color: #627166; font-size: 12px; line-height: 1.8; margin-top: 15px; max-width: 450px; }
.error-page .button { margin-top: 27px; }
.error-reference { background: #f4f7ed; border: 1px solid #e4edd7; border-radius: 7px; padding: 13px 22px; margin-top: 22px; }
.error-reference small { display: block; font-size: 9px; color: #627166; margin-bottom: 3px; }
.error-reference strong { font-size: 12px; color: #627166; }

/* Sign in */
.login-body { background: #f6f7f3; }
.login-layout { display: grid; grid-template-columns: 48% 52%; min-height: 100vh; }
.login-story { position: relative; background: var(--navy); overflow: hidden; padding: 48px 10.5%; color: #fff; display: flex; flex-direction: column; min-height: 100vh; }
.login-brand { margin: 0; position: relative; z-index: 1; }
.login-story-content { position: relative; z-index: 1; margin: auto 0; padding: 68px 0 72px; }
.login-story-content .eyebrow { font-size: 9px; letter-spacing: .19em; color: #9ac4b0; margin-bottom: 26px; }
.login-story h1 { font-size: clamp(37px,3.45vw,58px); font-weight: 450; letter-spacing: -.05em; line-height: 1.15; }
.login-story h1 em { font-family: Georgia, "Times New Roman", serif; font-size: 1.01em; font-weight: 400; color: #acd6bf; letter-spacing: -.045em; }
.login-story-content > p { color: #9ab6a8; font-size: 12px; line-height: 1.95; margin-top: 27px; max-width: 320px; }
.login-feature-list { margin-top: 33px; display: flex; flex-direction: column; gap: 12px; }
.login-feature-list > span { display: flex; gap: 11px; align-items: center; color: #a9c3b5; font-size: 10px; }
.login-feature-list .icon { width: 15px; height: 15px; color: #7da48d; }
.login-story-footer { font-size: 9px; color: #7e9c8b; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.login-art { position: absolute; bottom: -160px; right: -220px; width: 540px; height: 540px; transform: rotate(-24deg); pointer-events: none; opacity: .45; }
.login-art > span { position: absolute; border: 1px solid #79ab8a18; border-radius: 42px; inset: 0; }
.login-art > span:nth-child(2) { inset: 42px; border-color: #79ab8a25; }
.login-art > span:nth-child(3) { inset: 84px; border-color: #79ab8a30; }
.login-art > span:nth-child(4) { inset: 126px; border-color: #79ab8a40; }
.login-art > span:nth-child(5) { inset: 168px; background: #6f9e7a0b; border-color: #79ab8a30; }
.login-panel { min-width: 0; display: flex; flex-direction: column; padding: 48px 11.5% 32px; }
.login-form-container { width: 100%; max-width: 365px; margin: auto; padding: 55px 0 60px; }
.login-form-container > .eyebrow { font-size: 9px; color: #93a57b; margin-bottom: 13px; }
.login-form-container > h2 { font-size: 29px; color: #30452d; letter-spacing: -.045em; }
.login-subtitle { font-size: 12px; line-height: 1.8; color: #95a380; margin-top: 12px; margin-bottom: 31px; }
.login-form .field + .field { margin-top: 23px; }
.login-form label { font-size: 11px; }
.login-form input:not([type="hidden"]) { background: #fdfefa; min-height: 45px; border-color: #dfe7d4; }
.login-form .password-toggle { top: 7px; }
.login-submit { margin-top: 31px; width: 100%; min-height: 45px; justify-content: space-between; font-size: 12px; padding: 13px 17px; }
.login-help { display: flex; gap: 9px; border-top: 1px solid #e2e9d8; margin-top: 29px; padding-top: 22px; color: #a3b28d; }
.login-help .icon { width: 14px; height: 14px; color: #a3b78c; margin-top: 2px; }
.login-help p { font-size: 9px; line-height: 1.9; }
.login-panel-footer { display: flex; gap: 15px; justify-content: space-between; font-size: 8px; color: #a5b390; white-space: nowrap; }
.login-panel-footer > span { color: #b0bc9d; }
.login-mobile-brand { display: none; }
.official-brand { flex-direction: column; align-items: flex-start; gap: 9px; margin-left: 0; width: 100%; }
.logo-plate { display: block; background: #fff; padding: 9px 12px; border-radius: 8px; border: 1px solid #e6e9e1; width: 100%; }
.official-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.official-brand .brand-product { font-size: 17px; letter-spacing: -.015em; padding-left: 2px; }
.sidebar-brand + .sidebar-section-label { margin-top: 29px; }
.login-brand { width: 265px; max-width: 100%; }
.login-brand .logo-plate { padding: 10px 16px; }
.login-brand .brand-product { font-size: 16px; }
.mobile-topbar-brand { display: none; }
.sidebar { background: var(--navy); }
.nav-item { color: #c0c5bd; }
.nav-item.is-active { color: #fff1e9; border-color: #df876434; background: #cb5d4225; }
.nav-item.is-active .icon { color: #ffb37b; }
.nav-item.is-active::after { background: #e7a664; }
.sidebar-section-label { color: #9ba496; }
.sidebar-context { color: #b8bfb0; }
.sidebar-context small { color: #9aa38f; }
.sidebar-context .live-dot { background: #e5b75e; }
.avatar-sidebar { color: #e6d8c0; background: #e8d8b91c; border-color: #e8d8b921; }
.sidebar-user-text span { color: #a6ae9e; }
.brand-product { color: #e6e6da; }
.heading-dot { color: var(--teal); }
.stat-icon { background: #faede7; color: #b9593d; }
.stat-icon-blue { background: #edf1f7; color: #637991; }
.stat-icon-amber { background: #fff2da; color: #a17d27; }
.stat-label { color: #6e756b; }
.stat-value { color: #2c342d; }
.shop-tile { background: #f6f2e9; border-color: #eae4d6; color: #9b815b; }
.section-icon { background: #f6f2ec; border-color: #ece5d9; color: #998469; }
.empty-icon { color: #a48461; background: #faf5ea; border-color: #eee3d1; }
.empty-icon-success { color: #74906a; background: #f1f6e9; border-color: #e3ecd7; }
.empty-state h3 { color: #52604c; }
.text-link:hover { color: #8d2a22; }
.button-secondary:hover { background: #faf7ef; border-color: #d1c8b8; }
.row-action:hover { background: #fcf0e6; border-color: #e8c7ad; color: var(--teal); }
.assignment-option:has(input:checked) { border-color: #cbb89a; background: #fcf7ee; }
.role-explainer > p, .superadmin-scope { background: #f8f5ef; border-color: #e9e1d5; }
.modules-note { display: flex; align-items: center; gap: 11px; padding: 17px 20px; border: 1px dashed #ded9cc; border-radius: 9px; background: #f7f4ed; color: #8a806b; }
.modules-note > .icon { width: 19px; height: 19px; color: #ad9370; }
.modules-note p { flex: 1; font-size: 10px; }
.modules-note strong { display: block; font-weight: 550; color: #7c705a; margin-bottom: 2px; }
.modules-note p span { color: #817a6c; }
.modules-note > small { font-size: 9px; color: #827866; white-space: nowrap; }
.login-body { background: #f7f5ef; }
.login-story { background: #272b29; padding-top: 40px; padding-bottom: 35px; }
.login-story .logo-plate { border: 0; border-radius: 5px; padding: 9px 16px; }
.login-brand { width: 250px; }
.login-brand .brand-product { font-size: 11px; color: #c3c5b8; padding-left: 2px; letter-spacing: .07em; }
.login-story-content { padding-top: 48px; padding-bottom: 48px; }
.login-story-content .eyebrow { color: #e2b85d; font-size: 9px; letter-spacing: .13em; margin-bottom: 23px; }
.login-story h1 { font-size: clamp(39px,3.35vw,56px); font-weight: 500; letter-spacing: -.055em; line-height: 1.12; }
.login-story h1 em { font: inherit; font-style: normal; color: #efbd69; }
.login-story-content > p { color: #bdc1b4; font-size: 12px; line-height: 1.85; margin-top: 23px; max-width: 355px; }
.login-feature-list { margin-top: 28px; gap: 0; max-width: 355px; }
.login-feature-list > span { padding: 12px 0; border-top: 1px solid #ffffff12; gap: 13px; }
.login-feature-list > span > b { color: #a6a494; font-size: 9px; font-family: Consolas, monospace; font-weight: 400; width: 17px; }
.login-feature-list .icon { color: #db9d60; width: 19px; height: 19px; }
.login-feature-list strong { display: block; color: #e8e7db; font-size: 11px; font-weight: 550; }
.login-feature-list small { display: block; color: #aeb6a4; font-size: 9px; margin-top: 2px; }
.login-story-footer { color: #a6ae9a; font-size: 9px; }
.login-art { width: 100%; height: 9px; bottom: 0; right: 0; transform: none; opacity: 1; }
.login-art > span { position: absolute; inset: auto; bottom: 0; left: 0; width: 100%; height: 3px; border: 0; border-radius: 0; background: #c33225; }
.login-art > span:nth-child(2) { inset: auto; bottom: 3px; left: 0; width: 66.666%; height: 3px; border: 0; background: #e99524; }
.login-art > span:nth-child(3) { inset: auto; bottom: 6px; left: 0; width: 33.333%; height: 3px; border: 0; background: #efc941; }
.login-panel { border-top: 4px solid #c33225; padding-top: 44px; }
.login-form-container > .eyebrow { color: #a16a46; }
.login-form-container > h2 { color: #343b32; font-size: 30px; }
.login-submit { background: #bc3329; }
.login-submit:hover { background: #a62b22; }
.login-form input:not([type="hidden"]) { background: #fffefa; border-color: #deded1; }
.login-form input:focus { border-color: #bd8b70; box-shadow: 0 0 0 3px #c66f4d12; }
.login-help { border-color: #dfdfd0; }
.login-help .icon { color: #9d896b; }
.login-subtitle { color: #6a7467; }
.login-subtitle, .login-help, .login-panel-footer, .login-panel-footer > span { color: #627166; }
.login-form input::placeholder { color: #788773; }
.minimal-login-screen { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 28px 22px; background: #f5f3ee; }
.minimal-login-card { width: min(100%, 370px); padding: 33px 32px 32px; background: #fff; border: 1px solid #e5e2da; border-top: 3px solid #bc3329; border-radius: 12px; box-shadow: 0 8px 32px #322f2310; }
.minimal-login-logo { display: block; width: 245px; max-width: 100%; height: auto; object-fit: contain; margin: 0 auto 29px; }
.minimal-login-card .login-form .field + .field { margin-top: 21px; }
.minimal-login-card .login-submit { justify-content: center; margin-top: 26px; }
.minimal-login-card .notice { font-size: 11px; margin-bottom: 20px; }
.minimal-login-card .notice ul { font-size: 10px; }
.minimal-error-card > .mono { margin: -5px 0 20px; overflow-wrap: anywhere; }
.emergency { max-width: 640px; margin: 12vh auto; padding: 35px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.emergency h1 { font-size: 28px; }
.emergency p { margin-top: 17px; color: var(--ink-soft); }
.emergency a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1600px) {
    :root { --sidebar-width: 264px; }
    .sidebar { padding-left: 24px; padding-right: 24px; }
    .sidebar-user { margin-left: -24px; margin-right: -24px; padding-left: 25px; padding-right: 25px; }
    .main-content { padding: 44px 48px 48px; }
    .topbar, .app-footer { padding-left: 48px; padding-right: 48px; }
    .dashboard-heading { margin-bottom: 33px; }
    .stat-card { padding: 25px 27px 20px; }
    .stat-value { font-size: 43px; }
    .panel-heading { padding-top: 28px; }
}
@media (max-width: 1250px) {
    :root { --sidebar-width: 224px; }
    .sidebar { padding-left: 16px; padding-right: 16px; }
    .brand { margin-left: 7px; }
    .sidebar-user { margin-left: -16px; margin-right: -16px; padding-left: 17px; padding-right: 17px; }
    .nav-item { font-size: 12px; gap: 10px; }
    .main-content { padding: 30px 27px 35px; }
    .topbar, .app-footer { padding-left: 27px; padding-right: 27px; }
    .page-heading p { font-size: 12px; }
    .form-layout { grid-template-columns: minmax(0,1fr) 252px; gap: 19px; }
    .form-panel { padding: 22px; }
    .form-aside .form-panel { padding: 22px 19px; }
    .field-grid { gap: 18px; }
    .assignment-grid { grid-template-columns: 1fr; }
    .dashboard-columns { grid-template-columns: minmax(0,1.35fr) minmax(260px,1fr); gap: 19px; }
    .panel-heading { padding-left: 22px; padding-right: 22px; }
    .shop-preview-list { padding-left: 20px; padding-right: 20px; }
    .shop-preview-meta > small { display: none; }
    .shop-preview { gap: 9px; }
    .shop-preview-meta .badge { padding: 3px 6px; font-size: 9px; }
    .roadmap-panel { padding: 23px; gap: 25px; }
    .login-story { padding-left: 10%; padding-right: 8%; }
    .login-panel { padding-left: 10%; padding-right: 10%; }
}
@media (max-width: 1024px) {
    :root { --sidebar-width: 248px; }
    .sidebar { transform: translateX(-100%); transition: transform .2s; padding-left: 20px; padding-right: 20px; }
    .sidebar-user { margin-left: -20px; margin-right: -20px; padding-left: 21px; padding-right: 21px; }
    .app-shell { margin-left: 0; }
    .menu-toggle { display: inline-flex; }
    .mobile-topbar-brand { display: flex; align-items: center; gap: 10px; }
    .mobile-topbar-brand img { width: 116px; height: auto; object-fit: contain; display: block; background: #fff; border-radius: 4px; }
    .mobile-topbar-brand > span { color: #54654e; font-size: 12px; border-left: 1px solid #dfe6d8; padding-left: 10px; }
    .breadcrumb { display: none; }
    .topbar { height: 66px; }
    .topbar-left { gap: 12px; }
    .sidebar-open .sidebar { transform: translateX(0); }
    .sidebar-open { overflow: hidden; }
    .sidebar-overlay { position: fixed; z-index: 35; inset: 0; background: #0b201b66; backdrop-filter: blur(2px); }
    .page-heading h1 { font-size: 30px; }
    .login-story h1 { font-size: 42px; }
    .login-panel { padding-left: 10%; padding-right: 10%; }
    .login-panel-footer { flex-direction: column; gap: 3px; text-align: center; }
}
@media (max-width: 760px) {
    .main-content { padding: 27px 21px 30px; }
    .topbar, .app-footer { padding-left: 21px; padding-right: 21px; }
    .topbar-right { gap: 16px; }
    .environment-badge { display: none; }
    .page-heading { gap: 17px; align-items: flex-start; margin-bottom: 23px; }
    .page-heading h1 { font-size: 28px; }
    .page-heading .button { min-height: 38px; padding: 9px 12px; font-size: 11px; margin-top: 22px; }
    .page-heading p { font-size: 11px; max-width: 410px; }
    .page-heading .eyebrow { font-size: 9px; margin-bottom: 7px; }
    .stat-grid { gap: 11px; margin-bottom: 20px; }
    .stat-card { padding: 16px; }
    .stat-label { font-size: 10px; gap: 5px; align-items: flex-start; }
    .stat-icon { width: 25px; height: 25px; border-radius: 6px; }
    .stat-icon .icon { width: 14px; height: 14px; }
    .stat-value { font-size: 32px; margin: 9px 0; }
    .stat-value-role { font-size: 18px; line-height: 1.85; }
    .stat-description { font-size: 9px; gap: 5px; align-items: flex-start; }
    .stat-description .dot { margin-top: 4px; }
    .stat-arrow { display: none; }
    .dashboard-columns { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
    .activity-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
    .activity-list li::before { display: none; }
    .roadmap-panel { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
    .modules-note > small { display: none; }
    .modules-note p { min-width: 0; line-height: 1.7; }
    .roadmap-intro p { max-width: none; }
    .form-layout { grid-template-columns: 1fr; gap: 20px; }
    .form-aside { position: static; }
    .form-aside .form-panel { padding: 24px; }
    .form-actions { flex-flow: row wrap; }
    .form-actions .button { width: auto; flex: 1; }
    .form-actions small { width: 100%; }
    .assignment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .table-toolbar { align-items: stretch; padding: 20px; gap: 16px; }
    .filter-form { width: 100%; }
    .filter-form .search-input { flex: 1; min-width: 200px; }
    .filter-form .search-input input { width: 100%; }
    .filter-form select { width: 145px; }
    .monitoring-badge { font-size: 9px; padding: 7px; margin-top: 22px; }
    .monitoring-badge .icon { width: 13px; height: 13px; }
    .notice { padding: 13px; gap: 9px; font-size: 11px; flex-wrap: wrap; }
    .notice .text-link { margin-left: 27px; margin-top: 0; }
    .notice > div { flex: 1; min-width: 180px; }
    .login-story { padding: 38px 9%; }
    .login-story h1 { font-size: 36px; }
    .login-story-content { padding: 45px 0 60px; }
    .login-story-content > p { font-size: 11px; }
    .login-panel { padding: 38px 10% 25px; }
    .login-form-container > h2 { font-size: 24px; }
    .login-subtitle { font-size: 11px; }
}
@media (max-width: 560px) {
    .main-content { padding: 23px 16px 28px; }
    .topbar, .app-footer { padding-left: 16px; padding-right: 16px; }
    .topbar { height: 61px; }
    .breadcrumb { font-size: 10px; gap: 8px; }
    .breadcrumb > .icon { height: 10px; width: 10px; }
    .account-link { padding: 6px; }
    .account-link > span { display: none; }
    .topbar-right { gap: 5px; }
    .topbar-left { gap: 7px; }
    .page-heading { flex-wrap: wrap; gap: 15px; }
    .page-heading h1 { font-size: 27px; }
    .page-heading p { font-size: 11px; margin-top: 9px; }
    .page-heading .button { margin-top: 0; }
    .dashboard-heading .button { width: 100%; }
    .page-heading .badge { margin-top: 0; }
    .monitoring-badge { margin-top: 0; }
    .stat-grid, .stat-grid:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; gap: 10px; }
    .stat-card { display: grid; grid-template-columns: 1fr auto; padding: 16px 18px; gap: 2px 15px; }
    .stat-label { grid-column: 1; grid-row: 1; justify-content: flex-start; align-items: center; flex-direction: row-reverse; gap: 8px; width: fit-content; }
    .stat-value { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 34px; align-self: center; }
    .stat-value-role { font-size: 20px; }
    .stat-description { grid-column: 1; grid-row: 2; font-size: 9px; margin-left: 33px; }
    .stat-description .dot { display: none; }
    .stat-icon { width: 25px; height: 25px; }
    .panel-heading { padding: 22px 20px 19px; }
    .panel-heading h2 { font-size: 16px; }
    .panel-heading .text-link { font-size: 10px; }
    .shop-preview-list { padding: 0 18px 8px; }
    .shop-preview-meta { display: none; }
    .shop-preview-body strong { font-size: 11px; }
    .shop-preview-body > span { font-size: 9px; }
    .activity-list { display: block; padding-left: 22px; padding-right: 22px; }
    .activity-list li::before { display: block; }
    .roadmap-panel { padding: 22px; }
    .roadmap-intro h2 { font-size: 20px; }
    .roadmap-items > span { font-size: 10px; }
    .roadmap-items small { font-size: 8px; }
    .app-footer { font-size: 9px; padding-top: 16px; padding-bottom: 18px; }
    .app-footer > :last-child { display: none; }
    .form-panel, .form-aside .form-panel { padding: 22px 20px; }
    .form-primary, .form-aside { gap: 18px; }
    .field-grid, .assignment-grid { grid-template-columns: 1fr; gap: 18px; }
    .span-two { grid-column: auto; }
    .section-heading { gap: 10px; margin-bottom: 21px; }
    .section-heading h2 { font-size: 14px; }
    .section-heading p { font-size: 10px; }
    .section-icon { width: 30px; height: 30px; }
    .aside-note { padding-left: 4px; padding-right: 4px; }
    .table-toolbar { padding: 19px 18px; }
    .table-title h2 { font-size: 14px; }
    .filter-form { gap: 7px; }
    .filter-form .search-input { min-width: 100%; }
    .filter-form select { flex: 1; }
    .filter-form .button { padding-left: 13px; padding-right: 13px; }
    th:first-child, td:first-child { padding-left: 18px; }
    th:last-child, td:last-child { padding-right: 18px; }
    td { padding: 15px; }
    .empty-state { padding: 40px 20px 45px; }
    .empty-state h3 { font-size: 14px; }
    .empty-state p { font-size: 10px; }
    .info-strip { padding: 15px; }
    .info-strip p { font-size: 9px; }
    .detail-grid { gap: 0 13px; }
    .detail-grid dd { font-size: 10px; }
    .error-summary { padding: 22px 20px 0; }
    .error-summary-heading h2 { font-size: 13px; }
    .diagnostic-event summary { padding: 16px 19px; }
    .diagnostic-content { padding: 0 19px 19px; }
    .diagnostic-code { padding: 12px; font-size: 9px; }
    .notice { font-size: 10px; }
    .notice strong { font-size: 11px; }
    .notice p { font-size: 10px; }
    .login-layout { display: block; min-height: 100dvh; }
    .login-story { display: none; }
    .login-panel { min-height: 100dvh; padding: 30px 29px 24px; }
    .login-mobile-brand { display: block; width: 222px; max-width: 100%; }
    .login-mobile-brand > .brand-product { display: block; color: #4b4e44; font-size: 12px; letter-spacing: .03em; line-height: 1.3; font-weight: 550; padding: 7px 0 0 2px; }
    .login-form-container { margin: auto; padding: 45px 0; max-width: 390px; }
    .login-form-container > h2 { font-size: 28px; }
    .login-subtitle { font-size: 12px; }
    .login-panel-footer { flex-direction: row; gap: 5px; font-size: 8px; text-align: left; }
    .login-panel-footer > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .sidebar, .topbar, .app-footer, .button, .form-actions, .filter-form, .row-action { display: none !important; } .app-shell { margin: 0; } .main-content { padding: 0; } .panel { box-shadow: none; break-inside: avoid; } body { background: #fff; } .table-scroll { overflow: visible; } }

.shop-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.document-list{list-style:none;padding:0;margin:18px 0 0}.document-list li{padding:12px 0;border-top:1px solid var(--border,#e5e5e5);overflow-wrap:anywhere}.document-list small{display:block;color:var(--muted,#737373);margin-top:5px}input[readonly]{background:#f4f3f0;color:#666}

.shop-tabs a[aria-current="page"]{border-color:#a0392d;color:#8c2c22;background:#fff8f5}.form-panel>h2{margin-bottom:18px}
