/* Extra components for the pages added in the pilot-readiness pass.
   Loaded after site.css; uses its colour variables and only styles classes site.css doesn't define. */
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; padding: .5rem 1rem; border-radius: 8px; background: var(--surface); }
.flash-messages { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.flash { margin: 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--plum-wash); color: var(--plum-deep); }
.flash-success { border-color: #d2e3d9; background: #edf6f0; color: var(--success); }
.flash-error, .flash-warning { border-color: #eed7d9; background: #fff1f1; color: var(--danger); }
.page-intro { margin-bottom: 2rem; }
.panel, .task-card { margin: 1rem 0; padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.task-card { display: flex; justify-content: space-between; gap: 1rem; }
.task-card h2 { font-family: inherit; font-size: 1.04rem; font-weight: 700; }
.task-card p { margin: .35rem 0; color: var(--ink-soft); font-size: .9rem; }
.card-list { display: grid; gap: 1rem; }
.callout { margin: .75rem 0; padding: .9rem 1.1rem; border-left: 4px solid var(--brass); border-radius: 10px; background: var(--brass-wash); }
.callout p { margin: .25rem 0; }
.action-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .75rem; }
.action-row form { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 1rem 0 1.5rem; }
.stat { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink-soft); font-size: .85rem; }
.stat strong { display: block; color: var(--plum); font-family: var(--display, Georgia, serif); font-size: 1.8rem; }
details.inline-form { margin-top: .6rem; }
details.inline-form summary { color: var(--plum); font-weight: 650; cursor: pointer; }
details.inline-form form { margin-top: .6rem; }
.helptext { color: var(--muted); font-size: .85rem; }
.identity-photo { width: 140px; height: 140px; margin-top: .75rem; border-radius: 14px; object-fit: cover; }
.status-verified { border-color: #d2e3d9; background: #edf6f0; color: var(--success); }
.status-assigned { border-color: #f0dfbf; background: #fff8e9; color: #8a652b; }
.status-needs_update { border-color: #eed7d9; background: #fff1f1; color: var(--danger); }
@media (max-width: 760px) { .task-card { flex-direction: column; } }

/* ---- Rental date picker ---- */
.date-picker { margin: 1rem 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.picker-steps { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.picker-steps li { display: flex; align-items: center; gap: .55rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .86rem; font-weight: 650; }
.picker-steps li.is-current { border-color: var(--plum); background: var(--plum-wash); color: var(--plum-deep); }
.picker-steps li.is-done:not(.is-current) { color: var(--success); }
.picker-step-dot { display: grid; flex: none; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #efe9ee; font-size: .78rem; }
.is-current .picker-step-dot { background: var(--plum); color: #fff; }
.is-done:not(.is-current) .picker-step-dot { background: #dcefe3; color: var(--success); }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.picker-month { margin: 0; font-family: var(--display, Georgia, serif); font-size: 1.2rem; font-weight: 600; }
.picker-nav { min-width: 42px; min-height: 42px; padding: 0; border-color: var(--line); background: #fff; color: var(--plum); font-size: 1.3rem; }
.picker-nav:hover { background: var(--plum-wash); color: var(--plum-deep); }
.picker-nav:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.picker-weekdays, .picker-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.picker-weekdays span { padding: .25rem 0; color: var(--muted); font-size: .72rem; font-weight: 700; text-align: center; }
.picker-day { min-width: 0; min-height: 44px; padding: 0; border: 1px solid transparent; border-radius: 10px; background: #f4f8f5; color: var(--ink); font-size: .92rem; font-weight: 600; }
.picker-day:hover:not(:disabled) { border-color: var(--plum); background: var(--plum-wash); color: var(--plum-deep); box-shadow: none; transform: none; }
.picker-day:disabled { cursor: default; }
.picker-day.is-past { background: transparent; color: #c9c0c8; }
.picker-day.is-taken { background: repeating-linear-gradient(135deg, #f3edf1 0 6px, #ebe3e9 6px 12px); color: #a89ca6; text-decoration: line-through; }
.picker-day.is-today { box-shadow: inset 0 0 0 2px var(--brass); }
.picker-day.is-reachable { background: #eaf5ee; }
.picker-day.is-between { border-radius: 4px; background: #e6d4de; color: var(--plum-deep); }
.picker-day.is-start, .picker-day.is-end, .picker-day.is-start:hover, .picker-day.is-end:hover { border-color: var(--plum); background: var(--plum); color: #fff; }
.picker-day:disabled.is-start, .picker-day:disabled.is-end { opacity: 1; }
.picker-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .8rem 0 .4rem; color: var(--muted); font-size: .76rem; }
.legend-chip { display: inline-flex; align-items: center; gap: .35rem; }
.legend-chip::before { width: 14px; height: 14px; border-radius: 4px; content: ""; }
.chip-free::before { background: #f4f8f5; border: 1px solid #d5e6da; }
.chip-taken::before { background: repeating-linear-gradient(135deg, #f3edf1 0 3px, #e3d8e0 3px 6px); }
.chip-chosen::before { background: var(--plum); }
.picker-summary { margin-top: .6rem; padding: .85rem 1rem; border-radius: 12px; background: var(--brass-wash); color: var(--ink-soft); font-size: .9rem; }
.picker-summary p { margin: 0; }
.picker-totals { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; }
.picker-totals dt { color: var(--muted); }
.picker-totals dd { margin: 0; color: var(--ink); font-weight: 650; }
.text-button { min-height: auto; margin-top: .5rem; padding: .25rem 0; border: 0; background: none; color: var(--plum); font-size: .85rem; font-weight: 650; text-decoration: underline; }
.text-button:hover { background: none; color: var(--plum-deep); box-shadow: none; transform: none; }
.picker-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.picker-fields p { display: grid; gap: .35rem; margin: 0; }
.picker-fields label { color: var(--ink-soft); font-size: .79rem; font-weight: 650; }
.has-date-picker .picker-fields { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.has-date-picker .picker-fields:has(.field-error) { position: static; width: auto; height: auto; clip: auto; }
.field-error { color: var(--danger); font-size: .82rem; }
.form-errors .errorlist { margin: .5rem 0; }
.booking-submit { width: 100%; }
.booking-submit:disabled { border-color: #d9cfd7; background: #e9e1e7; color: #8b7f89; cursor: not-allowed; transform: none; box-shadow: none; }

/* Booking page */
.booking-intro h1 { font-size: clamp(2rem, 4vw, 3rem); }
.booking-meta { margin: 0 0 1rem; color: var(--ink-soft); }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.booking-side { position: sticky; top: 100px; display: grid; gap: 1rem; }
.booking-side .panel { margin: 0; }
.booking-side h2 { margin-bottom: .75rem; font-size: 1.3rem; }
.detail-booking { display: grid; gap: .75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.detail-booking h2 { font-size: 1.35rem; }
.detail-booking .date-picker { margin: 0; }
.detail-booking .help-text { margin: 0; }
.check-list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: .9rem; }
.check-list li::before { position: absolute; top: .15rem; left: 0; display: grid; width: 1.1rem; height: 1.1rem; place-items: center; border-radius: 50%; background: #e3f1e8; color: var(--success); font-size: .7rem; font-weight: 800; content: "✓"; }
.check-list strong { color: var(--ink); }
.guide-box { margin: 1rem 0 1.5rem; padding: 1rem 1.15rem; border: 1px solid #eadfc9; border-radius: 14px; background: #fffbf3; }
.guide-box summary { color: var(--plum-deep); font-weight: 700; cursor: pointer; }
.guide-box[open] summary { margin-bottom: .75rem; }
.guide-box > p { margin: .6rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.mini-steps { display: grid; gap: .45rem; margin: 0; padding-left: 1.2rem; color: var(--ink-soft); font-size: .9rem; }
.id-steps { display: grid; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; counter-reset: idstep; }
.id-steps li { display: grid; grid-template-columns: 28px 1fr; gap: .1rem .7rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 12px; counter-increment: idstep; }
.id-steps li::before { grid-row: span 2; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #efe9ee; color: var(--ink-soft); font-size: .8rem; font-weight: 700; content: counter(idstep); }
.id-steps li.is-current { border-color: var(--plum); background: var(--plum-wash); }
.id-steps li.is-current::before { background: var(--plum); color: #fff; }
.id-steps li.is-done::before { background: #dcefe3; color: var(--success); content: "✓"; }
.id-steps span { color: var(--muted); font-size: .85rem; }

/* Home: three ways in */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2rem; }
.path { --accent: var(--rani); display: flex; flex-direction: column; gap: .4rem; padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; }
.path:hover { border-color: #d2c2cf; color: var(--ink); box-shadow: var(--shadow-md); }
.path h2 { font-size: 1.3rem; }
.path p { flex: 1; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.path-link { color: var(--plum); font-size: .84rem; font-weight: 700; }
.path-lend { --accent: var(--marigold); }
.path-serve { --accent: var(--peacock); }
.path-serve .path-link { color: #0b6670; }
.path-lend .path-link { color: #9a4c0c; }
.path-rent .path-link { color: #a8226b; }

/* How it works */
.guide-page { max-width: 980px; margin: 0 auto; }
.guide-intro h1 { margin-bottom: .6rem; }
.guide-lede { max-width: 680px; margin: 0 0 1.25rem; color: var(--ink-soft); font-size: 1.05rem; }
.guide-nav { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; padding: .5rem; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 254 253 / 94%); backdrop-filter: blur(6px); }
.guide-nav a { padding: .45rem .75rem; border-radius: 9px; color: var(--ink-soft); font-size: .86rem; font-weight: 650; text-decoration: none; }
.guide-nav a:hover { background: var(--plum-wash); color: var(--plum-deep); }
.guide-section { --accent: var(--plum); --accent-wash: var(--plum-wash); scroll-margin-top: 140px; margin: 0 0 2.5rem; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 20px; background: var(--surface); }
.guide-renter { --accent: var(--rani); --accent-ink: #a8226b; --accent-wash: #fbeaf3; }
.guide-owner { --accent: var(--marigold); --accent-ink: #9a4c0c; --accent-wash: #fdf0e2; }
.guide-services { --accent: var(--peacock); --accent-ink: #0b6670; --accent-wash: #e5f3f4; }
.guide-payments { --accent: var(--indigo); --accent-wash: #eceef8; }
.guide-trust { --accent: var(--leaf); --accent-ink: #2e6e39; --accent-wash: #ebf5ec; }
.guide-heading { margin-bottom: 1.25rem; }
.guide-heading h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.guide-heading p { max-width: 640px; margin: .45rem 0 0; color: var(--ink-soft); }
.guide-steps { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-steps li { position: relative; padding: .6rem 0 .9rem 3rem; counter-increment: guide; }
.guide-steps li::before { position: absolute; top: .55rem; left: 0; display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--accent-wash); color: var(--accent-ink, var(--accent)); font-weight: 750; content: counter(guide); }
.guide-steps li:not(:last-child)::after { position: absolute; top: 2.75rem; bottom: -.1rem; left: 1rem; width: 1px; background: var(--line); content: ""; }
.guide-steps h3 { margin: .3rem 0 .25rem; }
.guide-steps p { max-width: 70ch; margin: 0; color: var(--ink-soft); font-size: .94rem; }
.guide-rules, .guide-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.guide-rules > div, .guide-columns > div, .guide-note { padding: 1rem 1.1rem; border-radius: 14px; background: var(--accent-wash); }
.guide-rules h3, .guide-columns h3, .guide-note h3 { margin-top: 0; color: var(--ink); }
.guide-rules ul { display: grid; gap: .4rem; margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .9rem; }
.guide-columns p, .guide-note p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.guide-note { margin-top: 1.25rem; }
.guide-cta { margin: 1.25rem 0 0; }


@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-side { position: static; }
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .date-picker { padding: .75rem; }
  .picker-steps { grid-template-columns: 1fr; }
  .picker-day { min-height: 40px; font-size: .85rem; }
  .picker-fields { grid-template-columns: 1fr; }
  .guide-nav { position: static; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.detail-info:has(.detail-booking) { position: static; }
.booking-calendar .date-picker { margin-top: 0; }

/* About */
.about-page { max-width: 980px; margin: 0 auto; }
.about-hero { padding: clamp(1.5rem, 5vw, 3rem) 0 1.5rem; }
.about-hero h1 { max-width: 22ch; }
.about-lede { max-width: 62ch; margin: 0; color: var(--ink-soft); font-size: 1.12rem; }
.about-threads { height: 10px; margin-top: 2rem; border-radius: 999px; background: var(--threads); }
.about-section { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.about-section:last-child { border-bottom: 0; }
.about-section > h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.about-prose { display: grid; gap: .9rem; max-width: 68ch; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.about-prose p { margin: 0; }
.about-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.about-pillar { --accent: var(--rani); padding: 1.2rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 16px; background: var(--surface); }
.about-pillar h3 { margin-top: 0; font-family: var(--display); font-size: 1.2rem; }
.about-pillar p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.pillar-lend { --accent: var(--marigold); }
.pillar-serve { --accent: var(--peacock); }
.about-principles { display: grid; gap: .75rem; max-width: 72ch; margin: 0; padding: 0; list-style: none; }
.about-principles li { padding: .85rem 1rem; border-left: 3px solid var(--zari); border-radius: 0 12px 12px 0; background: var(--surface); color: var(--ink-soft); }
.about-principles strong { color: var(--ink); }
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.founder-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.founder-card h3 { margin: .9rem 0 .1rem; font-family: var(--display); font-size: 1.35rem; }
.founder-card p { margin: .5rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.founder-card .founder-role { margin-top: 0; color: var(--plum); font-weight: 650; font-size: .88rem; }
.founder-photo, .founder-initial { display: grid; width: 84px; height: 84px; place-items: center; border-radius: 50%; object-fit: cover; }
.founder-initial { background: var(--plum-wash); color: var(--plum); font-family: var(--display); font-size: 2rem; }
.about-contact p { max-width: 60ch; color: var(--ink-soft); }
@media (max-width: 760px) { .about-pillars { grid-template-columns: 1fr; } }
.about-intro { max-width: 60ch; margin: -.25rem 0 1.25rem; color: var(--ink-soft); }

/* Three entrances: user site, owner portal, admin */
.header-link.is-active { background: var(--plum-wash); color: var(--plum); }
.header-attention { color: var(--danger); }
.header-switch { border: 1px solid var(--line); }
.is-owner-portal { background: rgb(255 251 244 / 96%); }
.is-owner-portal .brand-caption { color: #9a4c0c; }
.owner-hero { margin: .5rem 0 1.5rem; }
.owner-hero p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.id-gate { margin: 0 0 2rem; padding: 1.4rem 1.5rem; border: 1px solid #f0d9a8; border-left: 5px solid var(--haldi); border-radius: 16px; background: #fffaf0; }
.id-gate h2 { margin-bottom: .5rem; font-size: 1.4rem; }
.id-gate p { max-width: 68ch; color: var(--ink-soft); }
.owner-section { margin: 0 0 2rem; }
.owner-section > h2 { margin-bottom: 1rem; font-size: 1.45rem; }
.owner-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.owner-offer { --accent: var(--marigold); padding: 1.25rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 16px; background: var(--surface); }
.offer-services { --accent: var(--peacock); }
.owner-offer h3 { margin-top: 0; font-family: var(--display); font-size: 1.3rem; }
.owner-offer p { color: var(--ink-soft); }
.locked-note { color: var(--muted); font-size: .88rem; font-weight: 650; }
.locked-note::before { content: "🔒 "; }
.stat-link { color: var(--ink-soft); text-decoration: none; }
.stat-link:hover { border-color: var(--plum); color: var(--ink); }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ops-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ops-table th, .ops-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.ops-table th { color: var(--muted); font-size: .78rem; font-weight: 700; }
.ops-table tr:last-child td { border-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2rem; }
.service-card { --accent: var(--peacock); display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 16px; background: var(--surface); }
.service-card h2 { font-size: 1.3rem; }
.service-card p { flex: 1; margin: 0; color: var(--ink-soft); font-size: .94rem; }
.service-card .button-link { align-self: flex-start; }
.service-dry { --accent: var(--indigo); }
.service-laundry { --accent: var(--leaf); }
.service-form #id_service { display: grid; gap: .5rem; }
.service-form #id_service label { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 600; cursor: pointer; }
.service-form #id_service label:has(input:checked) { border-color: var(--plum); background: var(--plum-wash); }
.service-form input[type="radio"] { width: 18px; min-height: 18px; accent-color: var(--plum); }
.inline-quote { max-width: 420px; margin-top: .75rem; }
.status-quoted, .status-confirmed, .status-scheduled, .status-requested { border-color: #f0dfbf; background: #fff8e9; color: #8a652b; }
.status-picked_up, .status-in_service, .status-ready { border-color: #cfe3e5; background: #eaf5f6; color: #0b6670; }
.status-delivered { border-color: #d2e3d9; background: #edf6f0; color: var(--success); }
.status-cancelled { color: var(--muted); }
@media (max-width: 900px) { .owner-offer-grid, .service-grid { grid-template-columns: 1fr; } }

/* ID step at checkout */
.checkout-id { display: grid; gap: .85rem; margin: 0; padding: 1.25rem 1.35rem; }
.checkout-id legend { float: left; width: 100%; margin: 0 0 .1rem; padding: 0; color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.checkout-id > p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.checkout-id p:has(> input[type="checkbox"]) { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: .65rem; }
.checkout-id p:has(> input[type="checkbox"]) label { color: var(--ink-soft); font-size: .85rem; font-weight: 500; line-height: 1.45; }
.checkout-id input[type="checkbox"] { flex: none; width: 20px; min-height: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--plum); }
.checkout-id input[type="file"] { padding: .55rem; }

/* Switching between the user site and the owner portal */
.header-switch { display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; margin-left: .25rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--plum); font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-switch:hover { border-color: var(--plum); background: var(--plum-wash); color: var(--plum-deep); }
.is-owner-portal .header-switch { color: #9a4c0c; }
.switch-arrow { font-size: 1rem; line-height: 1; }
.count-badge { display: inline-grid; min-width: 1.25rem; height: 1.25rem; place-items: center; margin-left: .15rem; padding: 0 .3rem; border-radius: 999px; background: var(--kumkum); color: #fff; font-size: .7rem; font-weight: 800; }
.count-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--kumkum); }

/* Photo safety */
.photo-rules-box { margin: 0 0 1rem; padding: .9rem 1rem; border-left: 3px solid var(--leaf); border-radius: 0 10px 10px 0; background: #f1f8f2; color: var(--ink-soft); font-size: .9rem; }
.photo-rules-box p { margin: .3rem 0; }
.photo-form-row h3 { margin: 0 0 .5rem; font-size: .95rem; }
.consent-row { display: flex !important; flex-direction: row; align-items: flex-start; gap: .6rem; }
.consent-row input[type="checkbox"] { flex: none; width: 20px; min-height: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--plum); }
.consent-row label { display: inline; color: var(--ink-soft); font-size: .9rem; font-weight: 500; line-height: 1.45; }
.consent-row .field-error { flex-basis: 100%; }
.declarations { display: grid; gap: .7rem; }
.declarations legend { float: left; width: 100%; padding: 0; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.declarations > p:first-of-type { margin: 0; color: var(--muted); font-size: .88rem; }
.report-link { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.report-link a { color: var(--muted); }
.report-form #id_reason { display: grid; gap: .45rem; }
.report-form #id_reason label { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .92rem; font-weight: 600; }
.report-form input[type="radio"] { width: 18px; min-height: 18px; accent-color: var(--plum); }
.danger-text { color: var(--danger); }
[hidden] { display: none !important; }
.join-account-form p:has(> input[type="checkbox"]) { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: .6rem; }
.join-account-form p:has(> input[type="checkbox"]) label { color: var(--ink); font-size: .92rem; font-weight: 600; }

/* Locked (coming soon) features */
.header-link.is-locked { color: var(--muted); opacity: .75; }
.soon-badge { display: inline-block; margin-left: .2rem; padding: .05rem .4rem; border-radius: 999px; background: #efe9ee; color: var(--muted); font-size: .66rem; font-weight: 750; letter-spacing: .02em; vertical-align: middle; }
.path.is-locked, .owner-offer.is-locked { border-top-color: #d8cfd6; background: #faf8fa; }
.path.is-locked h2, .path.is-locked p, .owner-offer.is-locked h3, .owner-offer.is-locked p { color: var(--muted); }
.path.is-locked .path-link { color: var(--muted); }
.coming-soon { max-width: 620px; margin: 2rem auto; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: center; }
.coming-soon .lock-mark { display: block; margin-bottom: .5rem; font-size: 1.8rem; }
.coming-soon p { color: var(--ink-soft); }
.coming-soon .action-row { justify-content: center; }
.auth-create { display: grid; gap: .5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.auth-create p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.auth-create .button-link { width: 100%; }

/* Aadhaar verification */
.aadhaar-page .panel { margin: 1rem 0 .5rem; }
.aadhaar-page input[name="aadhaar_number"], .aadhaar-page input[name="otp"] { font-size: 1.2rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.aadhaar-sent { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.aadhaar-done { margin: 1rem 0; padding: 1rem 1.1rem; border: 1px solid #d2e3d9; border-radius: 14px; background: #edf6f0; }
.aadhaar-done p { margin: .15rem 0; color: var(--success); }
.aadhaar-restart, .aadhaar-withdraw { margin: .25rem 0 1rem; }
.verified-member { display: inline-flex; align-items: center; gap: .4rem; margin: .5rem 0; padding: .3rem .65rem; border-radius: 999px; background: #edf6f0; color: var(--success); font-size: .82rem; font-weight: 700; }

/* Purpose story on the home page (same look as the invite page) */
html { scroll-behavior: smooth; }
.purpose { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem); }
.purpose-kicker { margin: 0 0 .7rem; color: var(--plum); font-weight: 600; }
.purpose h1 { margin: 0 0 1.75rem; color: var(--ink); font: 600 clamp(2.4rem, 8vw, 5rem)/1.02 var(--display); letter-spacing: -.02em; }
.purpose-lead { margin: 0; max-width: 38ch; color: var(--ink-soft); font-size: clamp(1.08rem, 2.4vw, 1.3rem); line-height: 1.6; }
.purpose .hero-actions { margin-top: 1.75rem; }
.purpose-grid { display: grid; gap: 2.5rem; align-items: center; }
.wardrobe { margin: 0; padding: 0 .5rem 1rem; }
.wardrobe-rail { height: 8px; border-radius: 999px; background: var(--threads); box-shadow: 0 2px 0 rgb(43 18 48 / 12%); }
.wardrobe ul { display: flex; justify-content: space-between; gap: .75rem; margin: 0; padding: 0 4%; list-style: none; }
.tag-hang { position: relative; flex: 1 1 0; max-width: 200px; padding-top: var(--len); }
.tag-hang::before { position: absolute; top: 0; left: 50%; width: 2px; height: calc(var(--len) + 14px); background: #b9a8b5; transform: translateX(-50%); content: ""; }
.tag-card { position: relative; display: block; padding: 2.1rem .9rem 1rem; border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 6px 6px 14px 14px; background: var(--surface); box-shadow: 0 10px 24px -14px rgb(43 18 48 / 35%); transform: rotate(var(--tilt)); transform-origin: 50% 0; }
.tag-card::before { position: absolute; top: .7rem; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 2px #cdbfca; content: ""; }
.tag-card b { display: block; color: var(--ink); font: 600 1.08rem/1.2 var(--display); }
.tag-state { display: block; margin-top: .55rem; color: var(--c); font-weight: 700; font-size: .95rem; }
.tag-note { display: block; margin-top: .25rem; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.story-band { padding: 2.5rem 0 .5rem; border-top: 1px solid var(--line); }
.story-band-tight { padding-bottom: 1.5rem; }
.story-band h2 { margin: 0 0 .9rem; color: var(--ink); font: 600 clamp(1.6rem, 5vw, 2.2rem)/1.15 var(--display); }
.story-band > p { margin: 0; max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.facts { display: grid; gap: 1.75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.fact { padding-left: 1rem; border-left: 4px solid var(--c); }
.fact p { margin: .5rem 0 .35rem; color: var(--ink); line-height: 1.55; }
.fact .fact-fig { margin: 0; color: var(--c); font: 600 clamp(2.6rem, 10vw, 3.6rem)/1 var(--display); letter-spacing: -.02em; }
.fact-unit { margin-left: .1em; font-size: .45em; letter-spacing: 0; }
.fact-src { color: var(--muted); font-size: .82rem; }
.results-title { margin: .5rem 0 1rem; font: 600 clamp(1.8rem, 5vw, 2.4rem)/1.1 var(--display); }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
@media (min-width: 900px) {
  .purpose h1 span { display: block; white-space: nowrap; }
  .purpose-grid { grid-template-columns: 1fr 1.05fr; gap: 3rem; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) { .tag-card { padding: 1.9rem .6rem .8rem; } .tag-card b { font-size: .95rem; } .tag-note { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
