/* Lomi rider sign-up page. Mobile first, solid colors only. */
:root {
  --leaf: #0A9246;
  --leaf-dark: #087A3B;
  --forest: #0E4D2B;
  --mist: #E7F4EC;
  --page: #F3F9F5;
  --ink: #11301F;
  --text: #4E6356;
  --line: #D7E9DD;
  --lemon: #F4D23C;
  --lemon-soft: #FFF6CC;
  --paper: #FFFFFF;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --display: 'Baloo 2', 'Noto Sans Ethiopic', system-ui, sans-serif;
  --body: 'Figtree', 'Noto Sans Ethiopic', system-ui, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body.rj {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
body.lang-am { line-height: 1.6; }

a { color: var(--leaf-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 2px; }

/* Header */
.rj-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.rj-logo img { height: 30px; width: auto; display: block; }
.rj-lang {
  padding: 6px 14px; border-radius: 999px;
  background: var(--mist); color: var(--forest);
  font-weight: 600; font-size: 14px; text-decoration: none;
}

.rj-main { max-width: 560px; margin: 0 auto; padding: 18px 18px 40px; }

/* Type */
.rj-eyebrow {
  margin: 10px 0 6px; color: var(--leaf-dark);
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.lang-am .rj-eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.rj-hero {
  margin: 0 0 12px; color: var(--forest);
  font: 800 clamp(36px, 10vw, 50px)/1 var(--display); letter-spacing: -.01em;
}
.lang-am .rj-hero { font-family: 'Noto Sans Ethiopic', var(--display); font-weight: 700; font-size: clamp(30px, 8.4vw, 42px); line-height: 1.2; }
.rj-lead { margin: 0 0 20px; font-size: 17.5px; color: var(--text); }
.rj-lead-sm { margin: 0 0 14px; color: var(--text); }
.rj-title { margin: 6px 0 4px; color: var(--forest); font: 800 30px/1.1 var(--display); }
.lang-am .rj-title { font-family: 'Noto Sans Ethiopic', var(--display); font-weight: 700; font-size: 26px; line-height: 1.3; }
.rj-fine { margin: 10px 0 0; font-size: 13.5px; color: var(--text); }
.rj-sub { margin: 26px 0 12px; font: 700 19px/1.25 var(--display); color: var(--forest); }
.lang-am .rj-sub { font-family: var(--body); font-size: 17px; }

/* Cards */
.rj-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px 18px; margin: 0 0 16px;
}
.rj-card p { margin: 0; }
.rj-card-ok { border-color: var(--leaf); background: #F2FBF5; }
.rj-card-title { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--text); }

.rj-earn-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rj-earn-list li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--mist); }
.rj-earn-pct { font: 800 32px/1 var(--display); color: var(--forest); }
.rj-earn-name { font-size: 13.5px; font-weight: 600; color: var(--text); margin-top: 4px; }

.rj-need { margin: 18px 0 8px; }
.rj-need-title { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.rj-need ul { margin: 0; padding: 0; list-style: none; }
.rj-need li { position: relative; padding: 0 0 10px 30px; color: var(--ink); }
.rj-need li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--lemon); box-shadow: inset 0 0 0 5px var(--lemon), inset 0 0 0 9px var(--forest);
}

.rj-actions-hero { margin-top: 18px; }

/* Fayda code by SMS */
.rj-otp { padding: 18px; margin-bottom: 4px; }
.rj-otp .rj-field { margin-bottom: 14px; }
.rj-otp-id { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.rj-field input.rj-otp-code:not([type=radio]):not([type=checkbox]):not([type=file]) {
  font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .45em; text-align: center; padding-left: calc(14px + .45em);
}
.rj-otp-sent { margin: 0 0 14px; font-weight: 600; color: var(--forest); }
.rj-otp-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.rj-otp-links .rj-link[disabled] { color: var(--text); text-decoration: none; cursor: default; }
.rj-otp-error { margin: 14px 0 0; }

/* Buttons */
.rj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px; border-radius: var(--radius);
  border: 0; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 17px; line-height: 1.2;
  transition: background-color .15s ease, transform .05s ease;
}
.rj-btn:active { transform: translateY(1px); }
.rj-btn svg { width: 22px; height: 22px; flex: none; }
.rj-btn-primary { background: var(--leaf); color: #FFFFFF; }
.rj-btn-primary:hover { background: var(--leaf-dark); }
.rj-btn-primary[disabled] { background: #9CC9AE; cursor: default; }
.rj-btn-ghost { background: transparent; color: var(--forest); padding: 0 14px; }
.rj-btn-soft { background: var(--mist); color: var(--forest); min-height: 44px; font-size: 15px; padding: 0 16px; }
.rj-btn-block { width: 100%; }
.rj-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--leaf-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.rj-link-danger { color: var(--danger); }

.rj-alert {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 12px;
  background: var(--danger-soft); border: 1px solid #F5C2BC; color: #8A1C12; font-weight: 500;
}
.rj-alert-info { background: var(--lemon-soft); border-color: #F1DC85; color: #5C4A00; }

/* Route progress */
.rj-route { position: relative; margin: 2px 0 22px; padding-top: 30px; --inset: 14px; }
.rj-track { position: absolute; left: var(--inset); right: var(--inset); top: 37px; border-top: 2px dashed #B9D6C3; }
.rj-track-done {
  position: absolute; left: 0; top: -2px; height: 3px;
  width: calc(100% * var(--at) / var(--stops));
  background: var(--leaf); transition: width .5s ease;
}
.rj-route.is-complete .rj-track-done { width: 100%; }
.rj-route ol { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.rj-stop { position: relative; width: calc(var(--inset) * 2); display: flex; flex-direction: column; align-items: center; }
.rj-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid #B9D6C3;
  transition: background-color .3s ease, border-color .3s ease;
}
.rj-stop.is-done .rj-dot { background: var(--leaf); border-color: var(--leaf); }
.rj-stop.is-here .rj-dot { background: var(--lemon); border-color: var(--forest); }
.rj-stop-label {
  margin-top: 6px; white-space: nowrap;
  font-size: 11px; font-weight: 600; color: var(--text);
}
.rj-stop.is-here .rj-stop-label { color: var(--forest); font-weight: 700; }
.rj-bike {
  position: absolute; top: 2px; width: 40px; height: 26px;
  left: calc(var(--inset) + (100% - var(--inset) * 2) * var(--at) / var(--stops) - 20px);
  transition: left .55s cubic-bezier(.4, 1.4, .5, 1);
}
.rj-route.is-complete .rj-bike { left: calc(100% - var(--inset) - 20px); }
@media (max-width: 380px) {
  .rj-stop-label { font-size: 10px; }
  .lang-am .rj-stop-label { font-size: 9.5px; }
}

/* Steps and fields */
.rj-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.rj-step-title {
  float: left; width: 100%; padding: 0; margin: 0 0 16px;
  font: 800 27px/1.15 var(--display); color: var(--forest);
}
.lang-am .rj-step-title { font-family: 'Noto Sans Ethiopic', var(--display); font-weight: 700; font-size: 23px; line-height: 1.35; }
.rj-step-title + * { clear: both; }

.rj-field { display: block; margin: 0 0 18px; }
.rj-label { display: block; margin-bottom: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.rj-label em, .rj-more em { font-style: normal; font-weight: 400; color: var(--text); }
.rj-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--text); }
.rj-err { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--danger); }

.rj-field input:not([type=radio]):not([type=checkbox]):not([type=file]),
.rj-field select,
.rj-field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  font-size: 17px; line-height: 1.3;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.rj-field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230E4D2B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.rj-field textarea { min-height: 78px; resize: vertical; }
.rj-field input:focus, .rj-field select:focus, .rj-field textarea:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(10, 146, 70, .15);
}
.rj-field [aria-invalid="true"] { border-color: var(--danger) !important; }
.rj-other { margin-top: 10px; }

.rj-row { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .rj-row { grid-template-columns: 1fr 1fr; } }

.rj-prefix { display: flex; align-items: stretch; }
.rj-prefix > span {
  display: grid; place-items: center; padding: 0 14px;
  border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px;
  background: var(--mist); color: var(--forest); font-weight: 700;
}
.rj-field .rj-prefix input:not([type=radio]) { border-radius: 0 12px 12px 0; }
.rj-password { position: relative; display: block; }
.rj-field .rj-password input:not([type=radio]) { padding-right: 72px; }
.rj-password .rj-link { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); text-decoration: none; }

/* Chips */
.rj-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.rj-chips::-webkit-scrollbar { display: none; }
.rj-chips-wrap { flex-wrap: wrap; overflow: visible; }
.rj-chips-even { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; }
.rj-chip { position: relative; flex: none; cursor: pointer; }
.rj-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rj-chip span {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.rj-chips-even .rj-chip span { padding: 0 4px; border-radius: 12px; font-size: 14.5px; }
.rj-chip input:checked + span { background: var(--forest); border-color: var(--forest); color: #FFFFFF; }
.rj-chip input:focus-visible + span { outline: 3px solid var(--lemon); outline-offset: 2px; }
.rj-field.has-error .rj-chip span { border-color: #F0B7B0; }

/* Rider categories */
.rj-cats { display: grid; gap: 10px; }
.rj-cat {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper);
  cursor: pointer; transition: border-color .12s ease, background-color .12s ease;
}
.rj-cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rj-cat:has(input:checked) { border-color: var(--leaf); box-shadow: inset 0 0 0 1px var(--leaf); background: #F2FBF5; }
.rj-cat:has(input:focus-visible) { outline: 3px solid var(--lemon); outline-offset: 2px; }
.rj-cat-name { display: block; font-weight: 700; font-size: 17px; }
.rj-cat-desc { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text); }
.rj-cat-share { text-align: right; }
.rj-cat-share b { display: block; font: 800 30px/1 var(--display); color: var(--leaf-dark); }
.rj-cat-share small { font-size: 11.5px; color: var(--text); }

.rj-more { margin: 4px 0 18px; }
.rj-more summary { cursor: pointer; color: var(--leaf-dark); font-weight: 600; padding: 6px 0; }
.rj-more .rj-field { margin-top: 8px; }

/* Photos */
.rj-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rj-photos-one { grid-template-columns: auto; }
.rj-photo {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 1.586; border-radius: 14px; border: 2px dashed #B9D6C3; background: var(--paper);
  cursor: pointer; text-align: center;
}
.rj-photo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rj-photo:focus-within { outline: 3px solid var(--lemon); outline-offset: 2px; }
.rj-photo-empty { display: flex; flex-direction: column; gap: 2px; padding: 8px; font-size: 12.5px; color: var(--text); }
.rj-photo-empty b { font-size: 15px; color: var(--forest); }
.rj-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rj-photo.has-photo { border-style: solid; border-color: var(--leaf); }
.rj-photo.has-photo::after {
  content: attr(data-change); position: absolute; right: 8px; bottom: 8px;
  padding: 3px 10px; border-radius: 999px; background: var(--forest); color: #FFFFFF; font-size: 12px; font-weight: 600;
}
.rj-photo-round { width: 116px; aspect-ratio: 1; border-radius: 50%; }
.rj-field.has-error .rj-photo:not(.has-photo) { border-color: var(--danger); }

/* Fayda identity card */
.rj-id-card {
  display: flex; gap: 14px; align-items: center;
  padding: 14px; border-radius: 18px; background: var(--forest); color: #FFFFFF;
}
.rj-id-photo { width: 70px; height: 88px; border-radius: 10px; object-fit: cover; background: var(--mist); flex: none; }
.rj-id-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rj-badge {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  padding: 3px 10px 3px 7px; border-radius: 999px; background: var(--lemon); color: var(--forest);
  font-size: 12px; font-weight: 700;
}
.rj-badge svg { width: 13px; height: 13px; }
.rj-id-name { font: 700 20px/1.2 var(--display); }
.rj-id-meta { font-size: 13.5px; color: #CDE5D5; }
.rj-not-me { margin: 8px 0 20px; text-align: right; font-size: 14px; }

/* Bottom navigation */
.rj-nav {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; gap: 10px; margin: 24px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: var(--page); border-top: 1px solid var(--line);
}
.rj-nav .rj-btn-primary { flex: 1; }

/* Contract */
.rj-contract {
  max-height: 52vh; overflow: auto; overscroll-behavior: contain;
  padding: 16px 16px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  font-size: 13.5px; line-height: 1.55; color: #1D1D1D;
}
.rj-contract .ra-meta { width: 100%; font-size: 12.5px; color: var(--text); }
.rj-contract .ra-company { margin: 14px 0 2px; text-align: center; font-size: 17px; }
.rj-contract .ra-title { margin: 0 0 14px; text-align: center; font-size: 14px; color: var(--leaf-dark); }
.rj-contract h3 { margin: 16px 0 6px; font-size: 13.5px; }
.rj-contract p { margin: 0 0 8px; }
.rj-contract ul { margin: 0 0 8px; padding-left: 20px; }
.rj-contract .ra-sub { font-weight: 700; }
.rj-contract .ra-center { text-align: center; font-weight: 700; }
.rj-contract .ra-table { border-collapse: collapse; margin: 6px 0 10px; }
.rj-contract .ra-table th, .rj-contract .ra-table td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; font-size: 12.5px; }
.rj-contract .ra-table th { background: var(--mist); }
.rj-contract .rj-company-sign { display: block; width: 150px; height: auto; margin: 2px 0 12px; }
.rj-contract .rj-company-later { font-style: italic; color: var(--text); }
.rj-fill { padding: 0 3px; border-radius: 4px; background: var(--lemon-soft); font-weight: 600; }
.rj-fill:empty { display: inline-block; min-width: 110px; height: 1.1em; vertical-align: text-bottom; background: none; border-bottom: 1.5px solid #9DB3A5; border-radius: 0; }
.rj-attached { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--forest); }
.rj-attached svg { width: 18px; height: 18px; flex: none; }

.rj-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; cursor: pointer; font-weight: 600; }
.rj-check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--leaf); }
.rj-check .rj-err { flex-basis: 100%; }
.rj-check { flex-wrap: wrap; }
.rj-check > span { flex: 1; }

.rj-sign-head { display: flex; justify-content: space-between; align-items: baseline; }
.rj-sign-pad {
  position: relative; height: 190px; border-radius: 14px;
  border: 2px dashed #B9D6C3; background: var(--paper); touch-action: none;
}
.rj-sign-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; border-radius: 12px; }
.rj-sign-line {
  position: absolute; left: 18px; right: 18px; bottom: 44px; pointer-events: none;
  border-bottom: 1.5px solid var(--line); color: #9DB3A5; font-size: 14px; line-height: 1;
}
.rj-sign.has-error .rj-sign-pad { border-color: var(--danger); }
.rj-sign.is-signed .rj-sign-pad { border-style: solid; border-color: var(--leaf); }

/* Overlay */
.rj-overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(14, 77, 43, .6); }
.rj-overlay-card { max-width: 320px; padding: 26px 24px; border-radius: 18px; background: var(--paper); text-align: center; }
.rj-overlay-card p { margin: 14px 0 0; font-weight: 600; }
.rj-spinner {
  display: inline-block; width: 40px; height: 40px; border-radius: 50%;
  border: 4px solid var(--mist); border-top-color: var(--leaf);
  animation: rj-spin .8s linear infinite;
}
@keyframes rj-spin { to { transform: rotate(360deg); } }

/* Status page */
.rj-hello { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--text); font-size: 16px; }
.rj-state { padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--lemon-soft); color: #5C4A00; }
.rj-state-approved { background: var(--leaf); color: #FFFFFF; }
.rj-state-denied { background: var(--danger-soft); color: #8A1C12; }

.rj-block { margin: 0 0 26px; }
.rj-block-title { margin: 0 0 12px; font: 700 21px/1.2 var(--display); color: var(--forest); }
.lang-am .rj-block-title { font-family: var(--body); font-size: 18.5px; }

.rj-ticket {
  display: grid; grid-template-columns: 96px 1fr; overflow: hidden;
  border-radius: 18px; border: 1.5px solid var(--forest); background: var(--paper);
}
.rj-ticket-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 14px 6px; background: var(--forest); color: #FFFFFF; text-align: center;
  border-right: 2px dashed var(--lemon);
}
.rj-ticket-wd { font-size: 12px; font-weight: 600; color: #CDE5D5; }
.rj-ticket-day { font: 800 46px/1 var(--display); color: var(--lemon); }
.rj-ticket-month { font-size: 14px; font-weight: 700; }
.rj-ticket-body { padding: 14px 16px; min-width: 0; }
.rj-ticket-time { display: block; font: 800 28px/1.1 var(--display); color: var(--forest); }
.lang-am .rj-ticket-time { font-family: 'Noto Sans Ethiopic', var(--display); font-size: 24px; }
.rj-ticket-alt { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text); }
.rj-ticket-dl { margin: 10px 0 0; font-size: 14px; }
.rj-ticket-dl dt { font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .05em; }
.lang-am .rj-ticket-dl dt { text-transform: none; letter-spacing: 0; }
.rj-ticket-dl dd { margin: 1px 0 0; font-weight: 600; }
.rj-ticket-dl dd span { font-weight: 400; color: var(--text); }
.rj-ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.rj-days { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px 14px; padding: 2px 18px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rj-days::-webkit-scrollbar { display: none; }
.rj-day {
  flex: none; min-width: 96px; padding: 10px 12px; scroll-snap-align: start;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  text-align: left; cursor: pointer;
}
.rj-day-name { display: block; font-size: 12px; font-weight: 700; color: var(--text); }
.rj-day-eth { display: block; font: 800 20px/1.15 var(--display); color: var(--forest); white-space: nowrap; }
.lang-am .rj-day-eth { font-family: 'Noto Sans Ethiopic', var(--display); font-weight: 700; font-size: 17px; }
.rj-day-greg { display: block; font-size: 12px; color: var(--text); }
.rj-day[aria-selected="true"] { background: var(--forest); border-color: var(--forest); }
.rj-day[aria-selected="true"] .rj-day-name,
.rj-day[aria-selected="true"] .rj-day-greg { color: #CDE5D5; }
.rj-day[aria-selected="true"] .rj-day-eth { color: var(--lemon); }

.rj-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rj-time {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  text-align: left; cursor: pointer;
}
.rj-time-main { font-size: 18px; font-weight: 700; color: var(--ink); }
.rj-time-alt { font-size: 13px; color: var(--text); }
.rj-time-seats { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--leaf-dark); }
.rj-time-seats.is-last { color: #9A6B00; }
.rj-time[disabled] { cursor: default; opacity: .45; }
.rj-time[disabled] .rj-time-main { text-decoration: line-through; }
.rj-time[aria-pressed="true"] { border-color: var(--leaf); box-shadow: inset 0 0 0 1px var(--leaf); background: #F2FBF5; }
.rj-time[aria-pressed="true"]::after {
  content: ''; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.rj-empty { padding: 16px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line); color: var(--text); }
.rj-bookbar {
  position: sticky; bottom: 0; z-index: 10; margin: 16px -18px 0;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: var(--page); border-top: 1px solid var(--line);
}
.rj-picker .rj-alert { margin-top: 12px; }

.rj-next { margin: 0; padding: 0; list-style: none; counter-reset: next; }
.rj-next li { counter-increment: next; margin-bottom: 10px; }
.rj-next-item {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
  padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper);
  color: var(--ink); text-decoration: none;
}
.rj-next-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--line); color: var(--forest); font-weight: 800;
}
.rj-next-mark::before { content: counter(next); }
.rj-next li.is-done .rj-next-mark { background: var(--leaf); border-color: var(--leaf); }
.rj-next li.is-done .rj-next-mark::before {
  content: ''; width: 14px; height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1 5.5l4 4L13 1.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.rj-next-text strong { display: block; font-size: 16px; }
.rj-next-text span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text); }
.rj-next-go { padding: 6px 12px; border-radius: 999px; background: var(--leaf); color: #FFFFFF; font-size: 13px; font-weight: 700; }
.rj-next li.is-done .rj-next-go { background: var(--mist); color: var(--forest); }

.rj-doc {
  display: flex; gap: 12px; align-items: center; margin: 0 0 18px; padding: 14px 16px;
  border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.rj-doc svg { width: 28px; height: 28px; color: var(--leaf-dark); flex: none; }
.rj-doc strong { display: block; }
.rj-doc small { color: var(--text); }
.rj-foot { text-align: center; }

@media (min-width: 720px) {
  .rj-main { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; }
}
