:root {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #242139;
  background: #f6f5f9;
  font-synthesis: none;
  --muted: #625e75;
  --border: #e7e4ef;
  --field-border: #ded9ea;
  --accent: #5140bd;
  --accent-hover: #4130a5;
  --accent-soft: #eee9fb;
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; font-size: 14px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 2px solid #786be6; outline-offset: 3px; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 1; width: 228px;
  display: flex; flex-direction: column; padding: 24px 15px 20px;
  background: #fff; color: #5b566e; border-right: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; margin: 4px 8px 42px; }
.brand strong, .brand small { display: block; }
.brand strong { color: #242139; font-size: 19px; letter-spacing: .02em; }
.brand small { margin-top: 4px; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.brand-icon {
  display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(150deg, #7664de, var(--accent));
}
.key-icon { width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid white; border-radius: 50%; position: relative; transform: rotate(43deg); }
.key-icon::before { position: absolute; content: ""; width: 13px; height: 2px; top: 3px; left: 9px; background: white; border-radius: 2px; }
.key-icon::after { position: absolute; content: ""; width: 7px; height: 4px; top: 4px; left: 14px; border-left: 2px solid white; border-right: 2px solid white; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; border-radius: 9px; padding: 10px 12px; min-height: 45px; font-weight: 550; }
.sidebar nav a:hover { background: #f5f2fb; color: var(--accent-hover); }
.sidebar nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; }
.nav-icon { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 6px; color: #71698e; font-size: 17px; line-height: 1; }
[aria-current="page"] .nav-icon { background: #ddd4f8; color: var(--accent-hover); }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin: auto 8px 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #33ac83; border-radius: 50%; }

.unlock-screen {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(ellipse at 22% 10%, #ede8fc, #f7f6fa 65%);
}
.unlock-card { width: min(100%, 440px); padding: 32px; box-shadow: 0 18px 48px #30255110; }
.unlock-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 25px; }
.unlock-brand strong, .unlock-brand small { display: block; }
.unlock-brand strong { font-size: 16px; }
.unlock-brand small { margin-top: 3px; color: var(--muted); }
.unlock-brand .local-label { margin-left: auto; }
.unlock-card h1 { font-size: 28px; }
.unlock-card h1 + p { color: var(--muted); margin: 9px 0 20px; line-height: 1.55; }
.unlock-card label { display: block; color: #26344d; font-weight: 650; margin-bottom: 7px; }
.unlock-card .button { width: 100%; margin-top: 20px; }
.unlock-card .hint { margin-top: 15px; }
.verification-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.verification-input .button { width: auto; margin-top: 0; }
.account-switch { display: block; margin: 8px auto 0; min-height: 44px; }

.main { margin-left: 228px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 65px; background: #fff; border-bottom: 1px solid var(--border); padding: 0 36px; color: var(--muted); }
.topbar strong { color: #302a46; }
.breadcrumb-divider { margin: 0 10px; color: #8291a9; }
.local-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #286c58; border: 1px solid #d6ece3; background: #f0faf5; border-radius: 30px; padding: 5px 10px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-actions .lock-button { min-height: 31px; padding: 4px 10px; }
.content { max-width: 1280px; padding: 36px 36px 48px; margin: auto; }
.page-heading, .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-heading { margin-bottom: 24px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 33px; line-height: 1.3; font-weight: 750; letter-spacing: -.02em; }
.view h1[tabindex="-1"]:focus-visible { outline: none; }
h2 { font-size: 18px; font-weight: 680; }
h3 { font-size: 15px; }
.page-heading p, .panel-header p { margin-top: 7px; color: var(--muted); line-height: 1.5; }
.panel-header p { font-size: 13px; }
.button, .actions, .form-actions { display: inline-flex; align-items: center; gap: 10px; }
.button { justify-content: center; min-height: 40px; padding: 8px 15px; font-weight: 650; border: 1px solid transparent; border-radius: 10px; white-space: nowrap; }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover:not(:disabled) { background: var(--accent-hover); }
.button.secondary { background: #fff; border-color: var(--border); color: #39334d; }
.button.secondary:hover:not(:disabled) { background: #f6f2fd; border-color: #cec2ed; }
.button.main-action { min-height: 46px; padding-inline: 22px; font-size: 15px; font-weight: 700; }
.button.main-action:not(:disabled) { box-shadow: 0 5px 12px #5140bd29; }
.ship-submit-bar { display: flex; padding-top: 16px; border-top: 1px solid var(--border); }
.ship-submit-bar .main-action { min-width: 175px; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 23px; }
.metric, .panel { background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 4px 14px #30255107; }
.metric { padding: 17px 20px 20px; }
.metric-label { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #4e5b72; }
.metric-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 18px; }
.violet { background: #edeaff; color: #6051cf; }
.green { background: #e5f7ef; color: #217959; }
.blue { background: #e7f0ff; color: #275ab5; }
.metric-value { margin-top: 13px; color: var(--muted); font-size: 12px; }
.metric-value strong { font-size: 33px; line-height: 1.1; margin-right: 5px; color: #18243c; font-variant-numeric: tabular-nums; }
.panel-header { padding: 20px 22px 14px; }
.panel-header select { max-width: 235px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 13px 18px; border-bottom: 1px solid #edf0f6; }
th:first-child, td:first-child { padding-left: 22px; }
th:last-child, td:last-child { padding-right: 22px; }
th { background: #f8f7fb; color: #625e75; font-size: 12px; white-space: nowrap; }
th[scope="row"] { background: transparent; color: #26344f; font-size: 14px; font-weight: 620; white-space: normal; }
td { color: #3d4c68; }
tr:last-child td, tr:last-child th[scope="row"] { border-bottom: 0; }
tbody tr:hover { background: #fcfcff; }
.source-cell { overflow-wrap: anywhere; min-width: 90px; }
.date-cell { white-space: nowrap; font-variant-numeric: tabular-nums; }
.count { min-width: 27px; display: inline-block; text-align: center; border-radius: 5px; padding: 3px 7px; background: #eef8f1; color: #256647; font-variant-numeric: tabular-nums; font-weight: 650; }
.count.zero { background: #f0f3f8; color: #5a6a83; }
.text-button { background: none; border: none; padding: 3px 0; color: #4d3bbd; cursor: pointer; font-weight: 650; }
.text-button:hover { text-decoration: underline; }
.empty { padding: 35px 22px; text-align: center; color: var(--muted); }

.form-panel { max-width: 890px; padding: 24px; }
.form-panel label, .history-search label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 7px; color: #26344d; }
input:not([type="file"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--field-border);
  border-radius: 10px; background: #fcfbfe; color: #242139;
}
input::placeholder, textarea::placeholder { color: #65738b; }
textarea { min-height: 160px; resize: vertical; font-family: "IBM Plex Mono", ui-monospace, monospace; line-height: 1.65; }
.intake-dates, .date-seller, .history-search, .ship-fields { display: grid; gap: 14px; }
.intake-dates, .date-seller { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field + .field { margin-top: 19px; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hint { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-actions { margin-top: 20px; flex-wrap: wrap; }
.notice { border: 1px solid #cce8da; border-radius: 8px; background: #edf8f2; color: #1c6045; padding: 12px 14px; margin-top: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.notice p + p { margin-top: 5px; }
.notice.error { color: #8d3033; background: #fff1f1; border-color: #f4d7d8; }
.notice .text-button { margin-left: 9px; }
.duplicate-jump { color: #794911; }
.duplicate-report { margin-top: 15px; border: 1px solid #efd6ae; border-radius: 9px; overflow: hidden; }
.duplicate-header { padding: 11px 15px; background: #fff5e4; color: #6b4716; }
.duplicate-header h2 { font-size: 15px; }
.duplicate-header p { margin-top: 4px; line-height: 1.5; }
.duplicate-report th, .duplicate-report td { padding: 9px 13px; }
.duplicate-report td:last-child { overflow-wrap: anywhere; }
.duplicate-report .pagination { padding: 9px 13px; }
#load-error { margin: 0 0 14px; }
.ship-fields { grid-template-columns: minmax(0, 1fr) 108px; }
.fixed-version { min-height: 42px; padding: 10px 13px; background: #f6f3fb; border: 1px solid var(--border); border-radius: 10px; font-weight: 650; }
.legacy-stock { margin-top: 16px; padding: 13px 20px; }
.legacy-stock summary { cursor: pointer; font-weight: 650; }
.legacy-stock ul { margin: 10px 0 0; padding-left: 20px; }
.close-button { border: 1px solid #dfe5ef; border-radius: 8px; min-width: 34px; height: 36px; background: #fff; color: #566783; font-size: 22px; line-height: 1; }
.close-button:hover:not(:disabled) { background: #f2f2ff; color: var(--accent); }
.result-panel { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.result-panel p { overflow-wrap: anywhere; }
.result-panel { margin-bottom: 16px; }
.result-panel .actions, .key-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.key-state { display: inline-block; font-size: 12px; font-weight: 650; white-space: nowrap; }
.key-state.disabled { color: #8b4214; }
.key-state.active { color: #256647; }
.amber { background: #fff2db; color: #864e10; }
.order-changes { margin-top: 18px; font-size: 13px; }
.order-changes summary { font-weight: 650; cursor: pointer; }
.order-changes ul { padding-left: 18px; margin-bottom: 0; overflow-wrap: anywhere; }
.issued-box { padding: 13px; margin-bottom: 14px; background: #edf8f2; border: 1px solid #cce8da; border-radius: 8px; }
.issued-box ul { padding-left: 18px; margin: 8px 0 10px; }
.delivery-top { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.delivery-top h3, .delivery-top p { overflow-wrap: anywhere; }
.delivery-top p { margin-top: 5px; color: var(--muted); }
.shipment-badge { display: inline-block; border-radius: 4px; padding: 2px 7px; background: #edf1f7; color: #43516b; font-size: 12px; font-weight: 650; white-space: nowrap; }
.shipment-badge.pending { background: #fff3d7; color: #81520f; }
.shipment-badge.shipped { background: #e7f6ed; color: #1c6045; }
.delivery-group { padding: 13px 0 0; }
.delivery-group h3 { margin-bottom: 7px; }
.delivery-group ul { list-style: none; padding: 10px 12px; margin: 0; border-radius: 10px; background: #f7f5fb; max-height: 250px; overflow: auto; }
.delivery-group li { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 3px 0; }
.delivery-group li .text-button { flex-shrink: 0; }
.key-origin { margin-top: 3px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
code { font-family: "IBM Plex Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.history-search { padding: 18px 22px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(105px, .65fr) auto; align-items: end; }
.history-search:has(#history-version-field[hidden]) { grid-template-columns: minmax(0, 1fr) minmax(105px, .45fr) auto; }
.history-search .button { min-height: 42px; }
.key-search { padding: 18px 22px; display: grid; grid-template-columns: minmax(0, 280px) auto; gap: 14px; align-items: end; justify-content: start; }
.key-search label, .action-field { display: block; font-weight: 650; }
.key-search label { margin-bottom: 7px; }
.action-field { margin-top: 13px; }
.action-field > input, .action-field > select { margin-top: 6px; font-weight: 400; }
.backup-panel + .backup-panel, #backup-result + .backup-panel { margin-top: 16px; }
#restore-banner { margin-bottom: 16px; }
.backup-panel .field { margin-top: 14px; }
#restore-file { display: block; width: 100%; color: var(--muted); }
#restore-file::file-selector-button {
  min-height: 44px; margin-inline-end: 8px; padding: 8px 12px; font: inherit; font-weight: 650;
  border: 1px solid var(--border); border-radius: 10px; color: #39334d; background: #fff; cursor: pointer;
}
.form-panel .checkbox-label, .checkbox-label {
  display: flex; gap: 9px; align-items: start; margin-top: 10px; line-height: 1.5; overflow-wrap: anywhere;
}
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.retire-choices { min-inline-size: 0; margin-top: 14px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 8px; }
.retire-list { max-height: 230px; overflow: auto; }
.retire-choices legend { padding: 0 5px; font-weight: 650; }
.in-panel { margin: 0 22px 14px; }
.order-cell { min-width: 110px; overflow-wrap: anywhere; }
.seller-cell { min-width: 68px; overflow-wrap: anywhere; }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 15px 22px; border-top: 1px solid var(--border); color: var(--muted); }
dialog { width: min(680px, calc(100% - 32px)); max-height: 85dvh; overflow: auto; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); color: #18243c; box-shadow: 0 18px 56px #141b3245; }
dialog::backdrop { background: #141b326a; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--border); }
.dialog-body { padding: 20px; }

@media (max-width: 980px) {
  .sidebar { width: 190px; }
  .main { margin-left: 190px; }
  .topbar, .content { padding-left: 23px; padding-right: 23px; }
  th, td { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 900px) {
  :root { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { min-height: 100svh; }
  .unlock-screen { min-height: 100svh; padding: 16px; }
  .unlock-card { min-width: 0; padding: 22px 18px; }
  .unlock-brand { gap: 9px; margin-bottom: 20px; flex-wrap: wrap; }
  .unlock-brand .local-label { padding: 4px 7px; font-size: 11px; }
  .unlock-card h1 { font-size: 24px; }
  .sidebar { position: static; width: auto; padding: 12px 12px 10px; border-right: 0; border-bottom: 1px solid var(--border); }
  .brand { margin: 0 84px 12px 2px; }
  .brand-icon { height: 36px; flex-basis: 36px; }
  .brand strong { font-size: 16px; }
  .sidebar nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .sidebar nav a { justify-content: center; padding: 6px 3px; min-height: 44px; gap: 4px; font-size: 13px; white-space: nowrap; }
  .sidebar-footer { display: none; }
  .nav-icon { flex: 0 0 18px; width: 18px; height: 18px; font-size: 13px; }
  .main { margin-left: 0; }
  .topbar { position: absolute; z-index: 2; top: 8px; right: 12px; min-height: 0; padding: 0; background: transparent; border: 0; }
  .topbar > span, .topbar .local-label { display: none; }
  .topbar-actions .lock-button { min-height: 44px; padding: 6px 10px; }
  .content { padding: 18px 14px 30px; }
  h1 { font-size: 24px; }
  .page-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
  .page-heading > .actions, .result-panel > .actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
  .metric { padding: 11px 12px; }
  .metric-label { font-size: 13px; gap: 6px; }
  .metric-icon { width: 23px; height: 23px; font-size: 15px; }
  .metric-value { margin-top: 6px; }
  .metric-value strong { font-size: 27px; }
  .panel-header { padding: 14px; flex-wrap: wrap; }
  .panel-header select { max-width: min(100%, 175px); }
  .form-panel { padding: 14px; }
  input:not([type="checkbox"]):not([type="file"]), select, textarea { min-width: 0; min-height: 44px; font-size: 16px; }
  select {
    appearance: none; padding-inline-end: 30px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: right 16px center, right 11px center;
    background-size: 5px 5px; background-repeat: no-repeat;
  }
  /* Keep padding off the input so Safari doesn't add it to the width.
     Center the single line inside WebKit's otherwise top-aligned date value. */
  input[type="date"] {
    --date-field-height: 44px;
    display: block;
    -webkit-appearance: none;
    appearance: none;
    max-width: 100%;
    height: var(--date-field-height);
    padding: 0;
    border: 0;
    box-shadow: inset 0 0 0 1px var(--field-border);
  }
  input[type="date"]::-webkit-date-and-time-value {
    margin: 0;
    padding-inline: 12px;
    line-height: var(--date-field-height);
    text-align: start;
  }
  input[type="date"]::-webkit-datetime-edit { padding-inline: 11px; }
  input[type="date"]::-webkit-calendar-picker-indicator { margin-inline-end: 11px; }
  input[type="file"] { max-width: 100%; }
  textarea { min-height: 120px; }
  .button { min-height: 44px; padding: 8px 10px; white-space: normal; text-align: center; }
  .button.main-action { min-height: 49px; padding-inline: 12px; }
  .ship-submit-bar .main-action, .issued-box .main-action { width: 100%; min-width: 0; }
  .form-panel .form-actions, .dialog-body .form-actions { display: flex; width: 100%; }
  .form-actions > .button { flex: 1 1 auto; }
  .field + .field { margin-top: 15px; }
  .field-head { flex-wrap: wrap; }
  .history-search, .history-search:has(#history-version-field[hidden]), .key-search {
    padding: 14px; gap: 10px; grid-template-columns: minmax(0, 1fr) auto;
  }
  .history-search > div:first-child { grid-column: 1 / -1; }
  .history-search:not(:has(#history-version-field[hidden])) .button { grid-column: 1 / -1; }
  .ship-fields { grid-template-columns: minmax(0, 1fr) 78px; gap: 10px; }
  .fixed-version { display: flex; align-items: center; min-height: 44px; padding: 8px 11px; overflow-wrap: anywhere; }

  .mobile-records { overflow: visible; }
  .mobile-records table, .mobile-records tbody { display: block; }
  .mobile-records thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mobile-records tbody { padding: 0 12px 12px; }
  .mobile-records tbody tr {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px 12px;
    border: 1px solid var(--border); border-radius: 9px; padding: 12px; margin-bottom: 8px;
  }
  .mobile-records tbody tr:last-child { margin-bottom: 0; }
  .mobile-records tbody th, .mobile-records tbody td {
    min-width: 0; grid-column: span 3; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere;
  }
  .mobile-records tbody th, .mobile-records tbody td.empty { grid-column: 1 / -1; }
  .mobile-records td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--muted); font-size: 12px; }
  .mobile-records td.empty { padding: 14px 6px; }
  #inventory .mobile-records td:nth-child(n+4) { grid-column: span 2; }
  #history .mobile-records td[data-label]:last-child, #keys .mobile-records td[data-label]:last-child { grid-column: 1 / -1; border-top: 1px solid var(--border); }
  #history .mobile-records td[data-label]:last-child::before, #keys .mobile-records td[data-label]:last-child::before { content: none; }
  .mobile-records .text-button { min-height: 36px; text-align: left; overflow-wrap: anywhere; }
  .mobile-records td[data-label]:empty { display: none; }
  .pagination { justify-content: center; gap: 8px; padding: 10px 12px; }

  body:has(dialog[open]) { overflow: hidden; }
  dialog { position: fixed; inset: auto 0 0; width: min(100%, 520px); max-width: 100%; max-height: calc(100dvh - 12px); margin: 0 auto; border-radius: 16px 16px 0 0; overscroll-behavior: contain; }
  .dialog-header { position: sticky; top: 0; z-index: 1; background: #fff; padding: 8px 14px; }
  .close-button { min-width: 44px; height: 44px; }
  .dialog-body { padding: 14px 14px max(18px, env(safe-area-inset-bottom)); }
  .delivery-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .delivery-top .actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .delivery-top .actions .primary { grid-column: 1 / -1; }
  .delivery-group ul { max-height: none; overflow: visible; padding: 9px 11px; }
  .delivery-group li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .delivery-group li + li { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
  .delivery-group code, .issued-box code { font-size: clamp(13px, 3.8vw, 15px); user-select: text; }
  .key-actions .text-button { min-height: 44px; }
}

@media (701px <= width <= 900px) {
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .intake-dates, .date-seller { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 350px) {
  .sidebar nav a { font-size: 12px; }
  .nav-icon { display: none; }
}
