:root{color-scheme:light;--paper:#f5f6f0;--white:#fff;--ink:#222922;--muted:#59635b;--forest:#263f32;--forest-dark:#1f3429;--sage:#e8eee3;--line:#dce3d8;--pink:#f9ece6;--amber:#f4ebd8;--radius:20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink)}
button,input,select,textarea{font:inherit}button{cursor:pointer}
button:disabled{opacity:.55;cursor:default}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #698c70;outline-offset:3px}
h1,h2,h3,p{margin:0}h1,.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.04em}
h1{font-size:clamp(2.9rem,6vw,5.6rem);line-height:.94}
h2{font-size:1.45rem;letter-spacing:-.03em}h3{font-size:1.15rem;line-height:1.25;letter-spacing:-.025em}
p{line-height:1.55}small{font-size:.82rem}
.shell{width:min(1152px,calc(100% - 64px));margin:auto}
.top{height:76px;background:var(--paper);border-bottom:1px solid var(--line)}
.top-inner{display:flex;align-items:center;justify-content:space-between;height:100%;gap:1rem}
.brand{border:0;background:transparent;color:var(--ink);padding:0;display:flex;gap:11px;align-items:center;font-family:Georgia,serif;font-size:1.16rem;white-space:nowrap}
.mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--forest);color:#fff;font:1.25rem/1 Georgia,serif}
main{padding:30px 0 60px}
.telegram-entry{display:grid;justify-items:start;gap:18px;max-width:720px;margin:clamp(6px,6vh,48px) auto 0;padding:clamp(24px,7vw,58px);border-radius:26px;background:var(--route-wine);color:var(--route-cream)}
.telegram-entry .eyebrow{color:var(--route-gold)}
.telegram-entry h1{font-size:clamp(2.4rem,7vw,4.75rem);line-height:1}
.telegram-entry>p:not(.eyebrow){max-width:33ch}
.telegram-entry .btn.light{background:var(--route-cream);color:var(--route-wine)}
.telegram-entry .btn.light:hover{background:var(--route-light)}
.telegram-entry .btn:focus-visible{outline-color:var(--route-gold)}
.hero{min-height:375px;display:grid;grid-template-columns:1fr 1.12fr;border-radius:26px;overflow:hidden;background:var(--forest-dark);color:#fff}
.hero-content{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:42px clamp(28px,5vw,58px);gap:20px}
.hero-content h1{max-width:600px}
.hero-content p{color:#e0e9dc;max-width:350px}
.hero img{width:100%;height:100%;max-height:470px;min-height:310px;object-fit:cover;object-position:50% 55%;display:block}
.hero.small{min-height:240px}.hero.small h1{font-size:clamp(2.6rem,5vw,4rem);word-break:break-word}
.hero.small img{min-height:240px;max-height:285px}
.eyebrow{font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#c1d2b8}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:.42rem;min-height:43px;padding:10px 16px;border-radius:11px;border:1px solid transparent;background:var(--forest);color:#fff;font-weight:650;font-size:.9rem;text-decoration:none}
.btn:hover{background:var(--button-hover,#365946)}.btn.light{color:var(--forest-dark);background:#f7f8f2}.btn.light:hover{background:#e3ecdf}
.btn.secondary{background:var(--white);color:var(--forest);border-color:var(--line)}.btn.secondary:hover{background:var(--sage)}
.btn.quiet{border-color:transparent;background:transparent;color:var(--forest);padding-inline:9px}.btn.quiet:hover{background:var(--sage)}
.btn.danger{color:#813c35;background:var(--pink)}.btn.danger:hover{background:#f5dcd4}
.btn.icon{min-width:40px;padding:7px 10px;line-height:1;font-size:1rem}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 14px}
.section-head.first{margin-top:0}.section-head h2 small{font-weight:500;color:var(--muted);margin-left:.4rem}
.timeline-card{display:grid;gap:12px;margin-bottom:16px}
.timeline-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.timeline-summary div{display:grid;align-content:start;gap:4px;padding:10px 12px;background:#f4f7f0;border-radius:10px}
.timeline-summary dt{color:var(--muted);font-size:.8rem}
.timeline-summary dd{display:grid;gap:3px;margin:0;font-size:.9rem;font-weight:650}
.timeline-summary time,.timeline-time time{font-size:1.1rem;color:var(--forest);font-variant-numeric:tabular-nums;font-weight:750}
.timeline-list{list-style:none;padding:0;margin:14px 0 0}
.timeline-event{display:grid;grid-template-columns:minmax(76px,auto) minmax(0,1fr);gap:14px;padding:13px 0;border-top:1px solid var(--line)}
.timeline-event p{margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere}
.timeline-event strong{overflow-wrap:anywhere}
.timeline-time{display:grid;align-content:start}
.timeline-editor-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,1.35fr);align-items:end;gap:10px;padding:12px;background:#f4f7f0;border-radius:12px}
.timeline-text{min-height:180px;line-height:1.55}
.timeline-body{margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
@media(max-width:460px){.timeline-editor-row{grid-template-columns:1fr}}
@media(max-width:400px){.timeline-summary div{padding:8px}.timeline-summary dt,.timeline-summary dd{font-size:.76rem}}
.note,.subtle{color:var(--muted);font-size:.9rem}.note{margin-top:9px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-width:0}
.pair-card{text-align:left;color:inherit;width:100%;display:flex;flex-direction:column;gap:6px}.pair-card:hover{border-color:#859d83;background:#fbfcf8}
.pair-card-title{font-weight:700;font-size:1.15rem;overflow-wrap:anywhere}
.pair-card .badge{align-self:flex-start;margin-top:5px}
.review-pair{border-color:#dfd0ae}
.month-groups{display:grid;gap:9px}
.month-group{background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.month-group summary{display:flex;align-items:center;gap:12px;min-height:54px;padding:12px 18px;cursor:pointer;list-style:none}
.month-group summary::-webkit-details-marker{display:none}
.month-group summary:hover{color:var(--forest)}
.month-group summary:focus-visible{outline:3px solid #698c70;outline-offset:3px;border-radius:var(--radius)}
.month-group summary::marker{content:""}
.month-group summary::after{content:"+";color:var(--forest);font-size:1.3rem}
.month-group[open] summary::after{content:"−"}
.month-label{font-weight:750}
.month-count{margin-left:auto;color:var(--muted);font-size:.88rem;white-space:nowrap}
.month-pairs{padding:0 12px 12px}
.month-group:not([open]) .month-pairs{display:none}
.archive-section{margin-top:30px;border-top:1px solid var(--line)}
.archive-section .section-head{margin-top:20px;color:var(--forest-dark)}
.archive-year[open]>summary{background:var(--sage);color:var(--forest-dark);border-radius:var(--radius) var(--radius) 0 0}
.archive-year[open]>summary .month-count{color:var(--muted)}
.archive-months{display:grid;gap:16px;padding:14px}
.archive-year:not([open]) .archive-months{display:none}
.archive-month h3{margin-bottom:8px;color:var(--forest);font-size:.95rem}
.archive-month .pair-card{position:relative;padding-right:36px}
.archive-month .pair-card::after{content:"›";position:absolute;right:13px;top:14px;color:var(--forest);font-size:1.3rem;line-height:1}
.archive-month .subtle{overflow-wrap:anywhere}
.badge.archive{background:var(--sage);color:var(--forest-dark)}
.pending-reviews{margin-bottom:22px;border-color:#dfd0ae;scroll-margin-top:12px}
.pending-reviews .task:last-child{padding-bottom:0}
.guide{border-top:1px solid var(--line);margin-top:37px;padding-top:21px}
.guide .grid{margin-top:14px}
.guide-card{display:flex;gap:12px;align-items:flex-start}
.guide-symbol{width:34px;height:34px;flex:0 0 auto;background:var(--sage);border-radius:10px;display:grid;place-items:center;color:var(--forest);font-size:1rem;font-weight:700}
.guide-card p{font-size:.9rem;color:var(--muted);margin-top:6px}
.empty{padding:23px 25px;border:1px dashed #b9c8b7;background:#f8faf5;border-radius:var(--radius)}
.empty p{color:var(--muted);margin-top:6px}
.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:22px;align-items:start;margin-top:24px}
.layout aside{display:grid;gap:14px}
.badge{display:inline-flex;align-items:center;padding:.32rem .58rem;border-radius:30px;white-space:nowrap;background:var(--sage);color:var(--forest);font-size:.76rem;font-weight:700}
.badge.review{background:var(--amber);color:#6b4b1e}.badge.changes{background:var(--pink);color:#813e34}.badge.locked{background:#eceee9;color:#59635b}
.bar{height:7px;border-radius:10px;background:var(--sage);overflow:hidden;margin-top:12px}
.bar span{display:block;height:100%;background:#5b805f;border-radius:10px}
.progress-tiles{list-style:none;margin:13px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}
.progress-tile{min-width:0;display:flex;align-items:flex-start;gap:8px;padding:10px;border-radius:11px;background:#e2f3e5;color:#264e35;font-size:.84rem}
.progress-tile div{min-width:0;overflow-wrap:anywhere}.progress-tile strong,.progress-tile div span{display:block}.progress-tile div span{margin-top:3px}
.progress-tile.submitted{background:#16723a;color:#fff}
.progress-tile.shared-review{background:var(--amber);color:#6b4b1e}
.progress-tile.locked{background:#edf0eb;color:#566158}.progress-tile.changes{background:var(--pink);color:#813e34}
.progress-number{flex:none;min-width:1em;font-weight:800}
.invite{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}
.invite:last-child{border-bottom:0;padding-bottom:0}.invite strong{display:block}.invite .subtle{font-size:.8rem}
.stage{overflow:hidden;margin:0 0 14px;padding:0;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.stage-cover{display:block;width:100%;height:180px;object-fit:cover;background:var(--sage)}.stage-cover[hidden]{display:none}
.stage-head{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfcf8}
.stage-caption{display:block;color:var(--muted);font-size:.76rem;font-weight:700;margin-bottom:3px}
.stage-title{overflow-wrap:anywhere}.stage-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px}
.stage-body{padding:0 18px 14px}.stage-body .btn-add{margin-top:12px}
.stage-description{padding:10px 0 13px;color:var(--muted);font-size:.92rem;white-space:pre-line;overflow-wrap:anywhere}
.task{padding:13px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line)}
.task-name{font-weight:700;overflow-wrap:anywhere}.task-info{color:var(--muted);font-size:.83rem;margin-top:4px}
.task-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}
.task-hint,.material-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.95rem}
.task-hint-image{display:block;width:min(100%,287px);height:auto;border-radius:12px}
dialog>.task-hint-image{margin:14px 0}
.member-content{max-width:780px;margin:25px auto 0}
:root{--route-bg:#f5efe7;--route-card:#fffcf7;--route-edge:#dccbb7;--route-ink:#30251f;--route-muted:#65584c;--route-bronze:#775231;--route-light:#f1e4cf;--route-wine:#602638;--route-cream:#fff8ed;--route-gold:#f2cca5}
.stage-route{padding:clamp(14px,4vw,30px);color:var(--route-ink);background:var(--route-bg);border:1px solid var(--route-edge);border-radius:26px}
.route-brand{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:14px;border-bottom:1px solid var(--route-edge);color:var(--route-muted);font-size:.8rem;font-weight:650}
.route-brand span:first-child{color:var(--route-bronze);text-transform:uppercase;letter-spacing:.055em}
.stage-route .section-head{margin:19px 0 6px;align-items:baseline;flex-wrap:wrap;gap:5px 12px}
.stage-route .section-head h2{font-size:clamp(1.68rem,5vw,2.3rem);line-height:1.13;letter-spacing:-.036em}
.stage-route .btn.secondary{background:var(--route-card);border-color:var(--route-edge);color:var(--route-bronze)}
.stage-route .btn.secondary:hover{background:var(--route-light)}
.stage-route .section-head .btn{min-height:34px;padding:5px 10px;font-size:.8rem}
.route-progress{margin-bottom:20px;color:var(--route-muted);font-size:.9rem;font-weight:650}
.route-progress .bar{margin-top:8px;height:5px;background:var(--route-edge)}
.route-progress .bar span{background:var(--route-bronze)}
.route-list{display:grid;gap:16px;list-style:none;margin:0;padding:0}
.route-step{--route-rail:46px;--route-dot:34px;position:relative;display:grid;grid-template-columns:var(--route-rail) minmax(0,1fr)}
.route-step:not(:last-child)::before{content:"";position:absolute;inset:25px auto -38px calc(var(--route-dot) / 2);width:1px;background:var(--route-edge)}
.route-number{position:relative;display:grid;place-items:center;width:var(--route-dot);height:var(--route-dot);margin-top:18px;border-radius:50%;background:var(--route-light);color:var(--route-bronze);font-size:1.05rem;font-weight:800}
.route-step.current .route-number{background:var(--route-wine);color:var(--route-cream)}
.stage-route .stage{margin:0;background:var(--route-card);border-color:var(--route-edge)}
.stage-route .current .stage{border-color:var(--route-bronze)}
.stage-route .stage-head{align-items:flex-start;flex-wrap:wrap;padding:13px clamp(12px,4vw,21px);background:var(--route-light);color:var(--route-bronze)}
.stage-route .current .stage-head{background:var(--route-wine);color:var(--route-cream)}
.stage-route .locked .stage,.stage-route .locked .stage-head{background:var(--route-bg);color:var(--route-muted)}
.stage-route .stage-caption{margin-bottom:4px;color:inherit;font-size:.72rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.stage-route .current .stage-caption{color:var(--route-gold)}
.stage-route .stage-title h3{font-size:clamp(1.28rem,4.8vw,1.85rem);line-height:1.12;font-weight:750}
.stage-route .stage-body{padding:0 clamp(12px,4vw,21px) 14px}
.stage-route .stage-description{padding:13px 0 3px;color:inherit;font-size:.94rem}
.stage-route .locked .stage-description{padding-top:0;color:var(--route-muted)}
.stage-route .task{border-color:var(--route-edge);margin-top:10px;padding:10px 0 0}
.stage-route .task-info{margin:0;color:var(--route-muted);font-weight:600}
.stage-route .task-name + .task-info{margin-top:4px}
.route-task-status{display:block;margin-top:3px}
.stage-route .route-action{min-height:44px;background:var(--route-bronze);color:var(--route-cream)}
.stage-route .route-action:hover{background:#603f24}
.stage-route .route-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid transparent;border-radius:99px;background:#f0e4d1;color:var(--route-bronze);font-size:.76rem;font-weight:750;white-space:nowrap}
.stage-route button.route-status{min-height:36px}
.stage-route button.route-status:hover{border-color:var(--route-bronze)}
.stage-route .route-status.review{background:#f1e2c8;color:#613e20}
.stage-route .route-status.changes{background:#f6e4e7;color:#702e40}
.stage-route .route-status.locked{margin-top:9px;background:var(--route-card);border-color:var(--route-edge);color:var(--route-muted)}
.stage-route button:focus-visible,.stage-route summary:focus-visible{outline:2px solid var(--route-bronze);outline-offset:3px}
.stage-route .current .stage-head button:focus-visible{outline-color:var(--route-cream)}
.stage-route .member-progress{margin-top:18px;padding:13px 14px;border:1px solid var(--route-edge);border-radius:12px;background:var(--route-card)}
.stage-route summary{cursor:pointer;color:var(--route-bronze);font-weight:700}
.stage-route summary span{margin-left:6px;color:var(--route-muted);font-size:.83rem;font-weight:600}
@media(max-width:420px){.route-step{--route-rail:35px;--route-dot:28px}.route-number{font-size:.9rem}.stage-route .task{gap:8px}.stage-route .task .btn{padding-inline:10px}}
.next-step{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;margin-bottom:16px;background:#f7faf5;border-color:#ccdcca}
.next-step.changes{background:#fff7f3;border-color:#edd5ca}
.next-step.review{background:#fcf8ef;border-color:#e5d8b8}
.next-step h2{grid-column:1/-1;font-size:1.3rem}
.next-step-content{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.next-step-status,.next-step-deadline{font-size:.9rem;font-weight:650}
.next-step.changes .next-step-status{color:#813e34}
.next-step-feedback{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--muted);font-size:.9rem}
.next-step>.btn{align-self:center}
@media(max-width:530px){.next-step{grid-template-columns:1fr}.next-step>.btn{justify-self:start;margin-top:4px}}
nav.breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:14px;color:var(--muted);min-height:40px}
nav .btn{min-height:36px}
.role-switch{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 18px}
.role-switch .btn[aria-current="true"]{background:var(--forest);color:#fff}
fieldset{padding:0;border:0;margin:0;min-width:0}form fieldset{display:grid;gap:14px}
label{font-size:.91rem;font-weight:680;display:grid;gap:6px}
input,textarea,select{display:block;width:100%;border:1px solid #cbd5c7;background:#fff;color:var(--ink);padding:10px;border-radius:10px;min-width:0}
textarea{resize:vertical;min-height:92px}.field-note{font-size:.79rem;font-weight:450;color:var(--muted)}
input[type="checkbox"]{width:auto}label.check{display:flex;align-items:center}
.completion-check{background:var(--sage);border-radius:10px;padding:12px;color:var(--forest)}
.completion-check input{accent-color:#16723a;width:18px;height:18px;margin:0 4px 0 0}
.draft-controls{display:grid;gap:8px;justify-items:start}
.draft-actions{display:flex;gap:8px;flex-wrap:wrap}
.draft-controls [hidden]{display:none}
.music-field{display:grid;gap:6px}
.music-field textarea{min-height:46px}
.music-field [data-draft-status]:empty{display:none}
.music-conflict{flex-basis:100%;margin:0}
.photo-selection{list-style:none;margin:0;padding:0}
.photo-selection li{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.86rem}
.photo-selection li span{min-width:0;overflow-wrap:anywhere}
input[type="file"]{background:#f7f9f4}
dialog{width:min(550px,calc(100% - 32px));max-height:88dvh;padding:22px;border:1px solid var(--line);border-radius:21px;background:#fff;color:var(--ink);box-shadow:0 20px 90px #16221940}
dialog::backdrop{background:#192b2166}
.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.dialog-heading h2{overflow-wrap:anywhere}
.dialog-heading .btn{min-height:34px}.form-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px;align-items:center}
.form-error{color:#87382f;font-size:.9rem;margin:6px 0 0}.form-error:empty{display:none}
.materials{display:grid;gap:9px;margin:12px 0}
.material-text,.attachment,.feedback{padding:12px 14px;background:#f4f7f0;border-radius:12px}.attachment img{width:100%;max-height:230px;object-fit:contain;display:block;margin:10px 0}
.feedback{margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.loading{padding:22px}.local-banner{margin:0 0 14px;color:var(--muted);font-size:.88rem}
#notice{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:var(--forest-dark);color:white;border-radius:12px;padding:11px 15px;box-shadow:0 10px 25px #1b2f2332;width:max-content;max-width:calc(100% - 32px);z-index:10;font-size:.9rem}
#notice:empty{display:none}
@media(max-width:790px){.shell{width:calc(100% - 38px)}.hero{min-height:0}.hero img{min-height:280px}.hero-content{padding:28px}.layout{grid-template-columns:minmax(0,1fr)}.layout aside{grid-row:2}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.shell{width:calc(100% - 26px)}.top{height:59px}main{padding-top:14px}.hero{grid-template-columns:1fr;border-radius:19px}.hero-content{padding:24px;gap:14px}.hero-content h1{font-size:3.15rem}.hero img{min-height:0;height:164px}.hero.small img{min-height:0;height:127px}.hero.small h1{font-size:2.55rem}.hero-content p{font-size:.94rem}.section-head{margin-top:21px}.section-head h2{font-size:1.27rem}.grid{grid-template-columns:1fr}.guide-card{padding:15px}.stage-head{padding:12px}.stage-body{padding-inline:12px}.stage-actions .btn{min-height:34px}.stage-cover{height:130px}.stage-title h3{font-size:1rem}.task{flex-wrap:wrap}.task-actions{justify-content:flex-start}.card{padding:16px}.dialog-heading{gap:8px}.brand{font-size:1rem}.mark{width:30px;height:30px}.top .badge{font-size:.69rem}}
nav.breadcrumb .role-switch{margin:0}
.attachment img[hidden]{display:none}
.attachment button[hidden]{display:none}
.voice-attachment{display:grid;gap:8px}
.voice-attachment audio{width:100%;max-width:320px}
.voice-attachment audio[hidden],.voice-attachment [data-voice-status]:empty{display:none}
.material-text a{color:#245c46}
@media(max-width:530px){nav.breadcrumb{align-items:flex-start;flex-wrap:wrap}.role-switch .btn{padding-inline:10px}}

body[data-mode="admin"]{--paper:var(--route-bg);--white:var(--route-card);--ink:var(--route-ink);--muted:var(--route-muted);--forest:var(--route-bronze);--forest-dark:var(--route-wine);--sage:var(--route-light);--line:var(--route-edge);--button-hover:#603f24}
body[data-mode="admin"] .mark{background:var(--route-wine);color:var(--route-cream)}
body[data-mode="admin"] .hero-content{color:var(--route-cream)}
body[data-mode="admin"] .hero-content p{color:var(--route-cream)}
body[data-mode="admin"] .eyebrow{color:var(--route-gold)}
body[data-mode="admin"] .btn.light{background:var(--route-cream);color:var(--route-wine)}
body[data-mode="admin"] .btn.light:hover{background:var(--route-light)}
body[data-mode="admin"] .role-switch .btn[aria-current="true"]{background:var(--route-wine);color:var(--route-cream)}
body[data-mode="admin"] .bar span{background:var(--route-bronze)}
body[data-mode="admin"] .pair-card:hover{background:var(--route-light);border-color:var(--route-bronze)}
body[data-mode="admin"] .empty{background:var(--route-card);border-color:var(--route-edge)}
body[data-mode="admin"] :is(.material-text,.feedback,.attachment,.timeline-summary div,.timeline-editor-row){background:var(--route-bg)}
body[data-mode="admin"] .material-text a{color:var(--route-wine)}
body[data-mode="admin"] :is(button,input,select,textarea,a,summary):focus-visible{outline-color:var(--route-bronze)}
body[data-mode="admin"] :is(input,select,textarea){border-color:var(--route-edge)}
body[data-mode="admin"] dialog{background:var(--route-card)}
body[data-mode="admin"] dialog::backdrop{background:#32152266}
.admin-route .stage-title{flex:1 1 220px}
.admin-route .stage-head{align-items:center}
.admin-route .locked .stage-description{padding-top:13px}
.admin-route .stage-actions{margin-left:auto}
.admin-route .current .stage-actions .quiet{color:var(--route-cream);border-color:var(--route-gold)}
.admin-route .current .stage-actions .quiet:hover{color:var(--route-wine);background:var(--route-cream)}
body[data-mode="admin"] .current .stage-actions button:focus-visible{outline-color:var(--route-cream)}
.admin-route .task>div:first-child{flex:1 1 110px;min-width:0}
.route-additions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
@media(max-width:530px){.admin-route .stage-actions{margin-left:0;justify-content:flex-start}.admin-route .task-actions{justify-content:flex-start}}

.wedding-card{display:grid;gap:14px;margin-bottom:16px;background:var(--route-card);border-color:var(--route-edge);color:var(--route-ink)}
.wedding-card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.wedding-card-head h2{font-size:clamp(1.25rem,4.8vw,1.55rem)}
.wedding-card-head .btn{min-height:36px}
.wedding-card dl,.wedding-card dd{margin:0;overflow-wrap:anywhere}
.wedding-venue{padding:12px 15px;border-radius:12px;background:var(--route-light)}
.wedding-venue dt{color:var(--route-bronze);font-size:.84rem;font-weight:700}
.wedding-venue dd{margin-top:4px;font-size:1.09rem;font-weight:750}
.wedding-details{display:grid;gap:9px}
.wedding-details div{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.3fr);gap:10px}
.wedding-details dt{color:var(--route-muted);font-size:.9rem;font-weight:650}
.wedding-details dd{font-weight:600}
.wedding-registration{display:grid;gap:5px;padding-top:12px;border-top:1px solid var(--route-edge)}
.wedding-registration dt{color:var(--route-wine);font-size:.9rem;font-weight:750}
.wedding-registration dd{font-weight:600}
.wedding-extra-specialists{display:grid;gap:8px}
.wedding-extra-specialists:empty{display:none}
.wedding-specialist-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:7px 10px;padding:10px;border-radius:12px;background:var(--route-bg)}
.wedding-specialist-row .btn{justify-self:start;min-height:34px}
.wedding-add-specialist{justify-self:start}
.wedding-registration-options{padding-top:4px}
.wedding-registration-options legend{padding:0;color:var(--route-wine);font-weight:750}
.wedding-radio-group{display:flex;flex-wrap:wrap;gap:7px}
.wedding-radio{display:flex;align-items:center;gap:7px;padding:8px 10px;min-height:37px;border:1px solid var(--route-edge);border-radius:9px;cursor:pointer}
.wedding-radio:has(input:checked){color:var(--route-wine);background:#f2e2e5;border-color:var(--route-wine)}
.wedding-radio input{width:auto;margin:0;accent-color:var(--route-wine)}
.wedding-registration-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:9px}
.wedding-registration-options [hidden]{display:none}
@media(max-width:360px){.wedding-specialist-row{grid-template-columns:1fr}}
