@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:#20334a;background:#f5f7fa;font-synthesis:none;--navy:#152c46;--blue:#2165d5;--line:#e3e9f0;--muted:#67768a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--blue)}button:focus-visible,a:focus-visible{outline:3px solid #78a7f5;outline-offset:3px}button{border:1px solid var(--line);border-radius:9px;padding:10px 15px;background:white;color:#243a53;font-weight:600}button:hover{background:#f0f5fc}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#1956b9}.danger{color:#ad3b39}.small{padding:7px 10px;font-size:13px}.plain{border:0;background:transparent;padding:5px;color:var(--muted)}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:white;position:fixed;inset:0 auto 0 0;width:238px;padding:34px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1px}.brandmark{display:grid;place-items:center;background:#2d72dc;width:38px;height:38px;border-radius:10px;font-size:23px}.brand small{font:10px 'DM Sans',sans-serif;letter-spacing:1.4px;color:#bdccdf;display:block;margin-top:4px;text-transform:uppercase}.nav{margin-top:43px;display:grid;gap:7px}.nav button{background:transparent;border:0;color:#bbcadb;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px}.nav button:hover,.nav .active{background:#28435f;color:white}.icon{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center}.sidebar footer{margin-top:auto;color:#bdccdf;font-size:12px;line-height:1.7;padding:24px 10px 0}.status-dot{display:inline-block;width:7px;height:7px;background:#83c5b1;border-radius:50%;margin-right:7px}main{grid-column:2;padding:0 45px 50px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;height:94px;border-bottom:1px solid var(--line);margin-bottom:36px}.search{position:relative;max-width:430px;flex:1}.search input{background:white;padding-left:39px}.search .icon{position:absolute;top:12px;left:12px;color:var(--muted)}.top-right{font-size:12px;color:var(--muted);display:flex;gap:12px;align-items:center}.avatar{border-radius:50%;width:34px;height:34px;background:#e3ecfa;color:var(--blue);display:grid;place-items:center;font-weight:700}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.6px}h1{font-size:31px;margin:8px 0 10px;font-weight:800}h2{font-size:18px;margin:0 0 6px}h3{font-size:16px;margin:0 0 7px}.sub{color:var(--muted);line-height:1.65;margin:0;font-size:14px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.actions{display:flex;flex-wrap:wrap;gap:9px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:29px}.stat{padding:23px 25px;border:1px solid var(--line);border-radius:12px;background:white;display:flex;justify-content:space-between;align-items:center}.stat strong{font:800 32px Manrope,sans-serif;display:block;margin-top:9px}.stat label{color:var(--muted);font-size:13px}.stat-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:#edf3fd;color:var(--blue)}.stat:first-child .stat-icon{background:#fbefed;color:#bd5c4c}.split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:23px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{padding:23px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head h2{margin:0}.pad{padding:24px}.follow-row{padding:20px 24px;display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid #edf0f4}.follow-row:last-child{border:0}.check{border-radius:50%;width:23px;height:23px;flex:none;padding:0;margin-top:2px;display:grid;place-items:center}.check.done{color:white;background:#367c69;border-color:#367c69}.grow{flex:1;min-width:0}.row-title{font-weight:600;font-size:14px;line-height:1.5}.meta{color:var(--muted);font-size:12px;line-height:1.7;margin-top:4px}.badge{display:inline-block;padding:4px 8px;font-size:11px;border-radius:5px;background:#edf3fc;color:#3866aa;font-weight:600;white-space:nowrap}.badge.overdue{background:#fbefed;color:#a74d40}.badge.today{background:#eef1fc;color:#5c65b3}.badge.completed{background:#eaf5f0;color:#34745f}.date-label{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);padding:20px 24px 0}.activity{padding:18px 24px;display:flex;gap:12px;border-bottom:1px solid #edf0f4}.activity-icon{background:#f0f4f9;border-radius:9px;height:32px;width:32px;display:grid;place-items:center;flex:none;color:#57718e}.empty{padding:36px 24px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}.empty h3{color:#243a53}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:18px}.record{border:1px solid var(--line);border-radius:12px;background:white;padding:23px;position:relative}.record:hover{border-color:#b7cae6;box-shadow:0 4px 14px #243a5308}.record .open-record{display:block;border:0;padding:0;text-align:left;background:transparent;color:inherit;width:100%;margin-bottom:17px}.record .initials{width:42px;height:42px;background:#eaf0fa;border-radius:12px;display:grid;place-items:center;font-weight:700;color:#426694;margin-bottom:17px}.record .sub{font-size:13px}.record footer{border-top:1px solid #edf0f4;padding-top:15px;margin-top:17px;color:var(--muted);font-size:12px}.filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.filters select{width:auto;max-width:100%}.notice{border:1px solid #cedef5;background:#edf4ff;border-radius:9px;padding:12px 16px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#335d94}.details{display:grid;gap:16px}.details dt{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:5px}.details dd{margin:0;font-size:14px;overflow-wrap:anywhere}.notes{white-space:pre-wrap;line-height:1.75;font-size:14px}.back{margin-bottom:18px}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1.15fr}.auth-brand{background:var(--navy);padding:55px;display:flex;flex-direction:column;justify-content:space-between;color:white}.auth-brand h1{font-size:48px;line-height:1.2;max-width:490px}.auth-brand p{color:#bdccdf;max-width:380px;line-height:1.9}.auth-card{max-width:470px;padding:40px 28px;width:100%;margin:auto}.auth-card h1{font-size:28px}.auth-card form{margin:26px 0 18px}.auth-card button{width:100%;margin-top:10px}.auth-card .text-link{width:auto}.step{border-top:1px solid var(--line);padding:18px 0;font-size:14px;line-height:1.7}.step b{display:block;color:#243a53;margin-bottom:3px}label.field{display:block;color:#40516a;font-size:12px;font-weight:600;margin-bottom:17px}input,select,textarea{display:block;width:100%;border:1px solid #d9e1ec;border-radius:8px;background:white;color:#20334a;padding:11px 12px;margin-top:7px;outline:none}input:focus,select:focus,textarea:focus{border-color:#4984e3;box-shadow:0 0 0 3px #2165d512}textarea{resize:vertical;min-height:90px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.wide{grid-column:1/-1}dialog{border:1px solid var(--line);border-radius:15px;padding:0;width:min(580px,calc(100% - 28px));max-height:90vh;box-shadow:0 25px 100px #152c4633;color:#20334a}dialog::backdrop{background:#10243b77;backdrop-filter:blur(3px)}.modal-head{padding:23px 26px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-body{padding:8px 26px 24px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.error{color:#a13c36;background:#fff0ed;border:1px solid #f1d0ca;border-radius:7px;padding:11px;font-size:13px;line-height:1.6}.category-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 24px;border-bottom:1px solid var(--line)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#203a54;color:white;padding:13px 20px;border-radius:10px;font-size:13px;z-index:100;max-width:calc(100% - 30px);box-shadow:0 6px 30px #152c4622}#toast:empty{display:none}.loading{padding:50px;text-align:center}.inline-error{margin-bottom:20px}.muted{color:var(--muted)}@media(min-width:1500px){main{padding-left:65px;padding-right:65px}}@media(max-width:1050px){.shell{grid-template-columns:200px 1fr}.sidebar{width:200px;padding:28px 15px}main{padding:0 25px 35px}.split{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:18px}.heading{align-items:flex-start}.auth-brand{padding:35px}.auth-brand h1{font-size:38px}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;width:100%;padding:17px 18px 0;display:block}.brand{font-size:20px}.brandmark{width:32px;height:32px}.brand small{font-size:8px}.nav{display:flex;overflow:auto;margin-top:18px;gap:3px}.nav button{font-size:12px;padding:13px 11px;gap:6px;border-radius:8px 8px 0 0;white-space:nowrap}.nav .icon{display:none}.sidebar footer{display:none}main{padding:0 18px 35px}.topbar{height:76px;margin-bottom:25px;gap:10px}.top-right>span{display:none}.search input{font-size:13px}h1{font-size:25px}.heading{flex-direction:column;gap:16px}.stats{gap:8px}.stat{padding:15px 12px}.stat strong{font-size:27px}.stat label{font-size:11px}.stat-icon{display:none}.panel-head{padding:19px}.follow-row,.activity{padding:18px}.follow-row{gap:10px}.follow-row .actions{flex-direction:column}.badge{font-size:10px}.auth-wrap{display:block}.auth-brand{padding:24px}.auth-brand h1,.auth-brand p,.auth-brand footer{display:none}.auth-card{padding:30px 23px}.form-grid{grid-template-columns:1fr}.form-grid>*{grid-column:1}.notice{align-items:flex-start}.top-right button{font-size:11px;padding:8px}.cards{grid-template-columns:1fr}}

/* A quiet two-panel sign-in, consistent with Steady Start. */
.auth-wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#f7f9fc}
.auth-brand{padding:clamp(28px,5vw,80px);min-height:100vh;background:#162f52}
.auth-brand .brand{letter-spacing:-.6px}.auth-brand .brand small{letter-spacing:1.5px}
.auth-story{padding:75px 0}.auth-story .eyebrow{color:#a6c2e5;font-size:12px}
.auth-brand .auth-story h1{font-size:clamp(36px,3.5vw,54px);max-width:560px;line-height:1.18;margin:20px 0 24px}
.auth-brand .auth-story p{font-size:17px;line-height:1.8;max-width:400px}
.auth-brand footer{font-size:13px;color:#b6c7dc}
.auth-card{grid-column:auto;max-width:430px;padding:52px 28px;margin:auto}
.auth-card h1{font-size:30px;margin:0 0 13px}.auth-card .sub{font-size:15px;line-height:1.7}
.auth-card form{margin-top:32px;margin-bottom:13px}.auth-card label.field{font-size:14px;font-weight:500;margin-bottom:21px}
.auth-card input{padding:13px 14px;margin-top:9px;border-radius:8px}.auth-card .primary{padding:13px;border-radius:8px;background:#215d9f;border-color:#215d9f;margin-top:3px}
.auth-card .primary:hover{background:#174a82}.auth-card .text-link{font-size:13px;color:#34659a;text-align:left;line-height:1.6;margin:0;padding:8px 0}
@media(max-width:700px){.auth-wrap{display:block;min-height:100vh}.auth-brand{min-height:0;padding:26px}.auth-story,.auth-brand footer{display:none}.auth-card{padding:42px 26px;max-width:460px}.auth-card h1{font-size:27px}}
