.app-shell:has(.shell-home-brand:not([hidden])){--shell-bar-height:88px}
.shell-home-brand{appearance:none;border:0;background:transparent;color:inherit;text-align:left;padding:0;cursor:pointer;gap:10px;min-width:0;align-items:center}
.shell-home-brand:focus-visible{outline:2px solid var(--brand);outline-offset:-2px;border-radius:10px}
.shell-brand-logo{width:56px!important;height:56px!important;flex:0 0 56px;object-fit:contain;object-position:center;background:transparent}
.shell-brand-copy{min-width:0;display:grid;align-content:center;gap:0;line-height:1}
.shell-brand-label{display:block;font:500 13px/1.05 var(--font-body);color:#7a8580;white-space:nowrap}
.shell-municipality-name{display:block;min-width:0;font:500 30px/.95 var(--font-display);letter-spacing:-.025em;color:#0a3b2a;white-space:normal;overflow-wrap:normal;text-wrap:balance}
.shell-municipality-subline{display:block;min-width:0;font:500 13px/1.08 var(--font-body);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell-municipality-name[hidden],.shell-municipality-subline[hidden]{display:none!important}
.shell-municipality-demand{display:-webkit-box;max-width:240px;margin-top:2px;font:700 11.5px/1.12 var(--font-body);color:var(--brand);-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shell-municipality-demand.busy{opacity:.55}.shell-municipality-demand.done{color:var(--muted)}
.shell-top-actions{align-items:center;gap:8px!important}
.shell-municipality-image{width:46px;height:31px;flex:0 0 46px;object-fit:cover;border-radius:3px;border:1px solid #d5d9d7;background:var(--surface-2);box-sizing:border-box}
.shell-municipality-picker{position:fixed;z-index:260;inset:0;display:grid;align-items:end}
.shell-municipality-backdrop{position:absolute;inset:0;border:0;background:rgba(10,14,12,.5);backdrop-filter:blur(5px)}
.shell-municipality-sheet{position:relative;z-index:1;width:min(100%,520px);margin:0 auto;padding:14px 14px calc(14px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:var(--surface);border:1px solid var(--border);box-shadow:0 -14px 36px rgba(0,0,0,.18)}
.shell-municipality-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.shell-municipality-sheet-head>div{display:grid;gap:2px}.shell-municipality-sheet-head strong{font:900 16px var(--font-display)}.shell-municipality-sheet-head small{font:600 10px var(--font-body);color:var(--muted)}
.shell-municipality-close{width:38px;height:38px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);color:var(--text);font-size:22px}
.shell-municipality-options{display:grid;gap:7px;max-height:min(52vh,390px);overflow:auto}
.shell-municipality-options button{min-height:52px;display:grid;gap:2px;text-align:left;padding:9px 11px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}
.shell-municipality-options b{font:800 12px var(--font-display)}.shell-municipality-options small{font:600 10px var(--font-body);color:var(--muted)}
@media(max-width:430px){
  .app-shell:has(.shell-home-brand:not([hidden])){--shell-bar-height:82px}
  .shell-home-brand{gap:7px}
  .shell-brand-logo{width:46px!important;height:46px!important;flex-basis:46px}
  .shell-brand-label{font-size:11.5px;line-height:1.02}
  .shell-municipality-name{font-size:25px;line-height:.94;letter-spacing:-.025em}
  .shell-municipality-subline{font-size:11.5px;line-height:1.05}
  .shell-municipality-demand{max-width:190px;font-size:11.5px}
  .shell-municipality-image{width:36px;height:24px;flex-basis:36px;border-radius:3px}
  .shell-top-actions{gap:4px!important}
  .shell-top-actions .icon-button{width:42px;min-width:42px;height:42px;min-height:42px}
}
@media(max-width:350px){
  .shell-topbar-inner{grid-template-columns:62px minmax(0,1fr) 82px!important;padding-left:7px!important;padding-right:7px!important;gap:4px!important}
  .shell-home-brand{gap:5px}
  .shell-brand-logo{width:46px!important;height:46px!important;flex-basis:46px}
  .shell-brand-label{font-size:11.5px}
  .shell-municipality-name{font-size:25px;line-height:.92}
  .shell-municipality-subline{font-size:11.5px}
  .shell-municipality-image{width:36px;height:24px;flex-basis:36px}
  .shell-top-actions{gap:2px!important}
  .shell-top-actions .icon-button{width:40px;min-width:40px;height:40px;min-height:40px}
}
