| |
| |
| |
| |
|
|
| :root { |
| |
| --bg: #f4f6fb; |
| --bg-tint: #eceffa; |
| --surface: #ffffff; |
| --surface-2: #f8f9fd; |
| --line: #e4e8f4; |
| --line-strong: #d3d9ea; |
|
|
| |
| --ink: #171a26; |
| --ink-2: #414a63; |
| --muted: #6d7793; |
| --faint: #98a1b8; |
|
|
| |
| --accent: #5b5bd6; |
| --accent-2: #8b5cf6; |
| --accent-ink: #4a45c4; |
| --accent-soft: #ecebfd; |
| --accent-line: #d5d3fa; |
| --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #a855f7 100%); |
| --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f5f0ff 100%); |
|
|
| |
| --good: #0d9f6e; |
| --good-soft: #e3f7ef; |
| --warn: #b45309; |
| --warn-soft: #fdf3e3; |
| --danger: #dc2626; |
| --danger-soft: #fdeced; |
|
|
| |
| --r-sm: 8px; |
| --r: 14px; |
| --r-lg: 20px; |
| --shadow-sm: 0 1px 2px rgba(23, 26, 38, .06); |
| --shadow: 0 1px 3px rgba(23, 26, 38, .06), 0 8px 24px -8px rgba(23, 26, 38, .10); |
| --shadow-lg: 0 2px 8px rgba(23, 26, 38, .06), 0 24px 48px -16px rgba(23, 26, 38, .18); |
| --ring: 0 0 0 3px var(--accent-soft); |
|
|
| --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, |
| "Noto Sans", "Noto Sans Sinhala", "Noto Sans Tamil", sans-serif; |
| --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace; |
| } |
|
|
| @media (prefers-color-scheme: dark) { |
| :root { |
| --bg: #0a0c13; |
| --bg-tint: #0f1220; |
| --surface: #141824; |
| --surface-2: #1a1f2e; |
| --line: #242a3b; |
| --line-strong: #333a50; |
|
|
| --ink: #e9ecf5; |
| --ink-2: #b9c0d4; |
| --muted: #8790a8; |
| --faint: #646d85; |
|
|
| --accent: #818cf8; |
| --accent-2: #a78bfa; |
| --accent-ink: #a5b0ff; |
| --accent-soft: #1e2340; |
| --accent-line: #2f3660; |
| --grad: linear-gradient(135deg, #818cf8 0%, #a78bfa 55%, #c084fc 100%); |
| --grad-soft: linear-gradient(135deg, #171b2e 0%, #1d1830 100%); |
|
|
| --good: #34d399; |
| --good-soft: #10241d; |
| --warn: #fbbf24; |
| --warn-soft: #241d10; |
| --danger: #f87171; |
| --danger-soft: #2a1418; |
|
|
| --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5); |
| --shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 8px 24px -8px rgba(0, 0, 0, .6); |
| --shadow-lg: 0 2px 8px rgba(0, 0, 0, .5), 0 24px 48px -16px rgba(0, 0, 0, .7); |
| --ring: 0 0 0 3px rgba(129, 140, 248, .25); |
| } |
| } |
|
|
| * { box-sizing: border-box; } |
|
|
| html { -webkit-text-size-adjust: 100%; } |
|
|
| body { |
| margin: 0; |
| min-height: 100vh; |
| background: var(--bg); |
| background-image: |
| radial-gradient(900px 400px at 12% -8%, var(--bg-tint), transparent 70%), |
| radial-gradient(700px 360px at 100% 0%, var(--accent-soft), transparent 65%); |
| background-attachment: fixed; |
| color: var(--ink); |
| font-family: var(--font); |
| font-size: 15px; |
| line-height: 1.6; |
| -webkit-font-smoothing: antialiased; |
| } |
|
|
| .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; } |
|
|
| |
|
|
| .topbar { |
| position: sticky; top: 0; z-index: 40; |
| background: color-mix(in srgb, var(--surface) 78%, transparent); |
| backdrop-filter: saturate(1.6) blur(14px); |
| -webkit-backdrop-filter: saturate(1.6) blur(14px); |
| border-bottom: 1px solid var(--line); |
| } |
| .topbar-inner { display: flex; align-items: center; gap: 20px; height: 64px; } |
|
|
| .brand { |
| display: flex; align-items: center; gap: 11px; |
| color: var(--ink); text-decoration: none; |
| font-weight: 700; font-size: 15.5px; letter-spacing: -.015em; white-space: nowrap; |
| } |
| .brand-mark { |
| display: grid; place-items: center; |
| width: 32px; height: 32px; border-radius: 10px; |
| background: var(--grad); color: #fff; |
| font-size: 12px; font-weight: 800; letter-spacing: -.03em; |
| box-shadow: 0 4px 12px -3px rgba(99, 102, 241, .55); |
| } |
|
|
| .nav { display: flex; gap: 2px; margin-left: auto; } |
| .nav a { |
| display: flex; align-items: center; gap: 7px; |
| padding: 8px 14px; border-radius: 10px; |
| color: var(--muted); text-decoration: none; |
| font-weight: 500; font-size: 14px; |
| transition: background .16s, color .16s; |
| } |
| .nav a svg { width: 16px; height: 16px; opacity: .85; } |
| .nav a:hover { background: var(--surface-2); color: var(--ink); } |
| .nav a.active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; } |
| .nav a.active svg { opacity: 1; } |
|
|
| .model-status { |
| display: flex; align-items: center; gap: 8px; |
| padding: 6px 12px; border-radius: 999px; |
| background: var(--surface-2); border: 1px solid var(--line); |
| font-size: 12px; color: var(--muted); white-space: nowrap; |
| } |
| .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; } |
| .dot-ok { background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent); } |
| .dot-load { background: var(--warn); animation: pulse 1.4s ease-in-out infinite; } |
| .dot-bad { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent); } |
| @keyframes pulse { |
| 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--warn) 45%, transparent); } |
| 50% { opacity: .65; box-shadow: 0 0 0 5px transparent; } |
| } |
|
|
| |
|
|
| .page { padding: 30px 24px 12px; display: flex; flex-direction: column; gap: 20px; } |
|
|
| .hero { margin-bottom: 2px; } |
| .hero h1 { |
| margin: 0 0 8px; |
| font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; |
| letter-spacing: -.03em; line-height: 1.15; |
| } |
| .hero h1 .grad { |
| background: var(--grad); -webkit-background-clip: text; background-clip: text; |
| -webkit-text-fill-color: transparent; color: transparent; |
| } |
| .hero p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 68ch; } |
|
|
| .grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: start; } |
| @media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; } } |
|
|
| .card { |
| background: var(--surface); |
| border: 1px solid var(--line); |
| border-radius: var(--r-lg); |
| box-shadow: var(--shadow); |
| padding: 24px; |
| } |
| .card h2 { |
| font-size: 16px; font-weight: 650; margin: 0 0 4px; letter-spacing: -.015em; |
| display: flex; align-items: center; gap: 9px; |
| } |
| .card h2 svg { width: 17px; height: 17px; color: var(--accent); } |
| .card h3 { |
| font-size: 11.5px; font-weight: 700; margin: 22px 0 11px; |
| color: var(--faint); text-transform: uppercase; letter-spacing: .09em; |
| } |
| .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; } |
|
|
| .muted { color: var(--muted); } |
| .small { font-size: 12.5px; } |
| .mono { font-family: var(--mono); font-size: 12.5px; } |
| .center { text-align: center; } |
| .right { text-align: right; } |
| .hidden { display: none !important; } |
| .row-between { |
| display: flex; align-items: center; justify-content: space-between; |
| gap: 14px; flex-wrap: wrap; margin-bottom: 12px; |
| } |
|
|
| |
|
|
| textarea, input[type=text], input[type=search] { |
| width: 100%; padding: 13px 15px; |
| border: 1px solid var(--line-strong); border-radius: var(--r); |
| background: var(--surface-2); color: var(--ink); |
| font-family: inherit; font-size: 14.5px; line-height: 1.6; |
| resize: vertical; |
| transition: border-color .16s, box-shadow .16s, background .16s; |
| } |
| textarea::placeholder, input::placeholder { color: var(--faint); } |
| textarea:focus, input[type=text]:focus, input[type=search]:focus { |
| outline: none; border-color: var(--accent); |
| background: var(--surface); box-shadow: var(--ring); |
| } |
| textarea { min-height: 150px; } |
|
|
| input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; } |
| input[type=range] { accent-color: var(--accent); } |
|
|
| .samples { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 14px 0 4px; } |
| .samples-label { |
| font-size: 11.5px; font-weight: 700; color: var(--faint); |
| text-transform: uppercase; letter-spacing: .08em; margin-right: 2px; |
| } |
| .chip { |
| display: inline-flex; align-items: center; gap: 6px; |
| border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink-2); |
| border-radius: 999px; padding: 5px 13px; |
| font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; |
| transition: all .16s; |
| } |
| .chip:hover { |
| border-color: var(--accent); color: var(--accent-ink); |
| background: var(--accent-soft); transform: translateY(-1px); |
| } |
| .chip .flag { font-size: 13px; } |
|
|
| .options { |
| display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; |
| margin: 18px 0 4px; padding: 14px 16px; |
| background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); |
| font-size: 13px; |
| } |
| .check { display: flex; align-items: center; gap: 8px; color: var(--ink-2); cursor: pointer; user-select: none; } |
| .check:hover { color: var(--ink); } |
| .range { display: flex; align-items: center; gap: 9px; color: var(--ink-2); margin-left: auto; } |
| .range input[type=range] { width: 100px; } |
| .range output { |
| font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-ink); |
| background: var(--accent-soft); border-radius: 6px; padding: 1px 7px; min-width: 40px; text-align: center; |
| } |
|
|
| .actions { display: flex; align-items: center; gap: 11px; margin-top: 18px; } |
|
|
| .btn { |
| display: inline-flex; align-items: center; justify-content: center; gap: 8px; |
| border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); |
| padding: 10px 18px; border-radius: var(--r); |
| font-family: inherit; font-size: 14px; font-weight: 550; |
| cursor: pointer; text-decoration: none; white-space: nowrap; |
| transition: all .16s; |
| } |
| .btn svg { width: 16px; height: 16px; } |
| .btn:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-1px); } |
| .btn:active { transform: translateY(0); } |
| .btn:focus-visible { outline: none; box-shadow: var(--ring); } |
|
|
| .btn-primary { |
| background: var(--grad); border-color: transparent; color: #fff; |
| box-shadow: 0 4px 14px -4px rgba(99, 102, 241, .6); |
| } |
| .btn-primary:hover { |
| background: var(--grad); color: #fff; |
| box-shadow: 0 8px 22px -6px rgba(99, 102, 241, .7); transform: translateY(-1px); |
| } |
| .btn-primary:disabled { |
| opacity: .55; cursor: not-allowed; transform: none; |
| box-shadow: 0 4px 14px -4px rgba(99, 102, 241, .35); |
| } |
| .btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 9px; } |
| .btn-danger { color: var(--danger); } |
| .btn-danger:hover { border-color: var(--danger); background: var(--danger-soft); } |
| .btn-ghost { border-color: transparent; background: transparent; color: var(--muted); } |
| .btn-ghost:hover { background: var(--surface-2); color: var(--ink); } |
|
|
| .spinner { |
| width: 17px; height: 17px; border-radius: 50%; |
| border: 2px solid var(--line-strong); border-top-color: var(--accent); |
| animation: spin .65s linear infinite; |
| } |
| @keyframes spin { to { transform: rotate(360deg); } } |
|
|
| |
|
|
| .empty { |
| display: flex; flex-direction: column; align-items: center; justify-content: center; |
| text-align: center; padding: 44px 20px; color: var(--muted); |
| } |
| .empty-icon { |
| width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; |
| display: grid; place-items: center; |
| background: var(--grad-soft); border: 1px solid var(--accent-line); color: var(--accent); |
| } |
| .empty-icon svg { width: 24px; height: 24px; } |
| .empty strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 5px; font-size: 14.5px; } |
| .empty p { margin: 0; font-size: 13px; max-width: 40ch; } |
|
|
| .verdict { |
| display: flex; align-items: center; gap: 20px; |
| padding: 20px; border-radius: var(--r); |
| background: var(--grad-soft); border: 1px solid var(--accent-line); |
| } |
| .verdict-main { min-width: 0; flex: 1; } |
| .verdict-eyebrow { |
| font-size: 11px; font-weight: 700; color: var(--accent-ink); |
| text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; |
| } |
| .verdict-label { |
| font-size: clamp(20px, 2.6vw, 27px); font-weight: 750; |
| letter-spacing: -.03em; line-height: 1.15; word-break: break-word; |
| } |
|
|
| |
| .ring { position: relative; width: 86px; height: 86px; flex: none; } |
| .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } |
| .ring circle { fill: none; stroke-width: 9; stroke-linecap: round; } |
| .ring .ring-bg { stroke: var(--accent-line); } |
| .ring .ring-fg { |
| stroke: url(#ringGrad); |
| stroke-dasharray: 232.5; stroke-dashoffset: 232.5; |
| transition: stroke-dashoffset .8s cubic-bezier(.22, 1, .36, 1); |
| } |
| .ring.low .ring-fg { stroke: var(--warn); } |
| .ring-val { |
| position: absolute; inset: 0; display: grid; place-items: center; |
| font-family: var(--mono); font-size: 17px; font-weight: 700; |
| letter-spacing: -.04em; color: var(--ink); |
| } |
|
|
| .warn { |
| display: flex; gap: 10px; align-items: flex-start; |
| background: var(--warn-soft); color: var(--warn); |
| border: 1px solid color-mix(in srgb, var(--warn) 28%, transparent); |
| border-radius: var(--r); padding: 12px 14px; font-size: 13px; margin-top: 14px; |
| } |
| .warn svg { width: 16px; height: 16px; flex: none; margin-top: 2px; } |
| .warn a { color: inherit; } |
|
|
| .kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; } |
| .kv > div { |
| padding: 11px 13px; border-radius: var(--r-sm); |
| background: var(--surface-2); border: 1px solid var(--line); min-width: 0; |
| } |
| .kv-k { |
| font-size: 10.5px; font-weight: 700; color: var(--faint); |
| text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; |
| } |
| .kv-v { |
| font-size: 13.5px; font-weight: 600; color: var(--ink); |
| overflow: hidden; text-overflow: ellipsis; white-space: nowrap; |
| } |
|
|
| .trans { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; } |
| .trans summary { |
| cursor: pointer; padding: 11px 15px; background: var(--surface-2); |
| font-size: 13px; font-weight: 550; color: var(--ink-2); |
| list-style: none; display: flex; align-items: center; gap: 8px; |
| } |
| .trans summary::-webkit-details-marker { display: none; } |
| .trans summary::before { |
| content: "›"; font-size: 17px; line-height: 1; color: var(--faint); |
| transition: transform .18s; display: inline-block; |
| } |
| .trans[open] summary::before { transform: rotate(90deg); } |
| .trans-body { padding: 14px 15px; } |
| .q-label { |
| font-size: 10.5px; font-weight: 700; color: var(--faint); |
| text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; |
| } |
| .quote { |
| margin: 0 0 14px; padding: 10px 13px; |
| background: var(--surface-2); border-left: 3px solid var(--accent-line); |
| border-radius: 0 var(--r-sm) var(--r-sm) 0; |
| font-size: 13.5px; word-break: break-word; |
| } |
| .quote:last-of-type { margin-bottom: 0; } |
| .note { color: var(--warn); font-size: 12.5px; margin: 10px 0 0; } |
|
|
| .scores { display: flex; flex-direction: column; gap: 3px; } |
| .score-row { |
| display: grid; grid-template-columns: minmax(0, 1fr) 96px 46px; |
| align-items: center; gap: 12px; |
| padding: 7px 10px; border-radius: var(--r-sm); |
| transition: background .16s; |
| } |
| .score-row:hover { background: var(--surface-2); } |
| .score-row .n { |
| font-size: 13px; color: var(--ink-2); |
| overflow: hidden; text-overflow: ellipsis; white-space: nowrap; |
| display: flex; align-items: center; gap: 8px; |
| } |
| .score-row .n::before { |
| content: ""; width: 7px; height: 7px; border-radius: 2px; flex: none; |
| background: hsl(var(--h, 250) 62% 58%); |
| } |
| .score-row .v { |
| font-family: var(--mono); font-size: 12px; font-weight: 600; |
| text-align: right; color: var(--muted); |
| } |
| .score-row.top { background: var(--accent-soft); } |
| .score-row.top .n { font-weight: 650; color: var(--ink); } |
| .score-row.top .v { color: var(--accent-ink); } |
|
|
| .bar { background: var(--line); border-radius: 999px; height: 7px; overflow: hidden; } |
| .bar span { |
| display: block; height: 100%; border-radius: 999px; |
| background: hsl(var(--h, 250) 62% 58%); |
| width: 0; transition: width .7s cubic-bezier(.22, 1, .36, 1); |
| } |
| .score-row.top .bar span { background: var(--grad); } |
|
|
| |
|
|
| .badge { |
| background: var(--accent-soft); color: var(--accent-ink); |
| border-radius: 999px; padding: 2px 10px; |
| font-size: 12px; font-weight: 700; font-family: var(--mono); |
| } |
| .pill { |
| display: inline-flex; align-items: center; gap: 7px; |
| border-radius: 999px; padding: 5px 13px; |
| font-size: 12.5px; font-weight: 550; white-space: nowrap; |
| background: hsl(var(--h, 250) 70% 96%); |
| color: hsl(var(--h, 250) 52% 38%); |
| border: 1px solid hsl(var(--h, 250) 60% 88%); |
| } |
| .pill::before { |
| content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; |
| background: hsl(var(--h, 250) 62% 55%); |
| } |
| @media (prefers-color-scheme: dark) { |
| .pill { |
| background: hsl(var(--h, 250) 40% 16%); |
| color: hsl(var(--h, 250) 70% 76%); |
| border-color: hsl(var(--h, 250) 35% 26%); |
| } |
| .score-row .n::before, .bar span { background: hsl(var(--h, 250) 60% 62%); } |
| } |
| .label-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; } |
|
|
| .add-form { |
| display: grid; grid-template-columns: minmax(180px, 1fr) minmax(240px, 2fr) auto; |
| gap: 12px; align-items: end; margin-top: 18px; |
| padding: 18px; background: var(--grad-soft); |
| border: 1px solid var(--accent-line); border-radius: var(--r); |
| } |
| @media (max-width: 760px) { .add-form { grid-template-columns: 1fr; } } |
| .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; } |
| .field label { font-size: 12px; font-weight: 600; color: var(--ink-2); } |
| .field input { background: var(--surface); } |
|
|
| .table { width: 100%; border-collapse: separate; border-spacing: 0; } |
| .table th { |
| text-align: left; font-size: 10.5px; font-weight: 700; color: var(--faint); |
| text-transform: uppercase; letter-spacing: .09em; |
| padding: 10px 10px; border-bottom: 1px solid var(--line); |
| } |
| .table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; } |
| .table tbody tr { transition: background .16s; } |
| .table tbody tr:hover { background: var(--surface-2); } |
| .table tr:last-child td { border-bottom: 0; } |
|
|
| .cell-input { |
| width: 100%; padding: 8px 11px; |
| border: 1px solid transparent; border-radius: var(--r-sm); |
| background: transparent; color: var(--ink); |
| font-family: inherit; font-size: 13.5px; |
| transition: all .16s; |
| } |
| .cell-input:hover { border-color: var(--line-strong); background: var(--surface-2); } |
| .cell-input:focus { |
| outline: none; border-color: var(--accent); |
| background: var(--surface); box-shadow: var(--ring); |
| } |
| .cell-input.name { font-weight: 600; } |
| tr.dirty { background: var(--warn-soft) !important; } |
| tr.dirty .save { border-color: var(--warn); color: var(--warn); font-weight: 650; } |
|
|
| .switch { position: relative; display: inline-block; width: 38px; height: 22px; vertical-align: middle; } |
| .switch input { opacity: 0; width: 0; height: 0; position: absolute; } |
| .switch .slider { |
| position: absolute; inset: 0; cursor: pointer; |
| background: var(--line-strong); border-radius: 999px; transition: background .2s; |
| } |
| .switch .slider::before { |
| content: ""; position: absolute; height: 16px; width: 16px; left: 3px; top: 3px; |
| background: #fff; border-radius: 50%; |
| transition: transform .2s; box-shadow: var(--shadow-sm); |
| } |
| .switch input:checked + .slider { background: var(--accent); } |
| .switch input:checked + .slider::before { transform: translateX(16px); } |
| .switch input:focus-visible + .slider { box-shadow: var(--ring); } |
|
|
| |
|
|
| .stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; margin: 6px 0 22px; } |
| .stat { |
| padding: 15px 16px; border-radius: var(--r); |
| background: var(--surface-2); border: 1px solid var(--line); |
| transition: transform .16s, box-shadow .16s; |
| } |
| .stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); } |
| .stat-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; } |
| .stat-label { |
| font-size: 13px; font-weight: 600; color: var(--ink); |
| overflow: hidden; text-overflow: ellipsis; white-space: nowrap; |
| } |
| .stat-count { |
| font-family: var(--mono); font-size: 18px; font-weight: 700; |
| color: hsl(var(--h, 250) 55% 50%); letter-spacing: -.04em; |
| } |
| @media (prefers-color-scheme: dark) { .stat-count { color: hsl(var(--h, 250) 65% 68%); } } |
| .stat .bar { height: 6px; } |
|
|
| .filter-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; } |
| .search-wrap { position: relative; flex: 1; max-width: 340px; } |
| .search-wrap svg { |
| position: absolute; left: 13px; top: 50%; transform: translateY(-50%); |
| width: 15px; height: 15px; color: var(--faint); pointer-events: none; |
| } |
| .search-wrap input { padding-left: 37px; } |
|
|
| .history td { font-size: 13.5px; } |
| .c-orig { white-space: pre-wrap; word-break: break-word; color: var(--ink); line-height: 1.5; } |
| .c-trans { |
| margin-top: 5px; padding-left: 10px; |
| border-left: 2px solid var(--accent-line); color: var(--muted); font-size: 12.5px; |
| } |
| .lang { |
| display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; |
| text-transform: uppercase; color: var(--ink-2); |
| background: var(--surface-2); border: 1px solid var(--line); |
| border-radius: 6px; padding: 2px 7px; |
| } |
| .tag { |
| display: inline-block; background: var(--accent-soft); color: var(--accent-ink); |
| border-radius: 5px; padding: 1px 6px; font-size: 10px; font-weight: 700; |
| margin-left: 4px; vertical-align: middle; |
| } |
| .conf-cell { display: flex; align-items: center; gap: 7px; } |
| .conf-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--good); } |
| .conf-dot.low { background: var(--warn); } |
|
|
| .table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; } |
|
|
| |
|
|
| .foot { |
| color: var(--faint); font-size: 12.5px; padding: 32px 24px 40px; |
| text-align: center; line-height: 1.9; |
| } |
| .foot .sep { opacity: .45; margin: 0 8px; } |
|
|
| |
|
|
| .toast { |
| position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); |
| display: flex; align-items: center; gap: 10px; |
| background: var(--ink); color: var(--bg); |
| padding: 12px 20px; border-radius: 999px; |
| font-size: 13.5px; font-weight: 500; |
| box-shadow: var(--shadow-lg); |
| opacity: 0; pointer-events: none; |
| transition: opacity .22s, transform .22s cubic-bezier(.22, 1, .36, 1); |
| z-index: 80; max-width: min(90vw, 520px); |
| } |
| .toast.show { opacity: 1; transform: translate(-50%, 0); } |
| .toast.err { background: var(--danger); color: #fff; } |
|
|
| |
|
|
| @media (prefers-reduced-motion: reduce) { |
| *, *::before, *::after { |
| animation-duration: .01ms !important; animation-iteration-count: 1 !important; |
| transition-duration: .01ms !important; |
| } |
| } |
|
|