
:root{color-scheme:light;--bg:#f6f8ff;--panel:#fff;--line:#dce5f5;--cyan:#00aeea;--blue:#1769ff;--violet:#8050e8;--ink:#15233e;--muted:#63728b;--white:#fff}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 10% 12%,#e5f0ff 0,transparent 38%),radial-gradient(ellipse at 90% 88%,#f0eaff 0,transparent 36%),#f7f9fe;color:var(--ink);font:15px Inter,Arial,sans-serif;display:grid;place-items:center;padding:28px}
.shell{width:min(100%,460px)}.brand{display:flex;align-items:center;justify-content:center;width:min(100%,300px);min-height:88px;padding:10px 18px;margin:0 auto 22px;background:#fff;border:1px solid #e6ebf5;border-radius:18px;box-shadow:0 8px 28px #1d3e7510}.brand img{display:block;width:100%;max-height:68px;object-fit:contain}
.card{background:rgba(255,255,255,.96);border:1px solid #e1e8f4;border-radius:24px;padding:clamp(24px,6vw,38px);box-shadow:0 24px 75px #1d3e7518,0 0 40px #1769ff0b}.eyebrow{font:700 10px 'Space Grotesk';letter-spacing:.22em;color:#1769ff}h1{font:700 clamp(30px,7vw,39px) 'Space Grotesk';letter-spacing:-.05em;margin:12px 0 7px;color:#14213a}.sub{color:#63728b;margin:0 0 25px;line-height:1.6}
label{display:block;color:#34445f;font-size:12px;font-weight:650;margin:15px 0}input{display:block;width:100%;margin-top:8px;border:1px solid #d9e2f0;background:#fbfcff;color:#17243d;border-radius:12px;padding:14px;font:14px Inter;outline:none}input::placeholder{color:#8996aa}input:focus{border-color:#5591ff;box-shadow:0 0 0 3px #1769ff18}button{font:700 14px Inter;cursor:pointer}.primary,.google{width:100%;padding:14px;border-radius:12px}.primary{border:0;color:white;background:linear-gradient(105deg,var(--blue),var(--violet));box-shadow:0 8px 24px #1769ff25;margin-top:8px}.google{margin-top:12px;color:#263653;border:1px solid #dce4f0;background:#fff}.google span{font-weight:900;color:#1769ff;margin-right:10px}.switch{text-align:center;color:#65748c;font-size:13px;margin-top:20px}.switch button{border:0;background:none;color:#1769ff}.privacy{font-size:10px;color:#7b879b;line-height:1.6;text-align:center;margin:22px 0}.privacy a,.back{color:#1769ff}.back{display:block;text-align:center;font-size:12px}#notice{display:none;border:1px solid #c9dcff;background:#f0f6ff;color:#214d91;padding:11px;border-radius:10px;font-size:12px;line-height:1.5;margin:14px 0}#notice.show{display:block}[hidden]{display:none!important}

/* Client dashboard */
.dashboard-body{display:block;padding:28px 22px 48px}.dashboard-shell{width:min(1120px,100%);margin:0 auto}.dash-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:38px}.dash-brand{margin:0;width:220px;min-height:64px;padding:7px 14px}.dash-brand img{max-height:48px}.header-actions{display:flex;align-items:center;gap:12px}.site-link,.logout,.small-outline{font-size:13px;font-weight:700;text-decoration:none;border-radius:11px;padding:11px 15px}.site-link{color:#31517f}.logout,.small-outline{border:1px solid #dce5f5;background:#fff;color:#31517f}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.welcome-row h1{font-size:clamp(32px,5vw,48px);margin:9px 0 5px}.welcome-row .sub{margin:0}.avatar{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#1769ff,#8050e8);color:#fff;font-size:25px;font-weight:800;box-shadow:0 10px 25px #1769ff30}.dash-tabs{display:flex;gap:7px;padding:6px;background:#eaf0fb;border-radius:14px;width:max-content;max-width:100%;margin-bottom:22px}.tab{border:0;background:transparent;color:#65748c;padding:11px 18px;border-radius:10px;font-size:13px;font-weight:700}.tab.active{background:#fff;color:#1769ff;box-shadow:0 3px 12px #19345b12}.panel{display:none}.panel.active{display:block}.dash-notice{padding:13px 16px;border:1px solid #f0d6a6;background:#fff9ec;color:#805514;border-radius:12px;margin:0 0 18px;font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.stat-card,.dash-card{background:#fff;border:1px solid #e2e9f4;border-radius:19px;box-shadow:0 12px 35px #1d3e7508}.stat-card{padding:22px;display:grid;gap:7px}.stat-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;color:#1769ff;background:#edf4ff;font-size:18px}.stat-label{font-size:12px;color:#6b7a91;font-weight:650;margin-top:6px}.stat-card strong{font-size:25px;letter-spacing:-.04em;color:#172743}.stat-card small{font-size:11px;color:#8490a3}.stat-card .status-text{color:#159568;font-size:21px}.content-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin-bottom:18px}.dash-card{padding:24px;margin-bottom:18px}.content-grid .dash-card{margin-bottom:0}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px}.card-heading h2,.dash-card h2{font-size:21px;letter-spacing:-.035em;margin:7px 0;color:#172743}.card-heading .sub{margin:0;font-size:13px}.text-button{border:0;background:none;color:#1769ff;font-size:12px;font-weight:750;padding:5px 0;white-space:nowrap}.detail-list{display:grid;gap:0}.detail-list>div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid #edf1f7}.detail-list span{font-size:12px;color:#718098}.detail-list strong{font-size:12px;color:#243653;text-align:right;overflow-wrap:anywhere}.quick-card{background:linear-gradient(135deg,#f5f8ff,#f7f3ff);border-color:#e5e7fb}.quick-card p{font-size:13px;line-height:1.7;color:#687891;margin:8px 0 20px}.primary-link{display:inline-flex;align-items:center;gap:24px;text-decoration:none;color:white;background:linear-gradient(105deg,#1769ff,#8050e8);border-radius:11px;padding:12px 16px;font-size:12px;font-weight:750}.enquiry-list{display:grid}.enquiry-item{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 0;border-top:1px solid #edf1f7}.enquiry-main{display:grid;gap:5px;min-width:0}.enquiry-main strong{font-size:13px;color:#263754}.enquiry-main span{font-size:12px;color:#748198;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:650px}.enquiry-main small{font-size:10px;color:#96a0b0}.enquiry-status{font-size:10px;font-weight:750;color:#167d5a;background:#eaf8f1;border-radius:20px;padding:7px 10px;white-space:nowrap}.empty-state{text-align:center;padding:34px 14px;color:#77849a;font-size:13px}.empty-state>span{font-size:28px;color:#1769ff}.empty-state strong{display:block;color:#273955;margin:8px}.empty-state p{margin:7px 0 12px}.empty-state a{color:#1769ff;font-weight:700;text-decoration:none}.edit-card{max-width:760px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}.profile-form label{margin:8px 0 12px}.profile-form label:nth-child(2){grid-column:2}.profile-form label:nth-child(3){grid-column:1}.profile-form input{margin-top:8px}.profile-form input:disabled{opacity:.72;background:#f0f3f8}.form-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}.form-actions .primary{width:auto;min-width:150px;margin:0}.form-status{font-size:12px;color:#16845e}.security-card{max-width:760px}.security-note{font-size:11px;color:#8490a3;line-height:1.6;margin:16px 0 0}.small-outline{display:inline-flex;align-items:center;white-space:nowrap}.dash-footer{text-align:center;color:#9aa5b6;font-size:11px;padding:22px 0 0}.dashboard-body .brand{box-shadow:0 8px 28px #1d3e7510}.dashboard-body .logout:disabled{opacity:.6;cursor:wait}
@media(max-width:760px){.dashboard-body{padding:18px 14px 34px}.dash-header{margin-bottom:28px}.dash-brand{width:165px;min-height:55px}.dash-brand img{max-height:40px}.site-link{display:none}.stats-grid{grid-template-columns:1fr 1fr}.stat-card:last-child{grid-column:1/-1}.content-grid{grid-template-columns:1fr}.dash-card{padding:19px}.profile-form{grid-template-columns:1fr}.profile-form label:nth-child(2),.profile-form label:nth-child(3){grid-column:1}.welcome-row h1{font-size:34px}.avatar{width:52px;height:52px;border-radius:16px}.tab{padding:10px 13px;font-size:12px}.dash-tabs{width:100%;justify-content:space-between}.tab{flex:1}.card-heading{flex-wrap:wrap}.enquiry-main span{max-width:55vw}}
@media(max-width:420px){.stats-grid{grid-template-columns:1fr}.stat-card:last-child{grid-column:auto}.header-actions{gap:6px}.logout{padding:10px 12px}.welcome-row{align-items:flex-start}.avatar{width:44px;height:44px}.form-actions{align-items:stretch;flex-direction:column}.form-actions .primary{width:100%}}
