/* RescueView shared components. Page layouts live in rv-legacy; these rules
   own typography, controls, navigation and banners across supported screens. */
@font-face{font-family:'Open Sans';src:url('./fonts/OpenSans-Variable.ttf') format('truetype');font-style:normal;font-weight:300 800;font-display:swap}
@font-face{font-family:'RV Open Sans';src:url('./fonts/OpenSans-Variable.ttf') format('truetype');font-style:normal;font-weight:300 800;font-display:swap}
@font-face{font-family:'RV Guest Open Sans';src:url('./fonts/OpenSans-Variable.ttf') format('truetype');font-style:normal;font-weight:300 800;font-display:swap}
@font-face{font-family:Inter;src:url('./fonts/Inter-Variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Oxanium;src:url('./fonts/Oxanium-Variable.ttf') format('truetype');font-style:normal;font-weight:200 800;font-display:swap}
@font-face{font-family:Rajdhani;src:url('./fonts/Rajdhani-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Rajdhani;src:url('./fonts/Rajdhani-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Rajdhani;src:url('./fonts/Rajdhani-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Rajdhani;src:url('./fonts/Rajdhani-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--rv-font:'Open Sans',Arial,sans-serif;--agency-font:'Open Sans';--ui-font:var(--agency-font),'Open Sans',Arial,sans-serif;--ui-bg:var(--agency-background,var(--background,#10161e));--ui-panel:var(--agency-panel,var(--panel,#18212c));--ui-text:var(--agency-text,var(--text,#e6edf4));--ui-accent:var(--agency-accent,var(--accent,#ff9853));--ui-border:#344454;--ui-muted:#a4b4c5;--ui-radius:7px;--ui-control:36px;--ui-header:88px;--ui-gap:8px;--ui-inset:24px;--ui-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4b4c5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")}
:where(body.rv-design-system,.preview-surface,.rv-font-sample){--ui-font:var(--agency-font),'Open Sans',Arial,sans-serif;--ui-bg:var(--agency-background,var(--background,#10161e));--ui-panel:var(--agency-panel,var(--panel,#18212c));--ui-text:var(--agency-text,var(--text,#e6edf4));--ui-accent:var(--agency-accent,var(--accent,#ff9853))}
body.rv-design-system{font-family:var(--ui-font);color:var(--ui-text);background:var(--ui-bg);font-size:14px;line-height:1.55;color-scheme:dark}
.rv-design-system :where(.rv-hub-card,.rv-notes-panel,.incident-panel,.rv-archive-dialog,.rv-archive-detail,.rv-archive-row,.rv-archive-row-headings,.rv-continuous-controls,#rvOverview,#rvNotes,#rvArchiveNotesPanel,dialog):not(:where(.rv-hub-shell,.rv-hub-shell *)){background-color:var(--ui-panel);color:var(--ui-text)}
.rv-design-system :where(h1,h2,h3,h4,button,input,textarea,select,summary,label,table,dialog):not(:where(.rv-hub-shell,.rv-hub-shell *)){font-family:var(--ui-font);letter-spacing:normal;text-transform:none}
.rv-design-system :where(button:not(.rv-note-marker):not(.rv-archive-note-marker):not(.rv-archive-row):not([role=tab]),.button,.btn,.control-button,.focus-button,.rv-hub-header-button,.rv-hub-signout,.signout,.rv-ui-menu>summary,.rv-header-account>summary,.rv-panel-toggle,.rv-camera-picker>summary):not(:where(.rv-hub-shell,.rv-hub-shell *)){display:inline-flex;align-items:center;justify-content:center;gap:var(--ui-gap);width:auto;min-width:0;max-width:100%;min-height:var(--ui-control);padding:8px 12px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-panel);color:var(--ui-text);font-size:13px;font-weight:600;line-height:1.35;text-decoration:none;text-align:center;white-space:normal;box-sizing:border-box;cursor:pointer;transition:background-color .12s,border-color .12s}
.rv-design-system :where(button:not(.rv-note-marker):not(.rv-archive-note-marker):not(.rv-archive-row):not([role=tab]),.button,.btn,summary,.rv-archive-row):hover:not(:disabled):not(:where(.rv-hub-shell,.rv-hub-shell *)){background:color-mix(in srgb,var(--ui-panel) 84%,white);border-color:#73889b;color:var(--ui-text)}
.rv-design-system .rv-note-marker:not(:where(.rv-hub-shell,.rv-hub-shell *)){display:block;min-height:0;height:28px;min-width:0;padding:0;border:0;border-bottom:3px solid var(--ui-accent);border-radius:0;background:transparent;color:var(--ui-accent);box-shadow:none;font-size:14px}
@media(pointer:coarse){.rv-design-system .rv-note-marker:not(:where(.rv-hub-shell,.rv-hub-shell *)){height:44px;min-height:44px}}
.rv-design-system :where(.primary,.rv-hub-button-primary,#rvGoLive,#rvOverviewSubmit,#rvNotesSubmit):not(:where(.rv-hub-shell,.rv-hub-shell *)){background:var(--ui-accent);border-color:var(--ui-accent);color:var(--agency-button-text,var(--button-text,#10161e))}
.rv-design-system :where(.primary,.rv-hub-button-primary,#rvGoLive):hover:not(:disabled):not(:where(.rv-hub-shell,.rv-hub-shell *)){background:color-mix(in srgb,var(--ui-accent) 85%,white);color:var(--agency-button-text,var(--button-text,#10161e))}
.rv-design-system :where(.danger,#endIncidentButton):not(:where(.rv-hub-shell,.rv-hub-shell *)){background:#dc3545;border:1px solid #dc3545;color:white}
.rv-design-system :where(.danger,#endIncidentButton):hover:not(:disabled):not(:where(.rv-hub-shell,.rv-hub-shell *)){background:#bd2130;color:white;border-color:#bd2130}
.rv-design-system :where(button,input,select,textarea):disabled:not(:where(.rv-hub-shell,.rv-hub-shell *)){opacity:.45;cursor:not-allowed;box-shadow:none}
.rv-design-system :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible:not(:where(.rv-hub-shell,.rv-hub-shell *)){outline:2px solid var(--ui-accent);outline-offset:3px}
.rv-design-system :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea):not(:where(.rv-hub-shell,.rv-hub-shell *)){min-width:0;min-height:var(--ui-control);padding:8px 11px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-bg);color:var(--ui-text);font-size:14px;line-height:1.5;box-sizing:border-box}
.rv-design-system select:not(:where(.rv-hub-shell,.rv-hub-shell *)){appearance:none;padding-right:34px;background-image:var(--ui-arrow);background-position:right 9px center;background-size:16px;background-repeat:no-repeat}
.rv-design-system input:is([type=checkbox],[type=radio]):not(:where(.rv-hub-shell,.rv-hub-shell *)){width:18px;height:18px;min-height:18px;flex:none;margin:0;accent-color:var(--ui-accent)}
.rv-design-system input[type=range]:not(:where(.rv-hub-shell,.rv-hub-shell *)){accent-color:var(--ui-accent);cursor:pointer;min-height:28px;padding:0;background:transparent}
.rv-design-system :where(summary):not(:where(.rv-hub-shell,.rv-hub-shell *)){list-style:none}.rv-design-system summary:not(:where(.rv-hub-shell,.rv-hub-shell *))::-webkit-details-marker{display:none}
.rv-design-system :where(details:not(.rv-camera-more)>summary):not(:where(.rv-hub-shell,.rv-hub-shell *))::after{content:'';display:inline-block;width:16px;height:16px;flex:none;margin:0;border:0;background:var(--ui-arrow) center/16px no-repeat;transform:none}
.rv-design-system details[open]>summary:not(:where(.rv-hub-shell,.rv-hub-shell *))::after{transform:rotate(180deg)}
.rv-design-system :where(.rv-ui-menu-content,.rv-camera-more .rv-camera-actions,.rv-account-menu){padding:6px;gap:4px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-panel);color:var(--ui-text);box-shadow:0 14px 40px #0007}
.rv-design-system :where(.rv-ui-menu-content,.rv-account-menu,.rv-camera-more .rv-camera-actions)>:is(a,button,form button){display:flex;position:relative;align-items:center;gap:10px;width:100%;justify-content:flex-start;text-align:left;min-width:0;min-height:44px;height:auto;grid-column:auto;grid-row:auto;justify-self:stretch;margin:0;padding:12px 14px}
.rv-design-system .rv-camera-more[open]>.rv-camera-actions{display:grid;min-width:160px}
.rv-design-system .rv-camera-actions>button::before{content:none}
.rv-design-system :where(.rv-design-icon,.action-icon,.nav-icon,.rv-ui-icon,.rv-header svg:not(.rv-brand-mark):not(.brand-mark)):not(:where(.rv-hub-shell,.rv-hub-shell *)){width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.rv-design-system .rv-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:var(--ui-header);height:auto;padding:18px var(--ui-inset);margin:0;background:var(--ui-panel);color:var(--ui-text);border-bottom:1px solid var(--ui-border);box-sizing:border-box;flex:none}
.rv-header .rv-header-identity{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;min-width:0;flex:0 1 auto}
.rv-design-system .rv-header-groups{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:2px 24px;align-items:center;min-width:0}
.rv-header-groups>.rv-header-identity{grid-column:1;grid-row:1 / span 2}
.rv-design-system .rv-header-title{grid-column:2;grid-row:1;font-size:14px;line-height:1.4;margin:0;letter-spacing:0}
.rv-design-system .rv-header-caption{grid-column:2;grid-row:2;font-size:11px;line-height:1.4;margin:0;color:var(--ui-muted)}
@media(max-width:600px){.rv-design-system .rv-header-groups{grid-template-columns:minmax(0,1fr);gap:4px}.rv-header-groups>.rv-header-identity,.rv-design-system .rv-header-title,.rv-design-system .rv-header-caption{grid-column:1;grid-row:auto}}
.rv-design-system :where(.rv-ui-brand,.rv-hub-brand,.rv-brand-lockup,.brand:not(.shell>.brand):not(.rv-auth-admin header .brand),.rv-focus-brand,#rvWorkspaceBrand){display:inline-flex;align-items:center;gap:10px;padding:0;margin:0;line-height:1.2;white-space:nowrap;font-family:'Open Sans',Arial,sans-serif;font-size:24px;font-weight:400;letter-spacing:-.5px}
.rv-design-system :where(.rv-wordmark,.brand>span,.rv-ui-brand,.rv-hub-brand):not(:where(.rv-hub-shell,.rv-hub-shell *)){font-family:'Open Sans',Arial,sans-serif}
.rv-design-system :where(.rv-wordmark,.brand>span) strong:not(:where(.rv-hub-shell,.rv-hub-shell *)){font-family:'Open Sans',Arial,sans-serif;font-weight:700}
.rv-design-system :where(.rv-wordmark,.rv-wordmark *):not(:where(.rv-hub-shell,.rv-hub-shell *)){font-size:inherit;line-height:inherit}
.rv-design-system #rvWorkspaceName{font-size:24px;line-height:1.2}
.rv-design-system #rvWorkspaceName .rv-wordmark strong{font-size:inherit;line-height:inherit}
.rv-design-system #rvWorkspaceBar>.rv-workspace-context{flex:1;min-width:0;padding-left:20px;border-left:1px solid var(--ui-border);display:flex;flex-direction:column;gap:3px}
.rv-design-system #rvWorkspaceBar .rv-workspace-context>strong{font-size:12px;line-height:1.4}
.rv-design-system #rvWorkspaceBar #rvWorkspaceStatus{font-size:11px;line-height:1.4}
.rv-design-system .rv-header .rv-ui-mobile-toggle{display:none}
.rv-design-system :where(.rv-brand-mark,.brand-mark,#rvWorkspaceLogo){position:static;width:26px;height:26px;display:block;flex:none;margin:0;transform:none;color:#ff7900;align-self:center}
.rv-design-system .rv-header .rv-agency-scope{display:block;flex:none;font-family:var(--ui-font);font-size:11px;font-weight:400;line-height:1.4;color:var(--ui-muted);max-width:100%;padding:0;margin:0;border:0;align-self:auto;white-space:normal;overflow-wrap:anywhere}
.rv-design-system .rv-header :where(.subtitle,.rv-ui-brand-meta,.rv-hub-agency){font-family:var(--ui-font);font-size:11px;line-height:1.4;margin:0;padding:0}
.rv-design-system .rv-header :where(.header-actions,.rv-hub-header-actions,.rv-ui-nav-tray,.rv-archive-page-actions,.rv-header-nav){display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin:0 0 0 auto;min-width:0}
/* Own the whole navigation tray geometry, including the legacy 700px boundary. */
.rv-design-system .rv-header .rv-ui-nav-tray{position:static;inset:auto;width:auto;max-width:100%;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;flex-direction:row}
.rv-design-system .rv-header :where(button,.button,.control-button,summary){min-height:36px;padding:8px 11px;font-size:12px;white-space:nowrap}
.rv-design-system .rv-header :where(details[id^=rvUiAccount],.rv-header-account){order:100;margin-left:0;position:relative}
.rv-design-system .rv-header-account>summary{display:inline-flex;align-items:center;gap:8px}
.rv-design-system .rv-header-account{margin:0;padding:0;border:0}
.rv-design-system :is(.rv-account-menu,.rv-ui-menu-content){position:absolute;right:0;top:calc(100% + 8px);z-index:80;min-width:220px;max-width:calc(100vw - 32px);display:grid;text-align:left;box-sizing:border-box;max-height:calc(100dvh - 100px);overflow:auto;margin:0;left:auto}
.rv-design-system .rv-account-menu form{margin:0}.rv-design-system .rv-account-menu #identity{padding:8px 12px;overflow-wrap:anywhere;font-size:12px}
.rv-design-system .rv-account-menu button{width:100%;justify-content:flex-start}
.rv-design-system .rv-panel-toggle{font-size:12px;font-weight:500;gap:6px;min-width:0;min-height:34px;padding:6px 10px;white-space:nowrap}
.rv-design-system :where(.rv-panel-collapsed) .rv-panel-toggle{writing-mode:vertical-rl;width:34px;height:auto;min-height:114px;padding:10px 6px}
/* Stacked notes use a horizontal control; vertical labels belong to side rails. */
@media(max-width:1200px),(pointer:coarse){.rv-design-system:not(.rv-incident-workspace) #rvNotes.rv-panel-collapsed .rv-panel-toggle{writing-mode:horizontal-tb;width:auto;min-height:44px;padding:6px 10px}}
@media(max-width:1050px){.rv-design-system:not(.rv-incident-workspace) #rvOverview.rv-panel-collapsed .rv-panel-toggle{writing-mode:horizontal-tb;width:auto;min-height:44px;padding:6px 10px}}
.rv-design-system:not(.rv-iphone) #focusOverlay .focus-header{min-height:var(--ui-header);padding:18px var(--ui-inset);flex:none;gap:12px}
.rv-design-system.rv-incident-workspace #focusOverlay .focus-header{min-height:44px;padding:6px var(--ui-inset)}
.rv-design-system.rv-incident-workspace #focusOverlay .focus-header :is(.rv-brand-mark,.rv-agency-scope){display:none}
.rv-design-system #focusOverlay .rv-focus-brand{font-size:24px;gap:10px;padding:0}
.rv-design-system #focusOverlay .rv-focus-layout{padding-top:12px}
.rv-design-system #focusVideo .rv2-controls{padding:12px 16px;min-width:0;background:var(--ui-panel);color:var(--ui-text)}
.rv-design-system #focusVideo .rv2-position{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 8px;font-size:12px}
.rv-design-system #focusVideo .rv2-toolbar{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0}
.rv-design-system #focusVideo .rv2-toolbar label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;grid-column:auto}
.rv-design-system #focusVideo .rv2-toolbar select{flex:none;width:auto;max-width:250px;min-width:100px;height:auto;padding:8px 34px 8px 11px;line-height:1.5}
.rv-design-system #focusVideo .rv2-toolbar button{min-width:0;flex:none;padding:8px 12px;font-size:13px}
.rv-design-system .rv-dvr-camera{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.rv-design-system .rv-dvr-camera label{display:flex;align-items:center;gap:10px;margin:0;font-size:13px}
.rv-design-system .rv-shared-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid var(--ui-border)}
.rv-design-system .rv-shared-notes-heading .rv-notes-title{display:flex;align-items:center;gap:8px}.rv-design-system .rv-shared-notes-heading h2{font-size:14px;margin:0}
.rv-design-system .rv-panel-collapsed .rv-shared-notes-heading{display:contents}.rv-design-system .rv-panel-collapsed .rv-shared-notes-heading .rv-notes-title{display:none}
.rv-design-system #focusVideo .rv2-labels{font-size:11px;font-variant-numeric:tabular-nums}.rv-design-system .rv-timeline-heading:not(:where(.rv-hub-shell,.rv-hub-shell *)){display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;margin:8px 0 4px}
.rv-design-system .rv2-mode{font-size:11px;letter-spacing:.3px}.rv-design-system #rvAudioState:not(:where(.rv-hub-shell,.rv-hub-shell *)){font-size:11px}
.rv-design-system .rv-dvr-camera>.rv2-mode{margin-left:auto}.rv-design-system .rv-current-position:not(:where(.rv-hub-shell,.rv-hub-shell *)){display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:4px 8px;font-size:12px}.rv-design-system #rvReviewLabel:not(:where(.rv-hub-shell,.rv-hub-shell *)){font-size:12px;line-height:1.5}
.rv-design-system .rv2-secondary-audio{display:flex;align-items:center;gap:8px;margin-left:8px;padding-left:12px;border-left:1px solid var(--ui-border)}
.rv-design-system .topbar.rv-header .centre-title{padding:0;border:0;gap:8px;font-size:12px}.rv-design-system .centre-layout{grid-template-columns:216px minmax(0,1fr);min-height:calc(100dvh - var(--ui-header))}
.rv-design-system .centre-layout>aside{padding:22px 12px}.rv-design-system .centre-layout>main{padding:22px 28px 44px}
.rv-design-system .centre-layout .scopebar{gap:16px;margin-bottom:20px;padding-bottom:16px}.rv-design-system .centre-layout .scope-heading{flex:1 1 auto}.rv-design-system .centre-layout .scope-heading strong{font-size:15px}
.rv-design-system .centre-layout .scopebar select{width:200px}.rv-design-system .centre-layout .section-head{margin-bottom:16px}.rv-design-system .centre-layout .section-head>.eyebrow{display:none}
.rv-design-system .centre-layout h1{font-size:26px;line-height:1.3;margin:0 0 8px}.rv-design-system .centre-layout .cards{gap:16px;margin:16px 0}
.rv-design-system .centre-layout .card{padding:20px;border-radius:10px}.rv-design-system .centre-layout .card h2{font-size:18px;margin:0 0 8px}
.rv-design-system .centre-layout .card-actions button{flex:0 1 auto;justify-content:center}.rv-design-system .centre-layout .card-actions{margin-top:12px;padding-top:12px;gap:8px}
.rv-design-system :where(.eyebrow,th,.rv-incident-eyebrow,.rv-console-kicker):not(:where(.rv-hub-shell,.rv-hub-shell *)){text-transform:none;letter-spacing:.5px}
.rv-design-system .rv-font-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.rv-font-sample,.preview-surface{--ui-font:var(--agency-font),'Open Sans',Arial,sans-serif}.rv-font-sample{--agency-font:'Open Sans';font-family:var(--ui-font);padding:18px;border:1px solid var(--ui-border);border-radius:9px;background:var(--ui-panel);min-width:0}.rv-font-sample h3{font-size:20px;margin:8px 0}.rv-font-sample p{font-size:15px;line-height:1.6}.rv-font-sample label{margin:12px 0}.rv-font-sample time{display:block;font-size:13px;font-variant-numeric:tabular-nums;margin:12px 0}.rv-font-sample>small{font-family:'Open Sans',sans-serif}.rv-font-sample button{font-family:var(--ui-font)}
.rv-design-system .font-readable :where(.rv-notes-list,.rv-overview-list,table,textarea,time,.rv2-labels){font-family:'Open Sans',Arial,sans-serif}
.rv-design-system [hidden]:not(:where(.rv-hub-shell,.rv-hub-shell *)){display:none!important}
@media(max-width:1100px){.rv-design-system .rv-header{flex-wrap:wrap;gap:10px 16px}.rv-design-system .rv-header :where(.header-actions,.rv-hub-header-actions,.rv-header-nav){flex:1 1 auto}.rv-design-system .centre-layout .scope-heading{flex-basis:auto}}
@media(max-width:800px),(pointer:coarse){:root{--ui-control:44px;--ui-inset:16px}.rv-design-system .rv-header :where(button,.button,.control-button,summary){min-height:44px}.rv-design-system :where(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):not(:where(.rv-hub-shell,.rv-hub-shell *)){font-size:16px}.rv-design-system .rv-panel-toggle{min-height:44px}.rv-design-system .centre-layout{display:block}.rv-design-system .centre-layout>aside{padding:12px}.rv-design-system .centre-layout>main{padding:20px 16px 36px}.rv-design-system #focusVideo .rv2-toolbar{justify-content:center}.rv-design-system #focusVideo .rv2-toolbar button{min-height:44px}.rv-design-system .rv-font-comparison{grid-template-columns:1fr}}
@media(max-width:600px){.rv-design-system .rv-header-nav{width:100%;justify-content:flex-start}.rv-design-system .rv-header-nav .rv-header-account{margin-left:auto}.rv-design-system.rv-incident-workspace #focusOverlay .focus-header{min-height:44px;padding:6px var(--ui-inset)}
.rv-design-system.rv-incident-workspace #focusOverlay .focus-header :is(.rv-brand-mark,.rv-agency-scope){display:none}
.rv-design-system #focusOverlay .rv-focus-brand{font-size:22px}.rv-design-system .rv2-secondary-audio{margin:0;padding:0;border:0}.rv-design-system .centre-layout .scope-actions{width:100%}.rv-design-system .centre-layout .scopebar select{width:100%}}
@media(max-width:700px){.rv-design-system .rv-header .rv-ui-mobile-toggle{display:inline-flex}.rv-design-system .rv-header .rv-ui-nav-tray{display:none;position:absolute;inset:calc(100% + 8px) 0 auto auto;width:270px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 110px);overflow:auto;padding:8px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-panel);box-shadow:0 15px 45px #0007;z-index:500}.rv-design-system .rv-header .rv-ui-navigation[data-open=true] .rv-ui-nav-tray{display:flex;align-items:stretch;flex-direction:column}.rv-design-system .rv-header .rv-ui-nav-tray>.rv-ui-menu{width:100%;margin:0}.rv-design-system .rv-header .rv-ui-nav-tray>.rv-ui-menu>summary{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.rv-design-system *:not(:where(.rv-hub-shell,.rv-hub-shell *)){transition:none!important;scroll-behavior:auto!important}}

/* Operations content is the approved pre-shared-design component. Its original
   fixed Open Sans weights remain available; agency-selected fonts still apply. */
@font-face{font-family:'RV Approved Operations';src:url('/rv-fullscreen-20261005/fonts/OpenSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'RV Approved Operations';src:url('/rv-fullscreen-20261005/fonts/OpenSans-Semibold.ttf') format('truetype');font-weight:600 800;font-display:swap}
.rv-hub-shell{--ui-font:var(--rv-operations-font,'RV Approved Operations'),Arial,sans-serif;--rv-font:var(--ui-font);font-family:var(--ui-font);line-height:1.5}
.rv-design-system .rv-hub-shell .rv-hub-button:disabled{opacity:.45;cursor:not-allowed}
/* The preserved Operations component accepts agency colors, never shared sizing.
   Join keeps its approved red; agency accent applies to Start Incident. */
.rv-design-system[data-rv-agency-theme=custom] .rv-hub-shell .rv-hub-card{background-color:var(--agency-panel);color:var(--agency-text)}
.rv-design-system[data-rv-agency-theme=custom] .rv-hub-shell #rvHubStartOpen{background:var(--agency-accent);border-color:var(--agency-accent);color:var(--agency-button-text)}
/* Menu rows own their icon layout; do not mix the old absolute icons with flex. */
.rv-design-system .rv-ui-menu{position:relative}
.rv-design-system .rv-ui-menu:not([open])>.rv-ui-menu-content{display:none}
.rv-design-system .rv-ui-menu-content [data-rv-description]::after{content:none;display:none}
.rv-design-system .rv-ui-menu-content .rv-design-icon{position:static;inset:auto;margin:0;width:16px;height:16px;flex:0 0 16px;align-self:center}
.rv-design-system .rv-ui-menu-content>#endIncidentButton{margin:0;border:1px solid #dc3545;border-radius:7px;background:#dc3545;color:#fff}
.rv-design-system .rv-ui-menu-content>:is(a,button)::before{content:none}
.rv-design-system .rv-header:has(.rv-ui-menu[open]){position:relative;z-index:150}
.rv-design-system .incident-panel{position:relative;isolation:isolate;z-index:60;flex:none;clear:both}
.rv-design-system .incident-panel .incident-inner{position:relative;box-sizing:border-box;width:100%;min-width:0}
.rv-design-system .rv-viewer-identity{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0;font-size:11px;line-height:1.5}
.rv-design-system .rv-viewer-identity .subtitle{display:inline;white-space:normal}
.rv-design-system .rv-viewer-identity .rv-agency-scope{display:inline}
.rv-design-system #serverStatus{display:inline-flex;align-items:center;gap:5px;margin:0;white-space:nowrap;font-size:11px;font-weight:500;line-height:1.5}
.rv-design-system #serverStatus::before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
/* The public banner owns the full-width surface; its inner nav owns alignment. */
body.rv-design-system .hero>.header-band{width:100%;background:var(--ui-panel);border-bottom:1px solid var(--ui-border)}
body.rv-design-system .header-band .topbar.rv-header{max-width:none;width:100%;min-height:108px;height:auto;padding:22px 0;background:transparent;border:0}
body.rv-design-system .header-band .brand{font-size:32px;gap:12px}
body.rv-design-system .header-band .brand-mark{width:34px;height:34px}
@media(max-width:600px){body.rv-design-system .header-band .topbar.rv-header{min-height:80px;padding:16px 0;gap:12px;flex-wrap:wrap}body.rv-design-system .header-band .brand{font-size:28px}body.rv-design-system .header-band .brand-mark{width:30px;height:30px}}

/* Header family: home pages lead, working pages leave room for content. */
.rv-design-system .rv-hub-header{min-height:108px;padding:22px var(--ui-inset)}
.rv-design-system .rv-hub-header .rv-hub-brand{font-size:30px;gap:12px}.rv-design-system .rv-hub-header .rv-brand-mark{width:32px;height:32px}
.rv-design-system .rv-header-identity>.rv-agency-scope,.rv-design-system .rv-header-identity>.rv-hub-agency,.rv-design-system .rv-header-identity>.rv-ui-brand-meta{margin-left:36px}
.rv-design-system .rv-hub-header .rv-header-identity>.rv-agency-scope,.rv-design-system .rv-hub-header .rv-header-identity>.rv-hub-agency{margin-left:44px}
.rv-design-system .incident-panel{background:linear-gradient(to bottom,var(--ui-panel),var(--ui-bg));padding:0 0 14px;border:0}
.rv-design-system .incident-panel .incident-inner{min-height:110px;padding:16px var(--ui-inset) 12px;gap:16px}
.rv-design-system .rv-ui-menu-content :is(a,button):hover:not(:disabled),.rv-design-system .rv-account-menu :is(a,button):hover:not(:disabled){background:color-mix(in srgb,var(--ui-panel) 76%,white);border-color:#73889b;color:var(--ui-text)}
.rv-design-system .rv-ui-menu-content :is(a,button):focus-visible,.rv-design-system .rv-account-menu :is(a,button):focus-visible{background:color-mix(in srgb,var(--ui-panel) 76%,white);outline:2px solid var(--ui-accent);outline-offset:-2px}
.rv-design-system .rv-header :is(.rv-ui-menu-content,.rv-account-menu) :is(a,button){min-height:44px;padding:12px 14px}
.rv-design-system :is(.rv-ui-menu-content,.rv-account-menu) :is(.danger,#endIncidentButton):hover:not(:disabled){background:#bd2130;border-color:#bd2130;color:#fff}
/* A collapsed notes rail owns a single border, on the toggle itself. */
.rv-design-system :is(#rvOverview,#rvNotes,#rvArchiveNotesPanel).rv-panel-collapsed{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}
.rv-design-system :is(#rvOverview,#rvNotes,#rvArchiveNotesPanel).rv-panel-collapsed .rv-panel-toggle{margin:0;box-sizing:border-box}
.rv-design-system #rvOverview.rv-panel-collapsed>.rv-overview-tools{background:transparent;border:0;box-shadow:none;padding:0}
.rv-design-system :is(#rvOverview,#rvNotes,#rvArchiveNotesPanel).rv-panel-collapsed::before,.rv-design-system :is(#rvOverview,#rvNotes,#rvArchiveNotesPanel).rv-panel-collapsed::after{content:none}
/* Archive surface spans the viewport; content owns the safe inner spacing. */
.rv-design-system #rvArchive .rv-archive-shell{padding:0}
.rv-design-system #rvArchive #rvArchiveDetail{max-width:none;width:100%;margin:0}
.rv-design-system #rvArchive .rv-archive-review{padding-inline:var(--ui-inset)}
.rv-design-system .rv-archive-directory-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 4px}
.rv-design-system #rvArchive .rv-archive-directory-toolbar #rvArchiveFilters{margin:0;flex:1 1 auto}
.rv-design-system .rv-archive-directory-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-left:auto}
.rv-design-system .rv-archive-directory-controls label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap;font-size:12px}
.rv-design-system .rv-archive-directory-controls select{width:auto;min-height:44px}
.rv-design-system #rvArchive .rv-archive-directory-toolbar button{min-height:44px}
.rv-design-system #rvArchiveContent>.rv-archive-secondary{margin-inline:var(--ui-inset)}
/* Archive sections own their padding; summaries no longer consume row geometry. */
.rv-design-system #rvArchive details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;min-height:46px;box-sizing:border-box;cursor:pointer}
.rv-design-system #rvArchive :is(.rv-archive-detail,.rv-archive-notes,.rv-archive-video){min-width:0}
.rv-design-system .rv-archive-secondary{margin:16px 0;padding:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-panel)}
.rv-design-system #rvArchive .rv-archive-secondary>summary{margin:0;border:0;border-radius:var(--ui-radius);background:transparent;color:var(--ui-text);padding:14px 16px;min-height:48px}
.rv-design-system #rvArchive .rv-archive-secondary[open]>summary{border-bottom:1px solid var(--ui-border);border-radius:var(--ui-radius) var(--ui-radius) 0 0;margin-bottom:16px}
.rv-design-system .rv-archive-secondary>:not(summary){margin-left:16px;margin-right:16px}
.rv-design-system .rv-archive-secondary>:last-child{margin-bottom:16px}
.rv-design-system .rv-archive-recordings-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:0}
.rv-design-system .rv-archive-camera-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.rv-design-system .rv-archive-camera{padding:16px;min-width:0;box-sizing:border-box}
.rv-design-system .rv-archive-camera p{margin-top:10px;line-height:1.6;overflow-wrap:anywhere}
.rv-design-system .rv-continuous-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:12px 0}
.rv-design-system .rv-continuous-controls>button,.rv-design-system .rv-continuous-controls>select{flex:0 1 auto;width:auto;min-height:44px}
.rv-design-system .rv-continuous-recording-list>.rv-continuous-recording-option{display:block;width:100%;text-align:left;min-height:66px;padding:12px}
.rv-design-system .rv-camera-menu :is(.rv-camera-option,.rv-camera-filter){min-height:44px;box-sizing:border-box}

/* The phone watch adapter owns one in-page player. Shared desktop headers and
   collapsed side rails must not turn its contextual title/notes into banners. */
.rv-design-system.rv-iphone>header .topbar{flex-wrap:nowrap;gap:12px;padding:16px 12px;min-height:88px}
.rv-design-system.rv-iphone>header .topbar>div:first-child{flex:1 1 0;min-width:0}
.rv-design-system.rv-iphone>header .header-actions{flex:0 0 auto;width:auto}
.rv-design-system.rv-iphone .rv-header-identity>.rv-ui-brand-meta{margin-left:36px;font-size:10px;gap:2px 8px}
.rv-design-system.rv-iphone #serverStatus{font-size:10px}
.rv-design-system.rv-iphone>main{padding:0}
.rv-design-system.rv-iphone>.incident-panel{padding:0;background:var(--ui-bg)}
.rv-design-system.rv-iphone .incident-panel .incident-inner{min-height:0;padding:0;gap:0}
.rv-design-system.rv-iphone #focusOverlay .focus-header{min-height:32px;padding:8px 12px 4px;background:transparent;border:0}
.rv-design-system.rv-iphone #focusOverlay .rv-focus-brand{font-size:13px;display:flex;align-items:center;gap:10px;width:100%}
.rv-design-system.rv-iphone #focusOverlay :is(.rv-wordmark,.rv-agency-scope){display:none}
.rv-design-system.rv-iphone #focusTitle{padding:0;margin:0;border:0;flex:1 1 auto;min-width:0}
.rv-design-system.rv-iphone #focusOverlay .focus-live{flex:none;margin:0}
.rv-design-system.rv-iphone #rvPhoneCameras{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:stretch;background:var(--ui-bg);gap:8px;padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));min-height:68px;overflow:hidden;box-sizing:border-box}
.rv-design-system.rv-iphone #rvPhoneCameras button{min-width:0;max-width:none;width:100%;min-height:44px;padding:8px 4px;line-height:16px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.rv-design-system.rv-iphone .incident-data{min-height:42px;padding:10px 16px;gap:8px}
.rv-design-system.rv-iphone #rvPhoneIncidentActions{padding:6px 12px}
.rv-design-system.rv-iphone #rvPhoneActions{padding:12px;gap:8px;flex-wrap:wrap}
.rv-design-system.rv-iphone #rvPhoneCameras button{font-family:var(--ui-font);font-size:11.5px;font-weight:600}
.rv-design-system.rv-iphone #rvPhoneCameras button:before{margin-right:4px}
.rv-design-system.rv-iphone #rvPhoneWatch{font-size:13px}
.rv-design-system.rv-iphone .rv-notes-head h2,.rv-design-system.rv-iphone .rv-overview-head h2{font-size:14px}
.rv-design-system.rv-iphone #rvPhoneCameras button[aria-selected=true]{color:var(--ui-text);background:var(--ui-panel);border-color:var(--ui-border);box-shadow:inset 0 -2px var(--ui-accent)}
.rv-design-system.rv-iphone #rvPhoneActions button{font-size:12px;gap:6px;padding:0 8px}
.rv-design-system.rv-iphone #rvPhoneActions button:after{width:16px;height:16px;background:var(--ui-arrow) center/16px no-repeat;border:0;transform:none;margin:0}
.rv-design-system.rv-iphone #rvPhoneActions button[aria-expanded=true]:after{transform:rotate(180deg)}
.rv-design-system.rv-iphone .rv-timeline-heading{display:grid;gap:4px}
.rv-design-system.rv-iphone .rv-current-position{justify-content:flex-start}
