:root{color:#1f302b;background:#f3f6f4;font-synthesis:none;text-rendering:optimizeLegibility;--brand-deep: #123f35;--brand: #166858;--brand-soft: #e8f1ed;--accent: #b87b4c;--surface: #ffffff;--surface-subtle: #f7f9f8;--text: #1f302b;--muted: #687872;--line: #dfe6e2;--focus-ring: 0 0 0 3px rgba(22, 104, 88, .18);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 14px;--motion-fast: .15s;--motion-base: .18s;--shadow-sm: 0 5px 22px rgba(21, 67, 56, .05);--shadow-lg: 0 24px 70px rgba(30, 55, 48, .14)}*{box-sizing:border-box}html{min-width:320px;background:#f3f6f4}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);background:#f3f6f4;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}:focus-visible{outline:3px solid rgba(22,104,88,.22);outline-offset:2px}::selection{color:var(--brand-deep);background:#b87b4c3d}.skip-link{position:fixed;top:8px;left:12px;z-index:1000;padding:10px 14px;color:#fff;background:var(--brand-deep);border-radius:var(--radius-sm);transform:translateY(-150%);transition:transform var(--motion-fast) ease}.skip-link:focus{transform:translateY(0)}.ant-btn,.ant-input,.ant-select-selector,.ant-picker,.ant-card,.ant-table-row{transition-duration:var(--motion-base)!important}.ant-btn:not(:disabled):active{transform:translateY(1px)}.ant-btn:focus-visible,.ant-input:focus-visible,.ant-select-focused .ant-select-selector,.ant-picker-focused{box-shadow:var(--focus-ring)!important}.ant-btn[disabled],.ant-input[disabled]{cursor:not-allowed}.brand{height:60px;display:flex;align-items:center;gap:10px;padding:0 18px;color:#fff;font-weight:650;font-size:16px;letter-spacing:.01em}.brand-mark{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#d8ae6b;color:#183f35;font-weight:800;box-shadow:inset 0 0 0 1px #ffffff4d}.admin-sider{background:var(--brand-deep)!important;box-shadow:12px 0 32px #0c312814}.admin-sider .ant-menu{background:transparent;padding:6px 10px}.admin-sider .ant-menu-item{margin-inline:0;width:100%}.admin-header{position:sticky;top:0;z-index:20;height:60px;line-height:normal;background:#ffffffeb;border-bottom:1px solid var(--line);padding:0 24px;display:flex;align-items:center;justify-content:space-between;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.admin-avatar{background:#d8ae6b!important;color:#173e35!important;font-weight:700}.mobile-nav-trigger{display:none}.admin-content{min-width:0;margin:16px 20px 24px}.admin-content-inner{width:min(100%,1540px);margin:0 auto}.route-loading{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--muted)}.route-spinner{width:36px;height:36px;border:3px solid #dce7e2;border-top-color:var(--brand);border-radius:50%;animation:route-spin .8s linear infinite}@keyframes route-spin{to{transform:rotate(360deg)}}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.page-title{margin:0;color:var(--text);font-size:clamp(23px,1.8vw,28px);line-height:1.2;letter-spacing:-.025em}.page-subtitle{margin:5px 0 0;color:var(--muted);line-height:1.5}.page-header-extra{flex:0 0 auto}.surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:15px;box-shadow:var(--shadow-sm)}.surface>.ant-typography:first-child{margin-top:0}.surface>h3:first-child{margin-top:0}.toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:14px}.toolbar-filters{min-width:0}.toolbar-actions{flex:0 0 auto;justify-content:flex-end}.search-control{width:280px}.status-control{width:144px}.data-table .ant-table-container{border-radius:var(--radius-md);overflow:hidden}.data-table .ant-table-cell{vertical-align:middle}.data-table .ant-table-thead>tr>th,.data-table .ant-table-tbody>tr>td{padding:10px 12px!important}.data-table .ant-table-thead>tr>th{white-space:nowrap;font-size:13px;font-weight:650}.data-table .ant-pagination{margin-bottom:0}.table-actions{white-space:nowrap}.table-actions .ant-btn{padding-inline:7px}.table-secondary{color:#7b8984;font-size:12px;line-height:1.5;margin-top:2px}.followup-title{margin-top:24px!important}.lead-attention-alert{margin-bottom:14px}.compliance-result{margin-bottom:4px}.compliance-result ul{margin:8px 0 0;padding-left:20px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.stat-grid .ant-card{border-color:var(--line);box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.stat-grid .ant-card-body{padding:13px 15px}.stat-grid .ant-statistic-content{font-size:25px}.stat-grid .ant-card:hover{transform:translateY(-2px);border-color:#c7d8d1;box-shadow:0 12px 30px #15433814}.lead-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.lead-saved-filters{margin-bottom:14px;padding-block:12px}.lead-saved-filters .toolbar{margin-bottom:0}.lead-view-row{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eaecf0}.lead-view-manager{gap:10px}.status-dot{width:8px;height:8px;border-radius:50%;background:#43a47d;display:inline-block;margin-right:8px;box-shadow:0 0 0 4px #43a47d1c}.json-hint{color:#7c8a85;font-size:12px;line-height:1.6}.unsaved-indicator{display:inline-flex;align-items:center;min-height:32px;padding:4px 11px;color:#8b5d32;background:#fff7e8;border:1px solid #ead2ad;border-radius:999px;font-size:13px}.content-modal .ant-modal-body{max-height:calc(100vh - 230px);overflow-y:auto;padding-right:6px;scrollbar-gutter:stable}.sticky-form-actions{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;margin:18px -18px -18px;padding:12px 18px;background:#fffffff5;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-nav-drawer .ant-drawer-content,.mobile-nav-drawer .ant-drawer-header,.mobile-nav-drawer .ant-drawer-body{background:var(--brand-deep)}.mobile-nav-drawer .ant-drawer-header{border-bottom-color:#ffffff1a;padding:0 16px}.mobile-nav-drawer .ant-drawer-title{color:#fff}.mobile-nav-drawer .ant-drawer-close{color:#ffffffbf}.mobile-nav-drawer .drawer-brand{padding:0}.mobile-nav-drawer .ant-menu{min-height:calc(100vh - 61px);padding:10px;background:var(--brand-deep)}.lead-detail-drawer .ant-drawer-content,.lead-detail-drawer .ant-drawer-header,.lead-detail-drawer .ant-drawer-body{background:var(--surface);color:var(--text)}.lead-detail-drawer .ant-drawer-header{border-bottom-color:var(--line)}.lead-detail-drawer .ant-drawer-title,.lead-detail-drawer .ant-drawer-close{color:var(--text)}.lead-detail-drawer .ant-descriptions-item-label{color:#52625d!important;background:#f5f8f6!important;font-weight:600}.lead-detail-drawer .ant-descriptions-item-content{color:var(--text)!important;background:var(--surface)!important;overflow-wrap:anywhere;word-break:break-word}.login-shell{min-height:100dvh;width:100%;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr);background:#f4f1eb}.login-brand{min-width:0;background:var(--brand-deep);color:#fff;padding:clamp(54px,10vh,96px) clamp(48px,8vw,120px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.login-brand:after{content:"";width:420px;height:420px;border:1px solid rgba(255,255,255,.12);border-radius:50%;position:absolute;right:-140px;bottom:-170px;box-shadow:0 0 0 80px #ffffff06,0 0 0 160px #ffffff05;pointer-events:none}.login-brand h1{position:relative;z-index:1;font-size:clamp(38px,4vw,54px);line-height:1.25;margin:34px 0 24px;max-width:620px;letter-spacing:-.025em}.login-brand p{position:relative;z-index:1;color:#bdd0ca;font-size:17px;max-width:560px;line-height:1.9}.login-brand small{position:relative;z-index:1;color:#d9e5e0}.login-form{min-width:0;display:grid;place-items:center;padding:clamp(28px,5vw,72px)}.login-card{width:min(100%,430px);background:#fff;border:1px solid rgba(33,49,45,.07);border-radius:18px;padding:42px;box-shadow:var(--shadow-lg)}.login-card h2{font-size:30px;margin:0 0 8px;letter-spacing:-.02em}.login-card>p{color:#7a8984;margin:0 0 30px}.login-card .ant-btn{min-height:44px}@media(max-width:1199px){.admin-content{margin:18px 20px 28px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:991px){.admin-sider{display:none}.mobile-nav-trigger{display:inline-flex}.admin-header{padding:0 18px}.admin-content{margin:18px 16px 26px}}@media(max-width:767px){.admin-header{height:60px}.system-status,.admin-name{display:none}.admin-content{margin:14px 12px 22px}.page-header{margin-bottom:14px;flex-direction:column;gap:10px}.page-header-extra{width:100%}.page-header-extra>.ant-btn{width:100%}.page-title{font-size:24px}.page-subtitle{margin-top:6px;font-size:13px}.surface{padding:14px;border-radius:12px}.toolbar{flex-direction:column;align-items:stretch}.toolbar>.ant-btn{width:100%}.toolbar-filters{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.toolbar-filters .ant-space-item:first-child{grid-column:1 / -1}.toolbar-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.toolbar-actions .ant-btn,.search-control,.status-control{width:100%}.data-table{margin-inline:-16px}.data-table .ant-table,.data-table .ant-pagination{margin-inline:16px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-grid .ant-card-body{padding:14px}.stat-grid .ant-statistic-content{font-size:22px}.content-modal{max-width:calc(100vw - 20px);top:10px;padding-bottom:10px}.content-modal .ant-modal-body{max-height:calc(100dvh - 190px)}.sticky-form-actions{margin:16px -14px -14px;padding:12px 14px}.sticky-form-actions .ant-btn{width:100%}.ant-drawer-content-wrapper{max-width:88vw}}@media(max-width:860px){.login-shell{grid-template-columns:1fr;align-content:start}.login-brand{min-height:260px;padding:30px 24px 34px}.login-brand .brand{height:auto;padding:0}.login-brand h1{font-size:clamp(30px,9vw,40px);margin:36px 0 14px}.login-brand p{margin:0;font-size:15px;line-height:1.75}.login-brand small{display:none}.login-brand:after{width:260px;height:260px;right:-110px;bottom:-150px}.login-form{place-items:start center;padding:24px 18px 36px}.login-card{padding:28px 24px;border-radius:14px;box-shadow:0 16px 44px #1e37301f}.login-card h2{font-size:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.analytics-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-delta{margin-top:6px}.analytics-section{margin-top:14px}.analytics-toolbar{align-items:center}.analytics-period{display:block;margin:-4px 0 14px}.analytics-error{margin-bottom:14px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.section-heading .ant-typography{margin-top:0}.analytics-operation-heading{margin:18px 0 10px}.analytics-operation-heading .ant-typography{margin-bottom:0}.modal-form{margin-top:20px}.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.governance-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.governance-panel{min-width:0}.governance-panel .section-heading{margin-bottom:10px}.governance-panel .ant-typography{margin-bottom:0}.governance-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-preview-table{margin-top:12px}.trend-chart{display:flex;align-items:flex-end;gap:8px;min-height:168px;overflow-x:auto;padding:12px 4px 0}.trend-column{min-width:28px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;cursor:default}.trend-bar{width:min(28px,80%);min-height:6px;background:linear-gradient(180deg,#b87b4c,#0d4439);border-radius:4px 4px 0 0;transition:filter var(--motion-fast) ease,transform var(--motion-fast) ease;transform-origin:bottom}.trend-column:hover .trend-bar{filter:saturate(1.18);transform:scaleX(1.08)}.trend-value,.trend-label{color:#72807b;font-size:12px}.trend-value{margin-bottom:5px}.trend-label{margin-top:7px;white-space:nowrap}@media(max-width:1200px){.analytics-stat-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:1100px){.governance-grid{grid-template-columns:1fr}}@media(max-width:760px){.analytics-stat-grid,.governance-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid{grid-template-columns:1fr}.analytics-toolbar>.ant-space{width:100%}.analytics-toolbar .ant-btn{flex:1}.section-heading{align-items:flex-start;flex-direction:column;gap:8px}.section-heading>.ant-space,.section-heading>.ant-btn{width:100%}.section-heading>.ant-btn,.section-heading>.ant-space .ant-btn{flex:1}}.appointment-admin{margin-top:14px;padding:16px;background:#f6f3ed;border-left:3px solid #b87b4c}.appointment-admin .ant-btn{min-width:180px}@media(max-width:767px){.appointment-admin{padding:16px}.appointment-admin .ant-btn{width:100%}.ant-drawer .ant-drawer-header{padding-inline:16px}.ant-drawer .ant-drawer-body{padding:16px}.ant-drawer .ant-drawer-extra{margin-inline-start:8px}.ant-drawer .ant-drawer-extra .ant-space{gap:4px!important}}
