/* Product layout: shared navigation, focused workspaces and readable mobile pages. */
.followup-fab{position:fixed;right:32px;bottom:28px;z-index:25;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:56px;padding:0 22px;border-radius:28px;background:var(--green);color:white;box-shadow:0 6px 22px #124f4133;font-size:16px;font-weight:600;border:1px solid #ffffff26}.followup-fab:hover{background:var(--green-dark)}.has-followup-fab #main{padding-bottom:110px}body:has(input:focus) .followup-fab{visibility:hidden}
@media(max-width:760px){html .followup-fab{right:18px;bottom:calc(88px + env(safe-area-inset-bottom));height:54px;padding:0 20px;font-size:16px}html .has-followup-fab #main{padding-bottom:calc(160px + env(safe-area-inset-bottom))}}
.date-calendar{border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 18px;margin:0 0 18px;max-width:680px;touch-action:pan-y}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.calendar-heading>div{display:flex;align-items:center;gap:6px}.calendar-heading button{min-width:44px;font-size:24px;border-radius:8px}.calendar-heading .calendar-today{font-size:14px;color:var(--green)}.calendar-heading strong{font-size:18px;margin-right:auto}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.calendar-weekdays{font-size:14px;color:var(--muted);padding:4px 0 8px}.calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border-radius:10px;min-height:52px;font-size:16px;line-height:1.4}.calendar-day small{font-size:12px}.calendar-day[aria-pressed=true]{background:var(--green);color:white}.calendar-day.is-today:not([aria-pressed=true]){color:var(--green);font-weight:650;background:#eff5f0}.calendar-day.outside{visibility:hidden}.calendar-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:8px;padding-top:4px;font-size:14px;color:var(--muted)}.calendar-footer button{font-size:14px;color:var(--green)}.history-note{font-size:14px;color:var(--muted);margin-bottom:16px;line-height:1.8}.visit-location [hidden]{display:none!important}
@media(max-width:760px){html .date-calendar{padding:12px;margin-bottom:16px}html .calendar-grid,html .calendar-weekdays{gap:2px}html .calendar-day{min-height:48px;font-size:16px}html .calendar-heading strong{font-size:16px}html .calendar-footer{font-size:14px}html .history-note{font-size:14px}}
:root{--ink:#233d35;--muted:#738078;--line:#e1e8e3;--paper:#f5f7f5;font-size:16px}
body{line-height:1.6}button,input,select,textarea{font:inherit}button{min-height:44px}
.eyebrow,.breadcrumb{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
html .sidebar{width:216px;padding:30px 18px 20px}.sidebar .brand{margin-bottom:40px}.sidebar .brand strong{font-size:22px}.sidebar .brand small{font-size:14px}.sidebar .nav-item{font-size:16px;padding:14px 18px;margin-bottom:8px;border-radius:12px}.sidebar-bottom{margin-top:auto}.user-card strong{font-size:16px}.user-card small{font-size:14px}
html .main-wrap{margin-left:216px}html #main{max-width:1180px;padding:36px 36px 60px;margin:auto}.page-heading{align-items:center;gap:16px;margin-bottom:24px}.page-heading h1{font-size:28px;line-height:1.4;letter-spacing:0}.page-heading p{font-size:14px;line-height:1.6;margin-top:6px;color:var(--muted)}.page-heading .button{white-space:nowrap}
html .panel{border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 6px #123d2503;overflow:hidden}.panel-heading{padding:22px 24px;gap:14px}.panel-heading h2{font-size:18px}.panel-heading p,.quiet{font-size:14px;line-height:1.6}.button,.button.small,.follow-button,.text-button{font-size:16px;min-height:44px}.button{border-radius:10px}.button.small{padding:8px 14px}.count-pill{font-size:14px}.back-link{font-size:16px;padding:4px 0;margin-bottom:12px;color:var(--green)}
.scope-switch{display:inline-flex;gap:4px;padding:4px;background:#e9efeb;border-radius:12px;margin-bottom:22px}.scope-switch button{min-width:92px;padding:8px 20px;border-radius:9px;font-size:16px}.scope-switch button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 1px 4px #143e2012;font-weight:650}
.section-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.section-tabs button{padding:12px 2px;font-size:16px;color:var(--muted);border-bottom:3px solid transparent}.section-tabs button[aria-pressed=true]{color:var(--green);border-bottom-color:var(--green);font-weight:650}.section-tabs span{font-size:14px;margin-left:5px}
html .metrics{display:grid;gap:16px;margin-bottom:20px}html .compact-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}html .team-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}html .metric{padding:20px 22px;min-height:112px;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;background:white;border:1px solid var(--line);box-shadow:none}.metric-label{font-size:14px;line-height:1.5}.metric-value{font-size:32px;line-height:1.2;display:flex;gap:6px;align-items:baseline;overflow-wrap:anywhere;max-width:100%}.metric-value small{font-size:14px;font-weight:400;color:var(--muted)}.metric-caption{font-size:14px;line-height:1.5;margin:0}.metric.amber .metric-value{color:#a26e23}
.daily-entry,.management-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);background:#edf4ee;padding:14px 22px;border-radius:12px;margin:0 0 22px}.daily-entry>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.daily-entry strong,.management-notice strong{font-size:16px}.status-label{display:inline-block;font-size:14px;line-height:1.6;color:#8c6a28;background:#f8f0dc;border-radius:6px;padding:3px 8px;font-weight:400}.status-label.saved{color:#236b50;background:#e8f2e9}.management-notice{margin:22px 0;background:#faf8f0}.management-notice p{font-size:14px;color:var(--muted);margin-top:4px}
.table-tools{padding:0 24px 20px}.tabs{gap:24px}.tab{font-size:16px;padding:10px 0}.tab span{font-size:14px}.search{height:48px;border:1px solid var(--line);background:#fafbfa;border-radius:10px}.search input{font-size:16px}.customer-tools{padding:22px 24px;border-bottom:1px solid var(--line)}.customer-tools .search{width:100%}.customer-filters{display:flex;gap:12px;align-items:start;margin-top:14px;flex-wrap:wrap}.owner-control select{min-height:44px;max-width:100%;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:white;font-size:16px}.status-filter{border:1px solid var(--line);border-radius:8px;min-width:210px;max-width:100%}.status-filter summary{cursor:pointer;padding:9px 12px;font-size:16px;min-height:44px}.filter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:8px;border-top:1px solid var(--line)}.filter-options button{display:flex;justify-content:space-between;gap:16px;padding:8px 10px;border-radius:6px;text-align:left;font-size:14px}.filter-options button[aria-pressed=true]{background:#eaf3ec;color:var(--green)}
html .customer-row{padding:22px 24px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 112px 92px;gap:18px}.customer-name{min-width:0}.customer-name>div{min-width:0}.customer-name strong{font-size:17px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.6}.customer-name span:not(.avatar){font-size:14px;line-height:1.6;color:var(--muted)}.customer-name .company-avatar{width:44px;height:44px;border-radius:12px;font-size:21px}.next-step p{font-size:16px;line-height:1.6;overflow-wrap:anywhere}.next-step small,.schedule small,.badge,.table-footer,.table-header{font-size:14px}.table-header{padding:14px 24px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 112px 92px;gap:18px}.schedule{gap:6px}.follow-button{padding:8px 10px;white-space:nowrap}.table-footer{padding:18px 24px}.empty-state{padding:48px 24px;min-height:180px}.empty-state strong{font-size:17px}.empty-state p{font-size:14px;line-height:1.7}.empty-state>svg{width:42px;height:42px}
.team-table-head,.team-row{grid-template-columns:minmax(140px,1.4fr) repeat(5,minmax(80px,1fr));gap:10px;padding:18px 24px}.team-table-head{font-size:14px}.team-row{font-size:18px}.team-person strong{font-size:16px}.mobile-cell-label{display:none}.team-drill{font-size:inherit}.team-person .avatar{width:36px;height:36px;font-size:16px}
.detail-page-actions{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:20px}.detail-page-actions .section-tabs{margin:0;flex:1}.detail-page .detail-body{padding:28px}.customer-facts{margin:18px 0 28px}.customer-facts>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.customer-facts dt{font-size:14px;color:var(--muted)}.customer-facts dd{margin:0;font-size:16px;overflow-wrap:anywhere}.contact-grid{margin:16px 0}.contact-card strong,.contact-card a{font-size:16px}.contact-card small{font-size:14px}.source-footnote{font-size:14px;margin-top:24px;line-height:1.7}.detail-timeline article>p,.timeline-next>span{font-size:16px;line-height:1.8;white-space:pre-wrap}.timeline-meta>span,.timeline-meta strong,.timeline-next strong,.timeline-next small{font-size:14px}.detail-timeline article{padding-bottom:24px}.timeline-next{margin-top:14px;gap:12px;flex-wrap:wrap}.saved-location{font-size:14px!important}
.profile-card{display:flex;align-items:center;gap:18px;padding:24px;margin-bottom:24px}.profile-card p{font-size:14px;color:var(--muted)}.menu-list>button{display:flex;align-items:center;gap:16px;padding:22px 24px;width:100%;border-bottom:1px solid var(--line);text-align:left;font-size:16px}.menu-list>button:last-child{border:0}.menu-list>button>span{flex:1}.menu-list small{display:block;color:var(--muted);font-size:14px;margin-top:4px}
.report-controls{display:flex;gap:16px;max-width:420px;margin-bottom:22px}.report-controls .field{flex:1;margin:0}.report-notice{font-size:14px;line-height:1.7;margin:0 0 20px;padding:12px 16px;background:#f3f6f2;border-radius:8px}.report-panel .form-body>h2{margin:12px 0 18px;font-size:19px}.report-panel .form-body>h2:not(:first-child){padding-top:24px;border-top:1px solid var(--line)}.report-actions{position:static;padding:20px 24px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.report-copy summary{font-size:16px}.report-copy pre{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.team-report-list{display:grid;gap:16px}.team-report-card .panel-heading{align-items:center}.team-report-card .panel-heading h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.report-brief{padding:0 24px 20px}.report-brief p{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;font-size:14px;margin-top:10px}.report-brief strong{font-weight:500;color:var(--muted)}.report-brief span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}
html .form-body{padding:24px}.field>span,.channel-field legend,.channels span{font-size:16px}.field small,.field-help{font-size:14px!important}.field input,.field textarea,.field select{font-size:16px;line-height:1.6;padding:12px 14px}.field input::placeholder,.field textarea::placeholder{font-size:16px}.picker-hint,.customer-choice span{font-size:14px}.customer-choice strong{font-size:16px}.compose-actions{position:static;padding:20px 24px}.compose-actions>span{font-size:14px}.followup-page{max-width:840px;margin:0 auto}.visit-location small,.visit-location p{font-size:14px}.inline-error{font-size:14px}.demo-banner{font-size:14px}.login-page .login-art{display:none}.login-page{display:flex;justify-content:center;align-items:center;min-height:100vh}.login-box{width:min(460px,100%);padding:32px}.login-box>h2{font-size:24px}.login-box>p,.login-foot,.demo-accounts small{font-size:14px}.login-box .demo-accounts strong{font-size:16px}
.workspace-welcome{margin:4px 0 30px}.welcome-meta{font-size:14px;color:var(--muted);margin-bottom:14px}.welcome-main{display:flex;align-items:center;justify-content:space-between;gap:24px}.welcome-main>div{min-width:0}.welcome-main h1{font-size:36px;line-height:1.5;letter-spacing:.2px;overflow-wrap:anywhere}.welcome-main p{font-size:16px;line-height:1.8;color:var(--muted);margin-top:12px}.welcome-main>.button{flex-shrink:0;white-space:nowrap}
@media(max-width:760px){html .workspace-welcome{margin:2px 0 26px}html .welcome-meta{font-size:14px;margin-bottom:14px}html .welcome-main{flex-direction:column;align-items:flex-start;gap:18px}html .welcome-main h1{font-size:28px;line-height:1.55;letter-spacing:0}html .welcome-main p{font-size:16px;margin-top:10px}html .welcome-main>.button{font-size:16px;padding:10px 18px}}
.report-brief p.quiet{display:block}
@media(max-width:1000px) and (min-width:761px){html .sidebar{width:184px}html .main-wrap{margin-left:184px}html #main{padding:28px 20px}.team-table{overflow-x:auto}.team-row,.team-table-head{min-width:680px}.customer-row,.table-header{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 88px 80px!important;gap:12px!important}.metric{padding:16px!important}.metric-value{font-size:26px}}
@media(max-width:760px){
 html .sidebar{display:none}html .main-wrap{margin-left:0}html #main{padding:22px 16px calc(96px + env(safe-area-inset-bottom));max-width:none}html .page-heading{margin-bottom:20px;gap:12px;align-items:center}html .page-heading h1{font-size:24px;line-height:1.45;overflow-wrap:anywhere}html .page-heading p{font-size:14px;margin-top:4px}html .page-heading .button{padding:10px 14px;font-size:16px}
 html .mobile-nav{display:grid;grid-template-columns:repeat(3,1fr);padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line);gap:12px}html .mobile-nav .nav-item{padding:6px 12px;font-size:14px;border-radius:12px;gap:2px;min-height:54px;justify-content:center}html .mobile-nav .icon{width:23px;height:23px}html .followup-open .mobile-nav{display:none}html .followup-open #main{padding-bottom:24px}
 html .metrics{gap:10px;margin-bottom:16px}html .compact-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}html .team-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}html .metric{padding:14px 12px;min-height:100px;gap:9px}html .metric-label{font-size:14px;line-height:1.5}html .metric-value{font-size:28px}html .metric-caption{font-size:14px;line-height:1.5}html .metric-value small{font-size:14px}
 html .daily-entry{padding:12px 14px;gap:8px;margin-bottom:18px;align-items:center}html .daily-entry>div{gap:6px}html .daily-entry>div>.icon{display:none}html .daily-entry strong{font-size:16px}html .daily-entry .text-button{font-size:14px;white-space:nowrap}html .status-label{font-size:14px}html .scope-switch{margin-bottom:18px}html .section-tabs{gap:20px;margin-bottom:18px}html .section-tabs button{font-size:16px}html .panel-heading{padding:18px 16px;gap:10px}html .panel-heading h2{font-size:18px}html .panel-heading p,html .quiet{font-size:14px;line-height:1.6}
 html .table-tools{padding:0 16px 16px}html .tabs{gap:20px;flex-wrap:wrap}html .tab{font-size:16px;min-height:44px}html .tab span{font-size:14px}html .search input{font-size:16px}html .customer-tools{padding:16px}html .customer-filters{gap:10px}html .owner-control,html .status-filter{flex:1 1 100%;width:100%}html .owner-control select{width:100%;font-size:16px}html .filter-options{grid-template-columns:repeat(2,minmax(0,1fr))}html .filter-options button{font-size:14px;gap:8px}
 html .table-header{display:none}html .customer-row{padding:18px 16px;grid-template-columns:minmax(0,1fr) auto;gap:12px}html .customer-name{grid-column:1/-1;grid-row:1;gap:12px;align-items:start}html .customer-name .company-avatar{display:none}html .customer-name strong{font-size:17px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.6}html .customer-name span:not(.avatar){font-size:14px;line-height:1.7}html .next-step{grid-column:1/-1;grid-row:2;padding:0}html .next-step p{font-size:16px;line-height:1.7}html .next-step small{font-size:14px}html .schedule{grid-column:1;grid-row:3;flex-direction:row;gap:8px;align-items:center;justify-content:start}html .schedule small,html .badge{font-size:14px}html .follow-button{grid-column:2;grid-row:3;font-size:16px;min-height:44px;align-self:center}html .table-footer{padding:14px 16px;font-size:14px}html .empty-state{padding:36px 18px;min-height:170px}html .empty-state strong{font-size:17px}html .empty-state p{font-size:14px}
 html .team-table-head{display:none}html .team-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;padding:18px 16px}html .team-row>span:not(:first-child){display:flex;flex-direction:column;gap:0;align-items:start}html .team-row>span:before{display:none}html .team-person{grid-column:1/-1;gap:10px}html .team-person strong{font-size:16px}html .team-person .avatar{font-size:16px;width:34px;height:34px}html .mobile-cell-label{display:block;font-size:14px;color:var(--muted);line-height:1.5}html .team-drill{font-size:20px;text-align:left;padding:0;min-height:40px}html .team-person .team-drill{font-size:16px}html .management-notice{padding:16px;align-items:start}html .management-notice .text-button{font-size:14px;white-space:nowrap}
 html .detail-page-actions{gap:12px;align-items:center}html .detail-page-actions .section-tabs{gap:16px}html .detail-page-actions .button{font-size:16px;padding:9px 12px;white-space:nowrap}html .detail-page-actions .button .icon{display:none}html .detail-page .detail-body{padding:20px 16px}html .customer-facts>div{grid-template-columns:64px minmax(0,1fr);gap:12px}html .customer-facts dt{font-size:14px}html .customer-facts dd{font-size:16px}html .contact-card strong,html .contact-card a{font-size:16px}html .contact-card small,html .source-footnote{font-size:14px}html .detail-timeline article>p,html .timeline-next>span{font-size:16px;line-height:1.8}html .timeline-meta{flex-wrap:wrap;gap:4px}html .timeline-meta strong,html .timeline-meta>span,html .timeline-next strong,html .timeline-next small{font-size:14px}
 html .form-body{padding:20px 16px}html .field>span,html .channel-field legend,html .channels span{font-size:16px}html .field input,html .field textarea,html .field select{font-size:16px}html .field small,html .field-help,html .picker-hint,html .customer-choice span{font-size:14px!important}html .field input::placeholder,html .field textarea::placeholder{font-size:16px}html .compose-actions,html .report-actions{padding:16px;position:static;gap:10px}html .compose-actions>span{font-size:14px}html .report-actions .button{flex:1 1 44%;font-size:16px}html .report-controls{max-width:none}html .report-brief{padding:0 16px 18px}html .report-brief p{grid-template-columns:64px minmax(0,1fr);font-size:14px}html .team-report-card .panel-heading{align-items:start}html .team-report-card .button{font-size:14px;white-space:nowrap}html .report-notice{font-size:14px}html .menu-list>button{padding:20px 18px}html .menu-list small{font-size:14px}html .demo-banner{font-size:14px;padding:8px 16px}html .demo-banner button{font-size:14px}
}
/* AI 只补充客户跟进草稿；原始记录保留以便核对。 */
.report-ai-status{font-size:14px;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}
.report-ai-actions{margin:8px 0 18px}.report-source{margin:12px 0 28px;font-size:16px}
.report-source article{padding:16px 0;border-bottom:1px solid #e5eae6}.report-source p{white-space:pre-wrap;overflow-wrap:anywhere}
.ai-suggestion{padding:16px;margin:16px 0;background:#f3f7f3;border-radius:12px}.ai-suggestion pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}
