/* Studio redesign (owner's pick, 5 Oct 2026): option 2 "Same look, tidier" with option 1's wedding timeline.
   Home, More and the timeline settings. Presentation only: behaviour lives in occasi-dashboard-ui.js,
   occasi-studio-timeline.js and occasi-customer-studio.js. Loaded last so it settles the older layers. */
@media screen{
 /* Menu: the forest sidebar, with the current section marked by a soft gold rule. */
 .studio-body .studio-nav button{color:#e3ebe5}
 .studio-body .studio-nav button:hover:not([aria-current]){background:#ffffff0f}
 .studio-body .studio-nav button[aria-current]{background:#ffffff17;color:#fffef9;font-weight:600;box-shadow:inset 3px 0 0 #d5c29b}
 .studio-body .mobile-dock [hidden]{display:none!important}
 .studio-body .sidebar-bottom{display:grid;justify-items:start;gap:2px}

 /* Home heading: names, date, venue and the countdown in one line. */
 .studio-body .home-heading{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 24px;margin-bottom:24px}
 .studio-body .home-heading h1{font:500 47px/1.08 var(--serif);letter-spacing:-.02em;color:var(--forest);font-variant-numeric:lining-nums}
 .studio-body .home-heading p{margin-top:6px;font-size:16px;color:var(--muted);max-width:none}

 /* Timeline card */
 .home-timeline-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:14px 16px 18px;margin:0 0 18px}
 .home-card-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 14px;margin-bottom:14px}
 .studio-body .home-timeline-card .home-card-head h2{font:500 13px/1.4 var(--sans);letter-spacing:0;color:var(--muted)}
 .home-card-head .text-link{font-size:13px}
 .home-timeline{list-style:none;margin:0;padding:4px 0 0;display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));align-items:start}
 .home-timeline li{position:relative;padding:0 6px;text-align:center;font-size:13px;line-height:1.4}
 .home-timeline li::before{content:"";position:relative;z-index:1;display:block;box-sizing:border-box;width:12px;height:12px;margin:0 auto 10px;border-radius:50%;background:var(--forest)}
 .home-timeline li.is-ahead::before{background:var(--white);border:1.5px solid var(--forest)}
 .home-timeline li.is-today::before{width:16px;height:16px;margin:-2px auto 8px;background:#d5c29b;box-shadow:0 0 0 5px #d5c29b55}
 .home-timeline li:not(:last-child)::after{content:"";position:absolute;top:6px;left:50%;width:100%;border-top:1px solid #b9c4b3}
 .home-timeline b{display:block;font-weight:600;color:var(--ink)}
 .home-timeline span{display:block;color:var(--muted);font-variant-numeric:tabular-nums}
 .home-timeline li.is-today b{color:#806437}

 /* Replies bar: each part opens the matching guest view. Counted in guests. */
 .home-rsvp{display:flex;min-height:62px;margin:0 0 30px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
 .home-rsvp-part{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-basis:0;min-width:150px;padding:0 20px;border:0;border-radius:0;font:500 16px var(--sans);text-align:left;cursor:pointer}
 .home-rsvp-part span{white-space:nowrap}
 .home-rsvp-part strong{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}
 .home-rsvp-part.is-coming{background:var(--forest);color:#fffef9}
 .home-rsvp-part.is-waiting{background:#d5c29b;color:var(--forest)}
 .home-rsvp-part.is-declined{background:#e3e4dc;color:var(--ink)}
 .home-rsvp-part:hover{box-shadow:inset 0 -3px 0 #00000026}
 .studio-body .home-rsvp-part:focus-visible{outline-offset:-5px}

 /* Two columns: the next step and replies, then the invitation. */
 .home-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:40px;align-items:start}
 .home-main{display:grid;gap:34px;min-width:0}
 .studio-body .home-next h2{margin:0 0 18px;font:500 44px/1.06 var(--serif);letter-spacing:-.02em;color:var(--forest);font-variant-numeric:lining-nums}
 .studio-body .home-next .button.primary{min-height:48px;padding:0 24px;font-size:14px}
 .home-next p{margin:12px 0 0;max-width:62ch;font-size:14px;line-height:1.6;color:var(--muted)}
 .studio-body .home-recent .home-card-head h2{font-size:20px}
 .home-replies{list-style:none;margin:0;padding:0 20px;background:var(--white);border:1px solid var(--line);border-radius:12px}
 .home-replies li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto;gap:4px 18px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}
 .home-replies li:first-child{border-top:0}
 .home-replies strong{font-size:15px}
 .home-reply-meta{font-size:13px;color:var(--muted)}
 .home-dietary{font-weight:600;color:#8a3b12}
 .home-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;font-weight:600}
 .home-status::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
 .home-status.is-coming{color:var(--forest)}
 .home-status.is-declined{color:#6b6b63}
 .home-new{margin-left:6px;font-size:11px;font-style:normal;font-weight:700;color:#806437}
 .home-empty{padding:20px;border:1px dashed var(--line);border-radius:12px;background:var(--white);color:var(--muted)}
 .home-invitation{position:sticky;top:24px;display:grid;gap:12px}
 .home-invitation .invitation-preview{display:block;width:100%;height:auto;aspect-ratio:3/4;min-height:0;margin:0;overflow:hidden;border-radius:10px;background:#edf0e8}
 .home-invitation .design-cover{height:100%;min-height:0;aspect-ratio:auto}
 .home-invitation .design-cover-type{padding:26px 18px;background:linear-gradient(0deg,#fffef9de,#fffef92e);color:#243d30}
 .home-invitation .design-cover-type strong{font-size:36px}
 .home-invitation .design-cover-type>span{font-size:8px;letter-spacing:.14em}
 .home-invitation .design-cover-type small{font-size:10px}
 .home-invitation .design-cover-type em{font-size:21px}
 .home-invitation-caption{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px;font-size:14px}
 .home-invitation .button{width:100%}
 .home-invitation .text-link{justify-self:center}

 /* More */
 .more-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .more-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:4px 14px;width:100%;min-height:76px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
 .more-item:hover{border-color:#b8c6af}
 .more-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--green);color:var(--forest)}
 .more-icon svg{width:20px;height:20px}
 .more-copy strong{display:block;font-size:15px}
 .more-copy small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
 .more-state{font-size:13px;color:var(--muted);white-space:nowrap}

 /* Wedding timeline settings */
 #timeline-workspace .panel{margin-bottom:18px}
 .studio-body #timeline-workspace .panel h2{margin-bottom:14px;font-size:18px}
 .timeline-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer}
 .timeline-switch strong{display:block;font-size:15px}
 .timeline-switch small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
 .timeline-switch input[role=switch]{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:52px;height:30px;margin:0;border:0;border-radius:999px;background:#9aa598;cursor:pointer;transition:background .2s}
 .timeline-switch input[role=switch]::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s}
 .timeline-switch input[role=switch]:checked{background:var(--forest)}
 .timeline-switch input[role=switch]:checked::after{transform:translateX(22px)}
 .home-timeline-card.is-preview{margin:0;background:var(--paper)}
 .timeline-list{list-style:none;margin:0;padding:0}
 .timeline-list li{display:grid;grid-template-columns:minmax(0,1.1fr) 190px minmax(0,1.2fr) 90px;gap:10px 16px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
 .timeline-list li:first-child{border-top:0}
 .timeline-list input{width:100%}
 .timeline-when{padding-left:4px;font-weight:600;font-variant-numeric:tabular-nums}
 .timeline-from{font-size:13px;color:var(--muted)}
 .timeline-list .text-link{justify-self:end}
}
@media screen{
 /* Wedding day (owner, 5 Oct 2026): caterer numbers, running order and printouts, with check-in as one part. */
 .wday-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:24px;align-items:start}
 .wday-main,.wday-side{display:grid;gap:24px;min-width:0}
 .studio-body .wday-grid .panel{margin:0;padding:22px 24px}
 .studio-body .wday-grid .panel h2{font-size:19px}
 .studio-body .wday-caterer h3{margin:22px 0 8px;font:600 15px/1.4 var(--sans)}
 .wday-tally{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}
 .wday-tally div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
 .wday-tally dt,.wday-tally dd{margin:0}
 .wday-tally dd{font-weight:600;font-variant-numeric:tabular-nums}
 .wday-tally small{display:block;font-size:12px;color:var(--muted)}
 .wday-run{list-style:none;margin:0;padding:0}
 .wday-run li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:11px 0;border-top:1px solid var(--line)}
 .wday-run li:first-child{border-top:0}
 .wday-run time{font-weight:600;font-variant-numeric:tabular-nums}
 .wday-run small{display:block;font-size:13px;color:var(--muted)}
 .wday-checkin p{margin:6px 0 16px;color:var(--muted)}
 .wday-checkin .button{width:100%}
 .wday-print ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
 .wday-print-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
 .wday-print-item:hover{border-color:#b8c6af}
 .wday-print-item:disabled{opacity:.6;cursor:progress}
 .wday-print-item strong{display:block;font-size:14px}
 .wday-print-item small{display:block;font-size:12px;color:var(--muted)}
 .wday-print-item svg{flex:none;width:18px;height:18px;color:var(--forest)}
 /* Entrance QR code (6 Oct 2026): the code, one Download menu and Try it; Reset is a quiet link. */
 .wday-entrance>p{margin:6px 0 14px;color:var(--muted)}
 .wday-entrance-code{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:16px;margin-bottom:14px}
 .wday-entrance-art{padding:6px;border:1px solid var(--line);border-radius:10px;background:#fff;line-height:0}
 .wday-entrance-art svg{width:100%;height:auto}
 .wday-entrance-art path{fill:var(--forest)}
 .wday-entrance-state{margin:0;font-size:13px;color:var(--muted)}
 .wday-entrance-state.is-ready{color:var(--forest);font-weight:600}
 .wday-entrance-actions{display:flex;flex-wrap:wrap;gap:8px}
 .wday-entrance .seating-menu[open]>summary{background:var(--forest)}
 .wday-entrance .text-link{display:inline-block;margin:12px 14px 0 0;font-size:13px}
 .wday-entrance-reset{color:var(--muted)}
 /* The check-in page's own heading replaces the workspace's old one. */
 .studio-body #checkin-workspace .checkin-head .eyebrow,.studio-body #checkin-workspace .checkin-head h2{display:none}
 /* Seating: one tidy row, Save as the single main button; printouts live on Wedding day. */
 .studio-body .seating-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-bottom:8px}
 .seating-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 8px}
 .seating-tools{display:flex;flex-wrap:wrap;gap:8px}
 /* Seating guests: just the name (underlined as the link) with "Party of N" beneath. */
 .studio-body .seat-guest-name{text-decoration:none;text-align:left}
 .studio-body .seat-guest-name strong{text-decoration:underline;text-underline-offset:3px}
 .studio-body .seat-guest-name small{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
 .seat-detail-seat{display:grid;gap:10px;margin:14px 0 18px;padding:14px 16px;border-radius:12px;background:var(--paper)}
 /* One "Download" button with a small menu instead of four buttons. */
 .seating-menu{position:relative}
 .seating-menu>summary{display:inline-flex;align-items:center;list-style:none;cursor:pointer}
 .seating-menu>summary::-webkit-details-marker{display:none}
 .seating-menu>summary::after{content:"";width:7px;height:7px;margin:-3px 0 0 9px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
 .seating-menu[open]>summary{background:var(--green)}
 .seating-menu-list{position:absolute;z-index:20;top:calc(100% + 6px);left:0;display:grid;gap:2px;min-width:240px;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--white);box-shadow:0 12px 30px #112d2326}
 .studio-body .seating-menu-list .button{justify-content:flex-start;width:100%;border:0;background:none;text-align:left;font-weight:500}
 .studio-body .seating-menu-list .button:hover{background:var(--green)}
 /* Guests: filters with counts, reply and food on each household row, quiet links under the list. */
 .guest-filters{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
 .guest-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:var(--white);color:var(--ink);font:500 14px var(--sans);cursor:pointer}
 .guest-chip b{font-weight:600;font-variant-numeric:tabular-nums}
 .guest-chip:hover{border-color:#b8c6af}
 .guest-chip[aria-pressed=true]{background:var(--forest);border-color:var(--forest);color:#fffef9}
 .studio-body .guest-toolbar{margin:0 0 14px}
 .studio-body .guest-toolbar #guest-search{max-width:340px}
 .studio-body .guest-table td.guest-reply small{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
 .studio-body .guest-food{font-size:13px}
 .studio-body .guest-food small{display:block;margin-top:2px}
 .guest-allergy{font-weight:600;color:#8a3b12}
 .guest-none{color:var(--muted)}
 .home-status.is-waiting{color:#806437}
 /* Text and WhatsApp icons on each household (owner, 6 Oct 2026). */
 .studio-body .guest-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
 .guest-icon{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--forest);cursor:pointer}
 .guest-icon svg{width:20px;height:20px}
 .guest-icon:hover{border-color:#b8c6af;background:#f6f8f2}
 .guest-icon.is-wa{color:#1f7a4d}
 .guest-icon:disabled{opacity:.45;cursor:not-allowed}
 .studio-body .guest-table td small.guest-email{display:block;color:var(--muted)}
 .send-choices{display:grid;gap:10px;margin:16px 0}
 .send-choice{display:block;width:100%;margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);font:inherit;text-align:left;text-decoration:none;cursor:pointer}
 a.send-choice:hover,button.send-choice:hover{border-color:var(--forest)}
 .send-choice strong{display:block;font-size:15px}
 .send-choice small{display:block;margin-top:3px;font-size:13px;line-height:1.5;color:var(--muted)}
 .send-choice.is-off{background:var(--paper);cursor:default}
 .send-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center;margin:0 0 14px;padding:12px 14px;border-radius:12px;background:var(--paper)}
 .send-link p{grid-column:1/-1;margin:0}
 .send-link strong{display:block;font-size:14px}
 .send-link small{display:block;font-size:13px;color:var(--muted)}
 .send-link code{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
 .send-message{margin:0 0 12px}
 /* Languages offered and each household's language (owner, 6 Oct 2026). */
 .lang-offer{margin:14px 0;padding:14px 16px;border:1px solid var(--line);border-radius:12px}
 .lang-offer legend{padding:0 4px;font-weight:600}
 .lang-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px 12px;margin:10px 0}
 .lang-choice{display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px;cursor:pointer}
 .lang-choice input{width:18px;height:18px;margin:0;accent-color:var(--forest)}
 .lang-choice small{color:var(--muted)}
 .translation-row.is-check textarea{border-color:#c79a3e;background:#fffaf0}
 .translation-check{margin-left:6px;padding:1px 7px;border-radius:999px;background:#f3e3bd;color:#6b4e12;font-size:11px;font-style:normal;font-weight:700}
 .translation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
 .studio-body .guest-table td small.guest-lang{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:999px;background:var(--green);color:var(--forest);font-weight:600}
 .send-message summary{cursor:pointer;font-size:14px}
 .send-message p{margin:10px 0;padding:12px 14px;border-radius:12px;background:#e9e9eb;font-size:14px;line-height:1.5}
 .guest-foot{display:flex;flex-wrap:wrap;gap:6px 22px;margin:16px 0 0}
 .guest-foot .text-link{font-size:13px}
}
@media screen{
 /* Text messages (owner, 6 Oct 2026): a compact balance line, the wording open, everything else folded. */
 .studio-body .sms-header.is-compact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:0 0 16px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
 .studio-body .sms-header.is-compact .sms-balance{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0;padding:0;border:0;background:none;box-shadow:none}
 .studio-body .sms-header.is-compact .sms-balance strong{font:600 22px/1 var(--sans);color:var(--forest)}
 .studio-body .sms-header.is-compact .sms-balance span{font-size:13px;color:var(--muted)}
 .sms-header-note{margin:0;font-size:13px;color:var(--muted)}
 .sms-header-note .text-link{font-size:13px}
 .studio-body .sms-fold{margin:0 0 10px;padding:0}
 .studio-body .sms-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:0 20px;list-style:none;cursor:pointer}
 .studio-body .sms-fold>summary::-webkit-details-marker{display:none}
 .studio-body .sms-fold>summary::after{content:"";flex:none;width:8px;height:8px;margin-top:-4px;border:solid var(--forest);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform .15s}
 .studio-body .sms-fold[open]>summary::after{margin-top:4px;transform:rotate(-135deg)}
 .studio-body .sms-fold>summary h3{margin:0;font-size:16px}
 .sms-fold-count{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:8px;padding:0 6px;border-radius:999px;background:var(--green);font-size:12px;font-weight:600;vertical-align:2px}
 .studio-body .sms-fold-body{padding:0 20px 18px}
 .studio-body .sms-bulk{margin:0 0 10px;padding:0}
 .studio-body .sms-bulk>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:0 20px;list-style:none;cursor:pointer;font:600 16px/1.3 var(--sans);color:var(--ink)}
 .studio-body .sms-bulk>summary::-webkit-details-marker{display:none}
 .studio-body .sms-bulk>summary::after{content:"";flex:none;width:8px;height:8px;margin-top:-4px;border:solid var(--forest);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
 .studio-body .sms-bulk[open]>summary::after{margin-top:4px;transform:rotate(-135deg)}
 .studio-body .sms-bulk[open]{padding:0 20px 18px}
 .studio-body .sms-bulk[open]>summary{margin:0 -20px}
}
@media screen and (max-width:800px){
 .studio-body .guest-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 .studio-body .guest-tabs>button{flex:none}
}
@media (prefers-reduced-motion:reduce){.studio-body .sms-fold>summary::after{transition:none}}
@media screen{
 /* Help & report a problem (owner, 6 Oct 2026). */
 .studio-body .help-form{display:grid;gap:16px;max-width:680px}
 .help-topics{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0}
 .help-topics legend{margin-bottom:8px;font-weight:600}
 .help-topic{position:relative;display:inline-flex}
 .help-topic input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
 .help-topic span{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--white);font-size:14px}
 .help-topic input:checked+span{background:var(--forest);border-color:var(--forest);color:#fffef9}
 .help-topic input:focus-visible+span{outline:3px solid #a67b36;outline-offset:3px}
 .studio-body .help-done{max-width:680px}
 .studio-body .help-done h2{margin-bottom:8px}
}
@media screen and (max-width:800px){
 .wday-grid{grid-template-columns:1fr}
 .studio-body .wday-grid .panel{padding:18px 16px}
 .wday-tally{grid-template-columns:1fr}
 .seating-toolbar>.button.primary{width:100%}
 /* Guest cards on phones: household and reply on top, food beneath, actions last (older rules assumed a places column). */
 .studio-body .guest-table tr{grid-template-columns:minmax(0,1fr) auto}
 .studio-body .guest-table td:first-child{grid-column:1;grid-row:1}
 .studio-body .guest-table td.guest-reply{display:block;grid-column:2;grid-row:1;align-self:start;color:inherit;text-align:right}
 .studio-body .guest-table td.guest-reply::after,.studio-body .guest-table td.guest-reply::before{content:none}
 .studio-body .guest-table td.guest-food{grid-column:1/-1;grid-row:2}
 .studio-body .guest-table td.guest-food:has(>.guest-none:only-child){display:none}
 .studio-body .guest-table td:last-child{grid-column:1/-1;grid-row:3}
 .guest-filters{flex-wrap:nowrap;overflow-x:auto;margin-inline:-18px;padding:2px 18px 4px;scrollbar-width:none}
 .guest-chip{flex:none}
 .studio-body .guest-toolbar #guest-search{max-width:none}
 .seating-tools{width:100%}
 .seating-tools .button{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){.timeline-switch input[role=switch],.timeline-switch input[role=switch]::after{transition:none}}
@media screen and (max-width:800px){
 .studio-body .home-heading h1{font-size:36px}
 .studio-body .home-heading p{font-size:14px}
 .home-timeline-card{padding:12px 6px 14px}
 .home-timeline{grid-template-columns:repeat(var(--n,4),minmax(68px,1fr));overflow-x:auto;scrollbar-width:none}
 .home-timeline li{padding:0 2px;font-size:12px;line-height:1.35}
 .home-timeline b{min-height:2.7em}
 .home-rsvp{min-height:58px;margin-bottom:24px}
 .home-rsvp-part{flex:1 1 0!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;min-width:0;padding:8px 12px;font-size:13px}
 .home-rsvp-part strong{font-size:20px}
 .home-columns{grid-template-columns:1fr;gap:28px}
 .home-main{gap:28px}
 .studio-body .home-next h2{font-size:34px}
 .studio-body .home-next .button.primary{width:100%}
 .home-replies{padding:0 14px}
 .home-replies li{grid-template-columns:minmax(0,1fr) auto}
 .home-reply-meta{grid-column:1/-1;grid-row:2}
 .home-invitation{position:static;max-width:420px}
 .more-list{grid-template-columns:1fr}
 .timeline-list li{grid-template-columns:minmax(0,1fr) auto}
 .timeline-list .timeline-name{grid-column:1/-1}
 .timeline-list li>:nth-child(2){grid-column:1;grid-row:2}
 .timeline-list li>:last-child{grid-column:2;grid-row:2}
 .timeline-list .timeline-from{grid-column:1/-1;grid-row:3}
}

/* Studio tour (owner, 6 Oct 2026): asked once ("Skip" or "Take a tour"); each stop highlights one section with a short
   breakdown, and Next moves on. The spotlight dims everything but the highlighted item. */
.tour-ask{position:fixed;right:24px;bottom:24px;z-index:1000;width:min(380px,calc(100vw - 32px));padding:22px 22px 18px;border:1px solid var(--line);border-radius:16px;background:var(--white);color:var(--ink);box-shadow:0 18px 50px #112d2333;font-family:var(--sans)}
.tour-ask h2{margin:0 0 8px;font:500 28px/1.1 var(--serif);color:var(--forest)}
.tour-ask p{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.5}
.tour-ask small{display:block;margin-top:12px;color:var(--muted);font-size:12.5px}
.tour-eyebrow{margin:0 0 6px!important;font-size:11px!important;font-weight:600;letter-spacing:.12em;color:#806437!important}
.tour-ask-actions,.tour-actions{display:flex;justify-content:flex-end;gap:10px}
.tour-ask-actions .button,.tour-actions .button{min-height:44px;padding:0 20px}
.tour-layer{position:fixed;inset:0;z-index:1000}
.tour-veil{position:absolute;inset:0}
.tour-spot{position:fixed;border-radius:12px;box-shadow:0 0 0 3px #d5c29b,0 0 0 9999px #0b1d16a6;pointer-events:none}
.tour-card{position:fixed;padding:20px 22px 18px;border-radius:16px;background:var(--white);color:var(--ink);box-shadow:0 22px 60px #0b1d1640;font-family:var(--sans)}
.tour-card:focus{outline:none}
.tour-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.tour-count{margin:0;font-size:12.5px;font-weight:600;letter-spacing:.04em;color:var(--muted)}
.tour-skip{padding:6px 2px;border:0;background:none;color:var(--muted);font:500 13px var(--sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tour-card h2{margin:0 0 6px;font:500 30px/1.1 var(--serif);color:var(--forest)}
.tour-card #tour-lead{margin:0 0 10px;font-size:15.5px;font-weight:600}
.tour-card ul{margin:0 0 16px;padding:0;list-style:none;display:grid;gap:7px}
.tour-card li{position:relative;padding-left:18px;font-size:14.5px;line-height:1.45;color:#3d5148}
.tour-card li::before{content:"";position:absolute;left:2px;top:.6em;width:6px;height:6px;border-radius:50%;background:#b09155}
.tour-progress{display:flex;gap:5px;margin-bottom:16px}
.tour-progress i{flex:1;height:3px;border-radius:2px;background:var(--line)}
.tour-progress i.is-done{background:#b8c6af}
.tour-progress i.is-on{background:var(--forest)}
@media (prefers-reduced-motion:no-preference){.tour-spot{transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease}.tour-ask{animation:tour-in .35s ease-out}@keyframes tour-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}
@media (max-width:800px){.tour-ask{left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));width:auto}.tour-ask h2{font-size:25px}.tour-card h2{font-size:26px}}.tour-video{margin:14px 0 12px}
.tour-video video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:var(--forest)}
.tour-video figcaption{margin-top:6px;font-size:12.5px;color:var(--muted)}/* The tour video is shown wide, so its captions stay readable. */
.studio-dialog.tour-video-dialog{width:min(1080px,calc(100vw - 32px),calc((90svh - 300px) * 16 / 9 + 70px));min-width:min(560px,calc(100vw - 32px));max-width:none}
.tour-video-dialog .tour-video video{object-fit:contain}