:root {
  --bg: #f4f5f7; --panel: #ffffff; --text: #1c2330; --muted: #667085; --line: #e3e6ec;
  --brand: #0f766e; --brand-ink: #ffffff; --danger: #b42318; --warn: #b54708; --ok: #067647;
  --chip: #eef2f6; --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f141b; --panel: #171d27; --text: #e6e9ef; --muted: #98a2b3; --line: #2a3342;
    --brand: #2dd4bf; --brand-ink: #06201d; --danger: #f97066; --warn: #fdb022; --ok: #47cd89; --chip: #202a38; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 20px; margin: 0 0 4px; }
h2 { font-size: 16px; margin: 0 0 12px; }
h3 { font-size: 14px; margin: 16px 0 8px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }

.shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { background: var(--panel); border-right: 1px solid var(--line); padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { font-weight: 700; font-size: 16px; padding: 4px 10px 16px; }
.nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); margin-bottom: 2px; }
.nav a:hover { background: var(--chip); text-decoration: none; }
.nav a.active { background: var(--brand); color: var(--brand-ink); }
.side .foot { position: absolute; bottom: 16px; left: 12px; right: 12px; }
.main { padding: 24px 28px 48px; max-width: 1240px; min-width: 0; }
.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs { font-size: 13px; margin-bottom: 6px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.kv { display: grid; grid-template-columns: 190px 1fr; gap: 6px 12px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-all; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
.tablewrap { overflow-x: auto; }

button, .btn { font: inherit; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 7px 12px; border-radius: 8px; cursor: pointer; }
button:hover { background: var(--chip); }
button.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
button.primary:hover { filter: brightness(.95); }
button.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
button:disabled { opacity: .55; cursor: not-allowed; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.small { padding: 4px 9px; font-size: 13px; }

label { display: block; font-weight: 600; margin: 12px 0 4px; }
input, select, textarea { font: inherit; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.row { display: flex; gap: 10px; } .row > * { flex: 1; }

.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--chip); font-size: 12px; font-weight: 600; }
.chip.ok { color: var(--ok); } .chip.bad { color: var(--danger); } .chip.warn { color: var(--warn); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 6px; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--danger); } .dot.warn { background: var(--warn); }

.notice { padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; background: var(--chip); }
.notice.error { color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--line)); }
.notice.ok { color: var(--ok); }

.login { max-width: 380px; margin: 12vh auto; padding: 0 16px; }
.login .card { padding: 24px; }

.overlay { position: fixed; inset: 0; background: rgba(10, 14, 20, .55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 10; }
.modal { background: var(--panel); border-radius: 14px; padding: 20px; width: 100%; max-width: 420px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); max-height: 90vh; overflow: auto; }
.qr { display: block; margin: 12px auto; width: 280px; height: 280px; background: #fff; border-radius: 8px; padding: 8px; }
.center { text-align: center; }
.toast { position: fixed; bottom: 18px; right: 18px; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 20; max-width: 360px; }


/* ---- tabs, stats, meters, bars, forms ------------------------------------------------------------ */
.head.tight { margin-bottom: 10px; }
h2.section { font-size: 15px; margin: 22px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding: 9px 12px; color: var(--muted); font-weight: 600; }
.tab:hover { background: var(--chip); color: var(--text); }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab.muted { opacity: .55; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); min-width: 0; }
.stat-label { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.stat-value { font-size: 22px; font-weight: 700; margin: 2px 0; overflow-wrap: anywhere; }
.stat-sub { color: var(--muted); font-size: 12.5px; }
.stat.ok .stat-value { color: var(--ok); } .stat.warn .stat-value { color: var(--warn); } .stat.bad .stat-value { color: var(--danger); }

.meter { height: 8px; background: var(--chip); border-radius: 999px; overflow: hidden; margin-top: 6px; min-width: 90px; }
.meter-fill { height: 100%; background: var(--brand); border-radius: 999px; }
.meter-fill.warn { background: var(--warn); } .meter-fill.bad { background: var(--danger); }

.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 82px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.bar-track { height: 10px; background: var(--chip); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--brand); border-radius: 999px; } .bar-fill.bad { background: var(--danger); }
.bar-value { text-align: right; font-variant-numeric: tabular-nums; }

td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 18px; }
.field.inline { margin-top: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; }
textarea.mono, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.secret { background: var(--bg); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; margin: 10px 0; word-break: break-all; user-select: all; }
pre.json { background: var(--bg); border-radius: 8px; padding: 10px 12px; overflow: auto; max-height: 280px; font-size: 12.5px; }
.hint-box { margin-top: 12px; padding: 10px 12px; background: var(--bg); border-radius: 8px; }
.hint-box code { word-break: break-all; }
.integration .kv { margin-top: 6px; }
.modal.wide { max-width: 860px; }
.nav a { font-weight: 500; }
button.tab, .tab { font: inherit; font-weight: 600; }

@media (max-width: 760px) {
  .bar-row { grid-template-columns: 64px 1fr; } .bar-value { grid-column: 1 / -1; text-align: left; }
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .foot { position: static; margin-top: 8px; }
  .nav { display: flex; gap: 4px; flex-wrap: wrap; } .nav a { margin: 0; }
  .main { padding: 16px; }
  .kv { grid-template-columns: 1fr; }
}

/* ---- modules: one card per module with an on/off switch ------------------------------------------ */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 14px; }
.module { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, opacity .15s; }
.module.on { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--panel)); }
.module.off { opacity: .8; }
.module h3 { margin: 6px 0 0; font-size: 15px; }
.module-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.module-icon { font-size: 22px; line-height: 1; }
.module-desc { flex: 1; }
.module-summary { margin-top: 6px; font-weight: 600; font-size: 13px; }
.module-link { margin-top: 8px; font-weight: 600; }
.switch { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.slider { width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; flex: none; }
.slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.switch input:checked + .slider { background: var(--brand); }
.switch input:checked + .slider::after { transform: translateX(16px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--brand); outline-offset: 2px; }
.switch input:disabled + .slider { opacity: .55; }
.switch input:disabled ~ .switch-text { opacity: .8; }
.switch:has(input:disabled) { cursor: not-allowed; }
.module.on .switch-text { color: var(--ok); }

/* ---- form widgets: switches in forms, chips, choice cards, sub-tabs ------------------------------- */
.field .switch, .checks .switch { font-size: 14px; color: var(--text); font-weight: 500; margin: 6px 0; }
.checks { display: grid; gap: 2px; }
.field.inline { margin-top: 12px; }
.tagbox { display: grid; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 600; word-break: break-all; }
.tag button { border: 0; background: none; padding: 0 6px; font-size: 15px; line-height: 1; color: var(--muted); border-radius: 999px; }
.tag button:hover { color: var(--danger); background: none; }
button.tag.suggest { padding: 3px 10px; border: 1px dashed var(--line); background: none; color: var(--muted); font-weight: 500; }
button.tag.suggest:hover { border-color: var(--brand); color: var(--brand); background: none; }
.tagadd { display: flex; gap: 8px; } .tagadd input { flex: 1; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400; background: var(--bg); }
.choice:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.choice:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--panel)); }
.choice input { width: auto; margin-top: 3px; accent-color: var(--brand); }
.colorpick { width: 48px; height: 34px; padding: 2px; cursor: pointer; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; align-items: start; }
.brand-logo { width: 160px; height: 160px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: repeating-conic-gradient(color-mix(in srgb, var(--line) 60%, transparent) 0 25%, transparent 0 50%) 0 0 / 16px 16px; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.brand-swatch { width: 64px; height: 44px; padding: 2px; cursor: pointer; }
.brand-preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.brand-preview-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; }
.brand-preview-bar img, .brand-preview-initial { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.brand-preview-initial { display: grid; place-items: center; color: #1c2330; font-weight: 700; }
.brand-preview-body { display: grid; gap: 10px; justify-items: start; padding: 14px; }
.brand-preview-button { color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.subtabs button { border-radius: 999px; font-weight: 600; }
.subtabs button.active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.setup { display: grid; gap: 8px; margin-bottom: 16px; }
.setup .step { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.setup .step.done { opacity: .75; }
.setup .step .dotmark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 12px; font-weight: 700; flex: none; }
.setup .step.done .dotmark { background: var(--ok); color: #fff; }
.setup .step .grow { flex: 1; }
.userlist-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.userlist-switch:last-child { border-bottom: 0; }
.row-actions-note { font-size: 12.5px; }
.form-heading { grid-column: 1 / -1; margin: 18px 0 2px; padding-top: 12px; border-top: 1px solid var(--line); } .formgrid > .form-heading:first-child { border-top: 0; margin-top: 4px; padding-top: 0; }
.formgrid > .field:has(.choices), .formgrid > .field:has(.tagbox) { grid-column: 1 / -1; }
[hidden] { display: none !important; }

/* ---- notifications: channel and message-kind tiles, save bar ------------------------------------- */
.nsection { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 20px 0 10px; }
.nsection h3 { margin: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ntiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ntiles.two { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ntile { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s; }
.ntile.on { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--panel)); }
.ntile strong { font-size: 15px; margin-top: 6px; }
.ntile .muted { font-size: 13px; }
.ntile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ntile-icon { font-size: 22px; line-height: 1; }
.ntile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; }
.ntile.on .switch-text, .nfallback .switch input:checked ~ .switch-text { color: var(--ok); }
.nfallback { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; }
.nfallback .grow { flex: 1; min-width: 0; } .nfallback .muted { font-size: 13px; }
.nfallback.locked { opacity: .7; }
.savebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 10px 12px 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .15s, box-shadow .15s; }
.savebar-text { color: var(--muted); font-weight: 600; }
.savebar.dirty { position: sticky; bottom: 12px; border-color: var(--warn); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.savebar.dirty .savebar-text { color: var(--warn); }
@media (max-width: 560px) { .nfallback { flex-wrap: wrap; } .ntiles, .ntiles.two { grid-template-columns: 1fr; } }

/* Authentication tab: numbered sections, the locked roles and the one-line summary of who gets a code. */
.auth-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.auth-section:first-of-type { border-top: 0; padding-top: 4px; }
.auth-section-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.auth-section-head h3 { margin: 0 0 2px; font-size: 16px; }
.auth-section-head .muted { font-size: 13px; }
.auth-step { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--brand) 16%, var(--panel)); color: var(--brand); }
.ntile-sub { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; }
.ntile-sub .muted { flex: 1; }
.auth-roles { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.auth-roles-title { font-weight: 600; margin-bottom: 8px; }
.locked-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.locked-chip { padding: 3px 11px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 600; }
.auth-summary { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; background: var(--chip); font-size: 13.5px; }
.auth-card .formgrid > .field:has(.choices) { grid-column: 1 / -1; }

/* Authentication tab v2: settings on the left, a live preview of the screens on the right. */
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.auth-preview { position: sticky; top: 16px; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.auth-preview-title { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.mock { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.mock-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; }
.mock-field { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--panel); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.mock-field em { font-style: normal; font-size: 11.5px; }
.mock-btn { border-radius: 8px; padding: 8px 10px; text-align: center; font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: var(--panel); }
.mock-btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.mock-btn.google { background: var(--panel); }
.mock-note { font-size: 12px; color: var(--muted); }
.auth-q { margin-bottom: 16px; }
.auth-q-label { font-weight: 600; margin-bottom: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; background: var(--bg); }
.seg-btn { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; }
.seg-btn:hover { background: var(--chip); }
.seg-btn.on { background: var(--brand); color: var(--brand-ink); font-weight: 600; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 14px 6px 10px; font: inherit; font-size: 13.5px; cursor: pointer; color: var(--text); display: inline-flex; gap: 6px; align-items: center; }
.pick.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--panel)); font-weight: 600; }
.pick-mark { width: 16px; text-align: center; color: var(--muted); }
.pick.on .pick-mark { color: var(--brand); }
.ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.way { text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg); font: inherit; color: var(--text); cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.way.on { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: color-mix(in srgb, var(--brand) 7%, var(--panel)); }
.way-icon { font-size: 20px; line-height: 1.2; font-weight: 700; }
.way-body { display: flex; flex-direction: column; gap: 2px; } .way-body .muted { font-size: 12.5px; }
.way-state { grid-column: 2; font-size: 12px; font-weight: 600; color: var(--muted); }
.way.on .way-state { color: var(--ok); }
.stable { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 12px 0 8px; }
.srow { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.srow:last-child { border-bottom: 0; }
.srow-label { font-weight: 600; }
.srow-extra { grid-column: 2; }
.auth-summary.ok { color: var(--ok); }
.notice.info { color: var(--text); }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 900px) { .auth-layout { grid-template-columns: 1fr; } .auth-preview { position: static; } }
@media (max-width: 560px) { .srow { grid-template-columns: 1fr; } .srow-extra { grid-column: 1; } }
.hosted { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.hosted-url { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; }
.hosted-url code { overflow-wrap: anywhere; }
.hosted-url-label { font-weight: 600; }
.hosted-guide { margin-top: 10px; }
.hosted-guide summary { cursor: pointer; font-weight: 600; }
.hosted-guide ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.hosted-guide code { overflow-wrap: anywhere; }
a.btn { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--panel); }
a.btn:hover { text-decoration: none; background: var(--chip); }
@media (max-width: 560px) { .hosted-url { grid-template-columns: 1fr; } }
