/* Jobrov option rows, group headers, first-run guide (options redesign, 16 Nov 2026). Same family as the point-of-sale products' options sheet, in Jobrov's violet.
   Tokens only (--violet --violet-d --violet-l --violet-xl --line --line-2 --muted --wash --paper --ink): nothing here has a colour of its own.
   Logical properties only, so the right-to-left pages (Arabic, Urdu) mirror with no extra rules. */
.oi { inline-size: 22px; block-size: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oi.sm { inline-size: 18px; block-size: 18px; }

/* the icon tile (row, group header, guide step) */
.o-ic { display: inline-grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 12px; background: var(--violet-xl); color: var(--violet); flex: none; }
.o-ic.o-gic { inline-size: 44px; block-size: 44px; border-radius: 14px; background: var(--violet-l); color: var(--violet-d); }

/* group header: icon tile + title + one line */
.card-head-main { display: flex; align-items: flex-start; gap: 14px; min-inline-size: 0; }
.card-head-main > div { min-inline-size: 0; }
.card-head-main.has-ic .card-title { font-size: 1.2rem; line-height: 1.3; margin-block-start: 2px; }

/* the option row: icon | text | control */
.o-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 0; align-items: center; padding-block: 14px; border-block-start: 1px solid var(--line); }
.o-row:first-child, .card-head + .o-row, form > .o-row:first-child, form > input[type=hidden] + .o-row, form > input[type=hidden] + input[type=hidden] + .o-row { border-block-start: 0; }
.o-txt { min-inline-size: 0; display: flex; flex-direction: column; gap: 3px; }
.o-name { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--ink); margin: 0; display: block; }
label.o-name { cursor: pointer; }
.o-why { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); max-inline-size: 62ch; }
.o-ex { font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); font-style: italic; max-inline-size: 62ch; }
.o-ctl { display: flex; justify-content: flex-end; align-items: center; min-inline-size: 0; }
/* a wide field (a name, an address, a description): the control goes under the sentence across the row */
.o-row.wide .o-ctl { grid-column: 1 / -1; justify-content: stretch; margin-block-start: 10px; }
.o-row.wide .o-ctl > * { flex: 1 1 auto; min-inline-size: 0; inline-size: 100%; }
.o-row.wide .o-num, .o-row.wide .o-num input { inline-size: 100%; }
.o-row.wide .o-num input { text-align: start; direction: inherit; }
.o-num { display: flex; align-items: center; position: relative; }
.o-num input { min-block-size: 44px; }
.o-num i { position: absolute; inset-inline-end: 12px; font-style: normal; color: var(--muted); font-weight: 700; pointer-events: none; }
.o-row.has-in:not(.wide) .o-num input { inline-size: 130px; text-align: end; direction: ltr; padding-inline-end: 12px; }
.o-row.has-sel .o-ctl select { min-block-size: 44px; min-inline-size: 170px; max-inline-size: 100%; }
.o-row .o-ctl textarea { inline-size: 100%; }
.o-row.block { grid-template-columns: 42px minmax(0, 1fr); }
.o-row.block .o-ctl { grid-column: 1 / -1; justify-content: flex-start; margin-block-start: 10px; }
.o-row .rating { margin-block: 2px; }

/* switch: a real checkbox, so every form posts as before */
.o-tg { position: relative; display: inline-block; inline-size: 52px; block-size: 30px; flex: none; margin: 0; }
.o-tg input { position: absolute; inset: 0; opacity: 0; margin: 0; inline-size: 100%; block-size: 100%; cursor: pointer; z-index: 2; }
.o-tgk { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .15s; }
.o-tgk::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; inline-size: 24px; block-size: 24px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(11, 15, 25, .3); transition: transform .15s; }
.o-tg input:checked + .o-tgk { background: var(--violet); }
.o-tg input:checked + .o-tgk::after { transform: translateX(22px); }
[dir=rtl] .o-tg input:checked + .o-tgk::after { transform: translateX(-22px); }
.o-tg input:disabled + .o-tgk { opacity: .45; }
.o-tg input:disabled { cursor: not-allowed; }
.o-tg input:focus-visible + .o-tgk { outline: 3px solid #A78BFA; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .o-tgk, .o-tgk::after { transition: none; } }

/* choice cards (radios) */
fieldset.o-cards { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; min-inline-size: 0; inline-size: 100%; }
.o-card { display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: var(--paper); cursor: pointer; margin: 0; }
.o-card input { inline-size: 20px; block-size: 20px; margin-block-start: 2px; accent-color: var(--violet); flex: none; }
.o-card span { display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
.o-card b { font-size: 1rem; }
.o-card small { color: var(--muted); font-size: var(--fs-sm); line-height: 1.4; }
.o-card:has(input:checked) { border-color: var(--violet); background: var(--violet-xl); box-shadow: 0 0 0 3px rgba(109, 40, 217, .12); }
.o-card:has(input:focus-visible) { outline: 3px solid #A78BFA; outline-offset: 2px; }

/* the row inside the narrow sign-in and sign-up cards */
.auth-card .o-row, .auth .o-row { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 12px; }
.auth-card .o-ic, .auth .o-ic { inline-size: 36px; block-size: 36px; border-radius: 10px; }

/* first-run guide */
.guide { border-color: #DDD6FE; background: linear-gradient(135deg, #fff 0%, var(--violet-xl) 100%); margin-block-end: 20px; }
.guide-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.guide-step { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding-block: 12px; border-block-start: 1px solid var(--line); }
.guide-step:first-child { border-block-start: 0; }
.guide-step .g-text { min-inline-size: 0; display: flex; flex-direction: column; gap: 2px; }
.guide-step .g-title { font-weight: 700; color: var(--ink); }
.guide-step .g-sentence { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; max-inline-size: 62ch; }
.guide-step .g-act { display: flex; align-items: center; justify-content: flex-end; }
.guide-step.done .o-ic { background: var(--success-l); color: var(--success-d); }
.guide-step.done .g-title { text-decoration: line-through; text-decoration-color: var(--faint); color: var(--muted); }
.guide-count { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 6px; }

/* phone */
@media (max-width: 640px) {
  .o-row { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 12px; padding-block: 14px; }
  .o-ic { inline-size: 36px; block-size: 36px; border-radius: 10px; }
  .o-row.has-sel .o-ctl, .o-row.has-in:not(.wide) .o-ctl { grid-column: 1 / -1; justify-content: flex-start; margin-block-start: 10px; }
  .o-row.has-sel .o-ctl select { inline-size: 100%; }
  .o-row.has-in:not(.wide) .o-num { inline-size: 100%; }
  .o-row.has-in:not(.wide) .o-num input { inline-size: 100%; text-align: start; }
  .o-row.block { grid-template-columns: 36px minmax(0, 1fr); }
  .card-head-main { gap: 10px; }
  .o-ic.o-gic { inline-size: 40px; block-size: 40px; }
  .guide-step { grid-template-columns: 36px minmax(0, 1fr); row-gap: 10px; }
  .guide-step .g-act { grid-column: 1 / -1; justify-content: flex-start; }
  .guide-step .g-act .btn { inline-size: 100%; justify-content: center; }
}

/* the job search bar: the same four options as rows, two columns on a wide screen */
.search-bar { grid-template-columns: minmax(0, 1fr); }
.search-bar .o-row { border-block-start: 0; padding-block: 8px; grid-template-columns: 36px minmax(0, 1fr); }
.search-bar .o-ic { inline-size: 36px; block-size: 36px; border-radius: 10px; }
.search-bar .o-ctl { grid-column: 1 / -1; justify-content: flex-start; margin-block-start: 8px; }
.search-bar .o-ctl select, .search-bar .o-num, .search-bar .o-num input { inline-size: 100%; }
.search-bar .o-row.has-in .o-num input { text-align: start; direction: inherit; }
@media (min-width: 760px) { .search-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; align-items: start; } .search-bar > div:last-child { grid-column: 1 / -1; } }
/* the discount code inside a plan card */
.plan .code-box .o-row { border-block-start: 0; padding-block: 8px; grid-template-columns: 36px minmax(0, 1fr); }
.plan .code-box .o-ic { inline-size: 36px; block-size: 36px; }
/* inline forms: a row followed by its button */
form > .o-row + .btn, form > .o-row + button { margin-block-start: 6px; }
.disclosure-body .o-row:first-child { border-block-start: 0; }
.code-box { margin-block-end: 8px; }
