:root{--tnf-bg:#f5f7fb;--tnf-card:#fff;--tnf-text:#172033;--tnf-muted:#6b7280;--tnf-primary:#2357e0;--tnf-sidebar:#101828;--tnf-soft:#edf2ff}*{box-sizing:border-box}body{background:var(--tnf-bg);color:var(--tnf-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.auth-bg{background:linear-gradient(135deg,#eef4ff,#fbfcff)}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:280px;background:var(--tnf-sidebar);color:#fff;padding:18px;z-index:10}.brand-block{display:flex;gap:12px;align-items:center;padding:12px}.brand-block span{display:block;font-size:12px;color:#a8b0c4}.brand-mark,.login-logo{width:44px;height:44px;border-radius:14px;background:#fff;color:#101828;display:flex;align-items:center;justify-content:center;font-weight:800}.brand-logo{width:48px;height:48px;border-radius:14px;object-fit:cover;background:#fff}.sidebar .nav-link{display:flex;align-items:center;gap:10px;color:#cbd5e1;border-radius:14px;padding:12px 14px}.sidebar .nav-link:hover,.sidebar .nav-link.active{background:#22304d;color:#fff}.main-content{flex:1;margin-left:280px;min-width:0}.topbar{background:rgba(245,247,251,.88);backdrop-filter:blur(10px);border-bottom:1px solid #e8edf7;padding:14px 24px}.content-wrap{padding:24px}.global-search i{position:absolute;left:14px;top:11px;color:#94a3b8;z-index:2}.global-search .form-control{padding-left:40px;border-radius:14px}.search-results{position:absolute;top:48px;left:0;right:0;background:#fff;border-radius:16px;overflow:hidden;z-index:99;border:1px solid #e5e7eb}.search-results a{display:block;padding:10px 14px;text-decoration:none;color:inherit;border-bottom:1px solid #f1f5f9}.search-results a:hover{background:#f8fafc}.card{border:0}.rounded-4{border-radius:20px!important}.stat-card{background:#fff;border:1px solid #eef2f7;border-radius:20px;padding:18px;box-shadow:0 10px 25px rgba(15,23,42,.04);height:100%}.stat-card i{font-size:22px;color:var(--tnf-primary);background:var(--tnf-soft);padding:8px;border-radius:12px}.stat-card span{display:block;color:var(--tnf-muted);font-size:13px;margin-top:10px}.stat-card strong{display:block;font-size:22px;margin-top:4px}.avatar{width:38px;height:38px;border-radius:50%;background:var(--tnf-soft);color:var(--tnf-primary);font-weight:800;display:flex;align-items:center;justify-content:center}.crm-table thead th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;background:#f8fafc}.mini-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #eef2f7;border-radius:16px;padding:12px;margin-bottom:10px;background:#fff}.mini-item.overdue{border-color:#fecaca;background:#fff7f7}.profile-tabs{gap:8px;overflow:auto;flex-wrap:nowrap;padding-bottom:6px}.profile-tabs .nav-link{white-space:nowrap;border-radius:999px;background:#fff;color:#475569}.profile-tabs .nav-link.active{background:var(--tnf-primary);color:#fff}.rich-output{font-size:15px;line-height:1.55}.rich-output table{width:100%;border-collapse:collapse}.rich-output td,.rich-output th{border:1px solid #e5e7eb;padding:6px}.photo-card{border:1px solid #eef2f7;border-radius:16px;overflow:hidden;background:#fff}.photo-card img{width:100%;aspect-ratio:1/1;object-fit:cover}.drop-area{border:2px dashed #cbd5e1;border-radius:18px;padding:18px;text-align:center;color:#64748b;background:#f8fafc}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e5e7eb;display:flex;justify-content:space-around;padding:8px 4px;z-index:100}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;text-decoration:none;color:#64748b}.mobile-nav a i{font-size:18px}.mobile-nav a.active{color:var(--tnf-primary)}.btn{border-radius:12px}.form-control,.form-select{border-radius:12px;border-color:#dce3ef}.ck-editor__editable{min-height:180px}.toast{border-radius:14px}@media(max-width:991px){.main-content{margin-left:0}.content-wrap{padding:16px 14px 88px}.topbar{padding:12px 14px}.global-search{max-width:none}.stat-card{padding:14px}.stat-card strong{font-size:18px}.table-responsive{border-radius:16px}.crm-table{min-width:900px}}

/* 2026-06 update: softer typography and cleaner client profile cards */
body{font-weight:400}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-weight:650;color:#1f2937}.fw-semibold,strong,b{font-weight:600!important;color:#1f2937}.stat-card strong{font-weight:650;color:#111827}.text-black{color:#1f2937!important}.card-body .fw-medium{font-weight:500!important;color:#293445}.symptom-overview-card{border:1px solid #edf2f7;border-radius:16px;background:#fff;padding:14px;height:100%;box-shadow:0 8px 18px rgba(15,23,42,.035)}.photo-card details summary{cursor:pointer;list-style:none}.photo-card details summary::-webkit-details-marker{display:none}.selected-files{line-height:1.4}.form-label.small{text-transform:uppercase;letter-spacing:.03em;font-weight:600}
