@charset "UTF-8";
:root{--nav:#142030;--navdeep:#0c1523;--ink:#192334;--muted:#7c8798;--line:#e7ebf0;--bg:#f6f8fb;--paper:#fff;--accent:#3669ee;--accentdark:#2457d8;--success:#117a56;--softblue:#eff4ff}
*{box-sizing:border-box}html{font-size:14px;-webkit-text-size-adjust:100%}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.48}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}input,select,textarea{outline:none}input:focus,select:focus,textarea:focus{border-color:#6288ed!important;box-shadow:0 0 0 3px #6288ed20}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em}h2,h3{letter-spacing:-.025em}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #92afff;outline-offset:3px}.eyebrow{display:block;font-size:10px;letter-spacing:.16em;font-weight:800;color:#8995a6;margin-bottom:9px}.dot,.mark-dot{color:#85a5ff}.brand-mark{height:35px;width:35px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:#d8e6ff;color:#183a7a;font-size:27px;font-weight:800;letter-spacing:-.1em;line-height:1;flex:none}.sidebar-brand,.auth-brand{display:flex;gap:12px;align-items:center;font-size:19px;letter-spacing:-.05em;font-weight:780}.sidebar-brand small,.auth-brand small,.mobile-brand small{font-size:9px;letter-spacing:.15em;font-weight:800;vertical-align:middle;margin-left:5px;color:#7183a1}
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;padding:29px 18px 22px;background:var(--nav);color:#cbd3df;display:flex;flex-direction:column;z-index:20}.sidebar-brand{padding:0 12px;color:#fff;margin-bottom:46px}.sidebar-brand .brand-mark{background:#243653;color:#fff}.menu-heading{font-size:10px;letter-spacing:.16em;color:#65788e;font-weight:800;padding:0 13px;margin:0 0 13px}.menu-group{display:grid;gap:4px}.nav-link{display:flex;align-items:center;gap:14px;padding:12px 14px;font-size:13px;border-radius:10px;color:#aab8c9;font-weight:560;transition:background .15s}.nav-link:hover,.nav-link.selected{color:#fff;background:#293a50}.nav-link.selected{font-weight:700}.nav-icon{width:20px;font-size:20px;line-height:1;text-align:center;font-weight:400}.sidebar-bottom{margin-top:auto}.sync-card{border:1px solid #3b495d;border-radius:13px;padding:15px 13px;color:#a0aec2;font-size:11px;display:grid;grid-template-columns:8px auto;gap:4px 8px;align-items:center}.status-dot,.tiny-dot{display:inline-block;width:7px;height:7px;background:#f7bd69;border-radius:100%}.sync-card strong,.sync-card small{grid-column:2;display:block}.sync-card strong{color:#e3eaf4;font-size:12px}.sync-card small{color:#8596af}.logout{border:0;background:transparent;color:#8fa1b8;font-size:12px;padding:19px 12px;text-align:left;width:100%}.logout:hover{color:#fff}.work-area{margin-left:250px;width:calc(100% - 250px);min-width:0}.topbar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 39px;background:#fff}.breadcrumb{font-size:12px;color:#465468}.breadcrumb span,.breadcrumb b{color:#afb8c6;font-weight:400;margin-right:9px}.right-head{display:flex;align-items:center;gap:18px}.secure{display:flex;gap:7px;align-items:center;color:#8b97a5;font-size:11px}.tiny-dot{background:#4bc3a2}.avatar{height:33px;width:33px;background:#e8eef7;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;color:#456184}.mobile-brand{display:none}.main{max-width:1470px;margin:auto;padding:39px 40px 25px;min-height:calc(100vh - 75px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:31px}.page-heading h1{font-size:30px;margin:0 0 7px;font-weight:780}.page-heading p{font-size:13px;color:var(--muted);margin:0}.btn{border:1px solid #dce3ee;background:#fff;color:#3f5067;padding:11px 16px;border-radius:10px;font-size:12px;font-weight:750;display:inline-flex;justify-content:center;align-items:center;gap:14px;white-space:nowrap;min-height:42px}.btn:hover{border-color:#7fa0eb;color:var(--accentdark)}.btn-primary{color:#fff;border-color:var(--accent);background:var(--accent)}.btn-primary:hover{background:var(--accentdark);border-color:var(--accentdark);color:white}.btn-outline{background:#fff}.btn-small{min-height:36px;padding:8px 16px}.btn-full{width:100%;margin-top:8px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;min-height:153px;padding:22px 23px;display:flex;flex-direction:column}.stat-card>span{font-size:12px;color:#7b899a;font-weight:590}.stat-card strong{display:block;font-size:32px;letter-spacing:-.05em;margin-top:13px;line-height:1.1;font-weight:770}.stat-card small{margin-top:auto;font-size:11px;color:#a0abba;padding-top:8px}.quota-panel{display:grid;grid-template-columns:1fr auto;gap:8px 30px;background:#16243a;border:1px solid #263e5a;color:#fff;border-radius:17px;padding:24px 28px;margin:17px 0 22px}.quota-panel .eyebrow{color:#91a9c8;margin-bottom:7px}.quota-panel h2{font-size:20px;margin:0 0 3px}.quota-panel p{color:#a6b5c9;font-size:12px;margin:0;max-width:540px}.quota-right{display:flex;flex-direction:column;align-items:flex-end}.quota-right strong{font-size:28px;line-height:1.1;letter-spacing:-.04em}.quota-right strong small{color:#6f86a4;font-size:16px}.quota-right span{color:#adc1dc;font-size:11px;margin-top:5px}.progress{background:#334860;border-radius:99px;height:7px;overflow:hidden;grid-column:1/-1;margin-top:16px}.progress-bar{height:100%;border-radius:99px;background:#8aaeff;min-width:0}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:23px 24px;margin-bottom:20px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.panel-title h2{margin:0;font-size:17px;letter-spacing:-.02em}.panel-title .eyebrow{margin-bottom:4px}.record-count{border:1px solid #ecedf1;padding:7px 10px;font-size:11px;border-radius:20px;color:#8490a1}.filters{display:flex;gap:8px;margin-bottom:18px}.filters input{flex:1;min-width:0;border:1px solid #e2e7ee;background:#f9fafc;border-radius:8px;padding:10px 12px;font-size:12px}.clear-link{align-self:center;color:#6f80a0;font-size:11px;text-decoration:underline}.table-wrap{overflow-x:auto;margin:0 -4px}table{width:100%;border-collapse:collapse;white-space:nowrap}th{font-size:10px;color:#9ca9b7;text-align:left;letter-spacing:.07em;font-weight:800;padding:14px 12px;border-bottom:1px solid #e9edf3}td{border-bottom:1px solid #edf0f4;padding:17px 12px;font-size:12px;color:#637185}tr:last-child td{border-bottom:0}td strong{color:#2c374b;font-size:12px;font-weight:710;display:block}td small{display:block;color:#a0adbc;font-size:11px;margin-top:3px}td.date-cell{font-size:11px;color:#9da8b7}.pill{font-size:10px;display:inline-flex;align-items:center;padding:6px 10px;border-radius:99px;background:#f6f7f9;color:#677585;font-weight:700;white-space:nowrap}.pill-light{background:#edf3ff;color:#5578bf}.pill-success{color:#258866;background:#e5f8ef}.pill-muted{color:#8a96a5;background:#f1f3f6}.row-action{height:30px;width:30px;background:#f3f6fa;border-radius:8px;display:grid;place-items:center;font-size:18px;color:#516584}.row-action:hover{background:#e7efff;color:#2855bf}.empty-state{text-align:center;padding:47px 20px 38px;white-space:normal}.empty-state strong{display:block;font-size:14px;margin-top:7px}.empty-state p{color:#a1aab9;font-size:12px;max-width:280px;margin:8px auto 0}.empty-icon{font-size:29px;color:#a3b4d8}.footer{display:flex;justify-content:space-between;font-size:10px;color:#abb4c0;margin-top:22px}.auth-body{min-height:100vh;background:#f7f9fc}.auth-shell{width:min(100% - 36px,440px);min-height:100vh;margin:auto;display:flex;flex-direction:column;justify-content:center;gap:26px;padding:38px 0}.auth-brand{justify-content:center;color:#26354a;font-size:23px}.auth-brand .brand-mark{height:45px;width:45px;border-radius:13px;font-size:34px}.auth-card{border:1px solid #e8edf3;background:#fff;border-radius:19px;padding:37px 33px;box-shadow:0 12px 50px #2137540b}.auth-card h1{font-size:25px;letter-spacing:-.045em;margin-bottom:8px}.auth-card p{color:#8793a3;font-size:12px;margin-bottom:25px}.auth-card .fine-print{margin:18px 0 0;text-align:center;font-size:10px;color:#abb5c2}.auth-foot{text-align:center;color:#a0acba;font-size:10px}.auth-card label,.form-stack label,.new-form label{font-size:12px;font-weight:660;color:#4f5d70;display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.auth-card input,.form-stack input,.form-stack select,.form-stack textarea,.new-form input,.new-form select{width:100%;border:1px solid #dfe5ec;border-radius:9px;background:#fff;color:#2b3648;padding:12px 13px;min-height:43px;font-size:12px}.form-stack textarea{resize:vertical;line-height:1.55}.auth-card input::placeholder,.new-form input::placeholder,.form-stack input::placeholder,.form-stack textarea::placeholder{color:#b7bfca}.auth-card form{margin-top:8px}.alert{background:#fff0f1;color:#b03a4b;border:1px solid #f8d9df;border-radius:10px;padding:12px 14px;margin:0 0 19px;font-size:12px}.notice{background:#edf9f4;border:1px solid #d2eee0;color:#207750;padding:13px 15px;border-radius:10px;margin-bottom:18px;font-size:12px}.add-panel{padding:0;overflow:hidden}.add-panel summary{padding:20px 24px;list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.add-panel summary::-webkit-details-marker{display:none}.add-panel summary strong{display:block;font-size:15px;margin-top:2px}.add-panel[open] summary{border-bottom:1px solid var(--line)}.sub-copy{color:#9ba6b3;font-size:12px;margin:18px 24px 0}.new-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:17px 24px 25px}.new-form button{justify-self:start;grid-column:1/-1}.back-link{display:inline-block;font-size:11px;color:#6880a2;margin-bottom:22px;font-weight:650}.detail-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.8fr);gap:20px}.detail-grid .panel{margin:0 0 20px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:18px}.form-actions span{color:#a2adbb;font-size:11px}.detail-side .panel h3{font-size:17px;margin-bottom:18px}.info-list{margin:0}.info-list>div{padding:13px 0;border-top:1px solid #edf0f4;display:grid;gap:5px}.info-list dt{font-size:10px;font-weight:650;color:#a1abb8}.info-list dd{font-size:12px;color:#37465b;margin:0;font-weight:650;overflow-wrap:anywhere}.info-list a{color:#4771d9}.soft-panel{background:#f1f5fc}.soft-panel p{font-size:12px;color:#71839b;line-height:1.7;margin:0}.report-value{font-size:34px;font-weight:800;letter-spacing:-.05em;margin:24px 0 9px}.muted{color:#96a3b2;font-size:12px;margin-bottom:0}
@media(max-width:1170px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:30px 26px}.topbar{padding:0 26px}.detail-grid{grid-template-columns:1fr}}
@media(max-width:840px){.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:73px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));display:flex;flex-direction:row;justify-content:center;background:#132135;box-shadow:0 -6px 24px #10203720}.sidebar-brand,.menu-heading,.sidebar-bottom{display:none}.menu-group{display:flex;gap:2px;align-items:center;overflow-x:auto;width:100%;scrollbar-width:none}.menu-group::-webkit-scrollbar{display:none}.nav-link{min-width:66px;padding:5px 7px;min-height:51px;display:flex;flex-direction:column;justify-content:center;gap:5px;font-size:9px;white-space:nowrap;flex:1}.nav-icon{font-size:18px}.work-area{margin:0;width:100%}.main{padding:26px 18px 105px}.topbar{height:60px;padding:0 18px}.mobile-brand{display:block;font-weight:800;font-size:16px;letter-spacing:-.04em}.mobile-brand small{font-size:8px}.breadcrumb{display:none}.right-head .avatar{height:29px;width:29px}.page-heading h1{font-size:25px}.quota-panel{padding:23px}.footer{padding-bottom:10px}}
@media(max-width:530px){.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading .btn{padding:9px 11px;font-size:11px;min-height:36px;margin-top:8px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.page-heading .eyebrow{font-size:9px}.stats-grid{gap:10px}.stat-card{padding:15px 15px;min-height:116px}.stat-card strong{font-size:28px;margin-top:8px}.stat-card>span{font-size:11px}.stat-card small{font-size:9px}.quota-panel{gap:8px 12px;padding:19px 17px}.quota-panel h2{font-size:17px}.quota-panel p{font-size:10px}.quota-right strong{font-size:21px}.quota-right strong small{font-size:12px}.quota-right span{font-size:10px}.panel{padding:17px 13px}.table-panel{padding:17px 12px}.panel-title h2{font-size:15px}.record-count{font-size:9px}.filters input{font-size:11px}.add-panel summary{padding:17px}.new-form{grid-template-columns:1fr;padding:16px}.sub-copy{margin:16px 17px 0}.form-two{grid-template-columns:1fr;gap:0}.detail-side{margin-top:-5px}.auth-card{padding:29px 22px}.form-actions{align-items:flex-start;flex-direction:column}.form-actions .btn{width:100%}.footer{font-size:9px}.secure{font-size:10px}}


/* ASARAH official logo: reused unmodified from the approved main-site assets. */
.auth-brand{gap:8px;justify-content:center;flex-direction:column}
.auth-brand-logo{display:block;width:192px;height:auto;max-width:100%;object-fit:contain}
.auth-brand small{font-size:9px;letter-spacing:.20em;color:#7c8899;font-weight:800}
.sidebar-brand{gap:7px;flex-direction:column;align-items:flex-start}
.sidebar-brand-logo{display:block;width:174px;height:auto;max-width:100%;object-fit:contain}
.sidebar-brand small{margin-left:3px;font-size:9px;letter-spacing:.20em;color:#91a5bc;font-weight:800}
.mobile-brand{align-items:center;gap:5px}
.mobile-brand-logo{display:inline-block;width:126px;height:auto;vertical-align:middle;object-fit:contain}
.mobile-brand small{font-size:8px;letter-spacing:.11em;color:#7b8797}
@media(max-width:530px){.auth-brand-logo{width:176px}.mobile-brand-logo{width:112px}.mobile-brand small{font-size:7px;margin-left:3px}}

/* Client intake status on project detail */
.brief-done{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0}
.brief-done small{font-size:10px;color:#9daabc}
.brief-logo{display:block;max-width:100%;max-height:125px;object-fit:contain;margin:8px 0 12px}
.brief-info{font-size:12px;line-height:1.65;color:#98a5b7;margin:8px 0 16px}
.text-wrap{white-space:normal;word-break:break-word;overflow-wrap:anywhere;line-height:1.7}
.new-link-wrap{background:#f3f7fe;border:1px solid #dfebfa;border-radius:12px;padding:13px;margin:17px 0;display:flex;flex-direction:column;gap:9px}
.new-link-wrap label{font-size:11px;font-weight:750;color:#4f6382}
.new-link-wrap input{width:100%;min-width:0;padding:11px;border:1px solid #d4dff0;color:#41516b;background:white;border-radius:8px;font-size:11px}
.new-link-wrap .btn{align-self:flex-start}
.new-link-wrap small{font-size:10px;color:#9caabd;line-height:1.5}
.brief-link-form{margin:17px 0 10px}
.warning-note{font-size:10px;color:#98a8b9;line-height:1.7;margin:12px 0 0}
