/* Treasure HR Contract Watch — inspired by the existing People & Culture Command Centre.
   Self-hosted CSS, no external fonts, no JS framework. */
:root{--navy:#102f46;--navy-deep:#0b263a;--red:#ed3546;--blue:#04a7e5;--green:#0fb987;--purple:#8554ed;--paper:#f4f8fc;--ink:#19334b;--muted:#60788f;--line:#e1eaf3;--tint:#dff3ff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(125deg,#f2f7fb,#f9fbfe 65%,#f0f7fc);font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink)}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(4,167,229,.45);outline-offset:2px}
.hero{position:relative;overflow:hidden;background:linear-gradient(111deg,#092a42 0%,#15526e 64%,#0a364e 100%);color:#fff;border-bottom:4px solid var(--blue)}
.hero:before,.hero:after{content:"";position:absolute;right:-42px;top:-140px;transform:rotate(27deg);width:260px;height:400px;border:37px solid rgba(0,173,240,.17);pointer-events:none}.hero:after{right:78px;top:-16px;width:115px;height:280px;border-color:rgba(241,52,69,.14)}
.hero-inner{position:relative;max-width:1364px;margin:auto;padding:24px 24px 0;z-index:1}.brandbar{display:flex;align-items:center;gap:23px;min-height:87px}.brand-wordmark{display:flex;align-items:center;gap:12px;min-width:206px}.brand-mark{font-size:55px;line-height:1;font-weight:900;letter-spacing:-6px;color:#fff}.brand-mark span{color:#ed3546}.brand-name strong{display:block;letter-spacing:2.2px;font-size:17px;line-height:1.12}.brand-name small{display:block;letter-spacing:2.6px;font-size:8px;color:#9bdaf2;margin-top:4px}.brand-divider{width:1px;height:67px;flex:none;background:rgba(255,255,255,.35)}
.brand-title{min-width:0;flex:1}.eyebrow,.section-kicker{font-size:10px;letter-spacing:1.45px;font-weight:800;color:#c9e9f7;text-transform:uppercase}.brand-title h1{font-size:clamp(21px,2.5vw,31px);margin:5px 0 0;letter-spacing:-.75px;line-height:1.18}.brand-title p{color:#cde3ed;margin:6px 0 0;font-size:12px}.hero-user{display:flex;align-items:center;gap:10px;margin-left:auto}.user-badge{display:grid;place-items:center;background:#ffffff20;color:#fff;border:1px solid #ffffff4c;height:36px;width:36px;border-radius:50%;font-weight:800}.user-copy strong{display:block;max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.user-copy small{display:block;font-size:9px;letter-spacing:1px;color:#b4d0e1}.hero-logout{background:transparent;border:1px solid #ffffff45;color:#e9f8ff;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:650}.hero-logout:hover{background:#ffffff22}
.workspace-nav{display:flex;overflow-x:auto;gap:4px;padding-top:23px;scrollbar-width:thin}.workspace-nav a{white-space:nowrap;padding:11px 13px 13px;color:#c6e1ef;font-size:12px;font-weight:650;border-radius:9px 9px 0 0;border-bottom:3px solid transparent}.workspace-nav a:hover{background:#ffffff16;color:#fff}.workspace-nav a.active{background:#ffffff1c;color:#fff;border-bottom-color:#ed3546}.main{max-width:1364px;margin:auto;min-height:calc(100vh - 285px);padding:28px 24px 70px}
.intro-strip,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.section-kicker{color:#e23b49;font-size:10px}.intro-strip h2,.section-heading h2{font-size:25px;color:#102f46;line-height:1.2;letter-spacing:-.75px;margin:5px 0 5px}.intro-strip p,.section-heading p{margin:0;color:#6e879c;font-size:13px}.intro-strip .primary,.section-heading .primary{flex:none}
.card,.panel{background:#fff;border:1px solid var(--line);box-shadow:0 10px 27px rgba(26,60,85,.075);border-radius:16px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.kpi{display:flex;align-items:center;gap:16px;min-height:142px;padding:22px 18px;position:relative;border-bottom:4px solid var(--accent)}.icon-box{height:59px;width:59px;flex:none;border-radius:14px;display:grid;place-items:center;background:var(--tint);color:var(--accent)}.kpi .label{color:#55718a;font-size:13px;font-weight:650}.kpi .value{font-weight:800;font-size:clamp(25px,2.7vw,37px);letter-spacing:-1.5px;line-height:1.12;margin:6px 0 5px;color:#0b2943}.kpi .sub{color:#8295a6;font-size:10px;line-height:1.35}
.red{--accent:var(--red);--tint:#ffe6ea}.blue{--accent:var(--blue);--tint:#dff3ff}.green{--accent:var(--green);--tint:#defbf1}.purple{--accent:var(--purple);--tint:#efe6ff}
.heading{display:flex;align-items:center;gap:14px;margin:36px 0 16px}.heading:before{content:"";height:30px;width:5px;border-radius:4px;background:var(--red)}.heading h2{font-size:24px;letter-spacing:-.7px;line-height:1.2;margin:0}.heading:after{content:"";height:1px;background:#d8e5ef;flex:1}.heading-note{order:3;font-size:11px;color:#7994a7;white-space:nowrap}
.modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module{position:relative;overflow:hidden;min-height:186px;border-top:4px solid var(--accent);padding:22px 20px 17px;display:flex;flex-direction:column}.module:after{content:"";position:absolute;top:-42px;right:-35px;width:110px;height:110px;background:var(--tint);transform:rotate(45deg);opacity:.56;pointer-events:none}.module-top{display:flex;gap:15px;align-items:center;position:relative;z-index:1}.module .icon-box{height:54px;width:54px}.module h3{margin:0;font-size:16px;color:#102d45;line-height:1.3}.module p{margin:14px 0 18px;color:#668099;font-size:13px;max-width:350px;line-height:1.55}.module-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.module-meta{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#14715b;background:#e9f9f3;padding:6px 10px;border-radius:50px}.live-dot{height:7px;width:7px;background:#0fb987;border-radius:50%}.module-arrow{font-size:22px;color:#8ba6b8;font-weight:800}
.quick-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:23px}.quick-stat{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px 18px;box-shadow:0 4px 16px rgba(26,60,85,.04);color:#526c83}.quick-stat strong{font-size:25px;color:#102f46;letter-spacing:-1px}.quick-stat span:last-child{font-size:12px}.quick-dot{width:10px;height:10px;flex:none;border-radius:50%;background:var(--green)}.quick-dot.danger{background:var(--red)}.quick-dot.warn{background:#f0a72d}.quick-dot.blue{background:var(--blue)}
.panel{overflow:hidden;margin-bottom:22px}.panel.padded{padding:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 23px;border-bottom:1px solid var(--line)}.panel.padded .panel-head{padding:0 0 16px;margin-bottom:20px}.panel-head h3,.padded>h3{font-size:17px;color:#163750;margin:0 0 4px}.panel-head p{font-size:12px;color:#7890a4;margin:0}.subtle-link{color:#1683b9;font-size:12px;font-weight:800;white-space:nowrap}.subtle-link:hover{text-decoration:underline}.overview-bottom{margin-top:0}.two-col{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(300px,1fr);gap:20px;align-items:start}.two-col>.panel{min-width:0}
.table-scroll{max-width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;letter-spacing:1px;color:#7b93a7;font-weight:800;white-space:nowrap;background:#f7fafd;padding:12px 17px}td{font-size:12px;padding:14px 17px;border-top:1px solid #e8eff5;vertical-align:middle;white-space:nowrap}td strong{color:#193b55;font-size:12px}td small{display:block;margin-top:4px;color:#7e97a8;font-size:11px}td .wrap-note{white-space:normal;max-width:360px;line-height:1.5}tbody tr:hover{background:#fbfdff}.empty{text-align:center;color:#8197a8;padding:34px 20px;font-size:12px}.pill{display:inline-block;padding:6px 10px;border-radius:20px;font-weight:750;font-size:11px}.pill.bad{background:#ffe9ec;color:#b9213b}.pill.warn{background:#fff2d9;color:#966000}.pill.info{background:#e7f6ff;color:#007aa5}.pill.good{background:#e3f8ee;color:#137c55}.pill.muted{background:#f0f2f6;color:#65788c}
.task-list{padding:0 8px}.task-row{display:flex;align-items:center;gap:10px;padding:15px 12px;border-bottom:1px solid #e8eff5}.task-row:last-child{border:0}.task-row:hover{background:#f8fbff}.task-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:#e23b49;background:#ffe9ec;flex:none}.task-icon svg{width:19px;height:19px}.task-copy{min-width:0;flex:1}.task-copy strong{display:block;color:#284863;font-size:12px}.task-copy small{display:block;font-size:10px;color:#8193a6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-date{color:#6b879d;font-size:10px;white-space:nowrap}
.note{margin:21px 0 0;color:#7690a3;font-size:12px;line-height:1.7}.app-footer{background:#0e3048;color:#cae2f1;border-top:3px solid var(--blue);padding:17px 24px;font-size:11px}.foot-inner{max-width:1316px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.statusdot{display:inline-block;height:8px;width:8px;border-radius:50%;background:#0fb987;margin-right:7px}.tagline{color:#acd4e8}
.primary{border:1px solid #dc3545;border-radius:9px;background:#e53c4c;color:#fff;padding:11px 17px;font-weight:700;font-size:12px;display:inline-block;white-space:nowrap}.primary:hover{background:#cb293a}.primary.full{width:100%;margin-top:5px}.outline{border:1px solid #bdd8e7;border-radius:8px;background:#fff;color:#16799f;padding:10px 14px;font-size:12px;font-weight:750}.outline:hover{background:#eef8fc}.outline.small{padding:7px 10px;font-size:11px}.secondary-button{color:#758ba0;margin-left:14px}.section-heading{margin-bottom:25px}
.form-panel{max-width:850px}.padded h3{margin:0 0 8px}label{display:block;font-size:12px;font-weight:750;color:#49627a;margin:18px 0}label input,label select,label textarea{display:block;background:#fff;border:1px solid #d9e6ee;border-radius:9px;width:100%;padding:11px 13px;margin-top:7px;font-size:13px;color:#15354c;outline:none}label input:focus,label select:focus,label textarea:focus{border-color:#06a3df;box-shadow:0 0 0 3px rgba(4,167,229,.13)}.hint{font-size:12px;color:#708ba1;line-height:1.65}.two-inputs{display:grid;grid-template-columns:1fr 1fr;gap:18px}.renew{border-top:1px solid #e1eaf3;margin-top:24px;padding-top:25px}.follow-entry{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #e8eff5;padding:15px 0}.follow-entry p{color:#567288;margin:5px 0}.follow-entry small{color:#8ba0b0}.filter-row{display:flex;gap:7px;align-items:center;padding:16px;flex-wrap:wrap}.filter{padding:7px 10px;border-radius:8px;color:#648096;font-size:12px}.filter:hover,.filter.chosen{background:#e8f5fc;color:#067fad;font-weight:750}.search{margin-left:auto;display:flex;gap:7px}.search input{max-width:220px;min-width:150px;border:1px solid #dae5ef;border-radius:9px;padding:8px 10px;font-size:12px}.notice{padding:13px 16px;border-radius:10px;margin-bottom:18px;font-weight:650}.notice.error{background:#ffeaec;color:#9d2532}.notice.success{background:#e7f8ef;color:#127851}.info-strip{display:flex;align-items:center;gap:18px;padding:17px;border-radius:12px;border:1px solid #cfe8f8;background:#edf9ff;color:#407993;margin-bottom:18px}.info-strip strong{color:#195572}.decision-list{max-width:620px}.decision-row{display:flex;justify-content:space-between;padding:13px 4px;border-bottom:1px solid var(--line)}.decision-row span{color:#648096}.decision-row strong{color:#133b54}.csv-header{padding:14px;background:#f4f8fc;border:1px solid #dfeaf3;border-radius:9px;overflow-x:auto;color:#32526d}
.auth-body{background:#fff}.login-shell{display:grid;grid-template-columns:49% 51%;min-height:100vh}.login-aside{background:linear-gradient(145deg,#092a42 15%,#175775 90%);color:#fff;padding:75px 9% 35px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-aside:after{content:"";position:absolute;right:-130px;top:-100px;width:280px;height:480px;border:40px solid #04a7e522;transform:rotate(30deg)}.hero-logo{font-size:66px;font-weight:900;line-height:1;margin-bottom:36px}.hero-logo span{color:var(--red)}.kicker{color:#8cdbf8;font-weight:850;font-size:10px;letter-spacing:2.5px}.login-aside h1{font-size:clamp(32px,4vw,58px);line-height:1.17;letter-spacing:-2px;margin:28px 0 13px;position:relative;z-index:1}.login-aside h1 em{color:#6bd3ff;font-style:normal}.login-aside p{color:#c1d7e4;font-size:16px;max-width:400px}.hero-bottom{position:absolute;bottom:28px;left:9%;font-size:10px;letter-spacing:2px;color:#86b1c8}.login-panel{display:grid;place-items:center;padding:45px}.login-card{width:min(410px,100%)}.login-card .eyebrow{color:#df3b4b}.login-card h2{font-size:31px;letter-spacing:-1px;margin:15px 0 7px}.login-card>p{color:#8294a6}.login-card form{margin-top:28px}.security-caption{font-size:11px;margin-top:31px;color:#8295a6}.auth-body .notice{max-width:440px;margin:20px auto -20px}
@media(prefers-reduced-motion:no-preference){.card{transition:transform .18s ease,box-shadow .18s ease}.card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(26,60,85,.12)}}
@media(max-width:1250px){.hero-user{display:none}.brandbar{gap:16px}.main{padding-left:20px;padding-right:20px}.kpi{padding:18px 13px;gap:10px}.kpi .icon-box{height:50px;width:50px}}
@media(max-width:1090px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.modules{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.brand-divider{height:60px}}
@media(max-width:680px){.hero-inner{padding:16px 14px 0}.brandbar{flex-wrap:wrap;gap:10px}.brand-wordmark{min-width:unset}.brand-mark{font-size:38px;letter-spacing:-5px}.brand-name strong{font-size:12px}.brand-name small{font-size:6px}.brand-divider{display:none}.brand-title{flex-basis:100%}.brand-title h1{font-size:22px}.brand-title p{font-size:11px}.workspace-nav{padding-top:15px}.workspace-nav a{padding:10px;font-size:11px}.main{padding:20px 13px 45px}.intro-strip,.section-heading{align-items:flex-start;flex-direction:column}.intro-strip h2,.section-heading h2{font-size:22px}.kpis,.modules,.quick-stats{grid-template-columns:1fr;gap:12px}.kpi{min-height:110px;padding:15px}.kpi .value{font-size:31px}.module{min-height:163px;padding:18px}.heading{margin:28px 0 15px}.heading h2{font-size:21px}.heading-note{display:none}.panel.padded{padding:17px}.panel-head{padding:16px}.two-inputs{grid-template-columns:1fr;gap:0}.search{width:100%;margin-left:0}.search input{max-width:unset;flex:1}.foot-inner{display:block}.tagline{margin-top:6px}.login-shell{grid-template-columns:1fr}.login-aside{min-height:260px;padding:35px 25px}.login-aside .hero-logo{font-size:40px;margin:0}.login-aside h1{font-size:29px;margin:18px 0}.login-aside p,.hero-bottom,.kicker{display:none}.login-panel{padding:30px 20px}.login-card h2{font-size:27px}.quick-stat{padding:12px 15px}}
@media print{.hero,.intro-strip .primary,.section-heading button,.app-footer,form,.notice{display:none!important}.main{padding:10px;max-width:none}.panel,.card{box-shadow:none!important;break-inside:avoid}.table-scroll{overflow:visible}.heading{margin-top:18px}body{background:#fff}}
