@font-face {
  font-family: 'Golos Text';
  src: url('/static/fonts/GolosText.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --signal: #ff5d3d;
  --signal-hover: #ed4829;
  --carbon: #202020;
  --carbon-soft: #2b2b2b;
  --canvas: #e4e4df;
  --surface: #efefea;
  --ink: #202020;
  --muted: #595952;
  --line: #c4c4bc;
  --on-dark: #ecece5;
  --dark-muted: #b9b9b0;
  --dark-line: #4c4c46;
  --success: #365747;
  --danger: #a22e20;
  --mono: 'Courier New', monospace;
  --sidebar: 224px;
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  scrollbar-color: #77776e var(--canvas);
  scrollbar-width: thin;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button, a { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--carbon); outline-offset: 2px; }
input, textarea { caret-color: var(--signal); }
::selection { background: var(--signal); color: var(--carbon); }
input::placeholder, textarea::placeholder { color: #66665f; opacity: 1; }
svg.icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
button svg { vertical-align: middle; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 29px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.brand img { width: 37px; height: 37px; }
.brand-slash { color: var(--signal); margin-left: 2px; font-weight: 450; }
.brand small { display: block; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; font-weight: 400; margin-top: 8px; color: var(--dark-muted); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--carbon); color: var(--on-dark); display: flex; flex-direction: column; z-index: 10; padding: 30px 0 20px; border-right: 1px solid var(--dark-line); }
.sidebar .brand { margin: 0 24px 64px; }
.nav-label { padding: 0 25px; color: var(--dark-muted); font-size: 11px; margin-bottom: 17px; }
.nav { display: flex; flex-direction: column; }
.nav a { padding: 16px 24px; display: flex; align-items: center; gap: 13px; font-size: 13px; color: var(--dark-muted); border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
.nav a:hover { background: var(--carbon-soft); color: var(--on-dark); }
.nav a.active { background: var(--signal); color: var(--carbon); font-weight: 550; }
.nav a.active:hover { background: var(--signal-hover); }
.nav .count { margin-left: auto; background: var(--carbon); color: var(--on-dark); padding: 2px 6px; font-family: var(--mono); font-size: 11px; }
.side-bottom { margin-top: auto; padding: 34px 20px 0; }
.side-note { position: relative; display: block; text-align: left; padding: 18px 0; color: var(--dark-muted); border: 0; border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); background: transparent; width: 100%; margin-bottom: 24px; }
.side-note > svg:first-child { color: var(--signal); margin-bottom: 20px; width: 26px; height: 26px; }
.side-note > svg:last-child { position: absolute; right: 0; top: 20px; }
.side-note strong { display: block; font-weight: 450; font-size: 12px; color: var(--on-dark); }
.side-note p { margin: 8px 0 0; font-size: 10px; }
.side-note:hover { color: var(--signal); }
.profile { display: flex; align-items: center; gap: 9px; }
.avatar { width: 33px; height: 33px; display: grid; place-items: center; background: #d1d1c9; color: var(--carbon); font-size: 11px; font-weight: 550; flex-shrink: 0; }
.profile-name { font-size: 11px; max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
.profile-role { font-size: 10px; color: var(--dark-muted); margin-top: 5px; }
.profile .icon-button { margin-left: auto; color: var(--dark-muted); }
.profile .avatar { color: var(--carbon); margin: 0; }
.icon-button { min-width: 34px; min-height: 34px; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--muted); padding: 7px; }
.icon-button:hover { background: #cecec6; color: var(--carbon); }
.profile .icon-button:hover { background: #41413b; color: var(--on-dark); }
.workspace { margin-left: var(--sidebar); }
.topbar { height: 74px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--muted); }
.breadcrumb strong { color: var(--carbon); font-weight: 450; }
.top-right { display: flex; align-items: center; gap: 18px; }
.today { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.access { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.access::before { content: ''; width: 5px; height: 5px; background: var(--carbon); }
main { max-width: 1640px; margin: 0 auto; padding: 37px 34px 28px; }
.heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; padding-bottom: 27px; border-bottom: 1px solid var(--carbon); }
.heading h1 { font-size: 44px; line-height: 1.05; letter-spacing: -.04em; font-weight: 500; margin: 0 0 17px; }
.heading p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; max-width: 65ch; }
.heading > div:first-child { min-width: 0; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn { min-height: 43px; padding: 12px 16px; border: 1px solid var(--carbon); border-radius: 0; color: var(--carbon); background: transparent; font-weight: 500; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; line-height: 1.35; white-space: nowrap; }
.btn:hover { background: var(--carbon); color: var(--on-dark); }
.btn:active { background: #3b3b36; }
.btn.primary { background: var(--signal); border-color: var(--signal); color: var(--carbon); }
.btn.primary:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.btn.small { padding: 8px 12px; min-height: 35px; font-size: 11px; }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger); color: white; }
.btn svg { width: 17px; height: 17px; }
.overview-hero { display: grid; grid-template-columns: minmax(0, 1fr) 285px; margin: -37px -34px 0; }
.overview-statement { background: var(--signal); padding: 38px 34px 30px; display: flex; flex-direction: column; min-height: 365px; }
.overview-statement h1 { font-size: 76px; font-weight: 450; line-height: .98; letter-spacing: -.04em; margin: 0 0 38px; }
.overview-bottom { display: flex; align-items: end; gap: 20px; justify-content: space-between; margin-top: auto; flex-wrap: wrap; }
.overview-bottom p { font-size: 12px; line-height: 1.55; margin: 0; color: #38231e; }
.overview-statement .btn.primary { background: var(--carbon); border-color: var(--carbon); color: var(--on-dark); }
.overview-statement .btn.primary:hover { background: #3b3b36; }
.overview-statement :focus-visible { outline-color: var(--carbon); }
.status-board { background: var(--carbon); color: var(--on-dark); padding: 33px 27px 24px; display: flex; flex-direction: column; }
.status-board-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-line); }
.status-board h2 { font-size: 16px; font-weight: 450; margin: 0; letter-spacing: -.02em; }
.status-board-title svg { color: var(--signal); width: 19px; }
.status-board dl { margin: 10px 0 24px; }
.status-board dl > div { display: flex; align-items: baseline; justify-content: space-between; padding: 13px 0; gap: 12px; border-bottom: 1px solid var(--dark-line); }
.status-board dt { font-size: 11px; line-height: 1.4; color: var(--dark-muted); }
.status-board dd { margin: 0; font-family: var(--mono); font-size: 21px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.status-board dd span { font-size: 11px; color: var(--dark-muted); }
.status-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 7px; font-size: 12px; color: var(--signal); }
.status-link:hover { color: var(--on-dark); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 33px 0 19px; }
.section-title h2 { font-size: 20px; letter-spacing: -.03em; font-weight: 450; margin: 0; }
.section-total { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 14px; vertical-align: middle; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-size: 11px; background: transparent; border: 0; text-decoration: underline; text-decoration-color: transparent; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link svg { width: 16px; height: 16px; }
.box-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--carbon); border-left: 1px solid var(--line); }
.box-card { display: block; min-width: 0; padding: 21px 23px 18px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.box-card:hover, .box-card:focus-visible { background: #d8d8d1; }
.box-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 15px; }
.box-card-top > svg { transition: transform 180ms cubic-bezier(.16,1,.3,1); }
.box-card:hover .box-card-top > svg, .box-card:focus-visible .box-card-top > svg { transform: translateX(5px); }
.box-code { font-family: var(--mono); font-size: 14px; font-weight: 550; letter-spacing: -.01em; }
.box-card h3 { font-size: 19px; line-height: 1.2; font-weight: 450; letter-spacing: -.03em; margin: 0 0 13px; }
.box-location { font-size: 11px; display: flex; align-items: center; gap: 5px; color: var(--muted); line-height: 1.4; }
.box-location svg { width: 12px; height: 12px; }
.box-card-footer { border-top: 1px solid var(--line); margin-top: 29px; padding-top: 14px; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.box-card-footer strong { color: var(--ink); font-weight: 450; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-top-color: var(--carbon); }
.panel-header { padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.panel-header h2 { margin: 0; font-size: 20px; font-weight: 450; letter-spacing: -.03em; }
.panel-header p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 24px; margin-top: 30px; align-items: start; }
.employee-home { margin: -37px -34px 0; padding: 48px 34px 42px; background: var(--carbon); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 32px; }
.employee-home h1 { grid-column: 1; margin: 0; font-size: 48px; line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.employee-home p { grid-column: 1; margin: 0; color: var(--dark-muted); font-size: 13px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.employee-home .employee-scan { grid-column: 2; grid-row: 1 / span 2; min-height: 52px; padding-inline: 22px; color: var(--on-dark); border-color: var(--dark-muted); }
.employee-home .employee-scan:hover { color: var(--carbon); background: var(--signal); border-color: var(--signal); }
.employee-section { max-width: 900px; margin: 38px auto 0; }
.employee-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.employee-section-head h2 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.employee-loan-list { border-top: 1px solid var(--carbon); }
.employee-loan { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.employee-loan-main { display: flex; align-items: flex-start; gap: 15px; min-width: 0; }
.employee-loan-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: var(--muted); background: #deded7; }
.employee-loan-icon svg { width: 19px; height: 19px; }
.employee-loan-copy { min-width: 0; }
.employee-loan-title { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.employee-loan h3 { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 550; letter-spacing: -.02em; }
.employee-loan p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.employee-loan-place { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; }
.employee-loan-place svg { width: 14px; height: 14px; color: var(--muted); }
.employee-loan-place strong { font-weight: 600; }
.employee-loan small { display: block; margin-top: 8px; color: #804024; font-size: 10px; line-height: 1.45; }
.employee-return { flex: 0 0 auto; min-width: 120px; }
.employee-hint { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.employee-calm { display: flex; align-items: center; gap: 15px; padding: 25px 0; border-top: 1px solid var(--carbon); border-bottom: 1px solid var(--line); }
.employee-calm > svg { width: 25px; height: 25px; color: var(--success); }
.employee-calm h3 { margin: 0 0 5px; font-size: 17px; font-weight: 550; }
.employee-calm p { margin: 0; color: var(--muted); font-size: 12px; }
.employee-inventory { background: var(--surface); }
.employee-inventory-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 16px; align-items: center; gap: 13px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.employee-inventory-row:last-child { border-bottom: 0; }
.employee-inventory-row:hover, .employee-inventory-row:focus-visible { background: #e1e1db; }
.employee-inventory-row strong { display: block; font-size: 13px; font-weight: 550; }
.employee-inventory-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.employee-inventory-row > span { font-size: 12px; font-variant-numeric: tabular-nums; }
.employee-inventory-row > svg { width: 16px; height: 16px; color: var(--muted); }
.box-return-list { margin-bottom: 0; }
.scan-fallback { margin: 0 0 20px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.request-alert { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 21px; margin: 25px 0 0; border: 1px solid var(--carbon); background: var(--surface); font-size: 12px; }
.request-alert > span { display: flex; align-items: center; gap: 11px; }
.request-alert > span:first-child svg { color: var(--signal); }
.request-alert > span:last-child { font-size: 11px; text-decoration: underline; text-decoration-color: transparent; }
.request-alert:hover { background: #d8d8d1; }
.request-alert:hover > span:last-child { text-decoration-color: currentColor; }
.request-layout { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: 32px; align-items: start; }
.request-form, .request-unavailable { padding: 24px; border: 1px solid var(--line); border-top-color: var(--carbon); background: var(--surface); }
.request-form h2, .request-unavailable h2 { margin: 0 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.request-form > p, .request-unavailable p { margin: 0 0 23px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.request-form textarea { min-height: 92px; }
.request-availability { margin: -8px 0 20px; color: var(--muted); font-size: 10px; }
.request-submit { width: 100%; justify-content: space-between; }
.request-history { min-width: 0; }
.request-history .employee-section-head { min-height: 29px; }
.request-history .employee-section-head > span { color: var(--muted); font-size: 11px; }
.request-list { border-top: 1px solid var(--carbon); }
.request-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px; border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.request-main { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.request-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.request-title h3 { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 550; letter-spacing: -.02em; }
.request-main p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.request-person { display: block; margin-top: 10px; font-size: 12px; font-weight: 550; }
.request-note { max-width: 60ch; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 11px; line-height: 1.55; }
.request-main small { display: block; margin-top: 9px; color: var(--muted); font-size: 10px; }
.request-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.request-issue-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; padding: 18px; border-top: 1px solid var(--carbon); border-bottom: 1px solid var(--line); background: var(--surface); }
.request-issue-summary strong { font-size: 17px; font-weight: 550; }
.request-issue-summary span { font-size: 13px; }
.request-issue-summary small { color: var(--muted); font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { padding: 13px 19px; text-transform: uppercase; font-size: 9px; letter-spacing: .03em; font-weight: 450; background: #dcdcd5; color: var(--muted); white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 18px 19px; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #e6e6df; }
td strong { font-weight: 500; }
td small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.item-cell { display: flex; align-items: center; gap: 11px; min-width: 150px; }
.item-cell > div:last-child { min-width: 0; }
.item-icon { display: grid; place-items: center; flex-shrink: 0; color: var(--muted); }
.item-icon svg { width: 20px; height: 20px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #b5b5ac; font-size: 10px; padding: 5px 7px; color: #52524b; background: #e5e5de; white-space: nowrap; }
.badge::before { content: ''; height: 4px; width: 4px; background: currentColor; }
.badge.green { color: var(--success); background: #e0e7df; border-color: #a1b6a7; }
.badge.orange { color: #804024; background: #f2ddd0; border-color: #cfae98; }
.badge.red { color: var(--danger); background: #f4ded6; border-color: #d0a699; }
.activity { padding: 0 20px; }
.event { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.event:last-child { border: 0; }
.event-dot { color: var(--muted); flex-shrink: 0; padding-top: 2px; }
.event-dot svg { width: 14px; height: 14px; }
.event p { margin: 0; font-size: 11px; line-height: 1.6; }
.event small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 7px; }
.empty { padding: 40px 22px; text-align: left; color: var(--muted); line-height: 1.6; }
.empty-icon { color: var(--muted); margin-bottom: 21px; }
.empty-icon svg { width: 30px; height: 30px; }
.empty h3 { font-size: 21px; font-weight: 450; letter-spacing: -.025em; margin: 0 0 10px; color: var(--ink); }
.empty p { font-size: 12px; margin: 0 0 22px; max-width: 42ch; }
.empty p:last-child { margin-bottom: 0; }
.welcome { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 27px; padding: 24px 0; border-top: 1px solid var(--carbon); border-bottom: 1px solid var(--line); }
.welcome h3 { margin: 0 0 9px; font-size: 21px; font-weight: 450; letter-spacing: -.025em; }
.welcome p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.search { position: relative; flex: 1; min-width: 190px; }
.search svg { position: absolute; left: 13px; top: 14px; width: 17px; height: 17px; color: var(--muted); }
.search input { width: 100%; border: 1px solid var(--line); border-bottom-color: var(--carbon); background: var(--surface); padding: 14px 14px 14px 40px; border-radius: 0; font-size: 12px; color: var(--ink); }
.toolbar select { border: 1px solid var(--line); border-bottom-color: var(--carbon); padding: 13px; color: var(--ink); background: var(--surface); font-size: 12px; border-radius: 0; min-height: 45px; }
.tabs { gap: 0; border-bottom: 1px solid var(--line); }
.tab { background: transparent; color: var(--muted); font-size: 12px; border: 0; padding: 13px 17px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--ink); background: #d7d7d0; }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.info-line { display: flex; flex-wrap: wrap; gap: 22px; font-size: 12px; color: var(--muted); margin: 0 0 25px; }
.pending-card { display: flex; align-items: center; justify-content: space-between; gap: 19px; padding: 23px; border-bottom: 1px solid var(--line); }
.pending-card:last-child { border-bottom: 0; }
.pending-card h3 { font-size: 15px; margin: 0 0 9px; font-weight: 500; letter-spacing: -.02em; }
.pending-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.muted { color: var(--muted); }
.footer-note { margin-top: 35px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 9px; font-size: 12px; margin-bottom: 20px; }
.field > span { color: var(--ink); }
.field input, .field select, .field textarea { background: var(--surface); color: var(--ink); border: 1px solid #9e9e95; border-radius: 0; padding: 13px; width: 100%; min-width: 0; min-height: 44px; }
.field textarea { min-height: 80px; resize: vertical; }
.field small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.field .inline-checkbox { width: 17px; height: 17px; min-height: 0; margin: 0 9px 0 0; vertical-align: middle; accent-color: var(--carbon); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-error { color: var(--danger); line-height: 1.6; margin: 12px 0; font-size: 12px; }
.form-error:empty { display: none; }
.notice { padding: 15px 16px; font-size: 12px; line-height: 1.75; border: 1px solid var(--line); color: var(--ink); background: #ddddd5; margin-bottom: 21px; overflow-wrap: anywhere; }
.notice.warn { background: #eed9ca; border-color: #c2a48c; color: #6d3920; }
.notice svg { width: 16px; height: 16px; vertical-align: middle; }
dialog { width: 520px; max-width: calc(100% - 28px); max-height: 90vh; color: var(--ink); background: var(--canvas); padding: 28px; border: 1px solid var(--carbon); border-top: 5px solid var(--signal); border-radius: 0; box-shadow: 0 24px 80px #0005; }
dialog::backdrop { background: #15151099; }
.modal-header { display: flex; justify-content: space-between; align-items: start; gap: 17px; margin-bottom: 26px; }
.modal-header h2 { font-size: 27px; font-weight: 450; letter-spacing: -.035em; line-height: 1.1; margin: 4px 0 0; }
.modal-actions { display: flex; justify-content: end; gap: 9px; margin-top: 25px; border-top: 1px solid var(--line); padding-top: 20px; }
.qr-preview { text-align: center; margin: 15px 0 25px; }
.qr-preview img { width: 200px; height: 200px; }
.qr-preview strong { display: block; font-size: 24px; font-family: var(--mono); margin-top: 12px; }
.qr-preview p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.qr-preview .qr-url { font-size: 10px; overflow-wrap: anywhere; }
.scan-video { width: 100%; max-height: 300px; background: var(--carbon); object-fit: cover; }
.login-page { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(370px, 1fr); }
.login-story { background: var(--signal); display: flex; flex-direction: column; min-width: 0; }
.login-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 42px; }
.login-story .brand img { width: 41px; height: 41px; }
.login-story .brand { font-size: 33px; }
.login-story .brand-slash, .login-story .brand small { color: var(--carbon); }
.story-access { font-size: 10px; display: inline-flex; align-items: center; gap: 7px; }
.story-access svg { width: 12px; height: 12px; }
.login-statement { padding: 69px 42px 43px; }
.login-statement h1 { font-size: 88px; line-height: .98; letter-spacing: -.04em; font-weight: 450; margin: 0; text-wrap: initial; }
.login-statement > p { margin: 30px 0 0; max-width: 340px; line-height: 1.55; font-size: 16px; }
.login-photo { position: relative; height: 285px; flex: 1; min-height: 200px; overflow: hidden; background: var(--carbon); }
.login-photo > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 45%; filter: grayscale(1) contrast(1.1) brightness(.75); }
.photo-caption { position: absolute; display: flex; align-items: center; justify-content: space-between; gap: 16px; left: 0; right: 0; bottom: 0; background: var(--carbon); color: var(--on-dark); padding: 16px 42px; font-size: 11px; }
.photo-caption > span:last-child { display: inline-flex; align-items: center; gap: 13px; }
.photo-caption svg { width: 15px; height: 15px; color: var(--signal); }
.login-form-wrap { display: flex; flex-direction: column; padding: 42px; min-width: 0; }
.login-form-content { display: flex; flex: 1; align-items: center; justify-content: center; }
.login-form { width: 100%; max-width: 365px; }
.login-form-symbol { margin-bottom: 34px; }
.login-form-symbol svg { width: 38px; height: 38px; stroke-width: 1.1; }
.login-form h2 { margin: 0 0 22px; font-size: 52px; line-height: .99; font-weight: 450; letter-spacing: -.04em; }
.login-form > p { font-size: 12px; color: var(--muted); line-height: 1.75; margin-bottom: 29px; max-width: 35ch; }
.login-form .field input { border: 0; border-bottom: 1px solid var(--carbon); background: transparent; padding-left: 0; padding-right: 0; }
.login-form .btn { width: 100%; margin-top: 8px; justify-content: space-between; min-height: 49px; background: var(--carbon); color: var(--on-dark); border-color: var(--carbon); }
.login-form .btn:hover { background: var(--signal); color: var(--carbon); border-color: var(--signal); }
.login-note { font-size: 11px; color: var(--muted); line-height: 1.65; margin-top: 25px; }
.login-bottom { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 35px; display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); }
.mobile-brand, .mobile-nav, .login-mobile-brand { display: none; }
.loading { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; background: var(--signal); font-size: 55px; font-weight: 500; letter-spacing: -.04em; }
.loading span { font-size: 13px; font-weight: 400; letter-spacing: 0; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; padding: 16px 22px; color: var(--on-dark); background: var(--carbon); border: 1px solid var(--dark-line); box-shadow: 0 8px 24px #0002; max-width: 90%; font-size: 12px; line-height: 1.6; z-index: 100; transition: opacity 180ms ease, transform 180ms ease; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
#print-area { display: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
@media (min-width: 1600px) {
  .overview-statement h1 { font-size: 88px; }
  .overview-statement { min-height: 390px; }
  .login-statement h1 { font-size: 96px; }
}
@media (max-width: 1200px) {
  :root { --sidebar: 200px; }
  .sidebar .brand { margin-left: 20px; }
  .nav a { padding-left: 20px; }
  .topbar { padding: 0 26px; }
  main { padding: 30px 26px 25px; }
  .overview-hero { margin: -30px -26px 0; grid-template-columns: minmax(0, 1fr) 250px; }
  .overview-statement { padding: 33px 26px 28px; }
  .overview-statement h1 { font-size: 63px; }
  .status-board { padding: 30px 23px 24px; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .login-statement { padding: 65px 32px 40px; }
  .login-statement h1 { font-size: 72px; }
  .login-brand-row, .photo-caption { padding-left: 32px; padding-right: 32px; }
  .login-form-wrap { padding: 32px; }
  .story-access { display: none; }
  .heading { align-items: start; flex-wrap: wrap; }
  .heading h1 { font-size: 39px; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .overview-hero { grid-template-columns: 1fr; }
  .overview-statement { min-height: 285px; }
  .status-board { padding: 20px 26px; }
  .status-board dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 6px 0 0; }
  .status-board dl > div { display: block; border-bottom: 0; }
  .status-board dd { margin-top: 10px; }
  .status-board .status-link { margin-top: 10px; }
  .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-page { grid-template-columns: minmax(0, 1.2fr) minmax(350px, 1fr); }
  .login-statement h1 { font-size: 58px; }
}
@media (max-width: 760px) {
  .sidebar { display: none; }
  .workspace { margin-left: 0; }
  .topbar { height: 68px; padding: 0 18px; background: var(--carbon); color: var(--on-dark); border-bottom-color: var(--dark-line); }
  .breadcrumb, .today { display: none; }
  .mobile-brand { display: flex; font-size: 26px; }
  .mobile-brand img { width: 31px; height: 31px; }
  .mobile-brand small { display: none; }
  .top-right { gap: 10px; }
  .topbar .icon-button { color: var(--on-dark); width: 40px; height: 40px; }
  .access { color: var(--dark-muted); font-size: 9px; gap: 6px; }
  .access::before { background: var(--signal); }
  main { padding: 26px 18px 100px; }
  .employee-home { margin: -26px -18px 0; padding: 32px 18px 27px; display: block; }
  .employee-home h1 { font-size: 37px; line-height: 1.05; }
  .employee-home p { margin-top: 12px; font-size: 12px; }
  .employee-home .employee-scan { width: 100%; min-height: 50px; margin-top: 25px; justify-content: space-between; }
  .employee-section { margin-top: 29px; }
  .employee-section-head { margin-bottom: 15px; }
  .employee-section-head h2 { font-size: 20px; }
  .employee-loan { display: block; padding: 18px; }
  .employee-loan-main { gap: 12px; }
  .employee-loan-icon { width: 34px; height: 34px; }
  .employee-loan-title { display: block; }
  .employee-loan-title .badge { margin-top: 8px; }
  .employee-loan h3 { font-size: 15px; }
  .employee-loan-place { margin-top: 11px; }
  .employee-return { width: 100%; min-height: 48px; margin-top: 17px; justify-content: space-between; }
  .employee-hint { margin-top: 13px; }
  .employee-calm { padding: 23px 0; }
  .employee-inventory-row { grid-template-columns: 34px minmax(0, 1fr) auto 14px; gap: 10px; padding: 16px; }
  .employee-inventory-row > span { font-size: 11px; }
  .employee-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .employee-tabs::-webkit-scrollbar { display: none; }
  .employee-tabs .tab { flex: 0 0 auto; }
  .request-alert { margin-top: 18px; padding: 15px 17px; align-items: flex-start; }
  .request-alert > span:last-child { white-space: nowrap; }
  .request-layout { grid-template-columns: 1fr; gap: 31px; }
  .request-form, .request-unavailable { padding: 20px 18px; }
  .request-row { display: block; padding: 18px; }
  .request-main { gap: 12px; }
  .request-title { display: block; }
  .request-title .badge { margin-top: 8px; }
  .request-actions { margin-top: 17px; }
  .request-actions .btn { flex: 1; min-height: 44px; }
  .heading { gap: 21px; margin-bottom: 24px; padding-bottom: 22px; }
  .heading h1 { font-size: 36px; line-height: 1.08; margin-bottom: 14px; }
  .heading p { font-size: 12px; }
  .heading > .actions { width: 100%; }
  .heading > .actions .btn { flex: 1; }
  .overview-hero { margin: -26px -18px 0; grid-template-columns: 1fr; }
  .overview-statement { padding: 29px 18px 25px; min-height: 0; }
  .overview-statement h1 { font-size: 55px; margin-bottom: 24px; }
  .overview-bottom { gap: 22px; }
  .overview-bottom p { font-size: 12px; }
  .overview-bottom .actions { width: 100%; gap: 7px; }
  .overview-bottom .btn { flex: 1; font-size: 10px; padding: 12px 10px; gap: 7px; }
  .overview-bottom .btn svg { width: 15px; height: 15px; }
  .status-board { padding: 23px 18px 20px; }
  .status-board-title { padding-bottom: 15px; }
  .status-board h2 { font-size: 17px; }
  .status-board dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 5px 0 18px; }
  .status-board dl > div { padding: 13px 0; gap: 9px; }
  .status-board dt { max-width: 90px; font-size: 10px; }
  .status-board dd { font-size: 20px; }
  .status-board dd span { font-size: 9px; }
  .status-link { font-size: 11px; padding-top: 0; }
  .section-title { margin-top: 29px; margin-bottom: 16px; }
  .section-title h2 { font-size: 20px; }
  .section-total { margin-left: 7px; }
  .text-link { font-size: 10px; gap: 6px; }
  .box-grid { grid-template-columns: 1fr; }
  .box-card { padding: 20px; }
  .box-card-top { margin-bottom: 22px; }
  .box-code { font-size: 13px; }
  .box-card h3 { font-size: 24px; }
  .box-card-footer { margin-top: 23px; }
  .box-location { font-size: 12px; }
  .box-card-footer { font-size: 11px; }
  .dashboard-columns { gap: 26px; margin-top: 28px; }
  .panel-header { padding: 20px 17px; gap: 12px; }
  .panel-header h2 { font-size: 20px; }
  .panel-header p { font-size: 10px; }
  .panel-header > .text-link { white-space: nowrap; }
  td, th { padding: 15px 16px; }
  .empty { padding: 31px 18px; }
  .welcome { padding: 23px 0; align-items: start; flex-direction: column; gap: 18px; }
  .welcome h3 { font-size: 23px; }
  .welcome p { font-size: 12px; }
  .toolbar { gap: 10px; margin-bottom: 20px; }
  .toolbar select { max-width: 100%; }
  .tabs { gap: 0; }
  .tab { font-size: 11px; padding: 12px 10px; }
  .pending-card { padding: 21px 18px; flex-wrap: wrap; }
  .pending-card .actions { margin-top: 5px; }
  .pending-card .btn { min-height: 42px; }
  .info-line { gap: 12px 19px; font-size: 11px; line-height: 1.5; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; gap: 1px; background: var(--carbon); color: var(--on-dark); border-top: 1px solid var(--dark-line); padding: 12px 4px max(12px, env(safe-area-inset-bottom)); z-index: 15; }
  .mobile-nav a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-size: 9px; color: var(--dark-muted); min-width: 48px; min-height: 43px; }
  .mobile-nav a.active { color: var(--signal); }
  .mobile-nav svg { width: 20px; height: 20px; }
  .mobile-count { position: absolute; top: -5px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; background: var(--signal); color: var(--carbon); font-size: 9px; font-weight: 650; }
  .footer-note { font-size: 9px; line-height: 1.6; margin-top: 29px; }
  .footer-note span:last-child { display: none; }
  .login-page { display: flex; flex-direction: column; min-height: 100svh; }
  .login-story { display: none; }
  .login-form-wrap { min-height: 100svh; padding: 25px 26px; background: var(--canvas); }
  .login-mobile-brand { display: flex; font-size: 29px; margin-bottom: 38px; }
  .login-mobile-brand small { color: var(--muted); }
  .login-form-content { align-items: start; }
  .login-form-symbol { display: none; }
  .login-form h2 { font-size: 56px; margin-bottom: 23px; }
  .login-form > p { font-size: 12px; margin-bottom: 26px; }
  .login-form .btn { background: var(--signal); color: var(--carbon); border-color: var(--signal); }
  .login-form .field { margin-bottom: 23px; }
  .login-form .field input { padding-top: 14px; padding-bottom: 14px; font-size: 16px; }
  .login-bottom { margin-top: 35px; }
  .form-grid { grid-template-columns: 1fr; }
  dialog { padding: 23px; }
  .modal-header h2 { font-size: 26px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .field .inline-checkbox { min-width: 17px; }
  #toast { bottom: 90px; width: max-content; max-width: 90%; }
}
@media (max-width: 360px) {
  .overview-statement h1 { font-size: 48px; }
  .access { font-size: 8px; }
  .status-board dd { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .box-card:hover .box-card-top > svg, .box-card:focus-visible .box-card-top > svg { transform: none; }
}
@media print {
  body > * { display: none !important; }
  body > #print-area { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8mm; background: white; color: black; }
  .print-label { border: 1px dashed #aaa; padding: 5mm; text-align: center; break-inside: avoid; }
  .print-label img { width: 42mm; height: 42mm; }
  .print-label h2 { font-size: 20pt; margin: 0 0 3mm; }
  .print-label p { font-size: 10pt; margin: 2mm 0; }
  .print-label small { font-size: 8pt; }
  @page { size: A4; margin: 10mm; }
}
