/* Plain HTML controls, small colored index labels and a tighter editorial rhythm. */
:root{--page-rule:#bbb4c3;--section-rule:#dfdae5;--ink-soft:#51485a;--focus:#20209b}
.hero{padding-block:19px 16px}
.hero h1{font-size:clamp(2.1rem,4.5vw,3.45rem);line-height:.98;letter-spacing:-.03em}
.top-kicker{font-size:.76rem;letter-spacing:.015em}
header{border-bottom-color:var(--page-rule)}
main h2{font-size:clamp(1.35rem,2.35vw,1.83rem);line-height:1.13;margin-block:.15rem .45rem}
main h3{font-size:clamp(1.15rem,1.8vw,1.43rem);margin:.18rem 0 .4rem}
main p{line-height:1.38}
.planner-nav{gap:.38rem .9rem;margin:0 0 .65rem;padding:0 0 .55rem;border-bottom:1px dotted var(--page-rule)}
.planner-nav button{font-size:1.04rem}
.planner-nav button:not(:last-child)::after{content:" /";color:#776b83;margin-left:.25rem;display:inline-block;text-decoration:none;pointer-events:none}
.monthbar{margin:0;padding:.25rem 0 .45rem;font-size:.78rem;border-bottom:1px dotted var(--page-rule)}
.monthbar input{font-size:.83rem}
.cal-tools{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.32rem .8rem;margin:.48rem 0 .5rem}
.cal-tools p{font-size:.75rem;margin:0}
.area-legend{list-style:none;display:flex;flex-wrap:wrap;gap:.16rem .55rem;margin:0;padding:0}
.area-name{color:var(--area-ink,#37313d)}
.area-name::before{content:"";display:inline-block;background:var(--area-ink,#37313d);width:.45rem;height:.45rem;margin-right:.32rem;vertical-align:.12em}
.area-legend .area-name{font: .72rem/1.36 "Courier New",monospace;white-space:nowrap}
[data-area-tone=studio]{--area-ink:#292998;--area-fill:#f0f0ff;--area-rule:#b0addd}
[data-area-tone=classroom]{--area-ink:#6a245e;--area-fill:#fbf0fa;--area-rule:#d5b0cf}
[data-area-tone=teal]{--area-ink:#1b5753;--area-fill:#eaf6f2;--area-rule:#a7cfc5}
[data-area-tone=ochre]{--area-ink:#744009;--area-fill:#fff5e2;--area-rule:#d9c193}
[data-area-tone=rose]{--area-ink:#892743;--area-fill:#fff1f3;--area-rule:#dcaebd}
.pl-cal{margin:.45rem 0 .85rem}
.pl-cal>strong,.weekdays span{font-size:.72rem;padding:.38rem .42rem}
.pl-cal .pl-day{min-height:4.05rem;padding:.27rem;gap:.18rem}
.pl-cell-top{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:0}
.pl-cell-top button{font-size:.85rem;min-height:1.6rem;min-width:1.3rem;padding:0 .18rem;line-height:1.15}
.pl-cell-top button.pl-add{display:inline-grid;place-items:center;min-width:1.55rem;min-height:1.55rem;border:1px solid #82768b;background:#fdfcfe;color:var(--reset-h2,#0000aa);padding:0;font:bold .95rem/1 "Courier New",monospace}
.pl-cell-top button.pl-add:hover,.pl-cell-top button.pl-add:focus-visible{background:var(--reference-bluewash);border-color:var(--focus);text-decoration:none}
.pl-day-shift{display:block;border-left:2px solid var(--area-rule);background:var(--area-fill);color:var(--area-ink);padding:.12rem .28rem;line-height:1.15;min-width:0;overflow-wrap:anywhere}
.pl-day-shift b{font: bold .82rem/1.15 "Times New Roman",serif}
.pl-day-shift small{display:block;font:.66rem/1.15 "Courier New",monospace;color:#4b4256}
.pl-more{font: .68rem/1.2 "Courier New",monospace;color:var(--ink-soft)}
.shift-tile{border-top:1px dotted var(--area-rule,var(--page-rule))}
.shift-tile strong,.snapshot-shift strong{color:var(--area-ink,var(--reset-body,#151515))}
.shift-tile .tile-top{margin-bottom:.2rem}
.shift-tile .shift-id{color:var(--area-ink,var(--ink-soft))}
.shift-tile .badge{font:.68rem/1.2 "Courier New",monospace;background:#fff;border-color:var(--area-rule,var(--section-rule));color:var(--ink-soft)}
.shift-tile .badge.booked{background:var(--area-fill);color:var(--area-ink)}
.shift-tile .choice{border-width:1px;background:#f7f6f8;font-size:.76rem;min-height:26px}
.shift-tile .choice[aria-pressed=true]:not(.skip){background:var(--area-fill);color:var(--area-ink);border-color:var(--area-ink)}
.shift-tile .choice.skip[aria-pressed=true]{background:#fff;border-style:solid;color:#4a4353}
.snapshot-shift{border-top-color:var(--area-rule,var(--page-rule))}
.participant-mast,.pick-order,.calendar-intro{padding:.45rem 0}
.pick-order p,.calendar-intro>p:not(.screen-kicker){font-size:1.02rem}
.pl-progress-round li{padding:.3rem .48rem}
.pl-inline-round{border-color:var(--section-rule);padding:.38rem .52rem}
@media(max-width:650px){
 .pl-cal .pl-day{padding:.14rem;min-height:3.45rem;gap:.17rem}.pl-cal>strong,.weekdays span{text-align:center;padding:.28rem 0}
 .pl-cell-top button{width:auto;min-width:0;padding:0 .13rem}.pl-cell-top button.pl-add{min-width:1.55rem;min-height:1.58rem}
 .pl-day-shift{min-height:4px;height:4px;padding:0;border-left-width:3px}.pl-day-shift b,.pl-day-shift small,.pl-more{display:none}
 .cal-tools .area-legend{gap:.14rem .55rem}.shift-tile .choice{min-height:40px}.hero{padding-block:15px 13px}
}
.pl-area-tools,.pl-template-tools,.pl-template-tools form,.pl-calendar-title{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .65rem}
.pl-calendar-title{justify-content:space-between;margin:.6rem 0 .35rem}.pl-calendar-title h3{margin:0}
.pl-template-tools,.pl-area-tools{font-size:.8rem}
.pl-popup{box-sizing:border-box;width:min(34rem,calc(100% - 1.5rem));max-height:calc(100% - 1.5rem);padding:0;border:1px solid #413a4e;background:white;color:var(--reset-body,#151515);box-shadow:5px 5px 0 #413a4e3b}
.pl-popup::backdrop{background:#24203340}
.pl-popup-body{padding:.75rem 1rem 1rem}
.pl-popup-header,.pl-popup .pl-day-editor-head{border-bottom:1px solid #cecad3;margin-bottom:.55rem;padding-bottom:.35rem}
.pl-popup .pl-day-editor-head h4{font-size:1.15rem}
.pl-popup .pl-day-form,.pl-popup .stack{margin-top:.7rem}
.pl-template-rule{display:flex;align-items:end;flex-wrap:wrap;gap:.4rem .55rem;padding:.45rem 0;border-top:1px solid #e4e0e7}
.pl-template-rule label{display:grid;gap:.15rem}
.pl-template-feedback{margin:.35rem 0 .55rem;font-size:.83rem}
.pl-round-shifts{list-style:none;padding:0;margin:.4rem 0 .65rem;display:grid;gap:.18rem .8rem;grid-template-columns:repeat(auto-fit,minmax(min(19rem,100%),1fr))}
.pl-progress-round .pl-round-shifts li{min-width:0;max-width:none;display:flex;flex-wrap:wrap;gap:.12rem .42rem;align-items:baseline;padding:.26rem .42rem;border-left:2px solid #cec8d6;background:#f7f6f8;font-size:.78rem}
.pl-progress-round .pl-round-shifts li>*{display:inline}.pl-round-shifts time{white-space:nowrap}.pl-round-shifts li>span{color:var(--reset-sub,#551a8b)}
.pl-draft-tile{display:flex;align-items:stretch;min-width:0;background:var(--area-fill);border-left:2px solid var(--area-rule)}
.pl-draft-tile .pl-draft-open{flex:1 1 0;min-width:0;border:0;background:transparent;text-align:left;color:var(--area-ink);padding:.16rem .24rem;white-space:normal}
.pl-draft-open:hover b,.pl-draft-open:focus-visible b{text-decoration:underline}
.pl-draft-tile .pl-draft-remove{align-self:flex-start;flex:0 0 1.3rem;padding:0;min-width:1.3rem;min-height:1.3rem;margin:.12rem .12rem .12rem 0;border:1px solid var(--area-rule);background:#fff;color:#8a2740;font:bold .87rem/1 "Courier New",monospace}
.pl-draft-tile .pl-draft-remove:hover,.pl-draft-tile .pl-draft-remove:focus-visible{border-color:#8a2740;background:#fff0f2}
.pl-round-participants h5,.pl-round-record h5{font-size:.92rem;margin:.52rem 0 .3rem}
.pl-round-participants table{width:100%;border-collapse:collapse;font-size:.84rem}
.pl-round-participants th,.pl-round-participants td{padding:.33rem .45rem;border-bottom:1px solid #e4e0e7;text-align:left;vertical-align:top}
.pl-round-participants thead{background:#f4f1f7}.pl-round-participants small{display:block;color:var(--reset-sub,#551a8b)}
.pl-round-participants .pl-actions{display:flex;flex-wrap:wrap;gap:.22rem;justify-content:flex-start}
.pl-round-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .75rem}
.pl-round-log{max-height:12rem;overflow:auto;border-top:1px solid #cfc8d8;overflow-wrap:anywhere}
.pl-round-log p{font-size:.75rem;margin:0;padding:.28rem 0;border-bottom:1px solid #f0edf2}
@media(max-width:650px){
 .pl-draft-tile .pl-draft-open{height:auto;min-height:1.45rem;padding:0;border-left:0}
 .pl-draft-tile .pl-draft-remove{flex-basis:1rem;min-width:1rem;min-height:1.12rem;margin:.15rem .07rem .15rem 0}
 .pl-draft-tile .pl-draft-open b{display:block;font-size:.62rem;overflow:hidden;white-space:nowrap;text-indent:.10rem;text-overflow:ellipsis}
 .pl-round-records{grid-template-columns:1fr}
 .pl-round-participants th,.pl-round-participants td{padding:.28rem .22rem}
}
.pl-launch-timing{margin:0;padding:.45rem .6rem;border:1px solid #cfc8d8;display:flex;gap:.35rem .85rem;flex-wrap:wrap}
.pl-launch-timing legend{font-size:.85rem;font-weight:bold}
.pl-launch-timing label{display:flex;align-items:center;gap:.25rem;font-size:.86rem}

/* The participant calendar is a fixed month index; choices live under it. */
.pick-calendar-tools,.pick-day-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.35rem .8rem;flex-wrap:wrap;margin:.5rem 0}
.pick-calendar-tools p{margin:0;font-size:.82rem;color:#4b4256}
.pick-calendar-tools ul{list-style:none;display:flex;gap:.18rem .4rem;flex-wrap:wrap;margin:0;padding:0}
.pick-state{font:bold .67rem/1.1 "Courier New",monospace;border:1px solid var(--pick-stroke);background:var(--pick-fill);color:var(--pick-ink);padding:.16rem .27rem;white-space:nowrap}
[data-pick-state=open]{--pick-fill:#e9f6ef;--pick-stroke:#77a890;--pick-ink:#1b5037}
[data-pick-state=selected]{--pick-fill:#edf1ff;--pick-stroke:#7b89cb;--pick-ink:#253b83}
[data-pick-state=mine]{--pick-fill:#f2ebfa;--pick-stroke:#a489be;--pick-ink:#4a256a}
[data-pick-state=booked]{--pick-fill:#f1eef2;--pick-stroke:#a69eac;--pick-ink:#504759}
[data-pick-state=unavailable]{--pick-fill:#f6f5f7;--pick-stroke:#d8d2dc;--pick-ink:#5c5363}
.pick-weekdays,.pick-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#d9d2e1}
.pick-weekdays{border-bottom:1px solid #d9d2e1}
.pick-weekdays span{background:#f4f0f8;padding:.34rem .42rem;font:bold .72rem/1 "Courier New",monospace;color:#4b315e}
.pick-calendar-grid{grid-auto-rows:5.1rem}
.pick-cell{min-width:0;overflow:hidden;background:#fff}.pick-pad{background:#faf8fb}
.pick-date{box-sizing:border-box;width:100%;height:100%;display:flex;align-items:stretch;flex-direction:column;gap:.12rem;padding:.24rem .32rem;background:#fff;border:0;text-align:left}
.pick-daynum{font:bold .88rem/1.12 "Courier New",monospace;color:#252356}
.pick-date:hover{background:#f8f6fd}
.pick-date:focus-visible,.pick-date[aria-pressed=true]{outline:2px solid #55439f;outline-offset:-2px;background:#f6f3fd}
.pick-day-chips{display:grid;gap:.1rem;min-width:0}
.pick-chip{display:flex;flex-wrap:nowrap;align-items:baseline;gap:.22rem;justify-content:space-between;padding:.06rem .2rem;border-left:2px solid var(--area-rule);background:var(--pick-fill);color:var(--pick-ink);font-size:.67rem;min-width:0;line-height:1.18}
.pick-chip b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600}
.pick-chip small,.pick-extra{flex-shrink:0;font:.60rem/1.12 "Courier New",monospace}
.pick-extra{color:#514258}.pick-phone-status{display:none}
.pick-day-panel{border-top:1px solid #cbbfd6;margin-top:.8rem;padding-top:.36rem}
.pick-day-heading h3{margin:0;font-size:1.25rem}
.pick-day-group{margin-top:.65rem}
.pick-day-group h4{font:bold .8rem "Courier New",monospace;margin:.2rem 0 .32rem;color:#4a3658}
.pick-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.3rem .65rem}
.pick-tiles .shift-tile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:start;gap:.3rem .5rem;border:1px solid var(--pick-stroke);border-left:3px solid var(--area-rule);padding:.42rem .55rem;margin:0;background:#fff;box-shadow:none}
.pick-tiles .shift-tile[data-pick-state=selected],.pick-tiles .shift-tile[data-pick-state=mine]{background:var(--pick-fill)}
.pick-tiles .shift-tile .choices{grid-column:1/-1;grid-template-columns:.72fr 1.2fr 1.2fr;gap:.24rem;margin:0}
.slot-status{display:grid;justify-items:end;gap:.25rem;text-align:right}
@media(max-width:760px){
 .pick-weekdays span{text-align:center;padding:.34rem 0}
 .pick-calendar-grid{grid-auto-rows:3.15rem}.pick-date{padding:.22rem .08rem;align-items:center;gap:.17rem}
 .pick-day-chips{display:none}
 .pick-phone-status:not(:empty){display:grid;gap:.07rem;text-align:center}.pick-phone-status span{display:block;background:var(--pick-fill);color:var(--pick-ink);border-bottom:1px solid var(--pick-stroke);font:bold clamp(.57rem,1.8vw,.74rem)/1.1 Arial,sans-serif;padding:.10rem .12rem;max-width:100%;text-align:center}
 .pick-tiles{grid-template-columns:1fr}
 .pick-tiles .choice{min-height:44px}
 .pick-day-panel{scroll-margin-top:.5rem}
}
.pick-calendar-grid{grid-auto-rows:5.25rem}
.pick-cell{display:grid;grid-template-rows:1.45rem 1fr .85rem;align-items:start}
.pick-cell .pick-date{height:auto;min-height:1.4rem;align-items:flex-start;padding:.20rem .32rem}
.pick-day-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.16rem;padding:.12rem .23rem}
.pick-chip{display:grid;gap:.08rem;text-align:left;min-height:2.05rem;justify-content:stretch;padding:.15rem .18rem;border:1px solid var(--pick-stroke);border-left:2px solid var(--area-rule)}
.pick-chip b{min-width:0;max-width:100%}
.pick-chip small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pick-short-name{display:none}
button.pick-chip[data-pick-state=open]{border-color:#528b71;background:#e4f5eb}
button.pick-chip[data-pick-state=open]:hover{background:#caf0d9;border-color:#275a40}
button.pick-chip[aria-pressed=true]{border-color:#435db4;background:#e4ebff;color:#23377c}
button.pick-chip:focus-visible{outline-offset:1px}
.pick-chip:is(span)[data-pick-state=unavailable]{opacity:.85;border-style:dashed}
.pick-extra{justify-self:end;border:0;background:transparent;text-decoration:underline;padding:0 .3rem;line-height:1}
.pick-review{margin:.8rem 0;padding:.4rem .65rem .65rem;border:1px solid #bdafd1;background:#faf8fd}
.pick-review-count{font:bold .78rem "Courier New",monospace;color:#3c2b61}
.pick-review-list{list-style:none;margin:.35rem 0 .5rem;padding:0}
.pick-review-list li{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(12rem,1fr) auto;gap:.35rem .6rem;align-items:center;border-top:1px solid #ddd4e8;border-left:2px solid var(--area-rule);background:#fff;padding:.35rem .55rem}
.pick-review-list small{display:block;color:#514258}
.pick-review-list .choices{display:grid;grid-template-columns:1fr 1fr;margin:0}
.pick-review-list .choice[aria-pressed=true]{background:#edf1ff;border-color:#5767aa;color:#263a7d}
.slot-actions{grid-column:1/-1}
.slot-select{background:var(--pick-fill);border:1px solid var(--pick-stroke);color:var(--pick-ink)}
@media(max-width:760px){
 .pick-calendar-grid{grid-auto-rows:7.6rem}
 .pick-cell .pick-date{align-items:center;padding:.2rem 0;min-height:1.45rem}
 .pick-day-chips{grid-template-columns:1fr;grid-template-rows:repeat(2,2.22rem);padding:.1rem .1rem;gap:.12rem}
 .pick-chip{min-height:2.22rem;padding:.13rem .12rem;text-align:center;border-left-width:1px;font-size:.63rem}
 .pick-wide-name{display:none}.pick-short-name{display:inline}
 .pick-review-list li{grid-template-columns:minmax(0,1fr) auto}
 .pick-review-list .choices{grid-column:1/-1;grid-row:2}
 .pick-review-list button,.pick-review-actions button,.slot-select{min-height:40px}
}
@media(min-width:761px) and (max-width:970px){
 .pick-wide-name{display:none}.pick-short-name{display:inline}
}
/* Full-width area rows keep each label and its booking status on the same tile. */
.pick-calendar-grid{grid-auto-rows:minmax(4.65rem,auto)}
.pick-cell{display:block;padding-bottom:.16rem}
.pick-day-chips{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:minmax(1.35rem,auto)}
.pick-chip{display:flex;align-items:center;justify-content:space-between;min-height:1.36rem;gap:.18rem}
.pick-chip small{max-width:64%;flex-shrink:1}
.pick-confirm.pick-confirm-ready{border:1px solid #38694e;background:#deefe3;color:#194330}
.pick-confirm.pick-confirm-ready:hover{background:#c6ead3}
.pick-confirm:disabled{background:#f5f3f7;color:#5a5362;border-color:#d4cddd}
.pick-other,.pick-outcome{border-top:1px solid #cbbfd6;padding:.55rem 0;margin:.65rem 0}
.pick-other ul,.pick-outcome ul{list-style:none;padding:0;margin:.35rem 0}
.pick-other li,.pick-outcome li{display:flex;flex-wrap:wrap;align-items:baseline;gap:.28rem .6rem;padding:.32rem .45rem;border-bottom:1px solid #ddd6e5;font-size:.85rem}
.pick-other li{border-left:2px solid var(--area-rule)}.pick-other li button{margin-left:auto}
dialog.pick-day-panel{width:min(36rem,calc(100% - 1.3rem));max-height:calc(100% - 1.3rem);margin:auto;padding:.7rem;border:1px solid #6f617a;background:white}
dialog.pick-day-panel::backdrop{background:#25163655}
@media(max-width:760px){
 .pick-day-chips{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:minmax(2.25rem,auto)}
 .pick-chip{display:grid;justify-content:stretch;text-align:center;min-height:2.25rem}
 .pick-chip small{max-width:100%}
}
.pl-email-index{overflow:auto;margin:.45rem 0 .85rem}
.pl-email-index td,.pl-email-index th{vertical-align:top}
.pl-email-index th button{text-align:left}
.pl-email-index th button[aria-pressed=true]{background:#edf1ff;border-color:#6474b8;color:#283681}
.pl-email-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1.1rem}
.pl-email-grid form{max-width:none;margin:.3rem 0}
.pl-email-grid textarea{resize:vertical;width:100%;font: .88rem/1.35 system-ui,sans-serif;padding:.36rem .45rem;border:1px solid #91859d;color:inherit}
.pl-email-preview{padding:.5rem .7rem;background:#faf8fd;border:1px solid #cbbfd6;overflow-wrap:anywhere}
.pl-email-preview h4{margin:.15rem 0 .5rem}
.pl-email-preview pre{white-space:pre-wrap;font:.84rem/1.45 "Courier New",monospace;margin:.6rem 0}
@media(max-width:680px){.pl-email-grid{grid-template-columns:1fr}.pl-email-index th,.pl-email-index td{padding:.3rem}}
/* Shared styling accents, while shift status chips retain their own colors. */
:root{--page-rule:var(--reset-line,#bbb4c3);--reference-rule:var(--reset-line,#bbb4c3);--reference-outline:var(--reset-line,#bbb4c3)}
a:not([class]),.planner-nav button,.pick-daynum,.pl-cell-top button[data-action=pl-date],.pl-cell-top button.pl-add{color:var(--reset-accent,#0000aa)}
.planner-nav button[aria-pressed=true]{color:var(--reset-sub,#551a8b)}
.pl-cal>strong,.pick-weekdays span,.pl-email-index thead th,.pl-round-participants thead th,.pl-roster-table thead th{background:var(--reset-shade,#f4f0f8);color:var(--reset-h2,#0000aa)}
.pick-calendar-grid,.pick-weekdays{background:var(--reset-line,#bbb4c3)}
.pick-weekdays{border-bottom-color:var(--reset-line,#bbb4c3)}
.pl-settings-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.35rem .65rem;margin:0 0 .35rem}
.pl-settings-heading h3{margin:0}.pl-settings-heading span{font:.74rem "Courier New",monospace;color:var(--reset-sub,#551a8b)}
.pl-roster-lists{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:.7rem 1rem;margin:.7rem 0 .9rem}
.pl-roster-table{overflow:auto}
.pl-roster-table th,.pl-roster-table td{vertical-align:middle;padding:.32rem .4rem;border-color:var(--section-rule)}
.pl-roster-table tbody th{background:white;color:var(--reset-body,#151515);font:inherit;overflow-wrap:anywhere}
.pl-roster-table th small{display:block;font:.71rem/1.28 "Courier New",monospace;color:var(--reset-sub,#551a8b)}
.pl-roster-rank{width:2.7rem;text-align:center;font:.8rem "Courier New",monospace;color:var(--reset-sub,#551a8b)}
.pl-roster-actions,.pl-roster-order{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem}
.pl-roster-actions button{font-size:.74rem;padding:.15rem .32rem;white-space:nowrap}
.pl-roster-order{border-right:1px solid var(--page-rule);padding-right:.22rem}
.pl-roster-remove{color:#7b2035}
.pl-person-editor form{display:flex;align-items:end;gap:.45rem .55rem;flex-wrap:wrap}
.pl-person-editor form label{display:grid;gap:.18rem;font-size:.83rem}
.pl-priority-log{border:1px solid var(--section-rule);padding:.35rem .5rem;margin-top:.65rem}
.pl-priority-log p{margin:.35rem 0;font:.77rem/1.35 "Courier New",monospace}
.pl-color-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:.65rem 1.1rem;margin:.72rem 0}
.pl-color-group{margin:0 0 .68rem}
.pl-color-row{display:grid;grid-template-columns:minmax(8rem,1fr) auto 4.25rem minmax(6.8rem,auto);align-items:center;gap:.28rem .48rem;padding:.3rem .4rem;border-top:1px solid var(--section-rule)}
.pl-color-row small{display:block;font-size:.72rem;color:var(--reset-sub,#551a8b)}
.pl-color-row input{block-size:1.55rem;inline-size:2.3rem;padding:1px}
.pl-color-row code,.pl-color-row output{font:.73rem/1.3 "Courier New",monospace}
.pl-color-row output[data-contrast=low]{color:#852445}.pl-color-row output[data-contrast=ok]{color:#275c42}
.pl-theme-sample{align-self:start;border:1px solid var(--page-rule);padding:.55rem .7rem;background:white;color:var(--sample-body,#151515)}
.pl-theme-sample .pl-settings-heading{border-bottom:1px dotted var(--sample-line);padding-bottom:.3rem}
.pl-sample-head{display:flex;align-items:center;justify-content:space-between;gap:.35rem;margin:.35rem 0 .45rem}
.pl-sample-title{font:bold 2.05rem/1 "Times New Roman",serif;color:var(--sample-h1)}
.pl-sample-tag{font:.67rem "Courier New",monospace;color:var(--sample-sub)}
.pl-theme-sample h4{margin:.35rem 0 .2rem;color:var(--sample-h2)}
.pl-sample-label{font:.77rem "Courier New",monospace;color:var(--sample-sub)}
.pl-sample-link{color:var(--sample-accent);text-decoration:underline}
.pl-sample-calendar{margin:.62rem 0 .48rem;border:1px solid var(--sample-line)}
.pl-sample-week,.pl-sample-dates{display:grid;grid-template-columns:repeat(3,1fr)}
.pl-sample-week{color:var(--sample-h2);background:var(--sample-shade);font:bold .75rem "Courier New",monospace}
.pl-sample-dates{color:var(--sample-accent);text-decoration:underline}
.pl-sample-calendar span{text-align:center;padding:.32rem;border-right:1px solid var(--sample-line)}
.pl-sample-calendar span:last-child{border-right:0}
.pl-sample-dates span{border-top:1px solid var(--sample-line)}
.pl-color-foot{font-size:.72rem}
@media(max-width:900px){.pl-roster-lists,.pl-color-grid{grid-template-columns:1fr}}
@media(max-width:450px){.pl-color-row{grid-template-columns:minmax(5.6rem,1fr) auto 3.5rem minmax(4.3rem,auto);gap:.22rem;padding-inline:.15rem}.pl-color-row output{font-size:.64rem}.pl-roster-actions button{min-height:28px}}
/* Match the calendar's compact detail type across both settings tabs. */
.pl-settings-view{--settings-detail:.84rem;--settings-note:.78rem;font-size:var(--settings-detail);line-height:1.35}
.pl-settings-view .pl-settings-heading h3{font-size:clamp(1.15rem,1.8vw,1.43rem);line-height:1.15}
.pl-settings-view :is(.pl-roster-table table,.pl-roster-actions button,.pl-roster-rank,.pl-person-editor form label,.pl-person-editor input,.pl-person-editor select,.pl-person-editor button,.pl-colors button){font-size:var(--settings-detail)}
.pl-settings-view :is(.pl-note,.pl-settings-heading span,.pl-roster-table th small,.pl-priority-log p,.pl-color-row small,.pl-color-row code,.pl-color-row output,.pl-sample-tag,.pl-sample-label,.pl-sample-week){font-size:var(--settings-note);line-height:1.35}
.pl-color-grid .pl-color-row{grid-template-columns:minmax(0,1fr) 2.3rem 4.4rem minmax(0,9.3rem);align-items:start}
.pl-color-grid .pl-color-row label{display:block;overflow-wrap:anywhere}
.pl-color-grid .pl-color-row input[type=color]{width:100%;height:1.55rem;margin:0;padding:1px}
.pl-color-grid .pl-color-row :is(code,output){min-width:0;margin:0;padding-top:.19rem}
.pl-color-grid .pl-color-row output{overflow-wrap:anywhere}
.pl-sample-title{font-size:1.43rem;line-height:1.15}
@media(max-width:490px){
  .pl-color-grid .pl-color-row{grid-template-columns:minmax(0,1fr) 1.9rem 3.65rem minmax(0,5rem);column-gap:.32rem}
  .pl-color-grid .pl-color-row :is(code,output){font-size:var(--settings-note)}
}
.selection-complete{border-top:3px solid #38694e}
.receipt-month .snapshot-list{display:block;padding-left:1.2rem;margin:.4rem 0 .9rem;font-size:.9rem}
.receipt-month .snapshot-list li{margin:.24rem 0}
.pl-config-block+.pl-config-block{margin-top:1.35rem;padding-top:.8rem;border-top:1px solid var(--page-rule)}
.pl-report-controls{margin-bottom:.85rem}
.pl-report-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .8rem;margin:.55rem 0;font-size:.84rem}
.pl-report-tools button[aria-pressed=true]{color:var(--reset-h2,#0000aa);background:var(--reset-shade,#f4f0f8);border-color:currentColor}
.pl-report-sheet{border-top:1px solid var(--page-rule);padding-top:.65rem;font-size:.88rem}
.pl-report-sheet h4{margin:.75rem 0 .25rem}
.pl-report-sheet .pl-settings-heading{margin:0}.pl-report-sheet .pl-settings-heading h4{margin:0}
.pl-report-table{overflow-x:auto;margin:.3rem 0 .6rem}
.pl-report-table td,.pl-report-table th{padding:.35rem .42rem;vertical-align:top;border-color:var(--page-rule)}
.pl-report-table thead th{color:var(--reset-h2,#0000aa);background:var(--reset-shade,#f4f0f8)}
.pl-report-table tbody th{background:transparent;color:inherit;font-weight:600}
.pl-report-group{margin:.5rem 0 .9rem}
.pl-report-caution{padding:.45rem .62rem;border-left:2px solid #852445;background:#fcf5f6}
@media print{
 body:has(.pl-report-sheet) :is(.hero,.foot,#notice,#admin-signout,.planner-nav,.pl-report-controls,#screen>h2){display:none!important}
 body:has(.pl-report-sheet) .wrap{width:100%;max-width:none;padding:0}
 .pl-report-sheet{border:0;color:#000}.pl-report-sheet tr{break-inside:avoid}.pl-report-sheet thead{display:table-header-group}
 .pl-report-sheet h4,.pl-report-sheet .pl-settings-heading{break-after:avoid}
 .pl-report-table{overflow:visible}
}
.pick-other-scroll{overflow-x:auto;margin:.4rem 0 .25rem}
.pick-other-table{margin:0;font-size:.84rem}
.pick-other-table td,.pick-other-table th{vertical-align:middle;padding:.38rem .46rem;border-color:var(--page-rule)}
.pick-other-table thead th{background:var(--reset-shade,#f4f0f8);color:var(--reset-h2,#0000aa)}
.pick-other-table tbody th{background:transparent;color:inherit;border-left:2px solid var(--area-rule);text-align:left}
.pick-other-table td strong{color:var(--area-ink,var(--reset-body,#151515))}
.pick-other-table button{font-size:inherit}
@media(max-width:550px){
 .pick-other-table td,.pick-other-table th{padding:.3rem .26rem}
 .pick-other-table button{min-height:36px;padding:.18rem .27rem}
}
/* The emailed month view uses the same two-line booking records as admin. */
.pick-chip.pick-booking-record{display:block;text-align:left;background:var(--area-fill);color:var(--area-ink);border:0;border-left:2px solid var(--area-rule);padding:.16rem .28rem;line-height:1.15}
.pick-booking-record b{display:block;font:bold .82rem/1.15 "Times New Roman",serif}
.pick-booking-record small{display:block;max-width:none;margin-top:.08rem;white-space:normal;overflow-wrap:anywhere;font:.66rem/1.2 "Courier New",monospace;color:#4b4256}
.pick-booking-record.pick-booking-owned,.pick-own-key{outline:3px double var(--area-ink,#433373);outline-offset:-3px}
.pick-booking-record.pick-booking-owned{padding-left:.35rem;padding-right:.26rem}
@media(max-width:760px){
 .pick-chip.pick-booking-record{padding:.14rem .18rem}
 .pick-chip.pick-booking-owned{padding-inline:.24rem}
 .pick-booking-record b{font-size:.69rem}
 .pick-booking-record small{font-size:.63rem}
 .pick-booking-record small time,.pick-booking-owner{display:block}
 .pick-booking-status{display:none}
 .pick-booking-owner{font-weight:bold}
}
.edit-compensation{display:block;margin-top:.22rem}
#compensation-dialog .stack{margin:.55rem 0 0}
.pl-progress-round li button[data-action="pl-release-person-review"]{margin:.22rem 0 0;font-size:.76rem}
