.vps-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:18px}.vps-brand img{width:38px;height:38px}
.vps-dialog{width:min(480px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #65707e;border-radius:20px;background:var(--surface,#fff);color:var(--ink,#202832);padding:24px}
:root[data-theme="dark"] .vps-dialog{background:#202832;color:#f1f4f8}.vps-dialog::backdrop{background:#10151b99;backdrop-filter:blur(4px)}
.vps-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.vps-dialog h2{font-size:22px;margin:0}.vps-dialog p{line-height:1.5}.vps-dialog .vps-actions{display:flex;gap:12px;flex-wrap:wrap}.vps-dialog a{display:inline-flex;text-decoration:none;align-items:center}
.vps-stage{font-size:11px;opacity:.8}.vps-session-pending #profile-btn{opacity:.6}
/* The shared reset sets margin:0 on every element, overriding the dialog UA centering. */
dialog.vps-dialog{position:fixed;inset:0;margin:auto;height:fit-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}
body.vps-operations-enabled #admin-panel>:not(.vps-operations-menu){display:none!important}
.vps-operations-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.vps-operations-menu .btn{margin:0;min-height:48px}
#vps-weather-manager{width:min(820px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto}#vps-weather-rows .osp-list-row small{display:block;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:460px){.vps-operations-menu{gap:8px}.vps-operations-menu .btn{font-size:13px;padding:10px}}
.vps-admin-quick[hidden]{display:none!important}.vps-admin-quick{min-height:40px;white-space:nowrap;margin:0 6px}
dialog.vps-workspace{position:fixed;inset:0;margin:auto;width:min(940px,calc(100vw - 24px));height:fit-content;max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:22px;border:1px solid var(--line,#67717e);border-radius:22px;background:var(--surface,#fff);color:var(--ink,#202832)}
.vps-workspace::backdrop{background:#10151ba6;backdrop-filter:blur(4px)}.vps-workspace .editor-header{display:flex;align-items:center;gap:12px;margin-bottom:18px}.vps-workspace .editor-header h2{flex:1;margin:0}.vps-admin-groups{display:grid;grid-template-columns:1fr 1fr;gap:14px}.vps-admin-group{border:1px solid var(--line,#77808b);border-radius:16px;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.vps-admin-group h3{grid-column:1/-1;font-size:16px;margin:0 0 4px}.vps-admin-group .btn{margin:0;min-height:48px;font-size:14px}.vps-admin-card{border:1px solid var(--line,#77808b);border-radius:14px;padding:14px;margin:12px 0;overflow-wrap:anywhere}.vps-admin-card p{white-space:pre-wrap;font-size:14px;line-height:1.5;margin:8px 0}.vps-admin-card .btn{margin:6px 8px 0 0}.vps-admin-search{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.vps-admin-search input{flex:1;min-width:160px}.vps-admin-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.vps-admin-form label{display:flex;flex-direction:column;gap:7px;min-width:0}.vps-admin-form input,.vps-admin-form select,.vps-admin-search input{padding:12px;border-radius:10px;background:var(--input-bg,var(--surface,#fff));color:inherit;border:1px solid var(--line,#77808b);min-width:0;width:100%;box-sizing:border-box}.vps-admin-form small,.vps-admin-form>p,.vps-admin-form>div{grid-column:1/-1}.vps-ack-light{font-size:13px;font-weight:700;padding:6px 10px;border-radius:20px;display:inline-block}.vps-ack-light.seen{color:#13763b;background:#dcfce7}.vps-ack-light.pending{color:#a51824;background:#fee2e2}.vps-ack-light.none{color:#875b00;background:#fef3c7}.vps-workspace-status{min-height:22px}.vps-workspace-status[role=alert]{color:#ffae3e}.vps-unit-ack{margin-top:16px}
:root[data-theme=dark] .vps-workspace{background:#202832;color:#eef2f7}
@media(max-width:700px){dialog.vps-workspace{padding:16px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.vps-admin-groups{grid-template-columns:1fr}.vps-admin-quick{font-size:12px;padding:8px}.vps-admin-form{grid-template-columns:1fr}.vps-workspace .editor-header h2{font-size:18px}}
@media(prefers-reduced-motion:no-preference){.vps-workspace[open]{animation:vps-panel-in .16s ease-out}@keyframes vps-panel-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.vps-admin-quick{width:auto;flex:0 0 auto}.vps-admin-search>.btn{width:auto}.vps-workspace .vps-admin-form input,.vps-workspace .vps-admin-form select{background:var(--surface,#fff);color:var(--ink,#202832)}
@media(max-width:700px){.vps-admin-quick{display:none}}

/* Header and row actions must not inherit the global full-width .btn rule. */
.vps-workspace .editor-header>.btn,#vps-weather-manager .editor-header>.btn{width:auto;flex:0 0 auto;white-space:nowrap;margin:0}
.vps-workspace .editor-header>h2,#vps-weather-manager .editor-header>h2{flex:1;min-width:0;overflow-wrap:anywhere}
.vps-workspace .editor-header>.icon-button,#vps-weather-manager .editor-header>.icon-button{flex:0 0 auto}
.vps-workspace .vps-admin-card>.btn,.vps-workspace .editor-header~div>.btn{width:auto;max-width:100%}
#vps-weather-manager .editor-header{display:flex;align-items:center;gap:12px}
@media(max-width:420px){.vps-workspace .editor-header,#vps-weather-manager .editor-header{gap:8px}.vps-workspace .editor-header>.btn,#vps-weather-manager .editor-header>.btn{padding:8px;font-size:12px}}

/* Archive rows need an elastic text column and a content-sized action. */
#vps-weather-rows .osp-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem}
#vps-weather-rows .osp-list-row>div{min-width:0;overflow-wrap:anywhere}
#vps-weather-rows .osp-list-row>.btn,#vps-weather-more,
.live-editor .live-card>.btn,.live-editor .live-more{width:auto;max-width:100%}
.live-editor .live-card{min-width:0;overflow-wrap:anywhere}
@media(max-width:420px){#vps-weather-rows .osp-list-row{grid-template-columns:minmax(0,1fr)}#vps-weather-rows .osp-list-row>.btn{justify-self:start}}

/* One keyboard-focus outline around the composite search field. */
html[data-vps] #burzapp .topbar .search-row:focus-within{outline:2px solid var(--ui-focus,#e6a727);outline-offset:2px;box-shadow:none;border-color:transparent}
html[data-vps] #burzapp#burzapp .topbar .search-row input:focus-visible{outline:none;box-shadow:none}
#vps-display-name-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;margin:.7rem 0 1rem}
#vps-display-name-form label,#vps-display-name-form small{grid-column:1/-1}
#vps-display-name-form input{min-width:0;width:100%}
#vps-display-name-form button{width:auto}

.vps-dialog .vps-actions{display:grid;gap:.65rem;margin-top:1rem}
.vps-dialog .vps-actions .btn{margin:0}
.vps-dialog .vps-logout{display:flex;justify-content:center;padding-top:.5rem}
.vps-dialog .vps-logout .btn{width:auto;min-width:8rem;border-radius:999px}
.vps-dialog .vps-google-signin{display:flex;align-items:center;justify-content:center;gap:.7rem;background:#fff;color:#202124;border:1px solid #747775;border-radius:999px;min-height:44px;text-decoration:none}
.vps-dialog .vps-google-signin:hover{background:#eef3fc;color:#202124}
#live-feed-dialog .editor-header:has(.vps-live-back){display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem}
#live-feed-dialog .vps-live-back{width:auto;white-space:nowrap}
#vps-weather-summary[hidden]{display:none}

.vps-admin-groups,.vps-admin-group,.vps-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.vps-admin-group .btn,.vps-admin-card .btn,.vps-workspace h2{min-width:0;white-space:normal;overflow-wrap:anywhere}
.vps-admin-group [hidden]{display:none}
.vps-workspace .vps-admin-search{display:flex;align-items:end;gap:.65rem}
.vps-admin-search>input{flex:1 1 12rem}
.vps-admin-search>label{display:grid;gap:.3rem;flex:1 1 9rem;min-width:0}
.vps-admin-search select{width:100%;padding:.65rem;border:1px solid var(--line);border-radius:.6rem;background:var(--surface,#fff);color:inherit}
.vps-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.4rem;margin-top:1rem}
.vps-pager:empty{display:none}
.vps-pager .btn{width:auto;margin:0;padding:.45rem .65rem;min-height:42px}
.vps-pager [aria-current=page]{outline:2px solid #d88d18;outline-offset:-2px;font-weight:700}
.vps-pager span{font-size:.85rem;text-align:center;flex-basis:100%}
#live-feed-dialog .live-card .btn{width:auto;max-width:100%;margin:.2rem .4rem .2rem 0}
#live-feed-dialog .live-card p{overflow-wrap:anywhere}
#soundings-dialog{width:min(820px,calc(100vw - 24px));padding:clamp(10px,2vw,18px)}
#soundings-dialog:not(.sounding-zoom) .sounding-image-wrap{max-height:none;overflow:hidden}
#soundings-dialog:not(.sounding-zoom) #sounding-image{width:100%;max-height:57dvh;object-fit:contain}
#soundings-dialog.sounding-zoom .sounding-image-wrap{max-height:58dvh;overflow:auto}
#soundings-dialog.sounding-zoom #sounding-image{width:max(100%,1050px)}
@media(max-width:600px){
 .vps-admin-groups,.vps-admin-form{grid-template-columns:minmax(0,1fr)}
 .vps-admin-group{padding:.75rem}
 .vps-workspace .editor-header,#live-feed-dialog .editor-header:has(.vps-live-back),#vps-weather-manager .editor-header{column-gap:.4rem}
 #soundings-dialog:not(.sounding-zoom) #sounding-image{max-height:49dvh}
}
@media(max-width:360px){.vps-admin-group{grid-template-columns:minmax(0,1fr)}}

.vps-admin-count{display:inline-grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .2rem;margin-inline-start:.45rem;border-radius:999px;background:#b91c1c;color:#fff;font-size:.7rem;font-weight:700;vertical-align:middle}
.vps-admin-count[hidden]{display:none}
#admin-tools-btn{position:relative}
#admin-tools-btn .vps-admin-count{position:absolute;top:0;right:0;margin:0;pointer-events:none}
.vps-push-topics{border:1px solid var(--line);border-radius:.75rem;margin:1rem 0 0;padding:.75rem}
.vps-push-topics label{display:flex;align-items:center;gap:.5rem;margin:0 0 .65rem}
.vps-push-topics input[type=checkbox]{width:auto;margin:0}
.vps-intervention fieldset,.vps-photo-notice form{display:grid;gap:.5rem}
.vps-intervention fieldset{border:0;padding:0;margin:10px 0 0;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.vps-intervention fieldset>small{grid-column:1/-1;color:var(--muted)}
.vps-intervention fieldset input{min-width:0;width:100%;box-sizing:border-box}
.vps-intervention .vps-intervention-toggle{display:flex;gap:.45rem;align-items:center;font-weight:650;margin:0}
.vps-intervention fieldset[hidden]{display:none}
.vps-intervention fieldset label,.vps-photo-notice label{display:grid;gap:.3rem}
.vps-intervention input[type=checkbox],.vps-photo-notice input[type=checkbox]{width:auto}
.vps-photo-notice input,.vps-photo-notice textarea,.vps-photo-notice select{max-width:100%}
.vps-map-report-photo .btn{font-size:.75rem;margin-top:.35rem}
.vps-photo-view-trigger{display:block;width:100%;padding:0;border:0;border-radius:8px;background:transparent;cursor:zoom-in}
.vps-photo-viewer{box-sizing:border-box;width:min(58rem,calc(100vw - 16px));max-height:calc(100dvh - 16px);padding-bottom:max(14px,env(safe-area-inset-bottom))}
.vps-photo-viewer img{display:block;max-width:100%;max-height:calc(100dvh - 8rem);width:auto;height:auto;object-fit:contain;margin:auto}
.vps-photo-viewer img[hidden],.vps-photo-viewer p[hidden]{display:none}
.vps-photo-viewer .editor-header .btn{width:auto;min-height:44px;margin:0}
.vps-archive-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.vps-archive-actions .btn{width:auto;margin:0}
.vps-archive-actions .btn-danger,.vps-archive-purge{color:#b91c1c;border:1px solid currentColor;background:transparent}
[data-theme=dark] :is(.vps-archive-actions .btn-danger,.vps-archive-purge){color:#fda4af}

#feature-editor-dialog[data-editor=event-form][open]{display:flex;flex-direction:column;box-sizing:border-box;width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 24px);overflow:hidden}
#feature-editor-dialog[data-editor=event-form]>.editor-header{position:static;flex:none;padding-bottom:12px}
#feature-editor-dialog #event-form[style*="block"]{display:flex!important;flex-direction:column;min-height:0;overflow:hidden;padding-top:0}
#event-form .vps-report-body{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start;gap:12px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px 4px 12px}
#event-form .vps-report-section,#event-form .vps-intervention{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
#event-form .vps-report-section h3{margin:0 0 4px;font-size:1rem}
#event-form .vps-report-section p,#event-form .report-description{color:var(--muted);font-size:.83rem;margin:0 0 10px;line-height:1.45}
#event-form :is(.vps-report-more,.vps-intervention,.report-description,#report-challenge){grid-column:1/-1}
#event-form .vps-report-more summary{cursor:pointer;font-weight:650}
#event-form .vps-report-more[open] summary{margin-bottom:12px}
#event-form .form-group{margin:0 0 9px}
#event-form .vps-report-point{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-bottom:10px}
.vps-report-coordinates{font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:650;color:var(--muted)}
#event-form .vps-report-point .btn,#event-form .vps-report-footer .btn{width:auto;margin:0;min-height:42px}
#event-form .vps-report-gps{width:auto;max-width:100%;min-height:44px;margin:8px 0 0}
#event-form .vps-report-gps-note{margin:5px 0 0}
#event-form .vps-report-gps-note:empty{display:none}
#event-form .vps-report-footer{flex:none;display:flex;justify-content:flex-end;gap:8px;padding:10px 0 0;background:var(--surface,#fff);border-top:1px solid var(--line)}
#event-form :is(.vps-intervention,.vps-report-more)[hidden]{display:none}
.vps-intervention-details{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.vps-event-address-note{font-size:.8rem;color:var(--muted)}
@media(max-width:700px){
 #feature-editor-dialog[data-editor=event-form][open]{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:14px 12px max(12px,env(safe-area-inset-bottom))}
 #event-form .vps-report-body,.vps-intervention fieldset{grid-template-columns:minmax(0,1fr)}
 #event-form :is(input:not([type=checkbox]),select,textarea){font-size:16px}
 #event-form .vps-report-footer .btn{flex:1;min-height:44px}
 .vps-archive-actions{justify-content:flex-start}
}

#vps-firefighter-request{border:1px solid var(--line);border-radius:.8rem;padding:.8rem;margin:.85rem 0}
#vps-firefighter-request h3{margin:0 0 .4rem;font-size:1rem}
#vps-firefighter-request p{overflow-wrap:anywhere}
.vps-firefighter-form,.vps-firefighter-form label{display:grid;gap:.4rem}
.vps-firefighter-form{gap:.75rem}
.vps-firefighter-form :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line);border-radius:.5rem;padding:.55rem;background:var(--surface,#fff);color:inherit}
#vps-firefighter-request summary{cursor:pointer;font-weight:700;padding:.3rem .2rem;line-height:1.4}
#vps-firefighter-request[open] summary{margin-bottom:.5rem}
#vps-firefighter-request:not([open]).vps-firefighter-invite{animation:vps-firefighter-glow 2s ease-in-out 3}
@keyframes vps-firefighter-glow{50%{border-color:#dc8a21;box-shadow:0 0 .65rem #dc8a2140}}
@media(prefers-reduced-motion:reduce){#vps-firefighter-request:not([open]).vps-firefighter-invite{animation:none}}

.vps-workspace-status:empty{display:none}
.vps-unit-form{display:grid;gap:16px;margin-top:18px}
.vps-unit-section{min-width:0;margin:0;padding:12px 16px 16px;border:1px solid var(--line);border-radius:14px}
.vps-unit-section legend{padding:0 6px;font-weight:750}
.vps-unit-section p{margin:0 0 12px;color:var(--muted);font-size:13px}
.vps-unit-section .vps-unit-grid{margin:0;gap:12px 16px}
.vps-unit-footer{display:flex;justify-content:flex-end}
.vps-unit-footer .btn{width:auto}
@media(max-width:600px){.vps-unit-section{padding-inline:12px}}
.vps-push-settings{padding:12px 14px;margin:12px 0;border:1px solid var(--line);border-radius:12px}
.vps-push-settings p{margin:5px 0 8px;font-size:13px;color:var(--muted)}
.vps-push-settings .btn{width:auto;margin:3px 8px 3px 0}
.vps-push-settings [hidden],.vps-push-settings[hidden]{display:none}
.vps-install{grid-column:1/-1}
.vps-install[hidden],.vps-install p[hidden]{display:none}
.vps-install p{margin:6px 0;font-size:13px;line-height:1.4;color:var(--muted)}
.vps-push-settings summary{font-weight:700;cursor:pointer;border-radius:7px;padding:4px}
.vps-push-settings:not([open]) summary{animation:vps-push-pulse 2.5s ease-out 3}
@keyframes vps-push-pulse{50%{background:color-mix(in srgb,#ffad12 19%,transparent)}}
@media(prefers-reduced-motion:reduce){.vps-push-settings summary{animation:none!important}}
@media(max-width:700px){
 body.vps-has-install-tip{--mobile-map-top:var(--map-header-height,var(--header))}
 body.vps-has-install-tip .topbar{padding-bottom:44px;height:156px}
 body.vps-has-install-tip:not(.radar-legend-visible) .rail{top:calc(var(--mobile-map-top) + 10px)}
 .vps-install-intro{position:absolute;inset:auto 0 0;display:flex;gap:6px;align-items:center;height:44px;padding:0 12px;border-top:1px solid var(--line);background:var(--surface,#fff)}
 .vps-install-intro-action{flex:1;min-height:36px;border:1px solid #daa12d;border-radius:8px;background:#ffcd62;color:#30230c;font-size:13px;font-weight:700}
 .vps-install-intro>.icon-button{width:36px;height:36px;min-width:36px}

}
@media(max-width:360px){body.vps-has-install-tip .topbar{height:204px}}
@media(min-width:701px){.vps-install-intro{display:none}}
.vps-report-card{padding:12px;margin:8px 0;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}
.vps-report-card small{display:block;margin-top:4px;color:var(--muted)}
.vps-report-card p{margin:6px 0 0;white-space:pre-wrap}
#admin-event-form .form-group[hidden]{display:none}
.vps-photo-picker{margin-block:12px;min-width:0}
.vps-photo-picker[hidden],.vps-photo-picker img[hidden],.vps-photo-details[hidden]{display:none}
.vps-photo-picker input{width:100%;max-width:100%}
.vps-photo-picker small,.vps-photo-details small{display:block}
.vps-photo-picker img,.vps-photo-details img{display:block;max-width:100%;max-height:160px;margin-block:8px;border-radius:8px;object-fit:contain}
.vps-photo-details{padding-block:8px}
.vps-photo-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.vps-event-card{display:grid;gap:8px}
.vps-event-card-text{min-width:0;overflow-wrap:anywhere;font-size:.82rem;line-height:1.4}
.vps-event-card-text h4{font-size:.98rem;line-height:1.25;margin:0 22px 6px 0}
.vps-event-card-text p{margin:3px 0;white-space:pre-wrap}
.vps-event-pending,.vps-photo-review-note{padding:6px 8px;border-inline-start:3px solid #d88d18;background:var(--ui-soft,var(--panel))}
.vps-map-report-photo{margin:3px 22px 0 0;min-width:0}
.vps-map-report-photo[hidden],.vps-photo-review-note[hidden]{display:none}
.vps-map-report-photo img{display:block;width:auto;height:auto;max-width:100%;max-height:min(180px,28dvh);margin:auto;border-radius:8px;object-fit:contain}
.vps-event-card .vps-map-photo-notice{justify-self:start;width:auto;font-size:.75rem;min-height:36px;margin:0}
#event-form :is(.vps-report-guide,.vps-report-consent){grid-column:1/-1}
.vps-report-guide summary{cursor:pointer;font-weight:700}
.vps-report-guide ul{padding-inline-start:1.25rem;line-height:1.45}
.vps-report-guide li+li{margin-top:.35rem}
label.vps-photo-consent{display:flex;gap:8px;align-items:flex-start;margin-block:8px;line-height:1.45}
label.vps-photo-consent[hidden]{display:none}
.vps-photo-consent input[type=checkbox]{width:1.1em;height:1.1em;padding:0;flex:none;margin:3px 0 0}
.vps-photo-consent-form{width:100%}
.vps-photo-consent-form .btn{margin:0 6px 6px 0}
.vps-editor-photo{margin-top:12px;border-top:1px solid var(--line,var(--ui-border));padding-top:12px}
.vps-editor-photo:empty{display:none}
.vps-editor-photo h3{margin:0;font-size:1em}
#ze-account-author{overflow-wrap:anywhere}
#feature-editor-dialog[data-editor=admin-event-form]{width:min(960px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:92dvh;box-sizing:border-box}
#feature-editor-dialog #admin-event-form[style*="block"]{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start;gap:12px 18px;padding-top:12px}
#admin-event-form>div:first-child{display:none}
.vps-event-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;min-width:0}
#feature-editor-dialog #admin-event-form>.vps-event-editor-fields{grid-column:auto}
.vps-event-editor-fields>.form-group:has(textarea){grid-column:1/-1}
.vps-event-editor-fields>.form-group{margin:0}
.vps-event-editor-fields textarea{min-height:110px;resize:vertical}
#vps-event-editor-sidebar{min-width:0;padding:12px;background:var(--ui-soft,var(--panel));border:1px solid var(--ui-border,var(--line));border-radius:12px}
.vps-event-editor-contact{margin:0}
.vps-event-editor-footer{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid var(--line,var(--ui-border))}
#admin-event-form :is(.vps-event-editor-footer,#vps-event-editor-sidebar) .btn{width:auto;max-width:100%;margin:0;min-height:36px}
.vps-event-mail{margin-top:7px}
.vps-event-mail fieldset{border:0;margin:0;padding:0;min-width:0}
.vps-event-mail label{display:block;margin:8px 0}
.vps-event-mail-preview-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}
.vps-event-mail button+button{margin-inline-start:6px!important}
.vps-event-mail p:empty,.vps-photo-details p:empty{display:none}
@media(max-width:690px){
 #feature-editor-dialog #admin-event-form[style*="block"]{grid-template-columns:minmax(0,1fr)}
 .vps-event-editor-fields textarea{min-height:84px}
}
@media(max-width:365px){.vps-event-editor-fields{grid-template-columns:minmax(0,1fr)}}
.vps-report-card>.btn{margin-top:8px}

#vps-push-guide ol{margin:8px 0;padding-inline-start:1.6em}
#vps-push-guide li{padding-inline-start:.25em;line-height:1.55}
#vps-push-guide li+li{margin-top:.6em}
#vps-push-guide details{margin:8px 0;padding:8px 10px;border:1px solid var(--line);border-radius:8px}
#vps-push-guide summary{cursor:pointer;font-weight:600}
.vps-notification-history ol{margin:8px 0 14px;padding:0;list-style:none}
.vps-notification-history li{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--line)}
.vps-notification-history time{color:var(--muted);font-size:.9em}
.portal-event-pulse-layer canvas{animation:vps-event-pulse 1.65s ease-in-out infinite}
@keyframes vps-event-pulse{0%,100%{opacity:.4}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.portal-event-pulse-layer canvas{animation:none}}
.live-form .vps-live-push-option{display:flex;gap:.5rem;align-items:center;margin:.5rem 0}
.live-form .vps-live-push-option input{width:auto;margin:0}
.vps-live-push-state{display:block;margin-top:.45rem;color:var(--muted)}

#vps-weather-manager .vps-weather-filters{flex-wrap:wrap;margin-bottom:1rem}
#vps-weather-manager .vps-weather-filters label:first-child{flex-basis:14rem}
#vps-weather-manager .vps-weather-filters input{width:100%;min-width:0}
@media(max-width:580px){#vps-weather-manager .vps-weather-filters label:first-child{flex-basis:100%}}
.vps-admin-form .vps-event-map-auto{grid-column:1/-1;display:flex;align-items:center;gap:.6rem}
.vps-admin-form .vps-event-map-auto input{width:auto;min-width:auto}

#account-action{position:relative}
#account-action .vps-rejection-count{position:absolute;inset:0 0 auto auto;margin:0;pointer-events:none}
#admin-event-form .vps-event-editor-footer button[hidden]{display:none}

#map-mode-banner.vps-report-pick{box-sizing:border-box;width:max-content;max-width:calc(100vw - 24px);padding:8px 11px;font-size:.82rem;border-radius:12px}
#map-mode-banner.vps-report-pick>div{flex-wrap:wrap;gap:6px;margin-top:4px}
#map-mode-banner.vps-report-pick .btn{min-height:32px;padding:4px 8px;font-size:.78rem}
#event-form .vps-report-address-results:not(:empty){display:grid;gap:4px;margin-block:6px}
#event-form .vps-report-address-results .btn{width:auto;text-align:start;margin:0}
#event-form .vps-report-footer{flex-wrap:wrap}
#account-action .vps-rejection-count:not([hidden]){z-index:2;inset:-4px -4px auto auto;box-shadow:0 0 0 2px var(--surface,#fff)}
@media(prefers-reduced-motion:no-preference){
 #account-action .vps-rejection-count.vps-rejection-new{animation:vps-rejection-pop .55s ease-out 2}
 @keyframes vps-rejection-pop{45%{transform:scale(1.32)}}
}
@media(max-width:700px){#map-mode-banner.vps-report-pick .btn{min-height:40px}}

.vps-point-pick{position:fixed;z-index:1600;left:50%;bottom:calc(var(--bottom-dock,48px) + 12px);transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);color:var(--ink);box-shadow:0 4px 18px #0005}
.vps-point-pick>span{min-width:0;overflow-wrap:anywhere}
.vps-point-pick>.btn{width:auto;min-height:44px;flex:none;margin:0;padding-inline:14px;white-space:nowrap}

#vps-push-guide .vps-install-guide{border-color:#a77a26;background:color-mix(in srgb,#f1aa24 14%,var(--surface))}
#vps-push-guide .vps-install-guide summary{padding-block:5px;font-weight:750}
#vps-push-guide .vps-install-guide summary::marker{color:#b98119}

:root:not([data-theme=dark]) #vps-push-guide .vps-install-guide{background:#fff0c2;border-color:#9c6515;color:#362409}
:root:not([data-theme=dark]) #vps-push-guide .vps-install-guide summary{color:#633b08}

.info-function-guide{display:grid;gap:6px}
.info-function-guide details{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.info-function-guide summary{cursor:pointer;font-weight:650}
.info-function-guide details p{margin:6px 0}
.info-recent-releases{padding-inline-start:1.4rem;line-height:1.55}

.traffic-totals.history-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
.traffic-chart .history-plot svg {display:block;width:100%;height:auto;max-height:290px}
.traffic-chart .traffic-area {fill:var(--history-accent);fill-opacity:.14}
.traffic-chart .history-line {stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.traffic-chart label,.traffic-chart output {display:block;margin-top:.45rem}
.traffic-chart input[type=range] {display:block;width:100%;accent-color:var(--history-accent)}

.vps-workspace .vps-account-filters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.vps-account-filters .vps-account-dates {grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;min-width:0;margin:0;padding:0;border:0}
.vps-account-dates legend {padding:0;margin-bottom:.35rem}
.vps-account-dates label {display:grid;gap:.3rem;min-width:0}
.vps-account-dates :is(input,select) {width:100%;min-width:0}
.vps-account-dates label:last-child {grid-column:1/-1}
.vps-account-actions {display:flex;gap:.55rem;margin-block:.75rem}
.vps-account-actions:empty {display:none}
.vps-account-actions .btn {width:auto;max-width:100%}
@media (max-width:700px) {
 .vps-account-actions {flex-direction:column}
 .vps-account-actions .btn {width:100%}
}
