/* EpsonConnect for AI — Epson blues on cool white, rounded cards. Same interaction patterns as Morning Sheet / MeDaily.
   (The --teal variables are the accent colour; here they are a bright Epson blue.) */
:root {
  --navy: #0B2D6B;   --navy-2: #143F8C;
  --slate: #3D5A87;  --slate-soft: #E8EEF8;
  --teal: #1C5BD0;   --teal-dark: #1449A8;  --teal-soft: #E6EEFC;
  --ink: #1F2633;    --muted: #667085;
  --line: #E1E6EE;   --line-2: #CBD3E0;
  --bg: #F4F6FA;     --card: #FFFFFF;
  --ok: #1E7A55;     --ok-soft: #E2F3EA;
  --bad: #B83A30;    --bad-soft: #FAE8E5;
  --amber: #B7791F;  --amber-soft: #FBF1DE;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 12px; --r-s: 8px;
  --shadow: 0 1px 2px rgba(11, 45, 107, .05), 0 6px 20px rgba(11, 45, 107, .07);
  --tabbar-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg); }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy); }
h1 { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
a { color: var(--teal-dark); }
img { display: block; max-width: 100%; }
code { font: 13px ui-monospace, Menlo, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.icon { flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grow { flex: 1; min-width: 0; }
.nowrap { white-space: nowrap; }
.ok-text { color: var(--ok); font-weight: 600; }
.bad-text { color: var(--bad); font-weight: 600; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.hint { font-size: 13px; color: var(--muted); }
.hint a { font-weight: 600; }
.mt { margin-top: 14px; }
.mt-s { margin-top: 8px; }
.mt-l { margin-top: 22px; }
[hidden] { display: none !important; }

/* ---------- Top bar + tabs ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; }
.topbar-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 0 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { height: 38px; width: auto; background: #fff; border-radius: 10px; padding: 3px 5px; }
.brand b { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.tabs { display: flex; height: 100%; gap: 2px; }
.tab { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 100%; text-decoration: none; font-weight: 600; font-size: 14.5px; color: #B8C7E4; position: relative; }
.tab:hover { color: #fff; }
.tab.is-active { color: #fff; }
.tab.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #7FB2FF; }
.tab .badge { min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; text-align: center; background: var(--bad); color: #fff; font-weight: 700; border-radius: 9px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.whoami { font-size: 13px; color: #B8C7E4; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: #fff; }
.logout-btn:hover { border-color: #fff; }

@media (max-width: 820px) {
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .topbar-in { height: 58px; gap: 12px; padding: 0 14px; }
  .brand img { height: 32px; }
  .brand b { font-size: 18px; }
  .whoami { display: none; }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
          padding-bottom: env(safe-area-inset-bottom); background: var(--card); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .tab { flex-direction: column; justify-content: center; gap: 3px; padding: 0; font-size: 11px; color: var(--muted); }
  .tab.is-active { color: var(--teal-dark); }
  .tab.is-active::after { top: 0; bottom: auto; border-radius: 0 0 3px 3px; background: var(--teal); }
}

/* ---------- Page ---------- */
.page { max-width: 1120px; margin: 0 auto; padding: 26px 20px 44px; display: grid; gap: 18px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head p { color: var(--muted); margin-top: 4px; max-width: 640px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.grid-main { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; align-items: start; }
.grid-side { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .grid-2, .grid-main, .grid-side { grid-template-columns: 1fr; } .page { padding: 16px 14px 32px; gap: 14px; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { display: flex; align-items: center; gap: 8px; }
.card-head h2 .icon { color: var(--teal); }
.card.attention { border-left: 4px solid var(--bad); }
.section-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; font: inherit; font-weight: 650;
       font-size: 14px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--navy-2); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-teal { background: var(--teal); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-secondary { background: var(--card); color: var(--navy); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--slate-soft); border-color: var(--slate); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { background: var(--slate-soft); color: var(--navy); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger:hover { background: #962C24; }
.btn-small { min-height: 34px; padding: 0 13px; font-size: 13px; }
.btn-xl { min-height: 50px; font-size: 15.5px; padding: 0 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-row form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--slate); cursor: pointer; }
.icon-btn:hover { border-color: var(--slate); color: var(--navy); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.chip-btn { font: inherit; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--slate); cursor: pointer; }
.chip-btn:hover { border-color: var(--slate); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field-label { font-weight: 650; font-size: 13.5px; color: var(--navy); }
.input, select.input, textarea.input { width: 100%; min-height: 42px; padding: 9px 12px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-s); }
.input:focus, select:focus, textarea:focus { outline: 3px solid rgba(28, 91, 208, .22); outline-offset: 0; border-color: var(--teal); }
select { font: inherit; min-height: 36px; padding: 4px 8px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: #fff; }
.input[type=time] { width: auto; min-width: 140px; }
.pw-wrap { display: flex; gap: 6px; align-items: center; }
.field-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.field-row:first-child { border-top: 0; padding-top: 0; }
.field-row b { display: block; font-size: 14px; }
.field-row small { display: block; font-size: 13px; color: var(--muted); }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form .input { width: auto; flex: 1; min-width: 150px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.switch { position: relative; display: inline-block; vertical-align: middle; flex: none; width: 48px; height: 28px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid rgba(28, 91, 208, .3); outline-offset: 2px; }

.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days label { position: relative; }
.days input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.days span { display: grid; place-items: center; width: 50px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-s); font-weight: 700; font-size: 13px; background: #fff; color: var(--slate); }
.days input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.days input:focus-visible + span { outline: 3px solid rgba(28, 91, 208, .3); }
.radio-list { display: grid; gap: 8px; }
.radio-list label { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; background: #fff; }
.radio-list label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.radio-list input { margin-top: 4px; accent-color: var(--teal); }
.radio-list small { display: block; color: var(--muted); font-size: 12.5px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: #fff; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.seg input:checked + span { background: var(--navy); color: #fff; }

/* ---------- Pills, banners, toasts ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { color: var(--ok); background: var(--ok-soft); border-color: #B6DEC9; }
.pill-bad { color: var(--bad); background: var(--bad-soft); border-color: #EFC0BA; }
.pill-info { color: var(--slate); background: var(--slate-soft); border-color: #C6D3E4; }
.pill-muted { color: var(--muted); background: var(--bg); border-color: var(--line-2); }
.pill-amber { color: #8A5A10; background: var(--amber-soft); border-color: #EBD3A6; }
.pill-teal { color: var(--teal-dark); background: var(--teal-soft); border-color: #C3D5F7; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; background: var(--amber-soft);
          border: 1px solid #EBD3A6; border-radius: var(--r-s); font-weight: 600; font-size: 14px; }
.banner.bad { background: var(--bad-soft); border-color: #EFC0BA; }
.banner.info { background: var(--slate-soft); border-color: #C6D3E4; }
.toasts { position: fixed; top: 78px; left: 50%; transform: translateX(-50%); z-index: 50; display: grid; gap: 8px; width: min(540px, calc(100% - 28px)); }
.toast { padding: 13px 18px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; border-radius: var(--r-s); border-left: 5px solid #7FB2FF;
         box-shadow: 0 10px 28px rgba(11, 45, 107, .25); transition: opacity .4s, transform .4s; }
.toast-error { border-left-color: #F08A7E; }
.toast-info { border-left-color: #9AB0CC; }
.toast.is-gone { opacity: 0; transform: translateY(-8px); }

/* ---------- Lists + tables ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; padding-top: 0; }
.list-item b { display: block; }
.table-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); padding: 8px 10px; border-bottom: 2px solid var(--navy); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td small { display: block; color: var(--muted); font-size: 12px; }
.table tr:last-child td { border-bottom: 0; }
.table.log td { font: 12.5px ui-monospace, Menlo, Consolas, monospace; padding: 5px 8px; }
.lvl-error { color: var(--bad); font-weight: 700; }
.lvl-warn { color: var(--amber); font-weight: 700; }
.thumb-mini { width: 54px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; }

/* ---------- Printers ---------- */
.device { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.device + .device { margin-top: 10px; }
.device.is-default { border-color: var(--teal); box-shadow: inset 4px 0 0 var(--teal); }
.device-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--slate-soft); color: var(--slate); flex: none; }
.device h3 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.callout { padding: 14px 16px; border-radius: var(--r-s); background: var(--slate-soft); font-size: 14px; }
.callout b { color: var(--navy); }
.callout.teal { background: var(--teal-soft); }
/* ---------- Auth ---------- */
.auth-body { min-height: 100vh; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--card); }
.auth-art { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, #1E56B8 100%); color: #fff; padding: 46px 56px; display: flex; flex-direction: column; gap: 30px; }
.auth-art::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 178, 255, .25), transparent 65%); }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-brand img { height: 52px; background: #fff; border-radius: 12px; padding: 4px 6px; }
.auth-brand b { font-family: var(--serif); font-size: 26px; }
.auth-art-body { flex: 1; display: grid; grid-template-columns: 1fr 270px; gap: 40px; align-items: center; position: relative; z-index: 1; }
.auth-art h2 { font-family: var(--serif); color: #fff; font-size: 46px; font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
.auth-art h2 em { font-style: italic; color: #A9C8FF; }
.auth-art p { color: #C9D6EE; font-size: 16px; margin-top: 18px; max-width: 440px; }
.auth-art ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; color: #E4EAF3; font-size: 15px; }
.auth-art li { display: flex; gap: 12px; align-items: center; }
.auth-art li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7FB2FF; flex: none; }
.paper-stack { position: relative; width: 270px; aspect-ratio: 8.5 / 11; }
.sheet { position: absolute; width: 100%; height: auto; background: #fff; border-radius: 3px; box-shadow: 0 22px 46px rgba(0, 0, 0, .45); }
.sheet-back { transform: translate(28px, -22px) rotate(4deg); opacity: .6; }
.sheet-front { transform: rotate(-2.5deg); }
.paper-tag { position: absolute; left: -20px; bottom: 28px; background: #fff; color: var(--navy); font-weight: 800; font-size: 12px; letter-spacing: .06em;
             text-transform: uppercase; padding: 8px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.auth-art .powered { display: flex; align-items: center; gap: 10px; color: #A3B5D6; font-size: 13px; position: relative; z-index: 1; }
.auth-art .powered img { height: 22px; background: #fff; padding: 3px 6px; border-radius: 4px; }
.auth { display: grid; place-items: center; padding: 40px 24px; background: var(--bg); }
.auth-card { width: min(430px, 100%); }
.auth-card .card { padding: 32px; }
.auth-card h1 { margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 20px; }
.auth-logo-m { display: none; width: 170px; margin: 0 auto 20px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.auth-switch a { font-weight: 700; }
@media (max-width: 1100px) { .auth-art-body { grid-template-columns: 1fr; } .paper-stack { display: none; } }
@media (max-width: 860px) { .auth-body { grid-template-columns: 1fr; } .auth-art { display: none; } .auth { align-items: start; padding-top: 40px; } .auth-logo-m { display: block; } }

/* ---------- Error page, footer, modal ---------- */
.error-body { min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding: 24px; }
.error-card { width: min(460px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; text-align: center; display: grid; gap: 12px; justify-items: center; box-shadow: var(--shadow); }
.error-logo { width: 160px; height: auto; margin-bottom: 8px; }
.error-card p { color: var(--muted); }
.footer { max-width: 1120px; margin: 0 auto; padding: 8px 20px 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 12.5px; }
.footer .powered { display: inline-flex; align-items: center; gap: 6px; }
.footer .powered img { height: 14px; }
.modal { border: 0; padding: 0; border-radius: var(--r); width: min(460px, calc(100% - 28px)); box-shadow: 0 24px 60px rgba(11, 45, 107, .3); }
.modal::backdrop { background: rgba(11, 45, 107, .5); }
.modal form { padding: 24px; display: grid; gap: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

/* ---------- Admin ---------- */
.admin-top { background: var(--navy); color: #fff; }
.admin-top .topbar-in { height: 60px; }
.admin-top h1 { font-family: var(--font); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #A9C8FF; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); }
.admin-nav { background: var(--card); border-bottom: 1px solid var(--line); }
.admin-nav .topbar-in { height: 50px; gap: 2px; overflow-x: auto; }
.admin-nav a { display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 14px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted);
               border-bottom: 3px solid transparent; white-space: nowrap; }
.admin-nav a.is-active { color: var(--navy); border-bottom-color: var(--teal); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.stat b { display: block; font-family: var(--serif); font-size: 30px; color: var(--navy); }
.stat span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 170px; padding-top: 10px; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.bar i { display: block; background: var(--teal); min-height: 1px; border-radius: 3px 3px 0 0; }
.bar i.fail { background: var(--bad); border-radius: 0; }
.bar span { font-size: 10px; color: var(--muted); text-align: center; margin-top: 4px; white-space: nowrap; overflow: hidden; }
.bar em { font-style: normal; font-size: 11px; font-weight: 700; text-align: center; }
.filter-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.filter-row a { padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--slate); }
.filter-row a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.user-tools summary { cursor: pointer; font-weight: 700; font-size: 13px; list-style: none; padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; display: inline-block; }
.user-tools[open] summary { background: var(--navy); color: #fff; }
.user-tools > div { display: grid; gap: 6px; margin-top: 8px; min-width: 180px; }
.temp-pw { display: inline-block; margin-top: 6px; padding: 4px 8px; background: var(--amber-soft); border: 1px solid #EBD3A6; border-radius: 6px; font: 13px ui-monospace, Menlo, monospace; font-weight: 700; }

/* ---------- EpsonConnect for AI ---------- */
h1 { letter-spacing: -.02em; }
.brand img { height: 36px; padding: 4px; }
.brand b { font-weight: 800; letter-spacing: -.02em; }
.brand b span { font-weight: 500; opacity: .75; }
.auth-brand b span { font-weight: 500; opacity: .75; }
.auth-art h2 { font-weight: 800; }
.copy-field { display: flex; gap: 8px; align-items: stretch; }
.copy-field code, .copy-field .input { flex: 1; display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font: 600 14px var(--mono); background: var(--teal-soft);
  border: 1px solid #C3D5F7; border-radius: var(--r-s); color: var(--navy); word-break: break-all; }
.copy-field.big code { font-size: 16px; }
pre.snippet { margin: 8px 0 0; padding: 12px 14px; font: 12.5px/1.5 var(--mono); background: #0F1E3A; color: #DCE6F8; border-radius: var(--r-s); overflow-x: auto; white-space: pre; }
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 16px; }
.client { display: flex; flex-direction: column; gap: 10px; }
.client-head { display: flex; align-items: center; gap: 12px; }
.client-logo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #fff; font-weight: 800; font-size: 17px; flex: none; }
.client-logo.claude { background: #D97757; } .client-logo.chatgpt { background: #10A37F; } .client-logo.code { background: #2B2D31; } .client-logo.other { background: var(--slate); }
.client ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.client ol b { color: var(--navy); }
.say { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.say li { padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--teal-soft); color: var(--navy); font-weight: 600; font-size: 14px; width: fit-content; max-width: 100%; }
.hero-ai { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1E56B8 100%); color: #fff; border-radius: 18px;
  padding: 26px 30px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.hero-ai::after { content: ""; position: absolute; right: -60px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 178, 255, .35), transparent 65%); }
.hero-ai h1 { color: #fff; } .hero-ai p { color: #C9D6EE; max-width: 720px; position: relative; z-index: 1; }
.hero-ai .copy-field { position: relative; z-index: 1; max-width: 640px; }
.hero-ai .copy-field code { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.hero-ai .btn-secondary { background: #fff; }
.steps-line { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.steps-line span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 600; }
.steps-line span.done { background: rgba(139, 227, 195, .18); border-color: rgba(139, 227, 195, .5); }
.steps-line i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--navy); font-style: normal; font-size: 11px; font-weight: 800; }
.device.is-named { border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.label-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.label-form .input { width: 200px; min-height: 38px; }
.label-ideas { display: flex; gap: 6px; flex-wrap: wrap; }
.device h3 .big-label { font-size: 18px; }
.status { font-weight: 700; font-size: 12.5px; }
.consent-app { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); margin-bottom: 16px; }
.consent-app .client-logo { width: 48px; height: 48px; }
.consent-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.consent-list li { display: flex; gap: 10px; align-items: flex-start; }
.consent-list .icon { color: var(--ok); margin-top: 1px; }
.consent-list li.no .icon { color: var(--bad); }
.secret-box { padding: 14px; border-radius: var(--r-s); background: var(--amber-soft); border: 1px solid #EBD3A6; display: grid; gap: 8px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 16px; }
.check-row input { margin-top: 3px; accent-color: var(--teal); }
