:root{--brand:#92a4a7;--graphite:#233746;--ink:#21313f;--muted:#667784;--line:#dbe3e8;--ground:#f4f6f8;--surface:#fff;--soft:#e9eef2;--accent:#486b71;--success:#36705b;--danger:#9a413a;--radius:12px;color-scheme:light;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:var(--ground)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--accent);text-underline-offset:.2em}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #587c84;outline-offset:3px}button{color:inherit}input,select,textarea{width:100%;min-width:0;border:1px solid #cbd6dd;border-radius:7px;padding:.65rem .75rem;background:var(--surface);color:var(--ink)}textarea{resize:vertical}label{display:grid;gap:.4rem;font-size:.875rem;color:#4e616f}small,.field-note{font-size:.8125rem;line-height:1.65;color:var(--muted)}label small{font-size:.8125rem;font-weight:400}h1,h2,h3,p{margin-top:0}h1{margin:0 0 .45rem;font-size:clamp(1.6rem,2vw,2rem);line-height:1.4;letter-spacing:-.025em}h2{font-size:1.06rem;font-weight:700;line-height:1.45;margin:0}h3{font-size:1rem}p{line-height:1.75}.muted{color:var(--muted)}.eyebrow{font-size:.75rem;letter-spacing:.09em;font-weight:700;color:#71838e;margin:0 0 .6rem}.button{display:inline-flex;justify-content:center;align-items:center;gap:.4rem;min-height:40px;border:1px solid #cdd8de;border-radius:7px;background:#fff;padding:.55rem .85rem;font-size:.875rem;white-space:nowrap;text-decoration:none}.button:hover{background:#edf2f4;border-color:#a6b8c1}.button-primary{background:var(--graphite);border-color:var(--graphite);color:#fff}.button-primary:hover{background:#36505e;border-color:#36505e}.button-quiet{background:transparent}.text-button{background:none;border:none;padding:.25rem;color:var(--accent);font-size:.875rem;text-decoration:underline;text-underline-offset:.25em}.icon-button{background:none;border:1px solid var(--line);border-radius:7px;width:38px;height:38px;font-size:1.3rem;line-height:1}.wordmark{display:inline-flex;gap:.6rem;align-items:baseline;font-size:1.5rem;font-weight:800;letter-spacing:.06em;color:inherit;text-decoration:none}.wordmark span{font-size:.9rem;letter-spacing:.04em;font-weight:500}.skip-link{position:fixed;top:-80px;left:1rem;z-index:50;background:#fff;border:2px solid var(--graphite);padding:.5rem}.skip-link:focus{top:1rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.boot-screen{display:grid;place-items:center;min-height:100vh;color:var(--muted)}
.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,480px);align-items:center;gap:clamp(2rem,7vw,8rem);padding:clamp(1.5rem,7vw,7rem);max-width:1440px;margin:auto}.auth-intro .wordmark{margin-bottom:5rem;color:var(--graphite)}.auth-intro h1{font-size:clamp(2.1rem,3.8vw,3.8rem);line-height:1.45;letter-spacing:-.04em;margin:0 0 1.3rem}.auth-intro>p:not(.eyebrow){color:var(--muted);max-width:30rem}.auth-note{margin-top:3rem;font-size:.875rem;color:#6b7d88}.auth-card{padding:clamp(1.5rem,3vw,2.5rem);border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 15px 55px #23374608}.auth-card h2{font-size:1.5rem;margin-bottom:.6rem}.auth-card form{display:grid;gap:1.1rem;margin:1.7rem 0}.auth-submit{margin-top:.4rem;width:100%;min-height:46px}.form-error{color:var(--danger);font-size:.875rem;line-height:1.6;margin:0}.auth-card>.field-note{margin-bottom:0}
.app{min-height:100vh}.sidebar{width:240px;position:fixed;inset:0 auto 0 0;background:var(--graphite);color:#f1f5f7;display:flex;flex-direction:column;padding:1.75rem 1rem;z-index:20;overflow-y:auto}.sidebar-brand{padding:0 .65rem 1.5rem}.sidebar-brand .wordmark{font-size:1.4rem}.sidebar-brand .wordmark span{font-size:.82rem}.sidebar-brand>p{margin:.6rem 0 0;color:#b8c7cf;font-size:.8125rem}.main-nav{display:grid;gap:.3rem}.main-nav button{display:flex;align-items:center;gap:.8rem;width:100%;min-height:45px;text-align:start;padding:.65rem .85rem;border:0;border-radius:7px;color:#cbd7de;background:transparent;font-size:.9rem}.main-nav button:hover{background:#ffffff0b;color:#fff}.main-nav button[aria-current]{background:#92a4a725;box-shadow:inset 3px 0 var(--brand);color:#fff}.nav-symbol{width:1.25rem;text-align:center;font-size:1.15rem;color:#a9bdc5}.nav-badge{font-size:.7rem;margin-left:auto;min-width:22px;text-align:center;border:1px solid #8299a8;border-radius:20px;padding:0 .3rem}.sidebar-bottom{margin-top:auto;padding:.85rem .65rem 0;border-top:1px solid #ffffff1f;font-size:.8rem;color:#b6c5cf;display:grid;gap:.75rem}.sidebar-bottom>a{color:#dce6ec}.private-indicator::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#b2c6bd;margin-right:.45rem}.user-line{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between}.user-line button{background:none;border:0;padding:0;font-size:.8rem;color:#dce6ec;text-decoration:underline;text-underline-offset:.2em}.main-shell{margin-left:240px;min-width:0}.topbar{height:70px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 clamp(1rem,3vw,2.5rem)}#nav-toggle{display:none}.breadcrumb{display:flex;align-items:center;gap:.65rem;font-size:.8125rem;color:var(--muted)}.breadcrumb strong{font-weight:500;color:#344b5b}.breadcrumb>span{color:#b4c0c7}.topbar-meta{font-size:.75rem;color:var(--muted);display:flex;align-items:center;gap:.4rem}.connection-dot{height:6px;width:6px;border-radius:50%;background:var(--brand)}.workspace{max-width:1660px;margin:auto;padding:2rem clamp(1rem,3vw,2.5rem) 3rem}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.6rem}.page-heading .muted{margin:0;font-size:.875rem}.heading-actions{display:flex;align-items:center;gap:.8rem;flex-shrink:0}.heading-actions .field-note{font-size:.75rem}.filters{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.1rem;margin-bottom:.8rem}.range-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.quick-ranges{display:flex;gap:.25rem;background:var(--ground);padding:.2rem;border-radius:7px}.quick-ranges button{border:0;background:none;padding:.35rem .7rem;border-radius:5px;font-size:.8rem;color:#617582}.quick-ranges button[aria-pressed=true]{background:#fff;color:var(--graphite);box-shadow:0 1px 4px #23374612}.timezone-label{font-size:.75rem;color:#7b8a94}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem 1rem}.filter-grid label{font-size:.75rem}.filter-grid input,.filter-grid select{padding:.5rem .6rem;font-size:.8125rem;min-height:38px}.filter-actions{display:flex;align-items:flex-end;gap:.5rem}.filter-actions .button{min-height:38px;font-size:.8rem}.collection-note{display:flex;align-items:flex-start;gap:.5rem;color:#71818c;font-size:.75rem;line-height:1.7;margin:.8rem .2rem 1.6rem}.collection-mark{margin-top:.35rem;flex:0 0 5px;height:5px;border-radius:50%;background:#91a5ad}.section-panel{display:grid;gap:1.3rem}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.stat-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:1.15rem 1.2rem;min-width:0}.stat-label{display:flex;justify-content:space-between;align-items:start;gap:.5rem;font-size:.8rem;color:#687b87}.stat-value{font-size:clamp(1.6rem,2.2vw,2rem);letter-spacing:-.035em;line-height:1.2;font-weight:650;margin:.75rem 0 .65rem;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stat-change{font-size:.72rem;color:#7d8d97;display:flex;gap:.4rem;flex-wrap:wrap;align-items:baseline}.stat-change .positive{color:var(--success)}.stat-change .negative{color:#966352}.stat-card.featured{background:var(--graphite);border-color:var(--graphite);color:#fff}.stat-card.featured .stat-label,.stat-card.featured .stat-change{color:#c1d0d8}.stat-card.featured .positive{color:#b6d5c7}.card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.2rem 1.3rem;border-bottom:1px solid #edf1f4}.card-head h2{margin:0}.card-head p{font-size:.78rem;color:var(--muted);margin:.35rem 0 0;max-width:70ch}.card-head>.button{font-size:.75rem;min-height:34px}.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem}.notice{background:#eaf0f3;border:1px solid #d9e3e9;padding:.9rem 1rem;border-radius:8px;font-size:.8rem;color:#4e6371;line-height:1.8}.notice-error{background:#faf0ee;border-color:#edd5d0;color:#923f38;margin-bottom:1rem}.notice button{margin-left:.6rem}.table-wrap{overflow:auto;max-width:100%}.data-table{width:100%;border-collapse:collapse;text-align:start;font-size:.8rem;white-space:nowrap}.data-table th{font-weight:500;font-size:.72rem;color:#748590;background:#fbfcfd;text-align:start}.data-table :is(th,td){padding:.9rem 1.2rem;border-bottom:1px solid #edf1f4;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#f7f9fa}.data-table .numeric{text-align:end;font-variant-numeric:tabular-nums}.data-table .wrap-cell{white-space:normal;overflow-wrap:anywhere;min-width:180px;max-width:420px;line-height:1.6}.data-table .model-cell{position:sticky;left:0;background:#fff;z-index:1;min-width:130px}.data-table th.model-cell{background:#fbfcfd}.data-table tr:hover .model-cell{background:#f7f9fa}.cell-subtitle{display:block;font-size:.7rem;color:#84939c;margin-top:.2rem;white-space:normal;max-width:230px}.table-link{border:0;background:none;text-decoration:underline;text-underline-offset:.2em;padding:.15rem;color:#3e6570;font:inherit}.empty-state{padding:2.5rem 1rem;text-align:center;color:#83939d;font-size:.85rem;white-space:normal}.empty-state strong{display:block;color:#617783;font-size:.9rem;font-weight:500;margin-bottom:.4rem}.bar-list{display:grid;gap:1.05rem;padding:1.35rem}.bar-item{display:grid;gap:.45rem}.bar-labels{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;font-size:.8rem}.bar-labels span:first-child{min-width:0;overflow-wrap:anywhere}.bar-number{font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.78rem;color:#6a808e}.bar-track{height:6px;background:#edf2f4;border-radius:10px;overflow:hidden}.bar-fill{height:100%;background:var(--brand);border-radius:10px;min-width:0}.chart-legend{display:flex;gap:1rem;flex-wrap:wrap;font-size:.7rem;color:#71838f;align-items:center;padding-top:.25rem}.chart-legend span{display:flex;gap:.4rem;align-items:center}.legend-line{display:inline-block;width:18px;border-top:2px solid var(--accent)}.inquiries-line{border-top-color:#a2b7ad;border-top-style:dashed}.trend-chart{padding:1rem 1.3rem 1.3rem}.trend-chart svg{width:100%;height:auto;display:block;overflow:visible}.chart-label{font-family:inherit;font-size:11px;fill:#8999a3}.chart-grid{stroke:#e9eff2;stroke-width:1}.chart-visitors{fill:none;stroke:#486b71;stroke-width:2.3}.chart-inquiries{fill:none;stroke:#9ab6a9;stroke-width:2;stroke-dasharray:5 4}.chart-area{fill:#92a4a711}.chart-dot{fill:#486b71}.funnel-chart{padding:1.3rem;display:grid;gap:1rem}.funnel-row{display:grid;grid-template-columns:10rem minmax(4rem,1fr) auto;gap:1.25rem;align-items:center;font-size:.82rem}.funnel-step{font-size:.82rem;color:#607582}.funnel-step strong{font-weight:500;color:#233746}.funnel-track{background:#edf2f4;height:28px;border-radius:4px;overflow:hidden}.funnel-fill{height:100%;background:#92a4a7;min-width:0;border-radius:4px}.funnel-count{font-variant-numeric:tabular-nums;text-align:end;min-width:5rem}.funnel-count small{display:block;font-size:.7rem;color:#8797a1}.compact-funnel{padding:1.3rem;display:grid;gap:1.1rem}.compact-funnel-item{display:flex;justify-content:space-between;font-size:.8rem;gap:1rem;color:#617582}.compact-funnel-item strong{color:#263e4d;font-variant-numeric:tabular-nums}.stat-grid-small{grid-template-columns:repeat(3,minmax(0,1fr))}.status-pill{display:inline-block;border:1px solid #d4dfe5;background:#f1f5f7;border-radius:20px;padding:.18rem .55rem;font-size:.7rem;line-height:1.6;color:#5c7380}.status-qualified,.status-replied,.status-quoted{background:#edf5f0;border-color:#d8e8de;color:#456c58}.status-invalid{background:#f6f2ee;border-color:#e6dcd2;color:#927b68}.inquiry-tools{display:flex;align-items:end;gap:.7rem;padding:1.1rem 1.3rem;border-bottom:1px solid var(--line)}.search-label{flex:1}.inquiry-tools input,.inquiry-tools select{font-size:.8rem;min-height:39px}.inquiry-tools>label:not(.search-label){max-width:150px}.table-footer{padding:1rem 1.3rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.75rem;color:#7c8f9b;border-top:1px solid var(--line)}.pagination{display:flex;align-items:center;gap:.75rem}.pagination .button{min-height:32px;font-size:.75rem;padding:.35rem .6rem}.settings-form,.text-content{padding:1.3rem}.settings-form{display:grid;gap:1.3rem}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.switch-row small{display:block;margin-top:.3rem}.switch-row input{width:38px;height:21px;accent-color:var(--accent);flex-shrink:0}.settings-form label{font-size:.85rem}.settings-actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.settings-actions [role=status]{font-size:.78rem;color:#617e6c}.text-content{font-size:.85rem;color:#5b707d}.text-content p:last-child{margin-bottom:0}.text-content .button{margin-bottom:.65rem}.definitions{padding:1.3rem;display:grid;grid-template-columns:minmax(10rem,1fr) minmax(0,3fr);gap:.85rem 1.5rem;margin:0;font-size:.82rem;line-height:1.8}.definitions dt{font-weight:500;color:#3c5564}.definitions dd{margin:0;color:#6f818e}.app-footer{border-top:1px solid var(--line);padding:1.2rem clamp(1rem,3vw,2.5rem);font-size:.7rem;color:#96a3ac;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.inquiry-dialog{border:1px solid var(--line);padding:0;border-radius:14px;width:min(680px,calc(100vw - 2rem));max-height:90dvh;color:var(--ink);box-shadow:0 24px 100px #13273233}.inquiry-dialog::backdrop{background:#14273566}.dialog-head{padding:1.4rem;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-head .eyebrow{margin-bottom:.3rem}.inquiry-detail-grid{margin:0;padding:1.3rem;display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:.8rem 1rem;font-size:.85rem}.inquiry-detail-grid dt{color:#82939e}.inquiry-detail-grid dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.75}.inquiry-update-form{display:grid;gap:1rem;padding:1.3rem;background:#f8fafb;border-top:1px solid var(--line)}.toast{position:fixed;z-index:100;bottom:1.5rem;left:50%;transform:translateX(-50%);max-width:calc(100vw - 2rem);background:var(--graphite);color:#fff;box-shadow:0 8px 30px #23374630;padding:.8rem 1.3rem;border-radius:8px;font-size:.85rem;line-height:1.6}
@media(min-width:1600px){.filter-grid{grid-template-columns:repeat(7,minmax(0,1fr)) auto}.filter-actions{align-items:end}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.sidebar{width:210px}.main-shell{margin-left:210px}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.heading-actions{align-items:flex-end;flex-direction:column;gap:.4rem}.filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-grid-small{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:950px){.two-column{grid-template-columns:minmax(0,1fr)}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-row{grid-template-columns:8rem minmax(3rem,1fr) auto}.auth-screen{gap:2rem;padding:2rem}.auth-intro h1{font-size:2.2rem}}@media(max-width:760px){.sidebar{transform:translateX(-100%);width:240px;box-shadow:15px 0 50px #152c3933}.app.nav-open .sidebar{transform:translateX(0)}.main-shell{margin-left:0}#nav-toggle{display:block;flex-shrink:0}.topbar{height:60px;gap:.7rem}.breadcrumb{margin-right:auto}.topbar-meta{font-size:.65rem}.workspace{padding-top:1.4rem}.page-heading{align-items:flex-start}.heading-actions .field-note{display:none}.page-heading .eyebrow{font-size:.65rem}.page-heading .muted{font-size:.8rem}.heading-actions .button{font-size:.75rem;min-height:35px;padding:.4rem .6rem}.stat-card{padding:1rem}.stat-label{font-size:.75rem}.stat-value{font-size:1.75rem}.stat-change{font-size:.65rem}.stat-grid{gap:.75rem}.card-head{padding:1rem}.card-head p{font-size:.73rem}.data-table :is(th,td){padding:.75rem .9rem}.chart-legend{gap:.6rem}.trend-chart{padding:1rem}.range-top{align-items:flex-start;gap:.5rem}.timezone-label{font-size:.65rem}.quick-ranges button{padding:.35rem .55rem}.filters{padding:.9rem}.filter-grid{gap:.75rem}.filter-actions{flex-wrap:wrap}.filter-actions .button{flex:1}.card-head h2{font-size:.95rem}.card-head .text-button{font-size:.75rem;white-space:nowrap}.funnel-chart{padding:1rem}.funnel-row{grid-template-columns:6.4rem minmax(2rem,1fr) auto;gap:.65rem;font-size:.75rem}.funnel-step{font-size:.75rem}.funnel-count{min-width:3.5rem}.inquiry-tools{padding:1rem;flex-wrap:wrap}.search-label{flex-basis:100%}.inquiry-tools>label:not(.search-label){max-width:none;flex:1}.inquiry-tools .button{min-height:39px}.table-footer{align-items:flex-start;flex-direction:column}.definitions{grid-template-columns:minmax(0,1fr);gap:.25rem;padding:1rem}.definitions dd{margin-bottom:.85rem}.auth-screen{grid-template-columns:minmax(0,1fr);max-width:500px;padding:1.5rem;gap:1.5rem}.auth-intro .wordmark{margin-bottom:2rem}.auth-intro h1{font-size:1.7rem}.auth-intro>p:not(.eyebrow),.auth-note{display:none}.auth-card{padding:1.5rem}.auth-intro .eyebrow{font-size:.65rem}.app-footer span{display:none}.stat-grid-small{grid-template-columns:repeat(2,minmax(0,1fr))}.inquiry-detail-grid{grid-template-columns:4.5rem minmax(0,1fr);font-size:.8rem;padding:1rem}.dialog-head,.inquiry-update-form{padding:1rem}}@media(prefers-reduced-motion:no-preference){.sidebar{transition:transform .18s ease}.button,.main-nav button{transition:background-color .12s ease,border-color .12s ease}}@media print{.sidebar,.topbar,.filters,.heading-actions,.app-footer,.card-head>button{display:none}.main-shell{margin:0}.workspace{padding:0}.card{break-inside:avoid}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.table-wrap{overflow:visible}.data-table{white-space:normal}}

.chart-data-details{margin-top:.7rem;font-size:.75rem;color:#71838f}.chart-data-details summary{cursor:pointer;padding:.4rem 0}.chart-data-details .table-wrap{margin-top:.6rem}.app-footer a{color:#687f8c;text-underline-offset:.2em}.app-footer span{display:inline}

.geo-status-note{padding:0 1.3rem 1.2rem;margin:0;color:#71838f;font-size:.78rem;line-height:1.8}
