/* ── Design System v3.1 components (iteration 2) ───────────────────────── * Built only from design-system-v3.css tokens. No new colors. */ /* Shell */ .shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: var(--space-6); max-width: 1480px; margin: 0 auto; padding: var(--space-5) var(--space-6); min-height: 100vh; } .rail { position: sticky; top: var(--space-5); align-self: start; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); max-height: calc(100vh - 40px); } .wordmark { font-weight: var(--fw-display); font-size: var(--fs-h3); display: flex; align-items: center; gap: var(--space-2); padding: 4px 6px; } .wordmark-mark { width: 30px; height: 30px; border-radius: 10px; background: var(--accent-fill); color: var(--text-on-accent); display: grid; place-items: center; font-size: 15px; border: 1px solid var(--border-control); box-shadow: var(--nm-raised-1); } .nav-group { display: flex; flex-direction: column; gap: 4px; } .nav-label { font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: var(--tracking-caps-wide); color: var(--text-secondary); font-weight: var(--fw-bold); padding: 8px 12px 2px; } .nav a { display: flex; align-items: center; gap: var(--space-3); padding: 9px 12px; border-radius: var(--radius-md); color: var(--text-primary); text-decoration: none; border: 1px solid transparent; font-weight: var(--fw-medium); position: relative; } .nav a:hover { border-color: var(--border-control); } .nav a:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: 2px; } .nav a[aria-current="page"] { background: var(--surface-inset); box-shadow: var(--nm-inset-1); border-color: var(--text-accent); color: var(--text-accent); font-weight: var(--fw-bold); } .nav svg { width: 18px; height: 18px; flex: none; } .nav .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill); font-size: var(--fs-caption); font-weight: var(--fw-bold); display: inline-grid; place-items: center; border: 1px solid currentColor; } .count-warn { color: var(--status-warning); background: var(--wash-warning); } .count-err { color: var(--status-error); background: var(--wash-error); } .rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3); border-top: 1px solid var(--border-hairline); padding-top: var(--space-3); } /* Top bar: search, freshness, context */ .topbar { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; } .search-trigger { flex: 1; min-width: 220px; max-width: 560px; display: flex; align-items: center; gap: var(--space-3); padding: 9px 14px; border-radius: var(--radius-pill); background: var(--surface-inset); box-shadow: var(--nm-inset-1); border: 1px solid var(--border-control); color: var(--text-secondary); font: inherit; cursor: pointer; text-align: left; } .search-trigger:hover { border-color: var(--text-accent); } .search-trigger:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); } .search-trigger svg { width: 16px; height: 16px; } .kbd { font: var(--fw-bold) 10px/1 var(--font-mono); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--border-control); color: var(--text-secondary); background: var(--surface-raised); box-shadow: 0 1px 0 var(--border-strong); } .fresh { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-label); color: var(--text-secondary); } .fresh .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--status-success); box-shadow: 0 0 0 3px var(--wash-success); } .fresh.is-stale .dot { background: var(--status-warning); box-shadow: 0 0 0 3px var(--wash-warning); } .fresh.is-stale { color: var(--status-warning); } /* Breadcrumb */ .crumbs { display: flex; gap: 6px; align-items: center; font-size: var(--fs-label); color: var(--text-secondary); } .crumbs a { color: var(--text-secondary); text-decoration: none; } .crumbs a:hover { color: var(--text-accent); text-decoration: underline; } /* Page header: title, one-line summary, ONE primary action, overflow for the rest */ .page-head { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-end; justify-content: space-between; } .page-head h1 { margin: 0; font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: var(--fw-display); } .page-head .sum { margin: 6px 0 0; color: var(--text-secondary); font-size: 13px; } .page-head .sum b { color: var(--text-primary); } /* Overflow / row menu */ .menu-wrap { position: relative; display: inline-block; } .menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; padding: 6px; display: none; flex-direction: column; gap: 2px; background: var(--surface-high); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: var(--nm-raised-3); } .menu.is-open { display: flex; } .menu button, .menu a { all: unset; box-sizing: border-box; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13px; cursor: pointer; color: var(--text-primary); } .menu button:hover, .menu a:hover, .menu button:focus-visible, .menu a:focus-visible { background: var(--accent-wash); outline: 1px solid var(--text-accent); } .menu .danger { color: var(--status-error); } .menu hr { border: 0; border-top: 1px solid var(--border-hairline); margin: 4px 0; width: 100%; } .menu .hint { margin-left: auto; font-size: var(--fs-caption); color: var(--text-secondary); } /* Tabs (segmented, with counts) */ .tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-inset); box-shadow: var(--nm-inset-1); border: 1px solid var(--border-control); width: max-content; max-width: 100%; overflow-x: auto; } .tabs button { font: var(--fw-medium) 13px/1 var(--font-body); color: var(--text-secondary); background: transparent; border: 1px solid transparent; border-radius: var(--radius-pill); padding: 8px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; } .tabs button[aria-selected="true"] { background: var(--surface-raised); color: var(--text-primary); font-weight: var(--fw-bold); box-shadow: var(--nm-raised-1); border-color: var(--border-control); } .tabs button:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: 2px; } .tabs .n { font-size: var(--fs-caption); padding: 1px 7px; border-radius: var(--radius-pill); border: 1px solid currentColor; } .tabs .n.warn { color: var(--status-warning); } /* Filter chips (removable) */ .fchips { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; } .fchip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 6px 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--text-accent); background: var(--accent-wash); color: var(--text-accent); font-size: var(--fs-label); font-weight: var(--fw-bold); } .fchip button { all: unset; cursor: pointer; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; } .fchip button:hover, .fchip button:focus-visible { background: var(--text-accent); color: var(--text-on-accent); } .fadd { font-size: var(--fs-label); } /* Quiet provenance: icon + lowercase text, never a chip */ .prov { display: inline-flex; gap: 4px; align-items: center; font-size: var(--fs-caption); color: var(--text-secondary); white-space: nowrap; } .prov i { font-style: normal; width: 14px; text-align: center; } .prov.warn { color: var(--status-warning); font-weight: var(--fw-bold); } .prov.info { color: var(--status-info); } /* Status: small filled label + glyph. Reserved for state, not provenance */ .st { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-label); font-weight: var(--fw-bold); white-space: nowrap; } .st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; } .st.run { color: var(--text-accent); } .st.ok { color: var(--status-success); } .st.err { color: var(--status-error); } .st.warn { color: var(--status-warning); } .st.idle { color: var(--text-secondary); } .st.warn::before { border-radius: 2px; transform: rotate(45deg); } .st.err::before { border-radius: 1px; } .st.idle::before { background: transparent; border: 2px solid currentColor; width: 6px; height: 6px; } /* Data tables (v3.1): quieter, row = one line where possible */ .tbl { width: 100%; border-collapse: collapse; font-size: 13px; } .tbl th { text-align: left; font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-secondary); font-weight: var(--fw-bold); padding: 10px 12px; border-bottom: 1px solid var(--border-strong); white-space: nowrap; position: sticky; top: 0; background: var(--surface-raised); z-index: 1; } .tbl th button.sort { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; } .tbl th button.sort:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: 2px; border-radius: 3px; } .tbl th[aria-sort="ascending"] button.sort::after { content: "▲"; font-size: 9px; color: var(--text-accent); } .tbl th[aria-sort="descending"] button.sort::after { content: "▼"; font-size: 9px; color: var(--text-accent); } .tbl th[aria-sort="none"] button.sort::after { content: "↕"; font-size: 10px; opacity: .6; } .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--border-hairline); vertical-align: middle; } .tbl tr:last-child td { border-bottom: 0; } .tbl .r { text-align: right; font-variant-numeric: tabular-nums; } .tbl tbody tr.clickable { cursor: pointer; } .tbl tbody tr.clickable:hover td { background: var(--accent-wash); } .tbl tbody tr.is-selected td { background: var(--accent-wash); box-shadow: inset 0 1px 0 var(--text-accent), inset 0 -1px 0 var(--text-accent); } .tbl tbody tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--text-accent), inset 0 1px 0 var(--text-accent), inset 0 -1px 0 var(--text-accent); } .tbl tbody tr:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: -2px; } .sub { display: block; font-size: var(--fs-caption); color: var(--text-secondary); font-weight: var(--fw-regular); line-height: var(--lh-snug); } .strong { font-weight: var(--fw-bold); } .num { font-variant-numeric: tabular-nums; } .table-card { padding: 0; overflow: hidden; } .table-scroll { overflow: auto; max-height: 70vh; } .table-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-hairline); flex-wrap: wrap; font-size: var(--fs-label); } /* Meter: remaining bar with the 200 g threshold tick */ .meter { position: relative; height: 8px; border-radius: var(--radius-pill); background: var(--surface-inset); box-shadow: var(--nm-inset-1); border: 1px solid var(--border-hairline); overflow: visible; min-width: 90px; } .meter > span { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--text-accent); } .meter.is-low > span { background: var(--status-warning); } .meter .tick { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--text-secondary); border-radius: 1px; } /* Drawer (right sheet; full-screen on phones) */ .drawer-scrim { position: fixed; inset: 0; background: rgba(10, 10, 14, .5); opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out); z-index: 40; } :root[data-theme="light"] .drawer-scrim { background: rgba(60, 55, 80, .28); } .drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(520px, calc(100vw - 24px)); z-index: 41; transform: translateX(calc(100% + 24px)); transition: transform 220ms var(--ease-out); display: flex; flex-direction: column; overflow: hidden; } body.drawer-open .drawer { transform: none; } body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; } .drawer-head { padding: var(--space-5) var(--space-5) var(--space-3); display: flex; gap: var(--space-3); align-items: flex-start; border-bottom: 1px solid var(--border-hairline); } .drawer-head h2 { margin: 0; font-size: var(--fs-h3); line-height: var(--lh-snug); } .drawer-tabs { padding: var(--space-3) var(--space-5) 0; } .drawer-body { flex: 1; overflow: auto; padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-5); } .drawer-foot { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border-hairline); display: flex; gap: var(--space-3); justify-content: flex-end; align-items: center; flex-wrap: wrap; } .drawer-nav { display: flex; gap: 4px; } @media (prefers-reduced-motion: reduce) { .drawer, .drawer-scrim { transition: none; } } /* Key-value list */ .kv { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 8px var(--space-4); margin: 0; font-size: 13px; } .kv dt { color: var(--text-secondary); } .kv dd { margin: 0; font-variant-numeric: tabular-nums; } .panel { padding: var(--space-4); } .panel h3 { margin: 0 0 var(--space-3); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--tracking-caps-wide); color: var(--text-secondary); } /* Command palette */ .pal-scrim { position: fixed; inset: 0; background: rgba(10, 10, 14, .55); z-index: 60; display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; } :root[data-theme="light"] .pal-scrim { background: rgba(60, 55, 80, .3); } .pal-scrim.is-open { display: flex; } .pal { width: min(640px, calc(100vw - 32px)); max-height: 70vh; display: flex; flex-direction: column; overflow: hidden; } .pal-input { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4); border-bottom: 1px solid var(--border-hairline); } .pal-input input { all: unset; flex: 1; font: var(--fw-medium) 16px/1.4 var(--font-body); color: var(--text-primary); } .pal-input input::placeholder { color: var(--text-secondary); } .pal-list { overflow: auto; padding: 6px; } .pal-sec { font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: var(--tracking-caps-wide); color: var(--text-secondary); font-weight: var(--fw-bold); padding: 10px 10px 4px; } .pal-item { display: flex; gap: var(--space-3); align-items: center; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; border: 1px solid transparent; } .pal-item[aria-selected="true"] { background: var(--accent-wash); border-color: var(--text-accent); } .pal-item .meta { margin-left: auto; font-size: var(--fs-caption); color: var(--text-secondary); white-space: nowrap; } .pal-foot { padding: 8px var(--space-4); border-top: 1px solid var(--border-hairline); display: flex; gap: var(--space-4); font-size: var(--fs-caption); color: var(--text-secondary); flex-wrap: wrap; } /* Toasts */ .toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; } .toast { pointer-events: auto; display: flex; gap: var(--space-3); align-items: center; padding: 10px 12px 10px 16px; background: var(--surface-high); border: 1px solid var(--border-strong); border-left: 4px solid var(--status-success); border-radius: var(--radius-md); box-shadow: var(--nm-raised-3); font-size: 13px; max-width: min(560px, calc(100vw - 32px)); } .toast.warn { border-left-color: var(--status-warning); } /* Attention list (dashboard) */ .attn-list { display: flex; flex-direction: column; gap: var(--space-3); } .attn { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--border-hairline); box-shadow: var(--nm-raised-2); } .attn .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; font-weight: var(--fw-bold); background: var(--surface-inset); box-shadow: var(--nm-inset-1); border: 1px solid var(--border-hairline); } .attn.warn .ico { color: var(--status-warning); border-color: var(--status-warning); } .attn.err .ico { color: var(--status-error); border-color: var(--status-error); } .attn.info .ico { color: var(--status-info); } .attn h3 { margin: 0; font-size: 14px; } .attn p { margin: 2px 0 0; font-size: var(--fs-label); color: var(--text-secondary); } .attn-done { padding: var(--space-5); text-align: center; color: var(--text-secondary); } /* Skeleton + empty + error states */ .skel { border-radius: 6px; background: linear-gradient(90deg, var(--surface-inset) 0%, var(--border-hairline) 50%, var(--surface-inset) 100%); background-size: 200% 100%; animation: skel 1.4s linear infinite; height: 12px; } @keyframes skel { to { background-position: -200% 0; } } @media (prefers-reduced-motion: reduce) { .skel { animation: none; } } .empty { padding: var(--space-8) var(--space-5); text-align: center; display: flex; flex-direction: column; gap: var(--space-3); align-items: center; } .empty h3 { margin: 0; font-size: 15px; } .empty p { margin: 0; color: var(--text-secondary); font-size: 13px; max-width: 420px; } .banner { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: 13px; border: 1px solid var(--status-warning); background: var(--wash-warning); } .banner.err { border-color: var(--status-error); background: var(--wash-error); } /* Slot grid (printers + move flow) */ .slotgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .slotgrid.one { grid-template-columns: minmax(0, 1fr); max-width: 25%; } .slot { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 10px; min-height: 92px; border-radius: var(--radius-md); border: 1px solid var(--border-control); background: var(--surface-raised); box-shadow: var(--nm-raised-1); font-size: var(--fs-caption); position: relative; min-width: 0; } .slot:hover { border-color: var(--text-accent); } .slot:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: 2px; } .slot .sn { color: var(--text-secondary); font-weight: var(--fw-bold); } .slot .nm { font-weight: var(--fw-bold); font-size: 12px; line-height: var(--lh-snug); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .slot .g { margin-top: auto; font-variant-numeric: tabular-nums; font-size: 12px; } .slot.empty { border-style: dashed; box-shadow: none; background: transparent; color: var(--text-secondary); justify-content: center; align-items: center; text-align: center; } .slot.is-low { border-color: var(--status-warning); } .slot[aria-pressed="true"] { background: var(--accent-wash); border: 2px solid var(--text-accent); box-shadow: var(--nm-inset-1); } .slot[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 6px; right: 8px; color: var(--text-accent); font-weight: var(--fw-bold); font-size: 13px; } .slot[disabled] { cursor: not-allowed; opacity: .75; } /* Mockup pill (replaces the iteration-1 banner) */ .mock { position: fixed; left: 16px; bottom: 16px; z-index: 35; } .mock > button { font: var(--fw-bold) var(--fs-caption)/1 var(--font-body); text-transform: uppercase; letter-spacing: var(--tracking-caps); padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--text-accent); background: var(--surface-high); color: var(--text-accent); box-shadow: var(--nm-raised-2); cursor: pointer; } .mock .menu { left: 0; right: auto; top: auto; bottom: calc(100% + 8px); width: 330px; padding: var(--space-4); gap: var(--space-2); font-size: var(--fs-label); } .mock .menu p { margin: 0; line-height: var(--lh-snug); } /* Mobile bottom tab bar + FAB */ .tabbar { display: none; } .fab { display: none; } @media (max-width: 699px) { .shell { grid-template-columns: minmax(0, 1fr); padding: var(--space-3) var(--space-4) 96px; gap: var(--space-4); } .rail { display: none; } .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 36; padding: 6px; border-radius: var(--radius-xl); } .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: var(--radius-lg); color: var(--text-secondary); text-decoration: none; font-size: 11px; font-weight: var(--fw-medium); position: relative; border: 1px solid transparent; } .tabbar a[aria-current="page"] { color: var(--text-accent); background: var(--surface-inset); box-shadow: var(--nm-inset-1); border-color: var(--text-accent); font-weight: var(--fw-bold); } .tabbar svg { width: 20px; height: 20px; } .tabbar .count { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 16px; height: 16px; font-size: 9px; padding: 0 4px; border-radius: 99px; display: grid; place-items: center; border: 1px solid currentColor; } .fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: 88px; z-index: 36; width: 56px; height: 56px; border-radius: 18px; font-size: 26px; padding: 0; } .mock { bottom: 88px; } .topbar .fresh span.long { display: none; } .page-head .primary-desktop { display: none; } .drawer { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; } .slotgrid.one { max-width: 50%; } } @media (max-width: 520px) { .slotgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* Form grid + small utilities */ .fr2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 16px; } .nowrap { white-space: nowrap; } .drawer-body a { color: var(--text-accent); } .linkish { all: unset; cursor: pointer; color: var(--text-accent); text-decoration: underline; } .linkish:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: 2px; } .tile-link { text-decoration: none; color: inherit; } .tile-link:hover { border-color: var(--text-accent); } .tile-link:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); } .is-flash { animation: flash 1.6s var(--ease-out) 1; } @keyframes flash { 0%, 40% { outline: 3px solid var(--focus-ring); outline-offset: 4px; } 100% { outline: 3px solid transparent; outline-offset: 4px; } } @media (prefers-reduced-motion: reduce) { .is-flash { animation: none; outline: 3px solid var(--focus-ring); } } #page { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; } .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; } #drawer-title:focus { outline: none; } #drawer-title:focus-visible { outline: none; text-decoration: underline; text-decoration-color: var(--focus-ring); text-underline-offset: 4px; } .short { display: none; } @media (max-width: 699px) { .search-trigger .long, .search-trigger .kbd.long, .mock .long { display: none; } .search-trigger .short { display: inline; } .search-trigger { min-width: 0; } .remcell .top { flex-wrap: nowrap; white-space: nowrap; } .remcell .top .sub { display: none !important; } } .pal-input svg { width: 18px; height: 18px; flex: none; color: var(--text-secondary); } /* ── Tablet tier (700–1180 px): compact rail, side-sheet panel ───────────── */ @media (min-width: 700px) and (max-width: 1180px) { .shell { grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-5); padding: var(--space-4) var(--space-5); } .rail { padding: var(--space-3) 8px; gap: var(--space-3); align-items: stretch; } .wordmark { justify-content: center; font-size: 0; padding: 4px 0; } .wordmark-mark { width: 40px; height: 40px; font-size: 18px; } .nav-label { font-size: 9px; padding: 6px 0 0; text-align: center; letter-spacing: .06em; } .nav a { flex-direction: column; gap: 4px; padding: 10px 2px 8px; font-size: 11px; text-align: center; justify-content: center; } .nav a svg { width: 22px; height: 22px; } .nav a > span:not(.count) { line-height: 1.1; } .nav a .sub { display: none; } .nav .count { position: absolute; top: 4px; right: 10px; margin: 0; min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; } .rail-foot .seg, .rail-foot .small { display: none; } .rail-foot { border-top: 0; padding-top: 0; } .drawer { width: min(480px, calc(100vw - 96px)); } .hide-t { display: none !important; } .page-head h1 { font-size: var(--fs-h2); } } /* Tablet touch targets: at least 44 px for primary interactive rows */ @media (pointer: coarse) { .btn-sm { min-height: 40px; } .tbl td { padding-top: 12px; padding-bottom: 12px; } .menu button, .menu a { padding: 12px 12px; } .kbd { display: none; } } .more-sheet { position: fixed; left: 8px; right: 8px; bottom: 84px; top: auto; z-index: 37; padding: 8px; } .more-sheet a svg, .more-sheet button svg { width: 18px; height: 18px; } .findit { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--radius-md); border: 2px solid var(--text-accent); background: var(--accent-wash); } .findit b { font-size: 17px; } .findit .sub { width: 100%; text-transform: uppercase; letter-spacing: var(--tracking-caps-wide); font-weight: 700; } details.chg { margin-top: 8px; } details.chg summary { cursor: pointer; font-size: var(--fs-label); color: var(--text-accent); font-weight: 700; } .holder { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-inset); box-shadow: var(--nm-inset-1); border: 1px solid var(--border-hairline); display: flex; flex-direction: column; gap: 8px; } .holder-h { display: flex; gap: var(--space-3); align-items: center; font-size: var(--fs-label); flex-wrap: wrap; } .tabbar { grid-template-columns: repeat(5, 1fr) !important; }