:root{--navy:#152b49;--navy2:#1e4068;--orange:#f68c45;--orange-lite:#fff0e4;--bg:#f5f7fb;--text:#1c2b40;--muted:#7d899b;--border:#e6eaf0;--white:#fff;--success:#1c9e77;--danger:#dc5d5d;--shadow:0 8px 25px rgba(27,43,66,.045);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:var(--navy2)}.boot-screen{height:100vh;display:grid;align-content:center;justify-items:center;gap:16px;color:var(--muted)}.brand-icon{display:grid;place-items:center;width:51px;height:51px;border-radius:16px;background:linear-gradient(145deg,#284974,#102641);color:white;font-size:20px;font-weight:900;letter-spacing:-1.8px;box-shadow:0 8px 18px #152b4933}.shell{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}.sidebar{background:var(--navy);color:white;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 17px 20px}.brand{display:flex;gap:12px;align-items:center;margin:5px 9px 40px}.brand-copy strong{display:block;font-size:20px;letter-spacing:-.7px}.brand-copy span{display:block;color:#a9b7c9;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;margin-top:3px}.nav-title{color:#8699b2;text-transform:uppercase;font-size:10px;letter-spacing:1.7px;margin:0 13px 13px;font-weight:700}.nav-btn{width:100%;display:flex;align-items:center;gap:11px;text-align:left;border:0;background:transparent;color:#c9d5e3;border-radius:11px;padding:13px 15px;margin-bottom:5px;font-weight:600}.nav-btn.active{background:#ffffff17;color:white;box-shadow:inset 3px 0 var(--orange)}.nav-btn:hover{background:#ffffff13;color:white}.ico{display:inline-flex;width:21px;height:21px;flex:none;align-items:center;justify-content:center;font-size:18px}.sidebar-bottom{margin-top:auto;padding:15px 8px 0;border-top:1px solid #ffffff22}.sidebar-bottom small{display:block;color:#8da0b8;margin-top:4px}.sidebar-bottom .userline{display:flex;gap:11px;align-items:center}.avatar{display:inline-grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#e9f0fa;color:#285077;font-weight:850;font-size:13px}.avatar.orange{background:var(--orange-lite);color:#ba6632}.avatar.navy{color:white;background:#34547b}.main-area{min-width:0}.topbar{height:89px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--border);padding:0 43px;gap:18px}.topbar h1{font-size:19px;letter-spacing:-.7px;margin:0 0 4px;font-weight:800}.topbar p{font-size:12px;color:var(--muted);margin:0}.top-actions{display:flex;align-items:center;gap:9px}.sync-pill{display:flex;align-items:center;gap:7px;background:#eff8f5;border-radius:30px;color:#28836c;font-size:11px;font-weight:700;padding:9px 12px;white-space:nowrap}.sync-pill.offline{background:#fff2e8;color:#bf713a}.sync-pill.pending{background:#edf2ff;color:#486dba}.dot{width:7px;height:7px;border-radius:50%;background:currentColor}.icon-btn{width:37px;height:37px;display:grid;place-items:center;background:white;border:1px solid var(--border);border-radius:10px;color:var(--navy)}.content{max-width:1380px;margin:auto;padding:31px 43px 70px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.page-heading h2{font-size:22px;margin:0 0 6px;letter-spacing:-.7px}.page-heading p{color:var(--muted);font-size:13px;margin:0}.btn{border:1px solid transparent;border-radius:10px;padding:11px 15px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-weight:700;font-size:12px;white-space:nowrap}.btn.primary{background:var(--orange);color:white;box-shadow:0 4px 12px #f68c4533}.btn.primary:hover{background:#ed7b32}.btn.navy{background:var(--navy);color:#fff}.btn.ghost{background:white;color:var(--navy);border-color:var(--border)}.btn.light{background:#f2f5fa;color:#2a4768}.btn.danger{background:#fff1f1;color:#cc4a4a}.btn.tiny{padding:7px 10px;font-size:11px;border-radius:8px}.hero{background:linear-gradient(110deg,#1a3558,#25496d);border-radius:17px;color:white;padding:28px 31px;display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:250px;height:250px;border-radius:50%;border:45px solid #ffffff0b;right:-48px;top:-138px}.hero:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;background:var(--orange);opacity:.75;right:128px;bottom:-75px}.hero h2{font-size:23px;letter-spacing:-.7px;margin:0 0 8px}.hero p{margin:0;color:#d2deec;font-size:12px;max-width:480px;line-height:1.7}.hero .hero-icon{font-size:48px;opacity:.3;position:relative;z-index:1}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 24px}.stat-card{background:white;border:1px solid var(--border);border-radius:14px;padding:21px 21px 18px;box-shadow:var(--shadow)}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.stat-label{font-size:11px;color:var(--muted);font-weight:650}.stat-card strong{display:block;font-size:27px;letter-spacing:-.9px}.stat-card small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.stat-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:18px;background:#eef3ff;color:#385f98}.stat-icon.orange{background:var(--orange-lite);color:#dd8246}.stat-icon.green{background:#eaf8f2;color:#229771}.stat-icon.red{background:#fff0ef;color:#d96c65}.panel-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:20px}.panel{background:white;border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border)}.panel-head h3{margin:0;font-size:15px;letter-spacing:-.3px}.panel-head p{margin:5px 0 0;font-size:11px;color:var(--muted)}.panel-head button{border:none;background:none;color:#315d91;font-size:11px;font-weight:700}.task-list{padding:2px 22px}.task-row{padding:17px 0;border-bottom:1px solid #edf0f5;display:flex;align-items:center;gap:13px;min-width:0}.task-row:last-child{border-bottom:0}.task-dot{width:36px;height:36px;border-radius:11px;background:#eef2fa;display:grid;place-items:center;color:#41648b;font-size:17px;flex:none}.task-info{min-width:0;flex:1}.task-name{font-size:12px;font-weight:760;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-meta{color:var(--muted);font-size:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.status{font-size:10px;border-radius:20px;padding:5px 9px;font-weight:750;white-space:nowrap;display:inline-block}.status.todo{background:#edf3fc;color:#4c719c}.status.in_progress{background:#fff2df;color:#bf7d30}.status.submitted{background:#eef0ff;color:#6668b8}.status.approved{background:#e8f8f0;color:#248d62}.status.changes_requested{background:#fff0ef;color:#c85e55}.pill{font-size:10px;color:#697d99;background:#f2f5f9;padding:5px 8px;border-radius:7px;white-space:nowrap}.pill.warning{background:#fff2e8;color:#c27339}.pill.critical{background:#fff0ef;color:#cc5c55}.task-end{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.task-money{font-size:11px;font-weight:850;color:#db8040;white-space:nowrap}.activity-list{padding:11px 23px}.activity-item{display:flex;gap:11px;padding:15px 0;border-bottom:1px solid #f0f1f4;align-items:flex-start}.activity-item:last-child{border:none}.activity-item .activity-icon{background:#fff0e4;color:#c97a41;width:31px;height:31px;display:grid;place-items:center;border-radius:10px;flex:none}.activity-item strong{font-size:11px;display:block;margin-bottom:4px}.activity-item p{margin:0;font-size:11px;color:var(--muted);line-height:1.5}.toolbar{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:17px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:9px;border:1px solid var(--border);background:#fff;padding:0 14px;border-radius:10px;min-width:250px;flex:1;max-width:360px}.search input{border:none;outline:none;height:42px;width:100%;min-width:0;color:var(--text)}.filter-row{display:flex;gap:6px;flex-wrap:wrap}.filter{border:1px solid var(--border);background:#fff;color:#6b798e;border-radius:9px;padding:10px 12px;font-size:11px;font-weight:700}.filter.active{background:var(--navy);color:white;border-color:var(--navy)}.board{display:grid;gap:11px}.work-card{background:white;border:1px solid var(--border);border-radius:13px;padding:19px 20px;box-shadow:var(--shadow);display:flex;justify-content:space-between;gap:20px}.work-card h3{font-size:14px;margin:0 0 9px;letter-spacing:-.3px}.work-card p{font-size:12px;color:#7d8998;line-height:1.6;margin:0 0 14px;max-width:750px;white-space:pre-line}.work-card .card-tags{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.work-card .task-buttons{display:flex;flex-direction:column;align-items:end;justify-content:space-between;gap:8px}.work-card .task-buttons .button-row{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.people-card{background:white;border:1px solid var(--border);border-radius:14px;padding:22px;box-shadow:var(--shadow)}.people-card .person-top{display:flex;gap:12px;align-items:center}.people-card h3{margin:0 0 5px;font-size:14px}.people-card p{margin:0;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.people-stat{display:flex;justify-content:space-between;margin-top:21px;padding-top:16px;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.people-stat strong{color:var(--navy);font-size:12px}.empty{padding:52px 20px;text-align:center;color:var(--muted);font-size:12px}.empty .big{font-size:38px;display:block;margin-bottom:13px}.empty strong{color:var(--text);display:block;font-size:14px;margin-bottom:7px}.settings-card{padding:23px}.settings-card h3{font-size:14px;margin:0 0 10px}.settings-card p{line-height:1.75;color:var(--muted);font-size:12px}.settings-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:15px 0;border-top:1px solid var(--border)}.settings-row:first-of-type{border:none}.settings-row strong{font-size:12px}.settings-row span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.notice{background:#fff6e8;color:#875a27;border-radius:12px;padding:15px 18px;font-size:12px;line-height:1.6;margin-bottom:20px;border:1px solid #f8e5ca}.notice.blue{background:#edf4ff;color:#42688e;border-color:#dfebfc}.modal-overlay{position:fixed;inset:0;z-index:50;background:#1422368c;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:white;width:min(100%,600px);max-height:min(93vh,850px);overflow:auto;border-radius:18px;box-shadow:0 30px 80px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 27px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:18px;letter-spacing:-.5px;margin:0}.modal-body{padding:25px 27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;color:#46536a;font-weight:750}.field input,.field select,.field textarea{border:1px solid #dce3ec;border-radius:10px;background:#fff;padding:12px 12px;width:100%;outline-color:#6b9bc9;min-width:0;color:var(--text)}.field textarea{resize:vertical;min-height:88px;line-height:1.5}.form-foot{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:24px}.form-help{font-size:10px;color:var(--muted);line-height:1.5}.modal-desc{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 16px}.toast-wrap{position:fixed;bottom:22px;right:25px;z-index:100;display:grid;gap:8px}.toast{background:#18324f;color:#fff;border-radius:11px;padding:13px 17px;box-shadow:0 10px 32px #0003;font-size:12px;max-width:330px}.toast.error{background:#a94a4a}.mobile-nav{display:none}.auth-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white}.auth-art{background:linear-gradient(135deg,#132b4c,#274e73);padding:11vh 8vw;color:white;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art:after{content:"";position:absolute;width:320px;height:320px;border:65px solid #ffffff08;right:-180px;bottom:40px;border-radius:50%}.auth-art h1{font-size:42px;letter-spacing:-1.8px;line-height:1.13;max-width:510px}.auth-art p{line-height:1.8;color:#cbd6e5;max-width:480px}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:30px}.auth-form{width:min(100%,390px)}.auth-form h2{font-size:25px;letter-spacing:-.8px;margin:0 0 9px}.auth-form p{color:var(--muted);font-size:12px;line-height:1.7;margin-bottom:27px}.auth-form .field{margin-bottom:17px}.auth-form .btn{width:100%;margin-top:10px}.auth-tabs{display:flex;margin-bottom:29px;border-bottom:1px solid var(--border)}.auth-tabs button{border:0;background:transparent;padding:12px 19px;font-weight:700;color:var(--muted)}.auth-tabs button.active{color:var(--navy);border-bottom:2px solid var(--orange)}.inline-link{background:none;border:none;padding:0;color:#315d91;font-weight:700;font-size:12px}.hidden{display:none!important}
@media(max-width:1180px){.people-grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.panel-grid{grid-template-columns:1fr}.content{padding:27px}.topbar{padding:0 27px}}
@media(max-width:780px){.shell{display:block}.sidebar{display:none}.topbar{height:74px;padding:0 18px}.topbar h1{font-size:17px}.topbar p{font-size:11px}.top-actions .icon-btn{display:none}.content{padding:22px 16px 105px}.page-heading{align-items:start}.page-heading h2{font-size:19px}.page-heading p{font-size:12px}.hero{padding:23px 21px}.hero h2{font-size:19px}.hero .hero-icon{display:none}.stats{gap:10px}.stat-card{padding:16px}.stat-label{font-size:10px}.stat-card strong{font-size:24px}.stat-icon{width:32px;height:32px;font-size:16px}.panel-head{padding:17px}.task-list{padding:0 15px}.task-row{gap:9px}.task-dot{width:30px;height:30px;font-size:14px}.task-name{font-size:11px}.task-meta{font-size:10px}.status{font-size:9px}.people-grid{grid-template-columns:1fr}.work-card{flex-direction:column;padding:17px;gap:15px}.work-card .task-buttons{flex-direction:row;align-items:center;justify-content:space-between}.mobile-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:flex;justify-content:space-around;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--border);box-shadow:0 -5px 20px #0000000a}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:none;border:0;color:#8490a3;min-width:63px;font-weight:700;font-size:10px;padding:4px 8px}.mobile-nav button.active{color:var(--orange)}.mobile-nav button span{font-size:19px}.modal-overlay{padding:7px;align-items:flex-end}.modal{border-radius:18px 18px 8px 8px;max-height:94vh}.modal-header{padding:19px}.modal-body{padding:19px}.form-grid{grid-template-columns:1fr;gap:13px}.field.full{grid-column:auto}.auth-page{grid-template-columns:1fr}.auth-art{display:none}.auth-form-wrap{min-height:100vh}.sync-pill{padding:8px;font-size:10px}.toast-wrap{bottom:84px;right:10px;left:10px}.toast{max-width:none}}
@media(max-width:390px){.topbar p{max-width:180px}.page-heading{gap:8px}.page-heading .btn{font-size:10px;padding:10px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:13px}.stat-icon{width:29px;height:29px}.stat-card strong{font-size:21px}.task-row .task-dot{display:none}.task-end .status{font-size:9px}}
