/* ============================================================================
   app.css — the working product's clothes: forms, modals, drawers, boards,
   a calendar, toggles, threads and toasts. Sits on top of roviqo.css.
   ============================================================================ */
.page-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.page-sub { color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 4px 0 16px; gap: 12px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 9px; padding: 8px 14px;
  font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink-2);
  transition: color .15s, border-color .15s, background .15s, transform .15s; }
.btn:hover { color: var(--ink); border-color: var(--line-3); }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 8px 20px -8px rgba(93,108,255,.7); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.danger { color: var(--red); border-color: rgba(244,83,107,.35); }
.btn.danger:hover { background: rgba(244,83,107,.1); color: var(--red); }
.btn.sm { padding: 5px 10px; font-size: 11.5px; border-radius: 7px; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* forms */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.field label small { display: inline; margin: 0 0 0 4px; font-size: inherit; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--field, var(--bg-2)); border: 1px solid var(--field-line, var(--line-2)); border-radius: 9px;
  color: var(--ink); font: inherit; font-size: 13px; padding: 9px 12px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,123,255,.15); }
.field select option { background: var(--bg-2); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* modal */
.scrim { position: fixed; inset: 0; background: var(--scrim); backdrop-filter: blur(6px);
  display: grid; place-items: center; z-index: 100; opacity: 0; transition: opacity .18s; padding: 20px; }
.scrim.on { opacity: 1; }
.modal { width: 100%; max-width: 480px; background: var(--card); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 20px; box-shadow: 0 30px 80px -20px var(--shadow-c);
  transform: translateY(10px) scale(.98); transition: transform .18s; max-height: 88vh; overflow: auto; }
.scrim.on .modal { transform: none; }
.modal h3 { font-size: 15px; margin-bottom: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 9px; margin-top: 16px; }

/* drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw; background: var(--card);
  border-left: 1px solid var(--line-2); z-index: 90; padding: 20px; overflow: auto;
  transform: translateX(100%); transition: transform .22s; box-shadow: -30px 0 80px -30px var(--shadow-c); }
.drawer.on { transform: none; }
.drawer h3 { font-size: 16px; }
.drawer .close-x { position: absolute; top: 14px; right: 14px; }
.kvrow { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.kvrow span:first-child { color: var(--ink-2); }

/* toast */
.toasts { position: fixed; bottom: 70px; right: 20px; z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--card-2); border: 1px solid var(--line-2); border-left: 3px solid var(--green);
  border-radius: 10px; padding: 10px 16px; font-size: 12.5px; box-shadow: 0 16px 40px -12px var(--shadow-c);
  animation: toastIn .22s ease; }
.toast.err { border-left-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* kanban drag */
.lead[draggable="true"] { cursor: grab; }
.lead.dragging { opacity: .4; }
.pipe-col.dropover { outline: 2px dashed var(--line-3); outline-offset: 4px; border-radius: 10px; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head b { font-size: 15px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: center; padding: 4px 0; }
.cal-day { min-height: 86px; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; font-size: 11px; color: var(--ink-3); }
.cal-day.out { opacity: .35; }
.cal-day.today { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(61,123,255,.2); }
.cal-day .d { font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.cal-day { min-width: 0; overflow: hidden; }
.cal-ev { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cal-ev { font-size: 10px; color: #fff; background: var(--evc, var(--blue)); border-radius: 6px; padding: 2px 7px; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* progress */
.prog { height: 6px; background: var(--bg-2); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.prog i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }

/* toggles */
.tgl { width: 38px; height: 22px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); position: relative; transition: background .18s; flex: none; cursor: pointer; }
.tgl::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-3); transition: transform .18s, background .18s; }
.tgl.on { background: var(--grad); border-color: transparent; }
.tgl.on::after { transform: translateX(16px); background: #fff; }

/* messages */
.threads { display: grid; grid-template-columns: 280px 1fr; gap: 12px; align-items: start; }
.thread-i { display: flex; gap: 10px; padding: 11px 12px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
.thread-i:hover { background: var(--hover); }
.thread-i.on { background: var(--card-2); border-color: var(--line-2); }
.thread-i b { display: block; font-size: 12.5px; }
.thread-i span { font-size: 11px; color: var(--ink-3); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.bubble { max-width: 72%; padding: 9px 13px; border-radius: 13px; font-size: 12.5px; margin-bottom: 8px; }
.bubble.me { background: var(--grad); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.them { background: var(--card-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.composer { display: flex; gap: 9px; margin-top: 12px; }
.composer input { flex: 1; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font: inherit; padding: 10px 13px; outline: none; }

/* search + bell pops */
.search-wrap { position: relative; flex: 1; max-width: 430px; }
.search-pop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; z-index: 80; box-shadow: 0 20px 50px -16px var(--shadow-c); }
.search-pop a { display: flex; justify-content: space-between; padding: 8px 11px; border-radius: 8px; font-size: 12.5px; cursor: pointer; }
.search-pop a:hover { background: var(--hover); }
.search-pop a span { color: var(--ink-3); font-size: 11px; }
.bell-wrap { position: relative; }
.bell-pop { position: absolute; top: calc(100% + 8px); right: 0; width: 300px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; z-index: 80; box-shadow: 0 20px 50px -16px var(--shadow-c); }
.bell-pop .n { display: flex; gap: 9px; padding: 8px 9px; border-radius: 8px; font-size: 12px; color: var(--ink-2); }
.bell-pop .n b { color: var(--ink); font-weight: 600; }
.bell-pop .n:hover { background: var(--hover); }

/* misc */
.empty { text-align: center; color: var(--ink-3); padding: 40px 0; font-size: 12.5px; }
.empty b { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 4px; }
.done-strike { text-decoration: line-through; color: var(--ink-3) !important; }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.clicky { cursor: pointer; }
@media (max-width: 1100px) { .grid-cards { grid-template-columns: 1fr 1fr; } .threads { grid-template-columns: 1fr; } }

/* ---------- the booking page: one couple's whole story ---------- */
.bk-journey { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bk-step { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.bk-step i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: 10.5px; font-weight: 700; background: var(--bg-2); border: 1px solid var(--line-2); flex: none; }
.bk-step.done { color: var(--ink); }
.bk-step.done i { background: var(--grad); border-color: transparent; color: #fff; }
.bk-step.now { color: var(--ink-2); }
.bk-step.now i { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px rgba(61,123,255,.15); }
.bk-step-line { flex: 1; min-width: 14px; height: 1px; background: var(--line-2); }
.bk-ev { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bk-ev:last-child { border-bottom: 0; }
.bk-ev b { display: block; font-size: 13px; }
.bk-ev span { display: block; font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.bk-ev-btns { display: flex; gap: 6px; flex: none; }
.bk-chairs { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bk-chairs:last-child { border-bottom: 0; }
.bk-chairs-l { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); flex: none; min-width: 90px; }
.bk-chair { display: inline-flex; align-items: center; gap: 6px; background: var(--card-2); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 4px 6px 4px 11px; font-size: 11.5px; }
.bk-chair i { font-style: normal; color: var(--ink-3); font-size: 10px; }
.bk-chair button { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 11px; padding: 2px 5px; }
.bk-chair button:hover { color: var(--red); }
.auto-row { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.auto-row:last-child { border-bottom: 0; }
.auto-row > div:first-child { flex: 1; }
.auto-row b { font-size: 12.5px; font-weight: 600; }
.auto-row p { font-size: 11.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.55; }
/* what needs you, what is coming */
.need { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 9px; text-decoration: none; color: inherit; }
.need:hover { background: var(--hover); }
.need > div b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.need > div span { font-size: 11px; color: var(--ink-3); }
.need i { font-style: normal; color: var(--ink-3); }
.need-k { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.need-k.money { background: var(--green); } .need-k.call { background: #22D3EE; } .need-k.doc { background: #8B5CF6; } .need-k.crew { background: #F5A623; } .need-k.enquiry { background: var(--blue); } .need-k.shoot { background: #8B5CF6; } .need-k.lead { background: var(--blue); }
.need-d { display: grid; text-align: center; min-width: 34px; line-height: 1.1; }
.need-d b { font-size: 15px; font-weight: 700; } .need-d span { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bk-next-strip { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 12.5px; }
.bk-next-strip b { font-weight: 600; flex: 1; }
.bell-pop .n-h { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 4px; }
.bell-pop a.n { text-decoration: none; color: inherit; }
/* the couple's story: one timeline */
.bk-now { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.bk-next { font-size: 12px; color: var(--ink-2); }
.story .card-h { align-items: center; }
.seg.sm { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 3px; gap: 2px; }
.seg.sm button { background: none; border: 0; color: var(--ink-3); font: inherit; font-size: 11px; padding: 4px 9px; border-radius: 7px; cursor: pointer; }
.seg.sm button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.story-tl { position: relative; padding: 2px 0 0 2px; }
.st-day { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 12px 0 6px 38px; }
.st-day:first-child { margin-top: 4px; }
.st-it { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 7px 0; position: relative; }
.st-it::before { content: ''; position: absolute; left: 12.5px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.st-it:first-of-type::before { top: 14px; } .st-it:last-child::before { bottom: auto; height: 14px; }
.st-ic { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, var(--card)); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.st-ic svg { width: 13px; height: 13px; }
.st-t { font-size: 12.5px; line-height: 1.5; color: var(--ink); padding-top: 4px; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.st-t b { font-weight: 600; }
.st-sub { font-size: 10.5px; color: var(--ink-3); flex-basis: 100%; }
.st-time { font-size: 10.5px; color: var(--ink-3); margin-left: auto; }
.st-it.mail .st-t { color: var(--ink-2); }
.bk-chair .ch-st { font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 7px; background: var(--bg-2); }
.bk-chair .ch-st.ok { color: var(--green); } .bk-chair .ch-st.off { color: var(--amber, #F5A623); } .bk-chair .ch-st.no { color: var(--red); } .bk-chair .ch-st.tent { color: var(--ink-3); }
@media (max-width: 980px) { .row[style*="1.4fr"] { grid-template-columns: 1fr !important; } }

/* where the couple is, on the card */
.lead .flow { display: block; font-style: normal; font-size: 10px; line-height: 1.35; color: var(--ink-3); margin-top: 5px; padding-left: 7px; border-left: 2px solid var(--lc, var(--line-2)); }
.lead .flow.go { color: var(--ink); }
.lead .flow.won { color: var(--green); }
.lead .flow.lost { color: var(--red); }

/* ---------- dashboard: the period, the money, the enquiries ---------- */
.hello { gap: 14px 20px; flex-wrap: wrap; align-items: flex-end; }
.hello p { max-width: 62ch; }
.dash-seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dash-seg::-webkit-scrollbar { display: none; }
.dash-seg button { font: inherit; font-size: 12px; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; border-radius: 8px; padding: 7px 13px; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.dash-seg button:hover { color: var(--ink); background: var(--hover); }
.dash-seg button.on { color: #fff; background: var(--grad); box-shadow: 0 6px 16px -8px var(--blue); }
.dash-seg button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
a.kpi { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.kpi:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(0,0,0,.45); }
a.kpi:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.kpi-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.kpi-top .kpi-ic { margin: 0; }
.kpi-top .spark { position: static; opacity: .95; }
.kpi-v { font-variant-numeric: tabular-nums; }
.kpi-d { flex-wrap: wrap; min-height: 17px; line-height: 1.35; }
.kpi-bar { height: 5px; margin: 3px 0 7px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.kpi-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--cyan)); }
.money-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.money-sum > div { padding: 11px 13px; background: var(--card-2); border: 1px solid var(--line); border-radius: 11px; min-width: 0; }
.money-sum span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.money-sum span i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.money-sum b { display: block; margin-top: 3px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.money-chart { position: relative; min-height: 210px; }
.money-chart .mc-hit { fill: transparent; cursor: default; }
.money-chart .mc-hit:hover { fill: var(--hover); }
.money-empty { position: absolute; inset: 8px 0 22px 42px; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--ink-3); pointer-events: none; }
.money-empty b { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
a.pipe-more { display: block; color: var(--ink-3); text-decoration: none; }
a.pipe-more:hover { color: var(--ink); }
.dash-enq { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 9px 7px; margin: 0 -7px; border-radius: 10px; color: inherit; text-decoration: none; }
.dash-enq:hover { background: var(--hover); }
.dash-enq + .dash-enq { border-top: 1px solid var(--line); }
.dash-enq .nm { min-width: 0; }
.dash-enq .nm b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-enq .nm span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-enq .rt { display: grid; gap: 4px; justify-items: end; }
.dash-enq .rt b { font-size: 12px; font-variant-numeric: tabular-nums; }
.stg { font-size: 10px; font-weight: 600; white-space: nowrap; padding: 2px 8px; border-radius: 99px; color: var(--sc); background: color-mix(in srgb, var(--sc) 15%, transparent); }
.enq-more { display: block; margin-top: 8px; font-size: 11.5px; color: var(--ink-3); text-decoration: none; }
.enq-more:hover { color: var(--ink); }
.empty-note { padding: 14px 2px 6px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.empty-note b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.srcs { display: grid; gap: 13px; }
.src-r > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 12.5px; }
.src-r > div span { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.src-r > div em { font-style: normal; color: var(--green); }
.src-r u { position: relative; display: block; height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.src-r u i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--grad); opacity: .55; }
.src-r u i.won { background: var(--green); opacity: 1; }
@media (max-width: 700px) {
  .hello h1 { font-size: 20px; }
  .dash-seg { width: 100%; }
  .dash-seg button { flex: 1 0 auto; }
  .money-sum { grid-template-columns: 1fr 1fr; }
  .money-sum > div:last-child { grid-column: 1 / -1; }
}
.search input[type="search"]::-webkit-search-cancel-button, .search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
/* an event for a couple not yet booked: amber, and never the pipeline card's .lead class */
.need-k.maybe { background: var(--amber); opacity: .7; }
@media (max-width: 700px) {
  /* on a phone: what needs you comes first, the tiles pair up, and the pipeline is a count per stage */
  .row.r-main > .col:last-child { order: -1; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpis > .kpi:nth-child(3) { grid-column: 1 / -1; }
  .kpi { padding: 12px; }
  .kpi-v { font-size: 19px; }
  .kpi-top .spark { display: none; }
  .card > .pipe.dash-pipe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  .card > .pipe.dash-pipe .pipe-col { min-width: 0; }
  .dash-pipe .lead, .dash-pipe .pipe-more { display: none; }
  .dash-pipe .pipe-sum { padding-bottom: 0; }
}

/* ---------- the rail: stages under Leads ---------- */
.nav-caret { margin-left: 4px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; opacity: .75; transition: transform .18s, background .15s, opacity .15s; cursor: pointer; }
.nav-caret:hover { background: rgba(255,255,255,.14); opacity: 1; }
.nav-l:not(.on) .nav-caret:hover { background: var(--hover); }
.nav-caret.open { transform: rotate(180deg); }
.nav-sub { display: none; padding: 2px 0 4px 20px; }
.nav-sub.open { display: grid; gap: 1px; }
.nav-sub[hidden] { display: none !important; }
.nav-sub a { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 12px; color: var(--ink-2); }
.nav-sub a:hover { background: var(--hover); color: var(--ink); }
.nav-sub a.on { background: var(--hover); color: var(--ink); font-weight: 600; }
.nav-sub i { width: 7px; height: 7px; border-radius: 50%; background: var(--sc, var(--ink-3)); flex: none; }
.nav-sub b { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--ink-3); }
.page-title-sub { font-weight: 500; color: var(--ink-2); }
/* one stage on its own: the cards spread out */
.pipe.one { grid-template-columns: 1fr; }
.pipe.one .pipe-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; align-content: start; }
.pipe.one .pipe-head, .pipe.one .pipe-sum, .pipe.one .pipe-more { grid-column: 1 / -1; }
.pipe.one .lead { margin: 0; }
/* Google and Apple Calendar */
.cal-sync { margin-top: 12px; }
.cal-sync-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cal-sync-b { display: block; text-align: left; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-2); color: inherit; text-decoration: none; font: inherit; transition: border-color .15s, transform .15s; }
.cal-sync-b:hover { border-color: var(--blue); transform: translateY(-1px); }
.cal-sync-b b { display: block; font-size: 12.5px; } .cal-sync-b span { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
@media (max-width: 700px) { .cal-sync-g { grid-template-columns: 1fr; } }

/* the board is as wide as the columns it has */
.pipe.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pipe.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .pipe.cols-5, .pipe.cols-4 { grid-template-columns: repeat(3, 1fr); } }

/* leads: search + list */
.leads-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
.leads-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; min-height: 40px; color: var(--ink-3); }
.leads-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,123,255,.15); }
.leads-search svg { width: 16px; height: 16px; flex: none; }
.leads-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 13px; padding: 9px 0; }
.leads-count { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.lv-seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lv-seg button { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 7px; cursor: pointer; }
.lv-seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.lead-list { padding: 4px 0; overflow-x: auto; }
.ll-row { display: grid; grid-template-columns: minmax(200px, 2.2fr) minmax(110px, 1fr) minmax(90px, .9fr) minmax(80px, .8fr) minmax(180px, 2fr) minmax(90px, .8fr); gap: 12px; align-items: center; padding: 11px 16px; font-size: 12.5px; color: var(--ink-2); min-width: 820px; }
.ll-head { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; border-bottom: 1px solid var(--line); padding-top: 9px; padding-bottom: 9px; }
.lrow { border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.lrow:last-child { border-bottom: 0; }
.lrow:hover, .lrow:focus-visible { background: var(--bg-2); outline: 0; }
.ll-name b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-name i { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-name { min-width: 0; }
.ll-stage { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; color: var(--lc, var(--blue)); background: color-mix(in srgb, var(--lc, var(--blue)) 14%, transparent); white-space: nowrap; }
.ll-flow { font-size: 11.5px; color: var(--ink-3); } .ll-flow.go { color: var(--ink); } .ll-flow.won { color: var(--green); } .ll-flow.lost { color: var(--red); }
/* calendar: a day opens; other calendars look different */
.cal-day.has { cursor: pointer; transition: border-color .12s, transform .12s; }
.cal-day.has:hover, .cal-day.has:focus-visible { border-color: var(--blue); outline: 0; }
.cal-more { font-size: 9.5px; font-weight: 700; color: var(--blue); }
.cal-ev.ext { background: color-mix(in srgb, var(--evc) 16%, transparent); color: var(--ink); box-shadow: inset 2px 0 0 var(--evc); }
.day-list { display: flex; flex-direction: column; gap: 6px; max-height: 56vh; overflow-y: auto; margin: 4px 0 2px; }
.day-ev { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; font: inherit; color: inherit; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; }
button.day-ev { cursor: pointer; } button.day-ev:hover { border-color: var(--blue); }
.day-ev i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--evc); margin-top: 5px; }
.day-ev span { flex: 1; min-width: 0; } .day-ev b { display: block; font-size: 13px; } .day-ev small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.day-ev em { flex: none; font-style: normal; font-size: 11px; font-weight: 600; color: var(--blue); margin-top: 2px; } .day-ev.ext em { color: var(--ink-3); }
.cal-tz { margin-top: 10px; } .cal-tz small { font-weight: 400; color: var(--ink-3); } .cal-tz.need select { border-color: var(--amber, #F5A623); box-shadow: 0 0 0 3px rgba(245,166,35,.18); }
.cal-in { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); } .cal-in h4 { margin: 0; font-size: 13px; }
.cal-in-row { display: grid; grid-template-columns: 2fr 1fr auto; gap: 8px; margin-top: 8px; }
.cal-in-row input { min-width: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: inherit; font-size: 12.5px; padding: 9px 11px; }
.cal-feed { display: flex; align-items: center; gap: 9px; font-size: 12px; padding: 9px 2px 0; } .cal-feed i { width: 9px; height: 9px; border-radius: 50%; } .cal-feed span { color: var(--ink-3); flex: 1; } .cal-feed.bad span { color: var(--red); }
@media (max-width: 700px) { .cal-in-row { grid-template-columns: 1fr; } }
.lead-list .empty-note { padding: 18px 16px; }

.bk-prop-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.bk-prop-acts .btn { display: inline-flex; align-items: center; gap: 6px; }
.bk-prop-acts .btn svg { width: 15px; height: 15px; }

/* Settings → Theme */
.thw { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.thw-l { display: grid; gap: 14px; min-width: 0; }
.thw-r { position: sticky; top: 14px; min-width: 0; }
.set-card.th-card { max-width: none; margin: 0; }
.th-card .card-h { margin-bottom: 12px; }
/* the looks */
.th-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.th-preset { display: grid; gap: 7px; justify-items: stretch; text-align: center; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 7px; cursor: pointer; color: var(--ink-2); font: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.th-preset:hover { border-color: var(--line-3); transform: translateY(-2px); }
.th-preset.on { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); color: var(--ink); }
.th-preset b { font-size: 11.5px; font-weight: 600; }
.th-prev { display: grid; grid-template-columns: 22% 1fr; height: 54px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.th-prev em { display: block; position: relative; } .th-prev s { position: absolute; left: 5px; right: 5px; top: 5px; height: 9px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.th-prev u { position: absolute; right: 6px; bottom: 6px; width: 26px; height: 9px; border-radius: 4px; }
/* one colour */
.thx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thx-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .thx-grid.four .field { margin: 0; }
.thx { background: var(--card-2); border: 1px solid var(--line); border-radius: 13px; padding: 12px; min-width: 0; transition: border-color .15s; }
.thx:hover, .thx:focus-within { border-color: var(--line-2); }
.thx-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.thx-sw { position: relative; display: block; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.thx-sw i { position: absolute; inset: 0; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 0 0 0 2px rgba(255,255,255,.18), 0 6px 14px -8px var(--shadow-c); transition: transform .15s; }
.thx-sw:hover i { transform: scale(1.06); }
.thx-sw.none i { background: repeating-conic-gradient(var(--line-2) 0% 25%, transparent 0% 50%) 50% / 12px 12px; }
.thx-sw.none::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; font-weight: 500; color: var(--ink-2); }
.thx-sw input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.thx-t { min-width: 0; } .thx-t b { display: block; font-size: 13px; font-weight: 650; color: var(--ink); } .thx-t span { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.35; margin-top: 1px; }
.thx-x { border: 1px solid var(--line-2); background: none; color: var(--ink-2); font: inherit; font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; cursor: pointer; }
.thx-x:hover:not(:disabled) { color: var(--ink); border-color: var(--line-3); } .thx-x:disabled { opacity: .55; cursor: default; border-style: dashed; }
.thx-row { margin-top: 10px; }
.thx-row input { width: 100%; min-width: 0; background: var(--field, var(--bg-2)); border: 1px solid var(--line-2); border-radius: 9px; color: var(--ink); font: 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; padding: 8px 11px; outline: 0; }
.thx-row input::placeholder { font-family: var(--sans); letter-spacing: 0; color: var(--ink-3); font-size: 11.5px; }
.thx-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.thx-dots { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; justify-content: space-between; }
.th-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 0; box-shadow: inset 0 0 0 1px rgba(128,128,128,.45); cursor: pointer; padding: 0; transition: transform .12s; }
.th-dot:hover { transform: scale(1.18); } .th-dot.on { box-shadow: 0 0 0 2px var(--card-2), 0 0 0 4px var(--blue); }
/* accent → second shade */
.thx-grad { display: grid; grid-template-columns: minmax(180px, 38%) 1fr; gap: 14px; align-items: center; margin-top: 12px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 13px; }
.thx-grad-bar { height: 42px; border-radius: 10px; background: var(--grad); display: flex; justify-content: space-between; align-items: center; padding: 0 12px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.thx-grad p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--ink-2); }
/* live preview */
.th-live { padding-bottom: 14px; }
.thp { display: grid; grid-template-columns: 34% 1fr; height: 236px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg); font-family: var(--sans); box-shadow: 0 18px 40px -26px var(--shadow-c); }
.thp-rail { padding: 10px 8px; display: grid; align-content: start; gap: 4px; border-right: 1px solid var(--pl); color: var(--ink-2); }
.thp-logo { display: flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .1em; color: var(--ph); margin-bottom: 6px; } .thp-logo i { width: 16px; height: 16px; border-radius: 5px; background: var(--grad); }
.thp-nav { font-size: 10px; font-weight: 500; padding: 6px 8px; border-radius: calc(var(--radius) * .5); display: flex; justify-content: space-between; align-items: center; }
.thp-nav.on { background: var(--grad); color: #fff; } .thp-nav em { font-style: normal; font-size: 8.5px; font-weight: 700; background: rgba(255,255,255,.24); border-radius: 99px; padding: 0 5px; }
.thp-main { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.thp-top { display: flex; align-items: center; gap: 6px; margin: 8px 8px 0; padding: 6px 7px; border-radius: calc(var(--radius) * .6); color: var(--ink-3); }
.thp-search { flex: 1; font-size: 9px; padding: 5px 8px; border-radius: 6px; background: var(--pf); border: 1px solid var(--line); }
.thp-plus { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 12px; } .thp-av { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 7.5px; font-weight: 700; }
.thp-body { padding: 10px; min-width: 0; } .thp-h { font-size: 13px; font-weight: 700; color: var(--ink); } .thp-sub { font-size: 9px; color: var(--ink-2); margin: 2px 0 8px; } .thp-sub a { color: var(--blue); font-weight: 600; }
.thp-card { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) * .7); padding: 8px; }
.thp-row { display: flex; justify-content: space-between; align-items: center; font-size: 9.5px; color: var(--ink); padding: 5px 2px; border-bottom: 1px solid var(--line); } .thp-row b { font-weight: 600; }
.thp-pill { font-size: 8px; font-weight: 700; color: var(--blue); background: color-mix(in srgb, var(--blue) 15%, transparent); border-radius: 99px; padding: 2px 7px; }
.thp-acts { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.thp-btn { font-size: 9px; font-weight: 700; padding: 5px 10px; border-radius: calc(var(--radius) * .5); background: var(--grad); color: #fff; } .thp-btn.ghost { background: none; color: var(--ink-2); border: 1px solid var(--line-2); }
.th-state { font-size: 11.5px; color: var(--ink-3); margin: 12px 0 10px; line-height: 1.5; } .th-state.dirty { color: var(--amber); }
.th-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .th-acts .btn { justify-content: center; }
.th-reset { width: 100%; justify-content: center; margin-top: 8px; }
@media (max-width: 1180px) { .thw { grid-template-columns: 1fr; } .thw-r { position: static; order: -1; } .thp { height: 210px; } }
@media (max-width: 860px) { .thx-grid, .thx-grid.four { grid-template-columns: 1fr 1fr; } .thx-grad { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .thx-grid, .thx-grid.four { grid-template-columns: 1fr; } }

/* the enquiry: the events they described, and the long form behind Edit */
.enq-evs { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-2); }
.enq-evs > span { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; }
.enq-ev { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-top: 1px solid var(--line); } .enq-ev:first-of-type { border-top: 0; }
.enq-ev i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 10px/20px var(--sans); text-align: center; font-style: normal; }
.enq-ev b { display: block; font-size: 12.5px; } .enq-ev small { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.45; }
.lm-more { margin: 4px 0 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg-2); }
.lm-more summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); } .lm-more summary small { font-weight: 400; color: var(--ink-3); }
.lm-more[open] summary { margin-bottom: 10px; } .lm-more .field { margin-bottom: 8px; }

/* ---- team: who signs in, and what they see ---- */
.tm-card { text-align: center; display: flex; flex-direction: column; }
.tm-st { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; } .tm-st small { font-size: 11px; color: var(--ink-3); line-height: 1.45; }
.tm-acts { display: flex; gap: 6px; justify-content: center; margin-top: auto; padding-top: 12px; }
.tm-chk { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; margin-bottom: 6px; background: var(--bg-2); }
.tm-chk input { margin-top: 3px; accent-color: var(--blue); flex: none; } .tm-chk b { font-size: 12.5px; display: block; } .tm-chk small { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.4; }
.tm-chk.tm-login { margin: 4px 0 10px; }
.tm-access { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .tm-access .tm-chk { margin: 0; }
@media (max-width: 640px) { .tm-access { grid-template-columns: 1fr; } }
/* ---- Settings → Users ---- */
.usr { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.usr:first-of-type { border-top: 0; }
.usr .avatar { width: 40px; height: 40px; font-size: 13px; flex: none; }
.usr-b { flex: 1; min-width: 0; } .usr-b b { font-size: 13.5px; } .usr-b small { font-size: 11.5px; color: var(--ink-3); }
.usr-l { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 5px; font-size: 11.5px; color: var(--ink-2); }
.usr-last { margin-top: 5px; font-size: 12px; color: var(--ink-2); } .usr-last i, .usr-log i { font-style: normal; color: var(--ink-3); font-size: 10.5px; margin-left: 6px; }
.usr-a { flex: none; }
.usr-log > div { padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; } .usr-log > div:first-child { border-top: 0; }
/* ---- the task form: the rarely-used fields fold away ---- */
.tm-more { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.tm-more summary { cursor: pointer; font-size: 12px; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.dr-form .field { margin-bottom: 8px; } .dr-form .kvl:empty { display: none; }
body:has(.drawer.on) #rvasstFab, body:has(.scrim.on) #rvasstFab { display: none !important; }
/* ---- Settings → Catalogue ---- */
.cat-rates, .cat-list { display: grid; gap: 8px; }
.cat-r { display: grid; grid-template-columns: 1fr 150px 150px 60px; gap: 10px; align-items: center; }
.cat-r.head { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.cat-r b { font-size: 13px; } .cat-r i, .cat-it i { font-style: normal; font-size: 12px; color: var(--ink-2); text-align: right; }
.cat-r .pb-pk-price, .cat-it .pb-pk-price { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 8px; background: var(--bg-2); }
.cat-r .pb-pk-price > span, .cat-it .pb-pk-price > span { color: var(--ink-3); font-size: 12px; }
.cat-r input, .cat-it input, .cat-it select { border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; padding: 8px 4px; outline: none; min-width: 0; width: 100%; }
.cat-it { border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; background: var(--card-2, var(--bg-2)); }
.cat-it-top { display: grid; grid-template-columns: 1.4fr 150px 120px 120px 50px 34px; gap: 8px; align-items: center; }
.cat-it .cat-name, .cat-it select { border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg-2); padding: 8px 10px; }
.cat-it .cat-text { margin-top: 6px; border: 1px dashed var(--line-2); border-radius: 9px; padding: 7px 10px; font-size: 12.5px; color: var(--ink-2); }
.cat-legend { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); } .cat-legend span { font-weight: 700; color: var(--ink-2); }
@media (max-width: 900px) { .cat-it-top { grid-template-columns: 1fr 1fr; } .cat-r { grid-template-columns: 1fr 1fr; } }
/* ---- Settings → Catalogue: tabs, item cards, pay ---- */
.cat-tabs { display: flex; gap: 6px; margin: 0 0 14px; flex-wrap: wrap; }
.cat-tab { border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cat-tab.on { background: var(--grad); color: #fff; border-color: transparent; } .cat-tab b { font-weight: 700; opacity: .8; margin-left: 4px; }
.cat-it-h, .cat-it-top { display: grid; grid-template-columns: 1.5fr 160px 120px 120px 56px 34px; gap: 8px; align-items: center; }
.cat-it-h { padding: 0 12px 6px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.cat-it-h span:nth-child(5) { text-align: right; }
.cat-it { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--card); }
.cat-it.always { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); background: color-mix(in srgb, var(--blue) 4%, var(--card)); }
.cat-it .cat-name, .cat-it select, .cat-it .pb-pk-price { border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg-2); }
.cat-it .cat-name { padding: 8px 10px; font-weight: 600; } .cat-it select { padding: 8px 8px; }
.cat-it .pb-pk-price { display: flex; align-items: center; gap: 2px; padding: 0 8px; } .cat-it .pb-pk-price > span { color: var(--ink-3); font-size: 12px; }
.cat-it .pb-pk-price input { padding: 8px 2px; }
.cat-it i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--green); text-align: right; }
.cat-it-b { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.cat-it-b .cat-text { flex: 1; margin: 0; border: 1px dashed var(--line-2); border-radius: 9px; padding: 7px 10px; font-size: 12.5px; color: var(--ink-2); background: transparent; }
.cat-always { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px; }
.cat-always input { accent-color: var(--blue); margin: 0; } .cat-it.always .cat-always { border-color: var(--blue); color: var(--blue); }
.cat-r.pay, .cat-r.head.pay { grid-template-columns: 1fr 150px 150px 110px; }
.cat-r b small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-3); }
.cat-r select { border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg-2); padding: 8px 10px; color: var(--ink); font: inherit; font-size: 13px; width: 100%; }
@media (max-width: 900px) { .cat-it-h { display: none; } .cat-it-top { grid-template-columns: 1fr 1fr; } }
