:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#16304b;background:#f6f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#167a82;text-decoration:none}a:hover{text-decoration:underline}.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}aside{background:#10283e;color:white;padding:28px 18px;display:flex;flex-direction:column;gap:25px}.brand{display:flex;align-items:center;gap:10px;font-size:27px;letter-spacing:-1.3px;font-weight:750}.brand b{color:#36d0be}.brandmark{background:#177e82;color:white;font-size:22px;border-radius:12px;width:42px;height:42px;display:grid;place-items:center}.agency{border:1px solid #31566c;border-radius:12px;padding:15px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.agency small{display:block;color:#9bb7c6;font-weight:450}nav{display:grid;gap:4px}nav a,.logout{display:block;color:#cbdde6;padding:12px 14px;border-radius:9px}nav a:hover,.logout:hover{background:#24465d;color:white;text-decoration:none}.logout{margin-top:auto}main{padding:36px 44px;min-width:0}.topbar,.sectionbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:11px;color:#8398a9;letter-spacing:1.6px;font-weight:800}h1{margin:7px 0 22px;font-size:30px;letter-spacing:-.8px}h2{font-size:18px;letter-spacing:-.4px;margin:0 0 14px}.avatar{width:42px;height:42px;border-radius:50%;background:#ccebe8;color:#22656a;display:grid;place-items:center;font-weight:800}.notice{border:1px solid #f2d9a3;background:#fff9ec;color:#895c0b;padding:13px 17px;border-radius:10px;margin-bottom:24px;font-size:13px;font-weight:600}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat,.panel{background:white;border:1px solid #e1eaf0;border-radius:15px;box-shadow:0 2px 12px #10283e08;padding:23px}.stat small{font-weight:600;color:#687f91}.stat strong{display:block;font-size:32px;margin:12px 0;color:#102d42}.stat span,.muted,.footnote{font-size:14px;color:#71869a}.panels{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:18px;margin-top:22px}.panel p{line-height:1.65}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.btn,button{font:inherit;font-size:14px;border:0;border-radius:9px;background:#087f83;color:white;padding:12px 17px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.btn:hover,button:hover{background:#066b6f;color:white;text-decoration:none}.secondary{background:#e9f3f4;color:#16636e}.secondary:hover{background:#d8ebed;color:#124b54}.milestones{list-style:none;padding:0;line-height:2.3;color:#51687c}.milestones span{font-weight:800;color:#108c84;margin-right:9px}label{display:block;font-size:13px;font-weight:650;color:#35546a;margin-bottom:17px}input,select,textarea{width:100%;margin-top:7px;border:1px solid #cddce7;border-radius:9px;padding:12px;font:inherit;color:#18344b;background:white}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #77d6cc;outline-offset:1px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 17px}.chip{font-size:12px;border-radius:30px;padding:5px 10px;background:#e7f5f3;color:#168178;text-transform:capitalize;font-weight:650}table{border-collapse:collapse;width:100%;font-size:13px;overflow-wrap:anywhere}td,th{border-bottom:1px solid #eaf0f3;padding:13px 8px;text-align:left}th{color:#74889a;font-size:12px}td{color:#3a5264}.alert,.success{background:#fce9e9;color:#9b2525;border:1px solid #f3caca;padding:12px 17px;border-radius:10px;margin-bottom:18px}.success{background:#ecf8f1;border-color:#c7e9d6;color:#197047}.sign{margin-top:15px}.readonly{line-height:1.7}.readonly pre{white-space:pre-wrap;font:inherit;background:#f5f9fa;border-radius:10px;padding:15px}.auth{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;padding:20px}.authbrand{color:#12344b}.auth-card{max-width:470px;width:100%;padding:35px;background:white;border:1px solid #dce8ee;border-radius:18px;box-shadow:0 18px 70px #10283e0e}.auth-card h1{margin:0 0 4px}.auth-card form{margin-top:28px}.auth-card button{width:100%}.footnote{text-align:center;margin-top:18px}@media(max-width:1050px){main{padding:26px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.panels{grid-template-columns:1fr}}@media(max-width:720px){.shell{grid-template-columns:1fr}aside{padding:16px;gap:12px}nav{display:flex;gap:3px;overflow-x:auto}nav a{white-space:nowrap;padding:10px}.agency{padding:10px}.logout{margin:0}.brand{font-size:24px}main{padding:20px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat,.panel{padding:16px}.stat strong{font-size:25px}.formgrid{grid-template-columns:1fr}.panels{grid-template-columns:1fr}table{display:block;overflow-x:auto}.topbar{align-items:start}h1{font-size:25px}}

/* Official TalNotes branding */
.talnotes-logo{display:block;object-fit:contain;object-position:left center;max-width:100%;height:auto}
.talnotes-logo-auth{width:310px;max-width:85vw}
.talnotes-logo-sidebar{width:210px;max-width:100%;filter:brightness(0) invert(1)}
.authbrand{justify-content:center}

/* TalNotes responsive branding patch — v2 */
.auth{width:100%;min-height:100svh;min-height:100vh;gap:18px;padding:clamp(16px,4vw,36px);justify-content:center}
.authbrand{width:100%;max-width:420px;margin:0 auto;min-width:0;display:flex;justify-content:center;align-items:center}
.authbrand .talnotes-logo-auth{display:block;width:min(100%,360px)!important;max-width:100%!important;height:auto!important;max-height:108px;object-fit:contain;object-position:center}
.auth-card{width:100%;max-width:450px;min-width:0;padding:clamp(20px,4vw,34px)}
.auth-card input{min-width:0}
.brand .talnotes-logo-sidebar{width:100%;max-width:190px;height:auto;object-fit:contain}
@media(max-width:600px){.auth{gap:10px;padding:16px;justify-content:center}.authbrand{max-width:285px}.authbrand .talnotes-logo-auth{width:100%!important;max-height:90px}.auth-card{padding:22px 20px;border-radius:14px}.auth-card h1{font-size:24px}.auth-card form{margin-top:20px}}
@media(max-width:380px){.authbrand{max-width:240px}.auth-card{padding:19px 16px}}
