.stage-designer,.stage-draft {margin-block:1.4rem 2rem;scroll-margin-top:1.5rem}
.stage-designer [hidden],.stage-draft [hidden],.stage-draft[hidden] {display:none!important}
.stage-designer h2,.stage-designer h3,.stage-draft h3 {margin-bottom:.6rem}
.stage-designer form,.stage-draft form {margin-block:.8rem}
.stage-designer label,.stage-draft label {display:grid;gap:.28rem;color:#344d40;font-weight:600}
.stage-designer :is(input,select,textarea),.stage-draft :is(input,select) {max-width:100%;min-width:0;font:inherit;border:1px solid #9ba797;border-radius:.3rem;background:#fffef9;color:#233d30;padding:.42rem .55rem}
.stage-designer input[type=checkbox],.stage-draft input[type=checkbox] {width:1rem;height:1rem;align-self:center;accent-color:#285542}
.stage-designer .small-action,.stage-draft .small-action {min-height:2.6rem;white-space:normal}
.stage-fields,.stage-draft-nights {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12.5rem),1fr));gap:.65rem 1rem;margin-block:.8rem;align-items:end}
.stage-interests {border:0;margin:.9rem 0 1.15rem;padding:0;display:flex;flex-wrap:wrap;gap:.4rem .85rem}
.stage-interests legend {font-weight:700;margin-bottom:.45rem}
.stage-interests label,.stage-draft-nights label:has(input[type=checkbox]),.stage-card [data-overnight-label] {display:inline-flex;gap:.4rem;align-items:center;font-size:.95rem}
.stage-card,.stage-add {background:#fffef8;border:1px solid #cbd2c5;border-radius:.55rem;padding:clamp(.9rem,2.4vw,1.4rem);margin-block:1rem}
.stage-card>header,.stage-order {display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.stage-card>header {border-bottom:1px solid #d6dace;padding-bottom:.65rem}
.stage-card header h3 {margin:0}
.stage-ordinal {margin:0;font-weight:700;font-size:.85rem;color:#526a59}
.stage-card>details,.stage-incoming {border-top:1px solid #d7dbce;padding:.8rem 0}
.stage-card summary {cursor:pointer;color:#294a36;font-weight:700}
.stage-card details>div {margin-top:.7rem}
.stage-count {font-size:1.1rem}
.stage-count strong {font-weight:700}
.stage-picks {list-style:none;margin:.65rem 0;padding:0;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,13.5rem),1fr))}
.stage-picks>li {padding:.72rem;border-inline-start:2px solid #bcc6ae;background:#f6f7ef;min-width:0}
.stage-picks p,.stage-incoming p {margin:.3rem 0 .65rem}
.stage-picks form,.stage-draft-nights {align-items:end}
.stage-card>label {margin-top:1rem}
.stage-designer [data-unassigned] {margin-top:1.4rem}
.stage-incoming button {margin:.25rem .35rem .25rem 0}
.stage-incoming strong {display:block}
.stage-issues {background:#fff4db;color:#604520;border-inline-start:3px solid #aa7c37;padding:.65rem 1rem .65rem 2rem}
.stage-draft [data-draft-row]+[data-draft-row] {border-top:1px solid #d7dbce}
.stage-designer [role=status],.stage-draft [role=status] {min-height:1.5em}
.stage-days {background:#f1f4e9;border:1px solid #c5d0be;border-radius:.55rem;padding:clamp(1rem,2vw,1.5rem);margin-block:1rem;scroll-margin-block-start:5rem}
.stage-days h3,.day-panel h4 {margin:0;color:#294a36}
.stage-days .stage-fields {max-width:42rem}
.day-panels {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.7rem}
.day-panel {display:flex;flex-direction:column;align-items:start;padding:.9rem;background:#fffef8;border-radius:.4rem;min-width:0;overflow-wrap:anywhere}
.day-panel ul,.day-warnings ul {padding-inline-start:1.2rem}
.day-panel :is(ul,p) {margin:.45rem 0 .75rem}
.day-panel .small-action {margin-top:auto}
.day-date {font-weight:700;color:#294a36}
.day-date::first-letter {text-transform:uppercase}
.day-transfer {padding:.55rem .75rem;border-inline-start:3px solid #aa7c37;background:#fff4db}
.day-warnings {margin-top:.8rem}
.day-warnings summary {cursor:pointer;font-weight:600}
.stage-designer :is(summary,h3,[data-stage-field]) {scroll-margin-block-start:5rem}
@media(max-width:480px){.stage-order {justify-content:flex-start}.stage-card>header {display:block}.stage-order {margin-top:.4rem}.stage-designer label,.stage-draft label {overflow-wrap:anywhere}}

.trip-orientation {scroll-margin-block-start:5rem}
.trip-orientation [data-orientation-details]>p:first-of-type {max-width:67ch}
.trip-orientation [data-orientation-details]>summary {min-height:44px;cursor:pointer;color:var(--forest)}
.trip-orientation [data-orientation-details]>summary h2 {display:inline;margin:0}
.trip-resume {
  margin:1.25rem 0;padding:clamp(1rem,2.5vw,1.6rem);border-inline-start:4px solid var(--forest);
  border-radius:.35rem;background:var(--sage);overflow-wrap:anywhere;
}
.trip-resume[hidden] {display:none}
.trip-resume h2 {margin:0}
.trip-resume p {margin:.55rem 0 .8rem}
.resume-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.25rem 1rem}
.resume-actions a {display:inline-flex;align-items:center;min-height:44px}
.trip-orientation [hidden] {display:none!important}
.trip-orientation .stage-fields {align-items:end}
.trip-orientation form label {display:grid;gap:.32rem;font-weight:600}
.trip-orientation select {font:inherit;min-height:44px;width:100%;padding:.5rem;border:1px solid #9ba797;border-radius:.3rem;color:#233d30;background:#fffef9}
.route-examples {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem}
.route-example {min-width:0;align-self:start;border:1px solid #cbd2c5;border-radius:.5rem;overflow:hidden;background:#fffef8}
.route-example figure {position:relative;margin:0}
.route-example figure img {display:block;width:100%;height:8rem;object-fit:cover}
.route-example figcaption {position:absolute;bottom:0;right:0;margin:0;background:#203c32;color:#fff;padding:.15rem .5rem;font-size:.82rem;border-radius:.25rem 0 0 0}
.route-example figcaption a {color:inherit;text-decoration:underline;text-underline-offset:.15em}
.route-example-body {padding:.9rem 1rem 1.15rem}
.route-example h3 {margin:.35rem 0 .5rem;line-height:1.1}
.route-example p {margin:0 0 .8rem}
.route-example .route-duration {font-size:.875rem;font-weight:600;color:#435c48}
.route-example :is(summary,a) {overflow-wrap:anywhere}
.route-example summary {min-height:44px;cursor:pointer;font-weight:600;color:#263f2f;padding:.6rem 0}
.route-example details {border-top:1px solid #d7dbce}
.route-example details ul,.route-example details ol {padding-left:1.25rem}
.route-example details li {margin:.4rem 0}
.route-example h4 {margin:1rem 0 .4rem}
.route-status:not(:empty) {margin:.75rem 0;font-size:.92rem}
.route-example button {margin-top:.55rem}
