/* Phase 3B: additions inside the approved planner only. No page-foundation overrides. */
#plannerShell .pp-local-notice { color: var(--muted); font-size: 14px; line-height: 1.7; }
#plannerShell .pp-photo-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#plannerShell input[type="file"] { padding: 8px; }
#plannerShell input[type="file"]::file-selector-button { min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; color: var(--white); background: rgba(255,255,255,.06); font: inherit; font-size: 14px; cursor: pointer; margin-right: 10px; }
#plannerShell .pp-photo-limits, #plannerShell .pp-photo-status { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 12px; }
#plannerShell .pp-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
#plannerShell .pp-photo-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; min-width: 0; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255,255,255,.025); }
#plannerShell .pp-photo-card img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
#plannerShell .pp-photo-card strong { font-size: 14px; line-height: 1.5; }
#plannerShell .pp-photo-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
#plannerShell .pp-photo-filename { overflow-wrap: anywhere; }
#plannerShell .pp-photo-card .ghost-button { margin-top: auto; }
#plannerShell .pp-photo-skip { margin-top: 18px; }
#plannerShell .pp-picture-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
#plannerShell .pp-picture-kicker { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
#plannerShell .pp-picture-tag { color: var(--muted); font-size: 12px; font-weight: 700; }
#plannerShell .pp-system-scene { position: relative; isolation: isolate; padding: 28px; border-radius: 22px; border: 1px solid rgba(108,203,63,.25); background: radial-gradient(ellipse at 50% 0,rgba(108,203,63,.12),transparent 60%),#07100a; }
#plannerShell .pp-system-trunk { display: flex; flex-direction: column; align-items: center; position: relative; }
#plannerShell .pp-system-node { position: relative; min-width: 0; border: 1px solid var(--line-2); background: linear-gradient(150deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); border-radius: 14px; padding: 16px; animation: pp-node-assemble .6s both; animation-delay: var(--node-delay,0ms); }
#plannerShell .pp-system-trunk > .pp-system-node { width: min(100%,400px); text-align: center; }
#plannerShell .pp-system-node-kind { display: block; font-size: 14px; font-weight: 800; line-height: 1.5; }
#plannerShell .pp-system-node strong { display: block; font-size: 28px; line-height: 1.3; color: var(--gold); letter-spacing: -.03em; margin-top: 6px; }
#plannerShell .pp-system-qualifier { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 6px; }
#plannerShell .pp-system-service[data-certainty="unknown"], #plannerShell .pp-system-service[data-certainty="needs_verification"] { border-style: dashed; }
#plannerShell .pp-system-utility .pp-system-node-kind { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
#plannerShell .pp-system-panel { border-color: rgba(255,210,34,.4); }
#plannerShell .pp-system-panel::before { content: ""; display: block; width: 34px; height: 42px; margin: 0 auto 10px; border: 1px solid var(--green); border-radius: 5px; background: repeating-linear-gradient(0deg,transparent 0 8px,rgba(108,203,63,.35) 8px 10px,transparent 10px 14px); box-shadow: 0 0 24px rgba(108,203,63,.1); }
#plannerShell .pp-system-markers { display: grid; gap: 6px; margin-top: 12px; text-align: left; }
#plannerShell .pp-system-markers li { border-left: 2px solid var(--gold); padding-left: 10px; font-size: 12px; line-height: 1.5; color: var(--muted); }
#plannerShell .pp-system-wire { position: relative; display: block; width: 2px; height: 28px; background: rgba(108,203,63,.3); overflow: hidden; }
#plannerShell .pp-system-wire::after { content: ""; position: absolute; inset: -15px 0 auto; height: 15px; background: var(--gold); box-shadow: 0 0 8px var(--green); animation: pp-wire-travel 3.5s ease-in-out infinite; }
#plannerShell .pp-system-branches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; position: relative; padding-top: 30px; margin-top: 28px; }
#plannerShell .pp-system-branches::before { content: ""; position: absolute; left: 25%; right: 25%; top: 0; height: 1px; background: var(--green); opacity: .45; }
#plannerShell .pp-system-trunk::after { content: ""; position: absolute; left: calc(50% - 1px); top: 100%; height: 28px; width: 2px; background: rgba(108,203,63,.45); }
#plannerShell .pp-system-branch { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
#plannerShell .pp-system-branch::before { content: ""; position: absolute; width: 1px; height: 30px; top: -30px; left: 50%; background: rgba(108,203,63,.45); }
#plannerShell .pp-system-branch h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); text-align: center; margin-bottom: 6px; }
#plannerShell .pp-system-branch[data-scene-layer="planned_loads"] h4 { color: var(--gold); }
#plannerShell .pp-system-branch:only-child { grid-column: 1 / -1; width: min(100%,500px); justify-self: center; }
#plannerShell .pp-system-branches:has(> .pp-system-branch:only-child)::before { display: none; }
#plannerShell .pp-system-empty { font-size: 13px; color: var(--muted); line-height: 1.6; padding: 16px; border: 1px dashed var(--line-2); border-radius: 12px; }
#plannerShell .pp-scene-context { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
#plannerShell .pp-result-photos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
#plannerShell .pp-result-photos figure { margin: 0; width: 120px; }
#plannerShell .pp-result-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
#plannerShell .pp-result-photos figcaption { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
#plannerShell .pp-scene-caption { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 12px; }
#plannerShell .pp-outlook-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
#plannerShell .pp-picture-outlook { padding: 16px 18px; border-top: 2px solid var(--green); background: rgba(255,255,255,.025); border-radius: 0 0 12px 12px; }
#plannerShell .pp-picture-outlook:nth-child(2) { border-top-color: var(--gold); }
#plannerShell .pp-picture-outlook h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
#plannerShell .pp-picture-outlook strong { display: block; margin-top: 6px; font-size: 17px; line-height: 1.4; }
#plannerShell .pp-picture-outlook ul { display: grid; gap: 6px; margin: 4px 0 10px; }
#plannerShell .pp-picture-outlook li, #plannerShell .pp-picture-outlook p { font-size: 14px; color: var(--muted); line-height: 1.55; }
#plannerShell .pp-picture-outlook p { margin-top: 8px; }
#plannerShell .pp-outlook-reasons { margin-top: 6px; }
#plannerShell .pp-outlook-reasons summary { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 650; list-style: none; }
#plannerShell .pp-outlook-reasons summary::-webkit-details-marker { display: none; }
#plannerShell .pp-outlook-reasons summary::after { content: "+"; color: var(--gold); }
#plannerShell .pp-outlook-reasons[open] summary::after { content: "\2212"; }
#plannerShell .pp-picture-attention { border-left: 2px solid var(--gold); padding: 10px 14px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
#plannerShell .pp-picture-attention a { color: var(--gold); text-decoration: underline; }
#plannerShell .pp-shared-details { margin-top: 14px; border-radius: 12px; }
#plannerShell .pp-summary-hint { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }
#plannerShell .pp-shared-details[open] .pp-summary-hint { display: none; }
#plannerShell .pp-summary-group { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
#plannerShell .pp-summary-group h4 { color: var(--white); font-size: 14px; line-height: 1.55; margin: 0; }
#plannerShell .pp-summary-group p { font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
#plannerShell .pp-summary-load + .pp-summary-load { margin-top: 6px; }
#plannerShell .pp-summary-detail { padding-left: 0; color: var(--muted); }
#plannerShell .pp-summary-load .pp-summary-detail { font-size: 13px; }
#plannerShell .pp-picture-unknowns { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-top: 14px; }
#plannerShell .pp-picture-unknowns h4 { font-size: 14px; line-height: 1.6; }
#plannerShell .pp-picture-unknowns ul { display: flex; flex: 1 1 260px; flex-wrap: wrap; gap: 6px; }
#plannerShell .pp-picture-unknowns li { max-width: 100%; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
#plannerShell .pp-picture-paths { margin-top: 18px; }
#plannerShell .pp-picture-paths h4 { font-size: 16px; line-height: 1.4; margin-bottom: 6px; }
#plannerShell .pp-picture-paths > p { color: var(--muted); font-size: 14px; line-height: 1.55; }
#plannerShell .pp-picture-paths > ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; margin-top: 6px; }
#plannerShell .pp-picture-paths li { padding: 10px 0; border-bottom: 1px solid var(--line); }
#plannerShell .pp-picture-paths strong { font-size: 14px; line-height: 1.4; }
#plannerShell .pp-picture-paths li p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#plannerShell .pp-picture-next { margin-top: 20px; padding: 20px; border: 1px solid rgba(255,210,34,.32); border-radius: 14px; background: linear-gradient(110deg,rgba(255,210,34,.08),rgba(108,203,63,.035)); }
#plannerShell .pp-picture-next h4 { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
#plannerShell .pp-picture-next > [data-picture-next-label] { color: var(--white); font-size: 20px; font-weight: 750; line-height: 1.35; }
#plannerShell .pp-picture-next > .pp-local-notice { font-size: 13px; line-height: 1.55; }
#plannerShell .pp-picture-next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
#plannerShell .pp-picture-next-actions > * { max-width: 100%; white-space: normal; padding: 12px 18px; }
#plannerShell .pp-picture-boundaries { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.65; }
#plannerShell .pp-picture-boundaries h4 { font-size: 13px; font-weight: 650; margin-bottom: 4px; color: var(--white); }
/* Step 7 already has the accepted review action above. Earlier steps keep their review band. */
#plannerShell:has(section[data-step="result"]:not([hidden])) .pp-interactive > .pp-review { display: none; }
#plannerShell:has(section[data-step="result"]:not([hidden])) .pp-interactive > .pp-actions { margin-top: 14px; padding-top: 0; border-top: 0; }
@keyframes pp-node-assemble { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pp-wire-travel { 0%,15% { transform: translateY(0); } 75%,100% { transform: translateY(45px); } }
@media (max-width: 760px) {
  #plannerShell .pp-photo-pick, #plannerShell .pp-photo-grid, #plannerShell .pp-outlook-grid, #plannerShell .pp-picture-paths > ul { grid-template-columns: 1fr; }
  #plannerShell .pp-system-scene { padding: 20px 14px; }
  #plannerShell .pp-system-branches { grid-template-columns: 1fr; gap: 28px; }
  #plannerShell .pp-system-branches::before { display: none; }
  #plannerShell .pp-system-branch + .pp-system-branch::before { display: none; }
  #plannerShell .pp-picture-next-actions { flex-direction: column; align-items: stretch; }
  #plannerShell .pp-photo-pick { gap: 0; }
  #plannerShell .pp-photo-card img { height: 190px; }
  #plannerShell .pp-summary-group { grid-template-columns: 100px minmax(0,1fr); gap: 10px; }
  #plannerShell .pp-summary-hint { display: none; }
  #plannerShell .pp-picture-next { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #plannerShell .pp-system-node, #plannerShell .pp-system-wire::after { animation: none !important; transform: none; opacity: 1; }
}
