:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17252d;background:#f4f7f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}.hidden{display:none!important}.top{height:76px;padding:0 clamp(20px,3.5vw,56px);background:#102c36;display:flex;align-items:center;justify-content:space-between;color:#c3d5d8}.brand{color:white;font-size:1.38rem;font-weight:800;letter-spacing:-.05em;text-decoration:none;display:flex;gap:10px;align-items:center}.mark{display:inline-grid;place-items:center;width:34px;height:34px;background:#17c5a4;border-radius:11px;color:#123239;font-size:1.8rem;line-height:1}.topright{display:flex;gap:20px;align-items:center;font-size:.88rem}.top .quiet{color:white}.primary,.secondary{border:0;border-radius:10px;padding:12px 17px;font-weight:700;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.primary{background:#16bea0;color:#09352f}.primary:hover{background:#42dbbd}.secondary{background:#e9f4f2;color:#0a665a}.quiet,.text-button{border:0;background:transparent;color:#326e6c;padding:8px}.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.14em;color:#148d7b;margin:0 0 9px}.auth-wrap{min-height:calc(100vh - 76px);display:grid;grid-template-columns:minmax(520px,1fr) minmax(380px,.87fr)}.auth-panel{padding:clamp(35px,6vw,100px);max-width:800px;align-self:center}.auth-panel h1{font-size:clamp(2.5rem,4.2vw,4.7rem);line-height:1.08;letter-spacing:-.065em;margin:10px 0 20px}.auth-panel h1 em{font-style:normal;color:#13a78b}.intro{font-size:1.12rem;line-height:1.7;color:#637580;max-width:570px}.auth-form{margin-top:38px;max-width:420px;background:white;border:1px solid #dce7e8;box-shadow:0 14px 50px #18363c0d;border-radius:20px;padding:28px;display:grid;gap:14px}.auth-form h2{font-size:1.2rem;margin:0 0 4px}.auth-form label,dialog label,.tracker label{font-weight:700;font-size:.9rem;display:grid;gap:8px}.auth-form input,dialog input,dialog select,.tracker input{width:100%;padding:12px;border:1px solid #cbd9dc;border-radius:10px;background:white;color:#17252d;outline-color:#12b899}.auth-form .primary{margin-top:5px}.error{color:#b33648;min-height:1em;margin:0;font-size:.9rem}.auth-art{position:relative;overflow:hidden;background:radial-gradient(circle at 60% 38%,#236876 0,#144653 37%,#0d2e39 76%);display:grid;place-items:center}.auth-art:before{content:"";position:absolute;inset:0;opacity:.16;background-image:linear-gradient(90deg,#d7f8ed 1px,transparent 1px),linear-gradient(#d7f8ed 1px,transparent 1px);background-size:58px 58px}.art-label{position:absolute;top:10%;left:12%;color:#d3eee8;font-weight:700;font-size:1.1rem}.art-orbit{border:1px solid #8bd9c96e;border-radius:50%;position:absolute;width:430px;height:430px;transform:rotate(-22deg) scaleX(1.5)}.orbit-b{width:260px;height:260px}.art-pin{z-index:1;width:92px;height:92px;border-radius:28px;display:grid;place-items:center;color:#073d38;background:#25d2ad;box-shadow:0 0 0 24px #25d2ad17;font-size:4rem}.art-card{position:absolute;bottom:16%;left:15%;background:white;border-radius:14px;padding:17px 20px;display:grid;grid-template-columns:10px auto;gap:2px 12px;box-shadow:0 20px 40px #071a2270}.art-card small{grid-column:2;color:#667a83}.live-dot{width:8px;height:8px;background:#1fc29c;border-radius:50%;display:inline-block}.art-card .live-dot{margin-top:7px}.portal{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{background:#e9f1f1;border-right:1px solid #d9e5e5;padding:34px 16px;display:flex;flex-direction:column;gap:6px}.side-heading{color:#819197;letter-spacing:.13em;font-size:.7rem;font-weight:800;margin:0 14px 10px}.nav{display:block;padding:12px 15px;border-radius:10px;color:#4b626a;text-decoration:none;font-weight:650}.nav.active,.nav:hover{background:#d4ebe6;color:#086658}.side-bottom{margin-top:auto;padding:18px 14px;border-top:1px solid #d0dddd;display:grid;gap:5px;color:#58717a;font-size:.82rem}.side-bottom .side-heading{margin:0 0 6px}.side-bottom strong{font-size:1.1rem;color:#163a40}.side-bottom p{line-height:1.5;margin:7px 0 0}.workspace{padding:34px clamp(18px,3vw,48px) 60px;min-width:0;max-width:1600px;width:100%;margin:auto}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.workspace-head h1{margin:0;font-size:2rem;letter-spacing:-.045em}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.stat,.map-panel,.devices-panel,.history-panel{background:#fff;border:1px solid #dae5e5;border-radius:15px;box-shadow:0 2px 9px #193a3c08}.stat{padding:19px 22px;display:grid;gap:10px}.stat span{font-size:.86rem;color:#617780}.stat strong{font-size:1.95rem;line-height:1}.content-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(295px,.8fr);gap:18px}.panel-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:1.08rem;margin:0 0 4px}.panel-head p{font-size:.82rem;color:#768991;margin:0}.map-status{font-size:.76rem;font-weight:700;color:#348678;white-space:nowrap}.map-status .live-dot{margin-right:5px}.map{height:400px;background:#dcebe7;position:relative;overflow:hidden}.tiles{position:absolute;inset:0}.tiles img{position:absolute;width:256px;height:256px;max-width:none}.location-pin{position:absolute;z-index:3;left:50%;top:50%;width:40px;height:52px;transform:translate(-50%,-100%);pointer-events:none;filter:drop-shadow(0 4px 6px #193e4b66)}.location-pin svg{display:block;width:100%;height:100%}.map-empty{height:100%;display:grid;place-items:center;color:#5e7b7e;font-weight:600;text-align:center;padding:20px}.map-footer{padding:12px 18px;font-size:.7rem;color:#7e8e91;display:flex;justify-content:space-between;gap:12px}.device-list{padding:0 12px 12px;max-height:440px;overflow:auto}.device{border:1px solid transparent;background:transparent;width:100%;padding:12px 8px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:10px;color:#1d383f}.device:hover,.device.selected{background:#eff9f6;border-color:#cdebe3}.device-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:11px;background:#d9efe9;color:#076c5e;font-size:1.35rem;flex:none}.device-info{display:grid;gap:3px;min-width:0;flex:1}.device-info strong,.device-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-info small{color:#799097;font-size:.76rem}.device-chevron{color:#6d888f}.device-empty{padding:30px 20px;color:#526b70;text-align:center}.device-empty p{font-size:.88rem;line-height:1.5}.history-panel{margin-top:18px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.83rem;white-space:nowrap}th{color:#6c8085;background:#f6f9f9;font-size:.74rem;letter-spacing:.03em}td,th{padding:13px 22px;border-top:1px solid #e7eeee}.empty-row{text-align:center;color:#829398;padding:35px}dialog{border:1px solid #d6e4e3;border-radius:17px;padding:28px;box-shadow:0 25px 80px #122b3b55;width:min(440px,calc(100% - 26px));color:#18333b}dialog::backdrop{background:#0c2935aa}dialog form{display:grid;gap:17px}dialog p{line-height:1.55;color:#64777e;font-size:.9rem}dialog .dialog-top{display:flex;align-items:center;justify-content:space-between}dialog h2{margin:0;font-size:1.35rem}.secret{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#eaf3f1;padding:12px;border-radius:8px;margin:12px 0;font-size:.8rem}.code{font-size:2rem;letter-spacing:.12em;font-weight:800;color:#087b6c;padding:16px;background:#e8f6f2;border-radius:10px;text-align:center}.tracker{max-width:500px;margin:70px auto;padding:20px}.tracker h1{font-size:2.4rem;letter-spacing:-.05em;margin:10px 0}.tracker p{line-height:1.6;color:#667a81}.tracker-icon{font-size:3rem;color:#0b9e83}.tracker form{background:white;border:1px solid #deebeb;border-radius:15px;padding:25px;display:grid;gap:16px;margin:25px 0}.tracker #tracking-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.tracker #tracking-controls p{width:100%}.hint{font-size:.8rem}.status-line{font-weight:700;color:#0b7668}@media(max-width:1050px){.content-grid{grid-template-columns:1fr}.device-list{max-height:300px}.auth-wrap{grid-template-columns:1fr}.auth-art{display:none}}@media(max-width:680px){.top{height:64px}.topright #account{display:none}.portal{display:block}.sidebar{flex-direction:row;padding:10px;overflow:auto;gap:4px}.side-heading,.side-bottom{display:none}.nav{white-space:nowrap;padding:10px;font-size:.84rem}.workspace{padding:22px 14px}.workspace-head h1{font-size:1.55rem}.workspace-head .primary{font-size:.8rem;padding:10px}.stats{gap:7px}.stat{padding:12px}.stat span{font-size:.7rem}.stat strong{font-size:1.35rem}.map{height:330px}.panel-head{padding:15px}.map-status{display:none}.auth-panel{padding:35px 20px}.auth-form{padding:22px}.tracker{margin:28px auto}}

.route-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
.device-actions{display:flex;gap:8px;flex-wrap:wrap;padding:8px 18px 16px}.device-actions button{font-size:.78rem;padding:9px}

[hidden]{display:none!important}

/* Original SnapMap colors and pin, adapted to the current app. */
.top{background:#152d41}
.brand-word>span{color:#83ace1}
.mark{width:38px;height:42px;background:transparent;border-radius:0;overflow:hidden}
.mark img{display:block;width:100%;height:100%;object-fit:contain}
.primary{background:#079b4d;color:#fff}
.primary:hover{background:#087d40}
.secondary{background:#eaf1fa;color:#315c91}
.eyebrow,.auth-panel h1 em{color:#078e49}
.nav.active,.nav:hover{background:#dff1e6;color:#087a3f}
.live-dot{background:#079b4d}
.auth-art{background:radial-gradient(circle at 60% 38%,#426e9e 0,#254e7b 42%,#152d41 78%)}
.art-pin{width:112px;height:142px;background:transparent;box-shadow:none;border-radius:0}
.art-pin img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 22px #071f3466)}
.tracker-icon{width:80px;height:104px;margin:auto}
.tracker-icon img{width:100%;height:100%;object-fit:contain}

/* Phone tracker: steady mobile viewport without disabling accessibility zoom. */
.tracker-page{min-height:100vh;min-height:100dvh;overflow-x:hidden;overscroll-behavior-y:contain}
.tracker-page .top{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.tracker-page .tracker{width:100%;padding-bottom:max(28px,env(safe-area-inset-bottom))}
.tracker-page input,.tracker-page select,.tracker-page textarea{font-size:16px}
.tracker-page button,.tracker-page a{touch-action:manipulation}
@media(max-width:680px){
 .tracker-page .top{gap:8px;font-size:.72rem;letter-spacing:.06em}
 .tracker-page .brand{font-size:1.18rem;letter-spacing:-.05em}
 .tracker-page .mark{width:30px;height:34px}
 .tracker-page .tracker{margin:0 auto;padding:24px 18px max(34px,env(safe-area-inset-bottom))}
 .tracker-page .tracker h1{font-size:clamp(1.9rem,8vw,2.4rem);line-height:1.1}
 .tracker-page .tracker form{margin:22px 0;padding:20px}
 .tracker-page #tracking-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .tracker-page #tracking-controls p,.tracker-page #tracking-controls #disconnect{grid-column:1/-1}
 .tracker-page #tracking-controls button{min-height:48px}
}

.geofence-panel{background:#fff;border:1px solid #d9e5e5;border-radius:16px;overflow:hidden;margin-top:20px}
.geofence-form{padding:18px 22px;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:12px;align-items:end;border-top:1px solid #eef3f3}
.geofence-form label{display:grid;gap:7px;font-size:.82rem;font-weight:700;color:#425b65}
.geofence-form input{width:100%;min-width:0;padding:11px 12px;border:1px solid #ccdce0;border-radius:9px;color:#17252d;background:#fff}
.geofence-buttons{display:flex;gap:10px;grid-column:1/-1;flex-wrap:wrap}
.geofence-form .error{grid-column:1/-1;margin:0}
.geofence-content{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:4px 22px 24px;border-top:1px solid #eef3f3}
.geofence-content h3{font-size:.9rem;margin:18px 0 12px}
.geofence-list,.geofence-events{color:#637580;font-size:.87rem}
.geofence-row,.geofence-event{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf2f2}
.geofence-row strong,.geofence-event strong{display:block;color:#17252d}
.geofence-row small,.geofence-event small{display:block;margin-top:4px;color:#687d87}
.geofence-ring{position:absolute;z-index:2;transform:translate(-50%,-50%);border:2px solid #0e9958;border-radius:50%;background:#16ab5429;pointer-events:none;box-shadow:0 0 0 2px #fff8}
@media(max-width:900px){.geofence-form{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.geofence-form,.geofence-content{grid-template-columns:1fr}.geofence-form{padding:15px}.geofence-content{padding:0 15px 18px}.geofence-buttons button{flex:1;min-width:140px}}

/* Interactive map: controls stay in place while tiles and overlays move together. */
.map{touch-action:none;cursor:grab}
.map:active{cursor:grabbing}
.map-scene{position:absolute;inset:0;pointer-events:none}
.map-controls{position:absolute;z-index:5;right:14px;top:14px;display:flex;gap:5px;cursor:default}
.map-controls button{min-width:38px;min-height:38px;padding:0 10px;border:1px solid #c8d8dc;border-radius:9px;background:#fff;color:#173f54;font-weight:800;box-shadow:0 2px 8px #122d3b28;touch-action:manipulation}
.map-controls button:hover:not(:disabled){background:#eaf1fa}
.map-controls button[data-map="latest"]{font-size:.79rem}
/* Pick a geofence center on the map and preview its radius before saving. */
.map.map-picking{cursor:crosshair}
.map.map-picking:active{cursor:crosshair}
.map-pick-hint{position:absolute;z-index:4;left:50%;bottom:14px;transform:translateX(-50%);padding:8px 12px;background:#152d41ed;color:white;border-radius:9px;font-size:.82rem;font-weight:700;white-space:nowrap;pointer-events:none;box-shadow:0 3px 12px #142c3b44}
.geofence-draft{position:absolute;z-index:3;transform:translate(-50%,-50%);border:2px dashed #315c91;border-radius:50%;background:#669ddd33;pointer-events:none;box-shadow:0 0 0 2px #fff8}
.geofence-draft::after{content:"";position:absolute;width:10px;height:10px;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;background:#315c91;box-shadow:0 1px 5px #122d3b77}
.geofence-hint{grid-column:1/-1;color:#315c91;font-size:.85rem;min-height:1em;margin:0}
#geofence-pick-map[aria-pressed="true"]{background:#315c91;color:#fff}
@media(max-width:600px){.map-pick-hint{font-size:.73rem;max-width:calc(100% - 16px);white-space:normal;text-align:center}}

.geofence-ring::after{content:"";position:absolute;width:8px;height:8px;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;background:#0e9958;box-shadow:0 1px 5px #122d3b77}
/* Date-based history and map jump controls. */
.history-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid #edf2f2;color:#4a6571;font-size:.85rem}
.history-tools label{font-weight:700;color:#203744}
.history-tools input{font:inherit;color:#203744;border:1px solid #ccdce0;border-radius:9px;padding:9px 11px;background:white}
.history-tools .secondary{padding:9px 12px}
#history-results{margin-left:auto;color:#617780}
.history-location{border:0;background:none;padding:6px 2px;color:#315c91;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;text-align:left;font:inherit;font-weight:650}
.history-location:hover,.history-location:focus-visible{color:#0c6a63}
.history-pin{position:absolute;z-index:4;width:40px;height:52px;transform:translate(-50%,-100%);pointer-events:none;filter:drop-shadow(0 4px 6px #193e4b66)}
.history-pin svg{display:block;width:100%;height:100%}
@media(max-width:600px){#history-results{margin-left:0;width:100%}.history-tools{padding:13px 15px}}
/* Route playback stays attached to the selected history range. */
.history-playback{display:flex;align-items:center;gap:14px;padding:12px 20px;border-top:1px solid #edf2f2;color:#536d79;font-size:.85rem}
.history-playback .primary{min-width:110px;padding:9px 12px;font-size:.84rem}
.history-playback input[type=range]{flex:1;min-width:100px;accent-color:#079b4d;cursor:pointer}
.history-playback input[type=range]:disabled{cursor:not-allowed}
#history-position{min-width:225px;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:700px){.history-playback{flex-wrap:wrap;padding:12px 15px;gap:10px}.history-playback input[type=range]{min-width:calc(100% - 132px)}#history-position{width:100%;min-width:0;text-align:left}}
/* Explicit controls for saved location data. */
.privacy-panel{background:white;border:1px solid #d9e5e5;border-radius:16px;overflow:hidden;margin-top:20px}
.retention-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 22px;border-top:1px solid #eef3f3}
.retention-form label{font-weight:750;color:#203744}
.retention-form select{min-height:42px;min-width:180px;border:1px solid #ccdce0;border-radius:9px;background:white;color:#203744;padding:9px 11px;font:inherit}
.retention-form p{width:100%;margin:0;color:#637580;font-size:.83rem;line-height:1.5}
#retention-message{color:#315c91;font-size:.85rem;min-height:1em}
.delete-account{border-top:1px solid #eef3f3;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.delete-account h3{margin:0 0 7px;font-size:1rem;color:#203744}
.delete-account p{margin:0;max-width:620px;font-size:.85rem;color:#637580;line-height:1.55}
.danger-button{border:1px solid #b53345;border-radius:9px;background:#fff;color:#a32437;padding:11px 15px;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}
.danger-button:hover{background:#fff0f1}
#delete-account-dialog form{display:grid;gap:16px}
#delete-account-dialog p{line-height:1.55;margin:0;color:#526b75}
#delete-account-dialog .error{color:#b33648}
#delete-account-dialog .danger-button{background:#b53345;color:#fff}
#delete-account-dialog .danger-button:hover{background:#992737}
@media(max-width:600px){.retention-form,.delete-account{padding:16px}.delete-account{align-items:stretch;flex-direction:column}.delete-account .danger-button{align-self:flex-start}}
/* Device information and assigned contact. */
.device-icon{overflow:hidden}.device-icon img{width:100%;height:100%;object-fit:cover}
.device-profile-panel{background:#fff;border:1px solid #d9e5e5;border-radius:16px;overflow:hidden;margin-top:20px;box-shadow:0 2px 9px #193a3c08}
.device-profile-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;padding:22px;border-top:1px solid #edf2f2}
.profile-photo-card{display:grid;align-content:start;gap:11px}
.profile-photo-frame{aspect-ratio:1;display:grid;place-items:center;border-radius:14px;background:#e9f4f2;color:#5a7778;overflow:hidden;text-align:center}
.profile-photo-frame img{width:100%;height:100%;object-fit:cover}
.profile-photo-card label{font-size:.88rem;font-weight:750}
.profile-photo-card input{max-width:100%;font-size:.78rem}
.profile-photo-actions{display:flex;flex-wrap:wrap;gap:7px}
.profile-photo-actions button{padding:9px 11px;font-size:.82rem}
.profile-photo-card p,.profile-form p{margin:0;color:#647780;font-size:.82rem;line-height:1.5}
#profile-photo-status,#profile-status{font-size:.83rem;color:#246e65;min-height:1em}
.profile-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
.profile-meta div{background:#f4f9f8;border-radius:10px;padding:11px 13px;display:grid;gap:5px;min-width:0}
.profile-meta span{color:#71848a;font-size:.76rem}
.profile-meta strong{color:#1d383f;font-size:.88rem;overflow-wrap:anywhere}
.profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-form label{display:grid;gap:6px;color:#294550;font-size:.86rem;font-weight:700}
.profile-form input{width:100%;min-width:0;padding:11px;border:1px solid #cbd9dc;border-radius:9px;background:white;color:#17252d;outline-color:#12b899}
.profile-form label:first-child,.profile-form h3,.profile-form p,.profile-form button,#profile-status{grid-column:1/-1}
.profile-form h3{margin:9px 0 0;font-size:1rem}
.profile-form button{justify-self:start;margin-top:6px}
@media(max-width:800px){.device-profile-layout{grid-template-columns:1fr}.profile-photo-card{max-width:340px}}
@media(max-width:580px){.device-profile-layout{padding:17px}.profile-form,.profile-meta{grid-template-columns:1fr}}
/* A device is presented as either a person or a vehicle. */
.device-profile-layout{grid-template-columns:minmax(0,190px) minmax(0,1fr);gap:28px;align-items:start}
.device-profile-layout.vehicle-profile{grid-template-columns:minmax(0,1fr)}
.profile-main,.profile-photo-card{min-width:0}
.profile-photo-card{width:100%;overflow-wrap:anywhere}
.profile-photo-frame{width:100%;max-width:190px}
.profile-photo-card input[type=file]{display:block;width:100%;min-width:0;max-width:190px;font-size:.73rem}
.profile-photo-card p{max-width:190px;overflow-wrap:anywhere}
.profile-form>.profile-kind,.profile-form>.profile-fields{grid-column:1/-1;min-width:0}
.profile-kind{margin:6px 0 2px;border:1px solid #d9e5e5;border-radius:12px;padding:14px 16px;min-width:0}
.profile-kind legend{font-weight:750;font-size:.88rem;color:#294550;padding:0 6px}
.profile-kind-options{display:flex;flex-wrap:wrap;gap:10px}
.profile-kind-options label{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid #cbd9dc;border-radius:9px;cursor:pointer;background:#fff;font-weight:700;min-width:125px}
.profile-kind-options label:has(input:checked){border-color:#24a88f;background:#e9f8f4;color:#075e50}
.profile-kind-options input[type=radio]{width:auto;margin:0;accent-color:#119d84}
.profile-kind p{margin:10px 0 0}
.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.profile-fields h3,.profile-fields p{grid-column:1/-1}
.profile-fields h3{margin:10px 0 0}
.profile-fields label{min-width:0}
.profile-fields label:first-of-type{grid-column:auto}
@media(max-width:900px){.device-profile-layout{grid-template-columns:1fr;gap:24px}.profile-photo-card{max-width:230px}.profile-photo-frame,.profile-photo-card p{max-width:190px}}
@media(max-width:580px){.profile-fields{grid-template-columns:1fr}.profile-kind-options label{flex:1;min-width:0}}
.device-icon svg{width:25px;height:25px;display:block}
/* Workspace navigation uses one icon grid and one text rhythm. */
.sidebar .nav{display:flex;align-items:center;gap:11px;min-height:44px;width:100%;padding:10px 13px;font-size:.91rem;font-weight:670;line-height:1.25;white-space:nowrap}
.nav-icon{display:block;width:19px;height:19px;flex:0 0 19px;stroke-width:1.8}
.nav-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:680px){.sidebar .nav{width:auto;min-height:44px;flex:none;padding:10px 12px;font-size:.88rem}.sidebar{align-items:stretch}.nav-icon{width:18px;height:18px;flex-basis:18px}}
/* Account password and browser session controls. */
.security-panel{background:#fff;border:1px solid #d9e5e5;border-radius:16px;overflow:hidden;margin-top:20px;box-shadow:0 2px 9px #193a3c08}
.security-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:30px;padding:22px;border-top:1px solid #edf2f2}
.security-body>div{min-width:0}
.security-body h3{font-size:1rem;margin:0 0 8px;color:#203744}
.security-body p{color:#647780;font-size:.85rem;line-height:1.5;margin:0 0 18px}
.security-form{display:grid;gap:13px;max-width:460px}
.security-form label{display:grid;gap:6px;font-size:.86rem;font-weight:700;color:#294550}
.security-form input{width:100%;min-width:0;padding:11px;border:1px solid #cbd9dc;border-radius:9px;background:white;color:#17252d;outline-color:#12b899}
.security-form button,.security-sessions button{justify-self:start}
.security-form #password-status{min-height:1em;margin:0;color:#246e65}
.security-sessions{border-left:1px solid #edf2f2;padding-left:28px}
.security-sessions #session-count{color:#193a3c;font-weight:750;margin-bottom:8px}
@media(max-width:850px){.security-body{grid-template-columns:1fr}.security-sessions{border-left:0;border-top:1px solid #edf2f2;padding:20px 0 0}}
@media(max-width:580px){.security-body{padding:17px}}
