/* Shared Stromnachbar shell: existing Nunito and plum/sand palette. */
:root{--bg:#e9e2dd;--paper:#fdfbf9;--ink:#241920;--plum:#5c2e48;--muted:#706269;--line:#e3d9d9}
body{padding-bottom:env(safe-area-inset-bottom)}
.prototype-bar{justify-content:center;gap:4px 16px;text-align:center;padding:7px 16px;font-size:11px}
.workspace{display:block;max-width:708px;margin:24px auto;padding:0 24px}
.app-shell{overflow:visible;min-height:calc(100dvh - 90px);border-radius:24px 24px 0 0;padding-bottom:152px;box-shadow:0 16px 50px #3f1e3008}
.app-header{position:sticky;top:0;background:var(--paper);z-index:4;border-radius:24px 24px 0 0;padding:14px 24px}
.brand{font-size:21px;gap:5px;white-space:nowrap}.brand img{width:25px;height:28px}
.shell-header-actions{display:flex;gap:12px;align-items:center}.shell-header-actions a{color:var(--plum);text-decoration:none;font-weight:800}
.shell-history-link{font-size:12px;padding:12px 0}.shell-history-link[aria-current=page]{text-decoration:underline}
.shell-account{display:grid;place-items:center;min-width:44px;min-height:44px;background:var(--soft);border-radius:50%}.shell-account svg{width:21px;height:21px}
main.shell-screen,main.pilot-screen{padding:24px 28px 30px;min-height:550px;scroll-margin-top:82px}main:focus{outline:none}
.shell-heading{margin:7px 0 27px}.shell-heading h1{font-size:34px;line-height:1.13;letter-spacing:-1.05px;margin:11px 0 12px}.shell-heading p{max-width:420px}
.shell-back{display:inline-block;margin-bottom:18px;text-decoration:none;font-size:13px;min-height:38px}
.shell-section{margin:28px 0}.shell-section>h2{font-size:20px;margin:0 0 12px}.shell-section .section-title{margin:0 0 14px;gap:12px}.section-title a{font-size:12px;color:var(--plum)}
.shell-box{background:#f5efeb;margin-top:0}.shell-box h2{font-size:23px;line-height:1.3}.shell-box .card-head{align-items:start;gap:8px}.shell-box .card-head .pill{margin-top:5px}
.shell-box>p{margin-top:12px}.shell-sim-note{font-size:11px;color:var(--muted);margin-top:14px!important}
.shell-state-title{font-size:20px!important;color:var(--ink);font-weight:750}
.shell-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;min-height:48px;color:var(--plum);font-size:14px;font-weight:800;text-decoration:none;border-bottom:1px solid var(--line)}
.shell-link:last-child{border-bottom:0}.shell-link:hover{text-decoration:underline}.shell-link.primary{border-radius:12px;padding:14px 17px;background:var(--plum);color:white;margin:21px 0 6px;border:0}
.shell-crosslink{padding-top:6px}.shell-crosslink p{font-size:12px}.shell-empty{background:transparent;padding:22px;margin:0}.shell-empty h3{font-size:18px}.shell-empty .text-button{margin-top:13px;text-align:left}
.shell-invite-row{margin-top:16px}.shell-invite-row .shell-link{font-size:13px}.shell-box .text-button{font-size:12px;text-align:left}
.shell-choice{border:0;padding:0;margin:28px 0 18px}.shell-choice legend{font-weight:800;font-size:14px;margin-bottom:12px}.shell-choice label{display:flex;gap:12px;align-items:center;min-height:48px;font-size:14px}.shell-choice input{width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--plum)}
.shell-charge{background:#f5efeb;margin:0}.shell-charge h2{font-size:30px;margin:23px 0 12px;line-height:1.2}.shell-demo{padding:17px;background:#efe6e9;border-radius:14px;margin-top:18px}.shell-demo summary{font-size:13px}.shell-demo button{font-size:12px}.shell-demo .actions{margin-top:14px}
.shell-segments{display:flex;gap:4px;background:var(--soft);border-radius:13px;padding:4px;margin:24px 0}.shell-segments button{flex:1;background:transparent;border:0;padding:12px 6px;font-size:13px}.shell-segments button[aria-pressed=true]{background:var(--paper);box-shadow:0 1px 5px #3f1e3010}
.shell-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(660px,calc(100% - 48px));z-index:5;background:var(--paper);border:1px solid var(--line);border-bottom:0;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -6px 20px #3f1e3006}
.nav{position:static;padding:6px 15px;border-top:0;gap:10px}.nav a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;color:var(--muted);text-decoration:none;border-radius:12px;font-size:11px;font-weight:800}.nav svg{height:22px;width:22px}.nav a[aria-current=page]{background:var(--soft);color:var(--plum)}.nav a:hover{background:#f5eef1}
#active-charge{padding:8px 18px;border-bottom:1px solid var(--line);background:#eee5e8}#active-charge a{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--plum);font-size:12px;min-height:38px}#active-charge a>span:nth-child(2){flex:1;font-weight:800}#active-charge small{display:block;font-size:10px;font-weight:600}#active-charge .dot{width:7px;height:7px}
.toast{bottom:calc(90px + env(safe-area-inset-bottom));z-index:10}.p-section-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:-8px;margin-bottom:17px}.p-section-tools .eyebrow{font-size:10px;letter-spacing:1px}.p-section-tools button{font-size:12px}
.p-heading{margin-bottom:24px}.p-heading h1{font-size:36px;line-height:1.12;margin:0 0 12px;color:var(--ink)}.p-heading p{font-size:14px}.p-form{padding:20px;border-radius:19px;background:#f5efeb}.p-place{gap:12px;padding-bottom:17px;margin-bottom:17px}.p-place>span{font-size:23px;color:var(--plum)}.p-place button{font-size:11px;min-height:44px}.p-place small{font-size:11px}
.p-form>.field{margin-top:14px;font-size:13px}.p-form select{background:var(--paper);font-size:16px}.p-form>.wide{margin-top:17px;min-height:50px}
.p-filter-details{margin-top:17px}.p-filter-details>summary{display:flex;justify-content:space-between;gap:10px;list-style:none;color:var(--plum);font-size:11px;padding:12px 0;border-block:1px solid var(--line)}.p-filter-details>summary::-webkit-details-marker{display:none}.p-filter-details>summary span:last-child{font-weight:850;text-align:right;white-space:nowrap}.p-filter-details[open]>summary{margin-bottom:18px}.p-filter-details .p-fields label{font-size:12px}.p-filter-details .check{font-size:12px}.p-filter-access{margin-top:10px;font-size:11px}
.p-intro{font-size:12px;padding:0;margin:18px 0;line-height:1.6}.p-search-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f5efeb;border:1px solid var(--line);border-radius:15px;padding:16px}.p-search-summary strong{font-size:17px}.p-search-summary p{font-size:11px;margin-top:5px}.p-search-summary button{font-size:12px;flex-shrink:0}
.p-results{margin-top:23px}.p-card{background:#fdfbf9}.p-results-note{font-size:11px;line-height:1.6}.p-detail-heading h1{font-size:29px}.p-card h3{font-size:22px}.p-sources{margin-top:23px}.p-sources summary{font-size:11px}.p-small{overflow-wrap:anywhere}
@media(max-width:600px){.workspace{margin:0;padding:0}.app-shell{border:0;border-radius:0;min-height:calc(100dvh - 35px)}.app-header{border-radius:0;padding:10px 18px}.shell-footer{width:100%;border-left:0;border-right:0}main.shell-screen,main.pilot-screen{padding:22px 20px 28px}.brand{font-size:20px}.shell-header-actions{gap:10px}.shell-heading h1,.p-heading h1{font-size:32px}.p-form{padding:17px}.prototype-bar span{width:auto}.p-place button{max-width:90px}.shell-box .card-head{flex-wrap:wrap}}
@media(max-width:350px){.brand{font-size:17px}.brand img{width:20px}.app-header{padding-inline:12px}.shell-header-actions{gap:7px}.shell-history-link{font-size:11px}.shell-account{min-width:38px;min-height:40px}main.shell-screen,main.pilot-screen{padding-inline:16px}.p-form{padding:14px}.p-section-tools .eyebrow{font-size:9px;letter-spacing:.5px}.p-section-tools button{font-size:11px}.p-filter-details>summary{font-size:10px}.p-detail-stats{gap:8px}.shell-charge h2{font-size:27px}}

.shell-menu{border-top:1px solid var(--line);padding-top:24px}.shell-menu h2{font-size:19px;margin-bottom:12px}
