:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#17334c;background:#f3f6f9;font-size:14px}*{box-sizing:border-box}body{margin:0}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;background:#fff;border-bottom:1px solid #dfE7ee}.brand{font-size:28px;font-weight:850;letter-spacing:-1px;color:#007ca7}.brand span{display:inline-block;font-size:10px;letter-spacing:2px;color:#6a8095;margin-left:16px;vertical-align:middle}nav{display:flex;gap:20px;align-items:center}main{max-width:1500px;margin:auto;padding:34px 4vw}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:2px;color:#72879b;font-weight:800}h1{font-size:28px;letter-spacing:-.7px;margin:8px 0}p{line-height:1.6;color:#6a7d90}h2{font-size:16px;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0}.stats article,.panel{background:#fff;border:1px solid #dfe7ed;border-radius:14px;box-shadow:0 3px 12px #102e4304}.stats article{padding:22px}.stats label{display:block;color:#607b91;font-size:12px}.stats strong{display:block;font-size:32px;margin:14px 0 8px;letter-spacing:-1px}small{display:block;font-size:11px;color:#7b8e9e;line-height:1.6}.panel{margin-bottom:22px;overflow:hidden}.panel-head{padding:20px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf1f5}.panel-head>span{font-size:11px;color:#7a8c9e}input{display:block;border:1px solid #ccd9e3;border-radius:7px;padding:11px;font:inherit;width:100%;margin:8px 0 18px;background:#fbfcfe;color:#17334c}input:focus{outline:2px solid #9bd3e5}.search{font-size:0}.search input{font-size:12px;width:220px;margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:950px}th{text-align:left;color:#7b8c9c;background:#f9fbfd;font-size:10px;letter-spacing:.5px;text-transform:uppercase;padding:14px 18px}td{padding:18px;border-top:1px solid #edf2f6;font-size:12px;vertical-align:middle}td strong{display:block;margin-bottom:4px}button{border:0;border-radius:7px;background:#087fa8;color:white;padding:11px 16px;font:inherit;font-weight:650;cursor:pointer;white-space:nowrap}button:disabled{opacity:.45;cursor:not-allowed}.subtle{background:#edf4f8;color:#365c76}.danger{background:#b93545;color:white}.actions{display:flex;gap:6px}.actions button{font-size:11px;padding:8px}.pill{display:inline-block;padding:6px 9px;background:#eaf0f5;border:1px solid #dce6ee;border-radius:20px;font-size:10px;font-weight:750;white-space:nowrap}.ok{color:#087864;background:#e8f7f1;border-color:#c8e9de}.warn{color:#9c6b19;background:#fff6e6;border-color:#f4dfb2}.bad{color:#b02e43;background:#fff0f1;border-color:#f1cbd2}.positive{color:#008670}.negative{color:#bd3c4d}.muted{color:#8e9aa8}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}.feed{max-height:400px;overflow:auto}.feed-item{padding:18px 20px;border-bottom:1px solid #edf2f6}.feed-item strong{font-size:12px}.feed-item p{font-size:12px;margin:8px 0 4px}.empty{padding:28px;text-align:center;color:#8799a7;line-height:1.7}.error{color:#9d2440;background:#fff0f2;border:1px solid #f3cbd4;padding:12px;border-radius:8px;margin:10px 0}.hidden{display:none!important}footer{font-size:11px;color:#798e9e;line-height:1.8;max-width:1000px}dialog{border:1px solid #d8e3eb;box-shadow:0 15px 90px #08283e45;border-radius:14px;max-width:780px;width:90%;padding:26px;color:#17334c}dialog::backdrop{background:#0b233d66}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.buttons{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.detail-grid strong{font-size:18px;display:block;margin-top:6px}pre{white-space:pre-wrap;word-break:break-word;background:#f4f7fa;padding:15px;font-size:11px;max-height:280px;overflow:auto}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 10% 20%,#dbeef5,transparent 65%),#f4f7fa}.login-card{background:#fff;border:1px solid #dce8ef;border-radius:18px;max-width:460px;padding:36px;margin:30px}.login h1{font-size:25px;margin-top:28px}.login form{margin:25px 0}.login button{width:100%}.login label{font-size:12px;font-weight:650}@media(max-width:950px){.stats{grid-template-columns:repeat(2,1fr)}.two-cols{grid-template-columns:1fr}.page-title{align-items:flex-start}.brand span{display:block;margin:0;font-size:8px}h1{font-size:23px}}@media(max-width:550px){.stats{gap:10px}.stats article{padding:16px}.stats strong{font-size:25px}.page-title{display:block}.page-title>.pill{margin-top:10px}.panel-head{display:block}.search input{margin-top:12px;width:100%}.detail-grid{grid-template-columns:1fr 1fr}main{padding-top:25px}nav{gap:8px;font-size:11px}}

/* Shared GQant asset from the Angel client dashboard. */
.brand{display:flex;align-items:center;gap:16px;letter-spacing:normal;flex-shrink:0}.brand img{width:170px;height:auto;display:block}.brand span{margin-left:0;white-space:nowrap}.client-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.client-tools .search input{width:205px}.onboarding-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px}.onboarding-grid label,.advanced-registration label{font-size:12px;font-weight:650}.onboarding-grid input{margin-bottom:5px}.onboarding-grid small{font-weight:400}.authorisation-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;margin-top:20px}.authorisation-check input{width:18px;height:18px;margin:2px 0;flex-shrink:0}.advanced-registration{margin-top:20px}.advanced-registration summary{font-size:12px;cursor:pointer}.advanced-registration label{display:block;margin-top:12px}.pairing-steps{padding-left:20px;font-size:12px;line-height:1.8}.pairing-steps li{margin:10px 0;overflow-wrap:anywhere}#add-client-dialog{max-height:90vh;overflow:auto}#add-client-dialog[open]{display:block}[hidden]{display:none!important}@media(max-width:550px){.brand{gap:9px}.brand img{width:125px}.brand span{font-size:8px}.client-tools{margin-top:12px}.client-tools .search{flex-basis:100%}.client-tools .search input{width:100%;margin-top:0}.onboarding-grid{grid-template-columns:1fr}.onboarding-grid input{font-size:16px}.login .brand img{width:160px}}

header{height:auto;min-height:76px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap;gap:12px}

/* Readable monitor history R1; scoped to the client details dialog. */
#detail{max-width:1080px;max-height:90vh;padding:0;overflow:auto}
#detail .dialog-head{position:sticky;top:0;z-index:2;background:#fff;margin:0;padding:18px 24px;border-bottom:1px solid #e2eaf0;gap:16px}
#detail-body{padding:22px 24px}
#detail .history-section{margin-top:26px}
#detail .history-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}
#detail .history-heading>span{font-size:11px;color:#72879b;white-space:nowrap}
#detail .history-table-wrap{border:1px solid #dfe8ef;border-radius:10px;overflow:auto}
#detail .history-table{width:100%;min-width:0;table-layout:auto}
#detail .history-table th{padding:11px 13px;font-size:10px;white-space:nowrap;letter-spacing:.35px}
#detail .history-table td{padding:13px;font-size:12px;line-height:1.55;vertical-align:top;overflow-wrap:anywhere}
#detail .history-table td:first-child{min-width:118px}
#detail .history-table time{white-space:nowrap}
#detail .history-table strong{margin:0;font-weight:650}
#detail .history-table tbody tr:hover{background:#f8fbfd}
#detail .history-badge{display:inline-block;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:650;line-height:1.4}
#detail .history-info{color:#24648a;background:#eaf4fb}
#detail .history-neutral{color:#576a7a;background:#edf2f5}
#detail .history-warning{color:#8e6010;background:#fff3d9}
#detail .history-danger{color:#a5263c;background:#fff0f2}
#detail .history-note{font-size:11px;line-height:1.6;color:#718596;margin:9px 0 0}
#detail .history-empty{border:1px dashed #d8e4ed;border-radius:10px;background:#f8fbfd;padding:24px;text-align:center;color:#697e90;font-size:12px;line-height:1.6}
#detail .history-reference{overflow-wrap:anywhere;word-break:break-word}
#detail .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:650px){
  #detail{width:96%;max-height:94vh}
  #detail .dialog-head{padding:14px 16px}
  #detail-body{padding:16px}
  #detail .detail-grid{grid-template-columns:1fr}
  #detail .history-table,#detail .history-table tbody,#detail .history-table tr{display:block;width:100%}
  #detail .history-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  #detail .history-table tr+tr{border-top:1px solid #dfe8ef}
  #detail .history-table td{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;padding:7px 12px;border:0;align-items:start}
  #detail .history-table td:first-child{padding-top:14px}
  #detail .history-table td:last-child{padding-bottom:14px}
  #detail .history-table td::before{content:attr(data-label);color:#718596;font-size:10px;font-weight:650;padding-top:2px}
  #detail .history-table td>small{grid-column:2}
  #detail .history-badge{justify-self:start}
}

/* Branding R2: Initial Capitals For Interface Copy. Exact Data Keeps Its Case. */
body{text-transform:capitalize}
input,textarea,select,code,pre,kbd,samp,time,.history-reference,#operator,
#detail-title,#confirm-label,#confirm-message,#pairing-description,
#clients td:first-child small,#clients td:nth-child(6) small,
#alerts .feed-item>strong,#jobs .feed-item>strong,
#detail .history-table td[data-label="By"]{text-transform:none}
input::placeholder{text-transform:capitalize}
#new-client-id::placeholder{text-transform:none}
th{text-transform:capitalize}
