@charset "UTF-8";
:root{--navy:#172538;--navy2:#22364d;--ink:#233448;--muted:#788595;--line:#e8ecf0;--bg:#f5f7fa;--accent:#ee7c42;--accent-soft:#fff0e7;--teal:#238c85;--shadow:0 3px 15px #18283b04;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}svg{display:block}img{max-width:100%}button svg,.subtle-icon svg,.filter-title svg,.search-label svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#566476}input,select,textarea{width:100%;border:1px solid #dfe5ec;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);min-height:43px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:#6a8ca4;box-shadow:0 0 0 3px #4f84951a}input::placeholder,textarea::placeholder{color:#a0a9b4}label small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.6}button{border:0}button,.nav-item{transition:background .15s,color .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;min-height:40px;padding:10px 16px;font-size:12px;font-weight:650;white-space:nowrap}.button.primary{background:var(--accent);color:#fff}.button.primary:hover{background:#db6931}.button.secondary{background:#fff;border:1px solid #e0e5eb;color:#4e5f72}.button.secondary:hover{background:#f4f7f9}.button.dark{background:var(--navy);color:#fff}.button.dark:hover{background:#2c425b}.button.full{width:100%;justify-content:space-between;min-height:48px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border-radius:7px;min-width:38px;min-height:38px;color:#7d8999}.icon-button:hover{background:#eef1f5;color:var(--navy)}.text-button{background:transparent;color:#85909c;font-size:12px}.text-button:hover{color:var(--ink)}.eyebrow{font-size:10px;letter-spacing:normal;font-weight:750;color:#8a97a4}.muted{color:var(--muted);font-size:12px;line-height:1.6}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#43a68a;flex-shrink:0}.skip{position:fixed;top:-60px;left:20px;z-index:100;background:#fff;padding:15px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.brand-mark{height:37px;width:37px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--accent);border-radius:11px;font-size:29px;font-weight:300}.login-screen{display:grid;grid-template-columns:1.08fr 1fr;min-height:100dvh}.login-story{position:relative;background:var(--navy);color:#fff;min-height:740px;overflow:hidden;padding:52px 9% 40px}.story-brand{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:normal;font-weight:650;white-space:nowrap}.story-brand .brand-mark{height:29px;width:29px;font-size:23px;border-radius:7px}.brand-separator{color:#65778c;font-size:18px}.story-copy{position:relative;z-index:1;margin-top:120px}.eyebrow.light{color:#91abb9;letter-spacing:normal}.story-copy h1{font-size:clamp(36px,3.6vw,58px);font-weight:550;line-height:1.15;letter-spacing:normal;margin:22px 0}.story-copy h1 span{color:var(--accent)}.story-copy p{font-size:15px;line-height:1.85;color:#9cafc1;max-width:330px}.story-pills{display:flex;gap:8px;margin-top:32px}.story-pills span{border:1px solid #4560785c;border-radius:20px;font-size:10px;padding:8px 14px;color:#b5c4d3}.road-art{position:absolute;bottom:20px;width:120%;left:-10%;height:340px;opacity:.72}.story-footer{position:absolute;bottom:30px;left:9%;right:9%;display:flex;justify-content:space-between;gap:15px;font-size:8px;letter-spacing:normal;color:#7d94a8}.login-panel{background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 35px;position:relative}.login-card{max-width:365px;width:100%}.partner-logos{display:flex;align-items:center;gap:24px;margin-bottom:58px;min-height:53px}.partner-logos img:first-child{width:123px;max-height:38px;object-fit:contain}.partner-logos img:last-child{width:103px;height:67px;object-fit:contain}.partner-logos>span{height:35px;width:1px;background:var(--line)}.login-card h2{font-size:29px;letter-spacing:normal;font-weight:650;margin:15px 0 10px}.login-card>p{margin-bottom:29px;max-width:335px}.login-card form{display:flex;flex-direction:column;gap:20px}.login-card form label{font-size:12px}.password-wrap{position:relative}.password-wrap input{padding-right:50px}.password-wrap button{position:absolute;right:12px;top:13px;background:none;color:#8893a0;font-size:11px}.login-help{font-size:10px;color:#8793a1;text-align:center;line-height:1.7;margin:22px 0 28px!important}.login-secure{display:flex;gap:7px;align-items:center;justify-content:center;font-size:10px;color:#8793a1;border-top:1px solid var(--line);padding-top:22px}.login-copyright{position:absolute;bottom:28px;color:#a6aeb8;font-size:9px}.form-error,.error-banner{border:1px solid #f4cfc6;background:#fff3ef;border-radius:8px;color:#a64831;font-size:12px;padding:12px 14px;line-height:1.7}.sidebar{width:238px;position:fixed;top:0;bottom:0;left:0;background:var(--navy);color:#bec9d5;padding:31px 18px;z-index:30;display:flex;flex-direction:column}.app-brand{display:flex;align-items:center;gap:11px;color:#f7f9fc;font-weight:600;font-size:19px;padding:0 6px;letter-spacing:normal}.app-brand small{display:block;font-size:8px;letter-spacing:normal;font-weight:500;margin-top:5px;color:#8298af}.sidebar-divider{height:1px;background:#35455a80;margin:29px 9px 25px}.nav-caption{font-size:8px;letter-spacing:normal;font-weight:650;color:#69819a;padding:0 15px;margin-bottom:14px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;min-height:45px;background:transparent;color:#9daec0;padding:12px 15px;border-radius:8px;font-size:12px;text-align:left}.nav-item:hover{background:#23354b;color:#fff}.nav-item.active{color:#fff;background:#2b3b50}.nav-item.active>span:first-child{color:#f69a6b}.nav-dot{display:none;width:5px;height:5px;background:var(--accent);border-radius:50%;margin-left:auto}.nav-item.active .nav-dot{display:block}.sidebar-bottom{margin-top:auto;padding-top:50px}.scope-card{display:flex;gap:10px;padding:14px 10px;border:1px solid #34465b;border-radius:9px;font-size:10px;line-height:1.6}.scope-card small{display:block;font-size:9px;color:#7f96ae;margin-top:3px}.scope-icon{color:#91bcb4;flex-shrink:0}.sidebar-logos{display:flex;align-items:center;justify-content:center;gap:15px;background:#fff;border-radius:8px;margin:22px 8px 0;padding:12px;min-height:52px}.sidebar-logos img{width:76px;max-height:42px;object-fit:contain}.sidebar-logos.single img{width:115px;max-height:56px}.sidebar-foot{color:#586f88;font-size:9px;text-align:center;margin-top:16px}.workspace{margin-left:238px}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:12px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:20px}.topbar-context{font-size:11px;color:#8a96a3;display:flex;gap:13px;align-items:center}.topbar-context>span{color:#ccd3db}.topbar-context strong{font-weight:550;color:#526375}.live-badge{display:flex;gap:7px;align-items:center;font-size:10px;color:#8a96a2;margin-right:7px}.user-chip{display:flex;align-items:center;gap:10px;border-left:1px solid var(--line);padding-left:22px}.avatar{border-radius:50%;background:#f0e5dc;color:#9a6b43;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;height:34px;width:34px}.user-details strong{display:block;font-size:11px;font-weight:650}.user-details small{display:block;font-size:9px;color:#99a3af;margin-top:3px}.mobile-only{display:none}main{padding:33px 36px 0;max-width:1650px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:30px;letter-spacing:normal;font-weight:650;margin:10px 0 9px}.page-heading h1 span{color:var(--accent)}.page-heading p{font-size:12px;color:var(--muted);line-height:1.6}.heading-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;justify-content:flex-end}.heading-actions .muted{font-size:9px}.filter-card{padding:19px 22px 16px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;box-shadow:var(--shadow)}.filter-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.filter-title{display:flex;gap:8px;align-items:center;font-weight:650;font-size:11px}.filter-title svg{height:15px;width:15px;color:#82909f}.range-presets{display:flex;gap:3px;border:1px solid var(--line);padding:3px;border-radius:7px}.range-presets button{font-size:10px;background:transparent;color:#8a96a3;padding:6px 12px;border-radius:4px}.range-presets button.selected{color:#9b643a;background:#faf0e7;font-weight:650}.filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.filter-grid label{font-size:10px;gap:7px}.filter-grid input,.filter-grid select{font-size:11px;padding:9px;min-height:39px}.filter-bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-top:1px solid #f0f2f5;margin-top:17px;padding-top:13px}.filter-bottom summary{font-size:10px;color:#8a96a3;cursor:pointer;list-style:none;padding:10px 0;display:flex;gap:20px}.filter-bottom summary>span{color:#aeb6bf}.extra-filters{display:flex;gap:12px;padding:8px 0}.extra-filters label{font-size:10px;min-width:140px}.extra-filters select{font-size:11px}.filter-actions{display:flex;gap:20px;align-items:center}.filter-actions .button{font-size:10px;min-height:34px;padding:8px 13px}.error-banner{margin-bottom:20px}.loading{display:flex;gap:10px;align-items:center;justify-content:center;padding:25px;color:#84919f;font-size:12px}.spinner{width:22px;height:22px;border:2px solid #dce3ea;border-top-color:var(--accent);border-radius:50%;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 20px;min-height:143px;position:relative;box-shadow:var(--shadow)}.stat-icon{position:absolute;right:17px;top:18px;background:#f2f5f7;border-radius:8px;color:#8ea0ac;padding:9px}.stat-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.stat-card:first-child .stat-icon{background:#fff1e6;color:#da8a52}.stat-card:first-child{border-top:2px solid #e89967}.stat-label{font-size:10px;color:#8995a2;font-weight:600;padding-right:34px}.stat-value{display:flex;align-items:baseline;gap:6px;font-size:30px;font-weight:650;letter-spacing:normal;margin:17px 0 9px}.stat-value small{font-size:12px;color:#9aa6b0;font-weight:500;letter-spacing:normal}.stat-hint{font-size:9px;color:#9ba6b1}.stat-hint .teal{color:var(--teal)}.charts-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;margin-bottom:23px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-width:0;padding:23px}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:21px}.card-heading h2{font-size:15px;font-weight:650;letter-spacing:normal;margin-top:8px}.card-heading .muted{font-size:10px;margin-top:7px}.subtle-icon{background:#f7f8fa;border-radius:8px;color:#9aa7b3;padding:9px}.chart-tabs{display:flex;gap:3px;padding:3px;background:#f5f7f9;border-radius:7px;margin-top:9px}.chart-tabs button{background:transparent;color:#99a3ae;font-size:9px;padding:6px 10px;border-radius:4px}.chart-tabs button.active{background:#fff;box-shadow:0 1px 4px #1d344312;color:#40556a;font-weight:650}.chart-legend{display:flex;align-items:center;gap:6px;font-size:9px;color:#9ba6b1}.chart-legend>span{background:#2b8294;height:6px;width:6px;border-radius:50%}.chart-legend small{margin-left:auto;font-size:8px}.trend-chart{margin-top:16px;min-height:215px}.trend-chart svg{width:100%;height:224px;overflow:visible}.chart-label{fill:#9ca9b5;font-family:inherit;font-size:9px}.chart-grid{stroke:#edf0f4;stroke-dasharray:3 5;stroke-width:1}.chart-line{stroke:#368d9b;stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.weekday-chart{padding-top:1px}.weekday-row{display:grid;grid-template-columns:58px 1fr 38px;gap:13px;align-items:center;margin:14px 0;font-size:10px}.weekday-row .weekday-name{color:#8c99a5}.weekday-track{height:7px;background:#f5f7f9;border-radius:4px;overflow:hidden}.weekday-track>span{height:100%;display:block;background:#dbe8ec;border-radius:4px;min-width:0}.weekday-row.peak .weekday-track>span{background:var(--accent)}.weekday-row .weekday-count{text-align:right;font-size:9px;color:#7a8a99}.insight{font-size:9px;color:#8795a2;margin-top:22px;padding:12px;background:#faf7f2;border-radius:6px;line-height:1.5}.insight strong{color:#926a43}.lower-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.lower-grid>.card{min-height:285px}.heatmap-scroll{overflow:auto;padding-bottom:7px}.heatmap-grid{display:grid;grid-template-columns:36px repeat(24,minmax(10px,1fr));gap:4px;min-width:430px;align-items:center}.heatmap-grid .heat-day,.heatmap-grid .heat-hour{font-size:8px;color:#96a2af}.heatmap-grid .heat-hour{text-align:center;margin-bottom:6px}.heat-cell{height:13px;border-radius:2px;background:#f3f4f6}.heatmap-legend{display:flex;justify-content:flex-end;gap:4px;align-items:center;font-size:8px;color:#a0abb5;margin-top:17px}.heatmap-legend>span:first-child{margin-right:5px}.heatmap-legend>span:last-child{margin-left:5px}.heatmap-legend i{width:10px;height:10px;background:#f8eadc;border-radius:2px}.heatmap-legend i:nth-of-type(2){background:#f4c6a0}.heatmap-legend i:nth-of-type(3){background:#eda06a}.heatmap-legend i:nth-of-type(4){background:#de7c37}.ranking-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f3f6}.ranking-row:last-child{border-bottom:none}.ranking-number{width:23px;height:23px;display:flex;align-items:center;justify-content:center;background:#f3f5f7;border-radius:6px;color:#9ba6b1;font-size:10px}.ranking-row:first-child .ranking-number{background:var(--accent-soft);color:#cb864f}.ranking-location{min-width:0;flex:1}.ranking-location strong{display:block;font-size:11px;font-weight:600}.ranking-location small{display:block;font-size:9px;color:#99a4af;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ranking-count{text-align:right;font-size:12px;font-weight:650}.ranking-count small{display:block;font-size:8px;font-weight:400;color:#a2adb7;margin-top:3px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px;gap:9px;color:#9aa6b3;text-align:center;font-size:12px}.empty-state svg{width:32px;height:32px;stroke:#b6c3d0;fill:none;stroke-width:1.3}.empty-state p{font-size:10px;max-width:240px;line-height:1.7}.data-note{font-size:9px;color:#9ca8b4;line-height:1.8;margin-top:18px}.page-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:8px;color:#a4aeb9;padding:20px 0;margin-top:28px;letter-spacing:normal}.table-card{padding:0}.table-card>.card-heading{padding:22px 23px 0}.table-card>.card-heading h2{margin-top:0}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{font-size:9px;font-weight:650;color:#8d9ba8;background:#fafbfc;white-space:nowrap;padding:14px 22px;border-top:1px solid #f0f3f6;border-bottom:1px solid var(--line)}td{padding:16px 22px;border-bottom:1px solid #edf0f4;color:#5a6c7e;white-space:nowrap}td strong{font-size:11px;font-weight:600;color:#344b60}td small{display:block;font-size:9px;color:#98a5b1;margin-top:5px;max-width:260px;overflow:hidden;text-overflow:ellipsis}tbody tr:hover{background:#fbfcfd}.speed{font-size:16px;font-weight:650;color:#385e70}.speed small{display:inline;font-size:9px;margin-left:4px}.pill{display:inline-flex;padding:5px 9px;font-size:9px;border-radius:5px;font-weight:600;background:#f0f3f7;color:#7b8c9b}.pill.iot{background:#fcf0ee;color:#b06660}.pill.vial{background:#fff1e4;color:#c07e43}.pill.green{background:#edf7f2;color:#4a9379}.pill.gray{background:#f0f2f4;color:#919ba5}.table-tag{font-size:9px;color:#9aa8b4;background:#f4f6f8;border-radius:5px;padding:6px 9px;white-space:nowrap}.pagination{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;font-size:10px;color:#92a0ad}.pagination>div{display:flex;gap:8px}.pagination .button{font-size:10px;min-height:32px;padding:7px 11px}.search-label{position:relative}.search-label>span{position:absolute;top:12px;left:11px;color:#a1adba}.search-label input{padding-left:34px;min-width:235px;font-size:11px}.search-label svg{width:15px;height:15px}.edit-button{font-size:10px;background:#f3f6f8;border-radius:5px;color:#6a7e90;padding:7px 11px}.edit-button:hover{background:#e9eef3;color:#304d66}dialog{border:none;border-radius:16px;box-shadow:0 20px 100px #17253835;width:min(560px,calc(100% - 30px));padding:28px;max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#0e203b80;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.dialog-heading h2{font-size:22px;letter-spacing:normal;margin-top:10px}.dialog-heading .icon-button{font-size:25px}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span-2{grid-column:1/-1}.checkbox-label{display:flex;flex-direction:row;align-items:center;gap:9px;font-weight:500;min-height:30px}.checkbox-label input{width:15px;height:15px;min-height:auto;accent-color:var(--accent);margin:0}.dialog-grid>.checkbox-label{align-self:end;margin-bottom:6px}fieldset{border:1px solid var(--line);border-radius:9px;padding:15px 17px;margin:23px 0 0}legend{font-size:11px;font-weight:650;color:#65798b;padding:0 7px}.brand-checks{display:flex;gap:20px;margin:8px 0 17px 24px}.brand-checks .checkbox-label{font-size:11px}fieldset>label:last-child{margin-top:10px}textarea{resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:19px;margin-top:23px}dialog .form-error{margin-top:18px}#device-form>label{margin-top:17px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:var(--navy);color:#fff;padding:14px 22px;border-radius:9px;box-shadow:0 6px 25px #17253826;font-size:12px;max-width:90vw}.boot-screen{position:fixed;inset:0;background:#f5f7fa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#8a98a6;font-size:12px}.boot-screen p{max-width:400px;padding:0 25px;text-align:center;color:#b06148;line-height:1.8}.nav-backdrop{position:fixed;inset:0;background:#10263b66;z-index:25}.chart-tooltip{font-size:10px;color:#567}.no-data-cell{text-align:center;padding:60px!important;color:#98a6b3}
@media(min-width:1600px){main{padding-top:42px}.stat-card{min-height:155px}.trend-chart svg{height:260px}.weekday-row{margin:18px 0}.heat-cell{height:17px}}
@media(max-width:1200px){.sidebar{width:213px;padding:30px 13px}.workspace{margin-left:213px}main{padding:28px 24px 0}.topbar{padding:0 24px}.charts-grid{grid-template-columns:1.4fr 1fr}.card{padding:19px}.stat-card{padding:18px 15px}.stat-icon{right:12px}.filter-grid{gap:10px}.lower-grid{grid-template-columns:1.2fr 1fr}.topbar-right{gap:12px}.live-badge{display:none}.page-heading h1{font-size:27px}.heading-actions .muted{display:none}.filter-card{padding:17px}.weekday-row{grid-template-columns:47px 1fr 32px;gap:8px}.card-heading h2{font-size:14px}.card-heading .eyebrow{font-size:8px}.chart-tabs button{padding:6px 8px}.login-story{padding-left:8%;padding-right:8%}.story-brand{font-size:8px;gap:8px}.story-copy{margin-top:110px}}
@media(max-width:980px){.charts-grid,.lower-grid{grid-template-columns:1fr}.weekday-chart{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.weekday-row{margin:12px 0}.trend-chart svg{height:240px}.insight{margin-top:10px}.filter-grid{grid-template-columns:repeat(3,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{min-height:136px}.stat-value{margin-top:13px}.login-screen{grid-template-columns:.9fr 1fr}.story-brand .brand-separator,.story-brand .brand-separator+span{display:none}.story-copy h1{font-size:38px}.story-footer{font-size:7px;flex-direction:column}.partner-logos{margin-bottom:45px}.login-card h2{font-size:26px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:238px;transition:transform .2s}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-only{display:inline-flex}.topbar{height:68px;padding:0 18px}.topbar-left{gap:9px}.topbar-context{font-size:10px;gap:9px}.user-chip{border:0;padding:0}.user-details{display:none}.topbar-right{gap:5px}.avatar{height:30px;width:30px;font-size:10px}main{padding:25px 19px 0}.page-heading{align-items:flex-start;margin-bottom:23px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;max-width:280px}.page-heading .eyebrow{font-size:9px}.heading-actions{padding-top:20px}.heading-actions .button{min-height:36px;font-size:10px;padding:8px 10px}.filter-card{border-radius:10px}.stats-grid{gap:12px}.charts-grid,.lower-grid{gap:17px;margin-bottom:17px}.data-note{margin-top:4px}.login-screen{grid-template-columns:1fr}.login-story{display:none}.login-panel{min-height:100dvh;padding:50px 30px 80px}.login-card{max-width:365px}.login-card h2{font-size:29px}.login-copyright{bottom:24px}.partner-logos{margin-bottom:45px}.heatmap-grid{min-width:470px}.table-card>.card-heading{flex-wrap:wrap;gap:15px}.search-label{width:100%}.search-label input{width:100%}.page-footer{font-size:7px}.story-pills{display:none}.pagination{font-size:9px;padding:17px}.pagination .button{font-size:9px}.extra-filters{flex-direction:column}.table-card>.card-heading .muted{max-width:300px}}
@media(max-width:450px){.filter-grid{grid-template-columns:repeat(2,1fr)}.filter-grid label:last-child{grid-column:1/-1}.filter-top{gap:6px}.filter-title{font-size:10px}.range-presets button{padding:5px 8px;font-size:9px}.filter-bottom{gap:10px}.filter-actions{gap:10px}.filter-actions .text-button{font-size:9px}.filter-actions .button{font-size:9px}.stats-grid{gap:10px}.stat-card{padding:16px 13px;min-height:132px}.stat-icon{padding:6px;right:10px;top:13px}.stat-icon svg{width:14px;height:14px}.stat-label{font-size:9px}.stat-value{font-size:27px}.stat-hint{font-size:8px}.card{padding:18px}.card-heading{gap:7px}.card-heading h2{font-size:13px}.chart-tabs{margin-top:6px}.chart-tabs button{padding:5px 7px;font-size:8px}.weekday-chart{display:block}.weekday-row{grid-template-columns:65px 1fr 35px;margin:14px 0}.page-heading h1{font-size:24px}.heading-actions .button{padding:7px 9px}.heading-actions .button svg{display:none}.dialog-grid{grid-template-columns:1fr}.span-2{grid-column:auto}dialog{padding:22px}.dialog-heading h2{font-size:20px}.page-footer span:last-child{display:none}.login-card h2{font-size:27px}.login-secure{font-size:9px}.chart-legend small{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Identidad visible de las marcas y comparación de velocidad por franja. */
.app-brand{flex-direction:column;align-items:stretch;gap:14px;padding:0 6px;letter-spacing:normal}.primary-brand-logos{display:flex;align-items:center;justify-content:center;gap:14px;background:#fff;border-radius:9px;padding:11px;min-height:72px}.primary-brand-logos img{width:85px;max-height:52px;object-fit:contain}.primary-brand-logos.single img{width:136px;max-height:61px}.observatory-title{font-size:17px;font-weight:550;letter-spacing:normal;padding-left:3px}.app-brand small{font-size:8px;letter-spacing:normal;margin-top:5px}.sidebar-divider{margin:22px 9px}.story-brand{gap:18px;letter-spacing:normal}.story-logo-panel{display:flex;align-items:center;gap:16px;background:#fff;padding:11px 15px;border-radius:8px}.story-logo-panel img{width:93px;max-height:49px;object-fit:contain}.story-brand>span:last-child{line-height:1.8}.story-brand small{font-size:7px;color:#93aabd;font-weight:500}.speed-comparison-card{margin:23px 0}.speed-legend{display:flex;gap:25px;align-items:center;font-size:10px;color:#8595a4}.speed-legend>span{display:flex;gap:7px;align-items:center}.speed-legend i{display:inline-block;width:18px;height:3px;border-radius:2px}.weekday-line{background:#368d9b}.weekend-line{background:#ed8a47}.speed-legend>small{margin-left:auto;color:#a6b0ba;font-size:8px}.speed-chart{margin-top:20px;min-height:200px;overflow:auto}.speed-chart svg{width:100%;height:240px;min-width:500px;overflow:visible}.speed-insight{font-size:10px;color:#8d9aa5;line-height:1.8;border-top:1px solid #eef1f4;padding-top:13px;margin-top:14px}.speed-insight strong{color:#8e6946;font-weight:600}.speed-peak-label{fill:#b38a61;font-size:9px;font-family:inherit}.mobile-partner-logos{display:none}.stat-hint{line-height:1.5}
@media(max-width:1200px){.primary-brand-logos{gap:9px;padding:10px 8px}.primary-brand-logos img{width:74px}.story-logo-panel{gap:10px;padding:10px}.story-logo-panel img{width:73px}.story-brand{gap:10px}.story-brand>span:last-child{font-size:8px}}
@media(max-width:760px){.topbar-context{display:none}.mobile-partner-logos{display:flex;align-items:center;gap:12px}.mobile-partner-logos img{width:70px;max-height:34px;object-fit:contain}.mobile-partner-logos.single img{width:100px;max-height:37px}.speed-legend{gap:15px;flex-wrap:wrap;font-size:9px}.speed-legend>small{width:100%;margin-left:0}.speed-comparison-card{margin:17px 0}.speed-insight{font-size:9px}.primary-brand-logos img{width:85px}}

/* Ajuste editorial: tipografía del sistema, mayor legibilidad y superficies más sobrias. */
:root{font-family:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--ink:#22364a;--muted:#63768a;--bg:#f3f6f9;--line:#e3e9ef;--shadow:0 4px 18px #192d4306}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,.stat-value{font-family:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif}
button,input,select,textarea{font-family:inherit}
button{transition:background .16s,color .16s,box-shadow .16s}
.button{font-size:12px;font-weight:600;border-radius:9px}
.button.primary{box-shadow:0 4px 12px #ea84401a}
.eyebrow{font-size:10px;letter-spacing:normal;font-weight:650;color:#708398}
.muted{color:var(--muted)}
.login-story{background:radial-gradient(ellipse at 15% 80%,#2b4c60 0,transparent 55%),linear-gradient(145deg,#142334,#1e344a);padding:54px 10% 40px}
.story-brand>span:last-child{font-size:13px;letter-spacing:normal;line-height:1.7}
.story-brand small{font-size:9px;letter-spacing:normal;color:#9eb2c4}
.story-copy{margin-top:110px}
.story-copy h1{font-weight:500;font-size:clamp(39px,4vw,62px);line-height:1.1;letter-spacing:normal;margin:22px 0 26px}
.story-copy p{font-size:16px;line-height:1.8;color:#b7c5d1;max-width:350px}
.story-pills{gap:10px;margin-top:30px}.story-pills span{font-size:11px;color:#c8d4df;border-color:#718ba547;background:#ffffff03;padding:9px 15px}
.road-art{opacity:.45;bottom:5px}.story-footer{font-size:9px;color:#a5b7c6;letter-spacing:normal}
.login-panel{background:#fbfcfe}.login-card{max-width:380px}.partner-logos{justify-content:flex-start;gap:24px;margin-bottom:48px;padding-bottom:28px;border-bottom:1px solid var(--line)}
.partner-logos img{width:118px;max-height:65px;object-fit:contain}.partner-logos>span{height:38px;background:#e1e7ee}
.login-card>.eyebrow{font-size:10px;color:#77889b}.login-card h2{font-size:32px;font-weight:600;letter-spacing:normal;line-height:1.2;margin:15px 0 14px}
.login-card>.muted{font-size:14px;line-height:1.75;max-width:355px;margin-bottom:30px}
.login-card form{gap:21px}.login-card form label{font-size:13px;color:#40566b;font-weight:600;gap:9px}
.login-card input{min-height:49px;font-size:14px;border-color:#d7e0e9;border-radius:9px;background:#fff}
.login-card input::placeholder{color:#8696a7}.login-card .button{min-height:49px;font-size:14px;margin-top:4px}
.login-help{font-size:12px;color:#728398;line-height:1.7;max-width:350px;margin:24px auto!important}.login-secure{font-size:11px;color:#6b7e91;padding-top:22px}
.login-copyright{font-size:10px;color:#8090a2}.login-panel:before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#ec8a51,transparent 65%)}
.sidebar{background:linear-gradient(180deg,#17283b,#1a2d42)}.nav-item{font-size:13px;padding-top:14px;padding-bottom:14px}.nav-caption{font-size:9px;letter-spacing:normal;color:#8fa4b9}.nav-item.active{background:#ffffff10;box-shadow:inset 2px 0 #ec965e}
.primary-brand-logos{border-radius:10px;padding:14px 10px}.observatory-title{font-size:19px;font-weight:550;letter-spacing:normal}.app-brand small{font-size:9px;letter-spacing:normal;color:#9aafc3}
.scope-card{line-height:1.65;font-size:11px}.scope-card small{font-size:10px;color:#a5b7c8}.sidebar-foot{color:#8da3b8;font-size:10px}
.topbar{background:#ffffffed;border-bottom-color:#e1e8ef}.topbar-context{font-size:12px}.user-details strong{font-size:12px}.user-details small{font-size:10px}
.page-heading h1{font-size:32px;font-weight:600;letter-spacing:normal}.page-heading p{font-size:13px;color:#6a7e91;line-height:1.7}
.filter-card,.stat-card,.card{border-radius:14px;box-shadow:var(--shadow)}.filter-title{font-size:12px;color:#40576c}.filter-grid label,.extra-filters label{font-size:12px;color:#536a7f}.filter-grid input,.filter-grid select{font-size:12px;min-height:42px}.filter-grid.single-organization{grid-template-columns:repeat(4,minmax(0,1fr))}.filter-grid [hidden]{display:none}
.filter-actions .text-button{font-size:11px}.range-presets button{font-size:11px}.filter-bottom summary{font-size:11px}
.stat-label{font-size:12px;color:#64798d}.stat-value{font-size:34px;font-weight:600;font-variant-numeric:tabular-nums;margin:18px 0 10px}.stat-hint{font-size:11px;color:#73869a}.stat-value small{font-size:13px;color:#72869a}
.card-heading h2{font-size:17px;letter-spacing:normal;font-weight:600}.card-heading .eyebrow{font-size:9px}.card-heading .muted{font-size:12px;line-height:1.65}.chart-legend{font-size:11px;color:#6c8094}.chart-legend small{font-size:10px}.chart-tabs button{font-size:11px}.chart-label{fill:#718599;font-size:10px}.weekday-row{font-size:12px;margin:16px 0}.weekday-row .weekday-name{color:#62788d}.weekday-row .weekday-count{font-size:11px;color:#62788d}.insight{font-size:11px;color:#6f8091;line-height:1.7}
.speed-legend{font-size:12px;color:#657c90}.speed-legend>small{font-size:10px;color:#718499}.speed-insight{font-size:12px;color:#697e92;line-height:1.8}.speed-peak-label{font-size:10px}.speed-chart svg{height:250px}
.ranking-location strong{font-size:12px}.ranking-location small{font-size:11px;color:#73869a}.ranking-count{font-size:14px}.ranking-count small{font-size:10px;color:#73869a}.ranking-row{padding:14px 0}
.data-note{font-size:11px;color:#75889b;line-height:1.8}.page-footer{font-size:10px;color:#7e90a2}.table-tag{font-size:11px}table{font-size:12px}th{font-size:11px;color:#657c90}td strong{font-size:12px}td small{font-size:11px;color:#71869a}.pill{font-size:11px}.pagination{font-size:12px}.edit-button{font-size:12px}
@media(max-width:1200px){.page-heading h1{font-size:29px}.stat-label{font-size:11px}.card-heading h2{font-size:16px}.story-copy h1{font-size:45px}.story-brand>span:last-child{font-size:12px}}
@media(max-width:980px){.story-copy h1{font-size:39px;letter-spacing:normal}.story-copy p{font-size:14px}.login-story{padding-left:8%;padding-right:8%}.filter-grid.single-organization{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.login-panel{padding:42px 28px 76px;background:radial-gradient(ellipse at top right,#edf3f8,#fbfcfe 60%)}.login-card{max-width:390px}.partner-logos{margin-bottom:38px}.login-card h2{font-size:31px}.login-secure{font-size:11px}.login-copyright{font-size:10px}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:10px}.stat-value{font-size:31px}.stat-label{font-size:11px}.stat-hint{font-size:10px}.card-heading h2{font-size:16px}.card-heading .muted{font-size:11px}.chart-tabs button{font-size:10px}.speed-legend{font-size:11px}.speed-legend>small{font-size:10px}.speed-insight{font-size:11px}.speed-chart svg{height:215px}.data-note{font-size:10px}.page-footer{font-size:9px}.mobile-partner-logos{gap:14px}.mobile-partner-logos img{width:74px;max-height:37px}}
@media(max-width:450px){.filter-grid.single-organization label:last-child{grid-column:auto}.filter-grid label,.extra-filters label{font-size:11px}.filter-title{font-size:11px}.filter-actions .button,.filter-actions .text-button{font-size:10px}.stat-label{font-size:10px;line-height:1.4}.stat-value{font-size:30px}.stat-hint{font-size:10px;line-height:1.5}.stat-card{min-height:145px}.card-heading h2{font-size:15px}.chart-tabs button{font-size:9px}.weekday-row{font-size:12px}.page-heading h1{font-size:26px}.login-card h2{font-size:30px}.partner-logos img{width:110px}.login-card>.muted{font-size:14px}}

/* Seguridad vial: tasas calculadas sobre mediciones con límite conocido. */
.speeding-section{margin:28px 0 30px;padding-top:28px;border-top:1px solid #dfe7ee}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px}.section-heading h2{font-size:25px;font-weight:600;letter-spacing:normal;margin:8px 0}.section-heading p{font-size:13px;line-height:1.6}.speeding-tag{font-size:11px;color:#9c614b;background:#fff0e8;border:1px solid #f4ded1;border-radius:20px;padding:9px 13px;white-space:nowrap}.speeding-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.speeding-stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:13px;box-shadow:var(--shadow)}.speeding-stat>span{font-size:12px;color:#6a7e91;font-weight:600}.speeding-stat strong{font-size:27px;font-weight:600;letter-spacing:normal;color:#30485f;font-variant-numeric:tabular-nums}.speeding-stat:first-child{border-top:2px solid #cb7560}.speeding-stat:first-child strong{color:#ac5748}.speeding-stat>small{font-size:11px;color:#71869a;line-height:1.65}.coverage-note{font-size:11px;color:#6e8194;line-height:1.8;margin:15px 0 22px}.speeding-hours{overflow:auto;margin-top:18px}.speeding-hours svg{width:100%;min-width:480px;height:230px}.speeding-day{grid-template-columns:65px 1fr 70px}.speeding-day .weekday-track>span{background:#c57a66}.speeding-day .weekday-count small{display:block;font-size:10px;color:#8193a4;margin-top:4px}.chart-footnote{font-size:11px;line-height:1.8;margin-top:17px}.speeding-week-card{margin-bottom:23px}.speeding-weeks{display:flex;gap:12px;overflow:auto;padding-bottom:8px}.speeding-week{flex:0 0 175px;background:#f6f8fa;border:1px solid #e8edf2;border-radius:10px;padding:17px;display:flex;flex-direction:column;gap:12px}.speeding-week>span{font-size:11px;color:#677d91}.speeding-week>strong{font-size:23px;color:#344f66;font-weight:600}.speeding-week>strong small{font-size:11px;color:#71869a;font-weight:400}.speeding-week>small{font-size:11px;color:#71869a;line-height:1.65}.pill.danger{background:#fbede9;color:#a45647}.speeding-section td small{max-width:440px}.speeding-section td .pill{font-size:13px}
@media(max-width:1100px){.speeding-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.speeding-tag{display:none}}
@media(max-width:760px){.speeding-section{margin-top:24px;padding-top:23px}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.speeding-stats{gap:12px}.speeding-stat{padding:16px;gap:11px}.speeding-stat>span{font-size:11px;line-height:1.5}.speeding-stat strong{font-size:24px}.speeding-stat>small{font-size:10px}.speeding-hours svg{height:210px}.speeding-day{grid-template-columns:65px 1fr 65px}.coverage-note{font-size:10px}.speeding-week-card{margin-bottom:17px}}

/* Señales de exceso en rojo y rótulos con tipografía de lectura normal. */
.nav-caption{font-size:12px;font-weight:500;letter-spacing:normal;text-transform:none;color:#aebfd0;padding-left:14px;margin:20px 0 12px}.app-brand small{font-size:12px;font-weight:400;letter-spacing:normal;text-transform:none;color:#aebfd0;line-height:1.6;margin-top:4px}
.eyebrow,.card-heading .eyebrow,.page-heading .eyebrow,.login-card>.eyebrow{font-size:12px;font-weight:500;letter-spacing:normal;text-transform:none;line-height:1.5}.story-brand small{letter-spacing:normal;font-size:11px}.speeding-section .speeding-tag{color:#b42318;background:#fff1f0;border-color:#f7cdca}.speeding-section.has-excess .speeding-stat strong{color:#c62828}.speeding-stat:first-child{border-top-color:var(--line)}.speeding-stat:first-child strong{color:#30485f}.speeding-section.has-excess .speeding-stat:first-child{border-top-color:#d32f2f;background:#fffafa}.speeding-section .weekday-line{background:#c62828}.speeding-section .weekend-line{background:#f28b82}.speeding-day .weekday-track>span{background:#c62828}.pill.danger{background:#ffeded;color:#b42318}.speeding-section.has-excess .speeding-week>strong{color:#b42318}
#refresh-button{display:inline-flex;align-items:center;gap:8px}#refresh-button[hidden]{display:none}#refresh-button [data-icon]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px}#refresh-button svg{width:18px;height:18px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
@media(max-width:450px){.eyebrow,.card-heading .eyebrow,.page-heading .eyebrow{font-size:11px}.heading-actions #refresh-button svg{display:block}.heading-actions #refresh-button{gap:6px}}

/* Exploración territorial y mediciones en vivo. */
.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px}.map-toolbar h2{font-size:18px;font-weight:600;margin-bottom:8px}.map-toolbar p{font-size:12px;line-height:1.6}.map-filters{display:flex;align-items:end;gap:12px}.map-filters label{font-size:11px}.map-filters select{max-width:240px}.map-filters input{max-width:210px}.map-browser{display:grid;grid-template-columns:285px minmax(0,1fr);gap:18px}.map-device-panel{padding:18px 0}.map-device-panel>h2{font-size:15px;font-weight:600;padding:0 18px 16px}.map-device-list{max-height:550px;overflow:auto}.map-device{display:flex;gap:12px;width:100%;text-align:left;background:transparent;padding:16px 18px;border-top:1px solid #edf1f5;align-items:start;color:#30495e}.map-device:hover{background:#f5f8fb}.map-device.selected{background:#edf5fb;box-shadow:inset 3px 0 #337eb0}.map-device strong{font-size:12px;font-weight:600;display:block;overflow-wrap:anywhere}.map-device small{font-size:11px;color:#71869a;display:block;line-height:1.6;margin-top:5px}.map-list-dot{height:9px;width:9px;border-radius:50%;flex:0 0 9px;margin-top:4px}.map-list-dot.precise{background:#2675a5}.map-list-dot.approximate{background:#ce963e}.map-list-dot.unlocated{background:#b4bfc8}.map-canvas-wrap{position:relative;min-width:0}.totem-map{height:620px;min-height:400px;border:1px solid #dce4ec;border-radius:14px;background:#e9eef1;z-index:0;font-family:inherit}.totem-map .leaflet-control-attribution{font-size:10px;line-height:1.6}.totem-map .leaflet-control-zoom a{color:#29455d}.map-tile-error{position:absolute;bottom:40px;left:15px;right:15px;padding:10px 12px;background:#fff9eaeF;border:1px solid #eeddbc;border-radius:8px;color:#7f683c;font-size:11px;z-index:1;line-height:1.6}.totem-pin{background:transparent;border:0}.totem-pin>span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50% 50% 50% 5px;transform:rotate(-45deg);background:#2675a5;border:3px solid white;box-shadow:0 3px 10px #16324740;color:white;font-size:14px;font-weight:700}.totem-pin>span>svg{width:19px;height:19px;transform:rotate(45deg);fill:none;stroke:white;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.totem-pin.approximate>span{background:#c58c31}.map-selected{margin-top:18px;display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.map-selected h2{font-size:23px;font-weight:600;margin:8px 0 10px;overflow-wrap:anywhere}.map-selected p{font-size:13px;line-height:1.7;color:#6d8295}.map-selection-meta{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#6b8093}.map-selection-meta strong{color:#354f64;font-size:14px}.map-neighbours{display:flex;flex-wrap:wrap;gap:12px;width:100%;align-items:center;border-top:1px solid var(--line);padding-top:15px;font-size:11px}.coordinate-fields{margin-top:19px}.coordinate-help{font-size:11px;line-height:1.7;margin-top:12px}.map-live-badge{display:flex;align-items:center;gap:8px;font-size:11px;color:#5c7c72;margin:17px 0 0}.municipal-message{border:1px solid #dae5ee;background:#fff;border-radius:12px;box-shadow:0 4px 18px #243a5425;padding:12px 16px;min-width:160px;font-family:inherit;white-space:normal}.municipal-message strong{font-size:24px;display:block;color:#27536b;margin:5px 0}.municipal-message strong span{font-size:12px;font-weight:400}.municipal-message small{font-size:10px;display:block;color:#6e8294;line-height:1.5}.municipal-message.excess{border-color:#efb2ae}.municipal-message.excess strong{color:#c62828}.municipal-message:before{border-top-color:white}
@media(max-width:1200px){.map-toolbar{flex-direction:column;align-items:stretch}.map-browser{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:850px){.map-browser{grid-template-columns:1fr}.map-device-panel{order:2}.map-device-list{max-height:250px}.totem-map{height:470px}.map-filters{flex-wrap:wrap}.map-filters label{flex:1;min-width:130px}.map-filters input,.map-filters select{max-width:none}.map-selected{flex-direction:column;gap:17px}}
@media(max-width:450px){.map-filters{gap:10px}.map-filters .button{width:100%}.totem-map{height:420px}.map-toolbar{padding:18px}.map-toolbar h2{font-size:17px}.totem-map .leaflet-control-attribution{font-size:9px;max-width:240px}.municipal-message{min-width:140px;padding:10px 12px}}

.totem-pin>span>b{transform:rotate(45deg);font-weight:700}.municipal-message{animation:municipal-appear .22s ease-out both,municipal-disappear .35s ease-in var(--message-duration,5650ms) forwards}.municipal-message .message-body{animation:municipal-rise .25s ease-out both}
@keyframes municipal-appear{from{opacity:0}to{opacity:1}}@keyframes municipal-disappear{to{opacity:0}}@keyframes municipal-rise{from{transform:translateY(7px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.municipal-message,.municipal-message .message-body{animation:none}}

/* Filtros con búsqueda y señales de actividad neutrales. */
#stats .stat-card:first-child{border-top:1px solid var(--line)}#stats .stat-card:first-child .stat-icon{background:#f2f5f7;color:#748a9d}
#refresh-button .refresh-icon{display:block;flex:0 0 18px;width:18px;height:18px;opacity:.8}.stat-value{line-height:1.15}.measurement-speed-filter{font-size:11px;min-width:190px;max-width:230px}.measurement-speed-filter select{font-size:12px;min-height:38px;padding:8px 10px}.filter-bottom{flex-wrap:wrap}.filter-actions{margin-left:auto}.records-tools{display:flex;gap:15px;align-items:center}.records-tools>label{font-size:11px;gap:5px}.records-tools select{font-size:12px;padding:7px 30px 7px 10px;min-height:35px}.record-brand-logo{display:block;width:83px;height:30px;object-fit:contain;object-position:left center;margin-bottom:6px}
.ts-wrapper{width:100%;font:inherit;min-width:0}.ts-wrapper.single .ts-control{border:1px solid #dfe5ec;border-radius:8px;box-shadow:none;background:#fff!important;min-height:42px;padding:11px 30px 10px 12px;line-height:1.4;font-size:12px;color:#233448}.ts-wrapper .ts-control>input{min-height:0;padding:0!important;border:0!important;box-shadow:none!important;font-size:12px;line-height:1.5}.ts-wrapper .ts-control>.item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.ts-wrapper.focus .ts-control{border-color:#6a8ca4;box-shadow:0 0 0 3px #4f84951a}.ts-dropdown{border:1px solid #dce5ec;border-radius:10px;box-shadow:0 10px 30px #17253820;margin-top:5px;font-family:inherit;font-size:12px;overflow:hidden;z-index:1200;color:#30495f}.ts-dropdown .option{padding:10px 12px;line-height:1.6}.ts-dropdown .active{background:#edf4f8;color:#233e55}.ts-dropdown .selected{background:#e8f0f5;font-weight:600}.ts-dropdown .highlight{background:#d3e4ef;color:inherit;border-radius:2px}.ts-dropdown .dropdown-input-wrap{padding:10px;background:#f8fafc;border-bottom:1px solid #e6edf3}.ts-dropdown .dropdown-input{border:1px solid #dbe4ec;border-radius:7px;padding:9px 10px;min-height:36px;width:100%;font-size:12px;box-shadow:none}.ts-dropdown .no-results{padding:14px;color:#7c8d9c}.ts-wrapper.single .ts-control:after{border-top-color:#74899a;right:12px}.ts-wrapper.multi .ts-control{min-height:48px;border:1px solid #dfe5ec;box-shadow:none;border-radius:8px;padding:8px;line-height:1.6;background:#fff;gap:6px}.ts-wrapper.multi .ts-control>.item{background:#edf3f7;border:1px solid #d9e5ed;border-radius:5px;color:#36566e;padding:5px 7px;text-shadow:none;box-shadow:none;white-space:normal;line-height:1.4;font-size:12px;margin:0}.ts-wrapper.plugin-remove_button .item .remove{border-left:1px solid #cbdce7;color:#5f7d91;margin-left:6px;padding-left:6px}.ts-wrapper.disabled{opacity:.55}.ts-wrapper.disabled .ts-control{background:#f3f5f7!important}.extra-filters .ts-wrapper{min-width:160px}.map-filters .ts-wrapper{min-width:175px;max-width:300px}
.location-search-panel{border:1px solid var(--line);border-radius:9px;margin-top:19px;padding:13px}.location-search-panel summary{cursor:pointer;font-size:12px;font-weight:600;color:#42657e}.location-search-panel>label{margin-top:16px}.location-search-actions{display:flex;gap:9px;justify-content:space-between;margin-top:10px}.location-search-actions .button{font-size:11px;padding:8px 10px}.location-search-panel>p{font-size:11px;line-height:1.7;margin-top:12px}.location-results{display:flex;flex-direction:column;gap:7px;margin:12px 0}.location-result{display:block;width:100%;background:#f7f9fb;border:1px solid #e3eaf0;border-radius:8px;padding:11px 12px;text-align:left;color:#35536b}.location-result:hover{border-color:#86abc2;background:#f0f6fa}.location-result strong{display:block;font-size:12px;line-height:1.6;font-weight:600}.location-result small{display:block;font-size:10px;color:#8192a0;line-height:1.6;margin-top:3px}.location-picker-map{height:270px;border:1px solid #dfe7ee;border-radius:9px;z-index:0;font-family:inherit}.location-picker-map .leaflet-control-attribution{font-size:9px}#device-dialog{width:min(640px,calc(100% - 30px))}.records-tools .table-tag{align-self:center}
@media(max-width:760px){.filter-bottom{align-items:end;gap:15px}.measurement-speed-filter{max-width:none;flex:1;min-width:180px}.filter-actions{margin-left:auto}.records-tools{gap:10px}.table-card>.card-heading .records-tools{width:100%;justify-content:space-between}.record-brand-logo{width:75px;height:28px}.ts-wrapper.single .ts-control{padding:10px 26px 10px 10px;min-height:40px}.map-filters .ts-wrapper{min-width:0;max-width:none}.location-search-actions{flex-wrap:wrap}.location-search-actions .button{flex:1;min-width:120px}}

.filter-grid label,.extra-filters label,.map-filters label{min-width:0}.ts-wrapper{max-width:100%}.ts-control{max-width:100%;min-width:0}.ts-wrapper.single .ts-control>.item{min-width:0;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}select.tomselected{display:none!important}
/* Controles integrados y filtros alineados. */
select,.ts-wrapper.single .ts-control,.ts-wrapper.single .ts-control .item{cursor:pointer!important}
.ts-wrapper.single .ts-control:after{transition:transform .18s ease;border-bottom:0!important;margin-top:-2px!important}
.ts-wrapper.single.dropdown-active .ts-control:after{transform:rotate(180deg);border-top:5px solid #74899a!important}
.ts-dropdown{transform-origin:top center;animation:dropdown-enter .18s ease-out both}
.ts-dropdown.is-closing{animation:dropdown-leave .14s ease-in both;pointer-events:none}
.ts-dropdown .option{transition:background .12s ease,color .12s ease;cursor:pointer}
.ts-dropdown input{cursor:text}
@keyframes dropdown-enter{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes dropdown-leave{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}
.filter-grid.has-speed-filter{grid-template-columns:repeat(3,minmax(0,1fr))}
.filter-grid .measurement-speed-filter{min-width:0;max-width:none;grid-column:auto}
.filter-bottom{display:grid;grid-template-columns:1fr;align-items:start;gap:12px}
.filter-bottom>details{width:100%;min-width:0}
.filter-bottom summary{width:fit-content;align-items:center;padding:7px 0;font-size:12px;color:#5f7589}
.filter-bottom summary span{transition:transform .18s ease}
.filter-bottom details[open] summary span{transform:rotate(45deg)}
.filter-bottom .extra-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:12px 0 2px;animation:dropdown-enter .18s ease-out}
.extra-filters label,.extra-filters .ts-wrapper{min-width:0}
.filter-actions{justify-self:end;margin-left:0}
.records-tools .ts-wrapper{min-width:125px}
.portal-date{cursor:pointer;padding-right:37px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2374899a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") no-repeat right 11px center}
.flatpickr-calendar{font:inherit;border:1px solid #dce5ec;border-radius:12px;box-shadow:0 12px 40px #17253824;padding:8px;width:324px;color:var(--ink);background:#fff}
.flatpickr-calendar.open{animation:dropdown-enter .18s ease-out}
.flatpickr-calendar .flatpickr-rContainer,.flatpickr-calendar .flatpickr-days{width:100%}
.flatpickr-calendar .dayContainer{width:100%;min-width:306px;max-width:306px}
.flatpickr-calendar .flatpickr-months{padding:3px 0 8px;align-items:center}
.flatpickr-calendar .flatpickr-months .flatpickr-month{height:38px}
.flatpickr-calendar .flatpickr-current-month{font-size:14px;padding-top:7px}
.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months{min-height:28px;padding:2px 5px;border-radius:5px;font-weight:600;width:auto}
.flatpickr-calendar .numInputWrapper{width:65px}
.flatpickr-calendar .numInputWrapper input{min-height:28px;font-size:14px;padding:2px 0 2px 5px;border:0;box-shadow:none;font-weight:600}
.flatpickr-calendar .flatpickr-prev-month,.flatpickr-calendar .flatpickr-next-month{top:10px;padding:9px;height:32px;border-radius:7px}
.flatpickr-calendar .flatpickr-prev-month{left:9px}.flatpickr-calendar .flatpickr-next-month{right:9px}
.flatpickr-calendar .flatpickr-prev-month:hover,.flatpickr-calendar .flatpickr-next-month:hover{background:#edf4f8}
.flatpickr-calendar .flatpickr-weekday{font-size:11px;color:#74899a;font-weight:500}
.flatpickr-calendar .flatpickr-day{font-size:12px;border-radius:8px;max-width:none;height:39px;line-height:39px;margin:2px 0}
.flatpickr-calendar .flatpickr-day.today{border-color:#9bb2c4}
.flatpickr-calendar .flatpickr-day:hover,.flatpickr-calendar .flatpickr-day:focus{background:#edf4f8;border-color:#edf4f8}
.flatpickr-calendar .flatpickr-day.selected{background:var(--navy);border-color:var(--navy);color:#fff}
.flatpickr-calendar:before,.flatpickr-calendar:after{display:none}
@media(max-width:760px){.filter-grid,.filter-grid.single-organization,.filter-grid.has-speed-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid label:last-child{grid-column:auto}.filter-bottom{gap:12px;align-items:start}.filter-actions{gap:16px}}
@media(max-width:380px){.filter-bottom .extra-filters{grid-template-columns:1fr}.flatpickr-calendar{width:300px}.flatpickr-calendar .dayContainer{min-width:282px;max-width:282px}}
@media(prefers-reduced-motion:reduce){.ts-dropdown,.ts-dropdown.is-closing,.flatpickr-calendar.open,.filter-bottom .extra-filters{animation:none!important}.ts-wrapper.single .ts-control:after,.filter-bottom summary span{transition:none}}
@media(max-width:450px){.filter-top{flex-wrap:wrap;gap:12px}.range-presets{margin-left:auto}.range-presets button{white-space:nowrap}.filter-grid input.portal-date{font-size:12px}}

/* Versiones: componente compartido entre mediciones, ubicaciones y mapa. */
device-version{display:inline-flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%;vertical-align:middle;line-height:1.4}device-version .version-brand-logo{display:block;width:83px;height:30px;object-fit:contain;object-position:left center}device-version .version-number{display:block;font-size:11px;color:#6d8295;overflow-wrap:anywhere;white-space:normal}device-version .version-brand-name{display:inline-flex;background:#edf3f7;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:600;color:#47647c}.map-selection-meta device-version{margin-top:3px}@media(max-width:760px){device-version .version-brand-logo{width:75px;height:28px}}

/* Accesos independientes, tipografía natural y altura adaptable. */
.login-screen{min-height:100svh;grid-template-columns:1fr 1fr}
.login-story{min-height:0;padding:clamp(28px,5vh,54px) 10%;display:flex;flex-direction:column}
.login-story .story-copy{margin-top:clamp(32px,10vh,100px);margin-bottom:110px}
.login-story .story-copy h1{font-size:clamp(34px,3.6vw,56px)}
.login-story .story-footer{position:static;margin-top:auto;font-size:10px;line-height:1.6}
.login-panel{min-height:100svh;padding:clamp(24px,4vh,44px) 36px;gap:20px}
.login-card{max-width:380px}
.login-identity{justify-content:center;min-height:72px;margin:0 0 24px;padding:0 0 20px;border-bottom:1px solid var(--line)}
.login-identity img:first-child,.login-identity img:last-child{display:block;width:200px;height:56px;max-height:56px;object-fit:contain;object-position:center}
.login-screen[data-access="iotlab"] .login-identity img{width:178px}
.login-screen[data-access="super"] .login-identity img{width:48px;height:48px}
.login-screen[data-access="iotlab"] .login-story{background:radial-gradient(ellipse at 15% 80%,#343541,transparent 55%),linear-gradient(145deg,#181d27,#2c3040)}
.login-screen[data-access="iotlab"] .login-card .button.primary{background:#b42b35}
.login-screen[data-access="super"] .login-card .button.primary{background:#294a65}
.login-card h2{font-size:30px;margin:10px 0 12px}
.login-card>.muted{font-size:14px;line-height:1.65;margin-bottom:22px}
.login-card form{gap:16px}
.login-card input,.login-card .button{min-height:46px}
.login-card .login-help{margin:18px auto!important;font-size:11px;line-height:1.6}
.login-card .login-secure{padding-top:16px;font-size:11px}
.login-copyright{position:static;font-size:10px;text-align:center;line-height:1.5}
@media(max-height:760px) and (min-width:761px){.login-panel{padding-top:20px;padding-bottom:20px;gap:14px}.login-identity{min-height:60px;padding-bottom:14px;margin-bottom:16px}.login-card h2{font-size:27px}.login-card>.muted{margin-bottom:16px}.login-card form{gap:13px}.login-card .login-help{margin:12px auto!important}.login-story .story-copy{margin-top:36px}.login-story .story-copy h1{font-size:38px}}
@media(max-width:760px){.login-screen{grid-template-columns:1fr}.login-story{display:none}.login-panel{padding:28px 24px;min-height:100svh}.login-card{max-width:380px}.login-identity{margin-bottom:22px}}
