:root{color-scheme:light;--paper:#f7f5ef;--ink:#292a26;--muted:#787970;--line:#e5e3da;--sage:#e7ebe1;--warm:#f0e6d8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:#eae8df;color:var(--ink);border-radius:6px;padding:10px 16px;min-height:44px}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:2px solid #727c63;outline-offset:3px}header{max-width:1160px;margin:auto;padding:36px 28px 24px;display:flex;align-items:center;gap:18px}h1{font-size:23px;letter-spacing:5px;line-height:1.2;margin:0}header p{font-family:Georgia,serif;font-size:14px;letter-spacing:1.5px;margin:7px 0 0;color:var(--muted)}.mark{font:42px Georgia,serif;border-right:1px solid var(--line);padding-right:22px}main{max-width:1160px;margin:auto;padding:0 28px 130px}.motto{font-size:14px;color:var(--muted);margin:0 0 32px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--muted)}h2{font-weight:400;font-size:30px;margin:8px 0 20px}h3{font-weight:500;margin:0 0 14px}.panel{background:#fffefa;border-radius:10px;padding:24px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:18px}.day{min-height:120px;border:0;border-radius:0;background:#fffefa;text-align:left;padding:8px;display:flex;flex-direction:column;justify-content:flex-start;gap:5px}.day .num{font-family:Georgia,serif;font-size:20px}.day.empty{background:#f8f7f2}.day.selected{box-shadow:inset 0 0 0 1px #777e6d}.booking{display:block;background:var(--sage);border-radius:3px;padding:4px 6px;line-height:1.4;font-size:12px;overflow:hidden;width:100%}.booking.pending{background:var(--warm)}.week{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:12px;color:var(--muted);padding-top:22px}.toolbar,.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.primary{background:var(--ink);color:#fff}.quiet{background:transparent;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.small{font-size:14px;color:var(--muted)}.badge{font-size:12px;background:var(--sage);padding:4px 8px;border-radius:4px;white-space:nowrap}.card{width:100%;text-align:left;background:#fffefa;border-bottom:1px solid var(--line);border-radius:0;padding:18px 0;display:block}.card strong{font-weight:500}.card p{margin:5px 0}.side{padding:24px 0}.side h3{font-family:Georgia,serif;font-weight:400;font-size:23px}.empty-state{padding:30px 0;color:var(--muted);font-size:14px}.nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:40px;background:#f7f5eff5;border-top:1px solid var(--line);padding:12px 16px calc(12px + env(safe-area-inset-bottom));z-index:5}.nav button{background:none;min-width:60px;font-size:14px;color:var(--muted)}.nav button.active{color:var(--ink);font-weight:600}.nav .plus{background:var(--ink);color:white;border-radius:50%;width:48px;min-width:48px;font-size:23px;padding:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0}.stat{background:#eeeee6;border-radius:8px;padding:20px}.stat b{display:block;font:32px Georgia,serif;margin-top:8px}.stat span{font-size:14px;color:var(--muted)}input,textarea,select{width:100%;background:#fffefa;border:1px solid #dcdcd2;border-radius:5px;color:var(--ink);padding:11px;min-height:46px}textarea{min-height:100px;resize:vertical}label{font-size:14px;display:block;color:#64665d}label input,label textarea,label select{margin-top:6px;color:var(--ink)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fields .wide{grid-column:1/-1}details{border-bottom:1px solid var(--line);padding:18px 0}summary{cursor:pointer;min-height:44px;font-weight:500}dialog{width:min(740px,calc(100% - 24px));max-height:90dvh;border:0;border-radius:12px;background:var(--paper);padding:24px;color:var(--ink)}dialog::backdrop{background:#20231f70;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{font-size:24px;margin:0}.sticky{position:sticky;bottom:-24px;background:var(--paper);padding:20px 0 0;margin-top:20px;border-top:1px solid var(--line)}.notice{padding:14px;background:var(--warm);border-radius:6px;font-size:14px;margin:16px 0}.danger{color:#955e4d}.timeline{display:grid;grid-template-columns:105px 1fr auto auto auto;gap:6px;margin-bottom:8px}.timeline button{padding:5px 10px}.check{display:flex;align-items:center;gap:10px}.check input{width:20px;min-height:20px}.search{max-width:480px}.source-row{padding:20px 0;border-bottom:1px solid var(--line)}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#30342c;color:white;padding:12px 20px;border-radius:8px;z-index:20;display:none;max-width:90%;font-size:14px}.settings{max-width:680px}.settings section{margin:22px 0;padding:22px;background:#fffefa;border-radius:8px}a{color:inherit}.month-title{font:30px Georgia,serif}.month-title small{font:14px -apple-system,sans-serif;color:var(--muted);margin-left:12px}@media(max-width:800px){header{padding:25px 18px 20px}main{padding:0 14px 110px}.motto{margin:0 4px 24px}.layout{grid-template-columns:1fr;gap:8px}.panel{padding:16px 10px}.day{min-height:102px;padding:5px 3px}.day .num{font-size:18px}.booking{padding:3px;font-size:12px}.booking span{display:block}.booking .cal-status{font-size:12px}.nav{gap:10px;padding-top:8px}.nav button{min-width:48px;padding:8px}.toolbar{flex-wrap:wrap}.side{padding:18px 8px}.stats{gap:8px}.stat{padding:14px 10px}.stat b{font-size:26px}.fields{grid-template-columns:1fr}.fields .wide{grid-column:auto}dialog{padding:18px}.timeline{grid-template-columns:90px 1fr repeat(3,30px);gap:3px}.timeline button{padding:3px}.timeline input{padding:7px}.month-title{font-size:27px}.sticky{bottom:-18px}h2{font-size:26px}}
.day{min-width:0}.booking span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-status{opacity:.75}.month-title{white-space:nowrap}@media(max-width:800px){.booking{padding:3px 2px}.day{min-height:108px}.panel .eyebrow{letter-spacing:1px}.calendar{margin-top:12px}.week{padding-top:14px}}
/* A compact date picker, followed by the next shoots. Scoped to the home view. */
.home-layout{display:grid;grid-template-columns:minmax(0,680px) minmax(220px,1fr);gap:48px;align-items:start}.home-main{min-width:0}.compact-calendar{padding:12px 18px 16px;background:#fffefa;border-radius:8px}.compact-calendar .toolbar{flex-wrap:nowrap;gap:8px}.month-select{position:relative;display:block;min-width:0;cursor:pointer}.month-select .month-title{font-size:25px;color:var(--ink)}.month-select input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;min-height:44px}.month-select:focus-within{outline:2px solid #727c63;outline-offset:3px}.compact-calendar .actions{flex-wrap:nowrap;gap:2px}.compact-calendar .actions button{padding:8px 12px;background:transparent}.compact-calendar .week{padding-top:8px;color:#77796f}.compact-calendar .calendar{margin-top:6px;border:0;background:transparent;gap:2px 4px;overflow:visible}.compact-calendar .day{min-height:52px;border-radius:5px;background:transparent;align-items:center;justify-content:center;padding:3px 0;gap:1px;line-height:1.2;min-width:0}.compact-calendar .day.empty{background:transparent}.compact-calendar .day .num{font-family:inherit;font-size:16px;font-variant-numeric:tabular-nums;font-weight:400}.compact-calendar .day.today .num{font-weight:650;text-decoration:underline;text-underline-offset:4px}.compact-calendar .day.selected{background:#eeeee6;box-shadow:none}.source-mark{display:block;height:17px;max-width:100%;font-size:12px;line-height:17px;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:3px}.source-mark.booked{background:var(--sage);color:#555e4d}.source-mark.pending{background:var(--warm);color:#7c6551}.upcoming{margin-top:26px}.upcoming-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 10px}.upcoming-heading h2{font-size:14px;font-weight:400;margin:0;color:var(--muted)}.upcoming-heading h2 span{font-size:12px;letter-spacing:1.7px}.upcoming-card{display:block;width:100%;text-align:left;padding:19px 18px;margin-bottom:10px;background:#fffefa;border-radius:7px;line-height:1.5}.upcoming-primary{display:flex;align-items:baseline;gap:22px;font-size:23px;color:var(--ink)}.upcoming-primary strong{font-size:22px;font-weight:500;overflow-wrap:anywhere}.upcoming-date{display:flex;gap:6px;align-items:baseline;flex-shrink:0;font-family:Georgia,serif;font-variant-numeric:tabular-nums}.upcoming-year{font:12px -apple-system,sans-serif;color:var(--muted)}.upcoming-project{display:block;margin-top:6px;font-size:16px;color:#55574f;overflow-wrap:anywhere}.upcoming-meta{display:flex;flex-wrap:wrap;gap:4px 0;margin-top:8px;font-size:13px;color:var(--muted)}.upcoming-meta span+span::before{content:'｜';padding:0 5px;color:#cbc9bd}.home-aside{padding-top:12px}.home-aside>#paste{width:100%}.home-reminders{margin-top:30px}.home-reminders h3{font-size:16px;font-weight:400}.home-reminders h3 span{color:var(--muted);margin-left:5px}.home-reminders .card{background:transparent}.selected-day{padding:20px 0 0;scroll-margin-top:16px}.selected-day h3{font-family:inherit;font-size:16px;margin:0}.selected-day .row{margin-bottom:8px}
@media(max-width:800px){.home-layout{display:block}.compact-calendar{padding:4px 8px 10px}.compact-calendar .month-title{font-size:23px}.compact-calendar .actions button{padding:8px 10px}.compact-calendar .week{padding-top:2px}.compact-calendar .calendar{gap:1px 2px;margin-top:4px}.compact-calendar .day{min-height:44px;padding:2px 0;gap:1px}.compact-calendar .day .num{font-size:16px}.upcoming{margin-top:19px}.upcoming-heading{padding-bottom:9px}.upcoming-card{padding:14px 16px;margin-bottom:8px}.upcoming-primary{font-size:23px;gap:20px}.upcoming-primary strong{font-size:21px}.upcoming-project{margin-top:4px}.upcoming-meta{margin-top:6px}.home-aside{padding:20px 2px 0}.home-reminders{margin-top:24px}}
/* Quiet next-shoot summary and a short upcoming list. */
.upcoming-primary .location-pending{font:400 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:var(--muted)}.upcoming-meta span+span::before{content:'·';padding:0 7px}.next-shoot{margin:20px 2px 0;padding:0 0 15px;border-bottom:1px solid var(--line)}.next-label{font-size:11px;letter-spacing:1.7px;color:var(--muted)}.next-summary{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:4px;font-size:15px}.next-place{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;min-width:0}.next-place time{font-variant-numeric:tabular-nums;white-space:nowrap}.next-place>span{overflow-wrap:anywhere}.next-place .location-pending{font-size:13px;color:var(--muted)}.next-countdown{flex-shrink:0;font-size:13px;color:var(--muted)}.next-shoot+.upcoming{margin-top:16px}.view-all-upcoming{display:block;width:100%;min-height:44px;padding:10px 4px;background:transparent;text-align:right;color:var(--muted);font-size:14px}.view-all-upcoming span{margin-left:6px}
/* Wedding day reading view. All styles are isolated from the home page. */
dialog.shoot-detail{padding:0;width:min(760px,calc(100% - 32px));max-height:94dvh}dialog.shoot-detail .detail-topbar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:10px 20px;background:var(--paper);border-bottom:1px solid #ece9e0}.detail-topbar button{font-size:14px}.detail-body{padding:6px 34px 32px}.shoot-detail header.shoot-hero{display:block;padding:14px 0 26px;margin:0;max-width:none;border-bottom:1px solid var(--line)}.shoot-date{font:44px/1.2 Georgia,serif;letter-spacing:-1px}.shoot-city{font-size:21px;margin-top:3px}.shoot-hero h2{font-size:25px;font-weight:400;line-height:1.5;margin:21px 0 3px;overflow-wrap:anywhere}.shoot-detail .shoot-hero .shoot-category{font:11px/1.5 -apple-system,sans-serif;letter-spacing:2.5px;margin:0;color:var(--muted)}.shoot-detail .shoot-hero .shoot-meta{font:14px/1.7 -apple-system,sans-serif;letter-spacing:0;margin:13px 0 0;color:var(--muted)}.detail-section{margin-top:27px}.detail-section h2{font-size:18px;margin:0 0 15px;font-weight:500}.detail-missing{font-size:13px;font-weight:400;color:#88897e}.shoot-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px 22px;margin:0;padding:20px;background:#fffefa;border-radius:7px}.shoot-facts div{min-width:0}.shoot-facts dt,.detail-label{font-size:12px;color:var(--muted);letter-spacing:.6px}.shoot-facts dd{font-size:16px;line-height:1.55;margin:6px 0 0;overflow-wrap:anywhere}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-card{background:#fffefa;padding:18px;border-radius:7px;min-width:0}.contact-card h3{font-size:20px;font-weight:400;margin:5px 0 12px}.contact-card p{margin:6px 0;overflow-wrap:anywhere}.contact-phone{font-variant-numeric:tabular-nums}.contact-address{font-size:14px;color:#64665d;white-space:pre-wrap}.contact-actions{display:flex;flex-wrap:wrap;gap:0 14px;margin-top:10px}.contact-actions button{background:none;border-radius:0;padding:6px 0;font-size:12px;color:#686e60;min-height:44px}.shoot-timeline{list-style:none;margin:10px 0 0;padding:0}.shoot-timeline li{display:grid;grid-template-columns:74px 1fr;gap:10px;min-height:60px}.shoot-timeline time{font-size:16px;font-variant-numeric:tabular-nums;color:#63695c}.shoot-timeline li>div{position:relative;border-left:1px solid #dedfd3;padding:0 0 24px 20px;white-space:pre-wrap;overflow-wrap:anywhere}.shoot-timeline li>div:before{content:'';position:absolute;left:-3px;top:9px;width:5px;height:5px;border-radius:50%;background:#939b85}.shoot-timeline li:last-child>div{border-left-color:transparent}.section-edit{font-size:13px;padding:6px 0}.add-flow{background:transparent;padding:8px 0;color:#717769;font-size:14px}.shoot-notes{background:#eeeee5;border-radius:6px;padding:20px}.shoot-notes>.detail-label{margin:0 0 7px;letter-spacing:1.8px}.note-block{margin-top:16px}.note-block p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9;margin:5px 0}.detail-finance{margin-top:27px;border-top:1px solid var(--line)}.detail-finance summary{font-size:15px;color:#64665d}.detail-finance dl{margin:0}.detail-finance dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:22px;padding:9px 0;font-size:14px}.detail-finance dt{color:var(--muted)}.detail-finance dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:60%;font-variant-numeric:tabular-nums}.detail-progress>.detail-label{letter-spacing:1.7px;margin:0 0 8px}.detail-progress h2{font-size:23px;margin-bottom:5px}.detail-progress details{border:0;padding:6px 0}.detail-progress summary{font-size:14px;color:var(--muted)}.workflow-text{font-size:14px;line-height:2.3;color:var(--muted)}.workflow-text strong{color:var(--ink);font-weight:500}.shoot-editor .fields{gap:20px}.shoot-editor details{padding:21px 0;scroll-margin-top:14px}.shoot-editor input,.shoot-editor select{min-height:48px}.shoot-editor textarea{min-height:125px}.shoot-editor .sticky{padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:600px){dialog.shoot-detail,dialog.shoot-editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.detail-body{padding:0 22px calc(35px + env(safe-area-inset-bottom))}dialog.shoot-detail .detail-topbar{padding:calc(5px + env(safe-area-inset-top)) 12px 5px}.shoot-detail header.shoot-hero{padding-top:12px;padding-bottom:22px}.shoot-date{font-size:40px}.shoot-hero h2{font-size:23px;margin-top:17px}.shoot-facts{padding:16px;gap:17px 16px}.contact-grid{grid-template-columns:1fr;gap:10px}.contact-card{padding:16px 18px}.contact-card h3{margin-bottom:9px}.contact-actions{gap:0 18px;margin-top:5px}.contact-actions button{font-size:13px}.detail-section{margin-top:24px}.detail-section h2{font-size:17px}.shoot-notes{padding:18px}.detail-progress h2{font-size:22px}.shoot-editor{padding:18px 20px}.shoot-editor .dialog-head{position:sticky;top:-18px;z-index:2;background:var(--paper);padding:14px 0;margin-top:-10px}.shoot-editor .sticky{bottom:-18px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}}
.shoot-detail .detail-kicker{font-size:11px;letter-spacing:1.3px;color:var(--muted);font-weight:400}
/* WORK cards: date and status, couple, source, then explicit reminders. */
.work-card{padding:20px 18px;margin-bottom:10px;border:0;border-radius:7px}.work-card-top{align-items:baseline}.work-card-top strong{font-size:16px;font-weight:400;line-height:1.6;min-width:0}.work-card-top .badge{font-size:12px;font-weight:400;flex-shrink:0}.work-card p.work-card-names{font-size:21px;line-height:1.5;color:var(--ink);margin:9px 0 5px;overflow-wrap:anywhere}.work-card p.work-card-names.is-missing{font-size:17px;color:var(--muted)}.work-card p.work-card-source{font-size:14px;color:var(--muted);margin:0;overflow-wrap:anywhere}.work-card p.work-card-reminder{font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0 0}@media(max-width:430px){.work-card{padding:16px 14px}.work-card-top{gap:8px}.work-card-top strong{font-size:15px}.work-card p.work-card-names{font-size:20px}}
/* Scoped to dispatch review; existing pages are unchanged. */
.dispatch-preview section{margin:24px 0}.dispatch-preview h3{font-size:17px;font-weight:500}.dispatch-preview .dialog-head h2{font-size:23px}.dispatch-summary{margin:0;background:#fffefa;border-radius:6px;padding:12px 16px}.dispatch-summary>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:6px 0;font-size:14px}.dispatch-summary dt{color:var(--muted)}.dispatch-summary dd{margin:0;overflow-wrap:anywhere}.dispatch-couple{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dispatch-couple article{background:#fffefa;padding:16px;border-radius:6px;min-width:0}.dispatch-couple p{margin:6px 0;overflow-wrap:anywhere}.dispatch-candidate{padding:12px 4px;font-size:14px}.dispatch-candidate p{margin:4px 0}.dispatch-candidate button{font-size:13px}.dispatch-match-button{display:block;text-align:left;width:100%;margin:8px 0;padding:13px 16px;background:#fffefa}.dispatch-match-button span{display:block;font-size:13px;color:var(--muted);margin-top:3px}.dispatch-match-button.chosen{box-shadow:inset 0 0 0 1px #777e6d;background:#eceee5}.dispatch-separate{font-size:13px;text-align:left}.dispatch-plan{background:#eceee5;padding:18px;border-radius:6px}.dispatch-plan p{font-size:14px;overflow-wrap:anywhere}.dispatch-conflicts{padding:16px;background:#f0e6d8;border-radius:6px}.dispatch-conflicts fieldset{border:0;border-top:1px solid #ddd5c8;margin:16px 0 0;padding:14px 0 0;min-width:0}.dispatch-conflicts legend{font-size:14px}.dispatch-conflicts label{display:flex;align-items:flex-start;gap:10px;margin:8px 0;overflow-wrap:anywhere}.dispatch-conflicts input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin-top:4px}.dispatch-error{font-size:14px;color:#955e4d}.dispatch-footer{display:flex;justify-content:space-between;gap:10px;padding-bottom:12px}.dispatch-footer button{font-size:14px}.dispatch-preview button:disabled{opacity:.4;cursor:not-allowed}.dispatch-preview .fields{padding-top:12px}@media(max-width:600px){.dispatch-couple{grid-template-columns:1fr}.dispatch-summary>div{grid-template-columns:95px minmax(0,1fr)}.dispatch-preview .dialog-head h2{font-size:21px}}
/* Secondary, actionable preparation notes; no completion score. */
.shoot-prep h3{font-size:14px;color:var(--muted);font-weight:400}.shoot-prep h3>span{font-size:11px;letter-spacing:1.4px;margin:0}.shoot-prep .prep-card,.prep-overview .prep-card{padding:13px 0;background:transparent;border-bottom:1px solid #eae8df}.prep-card>span{font-size:14px;color:#62665c}.prep-card>p{font-size:13px;color:var(--muted);line-height:1.7;margin:5px 0 0}.prep-more{padding:10px 0;font-size:13px}.prep-overview .dialog-head h2{font-size:18px}.dispatch-plan .dispatch-summary{background:transparent;padding:4px 0;margin:0 0 18px}.dispatch-plan h3{margin-top:18px}
