Files
discord-github-ticket-relay/src/web/public/app.css
T

1283 lines
90 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Ticket Relay admin console. Colors live only in the tokens below. */
:root {
/* surfaces */
--bg: #f7f8fa;
--sidebar: #ffffff;
--surface: #ffffff;
--surface-2: #f3f4f6;
--surface-3: #e9ebef;
--input-bg: #ffffff;
--nav-hover: #f3f4f6;
--nav-active: #eceef1;
/* lines */
--border: #e5e7eb;
--border-strong: #d1d5db;
--border-hover: #b8bdc6;
/* text */
--text: #111318;
--muted: #646b78;
--faint: #9ca3af;
/* accent */
--accent: #4f5bd5;
--accent-hover: #4350c4;
--accent-soft: #eef0fd;
--accent-text: #3a46c4;
--on-accent: #ffffff;
--ring: rgba(79, 91, 213, 0.28);
/* status: *-text on *-soft is AA; bare colors are for dots and icons */
--ok: #16a34a; --ok-text: #17703d; --ok-soft: #e7f6ee; --ok-border: #bfe5cf;
--warn: #d97706; --warn-text: #8a5800; --warn-soft: #fdf4e1; --warn-border: #f1d9a6;
--danger: #dc2626; --danger-text: #b42318; --danger-soft: #fdecea; --danger-border: #f5c2bd;
--danger-fill: #c4372d;
--info-border: #d9ddfb;
/* controls */
--switch-off: #c4c9d1;
--knob: #ffffff;
--knob-shadow: 0 1px 2px rgba(16, 24, 40, 0.24);
--seg-selected: #ffffff;
/* elevation */
--shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
--shadow-seg: 0 1px 2px rgba(16, 24, 40, 0.08), 0 0 0 1px rgba(16, 24, 40, 0.04);
--shadow-pop: 0 8px 24px rgba(16, 24, 40, 0.12), 0 1px 3px rgba(16, 24, 40, 0.06);
--scrim: rgba(17, 19, 24, 0.32);
/* Discord preview (same in both themes) */
--discord-bg: #313338; --discord-embed: #2b2d31; --discord-text: #dbdee1; --discord-head: #f2f3f5;
--discord-muted: #949ba4; --discord-select: #1e1f22; --discord-blurple: #5865f2; --discord-green-btn: #248046;
--discord-embed-green: #2e9e5b; --discord-mention-bg: rgba(88, 101, 242, 0.3); --discord-mention: #c9cdfb; --discord-on: #ffffff; --discord-red: #f23f43;
/* data colors (dots only) */
--dot-0: #d73a4a; --dot-1: #1a9fa8; --dot-2: #8250df; --dot-3: #0e8a16; --dot-4: #d97706; --dot-5: #3498db; --dot-6: #e4609b; --dot-7: #6b7280;
--role-0: #2ecc71; --role-1: #3498db; --role-2: #9b59b6; --role-3: #e67e22; --role-4: #e91e63; --role-5: #1abc9c;
/* spacing, radii, layout */
--r-xs: 4px; --r-sm: 6px; --r: 8px; --r-full: 999px;
--sidebar-w: 240px; --topbar-h: 52px; --page-max: 1080px; --page-max-full: 2400px;
--ease: cubic-bezier(0.2, 0, 0, 1); --t-fast: 120ms; --t: 160ms;
--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #0c0d10; --sidebar: #0c0d10; --surface: #131519; --surface-2: #1a1d22; --surface-3: #22262c;
--input-bg: #0f1114; --nav-hover: #15171b; --nav-active: #1c1f25;
--border: #24272e; --border-strong: #31353d; --border-hover: #444a54;
--text: #ececf1; --muted: #8b929e; --faint: #5f6672;
--accent: #5b66e6; --accent-hover: #4f5ad8; --accent-soft: #1c1f3d; --accent-text: #9aa2f5;
--on-accent: #ffffff; --ring: rgba(124, 134, 240, 0.4);
--ok: #3fb96f; --ok-text: #5fd08f; --ok-soft: #12261b; --ok-border: #1f4a31;
--warn: #e0a030; --warn-text: #e8b45a; --warn-soft: #2a210d; --warn-border: #4a3a17;
--danger: #ef5f55; --danger-text: #f28b82; --danger-soft: #2c1513; --danger-border: #4d2220;
--danger-fill: #c4372d; --info-border: #2a2f55;
--switch-off: #3a3f48; --knob: #ffffff; --knob-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
--seg-selected: #2a2e35;
--shadow: none;
--shadow-seg: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
--scrim: rgba(0, 0, 0, 0.6);
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--bg: #0c0d10; --sidebar: #0c0d10; --surface: #131519; --surface-2: #1a1d22; --surface-3: #22262c;
--input-bg: #0f1114; --nav-hover: #15171b; --nav-active: #1c1f25;
--border: #24272e; --border-strong: #31353d; --border-hover: #444a54;
--text: #ececf1; --muted: #8b929e; --faint: #5f6672;
--accent: #5b66e6; --accent-hover: #4f5ad8; --accent-soft: #1c1f3d; --accent-text: #9aa2f5;
--on-accent: #ffffff; --ring: rgba(124, 134, 240, 0.4);
--ok: #3fb96f; --ok-text: #5fd08f; --ok-soft: #12261b; --ok-border: #1f4a31;
--warn: #e0a030; --warn-text: #e8b45a; --warn-soft: #2a210d; --warn-border: #4a3a17;
--danger: #ef5f55; --danger-text: #f28b82; --danger-soft: #2c1513; --danger-border: #4d2220;
--danger-fill: #c4372d; --info-border: #2a2f55;
--switch-off: #3a3f48; --knob: #ffffff; --knob-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
--seg-selected: #2a2e35;
--shadow: none;
--shadow-seg: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
--scrim: rgba(0, 0, 0, 0.6);
color-scheme: dark;
}
/* ---- Base ---------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/20px var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: 20px; line-height: 28px; letter-spacing: -0.01em; }
h2, h3 { font-size: 14px; line-height: 20px; }
p { margin: 0; }
b, strong { font-weight: 600; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
ul, ol { margin: 0; }
code, .mono { font: 12px/16px var(--mono); letter-spacing: 0; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: var(--r-xs); overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--border); margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; line-height: 20px; }
.xs { font-size: 12px; line-height: 16px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.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; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.row.gap-4 { gap: 4px; }
.row.gap-12 { gap: 12px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stack.gap-8 { gap: 8px; }
.inline { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; min-width: 0; }
.inline.gap-4 { gap: 4px; }
.wrap-any { overflow-wrap: anywhere; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ml-auto { margin-left: auto; }
.inline-form { display: inline-flex; margin: 0; }
.js .nojs { display: none !important; }
.only-mobile { display: none !important; }
/* ---- Icons --------------------------------------------------------------------------------- */
.ic { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; color: inherit; }
.ic svg { width: 100%; height: 100%; display: block; }
.ic-12 { width: 12px; height: 12px; } .ic-14 { width: 14px; height: 14px; } .ic-20 { width: 20px; height: 20px; }
.ic-12 svg, .ic-14 svg { stroke-width: 2; }
.ic.ok { color: var(--ok); } .ic.warn { color: var(--warn); } .ic.danger { color: var(--danger); } .ic.muted { color: var(--muted); } .ic.faint { color: var(--faint); }
/* ---- App shell ----------------------------------------------------------------------------- */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--sidebar);
border-right: 1px solid var(--border); padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.brand img { width: 24px; height: 24px; border-radius: var(--r-sm); flex: none; }
.brand .icon-btn { margin-left: auto; }
.ws {
display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 8px; border: 0; border-radius: var(--r-sm);
background: transparent; color: var(--text); font: inherit; cursor: pointer; text-align: left; text-decoration: none;
transition: background var(--t-fast);
}
.ws:hover { background: var(--nav-hover); text-decoration: none; }
.ws-tile { width: 24px; height: 24px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); font: 600 11px/24px var(--font); text-align: center; flex: none; }
.ws-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws .ic { color: var(--muted); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font: 500 12px/16px var(--font); color: var(--muted); padding: 16px 8px 4px; }
.nav-item {
display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border-radius: var(--r-sm);
color: var(--text); text-decoration: none; transition: background var(--t-fast);
}
.nav-item > .ic { color: var(--muted); }
.nav-item:hover { background: var(--nav-hover); text-decoration: none; }
.nav-item:hover > .ic, .nav-item[aria-current="page"] > .ic { color: var(--text); }
.nav-item[aria-current="page"] { background: var(--nav-active); font-weight: 500; }
.nav-item:focus-visible { outline-offset: -2px; }
.nav-item .trail { margin-left: auto; display: inline-flex; align-items: center; }
.side-foot { margin-top: auto; border-top: 1px solid var(--border); padding: 12px 8px 4px; display: flex; align-items: center; gap: 8px; }
.side-foot .who { flex: 1; min-width: 0; }
.side-foot .who-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot .who-role { font-size: 12px; line-height: 16px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar { display: none; }
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 25; }
.main { min-width: 0; padding: 32px 40px 64px; }
.page { max-width: var(--page-max-full); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
/*
* Page widths. Every page starts at the same left edge, so titles never move between pages.
* Readable pages (settings, forms, details) keep their content at --page-max; a section's
* title and tabs still span the window, so switching tabs doesn't make them jump.
* Full pages (tables, lists, logs) use the whole window, up to --page-max-full.
*/
.page:not(.full) > * { width: 100%; max-width: var(--page-max); }
.page:not(.full) > .tabs, .page:not(.full) > .ph:has(+ .tabs) { max-width: none; }
.page.full .readable { max-width: var(--page-max); }
/* On full pages, text still wraps at a comfortable line length. */
.page.full .card-note { padding-right: max(20px, calc(100% - 900px)); }
.page.full .notice .n-text, .page.full .log-d { max-width: 90ch; }
/* Wide tables: the main column takes the extra room, the others stay close to their content. */
@media (min-width: 1600px) { .page.full th.col-main { width: 50%; } }
@media (min-width: 2200px) { .page.full th.col-main { width: 60%; } }
.page > .ph + .tabs { margin-top: 4px; }
.page > .tabs + * { margin-top: 8px; }
.page > .ph + :not(.tabs) { margin-top: 8px; }
/* ---- Page header --------------------------------------------------------------------------- */
.ph { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; }
.ph-eyebrow { grid-column: 1 / -1; font: 500 12px/16px var(--font); color: var(--muted); margin-bottom: 4px; }
.crumbs { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; font: 500 12px/16px var(--font); color: var(--muted); margin-bottom: 8px; min-width: 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); text-decoration: none; }
.crumbs .ic { color: var(--faint); }
.crumbs .current { color: var(--text); }
.ph-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ph-title h1 { min-width: 0; overflow-wrap: anywhere; }
.ph-actions { display: flex; gap: 8px; align-items: center; align-self: start; margin-top: -2px; flex-wrap: wrap; justify-content: flex-end; }
.ph-desc { grid-column: 1; color: var(--muted); margin-top: 4px; max-width: 720px; }
/* ---- Tabs ---------------------------------------------------------------------------------- */
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
height: 36px; padding: 0; display: inline-flex; align-items: center; gap: 6px; position: relative; white-space: nowrap;
font-weight: 500; color: var(--muted); text-decoration: none; transition: color var(--t-fast);
}
.tab:hover { color: var(--text); text-decoration: none; }
.tab[aria-current="page"] { color: var(--text); }
.tab[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); border-radius: 2px 2px 0 0; }
.tab:focus-visible { outline-offset: -2px; }
/* A page of the tool this person can't open: greyed out with a lock, like locked sidebar items. */
.tab.locked { opacity: 0.6; cursor: not-allowed; user-select: none; }
.tab.locked:hover { color: var(--muted); }
.tab.locked .ic { color: var(--faint); }
/* ---- Cards --------------------------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; overflow: hidden; }
.card-h { padding: 16px 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--border); }
.card-h:last-child { border-bottom: 0; }
.card-h.strip { padding: 12px 20px; align-items: center; }
.card-h .title { display: flex; align-items: center; gap: 6px; min-width: 0; }
.card-h .title > .ic { color: var(--muted); }
.card-h .desc { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 2px; max-width: 640px; }
.card-h .desc.inline { display: inline-flex; gap: 6px; align-items: center; }
.card-h > .actions { display: flex; gap: 8px; align-items: center; flex: none; }
.card-b { padding: 20px; }
.card-b.flush { padding: 0; }
.card-b.tight { padding: 12px 20px; }
.card-f {
padding: 12px 20px; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
background: var(--surface-2); border-top: 1px solid var(--border);
}
.card-f.plain { background: var(--surface); }
.card-f .end { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.card-note { padding: 12px 20px; border-top: 1px solid var(--border); font-size: 12px; line-height: 16px; color: var(--muted); }
.section { padding: 20px; }
.section + .section { border-top: 1px solid var(--border); }
.section-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.section-h:last-child { margin-bottom: 0; }
.section-h .desc { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 2px; max-width: 560px; }
.sub-h { padding: 12px 20px; border-top: 1px solid var(--border); font: 500 12px/16px var(--font); color: var(--muted); }
details.card > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; font-weight: 500; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary > .ic:first-child:not(.ok) { color: var(--muted); }
details.card > summary .chev { margin-left: auto; color: var(--muted); transition: transform var(--t) var(--ease); }
details.card[open] > summary { border-bottom: 1px solid var(--border); }
details.card[open] > summary .chev { transform: rotate(180deg); }
details.card > summary:focus-visible { outline-offset: -2px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.g-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.g2 > *, .g-2-1 > * { min-width: 0; }
/* ---- Settings rows ------------------------------------------------------------------------- */
.setting { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 16px 20px; }
.setting + .setting { border-top: 1px solid var(--border); }
.setting.flat { padding: 0; }
.setting .lbl { font-weight: 500; }
.setting .desc { font-size: 13px; line-height: 20px; color: var(--muted); max-width: 480px; margin-top: 2px; }
.setting .control { display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; min-width: 0; }
.setting .control input[type="text"] { width: 280px; }
.setting .control .select { width: 240px; }
.setting .control .connector { font-size: 13px; color: var(--muted); }
.setting .value { font-size: 13px; color: var(--text); }
.setting.top { align-items: start; }
/* ---- Buttons ------------------------------------------------------------------------------- */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
font: 500 13px/1 var(--font); white-space: nowrap; cursor: pointer; text-decoration: none; user-select: none;
transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn:hover { background: var(--surface-2); border-color: var(--border-hover); text-decoration: none; }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn.sm .ic { width: 14px; height: 14px; }
.btn.sm .ic svg { stroke-width: 2; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.ghost.muted { color: var(--muted); }
.btn.ghost.muted:hover { color: var(--text); }
.btn.ghost.danger { color: var(--danger-text); }
.btn.ghost.danger:hover { background: var(--danger-soft); }
.btn.danger-solid { background: var(--danger-fill); border-color: transparent; color: var(--on-accent); }
.btn.danger-solid:hover { filter: brightness(0.94); }
.btn.lg { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn .trail { margin-left: -2px; }
.icon-btn {
display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-sm);
background: transparent; color: var(--muted); cursor: pointer; flex: none; position: relative; text-decoration: none;
transition: background var(--t-fast), color var(--t-fast);
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--surface-2); color: var(--text); text-decoration: none; }
.icon-btn.sm { width: 28px; height: 28px; }
.icon-btn.xs { width: 24px; height: 24px; }
.icon-btn.xs .ic { width: 14px; height: 14px; }
.icon-btn.secondary { border: 1px solid var(--border-strong); background: var(--surface); }
.icon-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.icon-btn .dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 2px var(--surface); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-text); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.go { display: inline-flex; align-items: center; gap: 4px; }
.btn .spin { display: none; }
.btn.loading .spin { display: inline-grid; animation: spin 0.8s linear infinite; }
.btn.loading .lead { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* ---- Inputs -------------------------------------------------------------------------------- */
input[type="text"], input[type="search"], input[type="number"], input[type="url"], select, textarea {
height: 32px; padding: 0 10px; font: 400 13px/20px var(--font); color: var(--text); background: var(--input-bg);
border: 1px solid var(--border-strong); border-radius: var(--r-sm); min-width: 0; max-width: 100%;
transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: var(--border-hover); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
input[readonly] { background: var(--surface-2); }
input[readonly]:focus { box-shadow: none; border-color: var(--border-strong); }
input[type="text"].full, textarea { width: 100%; }
textarea { height: auto; min-height: 80px; padding: 6px 10px; resize: vertical; display: block; }
input[type="number"] { width: 64px; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
input[type="number"].wide { width: 96px; text-align: left; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input:disabled, select:disabled, textarea:disabled { opacity: 0.6; cursor: not-allowed; }
.select { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 28px; width: 100%; cursor: pointer; }
.select .ic { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select.sm select { height: 28px; font-size: 12px; }
.search { position: relative; width: 240px; max-width: 100%; display: inline-flex; }
.search input { width: 100%; padding-left: 30px; }
.search > .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search.sm input { height: 28px; font-size: 12px; }
.input-group { display: flex; min-width: 0; }
.input-group .addon {
display: inline-flex; align-items: center; height: 32px; padding: 0 10px; background: var(--surface-2); border: 1px solid var(--border-strong);
border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); font: 12px/16px var(--mono); color: var(--muted); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.input-group input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.copy-field { display: flex; gap: 8px; align-items: center; min-width: 0; }
.copy-field input { flex: 1; min-width: 0; font: 12px/16px var(--mono); }
.fields { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.field label, .field .label { font-size: 13px; line-height: 20px; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .counter { font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.field .hint { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 6px; }
.field .select, .field input[type="text"] { width: 100%; }
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.check-list { display: flex; flex-wrap: wrap; gap: 8px 16px; min-height: 20px; }
/* ---- Switch -------------------------------------------------------------------------------- */
.switch { position: relative; display: inline-block; width: 32px; height: 18px; flex: none; vertical-align: middle; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: var(--r-full); background: var(--switch-off); transition: background var(--t) var(--ease); }
.switch .track::after {
content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--knob);
box-shadow: var(--knob-shadow); transition: transform var(--t) var(--ease);
}
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(14px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .track { opacity: 0.5; }
.locked { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }
/* ---- Segmented control --------------------------------------------------------------------- */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 2px; height: 32px; background: var(--surface-2); border-radius: var(--r-sm); max-width: 100%; overflow-x: auto; scrollbar-width: none; flex: none; }
.seg::-webkit-scrollbar { display: none; }
.seg-item {
height: 28px; padding: 0 10px; border-radius: var(--r-xs); font: 500 13px/1 var(--font); color: var(--muted); display: inline-flex;
gap: 6px; align-items: center; white-space: nowrap; text-decoration: none; border: 0; background: transparent; cursor: pointer;
transition: color var(--t-fast);
}
.seg-item:hover { color: var(--text); text-decoration: none; }
.seg-item[aria-current="true"], .seg-item[aria-pressed="true"], .seg input:checked + .seg-item { background: var(--seg-selected); color: var(--text); box-shadow: var(--shadow-seg); }
.seg-item .n { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.seg-item[aria-current="true"] .n, .seg-item[aria-pressed="true"] .n { color: var(--text); }
.seg-item:focus-visible { outline-offset: -2px; }
.seg label { display: contents; }
.seg input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.seg input:focus-visible + .seg-item { outline: 2px solid var(--accent); outline-offset: -2px; }
/* ---- Pills, tags, badges, avatars ---------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border-radius: var(--r-full); font: 500 12px/1 var(--font); white-space: nowrap; flex: none; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill.ok { background: var(--ok-soft); color: var(--ok-text); }
.pill.ok::before { background: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn-text); }
.pill.warn::before { background: var(--warn); }
.pill.danger { background: var(--danger-soft); color: var(--danger-text); }
.pill.danger::before { background: var(--danger); }
.pill.neutral { background: var(--surface-2); color: var(--text); }
.pill.neutral::before { background: var(--muted); }
.pill.closed { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.pill.closed::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.tag {
display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px; border-radius: var(--r-xs); border: 1px solid var(--border);
background: var(--surface); font: 500 12px/1 var(--font); color: var(--text); white-space: nowrap; flex: none; max-width: 100%;
}
.tag > .ic { width: 14px; height: 14px; color: var(--muted); }
.tag > .ic svg { stroke-width: 2; }
.tag.subtle { height: 18px; border: 0; background: var(--surface-2); font-size: 11px; color: var(--muted); }
.tag.label { font: 12px/1 var(--mono); }
.tag .dot, .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--faint); display: inline-block; }
.tag.role { font-weight: 500; }
.dot.c0 { background: var(--dot-0); } .dot.c1 { background: var(--dot-1); } .dot.c2 { background: var(--dot-2); } .dot.c3 { background: var(--dot-3); }
.dot.c4 { background: var(--dot-4); } .dot.c5 { background: var(--dot-5); } .dot.c6 { background: var(--dot-6); } .dot.c7 { background: var(--dot-7); }
.dot.r0 { background: var(--role-0); } .dot.r1 { background: var(--role-1); } .dot.r2 { background: var(--role-2); }
.dot.r3 { background: var(--role-3); } .dot.r4 { background: var(--role-4); } .dot.r5 { background: var(--role-5); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.badge { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-full); font: 600 11px/18px var(--font); text-align: center; font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--muted); flex: none; }
.badge.warn { background: var(--warn-soft); color: var(--warn-text); }
.badge.accent { background: var(--accent-soft); color: var(--accent-text); }
/* Header status chip: a dot and one short line. */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; max-width: 100%; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--surface); font: 500 12px/1 var(--font); color: var(--muted); white-space: nowrap; }
.chip .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
a.chip:hover { color: var(--text); border-color: var(--border-strong); text-decoration: none; }
.chip .dot.ok { background: var(--ok); }
.chip .dot.warn { background: var(--warn); }
.av { border-radius: var(--r-full); background: var(--surface-3); color: var(--text); font-weight: 600; display: inline-grid; place-items: center; flex: none; overflow: hidden; object-fit: cover; text-transform: uppercase; }
img.av { display: inline-block; }
.av-20 { width: 20px; height: 20px; font-size: 10px; } .av-24 { width: 24px; height: 24px; font-size: 11px; }
.av-28 { width: 28px; height: 28px; font-size: 12px; } .av-32 { width: 32px; height: 32px; font-size: 13px; }
.av.sq { border-radius: var(--r-sm); }
.av.pending { background: transparent; border: 1px dashed var(--border-strong); }
.who-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who-cell .name { font-weight: 500; display: flex; align-items: center; gap: 6px; min-width: 0; }
/* ---- Tables -------------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; position: relative; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { height: 36px; padding: 0 16px; text-align: left; font: 500 12px/16px var(--font); color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px 16px; vertical-align: middle; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; height: 48px; }
tbody tr:first-child td { border-top: 0; }
th:first-child, td:first-child { padding-left: 20px; }
th:last-child, td:last-child { padding-right: 20px; }
td .sub, .sub { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 2px; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.num { font-size: 13px; color: var(--muted); }
td.center, th.center { text-align: center; }
td.actions, th.actions { width: 1%; white-space: nowrap; text-align: right; }
td.actions .row { justify-content: flex-end; gap: 4px; flex-wrap: nowrap; }
td .cell-title { font-weight: 500; color: var(--text); }
a.cell-title:hover { text-decoration: underline; }
tr.click { cursor: pointer; }
tr.click:hover td, tr.click:focus-within td { background: var(--surface-2); }
tr.off td > * { opacity: 0.6; }
tr.off td.actions > * { opacity: 1; }
th.th-perm { height: auto; padding: 12px 16px; vertical-align: bottom; white-space: normal; }
th.th-perm .l { font: 500 13px/20px var(--font); color: var(--text); }
th.th-perm .d { font: 400 12px/16px var(--font); color: var(--muted); max-width: 180px; margin-top: 2px; }
td.perm { height: 52px; }
.em { color: var(--faint); }
tr.flash td { animation: flash 1200ms var(--ease); }
@keyframes flash { from { background: var(--accent-soft); } to { background: transparent; } }
/* ---- List rows ----------------------------------------------------------------------------- */
ul.list { list-style: none; margin: 0; padding: 0; }
ul.list > li + li { border-top: 1px solid var(--border); }
.list-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 16px; min-height: 64px; color: inherit; text-decoration: none; align-items: center; }
a.list-row:hover, .list-row:focus-within { background: var(--surface-2); text-decoration: none; }
.list-row .l1 { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; }
.list-row .l2 { grid-column: 1 / -1; font-size: 12px; line-height: 16px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; display: flex; gap: 6px; align-items: center; }
.list-row.with-action { grid-template-columns: auto minmax(0, 1fr) auto; }
.list-row.with-action .l2 { grid-column: 2 / 3; }
.line { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 20px; }
.line + .line { border-top: 1px solid var(--border); }
.line .grow { flex: 1; min-width: 0; }
.line.sm { min-height: 40px; padding: 0 20px; }
/* ---- Menus --------------------------------------------------------------------------------- */
.menu-wrap { position: relative; display: inline-flex; }
.menu {
position: fixed; min-width: 200px; max-width: calc(100vw - 16px); padding: 4px; background: var(--surface); border: 1px solid var(--border);
border-radius: var(--r); box-shadow: var(--shadow-pop); z-index: 50; display: none; opacity: 0; transform: translateY(4px);
transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.menu.open { display: block; }
.menu.shown { opacity: 1; transform: none; }
.menu form { margin: 0; display: block; }
.menu-item {
display: flex; align-items: center; gap: 8px; height: 32px; width: 100%; padding: 0 8px; border: 0; border-radius: var(--r-xs);
background: transparent; font: 400 13px/20px var(--font); color: var(--text); text-align: left; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.menu-item > .ic { color: var(--muted); }
.menu-item:hover, .menu-item:focus { background: var(--surface-2); outline: none; text-decoration: none; }
.menu-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.menu-item.danger, .menu-item.danger > .ic { color: var(--danger-text); }
.menu-item.current { font-weight: 500; }
.menu-item .trail { margin-left: auto; color: var(--muted); }
.menu-item[disabled] { opacity: 0.5; cursor: not-allowed; }
.menu-sep { height: 1px; background: var(--border); margin: 4px -4px; }
.menu-label { padding: 6px 8px 4px; font: 500 12px/16px var(--font); color: var(--muted); }
/* ---- Dialogs ------------------------------------------------------------------------------- */
dialog.dialog {
width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0; color: var(--text);
background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-pop);
}
dialog.dialog::backdrop { background: var(--scrim); }
dialog.dialog form { margin: 0; }
.dlg-h { padding: 20px 20px 0; display: flex; align-items: flex-start; gap: 12px; }
.dlg-h h2 { font-size: 16px; line-height: 24px; flex: 1; min-width: 0; }
.dlg-h .icon-btn { margin: -2px -6px 0 0; }
.dlg-b { padding: 8px 20px 20px; color: var(--muted); display: flex; flex-direction: column; gap: 16px; }
.dlg-b .field, .dlg-b .choices { color: var(--text); }
.dlg-f { padding: 12px 20px; background: var(--surface-2); border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-sm); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.choice:hover { border-color: var(--border-hover); }
.choice input { margin: 2px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.choice .t { font-weight: 500; }
.choice .d { font-size: 13px; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
/* ---- Notices ------------------------------------------------------------------------------- */
.notice { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.notice > .ic { margin-top: 2px; color: var(--muted); }
.notice.warn { border-color: var(--warn-border); }
.notice.warn > .ic { color: var(--warn); }
.notice.danger { border-color: var(--danger-border); }
.notice.danger > .ic { color: var(--danger); }
.notice.ok { border-color: var(--ok-border); }
.notice.ok > .ic { color: var(--ok); }
.notice.info { border-color: var(--info-border); }
.notice .n-title { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--text); }
.notice .n-text { font-size: 13px; line-height: 20px; color: var(--muted); overflow-wrap: anywhere; }
.notice .n-text ul { padding-left: 18px; margin-top: 4px; }
.notice .n-action { align-self: center; display: flex; gap: 8px; }
.notice.flat { border-radius: 0; border-width: 1px 0 0; }
.viewonly { min-height: 36px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
/* ---- Toast --------------------------------------------------------------------------------- */
.toasts { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--dock-space, 0px)); z-index: 70; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast {
pointer-events: auto; max-width: 360px; min-height: 40px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; background: var(--surface);
border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-pop); font: 500 13px/20px var(--font); color: var(--text);
transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.toast.enter, .toast.leave { opacity: 0; transform: translateY(4px); }
.toast > .ic.lead { align-self: flex-start; margin-top: 2px; }
.toast .icon-btn { margin: -4px -8px -4px 0; }
/* ---- Empty states -------------------------------------------------------------------------- */
.empty { padding: 48px 16px; text-align: center; display: grid; justify-items: center; }
.empty .circle { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.empty .circle .ic.ok { color: var(--ok); }
.empty h3 { margin-top: 12px; }
.empty p { font-size: 13px; color: var(--muted); max-width: 360px; margin-top: 4px; }
.empty .actions { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
/* ---- Stats --------------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: block; text-align: left; padding: 16px 20px; background: none; border: 0; border-left: 1px solid var(--border); color: var(--text); text-decoration: none; min-width: 0; transition: background var(--t-fast); }
.stat:first-child { border-left: 0; }
a.stat:hover { background: var(--surface-2); text-decoration: none; }
.stat:focus-visible { outline-offset: -2px; }
.stat .l { font-size: 12px; line-height: 16px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat .v { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.stat .v.warn { color: var(--warn-text); }
.stat .v .ic { width: 14px; height: 14px; color: var(--warn); }
/* ---- Checklist, timeline, properties ------------------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.check-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 36px; padding: 4px 0; font-size: 13px; }
.check-row .detail { color: var(--muted); }
.check-row .ic.ok, .check-row > .ic { align-self: start; margin-top: 2px; }
ol.activity { list-style: none; margin: 0; padding: 0; }
ol.activity li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding-bottom: 16px; position: relative; font-size: 13px; line-height: 20px; }
ol.activity li:last-child { padding-bottom: 0; }
ol.activity li:not(:last-child)::before { content: ''; position: absolute; left: 11.5px; top: 28px; bottom: 4px; width: 1px; background: var(--border); }
.marker { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); }
.marker .ic.ok { color: var(--ok); } .marker .ic.warn { color: var(--warn); } .marker .ic.danger { color: var(--danger); }
ol.activity .actor { font-weight: 500; }
ol.activity .when { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
ol.activity .extra { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 2px; }
dl.props { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px 20px; margin: 0; }
dl.props dt { font-size: 12px; line-height: 16px; color: var(--muted); }
dl.props dd { margin: 0; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; display: flex; gap: 6px; align-items: center; min-width: 0; flex-wrap: wrap; }
dl.props dd .ic { color: var(--muted); }
.ticket-text { font-size: 14px; line-height: 22px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-family: var(--font); }
/* ---- Discord preview ----------------------------------------------------------------------- */
.dp-cap { display: flex; align-items: center; gap: 6px; font: 500 12px/16px var(--font); color: var(--muted); margin-bottom: 8px; min-height: 24px; }
.dp-cap .ic { color: var(--muted); }
.dp-cap .btn { margin-left: auto; }
.dp { background: var(--discord-bg); color: var(--discord-text); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.dp-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.dp-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--discord-blurple); }
.dp-avatar img { width: 100%; height: 100%; display: block; }
.dp-name { color: var(--discord-head); font-weight: 500; }
.dp-tag { background: var(--discord-blurple); color: var(--discord-on); font-size: 10px; font-weight: 600; padding: 0 4px; border-radius: 3px; margin-left: 4px; vertical-align: 1px; }
.dp-embed { margin-top: 6px; background: var(--discord-embed); border-left: 4px solid var(--discord-blurple); border-radius: 4px; padding: 10px 14px 12px; }
.dp-embed.green { border-left-color: var(--discord-embed-green); }
.dp-embed h4 { color: var(--discord-head); font-size: 15px; line-height: 22px; margin: 0 0 4px; }
.dp-embed p { margin: 0; font-size: 13px; line-height: 19px; }
.dp-h { display: block; color: var(--discord-head); font-weight: 600; font-size: 14px; margin-top: 6px; }
.dp-mention { background: var(--discord-mention-bg); color: var(--discord-mention); border-radius: 3px; padding: 0 2px; font-weight: 500; }
.dp-select { margin-top: 8px; background: var(--discord-select); color: var(--discord-muted); border-radius: 4px; height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.dp-select .ic { width: 16px; height: 16px; }
.dp-options { margin-top: 4px; background: var(--discord-select); border-radius: 4px; padding: 4px; }
.dp-option { padding: 6px 8px; border-radius: 3px; font-size: 13px; }
.dp-option strong { display: block; color: var(--discord-head); font-weight: 500; }
.dp-option span { color: var(--discord-muted); font-size: 12px; }
.dp-button { display: inline-flex; align-items: center; margin-top: 8px; background: var(--discord-green-btn); color: var(--discord-on); border-radius: 3px; height: 32px; padding: 0 16px; font-size: 14px; font-weight: 500; }
.dp-modal-title { color: var(--discord-head); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.dp-field { margin-top: 10px; }
.dp-field .dp-l { color: var(--discord-head); font-size: 12px; font-weight: 600; }
.dp-field .dp-input { margin-top: 4px; background: var(--discord-select); border-radius: 3px; height: 32px; }
.dp-field .dp-input.tall { height: 64px; }
.dp-note { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 8px; }
.dp + .dp-cap, .dp-note + .dp-cap { margin-top: 16px; }
/* ---- Page grids ---------------------------------------------------------------------------- */
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.panel-grid > * { min-width: 0; }
.panel-preview { position: sticky; top: 24px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: auto 1fr; gap: 24px; align-items: start; grid-template-areas: "desc details" "activity details"; }
.detail-grid > * { min-width: 0; }
.detail-grid .a-desc { grid-area: desc; }
.detail-grid .a-activity { grid-area: activity; }
.detail-grid .a-details { grid-area: details; }
.detail-grid .a-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.toolbar { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.toolbar .tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar .search { width: 220px; }
.toolbar .filters-btn { display: none; }
.pager { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.tile { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; color: var(--muted); flex: none; }
/* ---- Standalone pages (sign-in, invitations, errors) ---------------------------------------- */
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth { width: 100%; max-width: 400px; }
.auth .brand { justify-content: center; margin-bottom: 16px; }
.auth .card-b { display: flex; flex-direction: column; gap: 16px; }
.auth h1 { font-size: 18px; line-height: 26px; }
.auth-result { display: grid; justify-items: center; text-align: center; gap: 8px; }
.auth-result .circle { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.auth-result .circle .ic { width: 20px; height: 20px; }
.ws-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.ws-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--text); }
.ws-list a + a { border-top: 1px solid var(--border); }
.ws-list a:hover { background: var(--surface-2); text-decoration: none; }
.ws-list .ic { margin-left: auto; color: var(--muted); }
/* ---- Responsive ---------------------------------------------------------------------------- */
@media (max-width: 1100px) {
.panel-grid { grid-template-columns: minmax(0, 1fr); }
.panel-preview { position: static; }
}
@media (max-width: 1000px) {
.detail-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "desc" "details" "activity"; }
}
@media (max-width: 900px) {
.shell { display: block; }
.topbar { display: flex; align-items: center; gap: 8px; height: var(--topbar-h); padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.topbar .brand { margin: 0; padding: 0; }
.sidebar {
position: fixed; inset: 0 auto 0 0; width: 280px; max-width: 86vw; height: 100%; padding-top: calc(12px + env(safe-area-inset-top, 0px));
transform: translateX(-100%); visibility: hidden; box-shadow: none; transition: transform var(--t) var(--ease), visibility var(--t);
}
.sidebar.open { transform: none; visibility: visible; box-shadow: var(--shadow-pop); }
.main { padding: 24px; }
.g2, .g-2-1 { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) {
.drawer-only { display: none !important; }
}
@media (max-width: 640px) {
.main { padding: 16px 16px 48px; }
.card-h { padding: 12px 16px; }
.card-h.strip { padding: 12px 16px; }
.card-b, .section { padding: 16px; }
.card-b.tight { padding: 12px 16px; }
.card-f, .card-note, .sub-h { padding-left: 16px; padding-right: 16px; }
.line { padding-left: 16px; padding-right: 16px; }
.ph { grid-template-columns: minmax(0, 1fr); }
.ph-actions { grid-row: auto; margin-top: 12px; justify-content: flex-start; }
.setting { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
.setting.switch-row { grid-template-columns: minmax(0, 1fr) auto; }
.setting .control { justify-content: flex-start; }
.setting .control input[type="text"], .setting .control .select { width: 100%; }
.setting.flat { padding: 0; }
.only-desktop { display: none !important; }
.only-mobile { display: block !important; }
.table-wrap table { min-width: 640px; }
.table-wrap.wide table { min-width: 720px; }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
.toolbar { flex-direction: column; align-items: stretch; }
.toolbar .seg { width: 100%; }
.toolbar .tools { width: 100%; }
.toolbar .search { width: auto; flex: 1; }
.toolbar .filters-btn { display: inline-flex; }
.toolbar .filter-selects { display: none; width: 100%; gap: 8px; }
.toolbar .filter-selects.show, .no-js .toolbar .filter-selects { display: grid; grid-template-columns: 1fr 1fr; }
.toolbar .filter-selects .select { width: 100%; }
.stat { padding: 12px; }
.stat .v { font-size: 20px; line-height: 28px; }
.toasts { left: 16px; right: 16px; bottom: calc(16px + var(--dock-space, 0px)); align-items: stretch; }
.toast { max-width: none; }
.fields-2 { grid-template-columns: minmax(0, 1fr); }
dl.props { grid-template-columns: 88px minmax(0, 1fr); padding: 16px; }
.search { width: 100%; }
.copy-field { flex-wrap: wrap; }
.invite-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
.choice .t, .choice .d { display: block; }
.sidebar > .menu-wrap { display: flex; margin-bottom: 4px; }
.mt-16 { margin-top: 16px; }
html:not(.js) [data-reset-fields] { display: none; }
.invite-grid { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; align-items: start; }
.invite-grid > .lbl { font-weight: 500; line-height: 32px; }
.who-cell .sub { display: block; }
.who-cell > span { min-width: 0; }
.name { font-weight: 500; }
a.line { color: var(--text); text-decoration: none; }
a.line:hover { background: var(--surface-2); text-decoration: none; }
a.line:focus-visible { outline-offset: -2px; }
.line.provider { min-height: 64px; }
.setting .control .copy-field { width: 420px; max-width: 100%; }
.setting.top .control { padding-top: 0; }
details.setup-done > summary .truncate { flex: 0 1 auto; }
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
ol.steps > li { counter-increment: step; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13px; line-height: 20px; }
ol.steps > li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; font: 600 12px/1 var(--font); color: var(--muted); }
ol.steps strong { font-weight: 500; }
@media (max-width: 640px) { .setting .control .copy-field { width: 100%; } }
.mt-8 { margin-top: 8px; }
.ws-list .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ws-list .ws-tile { flex: none; }
.grow { flex: 1; min-width: 0; }
th.th-perm:first-child { padding-left: 20px; }
.setting.flat + .setting.flat { margin-top: 16px; padding-top: 16px; }
.ph-actions { margin-bottom: -2px; }
@media (max-width: 640px) { th.th-perm:first-child { padding-left: 16px; } }
.setting.stacked { grid-template-columns: minmax(0, 1fr); gap: 12px; }
/* The label column never collapses, even when a control is wide. */
.setting:not(.stacked) > :first-child { min-width: min(220px, 100%); }
.setting.stacked .control { justify-content: flex-start; }
@media (max-width: 640px) { .ph-desc { order: 1; } .ph-actions { order: 2; } }
@media (max-width: 640px) {
.notice { grid-template-columns: 16px minmax(0, 1fr); }
.notice > span:last-child:empty { display: none; }
.notice .n-action { grid-column: 2; justify-self: start; }
}
/* ---- Legal pages ------------------------------------------------------------------------- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 24px 64px; }
.legal > .brand { display: inline-flex; padding: 0; margin-bottom: 32px; color: var(--text); text-decoration: none; }
.prose { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); padding: 40px 48px; }
.prose header { padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.prose h1 { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.prose .meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.prose header > p:not(.meta) { margin-top: 16px; }
.prose h2 { font-size: 16px; line-height: 24px; margin-top: 32px; }
.prose h3 { font-size: 14px; line-height: 20px; margin-top: 20px; }
.prose p, .prose li { font-size: 14px; line-height: 22px; color: var(--text); }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { font-weight: 600; }
.prose .toc { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; padding: 0; list-style: none; }
.prose .toc li { font-size: 13px; margin: 0; }
.legal-links { display: flex; justify-content: center; gap: 8px; margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--faint); }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--text); }
@media (max-width: 640px) {
.legal { padding: 24px 16px 48px; }
.prose { padding: 24px 20px; }
}
/* ---- Triage ------------------------------------------------------------------------------ */
.dot.p-critical { background: var(--danger); } .dot.p-high { background: var(--warn); }
.dot.p-medium { background: var(--dot-5); } .dot.p-low { background: var(--faint); }
.tri-row { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 0; font-size: 13px; line-height: 20px; }
.tri-row + .tri-row { border-top: 1px solid var(--border); }
.tri-row > .ic:first-child { align-self: center; }
.mt-8 { margin-top: 8px; }
.tri-suggest { flex-wrap: wrap; }
.tri-suggest .tri-actions { flex-basis: 100%; display: flex; gap: 4px; padding: 0 0 4px 22px; }
.rule-check { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; cursor: pointer; vertical-align: middle; }
#rules th.th-perm .d { max-width: none; }
/* ---- Form builder -------------------------------------------------------------------------- */
html:not(.js) .js-only { display: none !important; }
.slots { display: flex; align-items: center; gap: 8px; flex: none; }
.pips { display: inline-flex; gap: 3px; }
.pip { width: 14px; height: 6px; border-radius: var(--r-full); background: var(--surface-3); transition: background var(--t-fast); }
.pip.on { background: var(--accent); }
ol.fsecs { list-style: none; margin: 0; padding: 0; counter-reset: fsec; }
.fsec { counter-increment: fsec; border-bottom: 1px solid var(--border); }
.fsec-h { display: flex; align-items: center; gap: 12px; padding: 12px 20px; }
.fsec-n { width: 20px; flex: none; font: 600 12px/16px var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.fsec-n::before { content: counter(fsec); }
.fsec-t { font-weight: 500; overflow-wrap: anywhere; }
.fsec-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.fsec-b { padding: 0 20px 16px 84px; }
.fsec[data-kind="intro"] .fsec-h .tile, .fsec[data-kind="title"] .fsec-h .tile, .fsec[data-kind="description"] .fsec-h .tile { color: var(--muted); }
.fsec.enter { animation: fsec-in var(--t) var(--ease); }
@keyframes fsec-in { from { background: var(--accent-soft); } to { background: transparent; } }
.fadd { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.fadd .btn[disabled] { pointer-events: none; }
.form-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); min-width: 0; }
.form-link .grow { overflow-wrap: anywhere; }
@media (max-width: 640px) {
.fsec-h { padding: 12px 16px; gap: 8px; }
.fsec-h .tile { display: none; }
.fsec-b { padding: 0 16px 16px; }
.fadd { padding: 16px; }
.card-h .slots { margin-top: 4px; }
}
/* Form preview (Discord modal) */
.dp-form { padding: 16px 16px 12px; }
.dp-text { margin: 0 0 4px; font-size: 13px; line-height: 19px; }
.dp-field .dp-d { color: var(--discord-muted); font-size: 12px; line-height: 16px; margin-top: 2px; }
.dp-req { color: var(--discord-red); }
.dp-field .dp-input { display: flex; align-items: flex-start; padding: 7px 10px; font-size: 13px; line-height: 18px; min-height: 32px; height: auto; }
.dp-field .dp-input.tall { min-height: 64px; }
.dp-ph { color: var(--discord-muted); overflow-wrap: anywhere; }
.dp-drop { margin-top: 4px; border: 1px dashed var(--discord-muted); border-radius: 4px; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--discord-muted); font-size: 13px; padding: 8px; text-align: center; }
.dp-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.dp-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 3px; background: var(--discord-blurple); color: var(--discord-on); font-size: 13px; font-weight: 500; }
.dp-btn.link { background: transparent; color: var(--discord-text); }
/* ---- Files ---------------------------------------------------------------------------------- */
ul.file-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.file-tile { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); min-width: 0; display: flex; flex-direction: column; }
.file-thumb { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); overflow: hidden; border-bottom: 1px solid var(--border); }
a.file-thumb:hover { text-decoration: none; }
a.file-thumb:focus-visible { outline-offset: -2px; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-meta { display: flex; align-items: center; gap: 4px; padding: 8px 6px 8px 10px; min-width: 0; }
.file-name { font-size: 13px; line-height: 18px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-tile .sub { overflow-wrap: anywhere; }
.file-tile.off .file-name { color: var(--muted); font-weight: 400; }
.upload { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-b > .upload:first-child { margin-top: 0; }
.sr-only-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed var(--border-strong); border-radius: var(--r); background: var(--surface-2); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone > span { display: flex; flex-direction: column; min-width: 0; }
.dz-title { font-size: 13px; line-height: 20px; font-weight: 500; overflow-wrap: anywhere; }
.sr-only-input:focus-visible + .dropzone { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload-f { display: flex; justify-content: flex-end; }
.answer-q { font-size: 13px; margin-top: 16px; color: var(--muted); font-weight: 500; }
.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; padding: 8px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); min-height: 44px; }
th.check-col, td.check-col { width: 1%; padding-right: 0; }
.thumbs { display: inline-flex; }
.thumb { width: 28px; height: 28px; border-radius: var(--r-xs); object-fit: cover; background: var(--surface-2); border: 2px solid var(--surface); display: inline-grid; place-items: center; color: var(--muted); font: 600 10px/1 var(--font); }
.thumb + .thumb { margin-left: -8px; }
progress.bar { display: block; width: 100%; max-width: 200px; height: 6px; margin-top: 8px; border: 0; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; -webkit-appearance: none; appearance: none; }
progress.bar::-webkit-progress-bar { background: var(--surface-3); border-radius: var(--r-full); }
progress.bar::-webkit-progress-value { background: var(--accent); border-radius: var(--r-full); }
progress.bar::-moz-progress-bar { background: var(--accent); border-radius: var(--r-full); }
progress.bar.warn::-webkit-progress-value { background: var(--warn); }
progress.bar.warn::-moz-progress-bar { background: var(--warn); }
.stat .sub { margin-top: 4px; }
fieldset.plain { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.plain[disabled] .setting .control { opacity: 0.7; }
/* ---- Issues tab ----------------------------------------------------------------------------- */
ul.list.issues > li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 20px; }
.issue-ic { margin-top: 2px; flex: none; }
.issue-t { font-weight: 500; overflow-wrap: anywhere; }
.issue-t a { color: var(--text); }
.issue-snip { margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.issue-snip mark { background: var(--accent-soft); color: var(--text); border-radius: 2px; padding: 0 1px; }
.issue-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
@media (max-width: 640px) {
ul.list.issues > li { padding: 12px 16px; flex-wrap: wrap; }
.issue-meta { flex-direction: row; align-items: center; width: 100%; padding-left: 28px; }
}
/* ---- Server health -------------------------------------------------------------------------- */
.meter-cell { display: flex; flex-direction: column; gap: 4px; min-width: 160px; }
.meter-cell progress.bar { margin-top: 0; max-width: 220px; }
.setting .control .meter-cell { align-items: flex-end; }
.warn-text { color: var(--warn-text); font-weight: 600; }
@media (max-width: 640px) { .setting .control .meter-cell { align-items: flex-start; width: 100%; } }
/* ---- Server health page --------------------------------------------------------------------- */
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.card-h + .stats.four, .card-b + .stats.four { border-top: 1px solid var(--border); }
.stat .l { display: flex; align-items: center; gap: 6px; }
.stat .l .ic { color: var(--muted); }
.stat progress.bar { margin-top: 8px; }
.alerts { display: flex; flex-direction: column; gap: 8px; }
.live { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r-full); font: 500 12px/1 var(--font); color: var(--muted); white-space: nowrap; }
.live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s var(--ease) infinite; }
.live.off .pulse { background: var(--warn); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--ok-border); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.chart-h { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
figure.chart { margin: 0; min-width: 0; }
figure.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
figure.chart .grid { stroke: var(--border); stroke-width: 1; }
figure.chart .limit { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 4 4; }
figure.chart .axis { fill: var(--muted); font: 11px var(--font); font-variant-numeric: tabular-nums; }
figure.chart path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.key { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; background: var(--faint); }
.s-host { stroke: var(--accent); } .key.s-host { background: var(--accent); }
.s-web { stroke: var(--dot-5); } .key.s-web { background: var(--dot-5); }
.s-worker { stroke: var(--dot-1); } .key.s-worker { background: var(--dot-1); }
.s-triage { stroke: var(--dot-2); } .key.s-triage { background: var(--dot-2); }
svg.spark { width: 120px; height: 28px; display: block; }
svg.spark path { fill: none; stroke-width: 1.5; stroke-linejoin: round; }
td.num svg.spark { margin-left: auto; margin-top: 2px; width: 72px; height: 20px; }
.spark.empty { display: block; width: 120px; height: 1px; background: var(--border); margin: 13px 0; }
tr.off-row td { background: var(--danger-soft); }
@media (max-width: 900px) { .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats.four .stat:nth-child(3) { border-left: 0; } .stats.four .stat:nth-child(n+3) { border-top: 1px solid var(--border); } .charts { grid-template-columns: minmax(0, 1fr); } }
/* ---- Triage: what Apply does, settings pages, re-runs ---------------------------------------- */
.tri-summary { margin: 4px 0 8px; }
.tri-more { flex-basis: 100%; padding: 0 0 4px 22px; font-size: 13px; line-height: 20px; }
.tri-more > summary { list-style: none; display: block; cursor: pointer; color: var(--text); font-weight: 500; border-radius: var(--r-xs); }
.tri-more > summary .chev { vertical-align: -2px; margin-right: 4px; }
.tri-more > summary::-webkit-details-marker { display: none; }
.tri-more > summary .chev { color: var(--muted); transition: transform var(--t) var(--ease); }
.tri-more[open] > summary .chev { transform: rotate(90deg); }
.tri-more > summary .muted { font-weight: 400; }
.tri-effects { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tri-effects li { display: flex; gap: 8px; align-items: flex-start; }
.tri-effects li > .ic { color: var(--muted); margin-top: 3px; flex: none; }
.tri-effects li > span { min-width: 0; }
.tri-effects .tags { display: inline-flex; vertical-align: middle; }
.tri-comment { display: block; margin-top: 6px; padding: 8px 12px; background: var(--surface-2); border-left: 2px solid var(--border-strong); border-radius: 0 var(--r-sm) var(--r-sm) 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.act-more { margin-top: 12px; }
.act-more > summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; line-height: 20px; color: var(--muted); border-radius: var(--r-xs); }
.act-more > summary::-webkit-details-marker { display: none; }
.act-more > summary .chev { transition: transform var(--t) var(--ease); flex: none; }
.act-more[open] > summary .chev { transform: rotate(90deg); }
.act-more > summary .what { color: var(--text); font-weight: 500; flex: none; }
.act-more > summary .truncate { min-width: 0; }
.act-more > .fields { margin-top: 16px; }
.prompt-pre { margin: 0; padding: 16px 20px; font: 12px/18px var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); background: var(--surface-2); max-height: 70vh; overflow: auto; }
.opt-list { font-family: var(--mono); font-size: 12px; line-height: 18px; }
.run-cell { display: flex; flex-direction: column; gap: 4px; min-width: 180px; font-size: 13px; line-height: 20px; }
.run-cell .tri-line { display: flex; gap: 6px; align-items: flex-start; }
.run-cell .tri-line > .ic { margin-top: 3px; flex: none; }
.run-cell details > summary { list-style: none; cursor: pointer; color: var(--accent-text); font-size: 12px; }
.run-cell details > summary::-webkit-details-marker { display: none; }
.run-cell details[open] > summary { margin-bottom: 4px; }
tr.changed > td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.diff-tag { white-space: nowrap; }
.tri-line .tags, .tri-row .tags { display: inline-flex; vertical-align: middle; }
th.half { width: 38%; }
.run-cell .tags { display: inline-flex; vertical-align: middle; }
.check-list.stacked { flex-direction: column; gap: 8px; }
input[type="number"].narrow { width: 88px; height: 28px; margin-left: 4px; }
progress.bar.wide { max-width: none; }
/* Triage: modes per source (Discord tickets, issues opened on GitHub) */
.src-modes { display: grid; grid-template-columns: auto auto; gap: 6px 10px; align-items: center; justify-items: end; flex: none; }
.src-l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.src-l .ic { color: var(--faint); }
.src-modes.gh-off .gh { opacity: 0.5; }
.src-summary { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--muted); }
.src-summary span { display: inline-flex; align-items: center; gap: 6px; }
.group-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 0; margin-top: 12px; border-top: 1px solid var(--border); }
.group-row .cell-title { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) {
.section-h:has(.src-modes), .group-row { flex-direction: column; align-items: stretch; }
/* Each label above its control, full width. */
.src-modes { grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: 4px; }
.src-modes > .gh:not(.src-l) { display: block; }
.src-l.gh { margin-top: 6px; }
.src-modes .seg { display: flex; width: 100%; }
.src-modes .seg-item { flex: 1; justify-content: center; }
}
/* Triage › Activity */
.danger-text { color: var(--danger-text); }
.log { list-style: none; margin: 0; padding: 0; }
.log-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 20px; border-top: 1px solid var(--border); }
.log-row:first-child { border-top: 0; }
.log-ic { flex: none; margin-top: 2px; }
.log-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; line-height: 20px; }
.log-d { margin-top: 2px; color: var(--text); }
.log-d > div + div { margin-top: 2px; }
.log-k { color: var(--muted); }
.log-row .when { flex: none; font-size: 12px; color: var(--muted); white-space: nowrap; }
.log-failed { background: color-mix(in srgb, var(--danger-soft) 40%, transparent); }
.dot.s-review { background: var(--warn); } .dot.s-partial { background: var(--dot-5); } .dot.s-applied { background: var(--ok); } .dot.s-failed { background: var(--danger); }
.dot.s-queued, .dot.s-nothing, .dot.s-reviewed, .dot.s-skipped { background: var(--faint); }
@media (max-width: 640px) { .log-row { padding: 12px 16px; flex-wrap: wrap; } .log-row .when { order: -1; margin-left: auto; } }
.log-d .tags { display: inline-flex; vertical-align: middle; }
/* Bulk triage */
.bulk-status { display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--border); }
.bulk-line { display: flex; align-items: center; gap: 12px; }
.bulk-line > .ic { flex: none; }
.issue-row .check-cell { flex: none; display: flex; align-items: center; padding-top: 2px; }
.select-all-row { min-height: 40px; align-items: center; }
/* A page this person can't open (moderators): visible, greyed out, with a lock. */
.nav-item.locked { opacity: 0.6; cursor: not-allowed; user-select: none; }
.nav-item.locked:hover { background: transparent; }
.nav-item.locked:hover > .ic { color: var(--muted); }
.nav-item.locked .trail .ic { color: var(--faint); }
.list-row .l2.tri-line-m { overflow: visible; white-space: normal; }
.seg-item.locked { opacity: 0.6; cursor: not-allowed; }
.seg-item.locked:hover { color: var(--muted); }
.seg-item.locked svg { flex: none; }
/* A page someone can see but not change: readable, clearly not editable. */
fieldset.view-only[disabled] .setting .control { opacity: 1; }
fieldset.view-only input[type="text"]:disabled, fieldset.view-only input[type="number"]:disabled, fieldset.view-only select:disabled, fieldset.view-only textarea:disabled { opacity: 1; color: var(--text); background: var(--surface-2); cursor: default; }
fieldset.view-only .seg-item, fieldset.view-only label.check, fieldset.view-only input:disabled { cursor: default; }
fieldset.view-only .seg-item:hover { color: var(--muted); }
fieldset.view-only .seg input:checked + .seg-item:hover { color: var(--text); }
fieldset.view-only .seg input:not(:checked) + .seg-item { opacity: 0.55; }
fieldset.view-only .link-btn { display: none; }
/* ---- Alerts that follow you around (the corner panel) ------------------------------------- */
.dock { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 20; width: min(408px, calc(100vw - 48px)); display: flex; flex-direction: column; align-items: flex-end; }
.dock.min { width: auto; }
.dock-panel { width: 100%; max-height: min(70vh, 560px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-pop); }
.dock.min .dock-panel, .dock:not(.min) .dock-pill { display: none; }
.dock-panel, .dock-pill { transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.dock.enter .dock-panel, .dock.enter .dock-pill { opacity: 0; transform: translateY(8px) scale(0.98); }
.dock-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 16px; border-bottom: 1px solid var(--border); font: 500 12px/16px var(--font); color: var(--muted); }
.dock:not(.multi) .dock-h, .dock.multi .da-tools [data-dock-min] { display: none; }
.dock-alert { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 14px 12px 16px 16px; }
.dock-alert + .dock-alert:not([hidden]), .dock-alert[hidden] + .dock-alert { border-top: 1px solid var(--border); }
.dock-alert::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--warn); }
.dock-alert.danger::before { background: var(--danger); }
.dock-alert .da-ic { color: var(--warn); padding-top: 1px; }
.dock-alert.danger .da-ic { color: var(--danger); }
.da-top { display: flex; align-items: flex-start; gap: 8px; }
.da-title { flex: 1; min-width: 0; margin: 0; font: 600 14px/22px var(--font); color: var(--text); }
.da-tools { display: flex; gap: 2px; margin: -3px -4px 0 0; flex: none; }
.da-text { margin: 2px 0 0; font-size: 13px; line-height: 20px; color: var(--text); }
.da-meta { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 12px; line-height: 16px; color: var(--muted); }
.da-meta li { display: flex; gap: 8px; align-items: flex-start; }
.da-meta .ic { flex: none; margin-top: 1px; color: var(--faint); }
.da-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
/* Minimized: a small icon that stays in the corner, with how many alerts there are. */
.dock-pill { position: relative; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--warn-border); color: var(--warn); box-shadow: var(--shadow-pop); cursor: pointer; }
.dock-pill:hover { border-color: var(--warn); }
.dock-pill.danger { border-color: var(--danger-border); color: var(--danger); }
.dock-pill.danger:hover { border-color: var(--danger); }
.dock-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dock-pill .n { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-full); background: var(--warn); color: #fff; font: 600 11px/18px var(--font); text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--surface); }
.dock-pill.danger .n { background: var(--danger); }
.dock-pill::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; pointer-events: none; animation: dock-ring 2.4s var(--ease) 3; }
@keyframes dock-ring { 0% { opacity: 0.45; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@media (prefers-reduced-motion: reduce) { .dock-pill::after { animation: none; } .dock-panel, .dock-pill { transition: none; } }
@media (max-width: 640px) {
.dock { right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; }
.dock.min { left: auto; }
}
@media print { .dock { display: none; } }
/* ---- Dev mode ------------------------------------------------------------------------------ */
.nav-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-text); font: 600 11px/18px var(--font); white-space: nowrap; }
.dev-switch { align-items: center; gap: 8px; height: 28px; padding: 0 4px 0 10px; border: 1px solid var(--border); border-radius: var(--r-full); }
.dev-switch label { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.dev-switch:has(input:checked) { border-color: var(--info-border); background: var(--accent-soft); }
.dev-switch:has(input:checked) label { color: var(--accent-text); }
/* ---- AI triage › Review: the queue of suggestions waiting, from tickets and GitHub issues ---- */
.rv-stats > .stats.four { border-top: 0; }
.rv-stats .stat .v.accent { color: var(--accent-text); }
.bulk-lead { display: flex; align-items: center; gap: 14px; min-width: 0; padding-left: 4px; }
/* One row per ticket or issue: its title, where it came from, then its suggestions. */
.rv-list { list-style: none; margin: 0; padding: 0; }
.rv-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px 20px; }
.rv-list.sel .rv-item { grid-template-columns: 16px minmax(0, 1fr); }
.rv-item + .rv-item { border-top: 1px solid var(--border); }
.rv-check { display: flex; height: 20px; align-items: center; cursor: pointer; }
.rv-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.rv-title { font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.rv-title:hover { text-decoration: underline; }
.rv-ext { display: inline-flex; margin-left: 2px; vertical-align: -2px; color: var(--faint); }
.tag.rv-src { border-radius: var(--r-full); padding: 0 8px 0 6px; }
.tag.rv-src > .ic { width: 12px; height: 12px; }
.rv-ref { font: 12px/16px var(--mono); color: var(--muted); }
/* Its suggestions, side by side when there's room: what Claude found, what Apply does, how sure it is. */
.rv-suggs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 8px; }
.rv-sugg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; min-height: 44px; padding: 7px 8px 7px 12px; border: 1px solid var(--border); border-radius: var(--r); background: var(--input-bg); font-size: 13px; line-height: 20px; }
.rv-sugg-b { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.rv-sugg-b .t { font-weight: 500; }
.rv-sugg-b .tags { display: inline-flex; vertical-align: middle; }
.rv-sugg-b .tag { vertical-align: middle; }
.rv-sugg-b .eff { color: var(--muted); }
.rv-conf { flex: none; font: 500 12px/20px var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-sugg-act { display: flex; gap: 4px; flex: none; margin-left: auto; }
/* Outside the current filter: still there, but bulk Apply and Dismiss leave it. */
.rv-sugg.off { border-style: dashed; background: transparent; }
.rv-sugg.off .rv-sugg-b, .rv-sugg.off .rv-conf { opacity: 0.6; }
.rv-note { font-size: 12px; line-height: 16px; text-align: right; }
@media (max-width: 640px) {
.rv-filters .select { flex: 1 1 140px; }
.rv-item { gap: 12px; padding: 12px 16px; }
.bulk-lead { padding-left: 0; gap: 12px; }
.rv-note { display: none; }
}
/* ---- Overview: a card per tool, Latest and Your access (routes/workspace.ts) ---------------- */
.tool-grid { align-items: stretch; }
.tool-card { display: flex; flex-direction: column; }
.tool-card > .card-h { justify-content: flex-start; }
.tile.accent { background: var(--accent-soft); color: var(--accent-text); }
/* Cards in a row line up their numbers and buttons, even when a description wraps. */
.tool-card > .stats { margin-top: auto; }
.tool-card .stat { display: flex; flex-direction: column; }
.tool-card .stat .l { white-space: normal; text-wrap: balance; }
.tool-card .stat .v { margin-top: auto; padding-top: 4px; }
.tool-card > .card-f { padding: 12px 16px; }
.stat .v.accent { color: var(--accent-text); }
.stat .v.split { align-items: baseline; }
.stat .v.split .ic { align-self: center; }
.stat .v .of { font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed > li + li { border-top: 1px solid var(--border); }
.feed-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 20px; font-size: 13px; line-height: 20px; color: var(--text); }
a.feed-row { text-decoration: none; transition: background var(--t-fast); }
a.feed-row:hover { background: var(--surface-2); text-decoration: none; }
a.feed-row:focus-visible { outline-offset: -2px; }
.feed-src { width: 24px; height: 24px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--muted); display: grid; place-items: center; flex: none; }
.feed-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-t { font-weight: 500; }
.feed-sep, .feed-d { color: var(--muted); }
.feed-row > time { flex: none; font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.my-access.two { flex-wrap: wrap; row-gap: 2px; padding-top: 10px; padding-bottom: 10px; }
.my-access .ma-pages { flex: 0 0 100%; padding-left: 28px; font-size: 12px; line-height: 16px; color: var(--muted); }
@media (max-width: 640px) {
.feed-row { align-items: flex-start; padding: 10px 16px; }
.feed-src { margin-top: 2px; }
.feed-text { white-space: normal; }
.feed-t, .feed-d { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-sep { display: none; }
.feed-row > time { margin-top: 2px; }
}
/* ---- Members › Moderator access: one moderator at a time, tool by tool ------------------------ */
/* The card lets its moderator header and the floating bar stick to the window. */
.access-card { overflow: visible; }
.acc-editor[hidden] { display: none; }
/* Whose access this is: stays at the top while you scroll through their tools. */
.acc-who { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--border); }
.acc-who-t { flex: 1; min-width: 180px; }
.acc-who h3 { margin: 0; font: 600 15px/22px var(--font); color: var(--text); }
.acc-who h3:focus { outline: none; }
.acc-who .sub { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 1px; }
.acc-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acc-quick .seg-item { font-size: 12px; }
/* A tool: its icon, name and summary (click to open its pages), and a switch to open or close all of it. */
.acc-tool { border-bottom: 1px solid var(--border); }
.acc-tool-h { display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 12px; }
.acc-expand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 6px 8px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.acc-expand:hover { background: var(--nav-hover); }
.acc-expand:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.acc-tile { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--faint); transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.acc-tool.on .acc-tile { background: var(--accent-soft); color: var(--accent-text); }
.acc-tool-t { min-width: 0; display: flex; flex-direction: column; }
.acc-tool-t .n { font: 600 14px/20px var(--font); }
.acc-tool:not(.on) .acc-tool-t .n { color: var(--muted); }
.acc-tool-t .s { font-size: 12px; line-height: 16px; color: var(--muted); }
.acc-tool.on .acc-tool-t .s { color: var(--accent-text); }
.acc-expand .chev { margin-left: auto; color: var(--faint); transition: transform var(--t) var(--ease); }
.acc-tool.expanded .acc-expand .chev { transform: rotate(180deg); }
/* Pages fold away until the tool is opened (without JavaScript they're always shown). */
.js .acc-tool:not(.expanded) .acc-pages { display: none; }
.acc-pages { padding: 0 20px 10px 64px; }
.acc-page { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.acc-page .l { font: 500 13px/20px var(--font); color: var(--text); }
.acc-page .l .tag { margin-left: 6px; vertical-align: 1px; }
.acc-page .d { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 2px; max-width: 560px; }
/* One click per page: No access / View / Edit. Edit is tinted, No access reads as off. */
.lvl-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--r-sm); background: var(--surface-2); }
.lvl-seg label { display: contents; }
.lvl-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lvl-seg span { min-width: 78px; height: 28px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-xs); font: 500 12px/1 var(--font); color: var(--muted); white-space: nowrap; cursor: pointer; transition: color var(--t-fast), background var(--t-fast); }
.lvl-seg span:hover { color: var(--text); }
.lvl-seg input:checked + span { background: var(--seg-selected); color: var(--text); box-shadow: var(--shadow-seg); }
.lvl-seg input[value="none"]:checked + span { color: var(--muted); }
.lvl-seg input[value="edit"]:checked + span { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--info-border); }
.lvl-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.lvl-seg input:disabled + span { cursor: progress; }
.acc-save { padding: 12px 20px; }
/* Floats at the bottom of the window while the card is in view: pick whose access to change. */
.acc-switcher { position: sticky; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 6; width: fit-content; max-width: calc(100% - 32px); margin: 16px auto; display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--border-strong); border-radius: var(--r-full); background: var(--surface); box-shadow: var(--shadow-pop); }
.acc-find { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--r-full); background: var(--surface-2); color: var(--faint); flex: none; }
.acc-find input { width: 150px; border: 0; padding: 0; background: transparent; color: var(--text); font: 400 13px/1 var(--font); outline: none; }
.acc-chips { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.acc-chips::-webkit-scrollbar { display: none; }
.acc-chips.more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
.acc-chip { flex: none; height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px 0 6px; border-radius: var(--r-full); color: var(--muted); font: 500 13px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.acc-chip:hover { background: var(--nav-hover); color: var(--text); text-decoration: none; }
.acc-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.acc-chip[aria-current="true"] { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--info-border); }
.acc-chip .c { min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-full); background: var(--surface-2); color: var(--muted); font: 600 11px/18px var(--font); text-align: center; font-variant-numeric: tabular-nums; }
.acc-chip[aria-current="true"] .c { background: var(--surface); color: var(--accent-text); }
.acc-none { padding: 0 12px; white-space: nowrap; }
@media (max-width: 720px) {
.acc-who { top: var(--topbar-h); padding: 12px 16px; }
.acc-tool-h { padding: 6px 16px 6px 8px; }
.acc-pages { padding: 0 16px 10px; }
.acc-page { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lvl-seg { display: flex; }
.lvl-seg span { flex: 1; min-width: 0; }
.acc-switcher { width: auto; max-width: none; margin: 12px; border-radius: 14px; }
.acc-find { flex: 1; }
.acc-find input { width: 100%; }
.acc-switcher:has(.acc-find) { flex-wrap: wrap; }
.acc-switcher:has(.acc-find) .acc-chips { flex-basis: 100%; }
}