/* Renu Broadband - ILL graph portal */
*{box-sizing:border-box}
body{margin:0;background:#F4F5F9;color:#0A1A3F;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
a{color:#C40F17}a:hover{color:#8F0B11}
button{cursor:pointer;font-family:inherit}
input{font-family:inherit}
input:focus{outline:2px solid #0A1A3F;outline-offset:1px}
[hidden]{display:none!important}
.pop{font-family:Poppins,Inter,sans-serif}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.bob{animation:bob 3.2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.bob{animation:none}}

/* login */
.login{display:flex;flex-wrap:wrap;min-height:100vh}
.hero{flex:1 1 420px;min-width:0;background:#0A1A3F;color:#fff;padding:40px 44px;display:flex;flex-direction:column;justify-content:space-between;gap:32px;position:relative;overflow:hidden}
.hero .arcs{position:absolute;right:-110px;bottom:-110px;width:440px;height:440px;fill:none;stroke:#F8C020;stroke-opacity:.12;stroke-width:20;stroke-linecap:round}
.hero .logo{width:240px;height:auto;position:relative}
.hero .copy{display:flex;flex-direction:column;gap:14px;position:relative;max-width:480px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:#F8C020}
.hero h1{margin:0;font-size:40px;line-height:1.15;font-weight:700}
.hero h1 span{color:#F8C020}
.hero p{margin:0;font-size:16px;line-height:1.6;color:#D6DDEB}
.buddyrow{display:flex;align-items:flex-end;gap:18px;position:relative}
.buddyrow img{width:130px;height:auto;flex:0 0 auto}
.bubble{position:relative;background:#fff;color:#0A1A3F;border-radius:16px;padding:14px 16px;max-width:270px;margin-bottom:110px;display:flex;flex-direction:column;gap:4px}
.bubble:before{content:"";position:absolute;left:-6px;bottom:22px;width:14px;height:14px;background:#fff;transform:rotate(45deg)}
.bubble b{font-size:15px;color:#C40F17;position:relative}
.bubble span{font-size:14px;line-height:1.5;position:relative}
.chips{display:flex;flex-wrap:wrap;gap:8px;position:relative}
.chips span{font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18)}
.formwrap{flex:999 1 460px;min-width:0;display:flex;align-items:center;justify-content:center;padding:48px 20px}
.card{width:100%;max-width:420px;background:#fff;border:1px solid #E1E5EE;border-radius:18px;padding:32px;display:flex;flex-direction:column;gap:18px;box-shadow:0 12px 32px rgba(10,26,63,.08)}
.card h2{margin:0;font-size:26px;font-weight:700}
.muted{font-size:14px;color:#55637D;line-height:1.6}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:600}
.field input{height:48px;padding:0 14px;font-size:16px;border:1px solid #C9D0DD;border-radius:10px;color:#0A1A3F;min-width:0}
.row{display:flex;gap:8px}
.row input{flex:1 1 auto}
.ghost{height:48px;padding:0 14px;border:1px solid #C9D0DD;border-radius:10px;background:#F4F5F9;font-size:14px;font-weight:600;color:#0A1A3F}
.primary{height:50px;border:none;border-radius:10px;background:#E3121B;color:#fff;font-size:16px;font-weight:600;font-family:Poppins,Inter,sans-serif}
.primary:disabled{opacity:.6}
.err{background:#FEF2F2;border:1px solid #FECACA;color:#B42318;font-size:14px;padding:10px 12px;border-radius:8px}
.ok{background:#ECFDF3;border:1px solid #ABEFC6;color:#067647;font-size:14px;padding:10px 12px;border-radius:8px}

/* graph page */
.top{background:#fff;border-bottom:1px solid #E1E5EE}
.wrap{max-width:1200px;margin:0 auto;padding:12px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:38px;height:38px}
.brand .name{font-size:19px;font-weight:700}
.brand .name span{color:#E3121B}
.pill{font-size:12px;font-weight:700;background:#F8C020;color:#0A1A3F;padding:3px 10px;border-radius:999px}
.topbtns{display:flex;gap:8px;flex-wrap:wrap}
.btn{height:40px;padding:0 16px;border:1px solid #C9D0DD;border-radius:8px;background:#fff;font-size:14px;font-weight:600;color:#0A1A3F}
.main{max-width:1200px;margin:0 auto;padding:24px;display:flex;flex-direction:column;gap:20px}
.band{background:#0A1A3F;color:#fff;border-radius:18px;padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:20px 28px}
.band .hello{display:flex;align-items:center;gap:16px;flex:1 1 360px}
.band .hello img{width:62px;height:auto;flex:0 0 auto}
.band .hi{font-size:22px;font-weight:700}
.band .msg{font-size:15px;line-height:1.5;color:#D6DDEB}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;flex:1 1 320px}
.facts div{display:flex;flex-direction:column;gap:2px}
.facts small{font-size:12px;color:#AEB9CE}
.facts b{font-size:15px;font-weight:600}
.st-active{color:#6EE7A0}.st-idle{color:#F8C020}.st-off{color:#FCA5A5}
.panel{background:#fff;border:1px solid #E1E5EE;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:16px}
.phead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.phead .t{font-size:19px;font-weight:700}
.sub{font-size:13px;color:#55637D}
.tabs{display:flex;flex-wrap:wrap;gap:6px;background:#F4F5F9;padding:4px;border-radius:10px}
.tabs button{min-height:40px;padding:0 16px;border:none;border-radius:8px;font-size:14px;font-weight:600;background:transparent;color:#0A1A3F}
.tabs button.on{background:#0A1A3F;color:#fff}
.legend{display:flex;flex-wrap:wrap;gap:20px;font-size:14px}
.legend span{display:flex;align-items:center;gap:8px}
.sw-d{width:14px;height:14px;border-radius:3px;background:#E3121B}
.sw-u{width:16px;height:3px;background:#C27C00}
.sw-p{width:16px;border-top:2px dashed #0A1A3F}
.chart{display:flex;gap:8px}
.yax{position:relative;width:40px;height:300px;flex:0 0 40px;font-size:11px;color:#55637D}
.yax span{position:absolute;right:0;transform:translateY(-50%)}
.plot{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px}
.area{position:relative;height:300px;border-left:1px solid #C9D0DD;border-bottom:1px solid #C9D0DD}
.area svg{position:absolute;inset:0;width:100%;height:100%}
.xax{display:flex;justify-content:space-between;font-size:11px;color:#55637D}
.tip{position:absolute;top:6px;pointer-events:none;background:#0A1A3F;color:#fff;font-size:12px;line-height:1.5;padding:8px 10px;border-radius:8px;white-space:nowrap;z-index:2}
.vline{position:absolute;top:0;bottom:0;width:1px;background:#0A1A3F;opacity:.35;pointer-events:none}
.note{font-size:12px;color:#55637D}
table{width:100%;min-width:620px;border-collapse:collapse;font-size:14px}
th{text-align:left;color:#55637D;font-size:12px;font-weight:600;padding:10px 8px;border-bottom:1px solid #E1E5EE}
td{padding:12px 8px;border-bottom:1px solid #EEF1F5}
.scroll{overflow-x:auto}
.c-d{font-weight:600;color:#C40F17}.c-u{font-weight:600;color:#8A5800}
.foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:4px 4px 12px;font-size:13px;color:#55637D}
.foot img{width:30px;height:30px}
.modal{position:fixed;inset:0;background:rgba(10,26,63,.55);display:flex;align-items:center;justify-content:center;padding:20px;z-index:10}
.modal .card{max-width:440px}
.btnrow{display:flex;flex-wrap:wrap;gap:10px}
.btnrow .primary{padding:0 20px}
.btnrow .ghost{height:50px;padding:0 20px}
@media (max-width:700px){.hero,.formwrap{flex-basis:100%}.hero{padding:24px 22px;gap:18px}.hero .logo{width:200px}.buddyrow,.chips{display:none}.formwrap{padding:24px 16px 40px}}
@media (max-width:600px){.hero h1{font-size:30px}.card{padding:24px}.main{padding:16px}.wrap{padding:10px 16px}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){table{min-width:0;font-size:12px}th{font-size:10.5px;padding:8px 3px}td{padding:9px 3px}.c-d,.c-u{font-size:12px}}
