:root{color-scheme:light;--ink:#20352f;--muted:#586963;--forest:#22463a;--leaf:#346551;--paper:#f5f6f2;--line:#dce3dc;--white:#fff;--mint:#e8f2eb;--orange:#98492a;--cream:#f9eadc;font-family:'Segoe UI',system-ui,sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15}h1{font-family:Georgia,serif;font-size:clamp(2.5rem,5vw,4rem);font-weight:500;letter-spacing:-.055em}h2{font-family:Georgia,serif;font-weight:500;font-size:1.7rem;letter-spacing:-.025em}h3{font-size:1.05rem}p{line-height:1.55}a{color:var(--leaf)}button,input,select,textarea{font:inherit}button,a.action{cursor:pointer;border:1px solid transparent;border-radius:.65rem;padding:.61rem .9rem;display:inline-flex;justify-content:center;align-items:center;gap:.45rem;text-decoration:none;font-weight:650;min-height:42px}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--forest);color:white}.primary:hover{background:var(--leaf)}.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.secondary:hover{background:var(--mint)}.plain{background:transparent;color:var(--ink);border-color:transparent}.danger{color:#913c34}.icon{width:19px;height:19px;flex:0 0 auto}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9a5a37;outline-offset:2px}.shell{min-height:100dvh;display:grid;grid-template-columns:230px minmax(0,1fr)}.side{background:#eef2ec;border-right:1px solid var(--line);padding:1.7rem 1.05rem;display:flex;flex-direction:column;gap:2.7rem}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;line-height:1.2}.brand-logo{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:51.25px;height:51.25px;padding:0;flex:none;background:var(--forest);border-radius:13px}.brand-logo img{display:block;width:41px;height:auto}.brand small{display:block;font-weight:500;color:var(--muted)}.nav{display:grid;gap:.35rem}.nav button{justify-content:flex-start;font-weight:600;color:#40594d}.nav button[aria-current=page]{background:#dbe8de;color:var(--forest)}.sidefoot{margin-top:auto;color:var(--muted);font-size:.88rem;padding:.9rem .3rem;border-top:1px solid var(--line);display:flex;gap:.5rem;align-items:center}.main{padding:0 2.35rem 3rem;max-width:1500px;width:100%;margin:auto;align-self:start}.top{min-height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);gap:1rem;font-size:.9rem}.top strong{color:var(--forest)}.pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;padding:2.25rem 0 1.5rem}.pagehead p{color:var(--muted);margin-top:.55rem}.grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,1fr);gap:1.2rem;margin-top:1.2rem;align-items:stretch}.summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.panel,.metric{border:1px solid var(--line);border-radius:1rem;background:var(--white);min-width:0}.metric{padding:1rem 1.2rem;text-align:left;display:block;font-weight:500}.metric:hover{background:#fcfdfa}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem;color:var(--muted);font-size:.9rem}.badgemark{border-radius:10px;background:var(--mint);padding:.45rem;display:grid;place-items:center;color:var(--forest)}.badgemark.warm{background:var(--cream);color:var(--orange)}.metric strong{display:block;font-family:Georgia,serif;font-size:2.1rem;font-weight:500;line-height:1.05;margin:.3rem 0}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 1.25rem;gap:.7rem}.schedule{padding:0 1.25rem 1rem;min-height:190px}.event{display:flex;align-items:center;gap:.8rem;width:100%;text-align:left;justify-content:flex-start;padding:.65rem .15rem;background:#fff;color:var(--ink);border-bottom:1px solid var(--line);border-radius:0}.event:last-child{border-bottom:0}.event .pushed{margin-left:auto;text-align:right}.event small{display:block;color:var(--muted);font-weight:500;margin-top:.15rem}.datebox{min-width:53px;background:var(--mint);padding:.42rem;border-radius:.55rem;text-align:center;color:var(--forest);font-size:.8rem;line-height:1.12}.datebox strong{display:block;font-size:1.28rem}.empty{min-height:150px;display:grid;align-content:center;justify-items:center;text-align:center;padding:1rem;color:var(--muted);gap:.45rem}.empty .badgemark{margin-bottom:.25rem}.empty strong{color:var(--ink)}.calendar{padding:0 1rem .85rem}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:2px}.cal-grid button{padding:.15rem;min-height:32px;font-weight:500;border-radius:.5rem}.cal-grid button.today{box-shadow:inset 0 0 0 1px var(--leaf)}.cal-grid button.selected{color:white;background:var(--forest)}.cal-grid button.has-event:not(.selected){background:var(--mint);font-weight:750}.cal-grid small{color:var(--muted);padding:.2rem}.tracker{margin-top:1.2rem}.toolbar{display:flex;gap:.55rem;flex-wrap:wrap;padding:0 1.25rem 1rem}.toolbar input{max-width:280px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th,td{text-align:left;padding:.65rem 1.15rem;border-top:1px solid var(--line);font-size:.92rem}th{color:var(--muted);background:#f8faf7;font-weight:650}td .plain{min-height:34px;padding:.2rem .45rem}td small{display:block;color:var(--muted);margin-top:.2rem}.pill{display:inline-flex;align-items:center;padding:.28rem .6rem;border-radius:2rem;font-size:.83rem;font-weight:650;color:#3a5748;background:var(--mint)}.pill.pending{color:#85421f;background:var(--cream)}.pill.cancelled{color:#893c34;background:#f9e9e6}.pill.complete{color:#3e5450;background:#e9eeec}.stack{display:grid;gap:1rem}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.lineup{display:flex;gap:.55rem;align-items:center;justify-content:space-between}.field{display:grid;gap:.35rem;color:var(--ink);font-weight:600;font-size:.92rem}.field small,.hint,.muted{color:var(--muted);font-weight:400}.hint{font-size:.9rem}.chunk{border:1px solid var(--line);border-radius:.75rem;padding:1rem;display:grid;gap:.65rem}.quiet{background:#f7faf6}.callout{background:var(--cream);color:#713b21;border-radius:.65rem;padding:.7rem .9rem;font-size:.92rem}.formerror{color:#913c34;min-height:0;font-size:.92rem}.formerror:empty{display:none}input,select,textarea{border:1px solid #bfcfc3;border-radius:.55rem;padding:.61rem .68rem;background:white;color:var(--ink);width:100%;min-width:0}select{width:auto;max-width:100%}textarea{min-height:105px;resize:vertical}.loading{padding:2rem}.guest-shell{width:min(100% - 2rem,650px);margin:2rem auto}.guest-shell .brand{margin-bottom:1.4rem}.guest-card{padding:1.3rem}.guest-card h1{font-size:2.4rem}.section-space{padding:1.25rem}.compact-table{max-width:900px}.padded{padding:0 1.25rem 1.2rem}.history{margin:0;padding-left:1.25rem;font-size:.9rem;color:var(--muted)}dialog{color:var(--ink);border:1px solid var(--line);padding:0;border-radius:1.1rem;width:min(calc(100% - 1.6rem),730px);max-height:calc(100dvh - 2rem);box-shadow:0 18px 100px #142f2940}dialog::backdrop{background:#172e2580}dialog .dialog-head{position:sticky;top:0;background:#fff;z-index:2;padding:1rem 1.25rem;border-bottom:1px solid var(--line)}dialog .dialog-body{padding:1.15rem 1.25rem}#toast{position:fixed;z-index:10;bottom:1.1rem;right:1rem;margin-left:1rem;background:var(--forest);color:white;padding:.75rem 1rem;border-radius:.6rem;max-width:435px}.notebody{white-space:pre-wrap}.contactcard{padding:1rem}.no-wrap{white-space:nowrap}
@media(max-width:1000px){.shell{grid-template-columns:190px minmax(0,1fr)}.main{padding-inline:1.1rem}.grid{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr)}}
@media(max-width:760px){.shell{display:block}.side{border:0;border-bottom:1px solid var(--line);padding:.75rem;gap:.7rem}.sidefoot{display:none}.nav{display:flex;gap:.25rem;flex-wrap:wrap}.nav button{padding:.42rem .55rem;font-size:.86rem}.nav .icon{display:none}.main{padding-inline:.75rem}.top{min-height:48px}.pagehead{padding-top:1.4rem;align-items:flex-start}.pagehead .primary{white-space:nowrap}.grid{grid-template-columns:1fr}.metric{padding:.65rem}.metric-top{flex-direction:column-reverse;align-items:flex-start}.summary{gap:.45rem}.formgrid{grid-template-columns:1fr}.panel-head{padding-inline:.85rem}.toolbar,.schedule,.padded{padding-inline:.85rem}}
@media(max-width:420px){.pagehead{display:grid}.nav button{font-size:.8rem}.summary .metric-top{font-size:.83rem}}
/* Keep controls usable on compact screens and allow long names to wrap. */
.field,.stack,.chunk,.formgrid>*,.grid>*{min-width:0}
.field>input,.field>select,.field>textarea{width:100%;min-height:46px;font-size:1rem}
.chunk,.panel,.pagehead{overflow-wrap:anywhere}
.window .lineup{align-items:end}.window .lineup .field{flex:1}.window .overnight:empty{display:none}
.actions,.lineup{row-gap:.7rem}.lineup{flex-wrap:wrap}
.guest-card form{gap:1rem}.guest-card .window{padding:clamp(.85rem,2.3vw,1.15rem)}
@media(max-width:760px){.shell .nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.nav button{justify-content:center;min-height:44px}.top,.pagehead,.panel-head,.event{flex-wrap:wrap}.top{padding-block:.65rem}.toolbar input,.toolbar select{flex:1 1 12rem;max-width:100%}.actions button,.actions a,.guest-card button,.lineup button{min-height:44px}.guest-card h1{font-size:clamp(1.8rem,7vw,2.5rem)}.guest-shell .formgrid,.dialog-body .formgrid{row-gap:1rem}.guest-card select{width:100%}.table-wrap{max-width:100%}}
@media(min-width:365px) and (max-width:760px){.guest-card .window .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:364px){.actions>*{width:100%}.window .formgrid{grid-template-columns:minmax(0,1fr)}}
@media(min-width:761px){.shell .main{margin-top:0}.formgrid{align-items:start}.guest-shell .window .formgrid{column-gap:1.15rem}.actions{gap:.65rem}}
.calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:.3rem;text-align:center}.calendar-nav button{max-width:30%;font-size:.85rem;padding:.4rem}.date-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.date-picker button{min-width:0;padding:0;min-height:42px;background:white;color:var(--ink);border-color:var(--line)}.date-picker button[aria-pressed=true]{background:var(--forest);color:white}.date-picker button:disabled{opacity:.35;cursor:default}.family-window{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;align-items:end}.family-window .field{min-width:0}.family-window input,.family-window select{max-width:100%;box-sizing:border-box}.family-window button{justify-self:start}.family-window .overnight{grid-column:1/-1}.family-window+.family-window{border-top:1px solid var(--line);padding-top:1rem}@media(max-width:550px){.family-window{grid-template-columns:minmax(0,1fr)}.family-window input[type=time]{appearance:none;min-width:0}}
.family-window .remove-availability{color:#9d2c27;background:#fff;border:1px solid #c77c76}.family-window .remove-availability:hover{background:#fae8e6}.add-availability{color:var(--forest);background:#eaf2eb;border:1px solid #7c9c84}.add-availability:hover{background:#dae9dc}.calendar-nav button{min-height:44px;max-width:34%;border:1px solid #82958a;background:white;color:var(--forest);line-height:1.2}.calendar-nav button:hover{background:#eaf2eb}
.availability-confirmation{text-align:center}.availability-confirmation h1[tabindex="-1"]:focus{outline:none}.availability-confirmation .actions{justify-content:center}.availability-complete{display:grid;place-items:center;align-self:center;width:3rem;height:3rem;border-radius:50%;background:#eaf2eb;color:var(--forest);font-size:1.5rem;font-weight:700}.saved-times{list-style:none;margin:0;padding:0}.availability-edit-link{color:var(--forest);background:transparent;border:0;font-weight:700;text-decoration:underline;text-underline-offset:.22em}.availability-edit-link:hover{text-decoration-thickness:2px}
.availability-complete{margin-inline:auto}
.availability-times{width:100%;padding:clamp(1rem,4vw,1.5rem);gap:.75rem}
.availability-times h2{font-size:1.45rem;color:var(--forest)}
.saved-times li{display:grid;gap:.25rem;padding:.75rem 0;line-height:1.4}
.saved-times li+li{border-top:1px solid var(--line)}
.saved-times li:last-child{padding-bottom:0}
.saved-time-range{font-size:.95rem}
.saved-time-zone{font-size:.8rem;color:var(--muted);white-space:nowrap}
.guest-card details>summary{cursor:pointer;padding:.5rem 0;min-height:44px}
.guest-card details[open]>form{margin-top:.75rem;text-align:left}
.dialog-head h2{min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){.dialog-head h2{flex:1}.dialog-body,.dialog-head{padding-inline:.85rem}.calendar-nav{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.calendar-nav strong{grid-row:1;grid-column:1/-1}.calendar-nav button{max-width:100%;width:100%}}
.brand-row{display:flex;align-items:center;gap:.65rem}.brand-row strong{font-size:1.125rem;color:var(--forest);white-space:nowrap}
.brand-copy{display:grid;gap:.2rem;text-align:left}
/* Owner workspace and shared controls */
:root {
  --ink: #17211b;
  --muted: #606b64;
  --forest: #34724b;
  --leaf: #285838;
  --paper: #fff;
  --line: #dfe4df;
  --mint: #edf4ea;
  font-family: Helvetica, Arial, sans-serif;
}
h1,h2,h3,.metric strong {
  font-family: inherit;
  color: #17211b;
  letter-spacing: -.016em;
}
h1,.guest-card h1 { font-size: 26px; font-weight: 700; line-height: 1.22; }
h2 { font-size: 17px; font-weight: 650; line-height: 1.3; }
h3 { font-size: 15px; font-weight: 650; }
button,a.action { min-height: 36px; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #558c69; outline-offset: 2px; }
.primary { background: #22463a; }
.primary:hover,.rail-cta:hover { background: #346551; }
.secondary,.icon-button { background: #fff; border: 1px solid #d5dcd6; color: #303c33; }
.icon-button { width: 36px; height: 36px; padding: 0; flex: none; }
.icon-button:hover,.secondary:hover { background: #f0f5ef; border-color: #acbfaf; }
.plain:hover { background: #eff4ee; }
.icon { width: 17px; height: 17px; }
.shell { grid-template-columns: 256px minmax(0,1fr); }
.side { position: sticky; top: 0; height: 100dvh; overflow-y: auto; padding: 22px 20px 16px; gap: 17px; background: #fafbfa; }
.brand-logo { width: 42px; height: 42px; border-radius: 11px; background: #22463a; }
.brand-logo img { width: 36px; }
.brand-copy { gap: 2px; }
.brand-copy strong { font-size: 18px; color: #18251c; }
.brand-copy small { font-size: 12px; }
.rail-cta { width: 100%; border-radius: 22px; background: #22463a; color: #fff; min-height: 38px; margin-top: 7px; }
.nav { gap: 3px; }
.nav button { width: 100%; min-height: 47px; padding: 9px 14px; gap: 12px; font-size: 14px; font-weight: 500; border-radius: 9px; color: #404b43; }
.nav button[aria-current=page] { background: #e6eddf; color: #315e3e; font-weight: 700; }
.nav-icon { display: inline-grid; place-items: center; width: 25px; height: 25px; color: #609568; flex: none; }
.nav-icon .icon { width: 21px; height: 21px; stroke-width: 2.3; filter: drop-shadow(0 1px 3px #77ae7647); }
.nav button:first-child .icon { fill: currentColor; stroke-width: 1; }
.sidefoot { font-size: 12px; align-items: center; gap: 8px; }
.side form[action="/logout"] button { color: var(--muted); margin-left: auto; }
.main { max-width: none; padding: 0 24px 32px; }
.pagehead { min-height: 96px; align-items: center; padding: 18px 30px; margin: 0 -24px 22px; border-bottom: 1px solid var(--line); }
.pagehead p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.overview-left { display: grid; gap: 16px; min-width: 0; }
.grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.panel { border-color: #dde3dd; border-radius: 16px; background: #fff; }
.panel-head { padding: 15px 16px 12px; min-height: 58px; flex-wrap: wrap; }
.panel-head h2,.person h3 { display: inline-flex; gap: 9px; align-items: center; }
.section-icon,.badgemark { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; color: #477d53; border-radius: 9px; background: radial-gradient(ellipse at 35% 18%,#fcfffa,#e7f3df 62%,#d6e7cf); box-shadow: inset 0 0 0 1px #63906524,0 1px 6px #84b87522; }
.section-icon .icon,.badgemark .icon { filter: drop-shadow(0 0 2px #8dc98866); }
.section-icon.amber,.badgemark.warm { color: #95682f; background: radial-gradient(ellipse at 35% 18%,#fffefd,#f9efd9 70%,#f0e3c8); box-shadow: inset 0 0 0 1px #d6b98247; }
.schedule { padding: 0 16px 14px; min-height: 0; }
.empty { min-height: 94px; background: #f8faf7; border: 1px solid #e6ebe3; border-radius: 12px; font-size: 12px; gap: 4px; }
.empty strong { font-size: 14px; }
.empty .badgemark { width: 30px; height: 30px; }
.event { font-size: 13px; padding: 9px 4px; border-color: #e9ede8; }
.event:hover,.agenda-item:hover { background: #f4f7f2; }
.event small { font-size: 12px; line-height: 1.4; }
.booking-card { gap: 11px; padding: 10px; margin-bottom: 7px; background: #fafbf9; border: 1px solid var(--line); border-radius: 12px; }
.booking-card:last-child { border-bottom: 1px solid var(--line); }
.booking-card .pill { margin-left: auto; }
.datebox { display: grid; place-content: center; min-width: 48px; min-height: 61px; background: #e8efe0; text-transform: uppercase; font-size: 10px; gap: 2px; }
.datebox strong { font-size: 18px; }
.event-person { min-width: 0; }
.event-person small .icon { width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; }
.calendar-content { padding: 0 16px 14px; }
.calendar-status { display: flex; gap: 7px; align-items: center; font-size: 12px; color: #3c6445; background: #f2f7ef; border-radius: 7px; padding: 8px 10px; margin-bottom: 12px; }
.calendar-status span { margin-left: auto; font-size: 11px; }
.month-frame { border: 1px solid #e0e5df; border-radius: 10px; padding: 7px; }
.month-nav { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.month-nav .icon-button { border-color: transparent; }
.month-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); text-align: center; }
.month-days small { padding: 4px 0; color: #63716a; font-size: 11px; }
.month-days button { display: grid; place-content: center; justify-items: center; align-self: center; justify-self: center; min-height: 29px; min-width: 31px; gap: 0; padding: 2px; color: #334138; background: #fff; font-size: 12px; }
.month-days button:hover { background: #f0f5eb; }
.month-days button[aria-current=date] { border-color: #9cba9b; background: #ebf2e7; }
.month-days button[aria-pressed=true] { background: #356a46; color: white; }
.cal-dots { display: flex; min-height: 4px; gap: 2px; }
.cal-dots i,.legend span:before { display: inline-block; content: ''; width: 4px; height: 4px; border-radius: 50%; background: #52845b; }
.cal-dots i.past,.legend span+span:before { background: #858e87; }
.month-days button[aria-pressed=true] i { background: #fff; }
.legend { display: flex; gap: 15px; padding-top: 9px; color: var(--muted); font-size: 11px; }
.legend span:before { width: 7px; height: 7px; margin-right: 5px; }
.daily-agenda { display: grid; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 9px; gap: 5px; font-size: 12px; }
.agenda-item { justify-content: flex-start; padding: 3px 6px; background: #f6f8f5; }
.tracker { margin-top: 20px; padding-bottom: 14px; }
.tracker-head { justify-content: flex-start; }
.tracker-head>.icon-button { margin-left: auto; }
.count-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 3px; border-radius: 8px; background: #f3f5f2; }
.count-chip { background: transparent; gap: 5px; color: #455449; font-size: 12px; padding: 5px 8px; min-height: 29px; }
.count-chip:hover { background: #fff; box-shadow: 0 1px 4px #203c291b; }
.count-chip .icon { width: 14px; height: 14px; color: #64876b; }
.count-chip strong { font-variant-numeric: tabular-nums; }
.toolbar { padding: 0 16px 12px; }
.lookup,.stage-filter { position: relative; display: flex; align-items: center; min-width: 0; }
.lookup>.icon,.stage-filter>.icon { position: absolute; left: 11px; pointer-events: none; color: #6c796f; }
.lookup input,.stage-filter select { height: 36px; min-height: 36px; padding: 7px 10px 7px 35px; border-color: #d7ded7; font-size: 13px; }
.lookup { flex: 1 1 210px; max-width: 360px; }
.lookup input { max-width: none; }
.tracker .table-wrap { margin: 0 16px; border: 1px solid var(--line); border-radius: 12px; }
th,td { font-size: 13px; padding: 11px 13px; }
th { background: #f5f6f7; font-size: 12px; color: #626d65; border-top: 0; }
td { height: 54px; }
td small { font-size: 11px; }
.family-cell { display: inline-flex; align-items: center; gap: 8px; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: #e8efdf; color: #41664a; font-size: 11px; font-weight: 700; }
.pill { gap: 5px; font-size: 11px; padding: 4px 8px; }
.pill:before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; flex: none; }
.pill.booked { color: #fff; background: #39774e; }
.pill.pending { color: #735816; background: #fcf3d5; }
.pill.cancelled { color: #85443b; background: #faece7; }
.dialog-head h2 { font-size: 20px; }
.dialog-head .icon-button { border-radius: 50%; }
.chunk { border-radius: 12px; }
.field { font-size: 13px; }
.field>input,.field>textarea,.field>select { border-color: #ccd5cd; min-height: 40px; font-size: 14px; }
.mode-hint { display: flex; gap: 8px; align-items: center; background: #eff6ec; color: #3c6544; padding: 9px 12px; border-radius: 8px; font-size: 13px; }
#new>.actions { border-top: 1px solid var(--line); padding-top: 14px; justify-content: flex-end; }
.guest-card h1 { font-size: 26px; }
.guest-shell { line-height: 1.45; }
.guest-card .chunk,.guest-card .panel { border-color: #dce4da; }
@media(min-width:761px) and (max-width:1100px) {
  .shell { grid-template-columns: 204px minmax(0,1fr); }
  .main { padding-inline: 16px; }
  .pagehead { margin-inline: -16px; padding-inline: 20px; }
  .overview-grid { gap: 12px; }
}
@media(max-width:760px) {
  .shell { display: block; }
  .side { position: static; height: auto; padding: 12px; gap: 10px; overflow: visible; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .side>.rail-cta { margin: 0; width: auto; padding-inline: 11px; min-height: 44px; }
  .side .nav { grid-column: 1/-1; display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; padding: 2px; }
  .nav button { font-size: 12px; min-height: 44px; padding: 5px 8px; display: grid; align-content: center; justify-items: center; gap: 3px; width: auto; flex: 1 0 auto; }
  .nav-icon,.nav-icon .icon { display: grid; width: 17px; height: 17px; }
  .sidefoot { display: none; }
  .main { padding: 0 12px 24px; }
  .pagehead { display: flex; margin: 0 -12px 14px; padding: 16px; min-height: 72px; }
  .overview-grid,.grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .panel-head { padding: 12px; }
  .overview-left { gap: 12px; }
  .schedule,.calendar-content { padding-inline: 12px; }
  .tracker .table-wrap { margin-inline: 10px; }
  .tracker-head { gap: 6px; }
  .count-group { order: 2; flex: 1 0 100%; }
  .count-chip { min-height: 40px; }
  .toolbar { flex-wrap: wrap; padding-inline: 10px; }
  .toolbar input,.toolbar select,.field>input,.field>textarea,.field>select { min-height: 44px; font-size: 16px; }
  .lookup { max-width: none; }
  .month-days button { min-height: 39px; width: 100%; }
  .month-nav .icon-button,.icon-button { min-width: 40px; min-height: 40px; }
  .guest-card h1 { font-size: 24px; }
}
@media(max-width:390px) {
  .side>.rail-cta { font-size: 12px; }
  .brand-copy strong { font-size: 16px; }
  .count-chip { padding-inline: 5px; font-size: 11px; }
}

.attention-panel summary {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 12px 16px; list-style: none;
}
.attention-panel summary::-webkit-details-marker { display: none; }
.attention-title { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 650; }
.attention-count { margin-left: auto; padding: 3px 8px; border-radius: 6px; color: #6e531f; background: #faf1dd; font-size: 12px; font-weight: 700; }
.attention-panel[open] summary>.icon { transform: rotate(90deg); }
.attention-panel .schedule { max-height: 260px; overflow-y: auto; }
