@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #16183a;
  --deep: #17165a;
  --deeper: #0d0f30;
  --indigo: #4b43c9;
  --indigo-2: #4b43c9;
  --indigo-soft: #eceafd;
  --orange: #f05a3c;
  --orange-dark: #d9472b;
  --bg: #f6f6fb;
  --card: #ffffff;
  --line: #e6e5f0;
  --line-2: #d9d6f5;
  --muted: #55597a;
  --muted-2: #6b6f88;
  --green: #1f8a5b;
  --green-soft: #e3f5ec;
  --amber: #a86500;
  --amber-soft: #fff3dc;
  --red: #c2341b;
  --red-soft: #fdebe7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 24, 58, 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--indigo); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(75, 67, 201, 0.35); outline-offset: 2px; }

/* ── Shell ─────────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--deeper) 264px, var(--bg) 264px); }
.side {
  background: linear-gradient(170deg, var(--deep), var(--deeper));
  color: #fff;
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
.side > * { flex-shrink: 0; }
.side::-webkit-scrollbar { width: 8px; }
.side::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 8px; }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 10px; color: #fff; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.logo-dark { background: var(--deep); border-radius: 50%; padding: 8px; }
.brand b { display: block; font-size: 16px; letter-spacing: 0.01em; }
.brand span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.org { background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.org b { display: block; color: #fff; font-size: 15px; margin-top: 2px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255, 255, 255, 0.82); text-decoration: none;
  padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 15px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav a.on { background: #fff; color: var(--deep); }
.nav svg { width: 20px; height: 20px; flex: none; }
.side-foot { margin-top: auto; font-size: 13px; color: rgba(255, 255, 255, 0.7); padding: 0 8px; }
.side-foot a { color: #fff; }
.side-foot form button { background: none; border: 0; color: rgba(255, 255, 255, 0.75); padding: 0; cursor: pointer; text-decoration: underline; }

.main { min-width: 0; }
.top { display: none; }
.content { max-width: 1120px; margin: 0 auto; padding: 34px 32px 60px; }
.demo-bar { background: var(--amber-soft); color: #6b4300; font-size: 14px; text-align: center; padding: 8px 16px; font-weight: 600; }

/* ── Page header ───────────────────────────────────────── */
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.ph p { color: var(--muted); margin-top: 6px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); margin-bottom: 6px; }

/* ── Cards & grids ─────────────────────────────────────── */
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.grid > .card + .card, .stack > .card + .card { margin-top: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-h a { font-size: 14px; font-weight: 600; text-decoration: none; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: 1fr 1fr; }
.g21 { grid-template-columns: 1.55fr 1fr; align-items: start; }
.stack { display: grid; gap: 16px; }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .val { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.stat .sub { font-size: 13px; color: var(--muted-2); }
.stat .act { margin-top: 10px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px; padding: 11px 20px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(240, 90, 60, 0.22);
}
.btn:hover { background: var(--orange-dark); }
.btn.sm { padding: 8px 14px; font-size: 14px; box-shadow: none; }
.btn.line { background: #fff; color: var(--indigo); border: 1.5px solid var(--line-2); box-shadow: none; }
.btn.line:hover { border-color: var(--indigo-2); background: #fff; }
.btn.ghost { background: transparent; color: var(--indigo); box-shadow: none; padding-left: 0; padding-right: 0; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ── Badges ────────────────────────────────────────────── */
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.b-green { background: var(--green-soft); color: var(--green); }
.b-amber { background: var(--amber-soft); color: var(--amber); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-indigo { background: var(--indigo-soft); color: var(--indigo); }
.b-gray { background: #eef0f4; color: #4a4f68; }

/* ── Tables / lists ────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); font-weight: 700; padding: 0 12px 10px; }
.table td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.table td.r, .table th.r { text-align: right; }
.table .t { font-weight: 600; }
.table .s { font-size: 13px; color: var(--muted-2); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .t { font-weight: 600; overflow-wrap: anywhere; }
.list .s { font-size: 13px; color: var(--muted-2); }
.ficon { width: 40px; height: 40px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 800; }

/* ── Progress ──────────────────────────────────────────── */
.bar { height: 8px; background: #ebeaf6; border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--indigo); border-radius: 99px; }
.bar.done > span { background: var(--green); }

/* ── Projects ──────────────────────────────────────────── */
.proj-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.proj-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 12px 0; }
.status-note { background: var(--bg); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: #33365a; margin: 14px 0; }
.status-note b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 4px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; font-size: 12px; color: #fff; }
.dot.ok { background: var(--green); border-color: var(--green); }
.timeline .when { margin-left: auto; font-size: 13px; color: var(--muted-2); white-space: nowrap; }

/* ── Chips ─────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--indigo-soft); color: var(--indigo); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 600; }

/* ── Forms ─────────────────────────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.field small { color: var(--muted-2); font-weight: 500; }
.input, .textarea, .select {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
  font: inherit; color: var(--navy); background: #fff;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(75, 67, 201, 0.15); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 600; background: #fff; }
.seg input:checked + span { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(75, 67, 201, 0.3); }
.notice { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.notice.ok { background: var(--green-soft); color: #155c3d; }
.notice.err { background: var(--red-soft); color: #8a2a14; }
.notice.info { background: var(--indigo-soft); color: #2f2a8a; }

/* ── Empty states ──────────────────────────────────────── */
.empty { text-align: center; padding: 30px 16px; color: var(--muted); }
.empty b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; }

/* ── Help card ─────────────────────────────────────────── */
.help { background: linear-gradient(160deg, var(--deep), var(--deeper)); color: #fff; border: 0; }
.help p { color: rgba(255, 255, 255, 0.82); font-size: 15px; margin: 6px 0 16px; }
.help .who { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.help .avatar { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); display: grid; place-items: center; font-weight: 800; }
.help .row { display: flex; flex-wrap: wrap; gap: 10px; }
.help .btn.line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }

/* ── Login ─────────────────────────────────────────────── */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: linear-gradient(160deg, var(--deep), var(--deeper)); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art h2 { font-size: 32px; font-weight: 800; max-width: 420px; }
.auth-art p { color: rgba(255, 255, 255, 0.8); max-width: 420px; margin-top: 12px; }
.auth-art ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.auth-art li::before { content: '✓'; color: #b9b4ff; font-weight: 800; margin-right: 10px; }
.auth-form { display: grid; place-items: center; padding: 40px 20px; background: #fff; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 28px; margin-bottom: 8px; }
.auth-box > p { color: var(--muted); margin-bottom: 24px; }
.auth-box .btn { width: 100%; }
.fine { font-size: 13px; color: var(--muted-2); margin-top: 18px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: 1fr 1fr; }
  .g21 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; background: var(--bg); }
  .side { display: none; }
  .side.open { display: flex; position: fixed; inset: 0; z-index: 50; height: auto; overflow-y: auto; }
  .top {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: linear-gradient(170deg, var(--deep), var(--deeper)); color: #fff;
    padding: 12px 16px; position: sticky; top: 0; z-index: 40;
  }
  .top .brand { padding: 0; }
  .top .brand img { width: 36px; height: 36px; }
  .menu-btn { background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
  .close-btn { align-self: flex-end; }
  .content { padding: 22px 16px 48px; }
  h1 { font-size: 25px; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 640px) {
  .g4, .g2 { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-top: 1px solid var(--line); padding: 12px 0; }
  .table td { border: 0; padding: 3px 0; }
  .table td.r { text-align: left; }
  .hide-sm { display: none !important; }
  .m-lbl { display: inline !important; color: var(--muted-2); }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.drop { border: 2px dashed var(--line-2); border-radius: 16px; padding: 26px 18px; text-align: center; background: #fbfbff; }
.drop.over { border-color: var(--indigo); background: var(--indigo-soft); }
.drop p { color: var(--muted); margin: 6px 0 14px; font-size: 15px; }
.linkbtn { background: none; border: 0; color: var(--red); cursor: pointer; font-weight: 600; padding: 0; font-size: 14px; }

.m-lbl { display: none; }

/* WordPress version additions */
.inline-form { display: inline; margin: 0; }
.drop input[type=file] { display: block; margin: 0 auto 14px; font: inherit; max-width: 100%; }
.drop .js-only { display: none; }
.has-js .drop .js-only { display: inline-flex; }
.has-js .drop input[type=file].enhanced { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-list { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.wrap-error { min-height: 100vh; }

.side .close-btn { display: none; }
.side.open .close-btn { display: block; }

/* ── v1.3: documentation, guides, report, tickets ─────────── */
.alert-bar { background: var(--indigo-soft); color: #2f2a8a; padding: 12px 24px; font-size: 15px; }
.alert-bar.warn { background: #fff4d6; color: #7a5200; }
.sec-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sec-nav a { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--indigo); }
.sec-nav a span { color: var(--muted-2); font-weight: 500; margin-left: 4px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list > li { border-top: 1px solid var(--line); padding: 12px 0; }
.doc-list > li:first-child { border-top: 0; padding-top: 0; }
.doc-row { display: flex; gap: 14px; align-items: center; }
.doc-row .grow { flex: 1; min-width: 0; }
.doc-row .t { font-weight: 600; overflow-wrap: anywhere; }
.doc-row .s { font-size: 13px; color: var(--muted-2); overflow-wrap: anywhere; }
.doc-list details { margin-top: 8px; }
.doc-list summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--indigo); }
.kv { display: grid; grid-template-columns: minmax(120px, 32%) 1fr; gap: 6px 14px; font-size: 14px; margin-top: 10px; }
.kv dt { color: var(--muted-2); }
.kv dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.kv .staff-only { color: #8a5a00; }
.guide { border-top: 1px solid var(--line); padding: 14px 0; }
.guide:first-of-type { border-top: 0; padding-top: 0; }
.guide summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: '+'; float: right; color: var(--indigo); font-weight: 800; }
.guide[open] summary::after { content: '–'; }
.guide .gs { font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.guide .body { margin-top: 12px; color: #33365a; font-size: 15px; }
.guide .body p, .guide .body ul, .guide .body ol { margin: 0 0 10px; }
.thread { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.msg { border-radius: 14px; padding: 12px 14px; background: var(--bg); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.msg.staff { background: var(--indigo-soft); }
.msg .who { font-size: 12px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; white-space: normal; }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check li.done { color: var(--muted-2); text-decoration: line-through; }
.health { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.health > div { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.health .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); font-weight: 700; display: block; margin-bottom: 6px; }
.health p { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fgrid .wide { grid-column: 1 / -1; }
.field .help { font-size: 12px; color: var(--muted-2); font-weight: 500; background: none; border: 0; }
.stars { display: flex; gap: 6px; }
@media (max-width: 640px) { .health, .fgrid { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; } .kv dt { margin-top: 6px; } }
@media print { .side, .top, .alert-bar, .no-print { display: none !important; } .shell { display: block; } .content { padding: 0; } .card { box-shadow: none; break-inside: avoid; } }
.attachments { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.att-h { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 8px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.thumbs img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }
.att { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.att li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.att li a { font-weight: 600; overflow-wrap: anywhere; }
.att .ficon { width: 30px; height: 30px; font-size: 9px; }
.attach-form label { cursor: pointer; position: relative; overflow: hidden; }
.attach-form input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.clip { font-size: 12px; color: var(--muted-2); white-space: nowrap; }

/* In-page viewer */
.viewer-open, .viewer-open body { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(16, 17, 40, 0.97); }
.viewer-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #16183a; color: #fff; }
.viewer-title { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.viewer-info { font-size: 13px; color: #c9c8e8; margin-right: 4px; }
.viewer-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; min-width: 36px; justify-content: center; padding: 0 12px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.25); background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.viewer-btn:hover, .viewer-btn:focus-visible { background: rgba(255,255,255,0.12); outline: none; border-color: #fff; }
.viewer-close { background: #fff; color: #16183a; border-color: #fff; }
.viewer-close:hover, .viewer-close:focus-visible { background: #e9e8ff; color: #16183a; }
.viewer-body { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; justify-content: center; align-items: flex-start; padding: 16px; }
.viewer-image .viewer-body { align-items: center; cursor: zoom-out; }
.viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.4); cursor: default; background: #fff; }
.viewer-pdf .viewer-body { display: block; }
.viewer-pages { min-width: 100%; width: max-content; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.viewer-page { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.35); max-width: none; flex-shrink: 0; }
.viewer-page canvas { display: block; }
.viewer-msg { color: #fff; text-align: center; margin: auto; padding: 40px 16px; }
.viewer-msg p { margin-bottom: 14px; }
@media (max-width: 600px) {
  .viewer-bar { flex-wrap: wrap; padding: 8px 10px; }
  .viewer-title { flex-basis: 100%; }
  .viewer-tools { width: 100%; justify-content: flex-end; }
  .viewer-body { padding: 8px; }
}

/* Staff view / client preview bar */
.staff-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 10px 28px; background: #eceafd; border-bottom: 1.5px solid var(--line-2); font-size: 14px; color: #16183a; }
.staff-bar form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.staff-bar .select.sm { min-height: 34px; padding: 4px 30px 4px 10px; font-size: 14px; width: auto; }
.staff-bar.preview { background: #fff4d6; border-bottom-color: #f0d68a; }
@media (max-width: 600px) { .staff-bar { padding: 10px 16px; } }

/* Record pages and links between records */
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badges:empty { display: none; }
a.rec-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(75, 67, 201, 0.35); text-underline-offset: 3px; }
a.rec-link:hover, a.rec-link:focus-visible { color: var(--indigo); text-decoration-color: currentColor; }
.rel-list .t a { font-weight: 600; }
.rel-form { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line, #e6e8f0); }
.rel-form label { font-size: 14px; font-weight: 600; }
.rel-form .btn { justify-self: start; }
@media (max-width: 900px) { .record.g21 { grid-template-columns: 1fr; } }
.record .att-h { display: none; }

/* 1.9: groups, score, flags, search, roadmap */
.group-h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin: 6px 0 10px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.add-grid { margin-bottom: 22px; }
.add-card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.add-card:hover, .add-card:focus-visible { border-color: var(--indigo); transform: translateY(-1px); }
.add-card .s { margin-top: 4px; }
.score-card .score-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.score-num { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.score-num small { font-size: 18px; font-weight: 700; }
.score-num.good { color: var(--green); } .score-num.mid { color: var(--amber); } .score-num.low { color: var(--red); }
.score-bar { flex: 1; height: 10px; border-radius: 99px; background: var(--indigo-soft); overflow: hidden; }
.score-bar span { display: block; height: 100%; border-radius: 99px; }
.score-bar .good { background: var(--green); } .score-bar .mid { background: #e0a030; } .score-bar .low { background: var(--red); }
.gaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gaps li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--navy); padding-left: 16px; position: relative; }
.gaps li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.gaps a { font-weight: 600; text-decoration: none; white-space: nowrap; font-size: 13px; }
.more-gaps { margin-top: 10px; } .more-gaps summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--indigo); margin-bottom: 8px; }
.flag-card { border-left: 4px solid var(--orange); }
.flag-dot { display: inline-block; font-size: 11px; font-weight: 700; color: var(--amber); background: var(--amber-soft); border-radius: 99px; padding: 2px 8px; vertical-align: 2px; }
.notice.warn { background: var(--amber-soft); color: #6b4300; }
.flag-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.side-search { margin: 0 0 14px; }
.side-search input { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; padding: 10px 12px; font: inherit; font-size: 14px; }
.side-search input::placeholder { color: rgba(255,255,255,.6); }
.side-search input:focus { outline: none; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
.search-big { display: flex; gap: 10px; margin-bottom: 18px; max-width: 720px; }
.recs { display: grid; gap: 14px; }
.rec { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.rec-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 4px; }
.rec h3 { font-size: 17px; }
.rec p { margin-top: 8px; font-size: 15px; }
.rec details summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--indigo); margin-top: 10px; }
.rec-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rec-actions:empty { display: none; }
.card-h .count { font-size: 13px; color: var(--muted-2); font-weight: 600; margin-left: 4px; }
.mini-h { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin: 16px 0 6px; }
.ticks, .bul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; }
.staff-only { color: #8a5a00; }
.history .t { font-weight: 500; font-size: 15px; }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .g3 { grid-template-columns: 1fr; } .search-big { flex-direction: column; } }
.stack > *, .grid > * { min-width: 0; }
@media (max-width: 560px) { .doc-row { flex-wrap: wrap; } .doc-row .grow { flex-basis: 100%; } }

/* 2.0: tables, budget, board summary, labels, forms */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); font-weight: 700; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl .num { text-align: right; white-space: nowrap; padding-right: 0; }
.tbl tr.total td { font-weight: 700; border-bottom: 0; }
.tbl td .s { font-size: 12px; color: var(--muted-2); }
.board h2 { font-size: 18px; margin-bottom: 12px; }
.board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.board-head h1 { font-size: 30px; }
.board-stats { margin-bottom: 16px; }
.label-opts { display: grid; gap: 12px; margin-bottom: 20px; }
.label-opts fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; }
.label-opts legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.label-opts label { font-size: 14px; display: flex; gap: 6px; align-items: center; }
.labels { display: grid; background: #fff; }
.labels.small { grid-template-columns: repeat(3, 2.625in); column-gap: .125in; grid-auto-rows: 1in; }
.labels.large { grid-template-columns: repeat(2, 4in); column-gap: .1875in; grid-auto-rows: 2in; }
.label { display: flex; align-items: center; gap: .08in; padding: .06in .1in; overflow: hidden; box-sizing: border-box; outline: 1px dashed #d8d8e4; font-family: Arial, Helvetica, sans-serif; color: #000; }
.label .qr { flex: none; }
.labels.small .qr { width: .86in; height: .86in; } .labels.large .qr { width: 1.7in; height: 1.7in; }
.label .qr svg { width: 100%; height: 100%; display: block; }
.label .lt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.label .lt b { font-size: 10pt; overflow-wrap: anywhere; } .labels.large .lt b { font-size: 15pt; }
.label .lt span { font-size: 6.5pt; color: #333; } .labels.large .lt span { font-size: 9pt; margin-top: 3px; }
.label .lt .lhelp { margin-top: 2px; }
.req-form { display: grid; gap: 10px; }
.req-form label { font-size: 14px; font-weight: 600; }
.req-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.checks label { font-weight: 400; display: flex; gap: 6px; align-items: center; }
.svc { display: grid; gap: 12px; }
.svc-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.svc-item h3 { font-size: 16px; }
.svc-item .price { font-weight: 700; color: var(--indigo); font-size: 14px; margin-top: 2px; }
.svc-item details summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--indigo); margin-top: 8px; }
.copy-row { display: flex; gap: 8px; } .copy-row input { flex: 1; min-width: 0; font-size: 13px; }
.report-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--indigo-soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .req-form .row2 { grid-template-columns: 1fr; } .labels { overflow-x: auto; } }
@media print {
	.staff-bar, .demo-bar, .flash, .notice { display: none !important; }
	body { background: #fff; }
	.board .card { border: 1px solid #ccc; padding: 14px; }
	body.labels-page .content { padding: 0; margin: 0; max-width: none; }
	.label { outline: 0; }
	.labels.small { padding: .5in 0 0 .1875in; }
	.labels.large { padding: .5in 0 0 .156in; }
}
@page { margin: .4in; }
.gap-act { display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.gap-act .linkbtn { font-size: 13px; font-weight: 600; }

/* Bill analyzer */
.ai-card .ai-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.ai-card .ai-check input { margin-top: 3px; }
.err-msg { color: var(--red); font-size: 14px; margin: 0; min-height: 0; }
.ai-progress { text-align: center; padding: 30px 10px; }
.ai-progress[hidden], [data-ai-form][hidden] { display: none; }
.ai-progress p { font-size: 18px; font-weight: 700; margin: 16px 0 4px; }
.ai-progress small { color: var(--muted-2); }
.ai-spinner { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--indigo); margin: 0 auto; animation: aispin 1s linear infinite; }
@keyframes aispin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ai-spinner { animation-duration: 3s; } }
.bill-sum { display: flex; gap: 12px; align-items: center; cursor: pointer; list-style: none; }
.bill-sum::-webkit-details-marker { display: none; }
.bill-sum .grow { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bill-sum .s { font-size: 13px; color: var(--muted-2); }
.bill-card details[open] .bill-sum { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ai-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; }
.ai-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin: 0 0 4px; }
.ai-head h3 { margin: 0 0 8px; font-size: 22px; }
.ai-head h3 span { font-size: 14px; font-weight: 500; color: var(--muted-2); }
.ai-head p { font-size: 15px; }
.ai-save { background: linear-gradient(160deg, var(--deep), var(--deeper)); border-radius: 16px; padding: 18px 20px; color: #fff; text-align: center; }
.ai-save small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9b4ff; }
.ai-save b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 4px 0; }
.ai-save span { font-size: 13px; color: rgba(255,255,255,.8); }
.ai-disclaimer { background: var(--amber-soft); border-radius: 12px; padding: 12px 14px; color: #5c3d00; font-size: 14px; margin: 16px 0 4px; }
.ai-verified { background: var(--green-soft); border-radius: 12px; padding: 14px 16px; color: #155c3d; margin: 16px 0 4px; font-size: 15px; }
.ai-verified .v { font-size: 18px; font-weight: 800; margin: 4px 0; }
.ai-result h4 { font-size: 16px; font-weight: 800; margin: 22px 0 10px; }
.ai-findings { display: grid; gap: 10px; }
.ai-find { border: 1px solid var(--line); border-left: 5px solid var(--indigo); border-radius: 12px; padding: 12px 16px; }
.ai-find--savings { border-left-color: var(--green); } .ai-find--risk { border-left-color: var(--orange); }
.ai-find__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ai-find__top span { font-weight: 700; color: var(--green); white-space: nowrap; }
.ai-find p { margin: 4px 0; font-size: 15px; }
.ai-find small { font-size: 12px; color: var(--muted-2); }
.ai-lines { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.ai-lines summary { cursor: pointer; font-weight: 700; color: var(--indigo); }
.ai-lines table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.ai-lines td { padding: 7px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ai-lines td:nth-child(2) { color: var(--muted-2); text-transform: capitalize; font-size: 13px; white-space: nowrap; }
.ai-lines td:last-child { text-align: right; white-space: nowrap; }
.ai-lines td small { display: block; color: var(--muted-2); font-size: 12.5px; }
.ai-lines .ai-tot td { font-weight: 800; }
.ai-handoff { margin-top: 22px; background: var(--indigo-soft); border-radius: 16px; padding: 18px 20px; }
.ai-handoff h4 { margin-top: 0; }
.ai-handoff p { margin-bottom: 12px; font-size: 15px; }
@media (max-width: 700px) { .ai-head { grid-template-columns: 1fr; } .ai-save b { font-size: 28px; } .ai-lines td:nth-child(2) { display: none; } }
.ai-head { grid-template-columns: 1fr minmax(210px, 250px); }
.ai-save b { font-size: 28px; white-space: nowrap; }
.price-text { min-height: 320px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; }
[data-price-progress][hidden] { display: none; }

/* ── Client branding ───────────────────────────────────── */
.org.has-logo { display: block; }
.org-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 10px; height: 64px; }
.org-logo img { max-width: 100%; max-height: 44px; object-fit: contain; display: block; }
.org-logo.sm { height: 40px; width: 64px; padding: 5px; margin: 0; flex: none; }
.org-logo.sm img { max-height: 30px; }
.brand.client b { font-size: 15px; }
.print-brand { display: none; }
@media print { .print-brand { display: flex; align-items: center; gap: 14px; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid #ccc; font-size: 12px; color: #555; } .print-brand img { max-height: 48px; max-width: 220px; } }
.brand-preview { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.brand-preview .org-logo { width: 200px; margin: 0; border: 1px solid var(--line); }
.swatch { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }

/* ── Trial and setup guide ─────────────────────────────── */
.trial-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--indigo-soft); color: var(--navy); padding: 10px 40px; font-size: 14px; border-bottom: 1px solid var(--line-2); }
@media (max-width: 900px) { .trial-bar { padding: 10px 16px; } }
.setup-prompt { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-left: 4px solid var(--indigo); }
.setup-prompt > div { flex: 1; min-width: 240px; }
.setup-prompt h2 { font-size: 19px; margin-bottom: 4px; }
.bar { height: 8px; background: var(--indigo-soft); border-radius: 99px; margin-top: 10px; overflow: hidden; max-width: 360px; }
.bar span { display: block; height: 100%; background: var(--indigo); border-radius: 99px; }
.steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; }
.steps a { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.steps a span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 12px; }
.steps .on a { border-color: var(--indigo); color: var(--indigo); }
.steps .on a span { background: var(--indigo); color: #fff; }
.steps .did a span { background: var(--green-soft); color: var(--green); }
.setup-card { max-width: 820px; }
.setup-card h2 { font-size: 22px; margin-bottom: 6px; }
.setup-form { display: grid; gap: 16px; margin-top: 18px; }
.setup-form .q { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.setup-form .q > label, .setup-form legend { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.setup-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.setup-form .mini-h { margin: 6px 0 -4px; }
.setup-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.dev-rows { display: grid; gap: 8px; }
.dev-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; }
.dev-head span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); font-weight: 700; }
.team-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto auto; gap: 8px; align-items: center; }
.team-row .chk { display: flex; gap: 6px; align-items: center; font-size: 14px; white-space: nowrap; }
.next-list { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 10px; }
.next-list a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy); }
.next-list a:hover { border-color: var(--indigo-2); }
.next-list b { display: block; margin-bottom: 2px; }
.next-list span { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .setup-form .row2, .dev-row, .team-row { grid-template-columns: 1fr; } .dev-head { display: none; } .dev-row { padding-bottom: 10px; border-bottom: 1px dashed var(--line); } }

/* ── Install on phone ─────────────────────────────────── */
.install-card { margin-bottom: 16px; }
.install-row { display: flex; gap: 14px; align-items: center; }
.install-row h2 { font-size: 18px; margin-bottom: 2px; }
.install-icon { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 4px 12px rgba(22, 24, 58, .15); }
.install-how { margin-top: 14px; }
.install-steps { margin: 14px 0 0; padding-left: 20px; font-size: 15px; display: grid; gap: 6px; }
p.install-steps, div.install-steps { padding-left: 0; }
.ios-share { display: inline-flex; vertical-align: -3px; color: #0a84ff; }
.install-done { margin-top: 12px; }
.linkbtn.install-dismiss { margin-left: auto; align-self: flex-start; }
.linkbtn.install-dismiss { color: var(--muted-2); font-weight: 600; }
[data-install] [hidden], [data-install][hidden] { display: none !important; }
.linkbtn.install-dismiss { white-space: nowrap; }

/* ── Notifications ────────────────────────────────────── */
.push-card { margin-bottom: 16px; }
.push-bell { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); }
.push-card [data-state] { margin-top: 14px; }
.push-kinds { border: 0; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.push-kinds label { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 15px; }
.push-kinds input { width: 18px; height: 18px; }
.push-actions { margin-top: 14px; flex-wrap: wrap; }
.push-msg:empty { display: none; }
.push-msg { margin-top: 10px; }
.push-devs { margin-top: 10px; }
.linkbtn.push-dismiss { margin-left: auto; align-self: flex-start; color: var(--muted-2); font-weight: 600; white-space: nowrap; }
[data-push] [hidden], [data-push][hidden] { display: none !important; }

/* ── Referrals and add-ons ────────────────────────────── */
.ref-stats { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0; }
.ref-stats div { font-size: 14px; color: var(--muted); }
.ref-stats b { display: block; font-size: 22px; color: var(--navy); }
.ref-list { margin-top: 12px; }
.addon-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.addon-card .grow { min-width: 220px; }
.addon-card .price { font-size: 22px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.addon-card .price small { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ── Match your website ───────────────────────────────── */
.brand-step { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.brand-step h3 { font-size: 17px; margin: 0 0 2px; }
.brand-site-form { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.brand-site-form .input { flex: 1; min-width: 200px; }
.brand-manual summary { cursor: pointer; list-style: none; }
.brand-manual summary::-webkit-details-marker { display: none; }
.brand-manual summary h3::after { content: " ▾"; color: var(--muted-2); font-size: 14px; }
.brand-manual[open] summary h3::after { content: " ▴"; }
.brand-manual[open] summary { margin-bottom: 14px; }
.brand-suggest { margin-top: 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; }
.brand-suggest h3 { font-size: 17px; margin: 0 0 12px; }
.brand-suggest-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.brand-mock { width: 280px; max-width: 100%; height: 170px; border-radius: 12px; overflow: hidden; display: flex; border: 1px solid var(--line); background: #fff; flex: none; box-shadow: var(--shadow); }
.brand-mock .mock-side { width: 40%; background: color-mix(in srgb, var(--mc) 55%, #000); padding: 10px 8px; display: flex; flex-direction: column; gap: 7px; }
.brand-mock .mock-logo { background: #fff; border-radius: 6px; padding: 5px; display: grid; place-items: center; min-height: 34px; font-size: 10px; }
.brand-mock .mock-logo img { max-width: 100%; max-height: 30px; display: block; }
.brand-mock .mock-side i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.35); }
.brand-mock .mock-side i:first-of-type { background: rgba(255,255,255,.9); }
.brand-mock .mock-main { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.brand-mock .mock-main b { height: 10px; width: 60%; border-radius: 4px; background: var(--mc); }
.brand-mock .mock-main span { height: 7px; border-radius: 4px; background: #e6e5f0; }
.brand-mock .mock-main em { margin-top: auto; align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--ma); border-radius: 999px; padding: 5px 12px; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.swatches span { display: inline-flex; gap: 6px; align-items: center; }
.swatches i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(0,0,0,.1); display: inline-block; }
.brand-apply { margin-top: 12px; display: grid; gap: 6px; }
.brand-apply label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.color-in { display: block; width: 80px; height: 44px; padding: 2px; margin-top: 4px; }
.org-logo.on-dark, .mock-logo.on-dark { background: #17165a; }
.side .org-logo.on-dark { background: rgba(0, 0, 0, .28); }

/* ── Bring in your technology (import) ── */
.imp-grid { margin-top: 18px; }
.imp-card h2 { font-size: 18px; margin: 10px 0 6px; }
.imp-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.imp-ic svg { width: 22px; height: 22px; }
.imp-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.imp-form input[type=file] { max-width: 100%; font-size: 14px; }
.imp-mail { margin-top: 12px; padding: 10px 12px; background: var(--bg); border-radius: 10px; overflow-wrap: anywhere; }
.imp-dl { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.imp-svc { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 10px; }
.imp-svc .badge { margin-left: 6px; }
.imp-svc-a { display: flex; gap: 6px; flex-wrap: wrap; }
.imp-more { margin-top: 10px; }
.imp-more summary { cursor: pointer; }
.imp-review { border: 2px solid var(--amber-soft); }
.imp-batch { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.imp-batch-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.imp-all { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.imp-items { display: grid; gap: 6px; max-height: 560px; overflow: auto; padding-right: 4px; }
.imp-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--bg); cursor: pointer; }
.imp-item > input { margin-top: 10px; flex: none; }
.imp-item-b { display: grid; gap: 3px; min-width: 0; flex: 1; }
.imp-item-t { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.imp-name { padding: 6px 10px; font-size: 15px; font-weight: 600; max-width: 340px; flex: 1 1 200px; }
.imp-note { font-style: italic; }
.imp-batch-f { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.imp-top { display: grid; gap: 10px; }
.imp-pick { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.imp-pick label { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.imp-pick .select { width: auto; }
.imp-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.imp-col { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; }
.imp-col.on { border-color: var(--indigo); background: var(--indigo-soft); }
.imp-col-h { font-weight: 700; overflow-wrap: anywhere; }
.imp-ex { overflow-wrap: anywhere; min-height: 1.2em; }
.imp-table td { font-size: 14px; max-width: 220px; overflow-wrap: anywhere; }
.imp-foot { display: grid; gap: 10px; margin-top: 18px; }
.imp-foot label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.imp-map .mini-h { margin-top: 22px; }
.warranty-line { margin-top: 8px; }
@media (max-width: 640px) { .imp-all { margin-left: 0; } .imp-name { max-width: none; } }
.imp-cta { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; text-decoration: none; color: inherit; margin-bottom: 8px; border: 2px solid var(--indigo-soft); }
.imp-cta .btn { margin-left: auto; }

/* ── Progress ring (import progress, setup score) ───────── */
.ring { position: relative; width: var(--ring, 120px); height: var(--ring, 120px); flex: none; }
.ring svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ring-track { fill: none; stroke: #ecebf5; }
.ring-arc { fill: none; stroke-linecap: round; transition: stroke .3s; }
.ring-arrow { transition: fill .3s, opacity .2s; }
.ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.1; }
.ring-c b { font-size: calc(var(--ring, 120px) * .2); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.ring-c span { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ring-done .ring-c b, .ring-full .ring-c b { color: var(--green); }
.ring-fail .ring-arc, .ring-fail .ring-arrow { stroke: var(--red) !important; fill: var(--red) !important; }

/* Setup card on the import page */
.imp-status { display: flex; gap: 26px; align-items: center; margin-bottom: 18px; }
.imp-status-b { min-width: 0; flex: 1; }
.imp-status-b h2 { margin-bottom: 4px; }
.imp-status-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.imp-status-chips a.badge { text-decoration: none; }
.imp-next { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 14px; }
.imp-next li { display: flex; gap: 10px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; }
.imp-next a { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .imp-status { flex-direction: column; text-align: center; } .imp-status-chips { justify-content: center; } .imp-next li { text-align: left; } }

/* Live progress overlay */
body.prog-open { overflow: hidden; }
.prog-back { position: fixed; inset: 0; z-index: 1000; background: rgba(13, 15, 48, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: prog-in .18s ease-out; }
.prog-box { background: #fff; border-radius: 22px; padding: 34px 32px 28px; width: min(400px, 100%); text-align: center; box-shadow: 0 30px 80px rgba(13, 15, 48, .35); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.prog-box .ring { margin-bottom: 10px; }
.prog-box h2 { font-size: 19px; }
.prog-stage { min-height: 1.5em; color: var(--navy); font-weight: 500; }
.prog-box.ok .prog-stage { color: var(--green); font-weight: 700; }
.prog-box.bad .prog-stage { color: var(--red); }
.prog-box .btn { margin-top: 8px; }
@keyframes prog-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .prog-back { animation: none; } .ring-arc, .ring-arrow { transition: none; } }

/* ── Ask Indigo ─────────────────────────────────────────── */
.ask { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.ask-log { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; max-height: 62vh; overflow-y: auto; background: var(--bg); }
.ask-msg { display: flex; }
.ask-msg.me { justify-content: flex-end; }
.ask-b { max-width: min(640px, 88%); background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 12px 16px; font-size: 15px; }
.ask-msg.me .ask-b { background: var(--deep); color: #fff; border-color: var(--deep); border-radius: 16px 16px 4px 16px; white-space: pre-wrap; }
.ask-b p + p, .ask-b p + ol, .ask-b p + ul, .ask-b ol + p, .ask-b ul + p { margin-top: 8px; }
.ask-b ol, .ask-b ul { margin: 6px 0 0; padding-left: 20px; }
.ask-b li + li { margin-top: 4px; }
.ask-b.err { border-color: var(--red); color: var(--red); }
.ask-b.typing { display: flex; gap: 5px; align-items: center; min-height: 44px; }
.ask-b.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: ask-dot 1.2s infinite; }
.ask-b.typing span:nth-child(2) { animation-delay: .2s; } .ask-b.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes ask-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }
.ask-src { margin-top: 10px; font-size: 13px; color: var(--muted); }
.ask-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ask-sugg button { border: 1px solid var(--line-2); background: var(--indigo-soft); color: var(--deep); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.ask-sugg button:hover { border-color: var(--indigo); }
.ask-help { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.ask-help-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ask-help-row .input { flex: 1; min-width: 200px; }
.ask-sent { color: var(--green); font-weight: 600; } .ask-err { color: var(--red); }
.ask-more { margin-top: 10px; font-size: 13px; }
.ask-form { display: flex; gap: 10px; align-items: flex-end; padding: 14px 16px; border-top: 1px solid var(--line); background: #fff; }
.ask-form .textarea { min-height: 46px; height: 46px; resize: none; flex: 1; }
.ask-fine { padding: 0 16px 14px; margin: 0; }
.ask-strip { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-bottom: 16px; }
.ask-strip-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.ask-strip-ic svg { width: 24px; height: 24px; }
.ask-strip-row { display: flex; gap: 8px; } .ask-strip-row .input { flex: 1; }
@media (prefers-reduced-motion: reduce) { .ask-b.typing span { animation: none; } }

/* ── Request menu and approvals ─────────────────────────── */
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; align-items: start; }
.req-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.req-item > summary, .req-link { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; cursor: pointer; list-style: none; text-decoration: none; color: inherit; }
.req-item > summary::-webkit-details-marker { display: none; }
.req-item > summary b, .req-link b { display: block; color: var(--navy); }
.req-item > summary .s, .req-link .s { display: block; }
.req-item > summary .badge { margin-top: 6px; }
.req-item[open] { grid-column: 1 / -1; border-color: var(--indigo); box-shadow: var(--shadow); }
.req-item:hover { border-color: var(--line-2); }
.req-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.req-ic svg { width: 20px; height: 20px; }
.req-item .req-form { padding: 0 16px 16px; }
.appr-item { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 8px; }
.appr-h { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.appr-body { white-space: normal; }
.appr-act { display: flex; gap: 8px; }
.sla-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.sla-grid > div { background: var(--bg); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.sla-grid b { font-size: 15px; }
.sla-stats { margin-top: 12px; font-weight: 600; }
@media (max-width: 760px) { .req-grid, .sla-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── Unused licenses ────────────────────────────────────── */
.lic-card { margin-bottom: 18px; }
.lic-list { list-style: none; padding: 0; margin: 12px 0 0; }
.lic-list li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.lic-save { text-align: right; flex: none; max-width: 45%; }
.lic-save b { display: block; color: var(--green); font-size: 18px; }
.lic-save span { font-size: 12px; color: var(--muted); }
.lic-act { margin-top: 12px; }
.ask-more { color: var(--indigo); }

/* ── Remote help (Zoho Assist) ──────────────────────────── */
.rh-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.rh-card .grow { flex: 1; min-width: 220px; }
.rh-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; flex: none; }
.rh-ic svg { width: 24px; height: 24px; }
.rh-form { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 340px; }
.rh-form .input { flex: 1; min-width: 200px; }
.rh-app { flex-basis: 100%; margin: 0; }
.rh-join { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--green-soft); border-color: #bfe6d1; margin-bottom: 16px; }
.rh-join-b { flex: 1; min-width: 240px; }
.rh-join h2 { color: var(--green); }
/* Staff tools layout */
.st-view { margin-bottom: 8px; }
.st-view .list { max-height: 420px; overflow: auto; }
.st-h { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.st-cols { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 1000px) { .st-cols { grid-template-columns: 1fr; } }
/* Multi-sheet import steps */
.imp-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.imp-step { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; }
.imp-step small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.imp-step-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--muted); font-size: 13px; flex-shrink: 0; }
.imp-step.now { border-color: var(--indigo); box-shadow: 0 0 0 2px var(--indigo-soft); }
.imp-step.now .imp-step-n { background: var(--indigo); color: #fff; }
.imp-step.imported .imp-step-n { background: var(--green); color: #fff; }
.imp-step.skipped { opacity: .7; }
.imp-left { flex-basis: 100%; margin-top: 2px; }
/* Picture guides ("Using Indigo One") */
.how-steps { list-style: none; counter-reset: how; margin: 4px 0 0; padding: 0; display: grid; gap: 18px; }
.how-steps > li { counter-increment: how; display: grid; grid-template-columns: 34px 1fr; gap: 6px 12px; align-items: start; }
.how-steps > li::before { content: counter(how); width: 30px; height: 30px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; grid-row: span 2; }
.how-text { font-size: 15px; line-height: 1.55; color: #2a2d4f; }
.how-tip { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); background: var(--indigo-soft); border-radius: 10px; padding: 8px 12px; }
.how-tip::before { content: "Tip: "; font-weight: 700; color: var(--indigo); }
.how-shot { grid-column: 2; margin: 4px 0 0; }
.how-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 18px rgba(22,24,58,.08); }
.how-card .guide summary { font-size: 16px; }
.how-strip { list-style: none; margin: 12px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.how-strip li { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #33365a; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 4px; }
.how-strip li:not(:last-child)::after { content: "→"; color: var(--muted); margin-left: 4px; font-weight: 500; }
.how-strip svg { width: 15px; height: 15px; color: var(--indigo); flex-shrink: 0; }
.how-n { width: 20px; height: 20px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 11px; display: grid; place-items: center; flex-shrink: 0; }
.how-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--indigo); text-decoration: none; }
.how-link:hover { text-decoration: underline; }
.how-link svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .how-steps > li { grid-template-columns: 26px 1fr; } .how-steps > li::before { width: 24px; height: 24px; font-size: 12px; } .how-shot { grid-column: 1 / -1; } }
.ask-web { margin-top: 4px; }
.ask-web span { color: var(--muted); }
.ask-b.typing .ask-slow { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; font-style: normal; }
/* Wi-Fi sign */
.wsign-form .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .wsign-form .fgrid { grid-template-columns: 1fr; } }
.wsign { background: #fff; border: 1px solid var(--line); border-radius: 18px; max-width: 640px; margin: 20px auto; padding: 44px 40px 36px; text-align: center; color: #16183a; box-shadow: 0 10px 30px rgba(22,24,58,.08); }
.wsign-logo { max-height: 72px; max-width: 260px; display: block; margin: 0 auto 14px; object-fit: contain; }
.wsign-org { font-weight: 800; font-size: 20px; letter-spacing: .02em; margin-bottom: 12px; }
.wsign-icon { width: 64px; height: 64px; margin: 4px auto 6px; color: var(--indigo); }
.wsign-h { font-size: 52px; line-height: 1.05; margin: 0 0 8px; letter-spacing: -.02em; }
.wsign-note { font-size: 20px; color: #3b3f66; margin: 0 0 22px; }
.wsign-qr { width: 300px; max-width: 80%; margin: 0 auto; }
.wsign-qr svg { width: 100%; height: auto; display: block; }
.wsign-scan { font-size: 17px; font-weight: 600; color: var(--indigo); margin: 14px 0 22px; }
.wsign-kv { display: grid; gap: 10px; margin: 0 auto; max-width: 440px; text-align: left; }
.wsign-kv div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.wsign-kv dt { font-size: 15px; color: #55597a; margin: 0; }
.wsign-kv dd { font-size: 24px; font-weight: 700; margin: 0; word-break: break-all; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
@media print {
  .wsign { border: 0; box-shadow: none; max-width: none; margin: 0; padding: .4in .3in; }
  .wsign-h { font-size: 60pt; } .wsign-note { font-size: 20pt; } .wsign-qr { width: 3.6in; } .wsign-kv dd { font-size: 22pt; }
  @page { size: letter portrait; margin: .5in; }
}
/* Is it us or them? */
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.svc-list li:first-child { border-top: 0; }
.svc-dot { width: 12px; height: 12px; border-radius: 50%; background: #c9cbe0; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(201,203,224,.25); }
.svc-ok .svc-dot { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.svc-minor .svc-dot, .svc-maintenance .svc-dot { background: #e0a100; box-shadow: 0 0 0 4px var(--amber-soft); }
.svc-major .svc-dot { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.svc-major .svc-t { color: var(--red); font-weight: 600; }
.svc-minor .svc-t { color: var(--amber); font-weight: 600; }
.svc-link { font-size: 13px; font-weight: 600; white-space: nowrap; }
.svc-card.svc-bad { border-color: #f2c2b6; box-shadow: 0 0 0 3px var(--red-soft); }
.svc-tip { margin: 8px 0 0; }
.svc-list .grow { flex: 1; min-width: 0; }
.vol-act { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.vol-act:hover { border-color: var(--indigo, #3b3aa8); box-shadow: 0 4px 16px rgba(23,22,90,.08); }
.vol-act b { font-size: 17px; }
.vol-act .req-ic { margin-bottom: 4px; }
/* Security check */
.sec-tabs { display: flex; gap: 6px; margin: 0 0 16px; flex-wrap: wrap; }
.sec-tabs a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--indigo); background: var(--indigo-soft); }
.sec-tabs a[aria-current] { background: var(--indigo); color: #fff; }
.sec-note { margin-bottom: 16px; }
.sec-sum { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.sec-score { flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--indigo-soft); color: var(--indigo); }
.sec-score b { font-size: 34px; line-height: 1; }
.sec-score span { font-size: 13px; }
.sec-item .card-h h2 { display: flex; align-items: center; gap: 12px; }
.sec-item .card-h .badge { margin-left: auto; }
.sec-good .svc-dot { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.sec-partial .svc-dot { background: #e0a100; box-shadow: 0 0 0 4px var(--amber-soft); }
.sec-gap .svc-dot { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.sec-why { margin: -6px 0 8px; }
.sec-detail { margin: 0 0 10px; }
.sec-list summary { cursor: pointer; font-size: 14px; color: var(--indigo); font-weight: 600; }
.sec-list ul { margin: 8px 0 0; padding-left: 20px; columns: 2; font-size: 14px; }
.sec-act { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.sec-ins-h { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; flex-wrap: wrap; }
.sec-tbl td { vertical-align: top; }
.sec-tbl td:first-child { font-weight: 600; width: 46%; }
.sec-tbl td:nth-child(2) { width: 90px; }
.sec-ans { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; background: #eef0f4; color: #4a4f68; }
.sec-ans.ok { background: var(--green-soft); color: var(--green); }
.sec-ans.no { background: var(--red-soft); color: var(--red); }
.sec-ans.part { background: var(--amber-soft); color: var(--amber); }
@media (max-width: 640px) { .sec-sum { flex-direction: column; align-items: flex-start; } .sec-list ul { columns: 1; } .sec-tbl thead { display: none; } .sec-tbl tr { display: block; border-top: 1px solid var(--line); padding: 10px 0; } .sec-tbl td { display: block; border: 0; padding: 2px 0; width: auto !important; } }
@media print { .sec-ins { border: 0; padding: 0; } .sec-tbl { font-size: 12px; } .sec-tbl td { padding: 7px 8px; } .sec-ans { border: 1px solid currentColor; } }
.sec-missing .svc-dot { background: #e0a100; box-shadow: 0 0 0 4px var(--amber-soft); }
.wsign-form .fgrid { align-items: start; }
.sec-prep { text-align: right; margin-left: auto; }

/* ── Free partner services (Your savings) ─────────────── */
.table-wrap { overflow-x: auto; }
.svc-tot .stat { text-decoration: none; color: inherit; }
.svc-tot .stat > b { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.svc-tot .stat > b small { font-size: 14px; font-weight: 600; color: var(--muted-2); margin-left: 2px; }
.svc-tot { margin-bottom: 16px; }
.svc-want { border: 0; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.svc-want legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.svc-chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; cursor: pointer; }
.svc-chk input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--indigo); }
.check-inline { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 10px; }
.svc-item.svc-quote-ready { border: 2px solid var(--amber); }
.svc-item.svc-not-moving-forward { opacity: .75; }
.svc-cost { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; background: var(--bg); border-radius: 14px; padding: 14px 18px; margin-top: 6px; }
.svc-cost > div { display: flex; flex-direction: column; gap: 2px; }
.svc-cost b { font-size: 24px; font-weight: 800; }
.svc-cost b small { font-size: 13px; font-weight: 600; color: var(--muted-2); margin-left: 2px; }
.svc-cost .arrow { font-size: 22px; color: var(--muted-2); }
.svc-cost .svc-save { margin-left: auto; background: var(--green-soft); color: var(--green); border-radius: 12px; padding: 8px 14px; }
.svc-cost .svc-save .s { color: var(--green); }
.svc-note { background: var(--indigo-soft); border-radius: 12px; padding: 12px 14px; margin: 12px 0 0; font-size: 15px; }
.svc-act { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 16px; }
.svc-act > .s { flex-basis: 100%; }
.svc-no summary { list-style: none; cursor: pointer; }
.svc-no summary::-webkit-details-marker { display: none; }
.svc-no[open] { flex-basis: 100%; }
.svc-no form { margin-top: 10px; display: grid; gap: 8px; max-width: 460px; }
.svc-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.svc-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.svc-steps .dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; margin-top: 1px; }
.svc-steps li.done .dot { background: var(--green); border-color: var(--green); }
.svc-steps li.done > .grow { color: var(--muted); }
.svc-steps .svc-paper { display: block; margin-top: 2px; color: var(--amber); }
.svc-steps .inline-form .linkbtn { color: var(--indigo); white-space: nowrap; }
.svc-up { margin-top: 12px; }
.svc-staff { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; }
.svc-staff details summary { cursor: pointer; font-weight: 600; color: var(--indigo); }
.svc-staff details[open] { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.svc-edit .fgrid label { display: block; margin-top: 8px; }
textarea.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.svc-upsell { background: linear-gradient(135deg, var(--indigo-soft), #fff); }
@media (max-width: 720px) {
  .svc-cost .svc-save { margin-left: 0; }
  .svc-cost .arrow { display: none; }
  .svc-edit .fgrid { grid-template-columns: 1fr; }
}

/* IT support hours offer (free-services clients) */
.hrs-opts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 10px}
.hrs-opt{display:flex;flex-direction:column;gap:8px;align-items:flex-start;border:1px solid var(--line,#e3e5ef);border-radius:12px;padding:14px 16px}
.hrs-opt .s{flex:1}
.hrs-opt .fine{margin:0}
.hrs-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
[data-show][hidden],.field[hidden]{display:none!important}
@media (max-width:700px){.hrs-opts{grid-template-columns:1fr}}
.hrs-buy{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%}
.hrs-blk{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:inherit;background:var(--card)}
.hrs-blk:hover{border-color:var(--indigo)}
.hrs-blk b{font-size:15px}
.hrs-blk span{font-size:14px}
.hrs-blk em{font-style:normal;font-size:12px;color:var(--green);font-weight:600}
.hrs-more{margin-top:8px}
.hrs-more summary{cursor:pointer;font-weight:600;color:var(--indigo)}
.hrs-more[open] .hrs-buy{margin:10px 0 8px}
.ret-meter{margin:6px 0 4px}
.ret-bar{height:8px;border-radius:99px;background:var(--line);overflow:hidden;margin-top:6px}
.ret-bar span{display:block;height:100%;background:var(--indigo)}

/* ── Common fixes ─────────────────────────────── */
.fix-tools { display: grid; gap: 10px; margin: 0 0 14px; }
.fix-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fix-chips .chip { border: 0; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; background: #f1f2f8; color: var(--muted); }
.fix-chips .chip.on { background: var(--indigo); color: #fff; }
.fix-h { font-size: 15px; font-weight: 800; margin: 18px 0 4px; color: var(--ink, #16183a); }
.fix-group:first-of-type .fix-h { margin-top: 4px; }
.fix-item summary { font-size: 15.5px; }
.fix-pl { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--indigo); background: var(--indigo-soft); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; margin-left: 4px; }
.fix-steps { gap: 12px; }
.fix-steps > li::before { width: 26px; height: 26px; font-size: 13px; }
.fix-steps > li { grid-template-columns: 30px 1fr; }
.fix-urgent { background: #fff1ee; border: 1px solid #f7c6bb; color: #8a2a17; border-radius: 12px; padding: 10px 14px; margin: 0 0 14px !important; font-size: 14.5px; }
.fix-urgent a { color: #8a2a17; font-weight: 700; }
.fix-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; }
.fix-foot p { margin: 0 !important; font-size: 14px; flex: 1 1 260px; }
.fix-src { font-size: 12.5px; color: var(--muted-2); margin: 10px 0 0 !important; }
.fix-src a { color: inherit; text-decoration: underline; }
.fix-suggest { background: var(--indigo-soft); border-radius: 12px; padding: 12px 16px; margin: -4px 0 16px; }
.fix-suggest p { margin: 0 0 6px; font-size: 14px; }
.fix-suggest ul { margin: 0; padding-left: 18px; }
.fix-suggest li { margin: 4px 0; font-size: 14.5px; }
.fix-suggest a { font-weight: 600; }

/* Ask Indigo: live checks */
.ask-checks { margin: 10px 0 2px; font-size: 13.5px; background: #f6f7fb; border-radius: 10px; padding: 8px 12px; }
.ask-checks summary { cursor: pointer; font-weight: 700; color: var(--muted); }
.ask-checks ul { list-style: none; margin: 8px 0 2px; padding: 0; display: grid; gap: 5px; }
.ask-checks li { position: relative; padding-left: 22px; line-height: 1.4; }
.ask-checks li::before { position: absolute; left: 0; top: 0; width: 16px; text-align: center; font-weight: 800; }
.ask-checks li.ck-ok::before { content: "✓"; color: #1a8a4a; }
.ask-checks li.ck-warn::before { content: "!"; color: #b7791f; }
.ask-checks li.ck-bad::before { content: "✗"; color: #c0392b; }
.ask-checks li.ck-info::before { content: "·"; color: var(--muted-2); }

/* Indigo One Helper: "Your computer" */
.pc-card { margin-bottom: 16px; }
.pc-act { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 10px; }
.pc-one + .pc-one { border-top: 1px solid var(--line, #e6e8ef); margin-top: 12px; padding-top: 12px; }
.pc-top { display: flex; gap: 12px; align-items: flex-start; }
.pc-top .grow { flex: 1; min-width: 0; }
ul.pc-issues { list-style: none; display: grid; gap: 5px; }
ul.pc-issues li { position: relative; padding-left: 22px; line-height: 1.4; }
ul.pc-issues li::before { position: absolute; left: 0; top: 0; width: 16px; text-align: center; font-weight: 800; }
.pc-more { margin: 6px 0 0; font-size: 13.5px; }
.pc-more summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.pc-more ul { margin: 6px 0 0 18px; padding: 0; }
.agent-tbl td { vertical-align: top; }
.agent-tbl .linkbtn.go { color: var(--indigo); }
.pc-more pre, .pc-more code { white-space: pre-wrap; word-break: break-all; }
@media (max-width: 700px) {
	.agent-tbl thead { display: none; }
	.agent-tbl, .agent-tbl tbody, .agent-tbl tr, .agent-tbl td { display: block; width: 100%; }
	.agent-tbl tr { padding: 10px 0; border-bottom: 1px solid var(--line, #e6e8ef); }
	.agent-tbl td { padding: 3px 0; border: 0; }
}

/* Brand accent on "One" in titles (matches "One advisor." on indigoconnected.com) */
em.one { color: #4b43c9; font-style: normal; font-weight: inherit; font-size: inherit; display: inline; }
b > em.one { color: #a9a3ff; }
@keyframes oneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.12em); } }
em.one { display: inline-block; animation: oneFloat 3.2s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { em.one { animation: none; } }

.flabel { font-weight: 700; font-size: 14px; margin: 0 0 6px; }

/* Systems you use */
.sys-cat { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.sys-cat legend { font-weight: 700; font-size: 14px; margin: 0 0 6px; padding: 0; color: var(--navy); }
.sys-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.sys-opt { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line, #e3e4ef); border-radius: 999px; padding: 5px 12px 5px 9px; font-size: 14px; font-weight: 400; cursor: pointer; background: #fff; margin: 0; }
.sys-opt:has(input:checked) { border-color: #4b43c9; background: #f1f0ff; }
.sys-opt input { margin: 0; accent-color: #4b43c9; }
.sys-tally td { padding: 6px 8px; }

/* Staff accounts */
.acc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.acc-stats > div { background: var(--bg-2, #f7f7fb); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.acc-stats b { display: block; font-size: 22px; color: var(--navy); }
.acc-stats .warn b { color: #b4232a; }
.acc-tbl td { vertical-align: top; }
.acc-tbl .badge { font-size: 11px; }

/* Repeat problems (staff) */
.rep-list{list-style:none;margin:0;padding:0}
.rep-list li{padding:12px 0;border-bottom:1px solid #eceef3}
.rep-list li:last-child{border-bottom:0}
.rep-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.rep-fix{margin-top:6px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rep-again{margin-left:auto}
.rep-again .linkbtn,.learn-btns .linkbtn{background:none;border:0;padding:0;color:#4b43c9;font:inherit;font-weight:600;cursor:pointer}
.learn-new{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 6px}
.learn-new .input{width:200px}
.learn-new .fine{flex-basis:100%}
.learn-list,.learn-live{list-style:none;margin:0;padding:0}
.learn-list>li{border-top:1px solid #eceef3;padding:10px 0}
.learn-list summary{cursor:pointer;line-height:1.45}
.learn-list summary .s{display:block}
.learn-prev{background:#f7f8fb;border-radius:10px;padding:12px 14px;margin:10px 0}
.learn-prev .s{margin:0 0 6px}
.learn-form .field{margin:0 0 10px}
.learn-form .textarea{width:100%;min-height:120px}
.learn-btns{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.learn-btns .linkbtn{margin-left:auto;color:#6b6f80}
.learn-h{font-size:14px;margin:16px 0 6px}
.learn-live li{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;padding:6px 0;border-top:1px solid #eceef3}

.imp-manage{margin:4px 0 14px;padding:14px 16px;border:1px solid #e6e5f0;border-radius:12px;background:#fafaff}
.imp-manage-h{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:4px}
.imp-manage .s{margin:4px 0 8px}
.imp-manage-list{margin:0 0 10px;padding-left:20px;font-size:14.5px}
.imp-manage-list li{margin:2px 0}
.imp-manage-list li.ok::marker{color:#10a5a0}
.imp-manage-list li.no::marker{color:#b42318}
.imp-manage .imp-svc-a{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:6px}

.lv-item{border-top:1px solid #eceef3;padding:14px 0}
.lv-item:first-of-type{border-top:0}
.lv-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.lv-sched{margin:10px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.lv-do{margin:10px 0;padding:12px 14px;border:1px solid #e6e5f0;border-radius:12px;background:#fafaff}
.lv-do fieldset{border:0;margin:0;padding:0}
.lv-do legend{margin-bottom:4px}
.lv-chk{display:block;margin:6px 0;font-size:15px}
.lv-chk .lv-fail{display:block;color:#b42318;margin-left:24px}
.lv-opt{display:block;width:100%;max-width:480px;margin:4px 0 8px 24px}
.lv-opt[hidden]{display:none}
.lv-steps .grow{flex:1}
.lv-warn{margin:2px 0 8px 24px;color:#8a5a00}
.lv-when{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:10px;font-size:14.5px}
.lv-when .btn{margin-left:auto}
.lv-steps{list-style:none;margin:8px 0 0;padding:0}
.lv-steps li{display:flex;gap:10px;align-items:flex-start;padding:7px 0;font-size:15px}
.lv-mark{flex:0 0 18px;height:18px;border-radius:50%;border:2px solid #c9cbd8;margin-top:2px}
.lv-steps li.done .lv-mark,.lv-steps li.skipped .lv-mark{background:#10a5a0;border-color:#10a5a0}
.lv-steps li.failed .lv-mark{border-color:#b42318}
.lv-steps .linkbtn{background:none;border:0;padding:0;color:#4b43c9;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.lv-log{margin-top:6px}
.lv-log ul{margin:6px 0 0;padding-left:18px}
.lv-start{margin-top:10px;border-top:1px solid #eceef3;padding-top:10px}
.lv-start-f{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.lv-start-f .select{max-width:340px}

.jn-like{max-width:420px;margin:2px 0 8px}
.jn-acct{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.jn-acct .input{max-width:200px}
.jn-acct .select{max-width:260px}
.jn-ex{flex-basis:100%;margin-top:4px}
.jn-ex .select{margin-top:6px;max-width:360px}
.jn-pw{margin:10px 0}
.jn-pw code{font-size:16px;padding:2px 6px;background:#fff;border-radius:6px}
.jn-rm{margin-top:6px}
.jn-rm .linkbtn{background:none;border:0;padding:0;color:#6b6f80;font:inherit;cursor:pointer}
/* Internet lines */
.ln-card .ln { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 12px; }
.ln-card .ln:first-of-type { margin-top: 0; }
.ln-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.ln-name { font-weight: 700; text-decoration: none; }
.ln-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 16px; margin: 12px 0 0; }
.ln-stats dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ln-stats dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }
.ln-checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 14px; }
.ln-checks li { padding: 7px 10px 7px 30px; border-radius: 8px; position: relative; }
.ln-checks li::before { position: absolute; left: 10px; top: 7px; font-weight: 800; }
.ln-checks li.warn { background: var(--amber-soft); }
.ln-checks li.warn::before { content: "!"; color: var(--amber); }
.ln-checks li.good { background: var(--green-soft); }
.ln-checks li.good::before { content: "✓"; color: var(--green); }
.ln-checks li.info { background: var(--bg); }
.ln-checks li.info::before { content: "i"; color: var(--muted); }
.ln-act { margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Security check: recommended protection with a quote request */
.sec-offer { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin: 14px 0 4px; padding: 14px 16px; border-radius: 12px; background: var(--soft, #f5f5fa); border: 1px solid var(--line, #e4e6ee); }
.sec-offer b { display: block; color: var(--ink, #1d2340); font-size: 15.5px; }
.sec-offer p { margin: 4px 0 0; font-size: 14px; color: var(--muted, #6b7682); line-height: 1.45; }
.sec-offer-l { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #4b43c9; margin-bottom: 2px; }
.sec-offer form { flex: 0 0 auto; }
.sec-offer-st { flex: 0 0 auto; max-width: 180px; text-align: right; }
@media (max-width: 640px) { .sec-offer { flex-direction: column; align-items: flex-start; } .sec-offer-st { text-align: left; max-width: none; } }

/* Security check: who has access to what */
.ag-wrap { max-height: 520px; overflow: auto; }
.ag-tbl { border-collapse: separate; border-spacing: 0; }
.ag-tbl th, .ag-tbl td { text-align: center; white-space: nowrap; }
.ag-tbl thead th { position: sticky; top: 0; background: #fff; z-index: 2; font-size: 13.5px; }
.ag-tbl thead th a { color: inherit; }
.ag-tbl .ag-p { text-align: left; position: sticky; left: 0; background: #fff; z-index: 1; font-weight: 600; }
.ag-tbl thead .ag-p { z-index: 3; }
.ag-tbl .ag-all th, .ag-tbl .ag-all td { background: var(--soft, #f5f5fa); font-weight: 700; }
.ag-tbl input[type=checkbox] { width: 18px; height: 18px; accent-color: #4b43c9; cursor: pointer; }
.ag-tbl input[type=checkbox]:disabled { cursor: default; opacity: .55; }
.ag-own { display: block; font-size: 11px; font-weight: 700; color: #4b43c9; margin-top: 2px; }
.ag-foot { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.ag-plain { margin: 0 0 8px; padding-left: 20px; }
.ag-tbl tbody th { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink, #1d2340); }
.ag-tbl thead th { text-transform: none; letter-spacing: 0; }
/* Staff: launch price counter */
.lp-bar { height: 10px; border-radius: 999px; background: var(--soft, #eef0f6); overflow: hidden; }
.lp-bar i { display: block; height: 100%; background: #4b43c9; border-radius: 999px; }

/* Project playbooks: stages, client steps, sign-offs, scope, changes */
.pb { margin-top: 16px; border-top: 1px solid var(--line, #e4e6ee); padding-top: 16px; display: grid; gap: 14px; }
.pb-phases { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pb-phases li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--soft, #f5f5fa); font-size: 14px; color: var(--muted, #6b7682); }
.pb-phases .pb-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: #fff; border: 1.5px solid var(--line, #e4e6ee); }
.pb-phases li.done { color: #1f8a5b; } .pb-phases li.done .pb-n { background: #1f8a5b; border-color: #1f8a5b; color: #fff; }
.pb-phases li.now { background: #eceafd; color: #2d2797; font-weight: 700; } .pb-phases li.now .pb-n { background: #4b43c9; border-color: #4b43c9; color: #fff; }
.pb-now { background: #eceafd; border-radius: 12px; padding: 12px 14px; } .pb-now b { color: #2d2797; } .pb-now p { margin: 4px 0 0; }
.pb-box h3, .pb-changes h3 { font-size: 15px; margin: 0 0 8px; }
.pb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pb-steps li { display: flex; gap: 10px; align-items: flex-start; }
.pb-steps li small { display: block; color: var(--muted, #6b7682); font-size: 12.5px; }
.pb-steps li.ok > div { color: var(--muted, #6b7682); }
.pb-chk { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line, #c9cbe0); background: #fff; display: grid; place-items: center; font-weight: 800; color: #1f8a5b; cursor: pointer; padding: 0; font-size: 14px; }
.pb-steps li.ok .pb-chk { background: #e3f5ec; border-color: #1f8a5b; }
.pb-sign .pb-chk { cursor: default; color: #4b43c9; }
.pb-sign form { margin-top: 6px; }
.pb-more > summary { cursor: pointer; font-weight: 700; color: #4b43c9; }
.pb-expect { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; } .pb-expect p { margin: 2px 0 0; color: var(--muted, #6b7682); }
.pb-scope ul { margin: 6px 0 0; padding-left: 18px; } .pb-scope h4 { margin: 10px 0 0; font-size: 14px; }
.pb-scope ul.no li { color: var(--muted, #6b7682); }
.pb-ans { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pb-staff { margin-top: 14px; border: 1px dashed #c9cbe0; border-radius: 12px; padding: 10px 14px; }
.pb-staff > summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted, #6b7682); }
.pb-staff form { margin-top: 10px; }
/* Staff: workload forecast */
.wl-fc { display: grid; gap: 10px; }
.wl-fc-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; }
.wl-fc-l b { display: block; } .wl-fc-l .s { font-size: 13px; }
.wl-fc-bar { height: 14px; border-radius: 999px; background: var(--soft, #eef0f6); overflow: hidden; display: flex; }
.wl-fc-bar i { display: block; height: 100%; }
.wl-fc-bar .r, .wl-key.r { background: #4b43c9; } .wl-fc-bar .p, .wl-key.p { background: #ff8a65; }
.wl-fc-bar.over { outline: 2px solid #d92d20; }
.wl-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: middle; }
.pb-changes .list li { flex-wrap: wrap; row-gap: 6px; }
/* 2.48: apps found, device status */
.af-list li{flex-wrap:wrap;row-gap:8px;align-items:flex-start}
.af-act{display:flex;gap:6px;flex-wrap:wrap}.af-act form{margin:0}
.af-risk{display:inline-block;margin-top:4px;font-size:13px;font-weight:600;color:var(--amber-ink,#8a5300);background:var(--amber-soft,#fff4e0);border-radius:8px;padding:2px 8px}
.jn-spare{background:var(--green-soft,#eaf7ef);border-radius:10px;padding:8px 12px}
/* Order equipment */
.hw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-bottom:22px}
.hw-pick{position:relative;display:flex;flex-direction:column;gap:4px;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:16px 16px 14px 44px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.hw-pick:hover{border-color:var(--indigo,#4f46e5)}
.hw-pick:has(input[type=radio]:checked){border-color:var(--indigo,#4f46e5);box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.hw-pick>input[type=radio]{position:absolute;left:16px;top:18px;width:18px;height:18px;accent-color:var(--indigo,#4f46e5)}
.hw-name{font-weight:700;color:var(--ink,#1b1d3a)}
.hw-for{font-size:14px;color:var(--muted,#5b6178)}
.hw-spec{margin:6px 0 0;padding-left:18px;font-size:13.5px;color:var(--text,#3c4257)}
.hw-spec li{margin:2px 0}
.hw-other .input{margin-top:8px}
.hw-details{display:grid;gap:14px}
.hw-details label>span{display:block;font-weight:600;font-size:14px;margin-bottom:4px}
.hw-details em{font-weight:400;font-style:normal;color:var(--muted,#5b6178)}
.hw-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.hw-check{display:flex;gap:10px;align-items:flex-start}
.hw-check input{margin-top:4px;width:18px;height:18px}
.hw-check span{font-size:15px}
.hw-details .btn{justify-self:start}

/* ── Getting started list and "Show me around" tour (2.50) ───────────────── */
.onb{position:fixed;right:20px;bottom:96px;z-index:60;width:340px;max-width:calc(100vw - 24px);background:var(--card);border:1.5px solid var(--line-2);border-radius:18px;box-shadow:0 18px 50px rgba(22,24,58,.18);font-size:14.5px}
.onb-head{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;padding:12px 14px;cursor:pointer;text-align:left;color:var(--navy);font:inherit}
.onb-ring{--p:0;flex:0 0 auto;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--indigo) calc(var(--p)*1%),var(--indigo-soft) 0)}
.onb-ring>span{width:32px;height:32px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--indigo)}
.onb.all .onb-ring{background:var(--green)}.onb.all .onb-ring>span{color:var(--green)}
.onb-title{flex:1;display:flex;flex-direction:column;line-height:1.25}.onb-title b{font-size:15.5px}.onb-title>span{color:var(--muted);font-size:13px}
.onb-chev{width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-135deg);margin:4px 6px 0 0;transition:transform .2s}
.onb.open .onb-chev{transform:rotate(45deg);margin-top:-4px}
.onb-body{display:none;border-top:1px solid var(--line);padding:6px 14px 12px}
.onb.open .onb-body{display:block}
.onb ol{list-style:none;margin:0;padding:0}
.onb li{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}
.onb li:last-child{border-bottom:0}
.onb li div{display:flex;flex-direction:column;gap:2px;min-width:0}
.onb li a{font-weight:700;color:var(--indigo);text-decoration:none}.onb li a:hover{text-decoration:underline}
.onb li div>span{color:var(--muted);font-size:13px;line-height:1.35}
.onb li.done b{color:var(--muted);text-decoration:line-through;text-decoration-color:rgba(0,0,0,.25);font-weight:600}
.onb-tick{flex:0 0 auto;width:20px;height:20px;border-radius:50%;border:2px solid var(--line-2);margin-top:1px}
.onb li.done .onb-tick{background:var(--green);border-color:var(--green);position:relative}
.onb li.done .onb-tick::after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.onb-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px}
.onb-hide{background:none;border:0;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;padding:0}
.side-tour{background:none;border:0;color:rgba(255,255,255,.85);padding:0;cursor:pointer;text-decoration:underline;font:inherit;font-size:13px}
.tour-shade{position:fixed;inset:0;z-index:80;pointer-events:auto}
.tour-hole{position:fixed;z-index:81;border-radius:14px;box-shadow:0 0 0 4px rgba(255,255,255,.95),0 0 0 9999px rgba(13,15,48,.55);pointer-events:none;transition:all .25s ease}
.tour-tip{position:fixed;z-index:82;width:340px;max-width:calc(100vw - 24px);background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(13,15,48,.35);padding:18px 18px 14px;color:var(--navy)}
.tour-tip h3{margin:0 0 6px;font-size:17px}
.tour-tip p{margin:0 0 14px;color:var(--muted);font-size:14.5px;line-height:1.5}
.tour-nav{display:flex;align-items:center;gap:8px}
.tour-nav .n{margin-right:auto;font-size:12.5px;color:var(--muted-2)}
.tour-nav .skip{background:none;border:0;color:var(--muted);text-decoration:underline;cursor:pointer;font:inherit;font-size:13px}
@media (max-width:760px){
  .onb{left:12px;right:12px;width:auto;bottom:84px}
  .onb:not(.open){left:auto;width:auto}
  .onb:not(.open) .onb-title,.onb:not(.open) .onb-chev{display:none}
  .onb:not(.open) .onb-head{padding:8px}
  .tour-tip{left:12px!important;right:12px;width:auto;bottom:16px;top:auto!important}
}
@media print{.onb,.tour-shade,.tour-hole,.tour-tip{display:none!important}}

/* Project feedback, messages and hours (2.51) */
.fb-card { margin-top: 14px; border: 1px solid var(--line-2); background: var(--indigo-soft); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.fb-card .fb-h { font-size: 16px; }
.fb-card label { font-weight: 600; font-size: 14px; }
.fb-thanks p { margin: 0; color: var(--muted); }
.fb-thanks .btn { justify-self: start; }
.fb-stars { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.fb-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb-stars label { cursor: pointer; font-size: 30px; line-height: 1; color: #c9cbe0; }
.fb-stars label::before { content: "★"; }
.fb-stars label:hover, .fb-stars label:hover ~ label, .fb-stars input:checked ~ label { color: #f2a91b; }
.fb-stars input:focus-visible + label { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }
.fb-quote { display: flex; gap: 8px; align-items: center; font-weight: 500 !important; }
.fb-as { display: grid; gap: 6px; }
.fb-as[hidden] { display: none; }
.fb-show { color: #f2a91b; letter-spacing: 1px; }
.fb-quoteable { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--line-2); font-style: italic; }
.fb-quoteable cite { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; }
.pm { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.pm > summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.pm > summary .badge { margin-left: 6px; vertical-align: 1px; }
.pm-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; max-height: 420px; overflow-y: auto; }
.pm-list li { max-width: 85%; padding: 10px 14px; border-radius: 14px; background: #f1f2f7; }
.pm-list li.us { background: var(--indigo-soft); justify-self: start; border-bottom-left-radius: 4px; }
.pm-list li.them { justify-self: end; border-bottom-right-radius: 4px; }
.pm-list li.new { box-shadow: 0 0 0 2px var(--indigo); }
.pm-by { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.pm-by b { color: var(--navy); }
.pm-t { font-size: 15px; overflow-wrap: anywhere; }
.pm-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.pm-form .textarea { flex: 1; min-height: 46px; }
.pm .fine { margin-top: 4px; }
.hrs { margin-top: 16px; border-top: 1px dashed #c9cbe0; padding-top: 12px; }
.hrs h3 { font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hrs h3 .s { font-weight: 500; }
.hrs-bar { height: 8px; background: #eceef5; border-radius: 99px; overflow: hidden; margin: 8px 0 10px; }
.hrs-bar span { display: block; height: 100%; background: var(--indigo); }
.hrs-bar.over span { background: var(--red); }
.hrs-form { display: grid; grid-template-columns: 150px 90px 1fr auto; gap: 8px; margin-top: 0 !important; }
.hrs-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; }
.hrs-list li { display: flex; gap: 10px; align-items: baseline; }
.hrs-list li > span:first-child { width: 48px; color: var(--muted); }
.hrs-list li b { width: 52px; }
.hrs-list form { margin: 0 !important; }
.hrs-list .linkbtn { font-size: 13px; }
@media (max-width: 640px) {
  .hrs-form { grid-template-columns: 1fr 1fr; }
  .hrs-form input[type="text"] { grid-column: 1 / -1; }
  .pm-list li { max-width: 95%; }
  .pm-form { flex-direction: column; align-items: stretch; }
}
.fb-card > .btn, .pm-form .btn { justify-self: start; width: auto; }
.fb-card .textarea { min-height: 80px; }

/* ScoutAI (2.52) */
.sc-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.sc-bar .s { flex: 1; min-width: 220px; }
.sc-bar form { margin: 0; }
.sc-err { color: var(--red); }
.sc-steps { margin: 10px 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.sc-thread { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.sc-thread li { padding: 12px 14px; border-radius: 14px; background: #f1f2f7; max-width: 92%; }
.sc-thread li.out { background: var(--indigo-soft); justify-self: end; }
.sc-thread li.in { justify-self: start; border: 1px solid var(--line); background: #fff; }
.sc-by { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.sc-by b { color: var(--navy); }
.sc-text { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.sc-att { margin-top: 8px; font-size: 13px; color: var(--muted); }
.sc-form { display: grid; gap: 8px; }
.sc-form label { font-weight: 600; font-size: 14px; }
.sc-body { min-height: 300px; font-family: inherit; }
.sc-files summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.sc-files ul { list-style: none; padding: 6px 0 0; margin: 0; display: grid; gap: 4px; max-height: 220px; overflow-y: auto; }
.sc-files li label { font-weight: 400 !important; display: flex; gap: 8px; align-items: baseline; }
.sc-up { font-weight: 500 !important; display: grid; gap: 4px; }
.sc-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.sc-pick { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.sc-pick .input { flex: 1; }
.sc-how { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.sc-warn { border-color: #f3d9a4; background: #fffaf0; }
.sm-h { font-size: 16px; margin: 0 0 6px; }
.list li.sc-new .t a { font-weight: 800; }
.sc-banner { align-items: center; }
.sc-inline { margin-bottom: 10px; }
.sc-client { margin-bottom: 14px; }
.notice.sc-client { background: var(--indigo-soft); color: var(--navy); }
.sec-scout { margin: 10px 0 0; }
.sc-inline .s { font-size: 13px; margin-left: 6px; color: var(--muted); }

/* Get options (2.53) */
.opt-form { display: grid; gap: 10px; }
.opt-form > label, .opt-row label > span { font-weight: 600; font-size: 14px; }
.opt-form em { font-weight: 400; color: var(--muted); font-style: normal; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 6px; }
.opt-pick { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px; line-height: 1.35; background: #fff; }
.opt-pick:has(input:checked) { border-color: var(--indigo); background: var(--indigo-soft); }
.opt-pick input { margin-top: 3px; accent-color: var(--indigo); }
.opt-row { display: grid; grid-template-columns: 200px 1fr; gap: 12px; align-items: end; }
.opt-row label { display: grid; gap: 6px; }
.opt-form .btn { justify-self: start; }
.opt-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
@media (max-width: 640px) { .opt-row { grid-template-columns: 1fr; } }

/* Project follow-through (2.54): requests, meeting notes, approval links, needs attention */
body:has(.approve-wrap) { background: linear-gradient(160deg, var(--deep), var(--deeper)); }
.approve-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.approve-card { width: 100%; max-width: 560px; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.approve-card h1 { font-size: 26px; line-height: 1.25; margin: 4px 0 8px; }
.approve-card .kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--indigo); margin: 0; }
.approve-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; font-size: 15px; line-height: 1.2; }
.approve-brand img { border-radius: 10px; }
.approve-note { border-left: 3px solid var(--line-2); margin: 12px 0; padding: 4px 12px; color: var(--muted); }
.approve-form { display: grid; gap: 8px; margin-top: 18px; }
.approve-form label { font-weight: 600; font-size: 14px; }
.approve-btns { display: flex; gap: 10px; margin-top: 6px; }
.approve-done { font-size: 17px; }
.need { margin-top: 14px; border: 1px solid #f3d9a4; background: #fffaf0; border-radius: 14px; padding: 12px 16px; }
.need h3, .meet h3 { font-size: 15px; margin: 0 0 8px; }
.need-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.need-list > li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.need-t { font-weight: 600; }
.need-meta { font-size: 13px; color: var(--muted); }
.need-form { display: grid; gap: 6px; margin-top: 8px; }
.need-form .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.need-form .btn { justify-self: start; }
.need-done { margin-top: 8px; font-size: 14px; }
.need-done summary { cursor: pointer; color: var(--muted); }
.need-done li { padding: 4px 0; }
.need-staff { display: inline-flex; gap: 6px; margin-left: 6px; }
.need-staff form { margin: 0 !important; }
.meet { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.meet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.meet-list > li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.meet-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.meet-h b { font-size: 15px; }
.meet-sum { margin: 6px 0; font-size: 15px; white-space: pre-wrap; }
.meet-sec { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 2px; }
.meet-list ul { margin: 0; padding-left: 18px; font-size: 15px; }
.meet-form, .req-add { display: grid; gap: 6px; margin-top: 10px; }
.meet-form label, .req-add label { font-weight: 600; font-size: 14px; }
.meet-form .row { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
.meet-form .btn, .req-add .btn { justify-self: start; }
.ap-send summary { cursor: pointer; font-size: 13px; color: var(--indigo); font-weight: 600; }
.ap-send form { display: grid; gap: 6px; margin-top: 6px; max-width: 420px; }
.ap-send .row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.risk-list li .s { color: var(--red); }
@media (max-width: 640px) { .meet-form .row, .ap-send .row { grid-template-columns: 1fr; } .approve-card { padding: 22px; } }
.rec-actions .ap-send { flex-basis: 100%; }
.need-form .textarea { min-height: 56px; }

/* MSP partner accounts */
.org .org-switch { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: inherit; opacity: .85; text-decoration: underline; }
.staff-bar.msp-bar { background: var(--indigo-soft); color: var(--indigo); }
.msp-list li { align-items: center; gap: 12px; }
.msp-list form { margin: 0; }
.msp-risk { color: var(--amber); }
.msp-edit > summary { list-style: none; cursor: pointer; }
.msp-edit > summary::-webkit-details-marker { display: none; }

/* Staff Today */
.td-list li { align-items: center; gap: 14px; }
.td-kind { font-size: 12.5px; color: var(--muted); text-transform: none; margin-bottom: 2px; }
.td-kind b { color: var(--ink); font-weight: 700; }
.td-acts { display: flex; gap: 8px; flex-shrink: 0; }
.td-acts form { margin: 0; }
@media (max-width: 640px) { .td-list li { flex-wrap: wrap; } .td-acts { width: 100%; } }

/* Case study permission */
.cs-opts { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; }
.cs-opts label { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.nav-n{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#d64545;color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center}
.outage-bar { display: flex; gap: 12px; align-items: flex-start; background: var(--red-soft); color: #7a2412; border-left: 4px solid var(--red); padding: 12px 24px; font-size: 14px; line-height: 1.45; }
.outage-bar[hidden] { display: none; }
.outage-bar a { color: #7a2412; font-weight: 600; text-decoration: underline; }
.outage-bar .s { color: #7a2412; opacity: .85; }
.outage-x { background: none; border: 0; color: #7a2412; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
@media print { .outage-bar { display: none !important; } }
ol.proc { list-style: none; padding: 0; margin: 4px 0 14px; counter-reset: proc; }
ol.proc li { counter-increment: proc; padding: 8px 0; border-bottom: 1px solid var(--line); }
ol.proc label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
ol.proc label span::before { content: counter(proc) ". "; color: var(--muted); }
ol.proc input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
ol.proc input:checked + span { color: var(--muted); text-decoration: line-through; }
.proc-cat { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 4px; }
.proc-notes { background: var(--bg); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }
.goal-list li { display: block; }
.goal-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.reply-pick { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.reply-pick .select { width: auto; max-width: 100%; }
.sop-tpl { background: var(--bg); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.sop-tpl .t { font-weight: 600; margin-bottom: 8px; }
.sop-tpl .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sop-tpl .chip { text-decoration: none; border: 1px solid transparent; }
.sop-tpl .chip:hover, .sop-tpl .chip.on { border-color: var(--indigo); }
.sop-meta { margin: 0 0 10px; }
