/* RGTECH identity. Original logo and local, OFL-licensed interface fonts. */
@font-face{font-family:RGTechText;src:url('/static/brand/fonts/roboto-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:RGTechHeadings;src:url('/static/brand/fonts/raleway-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--bg:#f3f6f8;--ink:#1c3242;--muted:#627482;--line:#dfe7ec;--green:#007e80;--lime:#63dfcc;--nav:#0b1b2b;--shadow:0 3px 18px #142e4608;--rgtech-accent:#00a98f;--rgtech-deep:#0b1b2b}
body{font-family:RGTechText,"Segoe UI",Arial,sans-serif}
h1,h2,h3,h4,.auth-copy h1,.auth-form h2{font-family:RGTechHeadings,"Segoe UI",Arial,sans-serif;font-weight:700;letter-spacing:-.025em}
h1{font-variant-numeric:lining-nums}input,select,textarea,.stat strong{font-variant-numeric:lining-nums tabular-nums}
.brand{display:flex;align-items:center;letter-spacing:normal;color:#fff}
.brand-art{display:flex;flex-direction:column;align-items:flex-start;gap:9px;line-height:1}
.brand-wordmark{display:block;width:178px;height:auto;filter:brightness(0) invert(1)}
.brand-art>small{font:500 9px/1.2 RGTechText,Arial,sans-serif;color:#a8c3ce;letter-spacing:2.4px;margin-left:1px}
.brand-symbol{display:none;width:39px;height:39px;overflow:hidden;flex-shrink:0}
.brand-symbol>img{display:block;width:auto;max-width:none;height:39px;filter:brightness(0) invert(1)}
.sidebar{background:var(--nav);color:#a8beca;border-right:1px solid #17334a}
.sidebar .brand{padding:0 6px}.sidebar .brand-art{width:100%}.sidebar .brand-wordmark{max-width:100%}.sidebar .brand-wordmark{width:177px}.nav-caption{color:#8ea9b7}
.nav-item{color:#b6c8d2}.nav-item:hover{background:#142d40}.nav-item.active{background:#133b44;color:#74ead6;box-shadow:inset 3px 0 0 var(--rgtech-accent)}
.nav-count{background:#20515a;color:#b3fff0}.sidebar-bottom .local-card{background:#0e2334;border-color:#254355;color:#d0dce3}.local-card small,.user-row small{color:#9bb8c5}.user-row{border-color:#254355}.user-row .icon-button{color:#bed1db}.user-row .icon-button:hover{background:#183b4c;color:#fff}.avatar{background:#16434b;color:#9bf3e0}
.button{color:#34515f;border-color:#d6e2e8}.button:hover,.icon-button:hover{background:#eaf5f5}.button.primary{background:#007e80;border-color:#007e80;color:#fff}.button.primary:hover{background:#006b70;border-color:#006b70}
.button:focus-visible,.nav-item:focus-visible,.icon-button:focus-visible,a:focus-visible{outline:3px solid #00a98f;outline-offset:3px}
label>input:focus,label>textarea:focus,label>select:focus{border-color:#00868a;outline:2px solid #00868a33}
.text-button,.panel-link,.settings-card a{color:#007779}.topbar{border-bottom-color:var(--line)}.breadcrumb,.main-footer,.help{color:#627482}
.live-badge:not(.failed){background:#e8f6f2;color:#24695c;border-color:#c8e6dc}.live-dot{background:#19b39a;box-shadow:0 0 0 3px #19b39a18}
.badge.online,.badge.resolved{color:#256958;background:#e5f5ee}.stat-icon.green{color:#007b78;background:#e0f3ef}
.panel,.settings-card{border-color:var(--line)}.panel-header,.table-footer{border-color:var(--line)}
.auth-story{background:radial-gradient(ellipse at 85% 10%,#0b4a5955,transparent 55%),linear-gradient(145deg,#091624,#102b40);color:#f0f6fa;isolation:isolate}
.auth-story:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#59c6c708 1px,transparent 1px),linear-gradient(90deg,#59c6c708 1px,transparent 1px);background-size:48px 48px;pointer-events:none}
.auth-story .brand-wordmark{width:245px}.auth-story .brand-art>small{font-size:10px;letter-spacing:3px;color:#b0c8d6}
.auth-copy>.eyebrow{color:#72e1cd;letter-spacing:2px}.auth-copy h1{font-weight:650;letter-spacing:-1.2px;line-height:1.17}.auth-copy>p{color:#b0c4d2;font-size:14px;max-width:390px}
.auth-form-wrap{background:#f7f9fb}.auth-form>p:not(.eyebrow){color:#5f7483}.auth-form .eyebrow{color:#007779}.auth-foot{color:#a3bdcc}
.auth-orbit{border-color:#4da2af40}.auth-orbit:before{border-color:#59c5be55}.auth-orbit:after{border-color:#67a3b32a}.orbit-dot{background:#0c3445;border-color:#78e8d3;box-shadow:0 0 0 6px #00a98f14}.orbit-badge{background:#143a4c;border-color:#2c5f6e;color:#b8f5e7;box-shadow:0 5px 20px #05142233}
.orbit-car{background:#102e42;border-color:#3c6c77;transform:rotate(-6deg);border-radius:17px;padding:20px;width:98px;height:98px}
.orbit-car .brand-symbol{display:block;width:54px;height:54px}.orbit-car .brand-symbol>img{height:54px}
.media-brand{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px;flex-wrap:wrap}.media-brand .brand-wordmark{width:180px;filter:none}.media-brand small{display:block;color:var(--muted);letter-spacing:1.5px;font-size:10px;margin-top:8px}.media-brand>a{color:#006f75;font-size:12px}
.intercom-page{background:var(--bg)}.intercom-card{border-top:4px solid var(--rgtech-accent)}
@media(min-width:1001px){.sidebar nav{overflow-y:auto;min-height:0;padding:0 5px 10px 0;scrollbar-color:#315165 var(--nav);scrollbar-width:thin}.sidebar{overflow:hidden}.sidebar .nav-caption{margin-top:28px;flex-shrink:0}.sidebar .brand,.sidebar-bottom{flex-shrink:0}.sidebar-bottom .local-card{margin-top:14px}}
@media(max-width:1000px){.sidebar .brand-wordmark,.sidebar .brand-art>small{display:none}.sidebar .brand-art>.brand-symbol{display:block}.sidebar .brand{padding:0;justify-content:center}.sidebar .brand-art{gap:0;width:auto;align-items:center}.sidebar nav{overflow-y:auto;min-height:0;margin-top:22px;scrollbar-width:thin;scrollbar-color:#315165 var(--nav)}.sidebar{overflow:hidden}.sidebar .brand,.sidebar-bottom{flex-shrink:0}.auth-story .brand-wordmark{width:210px}}
@media(max-width:720px){.auth-story .brand-wordmark{width:185px}.auth-story .brand-art>small{font-size:8px;letter-spacing:2.6px}.auth-copy h1{font-size:30px}.media-brand .brand-wordmark{width:155px}}

/* Shared filter rows: consistent label spacing and aligned controls. */
.history-filters{align-items:flex-end}
.history-filters label:not(.check-label){display:flex;flex-direction:column;gap:8px;line-height:1.5;margin:0;min-width:0}
.history-filters label:not(.check-label)>input:not([type=checkbox]):not([type=radio]),.history-filters label:not(.check-label)>select{box-sizing:border-box;display:block;width:100%;height:40px;min-height:40px;min-width:0;margin:0;padding:8px 12px}
.history-filters>.button{height:40px;min-height:40px;margin-bottom:0}

/* Task-based navigation with a readable menu on compact screens. */
.nav-tools{margin:20px 5px 12px;flex-shrink:0}.nav-search-label{display:flex!important;flex-direction:column;gap:6px;margin:0!important;font-size:10px!important;color:#a8beca!important}.nav-search-label>input{margin:0!important;background:#102b3d!important;border-color:#315165!important;color:#fff!important;font-size:11px;min-width:0}.nav-search-label>input::placeholder{color:#a8beca}
.sidebar nav{display:block;overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#315165 var(--nav)}
.sidebar .nav-group{margin:0 0 5px;color:inherit;font-size:12px}.nav-group>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 8px;border-radius:6px;cursor:pointer;color:#c0d0d9;font-size:11px;font-weight:650;user-select:none}.nav-group>summary::-webkit-details-marker{display:none}.nav-group>summary:hover{background:#142d40}.nav-group>summary:after{content:'›';margin-left:auto;transform:rotate(0deg);font-size:16px}.nav-group[open]>summary:after{transform:rotate(90deg)}.nav-group.has-active>summary{color:#74ead6}.nav-group-symbol{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;background:#193748;border-radius:5px;font-size:10px}.nav-group-items{padding-left:9px;border-left:1px solid #294555;margin:2px 7px 9px}.nav-group-items .nav-item{padding:9px 10px;font-size:11px;margin:2px 0;gap:9px}.nav-group-items .nav-item span{white-space:normal}.nav-group>summary:focus-visible{outline:2px solid #00a98f;outline-offset:-2px}.nav-filtered{display:none!important}.nav-search-empty{font-size:11px;color:#c0d0d9;padding:12px}.nav-menu-toggle{display:none}
@media(max-width:1000px){.sidebar .nav-tools,.sidebar .nav-group-label{display:none}.sidebar .nav-group>summary{justify-content:center;padding:8px 0}.sidebar .nav-group>summary:after{display:none}.sidebar .nav-group-items{padding:0;border:0;margin:0}.sidebar .nav-group-items .nav-item{justify-content:center;padding:10px 0}.sidebar nav{margin-top:10px}.nav-menu-toggle{display:block;margin-top:15px;border:1px solid #315165;border-radius:6px;background:#142d40;color:#d2e5ec;font:600 10px RGTechText,sans-serif;padding:7px 1px}.navigation-expanded .sidebar{width:280px;box-shadow:15px 0 60px #071b2b66}.navigation-expanded .sidebar .brand-wordmark{display:block}.navigation-expanded .sidebar .brand-art>.brand-symbol{display:none}.navigation-expanded .sidebar .brand-art{width:100%}.navigation-expanded .sidebar .nav-tools,.navigation-expanded .sidebar .nav-group-label{display:block}.navigation-expanded .sidebar .nav-group>summary{justify-content:flex-start;padding:10px 8px}.navigation-expanded .sidebar .nav-group>summary:after{display:block}.navigation-expanded .sidebar .nav-group-items{padding-left:9px;border-left:1px solid #294555;margin:2px 7px 9px}.navigation-expanded .sidebar .nav-group-items .nav-item{justify-content:flex-start;padding:9px 10px}.navigation-expanded .sidebar .nav-item span{display:block}.navigation-expanded .sidebar nav{margin-top:0}.navigation-expanded .nav-menu-toggle{font-size:12px}.navigation-expanded .sidebar .nav-item .nav-count{margin-left:auto}.navigation-expanded .sidebar .user-row>div{display:block}}
@media(min-width:1001px){.sidebar nav{padding:0 3px 8px 0}.sidebar .nav-tools{margin-top:20px}.sidebar .sidebar-bottom .local-card{margin-top:10px;padding:9px 8px}}

/* Persistent assistant: non-modal, preserves the current operational screen. */
.assistant-launcher{position:fixed;right:24px;bottom:22px;z-index:1100;border:0;border-radius:30px;padding:16px 23px;background:#007e86;color:white;font:700 15px RGTechText,sans-serif;box-shadow:0 6px 24px #08324740;cursor:pointer}.assistant-launcher:hover{background:#005f69}.assistant-launcher:focus-visible{outline:3px solid #00bfa5;outline-offset:4px}
.assistant-floating{position:fixed;right:24px;bottom:88px;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 112px);overflow:auto;z-index:1099;border:1px solid #cadde3;border-radius:16px;background:#f4f8fa;box-shadow:0 12px 48px #102f4540;padding:16px;overscroll-behavior:contain}.assistant-floating[hidden]{display:none!important}.assistant-floating-bar{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-16px;background:#f4f8fa;z-index:2;padding:8px 0 12px;border-bottom:1px solid #dce6eb;margin-bottom:14px}.assistant-floating .section-intro{display:none}.assistant-floating .assistant-layout{display:flex;flex-direction:column;gap:12px}.assistant-floating .history-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.assistant-floating .history-filters label{min-width:0}.assistant-floating .assistant-conversation{min-height:140px;padding:14px}.assistant-floating .assistant-composer{padding:14px}.assistant-floating textarea{width:100%;box-sizing:border-box}.assistant-floating .assistant-message{overflow-wrap:anywhere}.assistant-floating .assistant-facts{overflow-wrap:anywhere}.assistant-floating .assistant-suggestions{display:flex;flex-wrap:wrap;gap:6px}.assistant-floating .assistant-suggestions .button{white-space:normal;text-align:left}
@media(max-width:600px){.assistant-floating{right:8px;bottom:78px;width:calc(100vw - 16px);box-sizing:border-box;max-height:calc(100dvh - 92px);padding:12px}.assistant-launcher{right:14px;bottom:14px;padding:14px 20px}.assistant-floating-bar{top:-12px}.assistant-floating .history-filters{grid-template-columns:1fr 1fr}}

.assistant-filter-box{margin:8px 0 14px}.assistant-filter-box>summary{cursor:pointer;font-size:12px;color:#006c76;padding:8px 0}.assistant-floating{width:min(520px,calc(100vw - 32px))}.assistant-floating .assistant-conversation{max-height:280px;overflow-y:auto}.assistant-floating .assistant-composer>.help{font-size:10px;line-height:1.4}.assistant-floating .assistant-composer .drawer-actions{margin:8px 0}.assistant-floating .assistant-composer textarea{min-height:70px}.assistant-floating .assistant-floating-bar{gap:10px}.assistant-floating-bar>strong{margin-right:auto}.assistant-floating-bar .button{font-size:11px;padding:8px 10px}@media(max-width:600px){.assistant-floating{width:calc(100vw - 16px)}}

.assistant-user-guide{margin:8px 0 12px;font-size:12px;line-height:1.6}.assistant-user-guide>summary{color:#006c76;cursor:pointer;font-weight:650;padding:6px 0}.assistant-user-guide>div{padding:12px 14px;background:#fff;border:1px solid #dce6eb;border-radius:10px;margin-top:6px}.assistant-user-guide ol{padding-left:20px}.assistant-user-guide li{margin-bottom:8px}

.eco-panel{margin:18px 0;padding:20px}.eco-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.eco-top h3{margin:0}.eco-top .help{margin:8px 0 0}.eco-rating{text-align:right;flex-shrink:0}.eco-rating>strong{display:block;font-size:24px;margin-top:5px;color:#125541}.eco-leaves{display:flex;gap:4px}.eco-leaf{display:block;position:relative;width:36px;height:36px;color:#dce5e0}.eco-leaf svg{display:block;width:36px;height:36px;fill:currentColor}.eco-leaf-vein{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}.eco-leaf-fill{position:absolute;inset:0 auto 0 0;overflow:hidden;color:#248557}.eco-details{margin-top:14px}.eco-details>summary{cursor:pointer;color:#006c76;font-weight:600}.eco-details>p{font-size:12px;line-height:1.6}.eco-details table{font-size:12px}.eco-details td{white-space:normal}.eco-panel[hidden]{display:none!important}@media(max-width:600px){.eco-top{align-items:flex-start;flex-direction:column;gap:14px}.eco-rating{text-align:left}.eco-panel{padding:16px}}

.security-panel .eco-leaf-fill{color:#c74559}.security-panel .eco-rating>strong{color:#a52f43}.security-panel .eco-details li{font-size:12px;margin:6px 0}
