SPB Git

Repository Public

styles.css 55.0 KB 605 lines css

1/* SP Vault — a precision instrument: calm, dense, exact. One stylesheet, no inline styles (CSP style-src 'self'). */23/* ── tokens ─────────────────────────────────────────────────────────────────────────────────────────────── */4:root {5  color-scheme: dark;6  --bg: #0c1113; --s1: #131b1e; --s2: #19242a; --s3: #1f2d34; --line: #24323a; --line-strong: #34474f;7  --text: #e7efee; --muted: #8fa3a6; --accent: #3fd0a8; --accent-ink: #052219; --accent-soft: rgba(63, 208, 168, 0.12); --accent-line: rgba(63, 208, 168, 0.4);8  --brass: #d9b46c; --brass-soft: rgba(217, 180, 108, 0.12); --brass-line: rgba(217, 180, 108, 0.38);9  --danger: #ff6b5e; --danger-ink: #2a0906; --danger-soft: rgba(255, 107, 94, 0.11); --danger-line: rgba(255, 107, 94, 0.42);10  --digit: #7cc4ff; --symbol: #d9b46c;11  --shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3); --scrim: rgba(4, 8, 9, 0.66);12  --mono-l: 62%; --mono-s: 42%;13  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;14  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;15  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;16  --r: 10px; --r-lg: 12px; --t: 150ms cubic-bezier(0.2, 0.7, 0.2, 1);17}18:root[data-theme="light"] {19  color-scheme: light;20  --bg: #f5f3ee; --s1: #ffffff; --s2: #f1eee7; --s3: #e8e4da; --line: #ddd8cc; --line-strong: #c3bcac;21  --text: #132022; --muted: #536468; --accent: #0e7c61; --accent-ink: #ffffff; --accent-soft: rgba(14, 124, 97, 0.09); --accent-line: rgba(14, 124, 97, 0.38);22  --brass: #855b0b; --brass-soft: rgba(154, 107, 18, 0.1); --brass-line: rgba(154, 107, 18, 0.4);23  --danger: #c2362b; --danger-ink: #ffffff; --danger-soft: rgba(194, 54, 43, 0.07); --danger-line: rgba(194, 54, 43, 0.38);24  --digit: #1559a6; --symbol: #8a4d06;25  --shadow: 0 18px 48px rgba(40, 34, 20, 0.16), 0 2px 6px rgba(40, 34, 20, 0.08); --scrim: rgba(30, 28, 22, 0.4);26  --mono-l: 40%; --mono-s: 46%;27}28@media (prefers-color-scheme: light) {29  :root[data-theme="system"] {30    color-scheme: light;31    --bg: #f5f3ee; --s1: #ffffff; --s2: #f1eee7; --s3: #e8e4da; --line: #ddd8cc; --line-strong: #c3bcac;32    --text: #132022; --muted: #536468; --accent: #0e7c61; --accent-ink: #ffffff; --accent-soft: rgba(14, 124, 97, 0.09); --accent-line: rgba(14, 124, 97, 0.38);33    --brass: #855b0b; --brass-soft: rgba(154, 107, 18, 0.1); --brass-line: rgba(154, 107, 18, 0.4);34    --danger: #c2362b; --danger-ink: #ffffff; --danger-soft: rgba(194, 54, 43, 0.07); --danger-line: rgba(194, 54, 43, 0.38);35    --digit: #1559a6; --symbol: #8a4d06;36    --shadow: 0 18px 48px rgba(40, 34, 20, 0.16), 0 2px 6px rgba(40, 34, 20, 0.08); --scrim: rgba(30, 28, 22, 0.4);37    --mono-l: 40%; --mono-s: 46%;38  }39}4041/* ── base ───────────────────────────────────────────────────────────────────────────────────────────────── */42*, *::before, *::after { box-sizing: border-box; }43html { height: 100%; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }44body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }45#root { min-height: 100dvh; }46h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }47ul, ol { padding: 0; list-style: none; }48button, input, select, textarea { font: inherit; color: inherit; }49button { cursor: pointer; }50a { color: var(--accent); }51strong { font-weight: 620; }52kbd { font: 11px/1 var(--mono); padding: 3px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; color: var(--muted); background: var(--s1); }53::selection { background: var(--accent-line); }54:focus { outline: none; }55:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }56.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }57.mono { font-family: var(--mono); letter-spacing: 0.03em; font-variant-ligatures: none; }58.serif { font-family: var(--serif); letter-spacing: -0.015em; font-weight: 600; }59.muted { color: var(--muted); }60.small { font-size: 12.5px; }61.fine { font-size: 12px; color: var(--muted); line-height: 1.55; }62.eyebrow { display: block; font-size: 11px; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }63.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }64.break { overflow-wrap: anywhere; }65.ok-text { color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }66.icon { flex: none; display: block; }67.only-mobile { display: none !important; }68.stack { display: flex; flex-direction: column; gap: 14px; }69.stack.center { align-items: center; text-align: center; }70.stack.center > .btn, .stack.center > .callout { align-self: stretch; text-align: left; }71.row { display: flex; align-items: center; gap: 8px; }72.row.wrap { flex-wrap: wrap; }73.row.end { justify-content: flex-end; }74.row.between { justify-content: space-between; }75.row.center { justify-content: center; }76.spacer { flex: 1; }77.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }78.plain { list-style: disc; padding-left: 18px; }7980/* ── logo & brand ───────────────────────────────────────────────────────────────────────────────────────── */81.logo { display: block; flex: none; }82.logo-plate { fill: var(--s2); }83.logo-ring { stroke: var(--accent); }84.logo-key { fill: var(--accent); }85.brand { display: inline-flex; align-items: center; gap: 10px; }86.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 650; letter-spacing: -0.025em; }8788/* ── buttons ────────────────────────────────────────────────────────────────────────────────────────────── */89.btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--s2); color: var(--text); font-weight: 560; font-size: 13.5px; white-space: nowrap; transition: background var(--t), border-color var(--t), transform var(--t), opacity var(--t); user-select: none; }90.btn:hover:not(:disabled) { background: var(--s3); border-color: var(--muted); }91.btn:active:not(:disabled) { transform: translateY(1px); }92.btn:disabled { opacity: 0.5; cursor: not-allowed; }93.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 640; }94.btn.primary:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 88%, var(--text)); border-color: transparent; }95.btn.danger { background: transparent; border-color: var(--danger-line); color: var(--danger); }96.btn.danger:hover:not(:disabled) { background: var(--danger-soft); border-color: var(--danger); }97.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }98.btn.ghost:hover:not(:disabled) { background: var(--s2); color: var(--text); border-color: transparent; }99.btn.small { min-height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }100.btn.block { width: 100%; min-height: 44px; font-size: 14.5px; }101.btn.danger-text { color: var(--danger); }102.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted); transition: background var(--t), color var(--t); text-decoration: none; }103.icon-btn:hover:not(:disabled) { background: var(--s2); color: var(--text); }104.icon-btn:disabled { opacity: 0.45; cursor: not-allowed; }105.icon-btn.active, .icon-btn[aria-pressed="true"] { color: var(--accent); }106.icon-btn.fav-on { color: var(--brass); }107.spinner { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; display: inline-block; opacity: 0.85; }108.spinner.big { width: 28px; height: 28px; border-width: 3px; color: var(--accent); }109@keyframes spin { to { transform: rotate(360deg); } }110111/* ── fields ─────────────────────────────────────────────────────────────────────────────────────────────── */112.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }113.field-label { font-size: 12px; font-weight: 620; color: var(--muted); letter-spacing: 0.02em; }114.field-hint { font-size: 12px; color: var(--muted); }115.field-error { font-size: 12.5px; color: var(--danger); font-weight: 560; }116.input { width: 100%; min-height: 38px; padding: 8px 11px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); transition: border-color var(--t), box-shadow var(--t); min-width: 0; }117.input::placeholder { color: var(--muted); opacity: 0.7; }118.input:hover { border-color: var(--muted); }119.input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); border-radius: var(--r); }120.input[aria-invalid="true"] { border-color: var(--danger); }121.input:disabled, .input[readonly] { background: var(--s2); }122.input:disabled { opacity: 0.7; }123.input.auto { width: auto; flex: none; }124.input.title-input { font-size: 16px; font-weight: 600; }125.input.concealed { -webkit-text-security: disc; }126textarea.input { resize: vertical; line-height: 1.5; }127select.input { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }128.input-row { display: flex; gap: 8px; align-items: flex-start; }129.input-row > .input { flex: 1; }130.input-row > .icon-btn { margin-top: 2px; }131.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 30px; }132.check input { width: 16px; height: 16px; accent-color: var(--accent); flex: none; }133.check-grid { display: flex; flex-wrap: wrap; gap: 6px 18px; }134.range { width: 100%; accent-color: var(--accent); height: 26px; }135.segmented { align-self: flex-start; display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r); background: var(--s2); border: 1px solid var(--line); max-width: 100%; flex-wrap: wrap; }136.segmented button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; color: var(--muted); font-weight: 560; font-size: 13px; transition: background var(--t), color var(--t); }137.segmented button:hover { color: var(--text); }138.segmented button.on { background: var(--s1); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong), 0 1px 2px rgba(0, 0, 0, 0.18); }139.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 30px; }140.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }141.toggle-track { width: 34px; height: 20px; border-radius: 999px; background: var(--s3); border: 1px solid var(--line-strong); position: relative; flex: none; transition: background var(--t), border-color var(--t); }142.toggle-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform var(--t), background var(--t); }143.toggle input:checked + .toggle-track { background: var(--accent); border-color: var(--accent); }144.toggle input:checked + .toggle-track::after { transform: translateX(14px); background: var(--accent-ink); }145.toggle input:focus-visible + .toggle-track { outline: 2px solid var(--accent); outline-offset: 2px; }146147/* ── callouts, badges, cards ────────────────────────────────────────────────────────────────────────────── */148.callout { display: flex; gap: 10px; padding: 11px 13px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s2); font-size: 13.5px; }149.callout > .icon { margin-top: 2px; color: var(--muted); }150.callout > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }151.callout-title { display: block; }152.callout.warn { border-color: var(--brass-line); background: var(--brass-soft); }153.callout.warn > .icon { color: var(--brass); }154.callout.ok { border-color: var(--accent-line); background: var(--accent-soft); }155.callout.ok > .icon { color: var(--accent); }156.callout.danger { border-color: var(--danger-line); background: var(--danger-soft); }157.callout.danger > .icon { color: var(--danger); }158.callout.security { border: 2px solid var(--danger); background: var(--danger-soft); box-shadow: 0 0 0 4px var(--danger-soft); }159.callout.security > .icon { color: var(--danger); }160.callout.security .callout-title { color: var(--danger); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; }161.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; line-height: 1.6; vertical-align: 1px; letter-spacing: 0.01em; }162.badge.accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }163.badge.ok { color: var(--accent); border-color: var(--accent-line); }164.badge.brass { color: var(--brass); border-color: var(--brass-line); background: var(--brass-soft); }165.badge.danger { color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }166.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); }167.card.pad { padding: 18px; }168.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; align-items: baseline; }169.kv dt { color: var(--muted); font-size: 12.5px; }170.kv dd { min-width: 0; }171.code { font: 12px/1.6 var(--mono); padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; white-space: pre; }172.fingerprint { display: inline-flex; flex-wrap: wrap; gap: 4px 9px; font-weight: 600; font-size: 13px; }173.fingerprint.big { font-size: 17px; gap: 6px 12px; }174.fingerprint span:nth-child(even) { color: var(--accent); }175progress { appearance: none; height: 6px; border-radius: 999px; overflow: hidden; border: 0; background: var(--s3); flex: 1; min-width: 80px; }176progress::-webkit-progress-bar { background: var(--s3); }177progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; transition: width var(--t); }178progress::-moz-progress-bar { background: var(--accent); }179.progress-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }180181/* ── empty states & skeletons ───────────────────────────────────────────────────────────────────────────── */182.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 44px 24px; color: var(--muted); }183.empty-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--s2); border: 1px dashed var(--line-strong); color: var(--muted); margin-bottom: 6px; }184.empty h3 { font-family: var(--serif); font-size: 17px; color: var(--text); letter-spacing: -0.015em; }185.empty p { max-width: 36ch; font-size: 13px; }186.empty .btn { margin-top: 10px; }187.skeleton-list { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }188.skeleton-row { display: flex; gap: 12px; align-items: center; }189.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }190.skeleton { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--s2) 25%, var(--s3) 50%, var(--s2) 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }191.sk-avatar { width: 36px; height: 36px; border-radius: 10px; }192.sk-a { height: 11px; width: 42%; }193.sk-b { height: 9px; width: 64%; }194@keyframes shimmer { to { background-position: -200% 0; } }195196/* ── dialogs & toasts ───────────────────────────────────────────────────────────────────────────────────── */197.dialog-backdrop { position: fixed; inset: 0; z-index: 60; background: var(--scrim); display: grid; place-items: center; padding: 20px; animation: fade var(--t); backdrop-filter: blur(3px); }198.dialog { width: min(480px, 100%); max-height: min(88dvh, 860px); display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); animation: rise 180ms cubic-bezier(0.2, 0.7, 0.2, 1); }199.dialog.wide { width: min(680px, 100%); }200.dialog.danger { border-color: var(--danger-line); }201.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 12px 20px; border-bottom: 1px solid var(--line); }202.dialog-head h2 { font-family: var(--serif); font-size: 18px; letter-spacing: -0.02em; font-weight: 620; min-width: 0; overflow-wrap: anywhere; }203.dialog-body { padding: 18px 20px; overflow-y: auto; }204.dialog-foot { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 12px 20px 16px; border-top: 1px solid var(--line); }205@keyframes fade { from { opacity: 0; } }206@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(0.985); } }207.toasts { position: fixed; z-index: 80; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; max-width: min(420px, calc(100vw - 36px)); }208.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 9px; padding: 10px 10px 10px 13px; border-radius: var(--r); background: var(--s3); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 13.5px; animation: rise 180ms cubic-bezier(0.2, 0.7, 0.2, 1); }209.toast > .icon { margin-top: 2px; color: var(--muted); }210.toast.ok > .icon { color: var(--accent); }211.toast.danger { border-color: var(--danger-line); }212.toast.danger > .icon { color: var(--danger); }213.toast.security { border: 2px solid var(--danger); }214.toast span { flex: 1; min-width: 0; overflow-wrap: anywhere; }215.toast-x { border: 0; background: transparent; color: var(--muted); padding: 3px; border-radius: 6px; display: grid; place-items: center; }216.toast-x:hover { color: var(--text); background: var(--s2); }217218/* ── auth screens ───────────────────────────────────────────────────────────────────────────────────────── */219.boot { min-height: 100dvh; display: flex; flex-direction: column; gap: 22px; align-items: center; justify-content: center; }220.auth { position: relative; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 36px 18px 24px; gap: 26px; overflow: hidden; }221.auth-glow { position: absolute; inset: -30% -20% auto; height: 70%; background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); pointer-events: none; }222.auth-brand { position: relative; margin-top: clamp(0px, 6vh, 56px); }223.auth-brand .brand-name { font-size: 24px; }224.auth-card { position: relative; width: min(430px, 100%); background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }225.auth-card.wide { width: min(600px, 100%); }226.auth-title { font-size: 25px; line-height: 1.15; }227.auth-foot { position: relative; margin-top: auto; font-size: 12px; color: var(--muted); }228.auth-foot span { display: inline-flex; align-items: center; gap: 6px; }229.lock-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--s2); border: 1px solid var(--line-strong); color: var(--brass); }230.lock-mark.ok { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }231.steps-list { counter-reset: step; display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }232.steps-list li { counter-increment: step; display: flex; gap: 10px; }233.steps-list li::before { content: counter(step); flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 600 11px var(--mono); color: var(--text); }234.steps-list strong { color: var(--text); }235.recovery-input { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }236.share-head { display: flex; gap: 14px; align-items: center; }237.share-head h1 { font-size: 22px; overflow-wrap: anywhere; }238239/* ── recovery kit ───────────────────────────────────────────────────────────────────────────────────────── */240.kit h2 { font-size: 23px; }241.kit-steps { display: flex; gap: 8px; margin-bottom: 16px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }242.kit-steps span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }243.kit-steps .on { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }244.kit-steps .done { color: var(--text); }245.kit-key { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line-strong); }246.kit-prefix { font-weight: 700; font-size: 15px; color: var(--accent); padding-top: 13px; }247.kit-groups { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px 10px; }248.kit-groups li { display: flex; flex-direction: column; gap: 1px; }249.kit-n { font: 10px var(--mono); color: var(--muted); }250.kit-g { font-size: 18px; font-weight: 650; letter-spacing: 0.1em; }251.kit-verify { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }252.kit-input { font-size: 18px; text-align: center; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 650; }253.print-sheet { display: none; }254255/* ── pairing ────────────────────────────────────────────────────────────────────────────────────────────── */256.pair-box { display: flex; gap: 22px; align-items: center; justify-content: center; padding: 18px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); flex-wrap: wrap; min-height: 120px; }257.qr { border-radius: 10px; display: block; }258.pair-side { display: flex; flex-direction: column; gap: 18px; max-width: 220px; }259.pair-side .eyebrow { margin-bottom: 4px; line-height: 1.5; }260.sas { display: inline-flex; gap: 12px; font-size: 32px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); line-height: 1.3; }261.kv .sas { font-size: 26px; }262.pair-timer { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }263.scanner { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: #000; object-fit: cover; }264265/* ── shell ──────────────────────────────────────────────────────────────────────────────────────────────── */266.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); height: 100dvh; overflow: hidden; }267.skip-link { position: fixed; top: -60px; left: 12px; z-index: 100; padding: 8px 12px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-weight: 600; text-decoration: none; }268.skip-link:focus { top: 10px; }269.sidebar { display: flex; flex-direction: column; background: var(--s1); border-right: 1px solid var(--line); min-height: 0; }270.sidebar-brand { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; flex: none; }271.sidebar-scroll { flex: 1; overflow-y: auto; padding: 4px 8px 16px; scrollbar-width: thin; }272.nav-group { display: flex; flex-direction: column; gap: 1px; }273.nav-title { display: flex; align-items: center; justify-content: space-between; padding: 16px 10px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }274.nav-link { border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 2px 4px; border-radius: 5px; text-transform: none; letter-spacing: 0; }275.nav-link:hover { color: var(--accent); }276.nav-item { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text); text-align: left; font-size: 13.5px; transition: background var(--t), color var(--t); position: relative; }277.nav-item > .icon { color: var(--muted); transition: color var(--t); }278.nav-item:hover { background: var(--s2); }279.nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 620; }280.nav-item.active::before { content: ""; position: absolute; left: -8px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }281.nav-item.active > .icon { color: var(--accent); }282.nav-label { flex: 1; }283.nav-count { font: 11px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }284.nav-kind { font-size: 10px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-strong); padding: 0 5px; border-radius: 999px; }285.nav-shared { color: var(--brass); display: inline-flex; }286.nav-tags > summary { cursor: pointer; list-style: none; border-radius: 6px; }287.nav-tags > summary::-webkit-details-marker { display: none; }288.nav-tags > summary .icon { transition: transform var(--t); }289.nav-tags[open] > summary .icon { transform: rotate(90deg); }290.sidebar-foot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 560; flex: none; }291.sidebar-foot .ellipsis { flex: 1; }292.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); font: 650 12px var(--serif); flex: none; }293.workspace { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100dvh; }294.topbar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg); flex: none; }295.search { flex: 1; min-width: 0; max-width: 520px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); color: var(--muted); transition: border-color var(--t), box-shadow var(--t); margin-right: auto; }296.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }297.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--text); height: 100%; }298.search input::-webkit-search-cancel-button { filter: grayscale(1); opacity: 0.6; }299.sync-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--s1); color: var(--muted); font-size: 12px; font-weight: 560; white-space: nowrap; transition: border-color var(--t), background var(--t); }300.sync-chip:hover { border-color: var(--muted); }301.sync-chip.ok > .icon { color: var(--accent); }302.sync-chip.pending { color: var(--text); }303.sync-chip.pending > .icon { animation: spin 1.6s linear infinite; }304.sync-chip.offline, .sync-chip.warn { color: var(--brass); border-color: var(--brass-line); background: var(--brass-soft); }305.offline-banner { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 12.5px; color: var(--brass); background: var(--brass-soft); border-bottom: 1px solid var(--brass-line); flex: none; }306.main { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }307.shell[data-page="items"] .main { overflow: hidden; }308.tabbar, .scrim { display: none; }309310/* ── items: list ────────────────────────────────────────────────────────────────────────────────────────── */311.items-view { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); height: 100%; }312.list-pane { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--bg); }313.list-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 2px 18px; flex: none; }314.list-head h2 { font-family: var(--serif); font-size: 19px; letter-spacing: -0.02em; font-weight: 620; display: inline; margin-right: 8px; }315.count { font-size: 12px; }316.sort-note { padding: 0 18px 8px; font-size: 11px; letter-spacing: 0.04em; flex: none; }317.item-list { flex: 1; overflow-y: auto; padding: 2px 8px 16px; display: flex; flex-direction: column; gap: 1px; scrollbar-width: thin; }318.item-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid transparent; border-radius: var(--r); background: transparent; text-align: left; transition: background var(--t), border-color var(--t); min-height: 54px; }319.item-row:hover { background: var(--s1); }320.item-row.selected { background: var(--s2); border-color: var(--line-strong); }321.item-row:focus-visible { outline-offset: -2px; border-radius: var(--r); }322.item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }323.item-title { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; min-width: 0; }324.item-sub { font-size: 12.5px; color: var(--muted); }325.item-vault { opacity: 0.8; }326.fav { color: var(--brass); display: inline-flex; flex: none; }327.item-flags { display: flex; align-items: center; gap: 6px; flex: none; }328.pending-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); display: inline-block; flex: none; }329.monogram { width: var(--size, 36px); height: var(--size, 36px); flex: none; display: grid; place-items: center; border-radius: calc(var(--size, 36px) * 0.28); font: 650 calc(var(--size, 36px) * 0.44) var(--serif); color: hsl(var(--hue) 62% var(--mono-l)); background: hsl(var(--hue) var(--mono-s) 50% / 0.16); border: 1px solid hsl(var(--hue) 50% 50% / 0.32); }330331/* ── items: detail ──────────────────────────────────────────────────────────────────────────────────────── */332.detail-pane { min-width: 0; overflow-y: auto; scrollbar-width: thin; background: var(--bg); }333.detail-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0.9; padding: 24px; text-align: center; }334.detail-empty .logo { opacity: 0.5; margin-bottom: 8px; }335.detail-empty .serif { font-size: 19px; }336.detail, .editor { max-width: 720px; margin: 0 auto; padding: 26px 30px 56px; display: flex; flex-direction: column; gap: 16px; }337.detail-head { display: flex; align-items: center; gap: 14px; }338.detail-title { flex: 1; min-width: 0; }339.detail-title h1 { font-family: var(--serif); font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 620; overflow-wrap: anywhere; }340.detail-title p { font-size: 13px; overflow-wrap: anywhere; }341.detail-actions { display: flex; align-items: center; gap: 6px; flex: none; }342.pending-note { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--brass); }343.item-body { display: flex; flex-direction: column; gap: 12px; }344.detail-group { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }345.detail-row { padding: 10px 8px 10px 16px; }346.detail-row + .detail-row { border-top: 1px solid var(--line); }347.detail-label { font-size: 11.5px; font-weight: 620; color: var(--muted); letter-spacing: 0.03em; margin-bottom: 1px; }348.value-row { display: flex; align-items: center; gap: 8px; min-height: 34px; }349.value { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14.5px; }350.value.mono { font-size: 14px; }351.value.multiline, .value.notes { white-space: pre-wrap; max-height: 260px; overflow-y: auto; padding: 4px 0; line-height: 1.55; }352.value.notes { font-size: 14px; }353.value-actions { display: flex; gap: 2px; flex: none; align-self: flex-start; }354.mask { letter-spacing: 0.16em; color: var(--muted); user-select: none; }355.secret-text { font-family: var(--mono); letter-spacing: 0.05em; font-variant-ligatures: none; }356.secret-text .c-d { color: var(--digit); font-weight: 650; }357.secret-text .c-s { color: var(--symbol); font-weight: 650; }358.value.url { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }359.url-host { font-weight: 560; }360.value.totp { display: flex; align-items: center; gap: 14px; }361.totp-code { display: inline-flex; gap: 8px; font-size: 22px; font-weight: 650; letter-spacing: 0.1em; color: var(--accent); font-variant-numeric: tabular-nums; }362.totp-code.low { color: var(--brass); }363.totp-ring { position: relative; width: 26px; height: 26px; display: inline-grid; place-items: center; flex: none; }364.totp-ring svg { position: absolute; inset: 0; }365.ring-bg { stroke: var(--line-strong); }366.ring-fg { stroke: var(--accent); transition: stroke-dashoffset 1s linear; }367.totp-ring.low .ring-fg { stroke: var(--brass); }368.totp-sec { font-size: 9.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }369.tags { display: flex; flex-wrap: wrap; gap: 6px; }370.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }371.chip button { border: 0; background: none; color: inherit; padding: 2px; margin-right: -4px; display: grid; place-items: center; border-radius: 50%; }372.chip button:hover { color: var(--danger); }373.detail-section, .section { display: flex; flex-direction: column; gap: 10px; }374.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }375.section-head h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }376.attachments { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); }377.attachments li { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; }378.attachments li + li { border-top: 1px solid var(--line); }379.attachments li > .icon { color: var(--muted); }380.att-name { flex: 1; font-weight: 560; }381.disclosure { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; }382.disclosure > summary { cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; list-style: none; padding: 2px 0; border-radius: 6px; }383.disclosure > summary::-webkit-details-marker { display: none; }384.disclosure > summary .icon { transition: transform var(--t); color: var(--muted); }385.disclosure[open] > summary .icon { transform: rotate(90deg); }386.disclosure[open] > summary { margin-bottom: 10px; }387.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 20px; padding-top: 14px; border-top: 1px solid var(--line); }388.meta dt { font-size: 11px; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }389.meta dd { font-size: 13px; }390.detail-foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }391.rows { display: flex; flex-direction: column; gap: 8px; }392.row-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); flex-wrap: wrap; }393.rows.compact { gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }394.rows.compact .row-card { border: 0; border-radius: 0; padding: 9px 14px; }395.rows.compact .row-card + .row-card { border-top: 1px solid var(--line); }396.row-main { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 3px; }397.row-main .muted { font-size: 12.5px; }398399/* ── editor ─────────────────────────────────────────────────────────────────────────────────────────────── */400.editor-head { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 5; background: var(--bg); margin: -26px -30px 0; padding: 14px 30px 12px 22px; border-bottom: 1px solid var(--line); }401.editor-head h1 { flex: 1; font-family: var(--serif); font-size: 19px; letter-spacing: -0.02em; font-weight: 620; }402.editor-section { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); }403.editor-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }404.field-block { display: flex; flex-direction: column; gap: 8px; }405.popover { padding: 16px; border-radius: var(--r-lg); background: var(--s2); border: 1px solid var(--line-strong); box-shadow: var(--shadow); animation: rise 160ms cubic-bezier(0.2, 0.7, 0.2, 1); }406.totp-preview { padding: 6px 8px 6px 14px; border-radius: var(--r); background: var(--bg); border: 1px dashed var(--line-strong); }407.url-edit, .custom-edit { display: flex; flex-direction: column; gap: 7px; }408.url-notes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 18px; }409.tag-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 38px; padding: 5px 8px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--bg); }410.tag-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }411.tag-input input { flex: 1; min-width: 90px; border: 0; background: transparent; outline: none; height: 26px; }412.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }413.type-card { width: 100%; height: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--s1); text-align: left; transition: border-color var(--t), background var(--t), transform var(--t); }414.type-card:hover { border-color: var(--accent-line); background: var(--s2); transform: translateY(-1px); }415.type-card strong { display: block; font-size: 14px; }416.type-card small { display: block; font-size: 12px; color: var(--muted); }417.type-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }418419/* ── generator ──────────────────────────────────────────────────────────────────────────────────────────── */420.generator { display: flex; flex-direction: column; gap: 14px; }421.gen-output { min-height: 68px; display: flex; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line-strong); font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }422.gen-actions { padding-top: 2px; }423.meter { display: flex; align-items: center; gap: 10px; min-width: 0; }424.meter-bars { display: flex; gap: 3px; flex: none; }425.meter-bars span { width: 22px; height: 5px; border-radius: 3px; background: var(--s3); transition: background var(--t); }426.meter.weak .on { background: var(--danger); }427.meter.fair .on { background: var(--brass); }428.meter.strong .on, .meter.excellent .on { background: var(--accent); }429.meter-text { font-size: 12px; color: var(--muted); min-width: 0; }430.meter-text strong { text-transform: capitalize; color: var(--text); }431432/* ── pages ──────────────────────────────────────────────────────────────────────────────────────────────── */433.page { max-width: 900px; margin: 0 auto; padding: 30px 32px 72px; display: flex; flex-direction: column; gap: 20px; }434.page.narrow { max-width: 600px; }435.page-head { display: flex; align-items: flex-start; gap: 14px; }436.page-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }437.page-head h1 { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 620; }438.page-head p { color: var(--muted); max-width: 64ch; }439.page-head-actions { display: flex; gap: 8px; flex: none; }440.section { padding-top: 6px; }441.section.danger-zone { padding: 16px; border: 1px solid var(--danger-line); border-radius: var(--r-lg); background: var(--danger-soft); }442.section.danger-zone .section-head h2 { color: var(--danger); }443.setting-row, .danger-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); flex-wrap: wrap; }444.setting-row > div:first-child, .danger-row > div:first-child { flex: 1; min-width: 220px; }445.setting-row p, .danger-row p { font-size: 12.5px; margin-top: 2px; }446.prose { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); max-width: 76ch; line-height: 1.62; }447.prose h3 { font-family: var(--serif); font-size: 16px; letter-spacing: -0.01em; margin-top: 8px; }448.prose h3:first-child { margin-top: 0; }449450/* security center */451.score-card { display: flex; align-items: center; gap: 24px; padding: 22px 24px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); flex-wrap: wrap; }452.score-dial { position: relative; width: 112px; height: 112px; flex: none; display: grid; place-items: center; }453.score-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }454.score-dial .ring-fg { transition: stroke-dashoffset 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }455.score-num { font-size: 36px; line-height: 1; }456.score-text { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px; }457.score-text h2 { font-size: 22px; }458.finding-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; align-items: start; }459.finding-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); }460.finding-card header { display: flex; align-items: center; gap: 10px; }461.finding-card h2 { flex: 1; font-size: 14px; font-weight: 640; }462.finding-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; flex: none; }463.finding-count { font-size: 20px; font-weight: 700; }464.finding-card.ok .finding-icon { color: var(--accent); background: var(--accent-soft); }465.finding-card.ok .finding-count { color: var(--muted); }466.finding-card.danger { border-color: var(--danger-line); }467.finding-card.danger .finding-icon { color: var(--danger); background: var(--danger-soft); }468.finding-card.danger .finding-count { color: var(--danger); }469.finding-card.brass { border-color: var(--brass-line); }470.finding-card.brass .finding-icon { color: var(--brass); background: var(--brass-soft); }471.finding-card.brass .finding-count { color: var(--brass); }472.finding-list { display: flex; flex-direction: column; gap: 2px; }473.finding-group { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }474.finding-group + .finding-group { border-top: 1px dashed var(--line); }475.finding-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 6px; border: 0; border-radius: 8px; background: transparent; text-align: left; transition: background var(--t); }476.finding-row:hover { background: var(--s2); }477.finding-row > .icon { color: var(--muted); }478.section.breach { padding: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); }479480/* vaults, devices, activity, connect */481.vault-card { padding: 16px; display: flex; flex-direction: column; gap: 14px; }482.vault-head { display: flex; align-items: center; gap: 14px; }483.vault-mark, .device-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }484.vault-title { flex: 1; min-width: 0; }485.vault-title h2 { font-family: var(--serif); font-size: 18px; letter-spacing: -0.015em; overflow-wrap: anywhere; }486.vault-title p { font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 3px; }487.members { display: flex; flex-direction: column; gap: 8px; }488.row-card.device { align-items: flex-start; }489.row-card.device.bad { border-color: var(--danger); }490.badges { gap: 6px; margin-top: 3px; }491.fp-short { font-size: 11.5px; color: var(--muted); }492.timeline { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }493.timeline li { display: flex; gap: 12px; padding: 11px 14px; }494.timeline li + li { border-top: 1px solid var(--line); }495.timeline li.notable { background: var(--brass-soft); }496.tl-icon { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--s2); color: var(--muted); }497.notable .tl-icon { color: var(--brass); }498.tl-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13.5px; }499.tl-body .muted { font-size: 12.5px; overflow-wrap: anywhere; }500.kill { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--s1); flex-wrap: wrap; }501.kill > div { flex: 1; min-width: 220px; }502.kill h2 { font-family: var(--serif); font-size: 18px; }503.kill p { font-size: 13px; color: var(--muted); }504.kill-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-strong); color: var(--muted); }505.kill.engaged { border: 2px solid var(--danger); background: var(--danger-soft); }506.kill.engaged .kill-icon { color: var(--danger); border-color: var(--danger); }507.kill.engaged h2 { color: var(--danger); }508.approvals { display: flex; flex-direction: column; gap: 12px; }509.approval { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--brass-line); background: var(--s1); }510.approval header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }511.untrusted { border: 1px dashed var(--danger-line); border-radius: var(--r); background: var(--bg); overflow: hidden; }512.untrusted-title { display: flex; align-items: center; gap: 7px; padding: 6px 10px; font-size: 11.5px; font-weight: 650; color: var(--danger); background: var(--danger-soft); border-bottom: 1px dashed var(--danger-line); }513.untrusted p { padding: 10px 12px; font-size: 12.5px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }514515/* ── phones (≤ 720 px): one pane at a time, bottom tab bar, 44-px targets ──────────────────────────────── */516@media (max-width: 720px) {517  body { font-size: 15px; }518  .only-mobile { display: inline-grid !important; }519  .hide-mobile { display: none !important; }520  .shell { grid-template-columns: minmax(0, 1fr); }521  .sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(310px, 86vw); transform: translateX(-102%); transition: transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: var(--shadow); visibility: hidden; }522  .sidebar.open { transform: none; visibility: visible; }523  .scrim { display: block; position: fixed; inset: 0; z-index: 45; background: var(--scrim); animation: fade var(--t); }524  .nav-item { min-height: 44px; font-size: 15px; }525  .topbar { padding: 0 8px; gap: 6px; height: 54px; }526  .topbar-logo { margin-right: 2px; }527  .search { height: 40px; }528  .search input { font-size: 16px; }529  .btn { min-height: 44px; }530  .btn.small { min-height: 40px; padding: 0 12px; }531  .icon-btn { width: 44px; height: 44px; }532  .new-btn { width: 44px; padding: 0; border-radius: 12px; flex: none; }533  .new-btn > span { display: none; }534  .sync-chip { flex: none; height: 44px; width: 44px; justify-content: center; padding: 0; border-radius: 12px; }535  .input { min-height: 44px; font-size: 16px; }536  .segmented button { min-height: 40px; }537  .check { min-height: 44px; }538  .main { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }539  .shell[data-page="items"] .main { overflow-y: auto; }540  .items-view { display: block; height: auto; min-height: 100%; }541  .items-view[data-pane="detail"] .list-pane, .items-view[data-pane="list"] .detail-pane { display: none; }542  .list-pane { border-right: 0; }543  .item-list { overflow: visible; }544  .item-row { min-height: 62px; }545  .detail, .editor { padding: 14px 14px 40px; }546  .editor-head { margin: -14px -14px 0; padding: 8px 14px 8px 6px; }547  .detail-head { flex-wrap: wrap; gap: 8px 10px; }548  .detail-head > .icon-btn.only-mobile { margin-left: -8px; }549  .detail-title { flex: 1 1 0; min-width: calc(100% - 120px); }550  .detail-title h1 { font-size: 21px; }551  .detail-actions { flex-basis: 100%; justify-content: flex-end; }552  .page { padding: 18px 14px 40px; gap: 16px; }553  .page-head { flex-wrap: wrap; }554  .page-head h1 { font-size: 23px; }555  .grid-2, .kit-verify { grid-template-columns: 1fr; }556  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--s1) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }557  .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; border: 0; background: transparent; color: var(--muted); font-size: 10.5px; font-weight: 600; }558  .tabbar button.active { color: var(--accent); }559  .toasts { left: 12px; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom)); align-items: stretch; max-width: none; }560  .dialog-backdrop { padding: 0; place-items: end center; }561  .dialog, .dialog.wide { width: 100%; max-height: 92dvh; border-radius: 18px 18px 0 0; border-bottom: 0; }562  .dialog-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }563  .dialog-foot .btn { flex: 1; }564  .auth { padding: 20px 14px; gap: 18px; }565  .auth-card { padding: 22px 18px; }566  .kit-key { flex-direction: column; gap: 6px; }567  .kit-groups { width: 100%; grid-template-columns: repeat(4, 1fr); }568  .kit-g { font-size: 16px; letter-spacing: 0.06em; }569  .kit-prefix { padding-top: 0; }570  .sas { font-size: 28px; }571  .setting-row, .danger-row { align-items: flex-start; }572  .score-card { gap: 16px; padding: 18px; }573  .finding-grid { grid-template-columns: 1fr; }574}575576@media (hover: none) {577  .icon-btn:hover:not(:disabled), .btn.ghost:hover:not(:disabled), .item-row:hover:not(.selected), .nav-item:hover:not(.active) { background: transparent; }578}579580@media (prefers-reduced-motion: reduce) {581  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }582  .spinner { animation: spin 1.4s linear infinite !important; animation-duration: 1.4s !important; animation-iteration-count: infinite !important; }583}584585/* ── print: only the recovery kit sheet ─────────────────────────────────────────────────────────────────── */586@media print {587  @page { margin: 22mm 20mm; }588  html, body { background: #fff !important; color: #000 !important; }589  body * { visibility: hidden !important; }590  .print-sheet, .print-sheet * { visibility: visible !important; }591  .auth, .auth-card, .dialog-backdrop, .dialog, .dialog-body, .shell, .workspace, .main, .page, .kit { position: static !important; overflow: visible !important; height: auto !important; max-height: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; display: block !important; transform: none !important; backdrop-filter: none !important; }592  .print-sheet { display: block !important; position: absolute; left: 0; top: 0; width: 100%; color: #000; font: 11.5pt/1.5 Georgia, "Times New Roman", serif; }593  .print-head { display: flex; align-items: center; gap: 10pt; border-bottom: 1.5pt solid #000; padding-bottom: 8pt; margin-bottom: 14pt; }594  .print-head h1 { font-size: 22pt; letter-spacing: -0.01em; }595  .print-mark { width: 30pt; height: 30pt; display: grid; place-items: center; border: 1.5pt solid #000; border-radius: 7pt; }596  .print-sheet h2 { font-size: 10pt; text-transform: uppercase; letter-spacing: 0.1em; margin: 16pt 0 6pt; font-family: Helvetica, Arial, sans-serif; }597  .print-meta { border-collapse: collapse; }598  .print-meta th { text-align: left; font-weight: normal; color: #444 !important; padding: 2pt 18pt 2pt 0; font-family: Helvetica, Arial, sans-serif; font-size: 10pt; }599  .print-meta td { font-weight: bold; }600  .print-key { font: bold 15pt/1.9 "Courier New", Courier, monospace; letter-spacing: 0.06em; border: 1.5pt solid #000; border-radius: 6pt; padding: 10pt 14pt; }601  .print-sheet ol { list-style: decimal; padding-left: 16pt; }602  .print-warn { margin-top: 12pt; padding: 8pt 10pt; border: 1pt solid #000; font-weight: bold; }603  .print-lines span { display: block; border-bottom: 0.75pt solid #777; height: 22pt; }604}605
Files main
Menu

Theme