/* Looply app. Layout modelled on Shopgenie: slim icon rail, page header with tabs,
   white cards on a light grey canvas. Palette: white / blue #0004FF / black #171717 only.
   Inter for the UI, Unbounded only for the LOOPLY.DIGITAL wordmark. */
:root {
  --ink: #323b4b;      /* text, same as Shopgenie */
  --title: #17191c;
  --blue: #0004FF;
  --blue-soft: #eceeff;
  --white: #ffffff;
  --canvas: #f9f9fb;
  --muted: #757f90;
  --line: #e3e5e8;
  --line-strong: #d5d8e0;
  --radius: 16px;
  --pill: 999px;
  --rail: 76px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 24px; color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
h1 { font-size: 28px; line-height: 42px; font-weight: 600; margin: 0; }
h2 { font-size: 20px; line-height: 30px; font-weight: 600; margin: 0; color: var(--title); }
h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; color: var(--title); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }

/* ---------- shell ---------- */
.shell { display: flex; min-height: 100vh; }
.rail {
  width: var(--rail); background: var(--white); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 0; position: sticky; top: 0; height: 100vh; flex-shrink: 0; z-index: 5;
}
.rail .logo-l { width: 40px; height: 40px; border-radius: 11px; background: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.rail .logo-l svg { width: 22px; height: 22px; }
.rail a.ri { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: #5d6170; position: relative; }
.rail a.ri:hover { background: var(--canvas); color: var(--ink); text-decoration: none; }
.rail a.ri.on { background: var(--blue-soft); color: var(--blue); }
.rail a.ri .dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); border: 2px solid var(--white); }
.rail .tip { position: absolute; left: 54px; background: var(--ink); color: var(--white); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.rail a.ri:hover .tip { opacity: 1; }
.rail .grow { flex: 1; }

.page { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.topbar .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.topbar .sub { color: var(--ink); font-size: 14px; line-height: 22px; }
.topbar .right { display: flex; align-items: center; gap: 10px; }
.switcher select { min-width: 220px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 600; font-size: 13px; border: none; cursor: pointer; font-family: inherit; }
.menu { position: relative; }
.menu .pop { display: none; position: absolute; right: 0; top: 42px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 6px; min-width: 200px; z-index: 20; }
.menu:focus-within .pop, .menu:hover .pop { display: block; }
.menu .pop .who { padding: 8px 10px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu .pop a, .menu .pop button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; color: var(--ink); background: none; border: none; font: inherit; cursor: pointer; }
.menu .pop a:hover, .menu .pop button:hover { background: var(--canvas); text-decoration: none; }

.tabs-u { display: flex; gap: 32px; overflow-x: auto; }
.tabs-u a { height: 48px; display: flex; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-u a:hover { color: var(--ink); text-decoration: none; }
.tabs-u a.on { color: var(--blue); border-color: var(--blue); }
.tabs-u .c { margin-left: 6px; font-weight: 500; }
.topbar.no-tabs { padding-bottom: 18px; }

.content { padding: 22px 28px 90px; max-width: 1280px; width: 100%; }
.content.flush { padding: 0; max-width: none; }

/* ---------- cards / grids ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: 0 4px 32px rgba(0, 30, 84, .06); }
.card .card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.card .card-h .muted, .card .card-sub { font-size: 14px; line-height: 20px; }
.card.pad0 { padding: 0; overflow: hidden; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid.side { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.kpi .label { font-size: 14px; line-height: 21px; color: var(--ink); font-weight: 500; }
.kpi .num { font-size: 25px; line-height: 37.5px; font-weight: 600; margin-top: 4px; }
.kpi .num small { font-size: 14px; color: var(--muted); font-weight: 400; }
.kpi.blue, .chart-box { position: relative; height: 260px; }

/* ---------- buttons / inputs ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink);
  font: 500 14px/16px "Inter", system-ui, sans-serif; padding: 13px 20px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; background: var(--canvas); }
.btn.primary, .btn.win { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn.primary:hover, .btn.win:hover { filter: brightness(1.08); background: var(--blue); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.sm { padding: 8px 12px; font-size: 14px; }
.btn .i { width: 16px; height: 16px; }
input[type=text], input[type=email], input[type=number], input[type=password], input[type=search], select, textarea, input:not([type]) {
  width: 100%; font: 400 16px/23px "Inter", system-ui, sans-serif; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--ink);
}
select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23171717' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
select[multiple] { background-image: none; padding-right: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
label { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--title); display: block; margin-bottom: 8px; }
.field { margin-bottom: 18px; }
.field .help { font-size: 14px; color: var(--muted); margin-top: 4px; }
.errorlist { color: var(--ink); font-weight: 600; font-size: 13px; margin: 4px 0; padding-left: 16px; }
.check label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.check input { width: auto; }
.searchbox { position: relative; }
.searchbox .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; }
.searchbox input { padding-left: 40px; background: var(--white); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--white); }
.chip:hover { text-decoration: none; background: var(--canvas); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .searchbox { width: 300px; max-width: 100%; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; height: 28px; font-size: 12px; font-weight: 500; padding: 0 12px; border-radius: 8px; background: var(--canvas); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.badge.blue { background: var(--blue-soft); color: var(--blue); border-color: #c9ceff; }
.badge.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stage-pill { font-size: 12px; font-weight: 500; height: 28px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; white-space: nowrap; border: 1px solid transparent; }
.s-new { background: var(--blue); color: var(--white); }
.s-contacted, .s-quoted { background: var(--blue-soft); color: var(--blue); }
.s-won { background: var(--ink); color: var(--white); }
.s-lost { background: var(--white); color: var(--muted); border: 1px solid var(--line-strong); }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue); color: var(--white); font-size: 11px; font-weight: 600; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 22px; }
th { font-size: 14px; font-weight: 500; color: #444a55; text-align: left; height: 56px; padding: 0 16px; background: #f1f2f4; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 16px; color: #2d3139; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #fafbfd; }
td.num, th.num { text-align: right; }
tr.total td { font-weight: 600; background: #f9f9fb; }
.table-wrap { overflow-x: auto; }
.person { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.person:hover { text-decoration: none; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.av.lg { width: 40px; height: 40px; font-size: 14px; }
.pager { display: flex; gap: 8px; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- lists ---------- */
.list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink); }
.row:first-child { border-top: none; }
.row:hover { background: #fafbfd; text-decoration: none; }
.ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ico .i { width: 16px; height: 16px; }
.ico.missed { background: var(--ink); color: var(--white); }
.ico.form { background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.row .who { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .what { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .right { text-align: right; font-size: 14px; color: var(--muted); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- conversations (two-pane inbox) ---------- */
.convo { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: 100vh; background: var(--white); }
.convo .left { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.convo .left .lh { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.convo .items { overflow-y: auto; flex: 1; }
.convo .item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.convo .item:hover { background: #fafbfd; text-decoration: none; }
.convo .item.on { background: var(--blue-soft); }
.convo .item .n { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo .item .s { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo .item .when { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.convo .item.unread .s { color: var(--ink); font-weight: 500; }
.convo .right { display: flex; flex-direction: column; min-height: 0; }
.convo .rh { padding: 12px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.convo .rh .name { font-size: 18px; font-weight: 600; }
.convo .thread { flex: 1; overflow-y: auto; padding: 20px; background: #fbfbfd; display: flex; flex-direction: column; gap: 10px; }
.convo .day { text-align: center; font-size: 12px; color: var(--muted); margin: 8px 0; }
.bub { max-width: 520px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.bub .meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bub.in { align-self: flex-start; background: #eef0f4; border-color: #eef0f4; }
.bub.out { align-self: flex-end; background: var(--blue); border-color: var(--blue); color: var(--white); }
.bub.out .meta, .bub.out .kv dt { color: rgba(255,255,255,.8); }
.bub.sys { align-self: center; background: transparent; border: none; color: var(--muted); font-size: 12px; padding: 2px; }
.bub.note { align-self: flex-end; background: var(--white); border: 1px dashed var(--line-strong); }
.composer { border-top: 1px solid var(--line); padding: 12px 20px; }
.composer .to { font-size: 14px; color: var(--blue); margin-bottom: 4px; }
.composer textarea { border: none; padding: 6px 0; resize: none; box-shadow: none; }
.composer textarea:focus { box-shadow: none; }
.composer .bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.composer .modes { display: flex; gap: 12px; }
.composer .modes label { margin: 0; font-weight: 500; font-size: 14px; display: flex; gap: 4px; align-items: center; color: var(--muted); }
.composer .modes input { width: auto; }
.statusbox { padding: 10px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--white); }
.statusbox form { margin: 0; display: flex; gap: 6px; align-items: center; }
.statusbox input[type=number] { width: 120px; }
.statusbox select { width: auto; }
.placeholder { flex: 1; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 30px; }

/* ---------- contact page ---------- */
.phones a { display: inline-block; font-weight: 600; font-size: 16px; margin-right: 12px; }
.stagebar { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.stagebar form { margin: 0; }
.winbox, .lostbox { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.winbox input { width: 150px; }
.lostbox select { width: auto; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: none; }
.timeline .when { font-size: 12px; color: var(--muted); }
.timeline .body { overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 14px; margin-top: 6px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- misc ---------- */
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-weight: 500; }
.flash.success { background: var(--blue-soft); color: var(--blue); }
.flash.error { background: var(--ink); color: var(--white); }
.dry { display: inline-block; background: var(--ink); color: var(--white); font-size: 12px; padding: 4px 10px; border-radius: var(--pill); font-weight: 500; }
code, .mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--canvas); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; background: #171717; padding: 16px; }
.login .box { width: 100%; max-width: 420px; color: var(--white); }
.login .brand { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--white); text-transform: uppercase; display: block; margin-bottom: 26px; }
.login .brand:hover { text-decoration: none; }
.login .brand .dot { color: var(--blue); }
.login h1 { font-size: 30px; margin-bottom: 8px; }
.login p { color: #cfcfcf; }
.login input { background: #0e0e0e; color: var(--white); border-color: rgba(255,255,255,.18); }
.login .btn { width: 100%; justify-content: center; margin-top: 10px; padding: 13px; }

/* ---------- mobile ---------- */
.bottomnav { display: none; }
@media (max-width: 860px) {
  .rail { display: none; }
  .topbar { padding: 14px 16px 0; }
  .topbar.no-tabs { padding-bottom: 14px; }
  .topbar .switcher, .topbar .right .badge { display: none; }
  .content { padding: 16px 16px 96px; }
  h1 { font-size: 22px; }
  .grid.two, .grid.side { grid-template-columns: minmax(0, 1fr); }
  .convo { grid-template-columns: minmax(0, 1fr); height: auto; min-height: calc(100vh - 140px); }
  .convo.has-current .left { display: none; }
  .convo:not(.has-current) .right { display: none; }
  .convo .thread { min-height: 50vh; }
  .bottomnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; z-index: 10;
  }
  .bottomnav a { color: var(--muted); font-size: 11px; font-weight: 500; padding: 4px 6px; border-radius: 8px; text-align: center; display: grid; justify-items: center; gap: 2px; }
  .bottomnav a.on { color: var(--blue); text-decoration: none; }
  .row { grid-template-columns: 34px minmax(0, 1fr); }
  .row .right { grid-column: 2; text-align: left; }
  .kpi .num { font-size: 22px; }
}

/* period picker with custom dates */
.period-picker { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.period-picker select { width: auto; }
.period-picker .custom-range { display: none; gap: 8px; align-items: center; }
.period-picker.is-custom .custom-range, .period-picker:has(option[value=custom]:checked) .custom-range { display: flex; }
.period-picker input[type=date] { width: auto; font: 400 16px/23px "Inter", system-ui, sans-serif; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); }

/* calendar (week view) */
.s-booked { background: var(--blue); color: var(--white); }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.cal-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cal-grid { display: grid; grid-template-columns: 64px repeat(7, minmax(110px, 1fr)); overflow-x: auto; }
.cal-dayhead { height: 48px; display: grid; place-items: center; font-size: 14px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; }
.cal-day.today .cal-dayhead { color: var(--blue); font-weight: 600; }
.cal-times .cal-hour { height: 56px; font-size: 12px; color: var(--muted); text-align: right; padding: 0 8px; transform: translateY(-8px); }
.cal-day { border-left: 1px solid var(--line); }
.cal-slots { position: relative; }
.cal-slot { height: 56px; border-bottom: 1px solid #f0f1f4; }
.cal-day.today .cal-slots { background: #fafbff; }
.cal-ev { position: absolute; left: 4px; right: 4px; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 6px; padding: 4px 6px; font-size: 12px; line-height: 16px; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.cal-ev:hover { text-decoration: none; filter: brightness(.97); }
.cal-ev b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cal-ev span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.done { background: #f1f2f4; border-left-color: var(--muted); }
@media (max-width: 1100px) { .cal-wrap { grid-template-columns: minmax(0, 1fr); } }

/* website editor */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.photo { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.photo img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.photo-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; min-height: 28px; }
.photo-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.photo-actions form { margin: 0; }
.topbar .right form { margin: 0; }

/* listings */
.nap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.nap-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.nap-v { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 500; overflow-wrap: anywhere; }
.listing-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; padding: 6px 0; }

/* QA fixes 10 Nov */
.card.pad0.table-wrap { overflow-x: auto; }
@media (max-width: 860px) {
  .convo .rh { flex-wrap: wrap; padding: 12px 16px; }
  .convo .rh .name { font-size: 16px; }
  .convo .rh .person { min-width: 0; }
  .convo .rh .person > div:last-child { min-width: 0; overflow: hidden; }
  .convo .statusbox { padding: 10px 16px; }
  .convo .statusbox form { flex-wrap: wrap; }
  .convo .right { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .convo .thread { min-height: 40vh; }
  .composer { padding: 12px 16px; }
}

/* onboarding checklist */
.ob-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin-bottom: 20px; }
.ob-bar span { display: block; height: 100%; background: var(--blue); }
.ob-sep { padding: 14px 20px 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-top: 1px solid var(--line); }
.ob-sep:first-child { border-top: none; }
.ob-step { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); margin: 0; }
.ob-sep + .ob-step, .card > .ob-step:first-child { border-top: none; }
.ob-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.ob-step.partial .ob-dot { border-color: var(--blue); }
.ob-step.done .ob-dot { background: var(--blue); border-color: var(--blue); }
.ob-title { font-weight: 600; }
.ob-detail { font-size: 14px; line-height: 20px; color: var(--muted); }
.ob-act { display: flex; gap: 8px; align-items: center; }
.ob-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.ob-form input[type=text] { width: 200px; padding: 8px 12px; font-size: 14px; }
@media (max-width: 720px) {
  .ob-step { grid-template-columns: 28px minmax(0, 1fr); }
  .ob-act { grid-column: 2; }
  .ob-form input[type=text] { width: 100%; }
}
