/* F3DS Core front-end: registration form, seller hub, rider app, tracking.
   Builds on the F3DS theme's tokens.css + components.css. */

.f3-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Apps (seller hub, rider) are phone-width columns, even on desktop */
.f3-app { display: flex; flex-direction: column; gap: 16px; max-width: 480px; margin: 0 auto; padding: 16px 0 32px; }
.f3-app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.f3-app-empty { margin: 0; padding: 18px; border-radius: var(--radius-md); background: var(--surface-sunk); color: var(--ink-muted); text-align: center; font-size: 14px; }
.f3-app-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--red-soft); font-size: 13px; line-height: 18px; }
.f3-app-gate { max-width: 420px; margin: 32px auto; padding: 28px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); text-align: center; }
.f3-app-gate > .f3-icon { color: var(--red); }
.f3-app-gate h2 { margin: 8px 0 6px; font-size: 26px; }
.f3-app-gate p { color: var(--ink-muted); }
.f3-app-gate form { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.f3-app-gate input[type="text"], .f3-app-gate input[type="password"] { width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--surface-raised); color: var(--ink); }
.f3-app-gate input[type="submit"] { width: 100%; height: 52px; border: 0; border-radius: var(--radius-pill); background: var(--red); color: var(--on-red); font: 650 15px/1 var(--font-sans); box-shadow: var(--shadow-red); cursor: pointer; }
.f3-hub-h { margin: 8px 0 -6px; }
.f3-hub-stats { gap: 10px; }
.f3-open-toggle { margin: 0; }
.f3-open-toggle .f3-switch { cursor: pointer; }
.f3-rider-app .f3-rider-top { padding-top: 18px; border-radius: 28px; }
.f3-stops a { color: var(--red-ink); font-weight: 600; }
.f3-vorder-a { display: block; }
.f3-vorder-a .f3-btn-block { width: 100%; }

/* Registration form */
.f3-apply { max-width: 640px; margin: 0 auto; padding: 8px 0 40px; display: flex; flex-direction: column; gap: 20px; }
.f3-apply-intro h2 { margin: 6px 0 10px; font-size: 40px; line-height: .95; }
.f3-apply-intro h2 span { color: var(--red); }
.f3-apply-intro p { margin: 0 0 16px; color: var(--ink-muted); font-size: 16px; line-height: 24px; }
.f3-apply-steps { color: var(--ink); }
.f3-apply-form { display: flex; flex-direction: column; gap: 16px; }
.f3-apply-type { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
@media (min-width: 560px) { .f3-apply-type { grid-template-columns: 1fr 1fr; } .f3-apply-type legend { grid-column: 1 / -1; } }
.f3-apply-type .f3-opt { position: relative; }
.f3-apply-type .f3-opt input { position: absolute; opacity: 0; pointer-events: none; }
.f3-apply-type .f3-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.f3-apply-type .f3-opt:has(input:checked) .f3-opt-ico { background: var(--night); color: var(--saffron); }
.f3-apply-type .f3-opt:has(input:checked) .f3-radio { box-shadow: inset 0 0 0 7px var(--red); }
.f3-apply-type .f3-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.f3-field-box select { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 15px/1 var(--font-sans); }
.f3-field-area { height: auto; padding: 10px 14px; }
.f3-field-area textarea { flex: 1; min-height: 72px; border: 0; outline: 0; resize: vertical; background: transparent; color: var(--ink); font: 500 15px/1.4 var(--font-sans); }
.f3-apply-done { align-items: center; text-align: center; padding: 40px 20px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.f3-apply-done-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--success); color: #fff; transform: rotate(-6deg); animation: f3-pop .5s; }
.f3-apply-done h2 { margin: 0; font-size: 30px; }
.f3-apply-done p { margin: 0; max-width: 420px; color: var(--ink-muted); }

/* Tracking (thank-you + view order) */
.f3-track-box { display: flex; flex-direction: column; gap: 14px; margin: 0 0 24px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.f3-track-box .f3-track-h { margin: 4px 0 0; font-size: 24px; }

/* Checkout: one country, one city */
.woocommerce .f3-hidden-field { display: none !important; }

/* Cart / checkout rider note */
.woocommerce .f3-ridernote { margin: 0 0 16px; }

/* =========================================================
   F3DS sign-in page
   ========================================================= */
.f3-login { display: grid; gap: 0; max-width: 1040px; margin: 16px auto 40px; border-radius: 28px; overflow: hidden; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
@media (min-width: 900px) { .f3-login { grid-template-columns: 1.05fr 1fr; } }
.f3-login-top { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 280px; padding: 40px 24px 28px; background: var(--night); color: var(--on-night); }
.f3-login-bars { position: absolute; top: 18px; right: -40px; width: 300px; height: 230px; }
.f3-login-bars .bar { transform-box: fill-box; animation: f3-slide-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.f3-login-bars .b-red { fill: var(--red); } .f3-login-bars .b-saf { fill: var(--saffron); }
.f3-login-top h1 { position: relative; overflow-wrap: normal; word-break: normal; hyphens: none; margin: 24px 0 0; color: var(--on-night) !important; font: 900 44px/.92 var(--font-display); font-stretch: 125%; letter-spacing: -0.02em; animation: f3-rise .7s .1s cubic-bezier(.2, .8, .2, 1) both; }
.f3-login-top h1 em { font-style: normal; color: var(--saffron); }
.f3-login-top p { position: relative; margin: 0; max-width: 340px; color: var(--on-night-muted); font-size: 15px; line-height: 22px; animation: f3-rise .7s .2s cubic-bezier(.2, .8, .2, 1) both; }
@media (min-width: 900px) { .f3-login-top { min-height: 560px; padding: 48px; } .f3-login-top h1 { font-size: 64px; } .f3-login-bars { width: 420px; height: 320px; } }
.f3-login-body { display: flex; flex-direction: column; gap: 16px; padding: 28px 20px 32px; }
@media (min-width: 900px) { .f3-login-body { padding: 48px 44px; justify-content: center; } }
.f3-login-form { display: flex; flex-direction: column; gap: 14px; }
.f3-login-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.f3-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.f3-check input { width: 18px; height: 18px; accent-color: var(--red); }
.f3-pw-toggle { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0 !important; border: 0 !important; border-radius: 50%; background: transparent !important; color: var(--ink-muted) !important; cursor: pointer; }
.f3-pw-toggle[aria-pressed="true"] { color: var(--red) !important; }
.f3-login-ok { background: var(--success-soft); }
.f3-login-ok > .f3-icon { color: var(--success); }
.f3-app-gate .f3-login-form { margin-top: 16px; text-align: left; }

/* =========================================================
   Work apps: seller hub + rider
   ========================================================= */
.f3-app { max-width: 560px; }
.f3-hub-tabs { display: none; }
.f3-tabs a.f3-tab { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink-muted); }
.f3-tabs a.f3-tab[aria-selected="true"] { color: var(--ink); background: var(--surface-raised); box-shadow: var(--shadow-1); }
.f3-tab em { font: 700 10px/1 var(--font-mono); font-style: normal; padding: 3px 6px; border-radius: 6px; background: var(--red); color: var(--on-red); }
.f3-app-nav { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 480px; margin: 0 auto; }
.f3-nav-3 { grid-template-columns: repeat(3, 1fr); align-items: center; padding-bottom: 0; }
.f3-app-nav .f3-nav-item { text-decoration: none; }
body.f3-work-app { padding-bottom: 104px !important; }
@media (min-width: 768px) {
	.f3-app { max-width: 760px; }
	.f3-hub-tabs { display: flex; }
	.f3-app-nav { display: none; }
	body.f3-work-app { padding-bottom: 24px !important; }
	.f3-hub .f3-grid2.f3-hub-stats { grid-template-columns: repeat(4, 1fr); }
}
.f3-flash-msg { animation: f3-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.f3-flash-msg.is-ok { background: var(--success-soft); }
.f3-flash-msg.is-ok > .f3-icon { color: var(--success); }
.f3-range { margin-top: -4px; }
.f3-hub .f3-payout .f3-num { font-size: 34px; line-height: 38px; }
a.f3-newjob, a.f3-newjob * { text-decoration: none !important; color: var(--ink); }
a.f3-newjob small { color: var(--ink-muted); }
.f3-vorder-when { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--info-soft); color: var(--info); font: 700 12px/16px var(--font-sans); }
.f3-vorder-timer span { font-family: var(--font-mono); }

/* Vendor products */
.f3-vprods { display: flex; flex-direction: column; gap: 10px; }
.f3-vprod { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.f3-vprod.is-out { background: var(--surface-sunk); }
.f3-vprod.is-out .f3-thumb-art { filter: grayscale(1); opacity: .6; }
.f3-vprod-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f3-vprod-main b { font: 700 15px/20px var(--font-sans); }
.f3-vprod-main small { color: var(--ink-muted); font-size: 12px; }
.f3-vprod-a { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.f3-vprod-a form { margin: 0; }
.f3-price-edit summary { list-style: none; cursor: pointer; }
.f3-price-edit summary::-webkit-details-marker { display: none; }
.f3-price-edit[open] summary { background: var(--night) !important; color: var(--on-night) !important; box-shadow: none !important; }
.f3-price-edit form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; margin-top: 8px; padding: 10px; border-radius: var(--radius-sm); background: var(--surface-sunk); }
.f3-price-edit label { display: flex; flex-direction: column; gap: 4px; font: 600 12px/16px var(--font-sans); }
.f3-price-edit input { width: 110px; height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--surface-raised); color: var(--ink); font: 600 14px/1 var(--font-mono); }

/* Add product: photo */
.f3-photo-drop { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--surface-sunk); box-shadow: inset 0 0 0 2px var(--line-strong); background-image: repeating-linear-gradient(-12deg, transparent 0 14px, rgba(22, 13, 15, .035) 14px 28px); overflow: hidden; cursor: pointer; transition: box-shadow .2s; }
.f3-photo-drop:hover, .f3-photo-drop.is-drag { box-shadow: inset 0 0 0 2px var(--red); }
.f3-photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.f3-photo-drop-in { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--ink-muted); pointer-events: none; }
.f3-photo-drop-in b { color: var(--ink); font-size: 15px; }
.f3-photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f3-photo-drop.has-img .f3-photo-drop-in { display: none; }

/* Rider earnings chart */
.f3-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 170px; padding: 16px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.f3-bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.f3-bar-col i { width: 100%; max-width: 28px; height: var(--h); min-height: 4px; border-radius: 6px 6px 2px 2px; background: var(--red); transform-origin: bottom; animation: f3-grow-y .9s cubic-bezier(.2, .8, .2, 1) both; }
.f3-bar-col:last-child i { background: var(--saffron); }
.f3-bar-col span { font: 700 12px/1 var(--font-mono); }
.f3-bar-col small { font: 600 11px/1 var(--font-sans); color: var(--ink-muted); }
@keyframes f3-grow-y { from { transform: scaleY(0); } to { transform: none; } }
.f3-job .f3-map { border-radius: var(--radius-md); }
.f3-track-box .f3-map { border-radius: var(--radius-md); position: relative; }
.f3-track-box .f3-eta { bottom: 12px; }
@media (max-width: 420px) { .f3-login-top h1 { font-size: 34px; } .f3-login { margin-top: 8px; border-radius: 22px; } }

/* =========================================================
   Live GPS maps (Leaflet)
   ========================================================= */
.f3-live-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.f3-live-map { width: 100%; background: var(--surface-sunk); z-index: 0; }
.f3-live-wrap .f3-eta { position: absolute; right: 12px; bottom: 12px; z-index: 500; }
.f3-live-wrap .f3-eta[hidden], .f3-gps-chip[hidden] { display: none !important; }
.f3-gps-chip { position: absolute; left: 12px; top: 12px; z-index: 500; max-width: calc(100% - 70px); padding: 6px 10px; border-radius: var(--radius-pill); background: var(--night); color: var(--on-night); font: 600 12px/16px var(--font-sans); box-shadow: var(--shadow-2); }
.f3-lm { background: none !important; border: 0 !important; }
.f3-lm em { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; background: var(--night); color: var(--on-night); font: 700 11px/16px var(--font-sans); font-style: normal; white-space: nowrap; box-shadow: var(--shadow-1); pointer-events: none; }
.f3-lm-rider { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #fff, var(--shadow-red); }
.f3-lm-rider i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.f3-lm-rider::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: var(--red); opacity: .25; animation: f3-halo 1.6s ease-out infinite; z-index: -1; }
.f3-lm-rider.is-me { background: var(--saffron); }
.f3-lm-rider.is-me i { background: var(--night); }
.f3-lm-rider.is-me::after { background: var(--saffron); }
.f3-lm-store { display: block; width: 26px; height: 26px; margin: 2px; border-radius: 8px; background: var(--night); box-shadow: 0 0 0 3px #fff, var(--shadow-1); }
.f3-lm-store::after { content: ""; display: block; width: 10px; height: 10px; margin: 8px; border-radius: 2px; background: var(--saffron); }
.f3-lm-home { display: block; width: 26px; height: 26px; margin: 2px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); box-shadow: 0 0 0 3px #fff, var(--shadow-red); }
.f3-lm-home::after { content: ""; display: block; width: 9px; height: 9px; margin: 8.5px; border-radius: 50%; background: #fff; }
.leaflet-container { font-family: var(--font-sans); }
.leaflet-control-attribution { font-size: 10px !important; }

/* Rider GPS status */
.f3-gps-status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .1); color: var(--on-night); font: 600 12px/16px var(--font-sans); }
.f3-gps-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }
.f3-gps-status:has([data-state="live"]) i { background: #40d693; box-shadow: 0 0 0 4px rgba(64, 214, 147, .25); animation: f3-pulse 1.8s infinite; }
.f3-gps-status:has([data-state="off"]) i { background: var(--red); }

/* Checkout: pin my location */
.f3-pin-me { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 16px; }
.f3-pin-me .f3-btn.is-done { box-shadow: inset 0 0 0 2px var(--success) !important; color: var(--success) !important; }
.f3-pin-note { font: 600 12px/16px var(--font-sans); color: var(--success); }
/* ---------- Delivery price breakdown (cart + checkout) ---------- */
.f3-feebox { margin: 10px 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-sunk); font: 500 13px/18px var(--font-sans); color: var(--ink); }
.f3-feebox-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.f3-feebox-row b { font-variant-numeric: tabular-nums; }
.f3-feebox-row.is-free { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line-strong); color: var(--red-ink); font-weight: 700; }
.f3-feebox-note { margin: 6px 0 0; color: var(--ink-muted); font-size: 12px; }

/* ---------- Rider: job offer sheet ---------- */
.f3-offer { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(22, 13, 15, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.f3-offer[hidden] { display: none !important; }
.f3-offer-card { position: relative; width: 100%; max-width: 440px; padding: 22px 18px 18px; border-radius: 24px; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-2); animation: f3-offer-in .42s cubic-bezier(.2, .9, .3, 1.2) both; }
.f3-offer-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 24px 24px 0 0; background: linear-gradient(90deg, var(--red) 0 70%, var(--saffron) 70%); }
@keyframes f3-offer-in { from { transform: translateY(40px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.f3-offer-ring { position: absolute; right: 16px; top: 18px; width: 52px; height: 52px; display: grid; place-items: center; }
.f3-offer-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.f3-offer-ring circle { fill: none; stroke: var(--line); stroke-width: 4; }
.f3-offer-ring circle.is-left { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear; }
.f3-offer-ring b { position: relative; font: 800 16px/1 var(--font-sans); font-variant-numeric: tabular-nums; }
.f3-offer-pay { margin: 6px 0 12px; font: 800 34px/1.05 var(--font-display, var(--font-sans)); letter-spacing: -.02em; }
.f3-offer-pay b { color: var(--red-ink); }
.f3-offer-facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.f3-offer-facts li { display: flex; align-items: center; gap: 10px; font: 600 14px/19px var(--font-sans); }
.f3-offer-facts li[hidden] { display: none; }
.f3-offer-facts svg { flex: none; color: var(--ink-muted); }
.f3-offer-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.f3-offer.is-busy .f3-offer-actions { opacity: .5; pointer-events: none; }
html.f3-offer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .f3-offer-card { animation: none; } }
/* ---------- Self-service signup (shops, riders) ---------- */
.f3-form-step { display: flex; align-items: center; gap: 10px; margin: 18px 0 2px; font: 800 17px/22px var(--font-display, var(--font-sans)); letter-spacing: -.01em; color: var(--ink); }
.f3-form-step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--night); color: var(--saffron); font: 800 13px/1 var(--font-mono); transform: skewX(-12deg); }
.f3-form-step small { font: 500 12px/1 var(--font-sans); color: var(--ink-muted); }
.f3-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f3-plans .f3-plan, .f3-site .f3-plans .f3-plan { position: relative; min-width: 0; padding: 14px 14px 12px; line-height: 1.3; }
.f3-plans .f3-plan small { line-height: 16px; }
.f3-plans .f3-plan input { position: absolute; opacity: 0; pointer-events: none; }
.f3-plans .f3-plan:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); background: var(--red-soft); }
.f3-plans .f3-plan:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.f3-plans.is-error .f3-plan { box-shadow: inset 0 0 0 1.5px var(--red); }
.f3-paychips { display: flex; flex-wrap: wrap; gap: 8px; }
.f3-chip-radio { position: relative; cursor: pointer; }
.f3-chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.f3-chip-radio span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 13px/1 var(--font-sans); color: var(--ink); transition: background-color .2s, box-shadow .2s; }
.f3-chip-radio input:checked + span { background: var(--night); color: var(--on-night); box-shadow: none; }
.f3-chip-radio input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.f3-agree { align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-sunk); font-size: 13px; line-height: 18px; }
.f3-agree input { flex: none; margin-top: 1px; }
.f3-agree.is-error { box-shadow: inset 0 0 0 1.5px var(--red); }
.f3-photo-drop-sm { aspect-ratio: auto; min-height: 120px; padding: 18px; }
.f3-pwbox { margin-top: 12px; }
.f3-pwbox > summary { list-style: none; }
.f3-pwbox > summary::-webkit-details-marker { display: none; }
.f3-pwbox[open] > summary { margin-bottom: 10px; }
.f3-pedit[open] { flex-basis: 100%; }
.f3-pedit > form { margin-top: 10px; }
.f3-vprod:has(.f3-pedit[open]) { flex-wrap: wrap; }
.f3-danger-link { margin-top: 8px; border: 0; background: none; padding: 4px 0; color: var(--red-ink); font: 600 13px/1 var(--font-sans); cursor: pointer; text-decoration: underline; }
.f3-field-hint a, .f3-auth-legal a { color: var(--red-ink); }
@media (max-width: 380px) { .f3-plans { grid-template-columns: 1fr; } }
/* Two-up fields never push past the screen; fieldsets without browser borders. */
.f3-apply-form .f3-grid2 > *, .f3-app .f3-grid2 > * { min-width: 0; }
.f3-field-box > input, .f3-field-box > select, .f3-field-box > textarea { min-width: 0; }
fieldset.f3-field, fieldset.f3-apply-type { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.f3-field > legend { padding: 0; margin-bottom: 8px; font: 600 13px/18px var(--font-sans); }
.f3-rider-app .f3-list-main b, .f3-hub .f3-list-main b { white-space: normal; overflow-wrap: anywhere; }
/* Product edit (Seller hub): a full-width form under the product. */
.f3-pedit > summary { list-style: none; cursor: pointer; }
.f3-pedit > summary::-webkit-details-marker { display: none; }
.f3-pedit[open] > summary { background: var(--night) !important; color: var(--on-night) !important; box-shadow: none !important; }
.f3-pedit[open] { flex: 1 1 100%; width: 100%; }
.f3-pedit > form.f3-apply-form { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; padding: 14px; border-radius: var(--radius-md); background: var(--surface-sunk); }
.f3-pedit .f3-field label { display: block; text-align: left; }