:root{color-scheme:dark;--bg:#0c1b16;--surface:#12261e;--surface-raised:#182e24;--surface-hover:#20392b;--text:#e9f0e8;--muted:#9eb1a2;--muted-dark:#718b79;--line:#2b4435;--lime:#b4eb8c;--lime-ink:#183019;--amber:#e4b66e;--danger:#efac9b;--radius:19px;--font:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lime);outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button svg,span[data-icon] svg{width:19px;height:19px;display:block;flex-shrink:0}svg.icon{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.muted{color:var(--muted)}.eyebrow{display:block;font-size:10px;font-weight:650;letter-spacing:2px;color:var(--muted)}.button{min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;border:1px solid var(--line);font-weight:650;font-size:14px;padding:12px 20px;transition:background .18s,transform .18s}.button-primary{background:var(--lime);color:var(--lime-ink);border-color:var(--lime)}.button-primary:hover{background:#c6f5a5;transform:translateY(-1px)}.button-secondary{background:var(--surface);color:var(--text)}.button-secondary:hover{background:var(--surface-hover)}.button-wide{width:100%}.icon-button{width:43px;height:43px;min-width:43px;background:transparent;border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.icon-button:hover{color:var(--text);background:var(--surface-hover)}.text-button{background:none;border:0;color:var(--muted);padding:4px 0;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;font-size:12px}.text-button:hover{color:var(--lime)}.text-button svg{width:14px;height:14px}.tiny-dot{width:6px;height:6px;background:var(--lime);border-radius:50%;display:inline-block;flex-shrink:0}.brand{display:flex;align-items:center;gap:13px;font-family:'Manrope',var(--font);font-size:26px;font-weight:800;letter-spacing:-1.1px;line-height:1}.brand-light{font-weight:450}.brand small{display:block;margin-top:7px;letter-spacing:2.4px;font-size:7px;font-weight:500;color:var(--muted)}.brand-mark{width:45px;height:36px;display:inline-block;flex-shrink:0;background:var(--lime);clip-path:polygon(0 83%,32% 15%,48% 44%,66% 0,100% 83%,87% 83%,65% 25%,49% 67%,34% 40%,13% 83%)}.loading-screen{position:fixed;inset:0;z-index:50;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;color:var(--muted);font-size:13px}.loading-screen .brand-mark{animation:breathe 1.6s ease-in-out infinite}@keyframes breathe{50%{opacity:.35}}
/* Sign in */
.auth-screen{min-height:100svh;display:grid;grid-template-columns:1.2fr 1fr}.auth-landscape{position:relative;overflow:hidden;min-height:100svh;background:#10251e}.auth-landscape>svg{position:absolute;width:100%;height:100%;inset:0}.auth-landscape:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 20%,#07110cd9)}.auth-story{position:absolute;z-index:1;left:10%;right:10%;bottom:10%}.auth-story .eyebrow{color:var(--lime);font-size:10px}.auth-story h1{font:500 clamp(38px,4.3vw,68px)/1.08 'Manrope',var(--font);letter-spacing:-3px;margin:21px 0}.auth-story p{font-size:14px;line-height:1.8;color:#b8c9b9;max-width:345px}.auth-features{display:flex;gap:28px;margin-top:42px;flex-wrap:wrap;color:#a7bba9;font-size:10px;letter-spacing:.7px}.auth-side{display:flex;flex-direction:column;padding:48px 11%;min-width:0;justify-content:space-between}.auth-side .brand{font-size:28px}.auth-form-wrap{width:100%;max-width:370px;margin:65px auto}.auth-form-wrap h2{font:500 28px/1.3 'Manrope',var(--font);letter-spacing:-1px;margin:16px 0 10px}.auth-form-wrap>p{font-size:13px;line-height:1.7}#auth-form{display:grid;gap:21px;margin-top:32px}label{display:flex;flex-direction:column;gap:9px;color:var(--muted);font-size:12px;font-weight:500}input,textarea,select{min-width:0;max-width:100%;border:1px solid var(--line);background:#102219;color:var(--text);border-radius:10px;padding:13px 15px;font-size:16px}input::placeholder,textarea::placeholder{color:#6e8975}input{min-height:49px}input:focus,textarea:focus,select:focus{border-color:#72945d}.password-input{display:flex;position:relative}.password-input input{width:100%;padding-right:50px}.password-input button{position:absolute;right:3px;top:3px}.error-message{font-size:12px!important;line-height:1.6;color:var(--danger);padding:10px 13px;background:#462b233d;border-radius:9px}.auth-help{margin-top:22px;color:var(--muted-dark);font-size:11px!important;line-height:1.8!important}.auth-bottom{display:flex;gap:8px;align-items:center;color:var(--muted-dark);font-size:10px}.auth-bottom .tiny-dot{background:var(--muted-dark);width:5px;height:5px}
/* Shared shell */
.app-shell{max-width:1680px;margin:auto;padding:0 36px env(safe-area-inset-bottom)}.app-header{height:95px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.app-header .brand{font-size:25px}.app-header .brand-mark{width:40px;height:34px}.mode-switch{display:flex;padding:5px;border:1px solid var(--line);border-radius:30px;background:#102219;gap:4px}.mode-switch button{min-width:130px;min-height:41px;border:0;border-radius:24px;padding:10px 19px;display:flex;align-items:center;justify-content:center;gap:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:550;transition:background .18s,color .18s}.mode-switch button[aria-pressed=true]{background:var(--lime);color:var(--lime-ink)}.mode-switch button:not([aria-pressed=true]):hover{background:var(--surface-hover);color:var(--text)}.mode-switch svg{width:17px;height:17px}.header-right{display:flex;align-items:center;gap:22px}.connection-badge{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap}.connection-badge .tiny-dot{background:var(--muted-dark)}.connection-badge.online .tiny-dot{background:var(--lime)}.connection-badge.offline .tiny-dot{background:var(--amber)}.user-button{display:flex;align-items:center;gap:9px;border:0;padding:0;background:transparent;font-size:12px;min-height:44px}.user-button>span:first-child{width:32px;height:32px;display:grid;place-items:center;border:1px solid #526943;border-radius:50%;background:#293d27;color:var(--lime);font-size:13px;font-weight:550}.user-button svg{width:13px;height:13px;color:var(--muted)}.app-intro{display:flex;justify-content:space-between;align-items:flex-end;padding:31px 0 26px;gap:18px}.app-intro h1{font:500 27px/1.3 'Manrope',var(--font);letter-spacing:-1px;margin-top:9px}.intro-date{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted);text-align:right}.intro-date>span:last-child{font-size:10px;color:var(--muted-dark)}.global-notice{font-size:12px;color:var(--amber);background:#332b1b;border:1px solid #635030;border-radius:10px;padding:12px 15px;margin-bottom:18px;line-height:1.6}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:26px}.map-section,.sidebar{min-width:0}.map-panel{position:relative;height:490px;min-height:300px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#14291f}.map-panel:after{pointer-events:none;content:'';position:absolute;inset:0;box-shadow:inset 0 50px 80px -60px #06130e,inset 0 -60px 80px -50px #06130e}.maplibregl-canvas{outline:none}.map-top{position:absolute;left:16px;right:16px;top:16px;display:flex;justify-content:space-between;gap:12px;pointer-events:none;z-index:2}.map-title{padding:10px 13px;border-radius:9px;background:#102219eb;backdrop-filter:blur(15px);display:flex;align-items:center;gap:9px;font-size:11px;border:1px solid #48604480}.map-title svg{color:var(--lime);width:15px;height:15px}.map-tools{display:flex;gap:7px;pointer-events:auto}.map-tool{width:37px;height:37px;display:grid;place-items:center;background:#102219ec;backdrop-filter:blur(15px);border:1px solid #48604480;border-radius:9px;color:var(--text)}.map-tool:hover{background:var(--surface-hover)}.map-tool svg{width:17px;height:17px}.map-empty{position:absolute;left:20px;bottom:55px;right:20px;max-width:365px;padding:17px 18px;background:#102219f0;border:1px solid #48604480;backdrop-filter:blur(15px);border-radius:12px;display:flex;gap:14px;z-index:3}.map-empty>span{display:grid;place-items:center;width:39px;height:39px;min-width:39px;background:#263e2a;border-radius:11px;color:var(--lime)}.map-empty strong{font-size:13px;font-weight:550}.map-empty p{font-size:11px;line-height:1.65;color:var(--muted);margin:6px 0}.map-empty button{border:0;background:none;padding:3px 0;min-height:28px;color:var(--lime);font-size:11px;font-weight:550}.map-empty button span{margin-left:14px}.map-legend{position:absolute;left:17px;bottom:16px;display:flex;gap:14px;z-index:3;padding:8px 11px;border-radius:8px;backdrop-filter:blur(10px);background:#102219de;font-size:9px;color:#d8e6d7;pointer-events:none;flex-wrap:wrap}.map-legend span{display:flex;align-items:center;gap:6px}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%}.legend-dot.caleb{background:var(--lime)}.legend-dot.tyson{background:var(--amber)}.legend-dot.fix{background:#b2cbc0}.map-caption{display:flex;justify-content:space-between;gap:14px;margin:12px 2px 0;font-size:10px;line-height:1.6;color:var(--muted-dark)}.map-caption>span:last-child{white-space:nowrap}.map-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:60px;background:radial-gradient(ellipse at center,#223a2a,#13271d);z-index:1}.map-fallback>span{color:var(--lime);margin-bottom:16px}.map-fallback svg{width:35px!important;height:35px!important}.map-fallback h3{font-weight:500;font-size:17px}.map-fallback p{max-width:280px;margin-top:9px;color:var(--muted);font-size:12px;line-height:1.7}.maplibregl-ctrl-attrib{font-size:9px!important;background:#102219e6!important;color:#c2d2bd!important}.maplibregl-ctrl-attrib a{color:#c2d2bd!important}.maplibregl-ctrl-attrib-button{filter:invert(.8)}.maplibregl-ctrl-bottom-right{bottom:2px;right:0}.maplibregl-popup-content{background:#152c20!important;color:var(--text);border:1px solid var(--line);box-shadow:0 8px 30px #0005!important;border-radius:11px!important;padding:14px 18px!important;font-family:var(--font);font-size:12px;line-height:1.7;max-width:240px}.maplibregl-popup-tip{border-top-color:#152c20!important;border-bottom-color:#152c20!important}.maplibregl-popup-close-button{color:var(--muted);width:23px;height:23px;padding:0}.node-marker{border:0;border-radius:50%;padding:0;background:none;overflow:visible;cursor:pointer}.node-pin{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;border:2px solid #e9f8dc;background:#1e3e2a;color:var(--lime);box-shadow:0 0 0 6px #10221970,0 4px 16px #0008}.node-pin.tyson{color:var(--amber);border-color:#e8c68f;background:#463b24}.node-pin svg{width:17px;height:17px}.node-name{position:absolute;bottom:43px;left:50%;transform:translateX(-50%);background:#102219ed;border:1px solid #789366;border-radius:6px;white-space:nowrap;padding:5px 8px;font:500 11px var(--font);color:var(--text)}.node-name.tyson{border-color:#846b40}.node-stale .node-pin{filter:saturate(.3)}.fix-pin{width:9px;height:9px;border-radius:50%;background:#c6e5cf;border:2px solid #254032;box-shadow:0 1px 5px #0009}.fix-pin.active{width:15px;height:15px;background:var(--lime);box-shadow:0 0 0 5px #b4eb8c25}.action-bar{display:flex;gap:12px;margin-top:21px}.action-bar>.button{flex:1;min-width:0}.action-bar>.button>span:last-child{margin-left:auto}.action-bar .button{justify-content:flex-start;padding:16px 22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:550}.section-heading>span:first-child{display:flex;align-items:center;gap:9px}.section-heading svg{width:16px;height:16px;color:var(--muted)}.activity-section{margin-top:26px;padding:20px 0;border-top:1px solid var(--line)}.activity-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.activity-item{border-left:1px solid var(--line);padding:0 13px;font-size:11px;line-height:1.6;min-width:0}.activity-item:first-child{padding-left:0;border-left:0}.activity-item .activity-time{font-size:10px;color:var(--muted-dark);display:block;margin-bottom:4px}.activity-item strong{font-weight:500;display:block;overflow-wrap:anywhere}.activity-item>span:last-child{color:var(--muted);font-size:10px}.empty-activity{font-size:12px;color:var(--muted-dark);padding:8px 0;grid-column:1/-1}.mini-label{font-size:9px;letter-spacing:1.2px;color:var(--muted-dark);font-weight:500;white-space:nowrap}.sidebar{display:flex;flex-direction:column;gap:18px}.crew-section>.section-heading{padding:3px 1px 15px}.crew-section .section-heading>span:first-child{font-size:12px;letter-spacing:1.1px}.crew-cards{display:flex;flex-direction:column;gap:9px}.crew-card{padding:13px 15px;display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:linear-gradient(120deg,#1c3525,#14281e);border-radius:13px}.avatar{width:37px;height:37px;border-radius:50%;background:#304b2d;color:var(--lime);display:grid;place-items:center;font-weight:550;font-size:14px;flex-shrink:0}.avatar.tyson{background:#433b28;color:var(--amber)}.crew-info{flex:1;min-width:0}.crew-info strong{display:block;font-size:13px;font-weight:550;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.crew-info>span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.crew-info .self-badge{font-size:9px;color:var(--muted-dark);margin-left:4px;font-weight:400}.crew-card .crew-reading{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.crew-reading svg{width:15px;height:15px}.status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:var(--muted-dark);flex-shrink:0}.status-dot.fresh{background:var(--lime);box-shadow:0 0 8px #b4eb8c30}.status-dot.waiting{background:var(--amber)}.link-status{border:1px solid #675435;border-radius:14px;padding:0 15px;background:#28291944}.link-status-row{display:flex;gap:12px;align-items:center;padding:15px 0}.link-status-row+.link-status-row{border-top:1px solid var(--line)}.link-status-row .status-icon{color:var(--amber);flex-shrink:0}.link-status-row:nth-child(2) .status-icon{color:var(--lime)}.link-status-row .status-icon svg{width:23px;height:23px}.link-status-row>div{flex:1;min-width:0}.link-status-row strong{display:block;font-weight:550;font-size:12px}.link-status-row div>span{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:4px}.link-footnote{padding:0 0 12px;font-size:10px;line-height:1.7;color:var(--muted-dark)}
/* Messages */
.chat-panel{border:1px solid var(--line);border-radius:15px;background:#11251c;overflow:hidden;display:flex;flex-direction:column;min-height:324px;flex:1}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:16px 16px;border-bottom:1px solid var(--line)}.chat-header>span:first-child{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:550}.chat-header svg{color:var(--muted);width:16px;height:16px}.messages-list{height:238px;max-height:380px;overflow:auto;padding:17px 14px;scrollbar-width:thin;scrollbar-color:#3b563f transparent;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}.empty-chat{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:195px;color:var(--muted-dark);padding:18px}.empty-chat>span{margin-bottom:13px}.empty-chat svg{width:24px!important;height:24px!important}.empty-chat strong{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:7px}.empty-chat p{font-size:10px;line-height:1.8;max-width:205px}.message-row{display:flex;gap:9px;align-items:flex-start}.message-row.mine{flex-direction:row-reverse}.message-avatar{width:26px;height:26px;border-radius:50%;background:#3b5130;color:var(--lime);display:grid;place-items:center;flex-shrink:0;font-size:10px;font-weight:650}.message-row:not(.mine) .message-avatar{background:#4c422c;color:var(--amber)}.message-content{max-width:calc(100% - 38px);min-width:0}.message-meta{font-size:9px;color:var(--muted-dark);display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:5px}.message-meta strong{color:var(--muted);font-size:10px;font-weight:550}.message-row.mine .message-meta{flex-direction:row-reverse}.message-bubble{font-size:12px;line-height:1.65;padding:9px 12px;background:#1c3526;border:1px solid #3b5336;border-radius:0 10px 10px 10px;white-space:pre-wrap;overflow-wrap:anywhere}.message-row.mine .message-bubble{background:#2b4129;border-color:#516943;border-radius:10px 0 10px 10px}.message-status{display:block;font-size:9px;color:var(--muted-dark);margin-top:5px;text-align:right;line-height:1.5}.message-status.radio{color:var(--amber)}#message-form{padding:12px 14px;border-top:1px solid var(--line);margin-top:auto}.transport-row{display:flex;align-items:center;gap:7px;margin-bottom:9px;color:var(--muted-dark);font-size:9px}.transport-row label{font-size:9px;white-space:nowrap}.transport-row select{border:0;background:transparent;padding:2px 18px 2px 0;font-size:10px;color:var(--muted);min-height:26px;max-width:150px}.transport-row>span{margin-left:auto;white-space:nowrap}.message-compose{display:flex;align-items:flex-end;gap:7px;background:#0e2017;border:1px solid var(--line);border-radius:10px;padding:4px}.message-compose textarea{width:100%;min-height:35px;max-height:100px;resize:none;border:0;padding:8px 9px;background:transparent;border-radius:7px;font-size:13px;line-height:1.5;outline:none}.message-compose button{width:32px;height:33px;min-width:32px;background:var(--lime);border:0;border-radius:7px;color:var(--lime-ink);display:grid;place-items:center}.message-compose button svg{width:16px;height:16px}#message-hint{font-size:9px;line-height:1.6;color:var(--muted-dark);margin:8px 2px 0}.app-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--line);padding:22px 0 24px;margin-top:25px;color:var(--muted-dark);font-size:10px}.footer-brand{display:flex;align-items:center;gap:8px}.footer-brand svg{width:16px!important;height:16px!important}.mobile-nav{display:none}
/* GPS replay */
.replay-panel{margin-top:19px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:17px 18px}.replay-panel .section-heading{font-size:12px}.replay-panel .section-heading>.muted{font-size:10px;font-weight:400}.replay-controls{display:flex;align-items:center;gap:10px;margin:12px -7px 8px}.replay-controls .icon-button{height:34px;width:34px;min-width:34px;color:var(--lime)}.replay-controls input{padding:0;width:100%;min-height:20px;background:none;border:0;accent-color:var(--lime)}#replay-time{min-width:52px;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}.replay-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted-dark);font-size:9px}.replay-bottom .text-button{font-size:9px;white-space:nowrap}
/* Settings */
.settings-dialog{color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:23px;width:min(470px,calc(100% - 28px));max-height:calc(100svh - 36px);padding:27px;box-shadow:0 25px 110px #0009}.settings-dialog::backdrop{background:#020b08b8;backdrop-filter:blur(7px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-heading h2{font:500 24px 'Manrope',var(--font);letter-spacing:-.8px;margin-top:9px}.settings-account{display:flex;align-items:center;gap:13px;padding:24px 0 0}.settings-account strong,.settings-account div>span{display:block}.settings-account strong{font-size:14px;font-weight:550}.settings-account div>span{font-size:11px;color:var(--muted-dark);margin-top:4px}.settings-section{margin-top:24px;padding-top:23px;border-top:1px solid var(--line)}.settings-section h3{font-weight:550;font-size:13px;display:flex;align-items:center;gap:8px}.settings-section h3 svg{width:16px;height:16px;color:var(--muted)}.settings-section p{font-size:11px;line-height:1.8;color:var(--muted);margin:11px 0 15px}.settings-section .button{font-size:12px;min-height:43px;padding:11px 15px}.coordinate-fields{display:flex;gap:12px;margin:15px 0}.coordinate-fields label{min-width:0;flex:1}.coordinate-fields input{width:100%;font-size:16px;padding:10px 12px;min-height:43px}.form-feedback{font-size:11px;color:var(--muted);line-height:1.7;display:block;margin:10px 0 0}#invite-result{margin-top:15px}#invite-url{font-size:12px;min-height:42px}#invite-expiry{display:inline;margin-left:12px}.device-note p{font-size:10px}.signout-button{margin-top:23px;min-height:43px;width:100%;background:transparent;font-size:12px;color:var(--muted)}.toast{position:fixed;z-index:100;left:50%;bottom:calc(25px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:min(470px,calc(100% - 32px));border:1px solid #62804b;border-radius:12px;padding:14px 19px;background:#253b24;box-shadow:0 8px 40px #0006;font-size:12px;line-height:1.6;text-align:center}.noscript{padding:50px;font-size:16px;line-height:1.7}
@media(min-width:1450px){.app-shell{padding-left:52px;padding-right:52px}.dashboard{grid-template-columns:minmax(0,1fr) 380px;gap:32px}.map-panel{height:560px}.messages-list{height:245px}.app-intro{padding:36px 0 29px}}
@media(max-width:1120px){.app-shell{padding:0 24px env(safe-area-inset-bottom)}.dashboard{grid-template-columns:minmax(0,1fr) 310px;gap:19px}.header-right{gap:12px}.connection-badge{display:none}.app-header{height:86px}.mode-switch button{min-width:110px}.map-panel{height:480px}.map-legend{gap:10px;font-size:8px}.map-caption{font-size:9px}.action-bar .button{font-size:12px;padding:14px}.activity-feed{grid-template-columns:1fr}.activity-item{border:0;padding:0;display:grid;grid-template-columns:70px 1fr;gap:2px 10px}.activity-item>span:last-child{grid-column:2}.activity-item .activity-time{margin:0}.app-intro h1{font-size:24px}.app-intro .eyebrow{font-size:9px}}
@media(max-width:800px){.auth-screen{grid-template-columns:1fr}.auth-landscape{min-height:310px;max-height:350px}.auth-story{bottom:35px;left:8%}.auth-story h1{font-size:37px;letter-spacing:-1.7px;margin:13px 0}.auth-story p{font-size:11px;max-width:300px}.auth-features{display:none}.auth-landscape>svg{object-position:center 45%}.auth-side{padding:35px 8%}.auth-side>.brand{display:none}.auth-form-wrap{margin:10px auto 45px;max-width:450px}.auth-form-wrap h2{font-size:25px}.auth-bottom{justify-content:center}.app-header{position:relative;height:83px;gap:12px;flex-wrap:wrap}.app-header .brand{font-size:23px}.app-header .brand-mark{width:34px;height:30px}.app-header .brand small{font-size:6px;letter-spacing:2px}.header-right{margin-left:auto}.user-button>span:nth-child(2),.user-button>span:nth-child(3){display:none}.mode-switch{padding:4px}.mode-switch button{min-width:83px;padding:9px 13px;font-size:11px;min-height:37px;gap:7px}.mode-switch svg{width:14px;height:14px}.dashboard{grid-template-columns:minmax(0,1fr)}.app-intro{padding:25px 0 20px}.app-intro h1{font-size:24px}.intro-date>span:first-child{font-size:10px}.map-panel{height:430px}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.chat-panel{grid-column:1/-1}.messages-list{height:260px}.crew-card{min-height:64px}.link-status{align-self:end}.link-status-row{padding:14px 0}.link-footnote{font-size:9px}.activity-feed{grid-template-columns:repeat(3,minmax(0,1fr))}.activity-item{display:block}.activity-item .activity-time{margin-bottom:4px}.activity-item{border-left:1px solid var(--line);padding:0 10px}.activity-item:first-child{padding-left:0;border-left:0}.map-caption{font-size:10px}.map-legend{font-size:9px}.app-footer{margin-bottom:0}.message-compose textarea{font-size:16px}.messages-list{gap:18px}.message-bubble{font-size:13px}.transport-row select{font-size:12px;max-width:180px}.transport-row label,.transport-row>span{font-size:10px}#message-hint{font-size:10px}.chat-header{font-size:13px}}
@media(max-width:540px){html{scroll-padding-top:20px}.app-shell{padding:env(safe-area-inset-top) 16px calc(74px + env(safe-area-inset-bottom))}.app-header{height:120px;align-content:center;gap:17px;border-bottom:0}.app-header .brand{font-size:23px}.mode-switch{order:3;width:100%;justify-content:stretch}.mode-switch button{flex:1;font-size:12px;min-height:35px}.app-intro{padding:20px 0}.app-intro h1{font-size:24px;letter-spacing:-1px;max-width:290px}.app-intro .eyebrow{font-size:8px;letter-spacing:1.5px}.intro-date{display:none}.map-panel{height:390px;border-radius:15px}.map-top{top:12px;left:12px;right:12px}.map-title{font-size:10px;padding:9px 10px}.map-tool{height:35px;width:35px}.map-empty{left:12px;right:12px;bottom:54px;padding:14px;max-width:310px}.map-empty p{font-size:10px}.map-empty strong{font-size:12px}.map-legend{left:12px;bottom:13px;padding:7px 9px;gap:11px;font-size:8px}.map-caption>span:last-child{display:none}.map-caption{font-size:9px;line-height:1.6;margin-top:9px}.action-bar{gap:9px;margin-top:15px}.action-bar .button{font-size:11px;padding:12px 11px;min-height:49px;gap:7px;border-radius:10px}.action-bar .button svg{width:16px;height:16px}.action-bar .button>span:last-child{display:none}.activity-section{margin-top:20px;padding:17px 0}.activity-feed{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.activity-item:nth-child(3){display:none}.sidebar{grid-template-columns:1fr;gap:16px}.crew-cards{flex-direction:row;gap:9px}.crew-card{flex:1;min-width:0;padding:12px 10px;gap:9px;align-items:center}.crew-card .avatar{width:30px;height:30px;font-size:12px}.crew-info strong{font-size:12px}.crew-info>span{font-size:9px;line-height:1.5}.crew-card .crew-reading{display:none}.crew-card>.status-dot{width:5px;height:5px}.link-status-row{padding:13px 0}.link-status-row>div{display:flex;justify-content:space-between;gap:9px;align-items:center}.link-status-row strong{white-space:nowrap;font-size:11px}.link-status-row div>span{text-align:right;max-width:62%;font-size:9px;margin:0}.link-status-row .status-icon svg{width:19px;height:19px}.link-status{padding:0 13px}.link-footnote{padding-bottom:11px;margin-top:0}.crew-section>.section-heading{padding-bottom:11px}.messages-list{height:300px;max-height:400px}.chat-panel{min-height:400px}.chat-header{padding:15px}.message-bubble{font-size:12px}.app-footer{margin-top:22px;padding-bottom:14px;align-items:flex-start}.app-footer>span:last-child{display:none}.mobile-nav{position:fixed;left:0;bottom:0;right:0;z-index:20;display:flex;justify-content:space-around;padding:7px 18px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#102219f2;backdrop-filter:blur(15px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:5px 25px;min-height:48px;font-size:9px;background:transparent;border:0;color:var(--muted-dark)}.mobile-nav button.active{color:var(--lime)}.mobile-nav button svg{width:20px;height:20px}.settings-dialog{padding:23px 20px;border-radius:19px;max-height:calc(100svh - 25px)}.toast{bottom:calc(83px + env(safe-area-inset-bottom));font-size:11px}.replay-panel{padding:14px 12px}.replay-bottom{align-items:flex-start}.replay-bottom>span{max-width:190px}.map-fallback{padding:65px 30px}.message-compose textarea{font-size:16px}.auth-landscape{min-height:285px}.auth-story h1{font-size:34px}.auth-form-wrap h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
