:root { --navy: #183964; --blue: #0b5cad; --ink: #16181d; --muted: #5b6270; --line: #e1e5eb; --bg: #f4f6f9; --ok: #1f7a4a; --warn: #9a5b00; --bad: #b42318; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--blue); }
h1 { margin: 0; font-size: 28px; font-weight: 700; }
h2 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
h3 { margin: 0 0 6px; font-size: 16px; }
p { margin: 0 0 10px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: #eef0f3; padding: 1px 5px; border-radius: 4px; }
pre { margin: 0; padding: 16px; border-radius: 10px; background: var(--ink); color: #e8ebf0; font-size: 13px; line-height: 1.6; overflow-x: auto; }
.muted { color: var(--muted); } .small { font-size: 13px; } .ok { color: var(--ok); font-weight: 600; } .warn { color: var(--warn); font-weight: 600; } .bad { color: var(--bad); font-weight: 600; }
.center { text-align: center; }
.mark { display: inline-flex; flex-direction: row; align-items: flex-start; gap: 2px; flex: none; } .mark img { display: block; border-radius: 4px; } .tm { font-size: 10px; font-weight: 700; line-height: 1; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e8eefb; color: var(--navy); font-size: 12px; font-weight: 600; } .pill.gray { background: #f1f3f6; color: #3d434d; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #c9d0da; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; } .btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; } .btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn.danger { background: #fff; border-color: var(--bad); color: var(--bad); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font: inherit; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; } .label { font-weight: 600; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { min-height: 44px; border: 1px solid #c9d0da; border-radius: 10px; padding: 8px 12px; font: inherit; color: var(--ink); background: #fff; width: 100%; }
input:disabled, select:disabled, textarea:disabled { background: var(--bg); color: #3d434d; }
input.code { font-size: 24px; letter-spacing: .2em; font-weight: 600; text-align: center; }
.hint { font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 6px 0; font-size: 14px; } .check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; } .check small { display: block; color: var(--muted); }
.radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
.radio { display: flex; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; } .radio.on { border: 2px solid var(--blue); background: #f6f9fe; } .radio small { display: block; color: var(--muted); }
.group { border: 0; padding: 14px 0; margin: 0; border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; } .group legend, .group summary { font-weight: 700; padding: 0; cursor: pointer; }
fieldset { min-width: 0; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; border: 1px solid; }
.flash.ok { background: #e6f4ea; border-color: #b7dfc3; color: #14532d; } .flash.bad { background: #fde8e6; border-color: #f5b5b0; color: #7a1f17; } .flash.info { background: #e8eefb; border-color: #c3d3f2; color: var(--navy); } .flash.warn { background: #fff4e0; border-color: #f2d49a; color: #6b4100; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.codes { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .codes code { font-size: 16px; display: block; padding: 8px; text-align: center; }

/* auth layout */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-side { flex: 1 1 400px; background: var(--navy); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.auth-side .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c7d3e6; } .auth-side h1 { font-size: 34px; line-height: 1.15; max-width: 440px; margin-bottom: 14px; } .auth-side p { color: #dbe3ef; max-width: 440px; }
.auth-side .legal { font-size: 13px; color: #c7d3e6; margin: 0; }
.auth-main { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(16,24,40,.08); } .card.wide { max-width: 760px; }
.card h1 { font-size: 24px; } .card .flash { margin: 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; } .two section, .two > div { display: flex; flex-direction: column; gap: 12px; }
.alts h2 { font-size: 15px; color: #3d434d; }
.alt { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; min-height: 56px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; } .alt small { color: var(--muted); }
details summary.alt { list-style: none; }
#qr { display: block; width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 8px; }

/* app layout */
.app { min-height: 100vh; display: flex; flex-wrap: wrap; }
.side { flex: 1 1 232px; max-width: 100%; padding: 24px 16px; display: flex; flex-direction: column; gap: 6px; }
.app.console .side { background: var(--navy); color: #fff; } .app.admin .side { background: #fff; border-right: 1px solid var(--line); }
.side a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.console .side a { color: #dbe3ef; } .console .side a.active { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }
.admin .side a { color: #3d434d; } .admin .side a.active { background: #e8eefb; color: var(--navy); font-weight: 600; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 20px; } .side-brand > span:not(.mark) { display: flex; flex-direction: column; } .side-brand small { font-size: 12px; opacity: .8; }
.side-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; } .side-initial { width: 36px; height: 36px; border-radius: 8px; background: var(--navy); color: #fff; display: flex !important; align-items: center; justify-content: center; font-weight: 700; }
.grow { flex-grow: 1; }
.side-user { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; font-size: 13px; border-top: 1px solid rgba(128,128,128,.25); }
.side-user .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-user .who-email { opacity: .8; overflow-wrap: anywhere; }
.side-user .who-account { white-space: nowrap; }
.side-user .who-account { align-self: flex-start; margin-top: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.side-user .who-account.customer { background: #e6eefb; color: #17335c; }
.side-user .who-account.staff { background: #fff1d6; color: #6a4300; }
.console .side-user .link { color: #c7d3e6; }
.side-legal { display: flex; align-items: center; gap: 8px; padding: 10px 8px 0; font-size: 12px; } .console .side-legal { color: #c7d3e6; } .admin .side-legal { color: var(--muted); }
.main { flex: 999 1 560px; min-width: 0; padding: 32px 40px 80px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 720px) { .main { padding: 20px 16px 60px; } }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; } .head h2 { margin: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.panel.rec { border: 2px solid var(--blue); } .panel.split { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } .grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; } .grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; } .stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; } .stats span { font-size: 13px; color: var(--muted); } .stats strong { font-size: 26px; }
.table { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; } .panel .table { border: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th { text-align: left; padding: 12px 16px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); } td { padding: 12px 16px; border-bottom: 1px solid #eef0f3; vertical-align: middle; } tr:last-child td { border-bottom: 0; } td.center, th.center { text-align: center; }
td form { margin: 0; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; font-size: 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #eef0f3; font-size: 14px; } .row small { display: block; color: var(--muted); } .row.total { font-weight: 700; font-size: 16px; } .row form { margin: 0; }
.activity { list-style: none; margin: 0; padding: 0; font-size: 14px; } .activity li { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid #eef0f3; } .when { flex: 0 0 130px; color: var(--muted); }
details.inline summary { list-style: none; } .inline-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; margin-top: 12px; }
.inline-add { display: flex; gap: 8px; margin-top: 8px; }
.code-box { display: flex; align-items: center; gap: 10px; } code.big { font-size: 26px; font-weight: 700; letter-spacing: .08em; padding: 8px 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); } .tabs button { min-height: 44px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-size: 14px; color: #3d434d; cursor: pointer; } .tabs button[aria-selected=true] { border-bottom-color: var(--blue); color: var(--navy); font-weight: 600; }
.plain { padding-left: 18px; margin: 0 0 12px; } .method { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 14px; } .method p { color: var(--muted); font-size: 13px; }
.savebar { position: sticky; bottom: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; box-shadow: 0 -4px 20px rgba(16,24,40,.06); }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.settings-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; } .settings-grid > form { flex: 2 1 520px; } .preview-col { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; align-items: center; position: sticky; top: 24px; }
.brand-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .logo-box { width: 160px; height: 64px; border: 1px dashed #c9d0da; border-radius: 10px; display: flex; align-items: center; justify-content: center; } .logo-box img { max-height: 56px; max-width: 150px; object-fit: contain; }
.popup-preview { width: 300px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(16,24,40,.18); overflow: hidden; font-size: 13px; }
.pp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e3e6eb; min-height: 52px; } .pp-brand { display: flex; align-items: center; gap: 8px; min-width: 0; } .pp-brand img { height: 26px; max-width: 120px; object-fit: contain; }
.pp-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; } .pp-eyebrow { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pp-row { display: flex; justify-content: space-between; background: #f5f6f8; border: 1px solid #e3e6eb; border-radius: 10px; padding: 10px 12px; } .pp-row small { font-weight: 500; color: var(--muted); }
.pp-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 4px; } .pp-foot span { text-decoration: underline; }
.pp-legal { border-top: 1px solid #e3e6eb; padding: 8px; text-align: center; font-size: 11px; color: var(--muted); }
[hidden] { display: none !important; }

/* test / live configurations */
.settings-grid > .stack { flex: 2 1 520px; }
.subtabs { margin-bottom: 4px; } .subtabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-bottom: 3px solid transparent; font-size: 14px; color: #3d434d; text-decoration: none; } .subtabs a[aria-selected=true] { border-bottom-color: var(--blue); color: var(--navy); font-weight: 600; }
.panel.publish.pending { border: 2px solid var(--warn); background: #fffaf0; } .publish-form { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; } .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.panel.try { border-left: 4px solid var(--blue); } .steps { margin: 0; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.pp-test { background: #fff4e0; color: #6b4100; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 5px 8px; }
.radio input[type=radio] { width: 20px; height: 20px; margin-top: 2px; flex: none; }

/* product tours */
.tour-open { overscroll-behavior: contain; }
.tour-layer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.tour-dim { position: fixed; inset: 0; background: rgba(16, 24, 40, .55); pointer-events: auto; }
.tour-spot { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(16, 24, 40, .55), 0 0 0 3px var(--blue), 0 0 0 8px rgba(11, 92, 173, .25); pointer-events: auto; transition: left .18s, top .18s, width .18s, height .18s; }
.no-motion .tour-spot { transition: none; }
.tour-pop { position: fixed; width: 360px; max-width: calc(100vw - 24px); background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 20px 60px rgba(16, 24, 40, .35); padding: 14px 18px 16px; pointer-events: auto; }
.tour-pop.is-finding .tour-body { color: var(--muted); }
.tour-pop.tour-sheet { width: auto; }
.tour-arrow { position: absolute; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); display: none; }
.tour-below .tour-arrow { top: -7px; } .tour-above .tour-arrow { bottom: -7px; }
.tour-progress { height: 3px; border-radius: 3px; background: #e8eefb; overflow: hidden; margin: 0 0 10px; } .tour-progress span { display: block; height: 100%; background: var(--blue); transition: width .3s; }
.tour-count { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tour-title { margin: 0 0 6px; font-size: 18px; }
.tour-body p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; } .tour-body p:last-child { margin-bottom: 0; } .tour-body code { font-size: 12px; }
.tour-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; } .tour-spacer { flex: 1; }
.tour-end { font-size: 13px; }
.tour-offer { position: fixed; right: 16px; bottom: 16px; z-index: 900; width: 340px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 24, 40, .18); padding: 16px 18px; }
.tour-offer-title { margin: 0 0 4px; font-weight: 700; font-size: 16px; } .tour-offer-body { margin: 0 0 12px; font-size: 14px; color: #3d434d; }
.tour-offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .tour-offer-actions .link { margin-left: auto; font-size: 13px; }
.side .tour-btn { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; cursor: pointer; width: 100%; text-align: left; }
.admin .side .tour-btn { color: #3d434d; } .console .side .tour-btn { color: #dbe3ef; } .side .tour-btn:hover { background: rgba(128,128,128,.12); }
@media (max-width: 700px) { .tour-pop { width: auto; } .tour-offer { left: 16px; right: 16px; width: auto; } }

/* Training videos, laid out like SalesBell Academy: an index of lesson cards, then one video per page. */
.training-page { width: 100%; max-width: 1080px; min-width: 0; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.training-hero { display: flex; flex-direction: column; gap: 6px; }
.training-hero h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin: 0; }
.training-hero .lede { margin: 0; color: var(--muted); font-size: 16px; max-width: 70ch; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.lesson-group { display: flex; flex-direction: column; gap: 12px; }
.lesson-group h2 { font-size: 18px; margin: 4px 0 0; }
.lesson-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.lesson-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.lesson-card:hover { border-color: #c9d3e1; box-shadow: 0 8px 24px rgba(16,24,40,.08); }
.lesson-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lesson-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b1426; }
.lesson-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lesson-len { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(11,20,38,.85); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lesson-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; font-size: 14px; }
.lesson-body strong { font-size: 16px; }
.lesson-body .pill { align-self: flex-start; }
.training { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lesson-video { width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #0b1426; box-shadow: 0 16px 40px rgba(16,24,40,.18); }
.lesson-video video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0b1426; }
.chapters { width: 100%; max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.chapters-head { margin: 2px 6px 8px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.chapters ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 8px; }
.chapters button { width: 100%; display: flex; gap: 10px; align-items: baseline; text-align: left; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.chapters button:hover { background: var(--bg); }
.chapters button[aria-current="true"] { background: #e8eefb; color: var(--navy); font-weight: 600; }
.ch-time { flex: none; width: 3em; color: var(--muted); font-variant-numeric: tabular-nums; }
.lesson-nav { width: 100%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.lesson-nav a { color: var(--blue); text-decoration: none; } .lesson-nav a:hover { text-decoration: underline; }
/* Pager under long lists */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.panel .pager { padding: 12px 0 0; }
.pager-size { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }
.pager-size select { width: auto; min-width: 64px; min-height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--ink); }
.pager-nav { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.pager-nav [aria-disabled="true"] { opacity: .45; pointer-events: none; }
.pager-page { color: var(--muted); white-space: nowrap; }
/* Copy buttons */
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { border-color: var(--blue); color: var(--blue); }
.copy-btn.copied { border-color: #1a7f37; color: #1a7f37; }
.code-block { position: relative; }
.code-block pre { padding-right: 104px; }
.code-block .copy-btn { position: absolute; top: 10px; right: 10px; }
.copy-inline { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 2px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; vertical-align: middle; }
.copy-inline:hover, .copy-inline:focus-visible { background: #e8eefb; color: var(--blue); outline: none; }
.copy-inline.copied { color: #1a7f37; background: #e3f5ea; }
.copy-inline svg { width: 14px; height: 14px; }
.field-copy { display: flex; gap: 6px; align-items: stretch; } .field-copy .field-input { flex: 1 1 auto; min-width: 0; position: relative; } .field-copy .field-input input { width: 100%; } .field-copy .copy-inline { flex: 0 0 auto; }
.field-copy .copy-inline { width: 44px; height: auto; align-self: stretch; margin: 0; border: 1px solid var(--line); background: #fff; }
.copy-btn.on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #e8ebf0; }
.copy-btn.on-dark:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.copy-btn.on-dark.copied { border-color: #7ee2a8; color: #7ee2a8; }
.tabpanel > p { margin: 0 0 8px; }
/* Extension users vs licensed */
.pill.ok { background: #e3f5ea; color: #1a7f37; } .pill.warn { background: #fff4d6; color: #8a5a00; } .pill.bad { background: #fde7e7; color: #b42318; } .pill.hand { background: #eef3ee; color: #3a6b48; border: 1px dashed #8fb59c; }
.panel.usage.over { border-color: #f1b5b0; }
.panel.usage .stats { margin: 12px 0; }
.small-stat { font-size: 15px !important; line-height: 1.4; }
details.notify { margin-top: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
details.notify summary { cursor: pointer; } details.verify-by-hand { margin-top: 16px; } details.verify-by-hand input[name="confirm"] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
details.notify form { margin-top: 12px; }
details.notify textarea { width: 100%; font: inherit; font-size: 14px; }
/* Guides */
.guide { max-width: 860px; }
.guide-head { margin: 12px 0 20px; } .guide-head h1 { margin: 4px 0 8px; } .guide-head .lede { color: var(--muted); font-size: 17px; margin: 0; }
.guide-toc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; }
.guide-toc ol { list-style: none; margin: 8px 0 0; padding-left: 0; columns: 2; column-gap: 32px; } .guide-toc li { margin: 4px 0; break-inside: avoid; }
.guide-body { line-height: 1.65; font-size: 15px; }
.guide-body h2 { margin: 36px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.guide-body h3 { margin: 24px 0 8px; scroll-margin-top: 16px; }
.guide-body p, .guide-body ul, .guide-body ol { margin: 0 0 12px; }
.guide-body li { margin: 4px 0; } .guide-body li > ul, .guide-body li > ol { margin: 6px 0; }
.guide-body li.task { list-style: none; margin-left: -20px; } .guide-body .box { font-size: 17px; }
.guide-body .table { margin: 0 0 16px; } .guide-body td, .guide-body th { vertical-align: top; }
.guide-body code { font-size: 13px; background: #eef1f5; padding: 1px 5px; border-radius: 4px; }
@media (max-width: 700px) { .guide-toc ol { columns: 1; } }
details.notify summary strong { color: var(--blue); }
/* List search and sorting */
.list-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; }
.table > .list-tools { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.list-search { display: inline-flex; gap: 6px; flex: 1 1 260px; max-width: 420px; }
.list-search input { flex: 1; min-width: 0; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.list-search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.list-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.list-sort select { min-height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--ink); }
th.sortable a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
th.sortable a:hover { color: var(--blue); }
.sort-mark { font-size: 10px; opacity: .45; } th[aria-sort="ascending"] .sort-mark, th[aria-sort="descending"] .sort-mark { opacity: 1; color: var(--blue); }
.list-empty { padding: 12px 16px; margin: 0; }

/* Support view: whose portal staff are in, and the way back to the console. */
.support-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 16px; margin-bottom: 16px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 14px; }
.support-bar form { margin: 0; } .managed-bar { background: #1f3a5f; } .managed-bar a { color: #fff; } .managed-terms ul { margin: 0 0 16px; padding-left: 20px; } .managed-terms li { margin: 6px 0; } details.terms { margin: 8px 0 16px; } details.terms summary { cursor: pointer; font-weight: 600; } details.terms p { margin: 8px 0; } .consents li { margin: 6px 0; }
.support-bar .btn { background: #fff; color: var(--navy); border-color: #fff; }
.verify-steps { max-width: 760px; } .verify-steps .btn-row { margin-top: 4px; }
.btn.pulse { box-shadow: 0 0 0 4px rgba(11, 92, 173, 0.25); transition: box-shadow 0.2s; }
.verify-bar { background: #fff4d6; color: #5a3b00; border: 1px solid #f2d49a; } .verify-bar .btn { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------------------------------------------------------------- self-service sign-up */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; } .caps { text-transform: uppercase; letter-spacing: .06em; }
.signup .auth-side { flex: 0 1 440px; justify-content: flex-start; gap: 28px; padding: 44px; }
.signup-brand { display: flex; align-items: center; gap: 12px; } .signup-brand .mark img { background: #fff; border-radius: 6px; }
.signup-brand span { display: flex; flex-direction: column; } .signup-brand small { color: #c7d3e6; font-size: 13px; }
.signup-aside { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.signup .legal { margin-top: auto; }
.summary { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; color: #dbe3ef; }
.summary .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c7d3e6; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .summary-row.big strong { font-size: 26px; color: #fff; }
.summary-row.total { border-top: 1px solid rgba(255,255,255,.18); padding-top: 10px; } .summary-row.total strong { font-size: 20px; color: #fff; }
.summary-row.small, .summary .small { font-size: 13px; color: #c7d3e6; } .summary p { margin: 0; color: #dbe3ef; font-size: 14px; }
.summary a, .aside-help a { color: #fff; font-size: 14px; } .summary-title { color: #fff; font-size: 16px; }
.tenant-example { display: block; background: rgba(0,0,0,.25); color: #fff; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.tenant-example mark { background: #f2c230; color: var(--ink); padding: 0 3px; border-radius: 3px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #dbe3ef; font-size: 14px; } .ticks li { display: flex; gap: 10px; } .ticks svg { flex: 0 0 18px; margin-top: 1px; }
.aside-help { font-size: 14px; color: #dbe3ef; } .aside-help p { margin: 6px 0 0; }
.signup-main { flex: 1 1 560px; padding: 44px 72px; display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.stepper li { display: flex; align-items: center; gap: 8px; } .stepper .dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #c4cad4; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.stepper li.done { color: var(--ok); } .stepper li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.stepper li.current { color: var(--blue); } .stepper li.current .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.signup-head { display: flex; flex-direction: column; gap: 6px; max-width: 620px; } .signup-head h1 { font-size: 30px; margin: 0; } .signup-head p { margin: 0; }
.signup-form { display: flex; flex-direction: column; gap: 18px; max-width: 620px; } .signup-form.narrow { max-width: 420px; } .signup-form .btn-row { align-items: center; gap: 16px; }
.signup-main .flash { max-width: 620px; margin: 0; }
.grid2.compact { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.plan-choice { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-radio { position: relative; } .pill-radio input { position: absolute; opacity: 0; inset: 0; }
.pill-radio span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 18px; border: 1px solid #c9d0da; border-radius: 999px; font-weight: 600; cursor: pointer; background: #fff; }
.pill-radio input:checked + span { border: 2px solid var(--blue); background: #e8f0fb; color: var(--blue); } .pill-radio input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pack-field[hidden] { display: none; }
.inline-note { font-size: 14px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .inline-note .link { font-size: 14px; }
.note-box { max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; gap: 12px; font-size: 14px; color: var(--muted); } .note-box p { margin: 0; } .note-box span { color: var(--blue); font-weight: 700; }
.pay-choices { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pay-card { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid #c9d0da; border-radius: 12px; cursor: pointer; }
.pay-card input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; } .pay-card > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; } .pay-card strong { font-size: 15px; }
.pay-card:has(input:checked) { border: 2px solid var(--blue); }
.pay-body { flex: 1; } .invoice-fields { display: none; margin-top: 10px; gap: 12px; } .pay-card:has(input:checked) .invoice-fields { display: grid; }
.code-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; max-width: 680px; }
.code-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.code-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .code-card code { font-size: 22px; letter-spacing: .08em; font-weight: 600; }
.next-steps { max-width: 680px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; } .next-steps h2 { font-size: 16px; margin: 0 0 10px; }
.next-steps ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
@media (max-width: 720px) { .signup .auth-side { flex-basis: 100%; padding: 28px 16px; } .signup-main { padding: 28px 16px; } .signup-head h1 { font-size: 24px; } }

/* ---------------------------------------------------------------- Free plan in the portal */
.pill.pro { background: #fff3d6; color: #7a5200; } .pill.premium { background: #ece6fb; color: #4b2fa6; }
.usage-bar { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; } .usage-bar .grow { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.usage-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .usage-line strong { font-size: 18px; }
.meter { height: 8px; background: #dfe4ea; border-radius: 4px; overflow: hidden; max-width: 520px; } .meter span { display: block; height: 100%; background: var(--blue); }
.meter.near span { background: var(--warn); } .meter.over span { background: var(--bad); }
.panel.locked .head { display: flex; justify-content: space-between; align-items: center; }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; } .choice { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; font-size: 14px; }
.choice.on { border: 2px solid var(--blue); font-weight: 600; } .choice.off { border: 1px dashed #c9d0da; color: #6b7280; }
.locked-list { list-style: none; margin: 0; padding: 0; } .locked-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #eef1f5; }
.lock-icon { color: #8a919c; display: inline-flex; }
.free-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.pack { position: relative; display: flex; } .pack input { position: absolute; opacity: 0; inset: 0; }
.pack > span, .pack.quote { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border: 1px solid #c9d0da; border-radius: 10px; cursor: pointer; text-decoration: none; color: var(--ink); background: #fff; }
.pack small { font-size: 12px; color: var(--muted); } .pack small.save { color: var(--ok); font-weight: 600; }
.pack input:checked + span { border: 2px solid var(--blue); background: #e8f0fb; } .pack input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.plan-card { position: relative; background: #fff; border: 1px solid #c9d0da; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.plan-card > input { position: absolute; top: 22px; right: 22px; width: 20px; height: 20px; }
.plan-card:has(input:checked) { border: 2px solid var(--blue); }
.plan-card .ribbon { position: absolute; top: -12px; left: 22px; padding: 2px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.plan-top { display: flex; flex-direction: column; gap: 2px; padding-right: 30px; } .plan-name { font-size: 22px; } .plan-price strong { font-size: 30px; }
.head.center-y { align-items: center; }
.settings-grid .stack > form { flex: none; }
@media (max-width: 720px) { .signup .auth-side { order: 2; } }

/* Terms of Service and Privacy Policy pages */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 24px; background: var(--navy); color: #fff; }
.legal-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; } .legal-brand span { display: flex; flex-direction: column; line-height: 1.2; } .legal-brand small { color: #c7d3e6; font-size: 12px; }
.product-mark { border-radius: 22%; box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.legal-brand .mark img { background: #fff; border-radius: 6px; }
.legal-top nav { display: flex; gap: 18px; font-size: 14px; } .legal-top nav a { color: #dbe3ef; }
.legal-main { width: 100%; max-width: 860px; margin: 0 auto; padding: 36px 20px 48px; box-sizing: border-box; }
.legal-main h1 { font-size: 32px; margin: 0 0 4px; }
.legal-body .table { overflow-x: auto; }
.legal-foot { margin-top: auto; padding: 18px 24px; font-size: 13px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); background: #fff; }
.legal-foot a { margin-left: 8px; }

/* help & support */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help-search { display: flex; gap: 10px; margin: 20px 0; max-width: 760px; } .help-search input { flex: 1; }
.help-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
@media (max-width: 1000px) { .help-grid { grid-template-columns: 1fr; } }
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; } .results p { margin: 4px 0 0; color: #3d434d; } .results mark { background: #fff1b8; padding: 0 2px; border-radius: 3px; }
.guide-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.guide-cards li { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.guide-cards a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); } .guide-cards a strong { color: var(--blue); }
.assistant .chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; }
.assistant .chat:empty { display: none; }
.bubble { max-width: 92%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; }
.bubble.user { align-self: flex-end; background: var(--blue); color: #fff; white-space: pre-wrap; border-bottom-right-radius: 4px; }
.bubble.assistant { align-self: flex-start; background: #f1f4f8; border-bottom-left-radius: 4px; } .bubble.assistant p:last-child, .bubble.assistant ol:last-child, .bubble.assistant ul:last-child { margin-bottom: 0; }
.bubble.assistant ol, .bubble.assistant ul { padding-left: 20px; margin: 0 0 8px; } .bubble.pending { color: var(--muted); font-style: italic; } .bubble.error { background: #fde8e6; color: #7a1f17; }
.bubble-actions { margin: 10px 0 0; }
.panel.assistant.locked { background: #fafbfc; }
.thread { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.msg.staff { border-left: 4px solid var(--navy); } .msg.internal { background: #fffaf0; border: 1px dashed #e7c27a; border-left: 4px solid var(--warn); }
.msg-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; } .msg-head .muted { margin-left: auto; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.files { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.files li { display: flex; flex-direction: column; gap: 4px; max-width: 220px; } .files img { display: block; max-width: 220px; max-height: 150px; border: 1px solid var(--line); border-radius: 8px; object-fit: cover; }
.attach-list { list-style: none; margin: 0; padding: 0; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .ticket-grid { grid-template-columns: 1fr; } }
.radios.two-up { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 0; }
form.narrow { max-width: 860px; }
tr.needs-reply td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
figure.shot { margin: 16px 0 20px; } figure.shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(16,24,40,.08); }
figure.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.subtabs a .muted { margin-left: 6px; font-weight: 400; }
.codes-pair { display: flex; flex-direction: column; gap: 10px; } .codes-pair .label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.codes-pair code.muted-code { color: #3d434d; }

/* Console: a customer's license limit (soft, enforced, or hard on their plan). */
.limit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, rgba(128,128,128,.25)); }
.limit-row p { margin: 0; flex: 1 1 320px; }
.limit-row form { flex: 0 0 auto; margin: 0; }
.limit-row .btn { width: auto; }

/* Console sidebar: what's deployed. */
.side-running { padding: 6px 12px 0; font-size: 12px; opacity: .85; line-height: 1.5; }
.side .side-legal a, .side .side-running a { display: inline; padding: 0; margin: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; }
.side-running code { font-size: 11.5px; background: none; color: inherit; padding: 0; }

/* The sandbox portal: a strip on every page (layout.mjs). */
.sandbox-strip { position: sticky; top: 0; z-index: 50; padding: 6px 16px; background: #ffd84d; color: #3a2c00; font-size: 13px; text-align: center; border-bottom: 1px solid #e0b800; }
.sandbox-strip a { color: inherit; text-decoration: underline; }
/* Service checklists (Setup by cloudIMPACT): one step per line, the tick button beside its words. */
.checklist { list-style: none; padding-left: 0; margin: 4px 0 12px; }
.checklist li { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.checklist form { display: inline-flex; margin: 0; }
.checklist .btn.small { min-width: 34px; justify-content: center; }
.service + .service { border-top: 1px solid var(--line); padding-top: 12px; }

/* Console → Plans: whether each plan and add-on matches Stripe. */
.stripe-status { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; cursor: default; font-weight: 600; }
.stripe-status svg { width: 18px; height: 18px; flex: none; }
.stripe-status.ok { color: var(--ok); } .stripe-status.bad { color: var(--bad); } .stripe-status.none, .stripe-status.free { color: var(--muted); }
.stripe-status .stripe-date { color: var(--muted); font-weight: 400; }
.stripe-error { display: block; color: var(--bad); font-size: 13px; margin-top: 2px; }

/* single sign-on */
.auth-stack { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.sso-org { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: #f6f9fe; font-size: 14px; } .sso-org .side-initial { flex: none; }
.sso-alt { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid #eef0f3; } .sso-alt strong { color: var(--ink); }
a.alt { text-decoration: none; }
.pill.ok-pill { background: #e6f4ea; color: #14532d; }
.panel.sso-locked { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; } .sso-locked > div { min-width: 0; display: flex; flex-direction: column; gap: 10px; } @media (max-width: 560px) { .panel.sso-locked { grid-template-columns: minmax(0, 1fr); } } .sso-locked p { margin: 0; }
.sso-lock { width: 44px; height: 44px; border-radius: 10px; background: #e8eefb; color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.sso-steps { list-style: none; counter-reset: sso; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.sso-steps > li { counter-increment: sso; display: flex; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid #eef0f3; } .sso-steps > li:first-child { border-top: 0; padding-top: 0; }
.sso-steps > li::before { content: counter(sso); width: 32px; height: 32px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.sso-steps > li > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; } .sso-steps p { margin: 0; }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .copy-row code { flex: 1 1 280px; min-width: 0; overflow-wrap: anywhere; padding: 10px 12px; border-radius: 10px; }
.sso-form { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; } .sso-form .grid2 { width: 100%; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sso-options { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eef0f3; } .sso-options.is-off { opacity: .6; } .sso-options .flash { margin: 8px 0; }
.sso-edit { margin-top: 14px; } .sso-edit[open] { display: flex; flex-direction: column; gap: 12px; } .sso-edit .field { margin-top: 12px; }
#sso .kv { margin: 12px 0; } #sso .kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; } #sso .btn-row form { margin: 0; }
form.inline-link { display: inline; margin-left: 6px; }
