:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#182337;background:#f5f7fa;font-size:14px;--navy:#111c2f;--teal:#087f68;--muted:#738094;--border:#e4e9f0;--white:#fff;--red:#c34546;--amber:#a7731e;--radius:12px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button svg,a svg{pointer-events:none}svg{width:20px;height:20px;flex-shrink:0}h1,h2,h3,h4,p{margin:0}h1{font-size:29px;letter-spacing:-.7px;font-weight:650}h2{font-size:18px;font-weight:650;letter-spacing:-.2px}h3{font-size:15px;font-weight:650}small{font-size:12px}button{border:0;background:none;color:inherit}.initial-loader{min-height:100vh;display:grid;place-content:center;text-align:center;gap:20px;color:var(--muted)}.loader-mark{display:grid;place-items:center;margin:auto;background:var(--navy);width:60px;height:60px;border-radius:15px;color:#a4e1cf;font-size:23px}.shell{display:flex;min-height:100vh}.sidebar{width:240px;background:var(--navy);color:#a4afc0;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;padding:31px 23px 29px;color:#fff}.brand-mark{width:37px;height:37px;border:1px solid #405267;border-radius:10px;display:grid;place-items:center;color:#9ddcc8}.brand-mark svg{width:28px;height:28px}.brand strong{font-size:16px;letter-spacing:.25px}.brand small{display:block;color:#8e9cb1;margin-top:5px;font-size:10px;letter-spacing:1.6px}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;font-weight:600;color:#6d7e96;margin:10px 25px}.nav-group{padding:0 13px;margin-bottom:20px}.nav-item{display:flex;align-items:center;gap:12px;border-radius:7px;padding:12px;color:#9eacc0;font-weight:500;min-height:44px;margin:3px 0}.nav-item:hover{background:#1a2940;color:#fff}.nav-item.active{background:#24384b;color:#c8f3e5}.nav-item.active:before{content:"";width:3px;height:18px;position:absolute;left:0;background:#70c6ab;border-radius:3px}.nav-item svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding:15px 16px 22px;border-top:1px solid #233247}.ecosystem-link{display:flex;align-items:center;gap:9px;padding:12px 8px;font-size:12px}.sidebar-user{display:flex;gap:10px;align-items:center;padding:12px 6px 0}.sidebar-user strong{display:block;color:#ecf0f7;font-size:13px}.sidebar-user small{display:block;margin-top:4px;color:#8998af}.avatar{background:#edf3f7;color:#4b6277;width:35px;height:35px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;font-weight:600;font-size:12px;flex-shrink:0}.avatar.dark{background:#283a50;color:#adc8d7}.main{margin-left:240px;width:calc(100% - 240px)}.topbar{height:76px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#fff;gap:20px}.breadcrumbs{font-size:12px;color:var(--muted);display:flex;gap:12px;align-items:center}.breadcrumbs b{color:#3c4c63;font-weight:500}.top-actions{display:flex;gap:18px;align-items:center}.timezone-label{font-size:11px;color:#8792a3;display:flex;gap:6px;align-items:center}.timezone-label svg{width:14px;height:14px}.icon-button{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;position:relative}.icon-button:hover{background:#edf2f5}.unread-dot{position:absolute;right:5px;top:3px;background:var(--teal);border:2px solid #fff;width:9px;height:9px;border-radius:50%}.top-divider{height:26px;width:1px;background:var(--border)}.content{max-width:1600px;padding:34px 36px 48px;margin:auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{text-transform:uppercase;letter-spacing:1.9px;color:var(--teal);font-size:10px;font-weight:700;margin-bottom:11px}.page-subtitle{color:var(--muted);margin-top:9px;line-height:1.6;font-size:13px}.heading-actions{display:flex;gap:10px;align-items:center;padding-top:5px}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:10px 16px;min-height:39px;border-radius:7px;font-weight:600;font-size:12px;border:1px solid var(--border);background:#fff;white-space:nowrap}.btn svg{width:16px;height:16px}.btn:hover{background:#f6f8fa;border-color:#cbd6df}.btn.primary{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:0 2px 4px #0b5e5010}.btn.primary:hover{background:#076d5a}.btn.subtle{color:var(--teal);background:#eef7f4;border-color:#dbebe5}.btn.danger{color:var(--red)}.text-link{display:inline-flex;align-items:center;gap:6px;color:var(--teal);font-size:12px;font-weight:600;cursor:pointer}.text-link svg{width:14px;height:14px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:27px}.stat-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px 22px;min-height:142px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#657287;font-size:12px}.stat-icon{width:32px;height:32px;border-radius:8px;background:#edf6f3;color:var(--teal);display:grid;place-items:center}.stat-icon svg{width:17px;height:17px}.stat-value{font-size:32px;letter-spacing:-1px;font-weight:650;margin:11px 0 6px;line-height:1}.stat-value small{font-size:15px;color:var(--muted);letter-spacing:0;font-weight:400}.stat-note{font-size:11px;color:#8591a0;margin-top:8px;line-height:1.45}.stat-note .alert-text{color:var(--red)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.panel-header{padding:21px 23px;display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #edf0f4}.panel-title{display:flex;align-items:center;gap:9px}.panel-title svg{width:17px;height:17px;color:#667b8c}.panel-title h2{font-size:14px}.panel-header small{color:var(--muted);font-size:11px}.panel-body{padding:22px}.stack{display:flex;flex-direction:column;gap:22px}.section-tabs{display:flex;gap:22px;padding:0 23px;border-bottom:1px solid var(--border)}.section-tab{padding:14px 0;color:var(--muted);font-size:12px;border-bottom:2px solid transparent}.section-tab.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:600}.section-tab span{margin-left:5px;background:#f0f3f6;color:#778395;font-size:10px;padding:2px 5px;border-radius:4px}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:39px 24px;min-height:225px}.empty-icon{color:#729283;background:#edf6f2;border-radius:12px;width:49px;height:49px;display:grid;place-items:center;margin-bottom:17px}.empty-icon svg{width:24px;height:24px}.empty-state h3{font-size:14px;line-height:1.5}.empty-state p{font-size:12px;color:#8691a0;line-height:1.75;max-width:300px;margin-top:7px}.empty-state .btn,.empty-state .text-link{margin-top:18px}.empty-state.compact{min-height:180px;padding:27px 20px}.intro-strip{background:#eef6f3;border:1px solid #d9eae2;padding:18px 21px;border-radius:10px;margin-bottom:25px;display:flex;align-items:center;gap:16px}.intro-strip svg{color:var(--teal);width:22px;height:22px}.intro-strip h3{font-size:13px;color:#286553}.intro-strip p{color:#70887d;font-size:12px;margin-top:5px;line-height:1.6}.intro-strip .btn{margin-left:auto}.flow-line{display:flex;align-items:center;gap:8px;color:#789086;font-size:10px;margin-top:12px;flex-wrap:wrap}.flow-line svg{width:10px;height:10px}.flow-line b{font-weight:600}.task-row{display:flex;gap:12px;padding:17px 22px;border-bottom:1px solid #edf0f4;align-items:center}.task-row:last-child{border:0}.task-check{width:19px;height:19px;border:1.5px solid #cad4dd;border-radius:5px;flex-shrink:0;display:grid;place-items:center;padding:0}.task-check.done{background:var(--teal);border-color:var(--teal);color:white}.task-check svg{width:13px;height:13px}.task-row-main{min-width:0;flex:1}.task-row-title{font-size:13px;display:block;font-weight:500;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:0}.task-row-meta{display:flex;gap:7px;font-size:10px;color:#8a95a4;margin-top:6px;align-items:center;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;background:#eff2f6;color:#64748b;font-size:10px;font-weight:500;white-space:nowrap}.badge:before{content:"";height:4px;width:4px;border-radius:50%;background:currentColor}.badge.green{color:#24866c;background:#edf7f1}.badge.red{color:#bd5153;background:#fcf0f1}.badge.amber{color:#a07d35;background:#faf4e8}.badge.blue{color:#577bb3;background:#eff4fc}.due{font-size:11px;color:#8591a2;white-space:nowrap}.due.overdue{color:var(--red)}.attention-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:22px}.attention-card{background:white;border:1px solid var(--border);border-radius:10px;padding:16px 19px;display:flex;gap:13px;align-items:center;text-align:left}.attention-card svg{color:#8898ac;width:18px}.attention-card strong{font-size:18px;display:block;font-weight:600}.attention-card span{font-size:11px;color:#7b8798;margin-top:4px;display:block}.attention-card:hover{border-color:#bdcdc5}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{background:#fbfcfd;font-size:10px;color:#8190a0;font-weight:600;text-transform:uppercase;letter-spacing:.5px;padding:15px 20px;border-bottom:1px solid var(--border);white-space:nowrap}td{padding:17px 20px;border-bottom:1px solid #edf0f4;font-size:12px;color:#596a7f;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfc}.table-title{color:#26344a;font-weight:600;display:block;text-align:left;padding:0;max-width:310px;line-height:1.45}.table-sub{font-size:10px;color:#8b98a7;margin-top:5px;max-width:250px}.filters{display:flex;gap:10px;align-items:center;margin-bottom:21px;flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:9px;flex:1;min-width:190px;background:#fff;border:1px solid var(--border);border-radius:7px;padding:0 12px}.search-box svg{width:16px;color:#94a0af}.search-box input{border:0;padding:11px 0;min-width:0;width:100%;background:none}.filters select,.filters input[type=date]{background:#fff;border:1px solid var(--border);border-radius:7px;padding:10px 12px;min-height:39px;color:#68758a;max-width:190px;font-size:12px}.filter-more{display:none;flex-basis:100%;gap:10px;align-items:center;flex-wrap:wrap}.filter-more.open{display:flex}.filter-count{margin-left:auto;font-size:11px;color:#8c98a8}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.entity-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:23px;display:flex;flex-direction:column;gap:17px}.entity-card-header{display:flex;gap:12px;align-items:center;justify-content:space-between}.entity-card h3{font-size:15px;line-height:1.5}.entity-card .description{font-size:12px;line-height:1.7;color:#8190a0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:36px}.entity-meta{display:flex;gap:8px;align-items:center;font-size:11px;color:#8290a0;flex-wrap:wrap}.entity-meta svg{width:14px;height:14px}.entity-card-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #edf0f4;padding-top:15px;margin-top:auto;align-items:center}.progress-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#7d8c9e;margin-bottom:8px}.progress-meta strong{color:#3c6254;font-weight:600}progress{appearance:none;-webkit-appearance:none;width:100%;height:5px;border:0;border-radius:4px;overflow:hidden;background:#edf1f5}progress::-webkit-progress-bar{background:#edf1f5;border-radius:4px}progress::-webkit-progress-value{background:#4aa98c;border-radius:4px}progress::-moz-progress-bar{background:#4aa98c;border-radius:4px}.kpi-values{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.kpi-values small{color:#8c98a6;display:block;font-size:10px}.kpi-values strong{font-size:20px;font-weight:600;display:block;margin-top:6px;letter-spacing:-.4px}.kpi-values em{font-style:normal;font-size:11px;color:#8998a6}.muted{color:var(--muted)}.notification-list{padding:0}.notification-item{padding:18px 22px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;gap:12px}.notification-item.unread{background:#f5faf7}.notification-item h3{font-size:13px}.notification-item p{font-size:12px;color:#8591a0;margin-top:5px;line-height:1.6}.notification-item small{font-size:10px;display:block;color:#9ba5b1;margin-top:6px}.notification-item .icon-button{margin-left:auto;flex-shrink:0}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:16px;flex-wrap:wrap}.calendar-nav{display:flex;gap:13px;align-items:center}.calendar-nav h2{text-transform:capitalize;font-size:18px}.segmented{display:flex;border:1px solid var(--border);border-radius:7px;padding:3px;background:#fff;gap:3px}.segmented button{padding:7px 13px;font-size:11px;color:#8490a0;border-radius:5px}.segmented button.active{background:#eaf4ef;color:var(--teal);font-weight:600}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}.calendar-dow{padding:14px 12px;text-align:center;background:#fbfcfd;font-size:11px;color:#7c8899;font-weight:500;border-bottom:1px solid var(--border)}.calendar-cell{min-height:116px;padding:11px;border-bottom:1px solid var(--border);border-right:1px solid var(--border);min-width:0}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell.outside{background:#fafbfd;color:#b5beca}.calendar-number{display:inline-flex;align-items:center;justify-content:center;font-size:11px;width:25px;height:25px;margin-bottom:7px}.calendar-number.today{border-radius:50%;background:var(--teal);color:#fff}.calendar-event{font-size:10px;border-radius:4px;text-align:left;background:#edf6f0;color:#357861;width:100%;padding:5px 7px;margin-bottom:4px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:2px solid #55a58a}.calendar-event.objective{background:#eef3fb;color:#537ca4;border-left-color:#79a5ca}.calendar-grid.day{grid-template-columns:1fr}.calendar-grid.day .calendar-cell{min-height:260px}.calendar-legend{display:flex;gap:18px;margin:17px 0;font-size:11px;color:#8b97a6}.calendar-legend span{display:flex;align-items:center;gap:6px}.calendar-legend i{width:6px;height:6px;border-radius:2px;background:#55a58a}.calendar-legend i.objective{background:#79a5ca}.timeline{padding:4px 24px}.timeline-item{display:flex;gap:16px;padding:21px 0;border-bottom:1px solid #edf0f4;align-items:flex-start}.timeline-item:last-child{border-bottom:0}.timeline-item h3{font-size:12px;font-weight:500;line-height:1.7}.timeline-item small{display:block;color:#8793a3;margin-top:4px;font-size:10px}.timeline-item details{margin-top:10px;font-size:11px;color:#7b8899}.timeline-item pre{white-space:pre-wrap;font-size:10px;max-height:200px;overflow:auto;background:#f7f9fb;padding:12px;border-radius:6px}.profile-hero{display:flex;gap:18px;align-items:center;padding:25px;background:#fff;border:1px solid var(--border);border-radius:12px;margin-bottom:22px}.profile-hero .avatar{width:58px;height:58px;font-size:18px}.profile-hero p{color:#8996a7;margin-top:6px;font-size:12px}.profile-hero .badge{margin-left:auto}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.settings-row{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:19px 23px;border-bottom:1px solid #edf0f4}.settings-row:last-child{border-bottom:0}.settings-row h3{font-size:13px}.settings-row p{color:#8794a4;font-size:11px;line-height:1.65;margin-top:5px;max-width:330px}.settings-row .btn{flex-shrink:0}.settings-note{padding:18px 23px;color:#8794a4;font-size:11px;line-height:1.8}.portal-heading{text-align:center;margin:22px 0 40px}.portal-heading h1{font-size:31px}.portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1050px;margin:0 auto}.portal-card{padding:31px;background:#fff;border:1px solid var(--border);border-radius:13px;min-height:215px;display:flex;flex-direction:column;transition:transform .15s,border-color .15s}.portal-card:hover{transform:translateY(-3px);border-color:#b0c8bd}.portal-icon{width:45px;height:45px;display:grid;place-items:center;background:#eef6f2;color:var(--teal);border-radius:10px;margin-bottom:22px}.portal-card h3{font-size:17px}.portal-card p{font-size:12px;color:#8a96a5;line-height:1.8;margin:9px 0 19px}.portal-card .text-link{margin-top:auto}.modal{width:min(700px,calc(100vw - 32px));border:1px solid var(--border);border-radius:14px;background:#fff;padding:0;box-shadow:0 30px 100px #0e1b2b29;max-height:90vh;color:#1b2b41}dialog::backdrop{background:#0e19256b;backdrop-filter:blur(2px)}.modal-head{padding:24px 26px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--border)}.modal-head h2{font-size:19px;flex:1;line-height:1.5}.modal-body{padding:24px 26px;overflow-y:auto}.modal-foot{padding:19px 26px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);background:#fcfdfd;position:sticky;bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 17px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label,.field>span{font-size:11px;font-weight:600;color:#607087}.field input,.field select,.field textarea{padding:10px 12px;min-height:40px;border:1px solid #dce3eb;background:#fff;border-radius:6px;color:#344257;width:100%;font-size:12px}.field textarea{resize:vertical;min-height:82px;line-height:1.7}.field input:focus,.field select:focus,.field textarea:focus{border-color:#75b19b;outline:2px solid #e9f5ef}.field select[multiple]{min-height:91px}.field small{color:#95a0ae;font-size:10px;line-height:1.6}.check-label{display:flex;align-items:center;gap:9px;font-size:12px;color:#607087}.check-label input{width:15px;height:15px;accent-color:var(--teal)}.weekday-options{display:flex;gap:13px;flex-wrap:wrap}.weekday-options label{display:flex;gap:5px;align-items:center;font-size:11px;color:#7a8695}.detail-title{font-size:23px;line-height:1.5;margin-bottom:11px;letter-spacing:-.4px}.detail-description{color:#77879a;font-size:13px;line-height:1.8;white-space:pre-wrap;margin:18px 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0;margin:20px 0}.detail-grid dt{color:#8c98a7;font-size:10px;margin-bottom:6px}.detail-grid dd{font-size:12px;margin:0;line-height:1.6}.comment{display:flex;gap:11px;padding:15px 0;border-bottom:1px solid #edf0f4}.comment .avatar{width:29px;height:29px;font-size:10px}.comment strong{font-size:11px;font-weight:600}.comment small{font-size:10px;color:#9aa3af;margin-left:7px}.comment p{font-size:12px;line-height:1.7;color:#778599;white-space:pre-wrap;margin-top:5px}.comment-form{display:flex;gap:10px;margin-top:20px}.comment-form input{flex:1;min-width:0;border:1px solid var(--border);padding:11px;border-radius:7px;font-size:12px}.form-error{padding:11px 13px;background:#fff0f0;border:1px solid #f1d2d2;color:#b34646;border-radius:6px;font-size:12px;line-height:1.6;margin-bottom:17px}.form-error:empty{display:none}.notice{padding:14px 17px;border:1px solid #e2eaf0;background:#f7fafc;border-radius:8px;color:#6f8195;font-size:11px;line-height:1.8;margin:0 0 19px}.invite-url{display:flex;gap:9px;margin-top:14px}.invite-url input{flex:1;min-width:0;padding:11px;border:1px solid var(--border);border-radius:6px;color:#6d8193;font-size:11px}.toast-region{position:fixed;bottom:25px;right:25px;z-index:100;display:flex;flex-direction:column;gap:10px}.toast{max-width:420px;padding:15px 20px;background:#fff;border:1px solid #dce9e2;box-shadow:0 6px 24px #16243415;border-radius:8px;font-size:12px;color:#396653;animation:fade-in .2s ease}.toast.error{border-color:#efcece;color:#b04e4e}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.auth-brand{background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:42px 60px}.auth-brand .brand{padding:0}.auth-message{margin:auto 0;max-width:410px;padding:70px 0}.auth-message .eyebrow{color:#89bfae;margin-bottom:23px}.auth-message h1{font-size:43px;line-height:1.25;letter-spacing:-1.3px;font-weight:550}.auth-message p{color:#8c9eb4;font-size:14px;line-height:1.9;margin-top:24px}.auth-promise{display:flex;gap:10px;align-items:center;color:#94b2ad;font-size:11px;margin-top:32px}.auth-promise svg{width:17px}.auth-footer{font-size:10px;color:#61758e;display:flex;justify-content:space-between;gap:10px;line-height:1.7}.auth-side{display:flex;align-items:center;justify-content:center;padding:44px}.auth-card{width:100%;max-width:365px}.auth-card h2{font-size:25px;letter-spacing:-.6px}.auth-card>p{font-size:12px;color:#8b97a7;line-height:1.8;margin:11px 0 29px}.auth-card .field{margin-bottom:18px}.auth-card .field input{font-size:13px;min-height:43px}.auth-card .btn{width:100%;margin-top:8px;padding:13px;font-size:13px}.auth-card .auth-helper{font-size:10px;color:#9aa6b4;text-align:center;margin-top:23px;line-height:1.8}.mobile-menu{display:none}.mobile-overlay{display:none}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.footer-note{display:flex;justify-content:space-between;gap:10px;margin-top:32px;font-size:10px;color:#a0aaba}.full-width{grid-column:1/-1}.row-actions{display:flex;gap:5px;align-items:center}.row-actions .icon-button{width:29px;height:29px}.row-actions svg{width:15px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.history-bar{display:flex;gap:9px;align-items:flex-end;height:70px;margin-top:18px;border-bottom:1px solid var(--border)}.history-bar progress{transform:rotate(-90deg);width:60px;height:12px}.history-table{margin-top:19px}.score-period{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.score-period input,.score-period select{border:1px solid var(--border);border-radius:6px;background:#fff;padding:10px;font-size:12px}.score-period span{font-size:11px;color:#8491a1}.inline-list{display:flex;gap:7px;flex-wrap:wrap}.value-empty{color:#a2acba}.admin-link{font-size:11px;color:var(--teal);display:flex;align-items:center;gap:7px}.row-count{padding:15px 20px;font-size:10px;color:#8e99a8;border-top:1px solid var(--border)}@keyframes fade-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.content{padding-top:42px}.stats-grid{gap:24px}.dashboard-grid{gap:26px}.stat-card{padding:23px 25px}.sidebar{width:252px}.main{margin-left:252px;width:calc(100% - 252px)}}
@media(max-width:1150px){.sidebar{width:210px}.main{margin-left:210px;width:calc(100% - 210px)}.brand{padding-left:18px;gap:9px}.brand strong{font-size:14px}.content{padding:28px 25px}.topbar{padding:0 25px}.stats-grid{gap:12px}.stat-card{padding:17px;min-height:130px}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);gap:18px}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-brand{padding:36px}.auth-message h1{font-size:37px}.attention-card{padding:14px}.page-heading h1{font-size:25px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);width:240px;transition:transform .2s}.shell.menu-open .sidebar{transform:translateX(0)}.main{margin:0;width:100%}.mobile-menu{display:inline-flex}.mobile-overlay{position:fixed;inset:0;background:#111c2f66;z-index:19}.shell.menu-open .mobile-overlay{display:block}.topbar{height:64px;padding:0 22px}.breadcrumbs{display:none}.top-actions{gap:13px}.content{padding:27px 22px 35px}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.stack{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stats-grid{gap:12px}.stat-value{font-size:28px}.stat-note{font-size:10px}.intro-strip .btn{display:none}.calendar-cell{min-height:97px;padding:6px}.calendar-event{font-size:9px;padding:4px}.auth-shell{grid-template-columns:1fr}.auth-brand{padding:26px 30px}.auth-message{display:none}.auth-footer{display:none}.auth-side{padding:42px 27px;align-items:flex-start}.auth-card{max-width:420px}.auth-card h2{font-size:24px}.auth-brand .brand strong{font-size:16px}.auth-brand .brand{padding:0}.grid-2{grid-template-columns:1fr}}
@media(max-width:580px){.content{padding:25px 16px 35px}.topbar{padding:0 16px}.timezone-label{display:none}.page-heading{gap:15px;margin-bottom:23px}.page-heading h1{font-size:24px}.heading-actions .btn{padding:9px 12px}.heading-actions .btn.export{display:none}.page-subtitle{font-size:11px}.eyebrow{font-size:9px;letter-spacing:1.5px}.stats-grid{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:20px}.stat-card{padding:15px;min-height:127px}.stat-top{font-size:11px}.stat-icon{width:27px;height:27px}.stat-icon svg{width:14px;height:14px}.stat-value{font-size:29px}.dashboard-grid>.stack{display:flex}.intro-strip{padding:16px;margin-bottom:20px;align-items:flex-start;gap:11px}.intro-strip p{font-size:11px}.intro-strip h3{font-size:12px}.flow-line{gap:5px;font-size:9px}.attention-grid{gap:9px}.attention-card{padding:13px 10px;gap:7px;align-items:flex-start}.attention-card svg{width:13px}.attention-card strong{font-size:17px}.attention-card span{font-size:9px;line-height:1.5}.panel-header{padding:18px}.panel-body{padding:18px}.task-row{padding:16px 18px}.task-row .due{font-size:10px}.cards-grid{grid-template-columns:1fr}.filters{gap:8px}.filters .search-box{flex-basis:100%}.filters select{flex:1;max-width:none;min-width:calc(50% - 5px)}.filters .btn{flex:1}.filter-more{gap:8px}.filter-more input,.filter-more select{min-width:calc(50% - 5px);flex:1}.filter-count{display:none}.calendar-toolbar{gap:13px}.calendar-nav{gap:7px}.calendar-nav h2{font-size:15px}.calendar-nav .btn{font-size:10px;padding:8px}.segmented button{padding:7px 9px;font-size:10px}.calendar-cell{min-height:78px;padding:4px}.calendar-dow{padding:11px 3px;font-size:9px}.calendar-number{font-size:10px;width:20px;height:20px;margin-bottom:4px}.calendar-event{font-size:8px;padding:4px 3px;white-space:normal;line-height:1.4;max-height:30px}.calendar-legend{font-size:10px}.form-grid{grid-template-columns:1fr;gap:17px}.modal-head,.modal-body{padding:20px}.modal-head h2{font-size:17px}.modal-foot{padding:15px 20px}.modal{max-height:92vh;width:calc(100vw - 20px)}.detail-grid{gap:17px 14px}.detail-title{font-size:20px}.portal-grid{grid-template-columns:1fr}.portal-heading{margin:15px 0 29px}.portal-heading h1{font-size:26px}.portal-card{min-height:180px;padding:25px}.portal-icon{margin-bottom:16px}.settings-row{padding:18px}.settings-row p{font-size:10px}.settings-row .btn{padding:9px;font-size:10px}.profile-hero{padding:20px;gap:13px;flex-wrap:wrap}.profile-hero .avatar{width:47px;height:47px;font-size:15px}.profile-hero .badge{margin-left:0}.toast-region{bottom:18px;right:14px;left:14px}.toast{max-width:none}.footer-note{font-size:9px}.score-period select{flex:1}.score-period input{min-width:0;flex:1;width:120px}.table-wrap td,.table-wrap th{padding:15px}.auth-side{padding-top:37px}.auth-brand{padding:23px 27px}.entity-card{padding:21px}}
/* Readable operational type. Secondary timestamps retain a compact hierarchy. */
.btn,.text-link,.table-title,.task-row-title,.due,.check-label,.field label,.field>span,.field input,.field select,.field textarea,.comment-form input,.filters select,.filters input[type=date],.score-period input,.score-period select,.segmented button,.settings-row .btn{font-size:14px}
.btn{min-height:42px}.badge{font-size:12px}.page-subtitle,.intro-strip p,.entity-card .description,.empty-state p,.notification-item p,.detail-description,.comment p,.auth-card>p,.notice,.settings-note,.settings-row p{font-size:14px}.auth-message p{font-size:16px}.auth-card .field input,.auth-card .btn{font-size:14px}.empty-state h3,.panel-title h2,.settings-row h3,.intro-strip h3,.task-row-title{font-size:15px}.stat-top{font-size:13px}.stat-note,.entity-meta,.table-sub,.task-row-meta,.progress-meta,.panel-header small,.timeline-item small,.detail-grid dt,.field small,.weekday-options label,.row-count,.calendar-legend,.section-tab,.settings-row p,.auth-card .auth-helper,.filter-count,.score-period span,.timezone-label{font-size:12px}.timeline-item h3,.comment strong,.detail-grid dd,.invite-url input{font-size:14px}th{font-size:12px}td{font-size:14px}.kpi-values small{font-size:12px}.kpi-values em{font-size:12px}.section-tab{font-size:14px}.task-row .due{font-size:12px}.attention-card span{font-size:12px}.flow-line{font-size:12px}.notification-item h3{font-size:14px}.notification-item small{font-size:12px}.comment small{font-size:12px}.goal-summary+.goal-summary{margin-top:23px;padding-top:20px;border-top:1px solid #edf0f4}.goal-summary .progress-meta{margin-top:10px}.detail-section{margin-top:25px}.field+.field{margin-top:4px}.profile-hero .field{margin-bottom:19px}.calendar-scroll{overflow:auto;max-width:100%;border-radius:12px}.calendar-dow,.calendar-number{font-size:12px}.calendar-event{font-size:12px;line-height:1.55}.portal-card{text-align:left}.page-heading>div:first-child,.settings-row>div,.entity-card,.stat-card,.kpi-values>div{min-width:0}.settings-row p,.entity-card h3,.portal-card p,.kpi-values strong,.detail-grid dd{overflow-wrap:anywhere}.settings-row .badge{white-space:normal;text-align:center}.entity-card-header{justify-content:flex-start}.entity-card-header>.badge:last-child{margin-left:auto}.panel-header .text-link{white-space:nowrap}.stat-note{min-height:16px}.heading-actions:empty{display:none}.form-grid .field{margin-top:0}.profile-hero p{font-size:14px}.settings-row{align-items:flex-start}.initial-loader .btn{justify-self:center}
@media(max-width:850px){.calendar-grid.month,.calendar-grid.week{min-width:700px}.calendar-cell{min-height:110px;padding:9px}.calendar-event{font-size:12px;padding:5px 7px}.calendar-dow,.calendar-number{font-size:12px}.calendar-grid.day .calendar-cell{min-height:250px}.auth-message p{font-size:16px}}
@media(max-width:580px){.heading-actions .btn{font-size:13px}.page-heading{flex-wrap:wrap}.heading-actions{padding:0}.page-subtitle{font-size:14px}.stat-top{font-size:12px}.stat-note{font-size:12px;line-height:1.6}.stat-card{min-height:142px}.stat-icon{margin-left:5px}.attention-grid{grid-template-columns:1fr}.attention-card{padding:14px 17px;align-items:center;gap:12px}.attention-card svg{width:18px}.attention-card>div{display:flex;gap:12px;align-items:center}.attention-card strong{font-size:18px;min-width:21px}.attention-card span{font-size:13px;margin:0}.intro-strip p{font-size:13px}.flow-line{font-size:11px}.panel-header{gap:10px}.panel-title h2{font-size:14px}.panel-header .text-link{font-size:12px}.task-row .due{font-size:12px}.calendar-nav .btn{font-size:12px}.calendar-event{font-size:12px;white-space:nowrap;max-height:none}.calendar-dow,.calendar-number{font-size:12px}.calendar-legend{font-size:12px}.segmented button{font-size:13px;padding:8px 11px}.filters select,.filters input[type=date]{font-size:14px;min-height:42px}.settings-row{flex-wrap:wrap}.settings-row .btn{font-size:13px}.settings-row p{font-size:13px}.settings-row>div{flex:1 1 180px}.score-period span{font-size:12px}.profile-hero p{font-size:13px}.auth-card .auth-helper{font-size:12px}.portal-card p{font-size:14px}.modal-foot{flex-wrap:wrap}.field label,.field>span{font-size:14px}.empty-state h3{font-size:15px}.empty-state p{font-size:14px}}
.kpi-history-chart{padding:17px 18px;border:1px solid #e4ebe7;background:#fbfdfc;border-radius:9px;margin:22px 0}.trend-chart{width:100%;height:auto;display:block}.trend-line{fill:none;stroke:#228a6c;stroke-width:2}.trend-dot{fill:#228a6c;stroke:#fff;stroke-width:1.5}.trend-baseline{stroke:#e2e9e5;stroke-width:1}.trend-target{stroke:#94a5b5;stroke-width:1;stroke-dasharray:5 4}.chart-note{font-size:12px;color:#8a98a7;margin-top:10px}
.badge,.task-row .due,.heading-actions .btn,.calendar-nav .btn,.settings-row .btn{font-size:14px}.task-row-meta .badge{font-size:12px}.calendar-cell .calendar-event{font-size:13px}.modal .detail-grid .text-link{white-space:normal;text-align:left}.task-row-title{line-height:1.5}.settings-note{line-height:1.8}.panel-title h2{line-height:1.5}
/* Constrain grid items so long labels scroll or wrap inside their own panels. */
.main,.content,.panel,.stack,.dashboard-grid>*,.dashboard-grid>.stack>*,.grid-2>*,.settings-grid>*,.cards-grid>*,.portal-grid>*{min-width:0}
.table-wrap,.calendar-scroll{width:100%;min-width:0}.panel-header>*,.task-row>*,.page-heading>*,.heading-actions{min-width:0}.panel-title{min-width:0}.panel-title h2{overflow-wrap:anywhere}
@media(max-width:850px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-grid>.stack{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2{grid-template-columns:minmax(0,1fr)}}
@media(max-width:580px){.cards-grid,.portal-grid,.settings-grid,.attention-grid{grid-template-columns:minmax(0,1fr)}.panel-header{flex-wrap:wrap}.footer-note{flex-wrap:wrap}.filters{min-width:0}}
.periodic-label{font-size:14px!important;font-weight:600;cursor:pointer}.periodic-label input{width:17px;height:17px;min-height:0;padding:0;margin:0;accent-color:var(--teal)}.recurrence-options{padding:18px;border:1px solid #dfebe4;background:#f9fcfa;border-radius:8px}.recurrence-options[hidden],[data-recurrence-specific][hidden]{display:none}
.check-label input[type=checkbox],.weekday-options input[type=checkbox]{width:17px;height:17px;min-height:0;padding:0;margin:0;flex-shrink:0;accent-color:var(--teal)}
@font-face{font-family:Hero;src:url('/brand/Hero.otf') format('opentype');font-display:swap;font-weight:400;font-style:normal}
.official-brand{gap:12px;align-items:center}.brand-logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.brand-image{display:block;object-fit:contain;max-width:80px;max-height:80px}.brand-image.default-logo{filter:brightness(0) invert(1)}.brand-copy{min-width:0}.official-brand .brand-copy strong{font-family:Hero,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:17px;line-height:1.35;letter-spacing:1.8px;text-transform:uppercase;overflow-wrap:anywhere}.official-brand .brand-copy small{font-family:Hero,"Segoe UI",Arial,sans-serif;font-size:11px;font-weight:400;letter-spacing:1.7px;line-height:1.5;text-transform:uppercase;color:#a5b4c8;margin-top:7px}.sidebar .brand-large{flex-direction:column;align-items:flex-start;gap:12px}.auth-brand .official-brand .brand-copy strong{font-size:23px;letter-spacing:2.1px}.auth-brand .official-brand .brand-copy small{font-size:12px;letter-spacing:2.3px}.branding-body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:30px;align-items:start;padding:26px}.branding-previews{display:flex;flex-direction:column;gap:14px;min-width:0}.branding-preview-light{background:#f7f9fb;border:1px solid #e3e9ef;border-radius:9px;min-height:164px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px}.branding-preview-light>img{max-width:140px;max-height:92px;object-fit:contain;display:block}.branding-preview-light>span,.branding-preview-nav>span{font-size:12px;color:#8190a3}.branding-preview-nav{background:#111c2f;border-radius:9px;min-height:164px;padding:24px;display:flex;flex-direction:column;justify-content:center;gap:23px;overflow:hidden}.branding-preview-nav .brand{padding:0;pointer-events:none}.branding-preview-nav .brand-large{flex-direction:column;align-items:flex-start}.branding-preview-nav>span{color:#8c9cb1}.branding-controls{min-width:0}.branding-controls .field{margin-bottom:20px}.branding-controls .field input[type=file]{font-size:14px;padding:10px;min-height:43px}.branding-controls input[type=file]::file-selector-button{font:inherit;border:0;border-radius:4px;background:#e9f2ed;color:#37765f;padding:7px 10px;margin-right:10px;cursor:pointer}.branding-controls .settings-note{padding:0;margin:0 0 18px}.branding-reset-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px}.branding-reset-row .text-link{font-size:13px}.logo-selected-file{font-size:12px;color:#4c826c;line-height:1.7;overflow-wrap:anywhere}.branding-controls .field input[type=number]{max-width:120px}
@media(max-width:1150px){.official-brand .brand-copy strong{font-size:15px;letter-spacing:1.6px}.official-brand .brand-copy small{font-size:10px;letter-spacing:1.5px}.branding-body{gap:22px}.branding-preview-nav{padding:20px}}
@media(max-width:850px){.branding-body{grid-template-columns:minmax(0,1fr)}.branding-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.auth-brand .official-brand .brand-copy strong{font-size:21px}.auth-brand .official-brand .brand-copy small{font-size:12px}}
@media(max-width:580px){.branding-body{padding:20px;gap:24px}.branding-previews{grid-template-columns:minmax(0,1fr)}.branding-preview-light,.branding-preview-nav{min-height:153px}.auth-brand .brand-large{flex-direction:column;align-items:flex-start}.branding-reset-row .text-link{font-size:14px}.official-brand .brand-copy strong{font-size:17px}.official-brand .brand-copy small{font-size:11px}}
