/* Planner: paper, ink, generous space and one clear entry action. */
.map-experience [hidden] { display:none !important; }
.map-experience .cos-main { display:block; max-width:940px; margin:0 auto; padding:24px 32px 64px; }
.map-experience .cos-content { width:100%; padding:0; }
.map-view-tabs { display:flex; gap:24px; max-width:876px; margin:24px auto 0; padding:0 24px; }
.map-view-tabs a { min-height:44px; display:inline-flex; align-items:center; color:var(--c-muted); }
.map-experience .today-map { display:none; max-width:876px; margin:auto; padding:28px 24px 64px; }
.today-mode .cos-main { display:none; }
.today-mode .today-map { display:block; }
.planner-head,.planner-section-head,.today-title-row { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.planner-head h1,.today-map h1 { font-family:var(--c-serif); font-size:clamp(2rem,5vw,3rem); margin:6px 0 24px; }
.planner-week,.today-date { color:var(--c-muted); font-size:.88rem; }
.planner-actions { display:flex; gap:12px; margin:12px 0 28px; }
.map-experience button,.map-experience summary,.map-experience .primary-button { min-height:44px; cursor:pointer; }
.planner-add { min-width:130px; }
.planner-ai,.planner-more-button,.planner-link,.map-drawer-back { background:transparent; color:var(--c-cream-bright); border:1px solid var(--c-hairline); border-radius:10px; padding:10px 18px; font:inherit; }
.planner-ai { background:var(--c-surface-2); }
.planner-ai-mark { color:var(--c-copper); margin-right:5px; }
.planner-steps { display:flex; justify-content:space-between; gap:16px; padding:0 0 24px; list-style:none; color:var(--c-muted); font-size:.83rem; border-bottom:1px solid var(--c-hairline); }
.planner-steps li { display:flex; gap:8px; align-items:center; }
.step-num { display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--c-hairline); border-radius:50%; width:24px; height:24px; flex-shrink:0; }
.map-experience .map-workspace { margin:0; padding:24px 0; background:none; border:0; }
.map-experience .map-sheet,.map-experience .map-branch { background:none; border:0; box-shadow:none; }
.map-experience .map-branch { padding:20px 0; border-bottom:1px solid var(--c-hairline); }
.map-experience .map-stone { grid-template-columns:minmax(0,1fr) auto; padding:16px 0; }
.map-experience .map-stone-actions { grid-column:2; display:flex; flex-wrap:wrap; }
.map-experience .map-stone-date { grid-column:1; text-align:left; }
.map-stone-menu { position:relative; }
.map-stone-menu summary { padding:10px 14px; }
.map-stone-menu[open] { background:var(--c-surface); border:1px solid var(--c-hairline); border-radius:10px; padding:0 8px 8px; }
.map-stone-menu button { display:block; }
.planner-calendar { border-top:1px solid var(--c-hairline); padding:28px 0; }
.planner-section-head { display:block; }
.planner-calendar-actions,.build-ai-row,.build-ai-foot,.tool-link-row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:20px; }
.planner-mission { display:flex; align-items:center; gap:12px; color:var(--c-muted); padding:24px 0; border-top:1px solid var(--c-hairline); font-size:.85rem; }
.planner-mission p { flex:1; }
.map-journey-slot { display:none; }
.planner-banner { display:none !important; }
.map-drawer { margin:0 0 0 auto; height:100dvh; max-height:100dvh; width:min(520px,100vw); max-width:100vw; border:0; border-radius:0; padding:28px; background:var(--c-surface); color:var(--c-cream-bright); }
.map-drawer::backdrop,dialog::backdrop { background:color-mix(in srgb, var(--brand-black) 40%, transparent); }
.map-drawer-head { display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--c-hairline); padding-bottom:16px; }
.map-drawer-head h2 { flex:1; }
.map-drawer-group { color:var(--c-muted); font-size:.8rem; margin:28px 0 8px; }
.map-tool { display:flex; flex-direction:column; gap:5px; width:100%; text-align:left; padding:14px 8px; border:0; border-bottom:1px solid var(--c-hairline); background:transparent; color:inherit; text-decoration:none; font:inherit; }
.map-tool span,.map-drawer-lede,.build-ai-lede,.today-empty-state p { color:var(--c-muted); line-height:1.6; }
.map-tool span { font-size:.84rem; }
.map-drawer-panel { padding:24px 0; }
.map-drawer-panel form { display:grid; gap:12px; }
.build-ai-dialog { width:min(650px,calc(100% - 24px)); max-height:90dvh; overflow:auto; }
.map-experience .map-dump-writing { display:block; }
.map-experience textarea { width:100%; box-sizing:border-box; }
.today-section,.today-fold { padding:22px 0; border-bottom:1px solid var(--c-hairline); }
.today-section-title { font-size:1.2rem; }
.today-list,.evening-list { display:grid; gap:12px; }
.timeline-item,.priority-stack-item,.meeting-pocket { padding:16px; background:var(--c-surface-2); border-radius:12px; }
.timeline-item .row,.today-steward { display:flex; justify-content:space-between; gap:12px; }
.today-item-meta,.priority-stack-meta,.today-status-meta { display:flex; gap:12px; flex-wrap:wrap; font-size:.83rem; color:var(--c-muted); }
.priority-stack-actions,.today-day-nav { display:flex; flex-wrap:wrap; gap:8px; }
.priority-stack-actions button,.today-day-nav button { border:1px solid var(--c-hairline); background:transparent; color:inherit; border-radius:8px; padding:8px 12px; }
.priority-next-action,.presence-input { margin-top:12px; width:100%; padding:12px; box-sizing:border-box; }
.today-empty-state { padding:36px 0; }
@media(max-width:720px) {
 .map-experience .cos-main { padding:24px 18px 48px; }
 .planner-steps { gap:10px; font-size:.73rem; }
 .planner-steps li { align-items:flex-start; flex-direction:column; }
 .planner-head h1 { font-size:2rem; }
 .planner-more-button { padding:10px 12px; }
 .planner-actions>* { flex:1; padding:12px 8px; }
 .map-drawer { padding:20px; box-sizing:border-box; }
 .map-experience .calendar-grid { overflow-x:auto; }
 .today-title-row { align-items:flex-start; flex-direction:column; }
 .map-experience .map-branch-title { flex-wrap:wrap; }
 .map-experience .map-stone { grid-template-columns:minmax(0,1fr); }
 .map-experience .map-stone-actions { grid-column:1; }
}
/* Override the previous board's fixed grid tracks. */
html.chief .map-experience .cos-content.planner { display:block; overflow:visible; min-width:0; }
html.chief .map-experience .planner > * { min-width:0; max-width:100%; box-sizing:border-box; }
html.chief .map-experience .calendar-grid { grid-template-columns:repeat(7,minmax(0,1fr)); }
html.chief .map-experience .map-branch-heading > .steward-edit,
html.chief .map-experience .map-branch-heading > .steward-remove,
html.chief .map-experience .map-branch-heading > .steward-reorder { display:none; }
@media(max-width:720px) {
 html.chief .map-experience .calendar-grid { display:flex; overflow-x:auto; }
 html.chief .map-experience .calendar-day { min-width:160px; }
}
html.chief .map-experience .text-button,
html.chief .map-experience .map-add-link,
html.chief .map-experience .icon-button { min-height:44px; }
html.chief .map-experience button:disabled { opacity:.45; cursor:default; }
html.chief .map-experience a.primary-button,
html.chief .map-experience a.planner-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; box-sizing:border-box; }
html.chief body.map-experience button { min-height:44px; }

/* Keep the paper continuous from the sidebar through the centered column. */
html.chief body.map-experience.dna-refreshed[data-dna-page] { background-color:var(--r-bg) !important; }
html.chief .map-experience .cos-main,
html.chief .map-experience .map-view-tabs,
html.chief .map-experience .today-map { background:transparent; }
html.chief .map-experience .map-view-tabs { box-sizing:border-box; max-width:940px; padding-inline:32px; }

/* Replace the legacy numbered-card tracks with explicit content rows. */
html.chief .map-experience .map-stone {
 grid-template-columns:minmax(0,1fr) auto;
 padding:16px 18px;
}
html.chief .map-experience .map-stone::before { display:none; }
html.chief .map-experience .map-stone-check { grid-column:1; grid-row:1; min-width:0; }
html.chief .map-experience .map-stone-date { grid-column:2; grid-row:1; }
html.chief .map-experience .map-stone-actions { grid-column:1 / -1; grid-row:2; margin-top:8px; opacity:1; }
html.chief .map-experience .map-stone-notes { grid-column:1 / -1; grid-row:3; }
html.chief .map-experience .map-stone-actions .map-action-schedule {
 background:transparent !important;
 border-color:var(--c-hairline) !important;
 color:var(--c-muted) !important;
 padding:6px 12px;
}
html.chief .map-experience .map-stone-actions .map-action-schedule:hover {
 background:var(--c-surface-2) !important;
 color:var(--c-cream-bright) !important;
}
@media(max-width:720px) {
 html.chief .map-experience .map-view-tabs { padding-inline:18px; }
 html.chief .map-experience .map-stone { grid-template-columns:minmax(0,1fr); }
 html.chief .map-experience .map-stone-date { grid-column:1; grid-row:2; justify-content:flex-start; flex-wrap:wrap; }
 html.chief .map-experience .map-stone-actions { grid-row:3; }
 html.chief .map-experience .map-stone-notes { grid-row:4; }
}

/* The shared sidebar-continuation gradient is drawn from the body's own left
   edge. This page's body starts after the sidebar, so the 232px stripe showed
   up as a light slab beside it. Shift the gradient back by the sidebar width. */
html.chief body.map-experience.dna-refreshed[data-dna-page] { background-position: calc(-1 * var(--dna-sidebar-width, 232px)) 0 !important; background-repeat: no-repeat !important; }
/* Simplify pass: the step strip and step numbers are hidden; Add, the map and the calendar speak for themselves. */
.planner-steps[hidden], .planner-step-label[hidden] { display:none !important; }
.planner-calendar-more .dna-more-menu .text-button { min-height:44px; }
.today-map-head .eyebrow[hidden] { display:none !important; }
.today-connect-link { color:var(--brand-gold); text-decoration:underline; text-underline-offset:3px; min-height:44px; display:inline-flex; align-items:center; }
