/* תורלי — shared styles. RTL-first, mobile-first, WCAG AA contrast. */
:root {
  --brand: #0f766e; --brand-ink: #ffffff; --brand-soft: #e6f4f2;
  --bg: #f6f7f9; --surface: #ffffff; --ink: #14202b; --muted: #5b6875; --line: #e2e6ea;
  --danger: #b42318; --danger-soft: #fdecea; --warn: #9a6700; --warn-soft: #fff6d6; --ok: #11733f; --ok-soft: #e4f6ea;
  --radius: 14px; --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --font: 'Heebo', 'Assistant', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.5; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
a { color: var(--brand); }
small, .muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -50px; right: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; border-radius: 6px; }

/* controls */
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 16px; min-height: 44px; font-weight: 500; transition: background .15s, border-color .15s, transform .05s; }
button:hover { border-color: #c5ccd3; background: #fafbfc; }
button:active { transform: scale(.985); }
button:disabled { opacity: .55; cursor: not-allowed; }
button.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
button.primary:hover { filter: brightness(.93); background: var(--brand); }
button.danger { background: var(--danger); color: #fff; border-color: var(--danger); }
button.ghost { background: transparent; border-color: transparent; color: var(--brand); }
button.ghost:hover { background: var(--brand-soft); }
button.small { min-height: 34px; padding: 4px 12px; font-size: .9rem; }
button.block { width: 100%; }
.icon-btn { min-width: 44px; padding: 6px; border-color: transparent; background: transparent; font-size: 1.1rem; }
input, select, textarea { width: 100%; border: 1px solid #b9c1c9; background: #fff; border-radius: 10px; padding: 10px 12px; min-height: 44px; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--brand); flex: none; }
input[type=color] { padding: 4px; width: 60px; }
textarea { min-height: 84px; resize: vertical; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 500; margin-bottom: 4px; font-size: .95rem; }
.hint { display: block; margin-top: 4px; font-size: .85rem; }
.req { color: var(--danger); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.check label { font-weight: 400; }
.error-text { color: var(--danger); font-weight: 500; }

/* layout */
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; margin-top: 18px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .8rem; font-weight: 600; background: #eef1f4; color: #33414f; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.danger { background: var(--danger-soft); color: var(--danger); }
.notice { border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; background: var(--brand-soft); border: 1px solid #bfe3de; }
.notice.warn { background: var(--warn-soft); border-color: #f0dc8c; } .notice.danger { background: var(--danger-soft); border-color: #f4c7c3; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .85rem; color: var(--muted); font-weight: 600; }
tr.clickable { cursor: pointer; } tr.clickable:hover { background: #fafbfc; }
.table-wrap { overflow-x: auto; }

/* toast + modal */
#toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); } #toast.error { background: var(--danger); } #toast.ok { background: var(--ok); }
.modal-wrap { position: fixed; inset: 0; background: rgba(15, 23, 32, .5); display: flex; align-items: flex-end; justify-content: center; z-index: 100; }
.modal { background: var(--surface); width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; border-radius: 18px 18px 0 0; }
.modal.wide { max-width: 760px; }
@media (min-width: 640px) { .modal-wrap { align-items: center; padding: 20px; } .modal { border-radius: 18px; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-head h2 { margin: 0; font-size: 1.1rem; }
.modal-body { padding: 18px; }

/* ---------- public booking page ---------- */
.pub { max-width: 640px; margin: 0 auto; padding: 0 14px 60px; }
.pub-head { text-align: center; padding: 26px 0 14px; }
.pub-logo { width: 68px; height: 68px; border-radius: 20px; background: var(--brand); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; object-fit: cover; }
.steps { display: flex; gap: 6px; margin: 4px 0 18px; padding: 0; list-style: none; }
.steps li { flex: 1; height: 5px; border-radius: 4px; background: var(--line); } .steps li.done { background: var(--brand); }
.pick { display: flex; width: 100%; text-align: start; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 10px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pick:hover { border-color: var(--brand); background: var(--surface); }
.pick .t { font-weight: 600; } .pick .price { font-weight: 600; white-space: nowrap; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex: none; }
.summary { background: var(--brand-soft); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: .95rem; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.date-btn { flex: none; width: 66px; padding: 8px 4px; text-align: center; scroll-snap-align: start; line-height: 1.25; }
.date-btn .d { font-size: 1.25rem; font-weight: 700; display: block; } .date-btn .w, .date-btn .m { font-size: .78rem; color: var(--muted); display: block; }
.date-btn[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } .date-btn[aria-pressed=true] .w, .date-btn[aria-pressed=true] .m { color: inherit; }
.date-btn:disabled { background: transparent; text-decoration: line-through; }
.date-btn.full { background: #f1f3f5; color: var(--muted); } .date-btn.full .d::after { content: 'מלא'; display: block; font-size: .62rem; font-weight: 600; letter-spacing: .02em; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots button { padding: 8px 0; direction: ltr; }
.slot-group { margin-bottom: 16px; } .slot-group h3 { font-size: .9rem; color: var(--muted); font-weight: 600; }
.timer { font-variant-numeric: tabular-nums; font-weight: 600; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 2.2rem; display: flex; align-items: center; justify-content: center; margin: 8px auto 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; }
.pub-foot { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 28px; } .pub-foot a { color: inherit; }

/* ---------- landing / auth ---------- */
.hero { max-width: 980px; margin: 0 auto; padding: 40px 18px; display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr .9fr; padding-top: 70px; } }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); letter-spacing: -.01em; }
.hero ul { padding: 0; list-style: none; margin: 18px 0 0; } .hero li { padding: 5px 0; } .hero li::before { content: '✓'; color: var(--brand); font-weight: 700; margin-inline-end: 8px; }
.tabs { display: flex; gap: 4px; background: #eef1f4; padding: 4px; border-radius: 12px; margin-bottom: 16px; }
.tabs button { flex: 1; border: 0; background: transparent; min-height: 38px; } .tabs button[aria-selected=true] { background: #fff; box-shadow: var(--shadow); font-weight: 600; }

/* ---------- business app ---------- */
.app { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.nav { background: var(--surface); border-top: 1px solid var(--line); position: fixed; bottom: 0; inset-inline: 0; display: flex; z-index: 50; padding-bottom: env(safe-area-inset-bottom); }
.nav .brand, .nav .nav-foot { display: none; }
.nav a { flex: 1; text-align: center; padding: 8px 2px; font-size: .72rem; color: var(--muted); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.nav a .ic { font-size: 1.25rem; line-height: 1; } .nav a[aria-current=page] { color: var(--brand); font-weight: 600; }
.nav a.secondary { display: none; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; } .more-grid a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 10px; text-align: center; text-decoration: none; color: var(--ink); font-weight: 500; display: flex; flex-direction: column; gap: 8px; align-items: center; box-shadow: var(--shadow); } .more-grid .ic { font-size: 1.8rem; }
.main { padding: 16px 14px calc(90px + env(safe-area-inset-bottom)); max-width: 1240px; width: 100%; min-width: 0; margin: 0 auto; }
/* a wide child (calendar grid, table) must scroll inside its own box, never stretch the page */
.main > * { max-width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; } .page-head h1 { margin: 0; }
/* "חזרה" ו"בית": קודם הכותרת ובשורה משלהם בנייד, כדי שכותרת ארוכה לא תדחוף אותם החוצה */
.page-nav { display: flex; gap: 6px; flex-basis: 100%; order: -1; }
.page-nav button[disabled] { opacity: .45; cursor: default; }
@media (min-width: 640px) { .page-nav { flex-basis: auto; order: 0; } }

@media (min-width: 900px) {
  .app { grid-template-columns: 230px minmax(0, 1fr); }
  .nav { position: sticky; top: 0; height: 100vh; flex-direction: column; border-top: 0; border-inline-end: 1px solid var(--line); padding: 18px 12px; gap: 4px; bottom: auto; }
  .nav .brand { display: block; font-size: 1.3rem; font-weight: 700; color: var(--brand); padding: 4px 10px 18px; }
  .nav a.mobile-only { display: none !important; }
  .nav a, .nav a.secondary { flex: none; flex-direction: row; font-size: 1rem; gap: 12px; padding: 10px 12px; border-radius: 10px; display: flex; }
  .nav a:hover { background: #f3f5f7; } .nav a[aria-current=page] { background: var(--brand-soft); }
  .nav .nav-foot { display: block; margin-top: auto; font-size: .85rem; color: var(--muted); padding: 10px; }
  .main { padding: 26px 28px 40px; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; } .stat .n { font-size: 1.6rem; font-weight: 700; } .stat .l { color: var(--muted); font-size: .9rem; }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); width: 100%; background: none; border-inline: 0; border-top: 0; border-radius: 0; text-align: start; min-height: 0; }
.list-item:last-child { border-bottom: 0; } .list-item .time { font-weight: 700; font-variant-numeric: tabular-nums; width: 52px; flex: none; direction: ltr; text-align: end; }
.att { display: flex; gap: 4px; flex: none; } .att button { min-height: 40px; min-width: 44px; padding: 4px 8px; font-size: 1rem; } .att button[aria-pressed=true].yes { background: var(--ok); color: #fff; border-color: var(--ok); } .att button[aria-pressed=true].no { background: var(--danger); color: #fff; border-color: var(--danger); }
.bar { width: 4px; align-self: stretch; border-radius: 4px; flex: none; }

/* calendar */
.cal-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.cal-toolbar .title { font-weight: 600; text-align: center; flex: 1 1 140px; }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: calc(100vh - 210px); position: relative; }
.cal-grid { display: grid; min-width: 100%; position: relative; }
.cal-toolbar input[type=date] { flex: 0 1 150px; min-width: 0; }
@media (max-width: 480px) { .cal-col, .cal-head { min-width: 104px !important; } .cal { max-height: calc(100dvh - 250px); } }
.cal-head { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: center; font-weight: 600; font-size: .92rem; border-inline-start: 1px solid var(--line); min-width: 130px; }
.cal-head small { display: block; font-weight: 400; } .cal-head.today { color: var(--brand); } .cal-corner { position: sticky; top: 0; inset-inline-start: 0; z-index: 6; background: var(--surface); border-bottom: 1px solid var(--line); }
.cal-times { position: sticky; inset-inline-start: 0; z-index: 4; background: var(--surface); }
.cal-time { font-size: .75rem; color: var(--muted); text-align: center; direction: ltr; transform: translateY(-8px); }
.cal-col { position: relative; border-inline-start: 1px solid var(--line); min-width: 130px; background-image: linear-gradient(var(--line) 1px, transparent 1px); }
.cal-col.closed { background-color: #f3f4f6; }
.cal-off { position: absolute; inset-inline: 0; background: repeating-linear-gradient(135deg, #f1f3f5, #f1f3f5 6px, #e9ecef 6px, #e9ecef 12px); opacity: .8; pointer-events: none; }
.ev { position: absolute; inset-inline: 3px; border-radius: 8px; padding: 3px 7px; font-size: .8rem; line-height: 1.25; overflow: hidden; color: #10222e; border: 0; border-inline-start: 4px solid; text-align: start; min-height: 0; cursor: grab; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.ev b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.block { background: #e5e7eb !important; border-color: #6b7280 !important; color: #374151; cursor: pointer; }
.ev.klass { cursor: pointer; background-image: repeating-linear-gradient(135deg, transparent, transparent 8px, rgba(255,255,255,.45) 8px, rgba(255,255,255,.45) 16px); }
.ev.pending { outline: 2px dashed var(--warn); outline-offset: -2px; } .ev.done { opacity: .6; } .ev.noshow { background: var(--danger-soft) !important; border-color: var(--danger) !important; text-decoration: line-through; }
.ev.dragging { opacity: .4; } .cal-col.drop { background-color: var(--brand-soft); }
.slots button.snug { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month-head { text-align: center; font-size: .8rem; color: var(--muted); font-weight: 600; padding: 4px 0; }
.month-cell { min-height: 92px; padding: 5px 6px; display: flex; flex-direction: column; gap: 2px; align-items: stretch; text-align: start; position: relative; border-radius: 10px; font-weight: 400; overflow: hidden; }
.month-cell .num { font-weight: 700; font-size: .95rem; } .month-cell.out { opacity: .45; } .month-cell.closed { background: #f3f4f6; } .month-cell.today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); } .month-cell.today .num { color: var(--brand); }
.month-cell .hol { font-size: .66rem; color: var(--warn); line-height: 1.15; } .month-cell .cnt { position: absolute; top: 5px; inset-inline-end: 6px; background: var(--ink); color: #fff; border-radius: 99px; font-size: .7rem; padding: 0 7px; font-weight: 600; }
.month-cell .line { font-size: .7rem; border-inline-start: 3px solid; border-radius: 4px; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .month-cell .more { font-size: .68rem; color: var(--muted); }
@media (max-width: 640px) { .month-cell { min-height: 58px; padding: 4px; } .month-cell .line, .month-cell .more, .month-cell .hol { display: none; } .month-cell .cnt { position: static; align-self: flex-start; } }
.now-line { position: absolute; inset-inline: 0; height: 2px; background: #e11d48; z-index: 3; pointer-events: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; } .chip { border-radius: 99px; min-height: 34px; padding: 4px 12px; font-size: .88rem; } .chip[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hours-row { display: grid; grid-template-columns: 74px auto 1fr; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); } .hours-row .times { display: flex; gap: 6px; align-items: center; } .hours-row input[type=time] { min-height: 38px; padding: 4px 8px; width: 112px; }
.wizard { max-width: 640px; margin: 0 auto; padding: 24px 14px 60px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } .vgrid button { flex-direction: column; display: flex; gap: 6px; align-items: center; padding: 16px 8px; } .vgrid .ic { font-size: 1.8rem; } .vgrid button[aria-pressed=true] { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.srv-row { display: grid; grid-template-columns: 1fr 86px 86px 40px; gap: 6px; margin-bottom: 8px; align-items: center; }
.copy-box { display: flex; gap: 8px; } .copy-box input { direction: ltr; text-align: left; }
@media (max-width: 480px) {
  .hours-row { grid-template-columns: 58px 24px minmax(0, 1fr); gap: 6px; } .hours-row .times { gap: 4px; min-width: 0; } .hours-row input[type=time] { width: auto; flex: 1 1 0; min-width: 0; padding: 4px; font-size: .9rem; }
  .copy-box { flex-wrap: wrap; } .copy-box input { flex: 1 1 100%; } .srv-row { grid-template-columns: minmax(0, 1fr) 64px 64px 36px; }
  .card { padding: 14px; } .page-head h1 { font-size: 1.35rem; }
}
.card, .list-item .grow, .modal-body { min-width: 0; overflow-wrap: anywhere; }
@media print { .nav, .cal-toolbar button { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- customer accounts ---- */
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #1f1f1f; font-weight: 500; text-decoration: none; }
.google-btn:hover { background: #f7f8f8; }
.google-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.or { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--muted); font-size: .9rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.account-line { margin: 6px 0 0; font-size: .9rem; }
.customer-strip { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; max-width: 1100px; margin: 16px auto 0; padding: 14px 18px; border-radius: 14px; background: var(--brand-soft, rgba(15,118,110,.1)); }
.customer-strip .muted { display: inline; }
a.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; font-weight: 500; }
a.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink, #fff); }
@media (max-width: 600px) { .customer-strip { margin: 12px 16px 0; } .customer-strip .row, .customer-strip .row a { flex: 1; } }

/* ---- add to calendar ---- */
.cal-opts { display: grid; gap: 8px; }
.cal-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; min-height: 56px; }
.cal-opt:hover { background: var(--brand-soft); }
.cal-opt:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.cal-opt .ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--bg); font-weight: 700; }
.cal-opt small { color: var(--muted); }

/* service photo on the booking page and in the services screen */
.pick-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--line, #eee); }
.srv-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.img-edit { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.img-edit img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.img-edit .ph { width: 72px; height: 72px; border-radius: 10px; display: grid; place-items: center; background: #f3f3f3; color: #999; font-size: 24px; }

/* ---- pricing + setup checklist ---- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 20px; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan h2 { margin: 0 0 4px; }
.plan .price { font-size: 1.1rem; margin: 6px 0 2px; }
.plan .price b { font-size: 2rem; }
.plan ul { padding-inline-start: 18px; margin: 12px 0 18px; }
.plan ul li { margin-bottom: 6px; }
.plan .btn { margin-top: auto; text-align: center; }
.plan.featured { border: 2px solid var(--brand); }
.plan .tag { position: absolute; top: -12px; inset-inline-start: 16px; background: var(--brand); color: var(--brand-ink, #fff); border-radius: 999px; padding: 2px 12px; font-size: .8rem; font-weight: 600; }
.two-col { columns: 2; column-gap: 26px; padding-inline-start: 18px; }
@media (max-width: 560px) { .two-col { columns: 1; } }
.bar-track { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; margin: 12px 0; }
.bar-fill { height: 100%; background: var(--brand); border-radius: 999px; transition: width .3s; }
.setup-list { display: grid; gap: 6px; }
.setup-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; }
a.setup-item:hover { background: var(--brand-soft); }
.setup-item.done { opacity: .6; }
.setup-item .mark { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg); font-weight: 700; }
.setup-item.done .mark { background: var(--ok, #0a7d55); color: #fff; }
