@charset "UTF-8";

/* Dark chocolate framing keeps the cream teaching panels and map distinct. */
body:has(.planning-shell) {
  --walnut-deep: #110c0a;
  --walnut: #201511;
  --walnut-soft: #35241d;
  --sand: #e7d7bd;
  --sand-light: #f1e6d3;
  --cream: #fff7e8;
  --paper: #fffbf2;
  --warm-ink: #392b22;
  --warm-muted: #6b5848;
  --warm-line: #c3aa83;
  --brass: #c69a4b;
  --gold-light: #f5d58c;
  --game-forest: var(--walnut);
  --game-ink: var(--warm-ink);
  --game-paper: var(--cream);
  --game-line: var(--warm-line);
  background: var(--walnut-deep);
  color: var(--warm-ink);
}

.planning-shell .workspace {
  background: radial-gradient(ellipse at 50% 0, #2b1d17 0, transparent 72%), #160f0c;
}
.planning-shell .topbar {
  background: linear-gradient(110deg, var(--walnut-deep), #241811 60%, #160f0c);
  border-bottom-color: #95703b;
  box-shadow: inset 0 1px #c8994a1f, 0 3px 12px #0e080566;
}
.planning-shell .wordmark,
.planning-shell .wordmark strong { color: #fff4dd; }
.planning-shell .wordmark small { color: #dbc7a5; }
.planning-shell .wordmark .brand-leaf {
  background: linear-gradient(145deg, #f6e9c8, #d6bc85);
  border-color: #d5b576;
  box-shadow: inset 0 1px #fff8dc, 0 3px 0 #241b16;
}
.planning-shell .journey-step {
  background: linear-gradient(#443027 0, #302019 48%, var(--walnut) 100%);
  color: #f9ecd5;
  border-color: #80603b;
  border-top-color: #b08a52;
  border-bottom-color: #120a06;
  box-shadow: inset 0 1px #e4bd7d42, inset 0 -2px #170c0966, 0 4px 0 #100905, 0 6px 8px #0e07064d;
  text-shadow: 0 1px 1px #100905;
  transform: translateY(0);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.planning-shell .journey-step:hover:not([aria-disabled=true]):not(.active) {
  background: linear-gradient(#523a2e, #35241d);
  color: #fff8e7;
  border-color: #c29a5c;
  border-bottom-color: #150b06;
  box-shadow: inset 0 1px #f7d69c66, inset 0 -2px #1b0f0a66, 0 5px 0 #100905, 0 8px 10px #0e070659;
  transform: translateY(-1px);
}
.planning-shell .journey-step.active {
  background: linear-gradient(#d0a04b, #f1cf82 58%, #e7ba65);
  border-color: #c89b4d;
  border-top-color: #987035;
  border-bottom-color: #f5d992;
  color: #2b1a0e;
  box-shadow: inset 0 3px 5px #6a441c6b, inset 0 -1px #fff0b98c, 0 0 0 2px #110906, 0 1px 0 2px #7c572c;
  text-shadow: 0 1px #ffe8ae99;
  transform: translateY(2px);
}
.planning-shell .journey-step.active:hover {
  background: linear-gradient(#d7aa55, #f6d88f 58%, #edc571);
  border-color: #d9b165;
  border-top-color: #987035;
  border-bottom-color: #f8dfa0;
  color: #2b1a0e;
  transform: translateY(2px);
}
.planning-shell .journey-step:active:not([aria-disabled=true]) {
  box-shadow: inset 0 3px 6px #140b0866, inset 0 -1px #dcb27042, 0 1px 0 #100905;
  transform: translateY(3px);
}
.planning-shell .journey-step-number {
  background: linear-gradient(var(--walnut-deep), #281c15);
  color: #ffefd0;
  box-shadow: inset 0 2px 3px #0d0706b3, inset 0 0 0 1px #100906, 0 1px 0 #d3a96b4d;
  text-shadow: 0 1px #100905;
}
.planning-shell .journey-step.active .journey-step-number {
  background: linear-gradient(#392314, #1d1008);
  color: #ffe8ac;
  box-shadow: inset 0 1px #886135, 0 1px 2px #5c3b1b66, 0 0 0 1px #79542b;
}
.planning-shell .journey-step.complete:not(.active) .journey-step-number {
  background: linear-gradient(#ead19b, #c39b59);
  color: #3c2714;
  box-shadow: inset 0 1px #ffe8b5, 0 2px 2px #10090580;
  text-shadow: 0 1px #f9e3b466;
}
.planning-shell .journey-step[aria-disabled=true] {
  background: linear-gradient(#302016, #21140d);
  color: #e7d9c2;
  border-color: #634b32;
  border-top-color: #80613d;
  border-bottom-color: #120a06;
  box-shadow: inset 0 1px #cda56824, 0 3px 0 #100905, 0 4px 6px #0e070633;
  transform: translateY(0);
}
.planning-shell .journey-step:focus-visible {
  outline: 2px solid #f4d085;
  outline-offset: 4px;
}
.planning-shell .journey-tools > summary,
.planning-shell .journey-tools-menu,
.planning-shell .player-profile { background: #1c1310; border-color: #80613d; color: #f7e8cd; }
.planning-shell .journey-tools-menu .rail-link { color: #f7e8cd; }
.planning-shell .journey-tools-menu .rail-link:hover { background: #422a1b; }
.planning-shell .player-profile small { color: #d9c7a9; }
.planning-shell .player-profile .avatar { background: #ead6af; color: #493321; }
.planning-shell .preview-pill { border-color: #9a794a; color: #f3ddb4; background: #28180f; }

/* Light panel surfaces sit inside clear dark frames. */
.planning-shell .palette-panel,
.planning-shell .journey-stage-panel,
.planning-shell #impact-panel {
  background: var(--cream);
  color: var(--warm-ink);
  border-color: #c7a36b;
  box-shadow: 0 4px 0 #20171070, 0 9px 22px #1b130f35;
  scrollbar-color: #ac8c63 #efe0c8;
}
.planning-shell .palette-panel > .panel-heading,
.planning-shell .journey-stage-heading,
.planning-shell #impact-panel .impact-game-hud {
  background: linear-gradient(125deg, #160f0c, #2b1d17);
  border-bottom-color: #cfaa66;
  color: #fff0d2;
  box-shadow: inset 0 1px #c79c5526;
}
.planning-shell .palette-panel > .panel-heading h2,
.planning-shell .journey-stage-heading > h2 { color: #fff5df; }
.planning-shell .palette-panel > .panel-heading .eyebrow,
.planning-shell .journey-stage-heading > small { color: #f1cf86; }
.planning-shell .journey-stage-heading > p { color: #ead8bb; }
.planning-shell .palette-panel .drawer-close { background: #e8d6b4; border-color: #c6a775; color: #493421; }
.planning-shell .palette-panel .budget-card { background: linear-gradient(135deg, #f6e6b9, #e7cf9a); border-color: #c69e57; }
.planning-shell .budget-card strong,
.planning-shell .budget-card strong b { color: #513819; }
.planning-shell .budget-copy > span,
.planning-shell .budget-card p { color: #69502d; }
.planning-shell .budget-track { background: #c8ae78; }
.planning-shell .budget-track i { background: linear-gradient(90deg, #997238, #d1a44c); }
.planning-shell .palette-search { background: #fffbf1; border-color: #c9b28d; color: #70573a; }
.planning-shell .palette-search input { color: var(--warm-ink); }
.planning-shell .palette-search input::placeholder { color: #7e6d58; }
.planning-shell .category-tabs button { background: #f6eddd; border-color: #d0bc99; color: #624a34; }
.planning-shell .category-tabs button.active { background: #322014; border-color: #322014; color: #fff1d5; }
.planning-shell #palette-selection { background: #eddfc6; border-left-color: #b18540; color: #5c452c; }
.planning-shell .palette-panel .facility-card {
  background: linear-gradient(115deg, #eee0c8, #fff8e9 62%);
  border-color: #cdb38b;
  border-bottom-color: #b89b72;
  box-shadow: inset 0 1px #fffdf3;
}
.planning-shell .palette-panel .facility-card:hover:not(:disabled) { background: #fff2d4; border-color: #a1793b; box-shadow: 0 4px 10px #4b311a26; }
.planning-shell .palette-panel .facility-card.active { background: linear-gradient(120deg, #e9c77d, #fff1c9); border-color: #b18030; border-bottom-color: #8d6225; box-shadow: inset 0 1px #fff2c3, 0 0 0 2px #e3be6b55; }
.planning-shell .palette-panel .facility-card.active::after { background: #382312; color: #fff0c6; }
.planning-shell .palette-panel .facility-card h3 { color: #3e2d1f; }
.planning-shell .palette-panel .facility-card p { color: #75542e; }
.planning-shell .palette-panel .facility-card .facility-art { background: radial-gradient(ellipse at 50% 80%, #d5c09a, transparent 65%); }
.planning-shell .facility-card .mini-plus { background: #3c2617; border-color: #ffeed1; color: #fff8e9; }
.planning-shell .facility-game-badge { background: #e8d8b7; color: #6b4c27; }
.planning-shell .problem-panel { background: #efe1c9; border-color: #c9b28d; color: #5a442d; }
.planning-shell .problem-panel-heading,
.planning-shell .problem-selection-status,
.planning-shell .problem-plan-summary { color: #6b5846; }
.planning-shell .problem-chip { background: #fff6e5; color: #5e4630; border-color: #c8b28b; }
.planning-shell .problem-chip:hover { border-color: #a17a3d; }
.planning-shell .problem-chip[aria-pressed=true] { color: #51381b; background: #f4d696; border-color: #b28335; }

/* The map has its own espresso edge and brass rim, independent of its map style. */
.planning-shell .map-panel { border-color: #d0ab68; box-shadow: 0 0 0 1px #231910, 0 4px 0 #21171080, 0 9px 22px #1b130f38; }
.planning-shell .map-exploration-tools { background: #e6d5b8; border-bottom-color: #b79765; color: #503b29; }
.planning-shell .basemap-switch { background: #d4c09c; border-color: #b79a6e; }
.planning-shell .map-exploration-tools button { color: #503b29; }
.planning-shell .basemap-switch button.active { background: #322014; color: #fff0d1; }
.planning-shell .study-area-tools button { background: #fff4dc; border-color: #c5a97a; }
.planning-shell #study-area-status { color: #604b34; }
.planning-shell .workspace > .map-toolbar,
.planning-shell .reference-filters,
.planning-shell.map-focused .workspace > .map-toolbar { background: #f3e7d1; color: #513d2b; border-color: #bca078; border-bottom-color: #a68a62; box-shadow: inset 0 1px #fff4df; }
.planning-shell .map-toolbar .dimension-switch { border-color: #c4ac87; }
.planning-shell .map-toolbar :is(.dimension-switch,.mode-switch) button { color: #654e38; }
.planning-shell .map-toolbar :is(.dimension-switch,.mode-switch) button.active { background: #322014; color: #fff0d4; border-color: #8b673c; box-shadow: inset 0 1px #caaa752b; }
.planning-shell .map-toolbar :is(.dimension-switch,.mode-switch) button:hover { background: #e6c78e; color: #49311c; }
.planning-shell .map-toolbar .workspace-tools button { background: #fff4df; color: #624a32; border-color: #c7ae84; }
.planning-shell .map-toolbar .workspace-tools button:hover { background: #ecd2a0; color: #48331f; border-color: #af884b; }
.planning-shell .map-toolbar .workspace-tools button[aria-expanded=true],
.planning-shell .map-toolbar .workspace-tools button[aria-pressed=true] { background: #e0bc75; color: #43301c; border-color: #a77c34; }
.planning-shell .reference-label,
.planning-shell .reference-action { color: #6b543a; }
.planning-shell .reference-filters button[aria-pressed=true] { background: #fff9ed; color: #493727; }
.planning-shell .reference-filters button[aria-pressed=false] { background: #e9dec9; color: #695a48; opacity: 1; }
.planning-shell .project-heading .project-title { background: #f7ecd6; color: #3e2c1e; border-color: #b89b6b; }
.planning-shell .project-heading .project-title:focus { background: #fff8e8; border-color: #d4b371; }
.planning-shell .project-heading .save-status { background: #ebdcc0; color: #59432d; border-color: #b99c70; }
.planning-shell .project-heading .save-status.error { background: #fff0e4; color: #8b3e31; border-color: #ceaa98; }
.planning-shell .project-actions .button.subtle { background: #e7d7b9; border-color: #b79b6d; color: #5c4028; }
.planning-shell .project-action-button.search-launcher { background: linear-gradient(#472d1b, #28180f); border-color: #ad8a52; color: #fff0d1; box-shadow: inset 0 1px #e6c58845, 0 2px 0 #120a06; }
.planning-shell .project-action-button.search-launcher:hover { background: #513522; }
.planning-shell .project-action-button.mission-launcher { background: linear-gradient(#f7dfa1, #dbad55); border-color: #b98d43; color: #483019; box-shadow: inset 0 1px #fff0c7, 0 2px 0 #3b2819; }
.planning-shell .button.primary,
.planning-shell .inspector-panel .village-submit { background: linear-gradient(#472d1b, #28180f); color: #fff0d5; border-color: #8e6c40; box-shadow: inset 0 1px #deb57b38, 0 2px 0 #120a06; }
.planning-shell .button.primary:hover { background: #513522; border-color: #b28d51; color: #fff5df; }

/* Preserve the five score and facility category colors as semantic accents. */
.planning-shell #impact-panel .impact-heading small { color: #efdbb4; }
.planning-shell #impact-panel #impact-score-total { color: #ffe2a1; text-shadow: 0 3px #291b1250; }
.planning-shell #impact-panel .impact-heading strong > span,
.planning-shell #impact-panel #impact-score-label { color: #e4ccb0; }
.planning-shell #impact-panel .impact-plan-overview { background: linear-gradient(125deg, #faecca, #e6d0a3); border-color: #b98f49; color: #523c22; }
.planning-shell #impact-panel .impact-plan-count,
.planning-shell #impact-panel .impact-overview-budget > b { color: #51381d; }
.planning-shell #impact-panel .impact-plan-overview > small,
.planning-shell #impact-panel :is(.impact-overview-budget,.impact-overview-note,.impact-overview-caution) { color: #6a5333; }
.planning-shell #impact-panel #impact-status { background: #140b07aa; color: #efdfc2; }
.planning-shell #impact-panel #impact-status[data-state=pending] { background: #755a24; color: #fff0bc; }
.planning-shell #impact-panel #impact-status[data-state=error] { background: #794936; color: #fff0df; }
.planning-shell #impact-panel .impact-result-tabs { background: #e7d6b9; border-color: #c4aa7b; }
.planning-shell #impact-panel .impact-result-tab { background: #fff5e0; color: #674b2e; border-color: #bfa57d; box-shadow: 0 2px 0 #bca27a; }
.planning-shell #impact-panel .impact-result-tab[aria-selected=true] { background: linear-gradient(#472c19, #28180e); color: #fff0cc; border-color: #886237; box-shadow: 0 2px 0 #1b0e07, inset 0 1px #e1b87b35; }
.planning-shell #impact-panel .impact-result-body { scrollbar-color: #b49b74 #f4e9d3; }
.planning-shell #impact-panel #impact-selected-name,
.planning-shell #impact-panel :is(.impact-score-details>h3,.impact-placed-facilities>h3,.impact-placed-copy>strong,.impact-card>strong,.impact-score-part output) { color: #493521; }
.planning-shell #impact-panel .impact-score-part > span:first-child { color: #4d3925; }
.planning-shell #impact-panel :is(.impact-score-hint,.impact-footnote,.impact-axis-help,.impact-selected-heading small,#impact-selected-cost,.impact-card>p,.impact-context-row,.impact-placed-copy>small) { color: #6a5743; }
.planning-shell #impact-panel .impact-score-visual .impact-radar-wrap { background: radial-gradient(ellipse at center, #ece1c9, transparent 68%); }
.planning-shell #impact-panel .impact-axis-item { background: #fffaf0; border-color: #d2bea0; box-shadow: 0 2px 0 #dfccb0; }
.planning-shell #impact-panel .impact-score-track { background: #e0d5bf; }
.planning-shell #impact-panel .impact-score-part:hover,
.planning-shell #impact-panel .impact-score-part[aria-expanded=true] { background: #f3e6cb; }
.planning-shell #impact-panel .impact-axis-help { background: #f7edda; border-color: #d6c4a3; }
.planning-shell #impact-panel .impact-card,
.planning-shell #impact-panel .impact-placed-row,
.planning-shell #impact-panel #impact-selection { background: #fff7e7; border-color: #cbb48d; color: #513c27; }
.planning-shell #impact-panel .impact-placed-row:hover { background: #f5e7c8; border-color: #b08b4f; }
.planning-shell #impact-panel .impact-placed-row.is-selected,
.planning-shell #impact-panel #impact-selection.has-selection { background: #fff0cd; border-color: #bd8f40; }
.planning-shell #impact-panel #impact-selected-intent,
.planning-shell #impact-panel .impact-data-details { background: #eee0c6; color: #654c32; border-color: #c6ae7f; }
.planning-shell #impact-panel .impact-data-details > summary { color: #584025; }
.planning-shell #impact-panel .impact-card.highlight { background: linear-gradient(145deg, #f8edcc, #efe0b7); border-color: #c4a669; }
.planning-shell #impact-panel :is(.impact-card.highlight>strong,.impact-benefit-value,.impact-benefit-value>span,.impact-card .impact-benefit-sentence,.impact-service-range,.impact-service-range>b) { color: #5f4526; }
.planning-shell #impact-panel .impact-coverage-focus { background: #fff6df; color: #694b26; border-color: #bc985d; box-shadow: 0 2px #d2b77e; }
.planning-shell #impact-panel .impact-result-actions { background: #ebdbc1; border-color: #cab18a; }
.planning-shell #impact-panel #impact-submit { background: linear-gradient(#f5da92, #d6a951); color: #4a321b; border-color: #a77c36; box-shadow: inset 0 1px #fff0bf, 0 2px 0 #77532b; }

/* Writing and stage activities share the same paper and ink. */
.planning-shell .planning-writing { background: #e7d6bb; border-color: #b7986c; border-top-color: #cdac70; box-shadow: 0 3px 0 #21170f70; }
.planning-shell .planning-writing label,
.planning-shell .planning-writing textarea,
.planning-shell .inspector-panel .field { color: #493422; }
.planning-shell .planning-writing :is(small,.writing-note) { color: #6e573d; }
.planning-shell .planning-writing textarea,
.planning-shell .inspector-panel .field { background: #fff7e7; border-color: #bda27c; }
.planning-shell .planning-writing textarea::placeholder,
.planning-shell .inspector-panel .field::placeholder { color: #806b53; }
.planning-shell .journey-task-card { background: #fff8e8; border-color: #d3bd96; box-shadow: 0 2px 0 #dfcbae; }
.planning-shell .journey-task-card > h3,
.planning-shell .journey-stage-field > strong { color: #503923; }
.planning-shell :is(.journey-stage-note,.journey-stage-value,.journey-stage-checklist,.journey-stage-questions,.journey-stage-field>small) { color: #71593f; }
.planning-shell .journey-stage-field textarea { color: #4b3621; background: #fff9eb; border-color: #bea57c; }
.planning-shell .journey-stage-field textarea::placeholder { color: #847056; }
.planning-shell .journey-stage-action { background: linear-gradient(#472d1b, #28180f); color: #fff0d2; border-color: #947142; border-bottom-color: #1b0e07; }
.planning-shell .journey-stage-action:hover { background: #513522; color: #fff6e0; }
.planning-shell .inspector-panel,
.planning-shell .inspector-panel.mobile-open { background: #f8edda; color: #4f3925; border-color: #b99a6b; }
.planning-shell .inspector-panel > .panel-heading { background: #e5d1ad; border-color: #c1a16c; }
.planning-shell .inspector-panel :is(h2,h3) { color: #523a23; }

/* Map controls and the guide remain legible over street and satellite imagery. */
.planning-shell .game-commandbar { background: #21130cf7; color: #fff0d0; border-color: #b79560; border-bottom-color: #110905; box-shadow: inset 0 1px #c79c5526, 0 4px 12px #11090566; }
.planning-shell .game-commandbar button,
.planning-shell .game-map-settings > summary { background: #3f2819; color: #fff1d9; border-color: #a18354; }
.planning-shell .game-commandbar button:hover { background: #583821; border-color: #e4c178; }
.planning-shell .game-commandbar button:disabled { background: #322116; color: #dcc8aa; }
.planning-shell .game-commandbar .game-primary-command { background: linear-gradient(#f6dfa0, #d8ad56); border-color: #e3c177; color: #493119; box-shadow: 0 2px 0 #8a632d; }
.planning-shell .game-chapter { color: #e5d2b0; }
.planning-shell .game-selection,
.planning-shell .game-inventory,
.planning-shell .game-map-settings-body { background: #fff3d9; color: #513a23; border-color: #bc9653; }
.planning-shell .game-map-settings-body > p { color: #6a5743; }
.planning-shell .game-map-settings-body .game-motion-control { background: #e9d7b5; color: #593f28; border-color: #b99b6a; }
.planning-shell .game-map-settings-body :is(.map-size-controls,.map-width-controls) { background: #efe0c3; color: #593f28; border-color: #b99b6a; }
.planning-shell .game-map-settings-body :is(.map-size-controls,.map-width-controls) button { background: #fff9eb; color: #593f28; border-color: #b99b6a; }
.planning-shell .game-selection :is(strong,small),
.planning-shell .game-selection-copy > strong,
.planning-shell .game-selection-copy > small { color: #5c4126; }
.planning-shell .game-selection-actions button { background: #f5e4be; border-color: #c9ad74; color: #674929; }
.planning-shell .game-selection-actions .game-delete-object { background:#9d3d32;border-color:#7e2d25;color:#fff8ed;box-shadow:inset 0 1px #f2b5a64d; }
.planning-shell .game-selection-actions .game-delete-object:hover:not(:disabled) { background:#812e26;border-color:#64221c; }
.planning-shell .game-selection-actions .game-delete-object:disabled { background:#e4c5b9;border-color:#bd998a;color:#76564a;cursor:not-allowed; }
.planning-shell .game-map-compact .game-selection { flex-wrap:wrap; }
.planning-shell .game-map-compact .game-selection-actions { flex-basis:100%;justify-content:flex-end;margin-left:0; }
.planning-shell .game-map-reward { background: linear-gradient(135deg, #3c2414f7, #21130cf7); border-color: #e0bd75; color: #ffedbd; box-shadow: 0 8px 25px #11090566; }
.planning-shell .game-map-reward > span { color: #ead7b6; }
.planning-shell .map-panel .placement-banner { background: #2c1a0ff7; color: #fff0d1; border-color: #bda06b; border-bottom-color: #110905; }
.planning-shell :is(.map-size-controls,.map-width-controls,.orbit-controls,.orbit-help) { background: #fff5e3f5; color: #553e28; border-color: #bba078; box-shadow: 0 3px 10px #3724172e; }
.planning-shell :is(.map-size-controls,.map-width-controls,.orbit-controls) button { background: #f2e1c1; color: #654829; border-color: #c1a476; }
.planning-shell :is(.map-size-controls,.map-width-controls,.orbit-controls) button:hover { background: #e7c78d; color: #4d321b; border-color: #ad823d; }
.planning-shell .orbit-title,
.planning-shell .orbit-tip { color: #62482e; }
.planning-shell .orbit-controls input[type=range],
.planning-shell .map-size-controls input[type=range] { accent-color: #986b31; }
.planning-shell .map-panel .map-resize-handle,
.planning-shell .map-width-handle,
.planning-shell .map-panel .map-provider { background: #fff0d7ef; border-color: #b59667; color: #63492e; }
.planning-shell .map-resize-hint { color: #63492e; }
.planning-shell .map-stage.is-comparing .compare-labels span:last-child { background: #2c1a0ff5; color: #fff0d3; border-color: #c4a065; }
.planning-shell .plani-companion-name { background: #21130cf5; border-color: #c5a260; color: #ffefcb; box-shadow: 0 2px 0 #110905; }
.planning-shell .plani-floating-guide.journey-guide { background: #fff5e1; color: #523b26; border-color: #c99e50; box-shadow: 0 7px 0 #50331e36, 0 14px 30px #24160f42; }
.planning-shell .plani-guide-controls button { color: #62482e; background: #f0dfbc; border-color: #c8ad7d; }
.planning-shell .plani-floating-guide .journey-guide-copy > small,
.planning-shell .plani-floating-guide .journey-guide-status { color: #826139; }
.planning-shell .plani-floating-guide .journey-guide-copy > h2 { color: #50361e; }
.planning-shell .plani-floating-guide .journey-guide-copy > p { color: #654a30; }
.planning-shell .plani-floating-guide .journey-guide-actions button { color: #62482e; background: #efddba; border-color: #ba9b6b; }
.planning-shell .plani-floating-guide .journey-guide-actions .journey-guide-primary { background: linear-gradient(#472d1b, #28180f); color: #fff1d3; border-color: #876139; box-shadow: 0 3px 0 #110905; }

/* Dialogs use the same palette, including the new search and mission entry points. */
body:has(.planning-shell) #studio-dialog,
.planning-shell .journey-help,
.planning-shell .planning-brief-dialog { background: #fff5e3; color: #4b3523; border-color: #b99760; box-shadow: 0 20px 70px #21150f66; }
body:has(.planning-shell) #studio-dialog::backdrop,
.planning-shell .journey-help::backdrop,
.planning-shell .planning-brief-dialog::backdrop { background: #21180f80; }
body:has(.planning-shell) #studio-dialog :is(h2,h3),
.planning-shell .journey-help-content h3 { color: #4f3620; }
body:has(.planning-shell) #studio-dialog :is(.dialog-copy,.view-list li,.project-list-item p) { color: #72573b; }
body:has(.planning-shell) #studio-dialog .field { background: #fffaee; color: #513b27; border-color: #c5aa7f; }
body:has(.planning-shell) #studio-dialog .button.primary { background: #352014; color: #fff1d6; border-color: #8e673a; }
.place-search-dialog { color: #523b26; }
.place-search-tab { background: #eadabd; color: #6a4d2e; border-color: #bfa378; }
.place-search-tab[aria-selected=true] { background: #352014; color: #fff0d3; border-color: #7f5930; box-shadow: inset 0 -3px #180d08; }
.place-search-hint,
.place-search-status { color: #765b3d; }
.place-search-form { background: #fffbf0; border-color: #a17b41; }
.place-search-form input { color: #4d3521; }
.place-search-form input::placeholder { color: #80694f; }
.place-search-submit,
.place-search-retry { background: #3b2415; color: #fff1d4; border-color: #846038; }
.place-search-chip { background: #eddfbf; color: #6b4e2d; border-color: #c7ad7a; }
.place-search-chip:hover { background: #e4c78c; border-color: #a9813e; }
.place-search-result { background: #fff9e9; color: #4f3822; border-color: #ceb58c; }
.place-search-result:hover { background: #f4e3bc; border-color: #b48b45; }
.place-search-art,
.place-search-art img { background: #e9dcc2; color: #795b36; }
.place-search-result-copy small,
.place-search-result-action { color: #7a5933; }
.place-search-results { scrollbar-color: #b2976c #f3e5ca; }
.planning-shell .journey-help-header,
.planning-shell .brief-dialog-header { background: #28180f; border-color: #b38b50; color: #ffedcd; }
.planning-shell .journey-help-header h2,
.planning-shell .brief-dialog-header h2 { color: #ffedc8; }
.planning-shell .journey-help-content { background: #fff4df; color: #684c30; }
.planning-shell .journey-help-intro,
.planning-shell .journey-place-note,
.planning-shell .journey-limit { background: #eddfc2; border-color: #c2a675; color: #6b5031; }
.planning-shell .journey-help-intro p,
.planning-shell .journey-questions,
.planning-shell .journey-result-warnings { color: #6b5031; }
.planning-shell :is(button,a,input,textarea,select,[tabindex]):focus-visible,
body:has(.planning-shell) #studio-dialog :is(button,a,input,textarea,select):focus-visible { outline-color: #b17d2e; }
.planning-shell .topbar :is(button,a,summary):focus-visible { outline-color: #f5d798; }

@media (prefers-reduced-motion: reduce) {
  .planning-shell .journey-step { transition: none; transform: none; }
}
