:root {
  --navy-950: #062a40;
  --navy-900: #0b3d59;
  --navy-800: #0b4c6f;
  --navy-700: #14658a;
  --orange-600: #df552f;
  --orange-500: #f06a3d;
  --orange-100: #fff0e9;
  --green-700: #167052;
  --green-100: #e5f6ef;
  --blue-700: #245fa8;
  --blue-100: #e9f1ff;
  --amber-700: #9b6611;
  --amber-100: #fff5d6;
  --red-700: #b5363e;
  --red-100: #ffeaec;
  --purple-700: #6b4cb3;
  --purple-100: #f1ecff;
  --slate-950: #17232d;
  --slate-800: #2c3a45;
  --slate-600: #667783;
  --slate-500: #81909a;
  --slate-300: #ccd5db;
  --slate-200: #e2e8ec;
  --slate-100: #f1f4f6;
  --surface: #fff;
  --canvas: #f5f7f8;
  --sidebar: 264px;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(15, 46, 64, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-950);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-height: 100vh; font-size: 14px; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.app-body { background: var(--canvas); }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar); padding: 28px 18px 20px;
  display: flex; flex-direction: column; color: #dceaf1;
  background: radial-gradient(circle at 20% 0, rgba(39, 122, 153, .35), transparent 34%), linear-gradient(160deg, #0b4669, #062c43 72%);
  box-shadow: 14px 0 34px rgba(7, 42, 62, .1);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 28px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-500); box-shadow: 0 7px 18px rgba(240, 106, 61, .3); transform: rotate(-3deg); }
.brand-mark span { font-family: Georgia, serif; font-size: 24px; font-weight: 800; color: white; transform: rotate(3deg); }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { color: #fff; font-family: Georgia, serif; font-size: 20px; line-height: 1.05; letter-spacing: .2px; }
.brand-copy small { margin-top: 3px; color: #aac8d6; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }
.main-nav { flex: 1; overflow-y: auto; }
.nav-heading { margin: 8px 12px 9px; color: #7fa8bb; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-heading-space { margin-top: 28px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 3px 0; padding: 0 12px; border-radius: 10px; color: #c9dce5; text-decoration: none; font-weight: 600; transition: .16s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.active { color: white; background: rgba(255,255,255,.12); box-shadow: inset 3px 0 var(--orange-500); }
.nav-icon { display: grid; place-items: center; color: #9abaca; }
.nav-link.active .nav-icon { color: #ffb293; }
.sidebar-help { display: flex; gap: 10px; margin: 16px 3px; padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.06); }
.help-icon { flex: 0 0 auto; color: #ffb293; }
.sidebar-help strong, .sidebar-help small { display: block; }
.sidebar-help strong { color: #fff; font-size: 12px; }
.sidebar-help small { margin-top: 3px; color: #9cb9c7; font-size: 10px; line-height: 1.45; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 15px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-user-copy { min-width: 0; flex: 1; }
.sidebar-user-copy strong, .sidebar-user-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-copy strong { color: #fff; font-size: 12px; }
.sidebar-user-copy small { margin-top: 2px; color: #8fb1c0; font-size: 10px; }
.sidebar .icon-button { color: #9cb9c7; }
.logout-form { margin: 0; }

.app-shell { min-height: 100vh; margin-left: var(--sidebar); display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; height: 76px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(204,213,219,.72); background: rgba(255,255,255,.91); backdrop-filter: blur(16px); }
.topbar-title { display: flex; flex-direction: column; gap: 3px; }
.topbar-title strong { color: var(--navy-950); font-size: 17px; }
.eyebrow { color: var(--slate-500); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu { display: none !important; }
.icon-button { position: relative; width: 38px; height: 38px; border: 0; border-radius: 10px; display: inline-grid; place-items: center; color: var(--slate-600); background: transparent; text-decoration: none; cursor: pointer; }
.icon-button:hover { color: var(--navy-800); background: var(--slate-100); }
.notification-button { border: 1px solid var(--slate-200); background: white; }
.notification-dot { position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; color: #fff; background: var(--orange-500); border: 2px solid white; border-radius: 9px; font-size: 9px; font-weight: 800; }
.avatar { width: 38px; height: 38px; display: inline-grid; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--navy-900); background: #d9eaf1; font-size: 12px; font-weight: 800; }
.avatar-small { width: 34px; height: 34px; color: white; background: rgba(255,255,255,.14); }

.main-content { width: min(1460px, 100%); min-height: calc(100vh - 122px); margin: 0 auto; padding: 32px 34px 50px; }
.app-footer { min-height: 46px; padding: 0 34px 22px; display: flex; justify-content: space-between; color: var(--slate-500); font-size: 11px; }
.page-heading { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.page-heading h1 { margin: 0; color: var(--navy-950); font-family: Georgia, serif; font-size: clamp(27px, 3vw, 38px); font-weight: 700; letter-spacing: -.7px; }
.page-heading p { max-width: 680px; margin: 7px 0 0; color: var(--slate-600); line-height: 1.55; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button, .danger-button, .ghost-button { min-height: 40px; padding: 0 17px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 750; text-decoration: none; cursor: pointer; transition: .16s ease; }
.primary-button { color: white; background: var(--orange-500); box-shadow: 0 7px 18px rgba(221, 80, 42, .17); }
.primary-button:hover { background: var(--orange-600); transform: translateY(-1px); }
.primary-button.compact { min-height: 38px; padding: 0 14px; font-size: 12px; }
.secondary-button { color: var(--navy-800); border-color: #b9ced8; background: white; }
.secondary-button:hover { border-color: var(--navy-700); background: #f5fafc; }
.ghost-button { color: var(--slate-600); background: transparent; }
.danger-button { color: var(--red-700); border-color: #efc2c6; background: #fff; }
.small-button { min-height: 32px; padding: 0 11px; border-radius: 8px; font-size: 11px; }

.flash { margin: 0 0 20px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid; border-radius: 11px; font-weight: 600; }
.flash-success { color: var(--green-700); border-color: #b9e2d3; background: var(--green-100); }
.flash-error { color: var(--red-700); border-color: #efc2c6; background: var(--red-100); }
.flash-info { color: var(--blue-700); border-color: #bdd0eb; background: var(--blue-100); }
.flash button { margin-left: auto; padding: 0; border: 0; color: inherit; background: transparent; font-size: 20px; cursor: pointer; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card { position: relative; min-height: 144px; padding: 22px; overflow: hidden; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--surface); box-shadow: 0 5px 20px rgba(15,46,64,.035); }
.stat-card::after { content: ''; position: absolute; width: 84px; height: 84px; right: -24px; top: -26px; border-radius: 50%; background: var(--stat-tint, var(--blue-100)); }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--slate-600); font-size: 12px; font-weight: 700; }
.stat-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--stat-color, var(--blue-700)); background: var(--stat-tint, var(--blue-100)); }
.stat-value { display: block; margin-top: 14px; color: var(--navy-950); font-size: 31px; font-weight: 800; letter-spacing: -1px; }
.stat-foot { display: block; margin-top: 5px; color: var(--slate-500); font-size: 10px; }
.stat-orange { --stat-color: var(--orange-600); --stat-tint: var(--orange-100); }
.stat-green { --stat-color: var(--green-700); --stat-tint: var(--green-100); }
.stat-purple { --stat-color: var(--purple-700); --stat-tint: var(--purple-100); }

.content-grid { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 20px; }
.panel { border: 1px solid var(--slate-200); border-radius: var(--radius); background: white; box-shadow: 0 5px 20px rgba(15,46,64,.035); }
.panel-header { min-height: 64px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--slate-200); }
.panel-header h2, .panel-header h3 { margin: 0; color: var(--navy-950); font-size: 15px; }
.panel-header p { margin: 4px 0 0; color: var(--slate-500); font-size: 11px; }
.panel-link { color: var(--navy-700); font-size: 11px; font-weight: 800; text-decoration: none; }
.panel-body { padding: 20px; }
.quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.quick-action { min-height: 88px; padding: 14px; border: 1px solid var(--slate-200); border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; color: var(--slate-700); text-decoration: none; transition: .16s ease; }
.quick-action:hover { border-color: #aec8d5; box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-action span:first-child { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--quick-color, var(--blue-700)); background: var(--quick-bg, var(--blue-100)); }
.quick-action strong { color: var(--slate-800); font-size: 12px; }
.quick-action.orange { --quick-color: var(--orange-600); --quick-bg: var(--orange-100); }
.quick-action.green { --quick-color: var(--green-700); --quick-bg: var(--green-100); }
.quick-action.purple { --quick-color: var(--purple-700); --quick-bg: var(--purple-100); }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 16px; color: var(--slate-500); background: #fafbfc; border-bottom: 1px solid var(--slate-200); font-size: 9px; font-weight: 800; letter-spacing: .8px; text-align: left; text-transform: uppercase; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid #edf0f2; color: var(--slate-600); font-size: 12px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfcfd; }
.table-title { display: block; max-width: 310px; overflow: hidden; color: var(--navy-900); font-weight: 750; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.table-title:hover { color: var(--orange-600); }
.table-subtitle, .person-cell + small { display: block; margin-top: 4px; color: var(--slate-500); font-size: 9px; }
.person-cell { display: block; color: var(--slate-800); font-weight: 650; }
.row-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--slate-500); text-decoration: none; }
.row-arrow:hover { color: var(--navy-800); background: var(--slate-100); }
.status, .type-label, .priority { width: max-content; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 7px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-submitted { color: var(--blue-700); background: var(--blue-100); }
.status-approved, .status-in_progress { color: var(--purple-700); background: var(--purple-100); }
.status-completed { color: var(--green-700); background: var(--green-100); }
.status-on_hold { color: var(--amber-700); background: var(--amber-100); }
.status-rejected, .status-cancelled { color: var(--red-700); background: var(--red-100); }
.type-label { color: var(--slate-600); background: var(--slate-100); }
.type-printing { color: var(--purple-700); background: var(--purple-100); }
.type-inventory { color: var(--green-700); background: var(--green-100); }
.type-menu { color: var(--orange-600); background: var(--orange-100); }
.priority { padding-left: 0; background: transparent; }
.priority i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400, #9eabb4); }
.priority-high i, .priority-urgent i { background: var(--red-700); }
.priority-low i { background: var(--green-700); }

.filter-bar { margin-bottom: 16px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--slate-200); border-radius: 12px; background: white; }
.search-field { position: relative; min-width: 240px; flex: 1; }
.search-field svg { position: absolute; left: 12px; top: 50%; color: var(--slate-500); transform: translateY(-50%); }
.search-field input { padding-left: 38px; }
.filter-bar input, .filter-bar select { height: 39px; border: 1px solid var(--slate-200); border-radius: 9px; color: var(--slate-700); background: white; }
.filter-bar select { padding: 0 30px 0 11px; }

.form-card { max-width: 980px; margin: 0 auto; border: 1px solid var(--slate-200); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.form-section { padding: 24px 26px; border-bottom: 1px solid var(--slate-200); }
.form-section:last-child { border-bottom: 0; }
.form-section-heading { margin-bottom: 18px; display: flex; gap: 12px; }
.step-number { width: 27px; height: 27px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; color: white; background: var(--navy-800); font-size: 11px; font-weight: 800; }
.form-section-heading h2 { margin: 1px 0 3px; color: var(--navy-950); font-size: 15px; }
.form-section-heading p { margin: 0; color: var(--slate-500); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--slate-700); font-size: 11px; font-weight: 750; }
.required { color: var(--orange-600); }
.field input, .field select, .field textarea, .search-field input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--slate-300); border-radius: 9px; outline: 0; color: var(--slate-900); background: white; transition: .15s ease; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-field input:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(20, 101, 138, .1); }
.field small { color: var(--slate-500); font-size: 10px; line-height: 1.45; }
.type-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.type-choice { padding: 16px 12px; border: 1px solid var(--slate-200); border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; color: var(--slate-600); background: white; cursor: pointer; text-align: left; }
.type-choice span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--navy-700); background: var(--blue-100); }
.type-choice strong { color: var(--slate-800); font-size: 12px; }
.type-choice small { font-size: 9px; line-height: 1.35; }
.type-choice.selected { border-color: var(--orange-500); box-shadow: 0 0 0 2px var(--orange-100); }
.type-choice.selected span { color: var(--orange-600); background: var(--orange-100); }
.form-actions { padding: 19px 26px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; background: #fafbfc; border-radius: 0 0 16px 16px; }
.file-field { position: relative; min-height: 90px; padding: 18px; display: grid; place-items: center; border: 1px dashed #aebbc3; border-radius: 10px; background: #fafcfd; text-align: center; cursor: pointer; }
.file-field input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.file-field strong { color: var(--navy-700); font-size: 11px; }
.file-field small { display: block; margin-top: 4px; }
.inventory-request-row { display: grid; grid-template-columns: 1fr 130px 38px; gap: 10px; margin-bottom: 10px; }
.inventory-request-row select, .inventory-request-row input { min-height: 42px; padding: 9px 11px; border: 1px solid var(--slate-300); border-radius: 9px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 20px; }
.detail-main, .detail-side { display: flex; flex-direction: column; gap: 16px; }
.detail-card { padding: 22px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: white; }
.detail-card h2, .detail-card h3 { margin: 0 0 15px; color: var(--navy-950); font-size: 15px; }
.detail-card p { color: var(--slate-600); line-height: 1.65; }
.detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.meta-item small, .summary-row small { display: block; margin-bottom: 4px; color: var(--slate-500); font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.meta-item strong { color: var(--slate-800); font-size: 12px; }
.summary-row { padding: 12px 0; border-bottom: 1px solid var(--slate-200); }
.summary-row:last-child { border-bottom: 0; }
.summary-row strong { color: var(--slate-800); font-size: 12px; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--slate-200); }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 3px; top: 4px; width: 11px; height: 11px; border: 3px solid white; border-radius: 50%; background: var(--navy-700); box-shadow: 0 0 0 1px #a9c2cd; }
.timeline strong { display: block; color: var(--slate-800); font-size: 11px; }
.timeline p { margin: 3px 0; font-size: 11px; }
.timeline small { color: var(--slate-500); font-size: 9px; }
.comment { padding: 13px 0; border-bottom: 1px solid var(--slate-200); }
.comment:last-child { border-bottom: 0; }
.comment-head { display: flex; justify-content: space-between; gap: 10px; }
.comment-head strong { color: var(--slate-800); font-size: 11px; }
.comment-head small { color: var(--slate-500); font-size: 9px; }
.comment p { margin: 7px 0 0; font-size: 12px; }

.inventory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.inventory-card { padding: 18px; border: 1px solid var(--slate-200); border-radius: 12px; background: white; }
.inventory-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.inventory-card h3 { margin: 0; color: var(--navy-950); font-size: 13px; }
.inventory-card .sku { display: block; margin-top: 3px; color: var(--slate-500); font-size: 9px; }
.stock-number { margin: 18px 0 4px; color: var(--navy-950); font-size: 27px; font-weight: 800; }
.stock-number small { color: var(--slate-500); font-size: 10px; font-weight: 600; }
.stock-low { color: var(--red-700); }
.stock-meta { display: flex; justify-content: space-between; color: var(--slate-500); font-size: 9px; }
.progress { height: 5px; margin: 12px 0 7px; overflow: hidden; border-radius: 3px; background: var(--slate-100); }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--green-700); }
.progress.low span { background: var(--red-700); }
.report-bars { display: flex; flex-direction: column; gap: 15px; }
.report-row { display: grid; grid-template-columns: 125px 1fr 45px; align-items: center; gap: 12px; }
.report-row label { color: var(--slate-700); font-size: 11px; font-weight: 700; }
.report-track { height: 9px; overflow: hidden; border-radius: 8px; background: var(--slate-100); }
.report-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy-700), #3a8ead); }
.report-row strong { color: var(--navy-950); font-size: 12px; text-align: right; }

.empty-state { min-height: 260px; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--navy-700); background: var(--blue-100); }
.empty-state h3 { margin: 14px 0 6px; color: var(--navy-950); }
.empty-state p { max-width: 410px; margin: 0 0 18px; color: var(--slate-500); line-height: 1.55; }

.auth-body { min-height: 100vh; display: grid; grid-template-columns: minmax(350px, .9fr) minmax(520px, 1.1fr); background: white; }
.auth-visual { position: relative; min-height: 100vh; padding: 48px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: white; background: radial-gradient(circle at 80% 12%, rgba(55,151,184,.44), transparent 28%), radial-gradient(circle at 15% 90%, rgba(240,106,61,.2), transparent 30%), linear-gradient(145deg, #0b4c6f, #062a40 70%); }
.auth-visual::after { content: ''; position: absolute; width: 480px; height: 480px; right: -220px; bottom: -190px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.auth-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.auth-brand .brand-copy small { color: #bdd4de; }
.auth-message { position: relative; z-index: 1; max-width: 500px; }
.auth-message .eyebrow { color: #ffad8d; }
.auth-message h1 { margin: 16px 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -1.8px; }
.auth-message p { max-width: 450px; color: #bad0da; font-size: 15px; line-height: 1.7; }
.auth-points { position: relative; z-index: 1; display: flex; gap: 28px; color: #a7c3cf; font-size: 10px; font-weight: 700; }
.auth-points span { display: flex; align-items: center; gap: 7px; }
.auth-points i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange-500); }
.auth-panel { padding: 50px; display: grid; place-items: center; background: #fbfcfc; }
.auth-card { width: min(420px, 100%); }
.auth-card h2 { margin: 0; color: var(--navy-950); font-family: Georgia, serif; font-size: 32px; }
.auth-card > p { margin: 8px 0 28px; color: var(--slate-600); line-height: 1.55; }
.auth-card .field { margin-bottom: 16px; }
.password-wrap { position: relative; }
.auth-submit { width: 100%; min-height: 46px; margin-top: 4px; }
.auth-divider { margin: 23px 0; display: flex; align-items: center; gap: 12px; color: var(--slate-500); font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--slate-200); }
.google-button { width: 100%; min-height: 44px; border: 1px solid var(--slate-300); border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--slate-700); background: white; font-weight: 700; text-decoration: none; }
.google-g { font-family: Arial, sans-serif; color: #4285f4; font-size: 18px; font-weight: 800; }
.auth-note { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--slate-200); color: var(--slate-500); font-size: 10px; line-height: 1.55; text-align: center; }
.auth-error { margin-bottom: 18px; }

.mobile-overlay { display: none; }
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .detail-grid { grid-template-columns: 1fr; }
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-body { grid-template-columns: .8fr 1fr; }
}
@media (max-width: 820px) {
  :root { --sidebar: 268px; }
  .sidebar { transform: translateX(-105%); transition: transform .22s ease; }
  .sidebar-open .sidebar { transform: translateX(0); }
  .mobile-overlay { position: fixed; inset: 0; z-index: 35; background: rgba(6,28,40,.45); backdrop-filter: blur(2px); }
  .sidebar-open .mobile-overlay { display: block; }
  .app-shell { margin-left: 0; }
  .topbar { padding: 0 20px; }
  .mobile-menu { display: inline-grid !important; }
  .topbar-title { display: none; }
  .main-content { padding: 25px 20px 42px; }
  .app-footer { padding: 0 20px 20px; }
  .auth-body { display: block; background: #fbfcfc; }
  .auth-visual { min-height: 270px; padding: 30px; }
  .auth-message h1 { margin: 13px 0 8px; font-size: 36px; }
  .auth-message p { font-size: 12px; }
  .auth-points { display: none; }
  .auth-panel { padding: 34px 22px; }
}
@media (max-width: 580px) {
  .topbar-actions .primary-button span { display: none; }
  .topbar-actions .primary-button { width: 38px; padding: 0; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .stats-grid, .inventory-grid, .form-grid { grid-template-columns: 1fr; }
  .type-choices { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .search-field { min-width: 0; }
  .form-section { padding: 20px 17px; }
  .form-actions { padding: 16px 17px; }
  .detail-meta { grid-template-columns: 1fr; }
  .inventory-request-row { grid-template-columns: 1fr 90px 38px; }
  .app-footer { flex-direction: column; gap: 4px; }
}
