/* GOQ mobile workspace. Inspired by documented mobile video workflows, not vendor assets. */
.mobile-camera-header,.mobile-player-actions,.mobile-camera-strip{display:none}
@media(max-width:800px){
 :root{--accent:#9a6200;--accent-soft:#fff3d4;--accent-ink:#211c12;--bg:#f4f4f4;--surface:#fff;--surface-2:#f8f8f8;--ink:#252525;--muted:#737373;--line:#e7e7e7}
 html[data-theme=dark]{--accent:#ffb61b;--accent-soft:#3c3015;--accent-ink:#17130b;--bg:#101010;--surface:#1b1b1b;--surface-2:#242424;--ink:#f4f4f4;--muted:#a4a4a4;--line:#333}
 .app-topbar{height:calc(58px + env(safe-area-inset-top));background:var(--surface);border-bottom:1px solid var(--line);padding:0 18px}.mobile-brand{gap:9px;font-size:20px;color:var(--ink)}.brand-symbol{background:var(--accent);color:var(--accent-ink);border-radius:10px}.avatar{background:var(--accent-soft);color:var(--ink)}.signed-in main{padding:21px 16px 26px;margin-top:0}.heading{margin:0 0 20px;gap:12px;align-items:center}.heading h1{font-size:25px;font-weight:700;letter-spacing:-.6px}.heading .eyebrow{display:none}.heading p{font-size:12px;margin:5px 0 0}.page-home .heading>div>p{display:none}.page-home .heading>.button{width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;justify-content:center}.page-home .heading>.button span{display:none}.page-home .dashboard-stats{display:none}
 .bottom-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:1fr;align-items:stretch;height:calc(69px + env(safe-area-inset-bottom));padding:8px 6px env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -6px 24px #00000008;gap:0}.bottom-navigation a{white-space:nowrap;overflow:hidden;flex:1;min-width:0;min-height:52px;border-radius:12px;font-size:10px;gap:4px;padding:5px 2px;color:var(--muted)}.bottom-navigation a.active{background:transparent;color:var(--accent)}.bottom-navigation a .icon{width:23px;height:23px}.bottom-navigation a.active .icon{stroke-width:2.2}.signed-in{padding-bottom:calc(75px + env(safe-area-inset-bottom))}.signed-in>footer{font-size:10px;margin-bottom:10px}
 .camera-toolbar{margin:0 0 14px;gap:8px;flex-wrap:wrap}.camera-toolbar .segmented{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:3px}.camera-toolbar .segmented button{border-radius:16px;min-height:38px;padding:8px 11px;font-size:11px}.camera-toolbar .segmented button.active{background:#ffb000;color:#211a0d}.camera-toolbar .segmented .icon{width:15px;height:15px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.filters input{flex-basis:100%;min-height:44px;border-radius:22px;background:var(--surface);border:1px solid var(--line);padding:11px 16px;font-size:13px}.filters select{flex:1;min-width:110px;min-height:42px;border-radius:18px;font-size:12px;background:var(--surface)}.camera-count{display:none}
 .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.camera{position:relative;border:0;border-radius:12px;box-shadow:none;overflow:hidden;background:var(--surface)}.camera:hover{transform:none}.camera-preview{aspect-ratio:16/9;background:#292929;min-width:0}.camera-preview .preview-link{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;min-width:0}.camera-preview .preview-image{position:absolute;inset:0;display:block;height:100%;width:100%;max-width:none;object-fit:cover}.camera-info{position:relative;padding:10px 10px 11px}.camera-info h2{font-size:13px;line-height:1.35;margin:0 0 4px;overflow-wrap:anywhere}.camera-info .muted{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.camera-info>.hint{display:none}.camera-info .meta{border:0;margin:5px 0 0;padding:0;font-size:9px;gap:5px}.camera-info .meta>a{font-size:10px}.camera-preview .badge{top:8px;left:7px;padding:4px 6px;font-size:8px;max-width:calc(100% - 42px)}.camera-preview .favorite-button{right:5px;top:5px;width:36px;height:36px;min-height:36px;background:#0005;color:#fff;border:0;border-radius:50%;padding:9px}.camera-preview .favorite-button.is-favorite{color:#ffc331}.camera-preview .play{width:36px;height:36px;font-size:12px}.camera-preview .lens{opacity:.25}.camera-preview .preview-stamp{font-size:8px;left:7px;right:7px;bottom:5px}.camera-section-heading{margin:7px 0 12px;gap:8px}.camera-section-heading h2{font-size:17px}.camera-section-heading p{font-size:11px}.section-camera-count{font-size:10px}.camera-sections{gap:22px}
 .view-list{display:flex;flex-direction:column;gap:12px}.view-list .camera{display:grid;grid-template-columns:116px minmax(0,1fr);min-height:90px}.view-list .camera-preview{height:100%;min-height:90px;aspect-ratio:auto}.view-list .camera-info{padding:12px}.view-list .camera-info h2{font-size:14px}.view-list .favorite-button{width:34px;height:34px;min-height:34px;top:5px;bottom:auto}.view-list .camera-info .meta{font-size:10px}.view-list .camera-preview .badge{font-size:7px}.view-list .preview-stamp{display:none}
 .groups-grid{display:flex;flex-direction:column;gap:12px}.group-card{min-height:128px;border-radius:14px;padding:18px;position:relative;gap:10px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center}.group-card-top{display:block;position:static}.group-card .group-symbol{width:42px;height:42px;background:var(--accent-soft);color:var(--accent)}.group-card .small-status{position:absolute;bottom:17px;right:18px;font-size:10px}.group-card h2{font-size:16px;margin:0 0 5px}.group-card p{font-size:11px;margin:0}.group-card-bottom{grid-column:2;border:0;padding:0;font-size:11px;justify-content:flex-start;gap:8px}.group-card-bottom>.icon{position:absolute;right:18px;top:30px;width:15px}
 .profile-layout{display:flex;flex-direction:column;gap:16px}.profile-layout>.panel{padding:20px;border-radius:14px}.profile-identity{gap:14px}.profile-identity .avatar{width:48px;height:48px;font-size:23px}.profile-identity h2{font-size:21px}.profile-row{font-size:12px;padding:14px 0;gap:10px}.profile-link{font-size:13px;min-height:54px;gap:12px}.profile-link>.icon:first-child{color:var(--accent)}.profile-layout .theme-options span{font-size:10px;padding:14px 7px}.profile-layout .logout-form button{width:100%;min-height:44px}.settings-form,.archive-camera{border-radius:14px}.settings-actions>*{min-height:44px}.theme-options{gap:8px}
 /* Portrait watch screen: an app bar, contained video, archive actions and a bounded camera strip. */
 .page-view_camera{background:#000!important;color:#eee;padding-bottom:env(safe-area-inset-bottom)}.page-view_camera .app-topbar,.page-view_camera>.sidebar,.page-view_camera>.bottom-navigation,.page-view_camera>footer{display:none}.page-view_camera main{margin:0;padding:0;max-width:none}.page-view_camera main>.back,.page-view_camera main>.heading,.page-view_camera .mobile-player-open{display:none}.mobile-camera-header{display:flex;align-items:center;justify-content:space-between;height:62px;padding:8px 15px;gap:12px;background:#050505;color:#fff}.mobile-camera-header>div{min-width:0;flex:1}.mobile-camera-header strong{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-camera-header small{display:block;color:#8f8f8f;font-size:10px;margin-top:3px}.mobile-camera-header>a{color:#fff;font-size:30px;display:flex;align-items:center;justify-content:center;min-width:35px;min-height:44px;text-decoration:none}.page-view_camera #player-shell:not(:fullscreen){height:max(310px,calc(100dvh - 220px - env(safe-area-inset-bottom)));min-height:310px;border-radius:0;aspect-ratio:auto;background:#000}.page-view_camera #player-shell video{background:#000}.page-view_camera #player-shell .player-hud{background:linear-gradient(transparent,#111 30%);padding:20px 9px 10px}.page-view_camera #player-shell button{min-height:38px;border-radius:9px;background:#ffffff0d;border-color:#ffffff20;font-size:11px;padding:6px 7px}.page-view_camera #player-shell .video-zoom-controls{padding-bottom:7px}.page-view_camera #player-shell .video-zoom-controls>span{font-size:10px;color:#aaa}.page-view_camera #player-shell .timeline-caption{font-size:9px}.page-view_camera #player-shell #archive-timeline{height:58px}.page-view_camera #player-shell .timeline-caption i{background:#efb23a}.page-view_camera #player-shell .live-button.is-live{color:#ffc02b;border-color:#ffc02b60;background:#ffb00015}.page-view_camera #player-shell .speed-label select{height:38px;background:#222;border-color:#444}.page-view_camera #player-shell .player-settings{background:#1c1c1cf5;border-color:#454545;color:#eee}.page-view_camera #player-shell input,.page-view_camera #player-shell select{background:#282828;border-color:#4c4c4c;color:#fff}.page-view_camera #player-shell:not(:fullscreen):has(.player-settings[open]){height:max(440px,calc(100dvh - 220px - env(safe-area-inset-bottom)));min-height:440px}.mobile-player-actions{display:flex;gap:9px;padding:10px 16px 9px;background:#000}.mobile-player-actions button{flex:1;border-radius:23px;background:#ffb000;color:#16120a;border:0;min-height:43px;font-size:13px;font-weight:600}.mobile-player-actions button.is-selected{box-shadow:inset 0 0 0 2px #fff7}.mobile-camera-strip{display:flex;overflow-x:auto;gap:7px;padding:0 12px 12px;background:#000;scrollbar-width:none;overscroll-behavior-x:contain}.mobile-camera-strip::-webkit-scrollbar{display:none}.mobile-camera-strip>a{width:87px;min-width:87px;color:#bcbcbc;text-decoration:none;font-size:10px;padding:2px;border-radius:7px;border:1px solid transparent}.mobile-camera-strip>a.selected{border-color:#ffb000;color:#ffbf39}.mobile-camera-strip>a>span{position:relative;display:block;height:49px;overflow:hidden;background:#242424;border-radius:5px}.mobile-camera-strip img{width:100%;height:100%;object-fit:cover;display:block}.mobile-camera-strip i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-style:normal;z-index:-1}.mobile-camera-strip img[hidden]+i{z-index:0}.mobile-camera-strip small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;padding:4px 1px 0}.page-view_camera #player-shell:fullscreen{height:100%;min-height:0;aspect-ratio:auto;border-radius:0}.page-view_camera #player-shell:fullscreen:has(.player-settings[open]){height:100%;min-height:0}
}
@media(max-width:360px){.grid{gap:10px 8px}.camera-info{padding:9px 8px}.camera-info h2{font-size:12px}.camera-info .meta{flex-direction:column;align-items:flex-start}.bottom-navigation a{font-size:9px}.camera-toolbar .segmented button{font-size:10px;padding:7px 8px}}
@media(max-width:800px) and (orientation:landscape){.page-view_camera #player-shell:not(:fullscreen){height:max(300px,calc(100dvh - 62px));min-height:300px}.mobile-camera-strip{padding-bottom:8px}.page-view_camera #player-shell:not(:fullscreen):has(.player-settings[open]){height:440px}}

.bottom-navigation.camera-navigation{grid-template-columns:repeat(4,minmax(0,1fr))}
