:root{--bg:#f7f4ee;--paper:#fffdf8;--ink:#3d332c;--muted:#75685b;--green:#765a43;--sage:#f1e8da;--line:#e8e1d6;--red:#9b413b;--red-bg:#fcf1ed;--amber:#866032;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.7}button,input,select,textarea{font:inherit}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.35;font-weight:550;letter-spacing:-.7px;margin-bottom:9px}h2{font-size:21px;line-height:1.5;font-weight:600;margin-bottom:16px}h3{font-size:16px;margin-bottom:9px}p{margin-bottom:14px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}input,textarea,select{width:100%;min-width:0;border:1px solid #e4dacc;border-radius:12px;background:#fffdf8;color:var(--ink);padding:12px 14px;min-height:48px}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#75685b}label{display:block;font-size:14px;font-weight:550;margin-bottom:18px}label input,label textarea,label select{display:block;margin-top:7px;font-weight:400}input:focus,textarea:focus,select:focus{outline:2px solid #c9b292;outline-offset:2px}:focus-visible{outline:3px solid #b49774;outline-offset:4px;border-radius:5px}button:focus-visible{border-radius:12px}.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}.skip-link{position:fixed;top:-70px;left:16px;z-index:50;background:var(--green);color:#fff;padding:10px 16px}.skip-link:focus{top:10px}
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{max-width:1200px;margin:auto;min-height:86px;padding:16px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:baseline;gap:16px;text-decoration:none!important}.brand-name{font-family:"Songti SC","STSong",serif;font-size:25px;letter-spacing:1.5px;font-weight:600}.brand-caption{font-size:12px;color:var(--muted);letter-spacing:2px}.header-inner nav{display:flex;align-items:center;gap:20px;font-size:14px}.header-inner nav a{min-height:44px;display:flex;align-items:center}.demo-pill{font-size:11px;color:var(--muted);padding:4px 9px;border:1px solid var(--line);border-radius:100px;white-space:nowrap}.page-wrap{max-width:1200px;padding:42px 30px 55px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:30px}.lead{color:var(--muted);margin-bottom:0}.eyebrow{font-size:13px;color:var(--muted);letter-spacing:1px;margin-bottom:9px}.quiet-stats{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.quiet-stats strong{font-size:16px;color:var(--green);font-weight:550}.panel{background:var(--paper);padding:28px;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.panel-heading h2{margin:0}.section-hint{font-size:14px;color:var(--muted);margin-bottom:20px}.muted{color:var(--muted)}.small{font-size:13px}.strong-label{font-weight:600}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border:1px solid transparent;border-radius:12px;padding:11px 20px;font-weight:550;font-size:15px;text-decoration:none!important;line-height:1.4;transition:background .15s,color .15s}.button.primary{background:var(--green);color:#fffdf8}.button.primary:hover{background:#604631}.button.outline{background:transparent;border-color:#c9b79e;color:var(--green)}.button.outline:hover,.button.ghost:hover{background:var(--sage)}.button.ghost{background:transparent;color:var(--green);padding-left:12px;padding-right:12px}.button.small{font-size:13px;min-height:44px;padding:10px 13px}.icon-button{width:44px;height:44px;border:0;border-radius:50%;background:var(--sage);color:var(--green);font-size:25px}.back-link{display:inline-flex;align-items:center;min-height:44px;margin-bottom:20px;font-size:14px;color:var(--muted)}.badge,.count-pill{display:inline-flex;align-items:center;background:var(--sage);color:var(--green);font-size:12px;padding:4px 11px;border-radius:100px;white-space:nowrap}.badge.neutral{background:#f0f0e9;color:var(--muted)}.badge.warning{background:#f5ecd9;color:var(--amber)}.badge.danger{background:var(--red-bg);color:var(--red)}.count-pill{min-width:30px;justify-content:center}.notice{border:1px solid #e4d7c4;border-radius:12px;padding:16px 20px;background:var(--sage);font-size:14px;margin-bottom:20px}.notice.danger{background:var(--red-bg);color:var(--red);border-color:#ecd6cd}.notice p:last-child{margin-bottom:0}.form-error{font-size:14px;color:var(--red);background:var(--red-bg);border-radius:10px;padding:13px 16px;margin:14px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.checkbox-label{display:flex;align-items:center;gap:10px;font-weight:400;min-height:44px}.checkbox-label input{width:19px;height:19px;min-height:0;flex:0 0 19px;margin:0;accent-color:var(--green)}.checkbox-label small{display:block;color:var(--muted)}.stack{display:flex;flex-direction:column;gap:18px}.empty-state{padding:32px 12px;text-align:center;color:var(--muted)}.empty-state strong{display:block;font-size:16px;font-weight:500;color:var(--ink)}.empty-state p{font-size:14px;margin:8px 0 0}.empty-symbol{font-size:22px;display:block;margin-bottom:8px}.loading-state{padding:24px 0;color:var(--muted);font-size:14px}
.workspace-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr);gap:26px;align-items:start}.search-field{display:flex;align-items:center;gap:12px;padding:3px 16px;background:#f7f1e8;border:1px solid #e8dccb;border-radius:14px;margin-bottom:22px}.search-field input{border:0;background:transparent;padding-left:0;min-height:54px;margin:0;outline-offset:0}.search-field svg{color:#a0886c;flex:0 0 22px}.customer-row{display:flex;align-items:center;gap:14px;padding:21px 0;border-top:1px solid var(--line)}.customer-row:first-child{border-top:0}.avatar{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:50%;color:#94785a;background:#f2e9d9;font-family:"Songti SC",serif;font-size:21px}.avatar.large{width:68px;height:68px;flex-basis:68px;font-size:29px}.customer-info{flex:1;min-width:0}.customer-info h3{font-size:19px;margin-bottom:5px;overflow-wrap:anywhere}.customer-info h3 a{display:inline-block;min-height:30px}.customer-info p{margin:0;font-size:13px;color:var(--muted)}.customer-row .row-action{font-size:14px;min-height:44px;display:flex;align-items:center;padding:8px 12px;border-radius:10px;background:var(--sage);white-space:nowrap}.customer-info .badge{margin-top:9px}.task-card{padding:20px 0;border-top:1px solid var(--line)}.task-card:first-child{border-top:0;padding-top:4px}.task-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.task-top a{font-weight:600;font-size:17px}.task-title{font-size:16px;font-weight:500;margin:0 0 10px}.task-meta{font-size:13px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.task-footer{display:flex;gap:8px;flex-wrap:wrap}.task-card .task-details{margin-top:12px;font-size:13px}.task-details summary{color:var(--muted);cursor:pointer;min-height:38px;display:flex;align-items:center}.task-details summary::after{content:'＋';margin-left:8px}.task-details[open] summary::after{content:'−'}.task-details p{font-size:13px;margin-bottom:12px}.task-history{border-top:1px solid var(--line);padding-top:12px}
.customer-title{display:flex;align-items:center;gap:18px}.customer-title h1{margin-bottom:4px}.inline-meta{font-size:14px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}.customer-overview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:26px;align-items:start}.brief-panel{background:var(--sage);padding:28px;border-radius:var(--radius);border:1px solid #e7dbc8;margin-bottom:20px}.brief-summary{font-size:18px;line-height:1.9;margin-bottom:0;overflow-wrap:anywhere}.brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.brief-grid>div+div{border-left:1px solid var(--line);padding-left:26px}.brief-grid h3{color:var(--muted);font-size:14px;font-weight:500}.text-list{padding-left:20px;margin:0}.text-list li{margin-bottom:10px}.text-list li:last-child{margin-bottom:0}.more-list{margin-top:12px}.next-panel{background:#f5ecdf}.next-panel>div>p:first-child{font-size:18px;line-height:1.7}.secondary-panel>summary{cursor:pointer;min-height:36px;display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:500;list-style:none}.secondary-panel>summary::-webkit-details-marker{display:none}.secondary-panel>summary::after{content:'＋';font-size:18px;color:#b29b80;margin-left:15px}.secondary-panel[open]>summary::after{content:'−'}.details-body{margin-top:22px}.secondary-panel.nested{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.secondary-panel.nested>summary{font-size:14px}.memory-section{margin-bottom:24px}.memory-section h3{color:var(--muted);font-size:14px}.memory-item{border-top:1px solid var(--line);padding:12px 0}.memory-item p{margin:0 0 7px}.evidence-details summary{color:var(--muted);font-size:12px;cursor:pointer;min-height:32px}.evidence-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:7px 0}.evidence-quote{font-size:13px;border-left:2px solid #d9c6a8;padding-left:12px;color:var(--muted);margin:7px 0}.source-id,.origin-tag{font-size:12px;color:var(--muted)}.hypothesis{color:var(--amber)}.timeline-entry{border-top:1px solid var(--line);padding:20px 0}.timeline-entry:first-child{border:0;padding-top:0}.entry-heading{display:flex;justify-content:space-between;gap:12px}.entry-meta{font-size:12px;color:var(--muted);margin:6px 0 12px}.entry-summary{font-size:15px;line-height:1.85}.timeline-entry details>summary,.state-entry summary{font-size:13px;cursor:pointer;min-height:38px;display:flex;align-items:center;color:var(--muted)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;background:#f5f5ef;border-radius:12px;padding:18px;line-height:1.85}.state-entry{padding:14px 0;border-top:1px solid var(--line)}.state-entry strong{font-size:14px}.state-entry p{font-size:14px;margin:7px 0}.escalation-banner{display:flex;justify-content:space-between;align-items:center;gap:18px}
.record-heading{margin-bottom:18px}.record-heading h1{font-size:31px}.record-heading .eyebrow{font-size:15px;letter-spacing:0}.stepper{display:flex;list-style:none;padding:0;margin:0 0 24px;gap:24px;color:#75685b;font-size:13px}.stepper li{display:flex;align-items:center;gap:8px}.stepper li span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f0e7d7;font-size:12px}.stepper li.active{color:var(--green);font-weight:600}.stepper li.active span,.stepper li.done span{background:var(--green);color:#fff}.record-layout{max-width:800px;margin:auto}.record-main{padding:30px 34px}.voice-input{text-align:center;padding:0 0 14px;margin:0 0 22px;border-bottom:1px solid var(--line)}.voice-input h2{font-size:22px;margin-bottom:8px}.voice-input .section-hint{margin-bottom:12px}.voice-privacy{font-size:12px;color:var(--muted);margin-bottom:12px}.voice-consent{font-size:13px;justify-content:center;margin:0 auto 17px;text-align:left}.voice-actions{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}.voice-record{flex-direction:column;gap:10px;width:112px;height:112px;min-height:112px;border-radius:50%;padding:15px;background:var(--green);color:var(--paper);box-shadow:0 0 0 8px #f2e6d5;font-size:14px}.voice-record svg{width:31px;height:31px;stroke-width:1.6}.voice-record:disabled{background:#927b63;opacity:.7;box-shadow:0 0 0 8px #f6eee3}.voice-status{font-size:13px;color:var(--muted);margin:20px 0 0;min-height:23px}.voice-status.recording{color:var(--red);font-weight:600}.voice-input[data-state="recording"] .voice-actions{min-height:112px;border-radius:16px;background:#fbf0eb}.voice-input[data-state="permission"] .voice-record,.voice-input[data-state="transcribing"] .voice-record{box-shadow:none}.voice-input[data-state="review"] #voice-start{display:none}.voice-input[data-state="review"]>.voice-consent,.voice-input[data-state="review"]>.voice-privacy{display:none}.transcript-review{text-align:left;margin-top:18px;background:#f2f5ec;padding:22px;border-radius:16px}.transcript-review label{font-size:16px}.transcript-review textarea{background:var(--paper)}.transcript-review .voice-actions{justify-content:flex-start}.review-hint{font-size:13px;color:var(--muted);margin:12px 0 18px}.note-input label{font-size:15px}.record-person{display:flex;align-items:start;gap:22px;padding-top:8px}.record-person>label{width:180px;flex:0 0 180px}.record-options{flex:1;margin-top:29px}.record-options summary{font-size:13px;cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--muted)}.record-options .form-grid{grid-template-columns:1fr}.record-options .details-body{margin-top:8px}.record-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:22px}.record-submit .small{max-width:180px}.confirmation-header{display:flex;align-items:start;justify-content:space-between;gap:18px;margin:20px 0}.confirmation-header h2{font-size:27px;margin-bottom:6px}.confirmation-header p{font-size:14px;margin:0}.confirmation-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:24px;align-items:start}.review-facts .review-group+.review-group{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}.review-group h3{font-size:17px;margin-bottom:12px}.review-fact{display:flex;gap:10px;align-items:start;padding:11px 0;border-bottom:1px solid #efe7db}.review-fact:last-child{border-bottom:0}.fact-dot{width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;border:1px solid #d7c6ac;color:#9a7d58;border-radius:50%;font-size:11px;margin-top:13px}.review-fact-content{flex:1;min-width:0}.review-fact label{margin:0}.review-fact textarea{border-color:transparent;min-height:44px;padding:8px 9px;margin:0;background:#f8f4eb;font-size:16px;overflow:hidden;resize:vertical}.review-fact textarea:focus{border-color:#c8ae88;background:var(--paper)}.review-fact .evidence-details{margin:3px 0 0 9px}.review-fact .evidence-details summary{font-size:11px}.action-editor label{font-size:14px}.action-editor .eyebrow{color:var(--green)}.action-editor textarea{font-size:16px}.confirm-bar{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px 26px;margin-top:12px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.confirm-bar>label{width:170px;margin:0}.confirm-bar>button{margin-left:auto}.confirm-bar>p{margin:0;flex-basis:100%;text-align:right}.confirm-bar .form-error{flex-basis:100%}.json-panel textarea{font-family:ui-monospace,monospace;font-size:13px}.complete-panel{max-width:680px;margin:42px auto;padding:55px 30px;text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:24px}.complete-icon{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 22px;border-radius:50%;background:var(--sage);font-size:30px;color:var(--green)}.complete-panel h2{font-size:29px}.complete-panel p{color:var(--muted)}
.site-footer{max-width:1140px;margin:0 auto;padding:22px 0 35px;border-top:1px solid var(--line);display:flex;align-items:start;justify-content:space-between;gap:24px;color:var(--muted);font-size:12px}.demo-info{text-align:right;max-width:400px}.demo-info summary{cursor:pointer;min-height:32px}.demo-info p{font-size:12px;line-height:1.8;margin:10px 0}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 22px;background:var(--green);color:#fff;border-radius:12px;max-width:calc(100vw - 32px);z-index:100;font-size:14px}.form-dialog{padding:28px;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow-y:auto}.form-dialog::backdrop{background:#38291e66;backdrop-filter:blur(2px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.dialog-header h2{margin:0;font-size:23px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.form-dialog .secondary-panel{border-top:1px solid var(--line);padding-top:14px}.form-dialog .secondary-panel summary{font-size:14px}
@media(max-width:900px){.workspace-columns,.customer-overview{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:18px}.panel,.brief-panel{padding:22px}.confirmation-layout{grid-template-columns:1fr}.review-side{order:1}.confirm-bar{margin-top:0}.customer-side .task-footer .button{width:100%}.brief-grid{grid-template-columns:1fr;gap:24px}.brief-grid>div+div{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.brand-caption{display:none}}
@media(max-width:650px){body{font-size:16px}.header-inner{padding:15px 20px;min-height:74px;gap:10px}.brand-name{font-size:22px;letter-spacing:.5px}.header-inner nav{gap:12px;font-size:13px}.demo-pill{font-size:10px;padding:3px 7px}.page-wrap{padding:25px 18px 32px}.page-heading{align-items:start;gap:15px;margin-bottom:23px}.page-heading h1{font-size:29px}.lead{font-size:15px}.page-heading>.quiet-stats{display:none}.workspace-columns,.customer-overview{display:flex;flex-direction:column;gap:0}.workspace-columns>section,.customer-main,.customer-side{width:100%}.panel,.brief-panel{padding:22px 20px;border-radius:18px;margin-bottom:16px}.panel-heading h2{font-size:20px}.customer-row{gap:12px;padding:18px 0}.customer-info h3{font-size:18px}.customer-info p{font-size:12px}.customer-row .row-action{font-size:12px;padding:8px 10px}.search-field{padding:1px 12px;margin-bottom:14px}.search-field input{font-size:16px;min-height:51px}.customer-title{gap:13px}.avatar.large{width:56px;height:56px;flex-basis:56px}.customer-heading{margin-bottom:22px}.customer-heading h1{font-size:29px}.customer-record-action{position:fixed;bottom:calc(14px + env(safe-area-inset-bottom));left:18px;right:18px;z-index:20;box-shadow:0 8px 25px #3d332c25}.customer-overview{padding-bottom:55px}.customer-side .task-footer .button{width:auto}.customer-side{order:0}.customer-main{order:1}.customer-main .brief-panel{margin-top:0}.customer-overview{display:grid;grid-template-columns:1fr}.customer-main{grid-row:1}.customer-side{grid-row:2}.brief-summary{font-size:17px;line-height:1.8}.record-heading{margin-bottom:13px}.record-heading h1{font-size:28px}.back-link{margin-bottom:14px}.stepper{gap:22px;margin-bottom:20px}.record-main{padding:24px 20px}.voice-input h2{font-size:20px}.voice-input .section-hint{font-size:13px;margin-bottom:10px}.voice-privacy{font-size:11px;line-height:1.7}.voice-consent{font-size:12px;margin-bottom:16px;gap:8px}.voice-record{width:98px;height:98px;min-height:98px;font-size:13px}.voice-record svg{width:28px;height:28px}.voice-status{font-size:12px;margin-top:17px}.voice-input{margin-bottom:20px;padding-bottom:18px}.note-input textarea{min-height:120px}.record-person{flex-wrap:wrap;gap:0}.record-person>label{width:100%;flex-basis:100%;margin-bottom:8px}.record-person input{min-height:46px}.record-options{margin:0;width:100%;flex-basis:100%}.record-options summary{min-height:38px}.record-submit{gap:12px;align-items:stretch;flex-direction:column;padding-top:18px}.record-submit .small{display:none}.record-submit button{width:100%;min-height:52px}.transcript-review{padding:18px 14px}.transcript-review .voice-actions{flex-wrap:nowrap}.transcript-review .button{padding:11px 15px;font-size:14px}.review-hint{font-size:12px;line-height:1.7}.confirmation-header h2{font-size:24px}.confirmation-header p{font-size:13px}.confirmation-header .button{white-space:nowrap;padding:8px;font-size:12px}.review-fact textarea{font-size:16px}.review-fact-content{min-width:0}.review-facts{padding:18px 16px}.confirm-bar{padding:20px;margin-top:0;gap:14px}.confirm-bar>label{width:100%}.confirm-bar>button{width:100%;margin:0;min-height:52px;font-size:14px}.confirm-bar>p{text-align:center;font-size:12px}.site-footer{margin:0 18px;padding:18px 0 30px;font-size:11px;gap:12px}.demo-info{max-width:190px}.form-dialog{padding:23px 20px;max-height:calc(100dvh - 32px)}.form-grid{grid-template-columns:1fr;gap:0}.dialog-actions .button{padding:11px 15px}.escalation-banner{flex-direction:column;align-items:stretch}.escalation-banner .button{width:100%}body[data-page="customer"] .site-footer{padding-bottom:92px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.voice-input[data-has-note="true"] .voice-record{background:var(--paper);color:var(--green);box-shadow:none;border:1px solid #c8ae88}

.checkbox-label{min-height:44px}details>summary{min-height:44px}.review-fact .evidence-details summary{font-size:12px}
.customer-overview.customer-overview-simplified{display:block}
@media(max-width:650px){body[data-page="today"] .page-heading>.quiet-stats{display:flex;flex-direction:column;align-items:flex-end;gap:6px}#pending-followups-link{min-height:44px;display:inline-flex;align-items:center;gap:4px}}
[role=alert]:empty,.notice:empty,.form-error:empty{display:none}
.employee-row+.employee-row{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}
.employee-group+.employee-group{margin-top:28px}.employee-group>h3,.employee-group>summary{font-size:15px;font-weight:600;color:var(--muted);margin:0 0 12px;min-height:44px;display:flex;align-items:center}
.employee-row .dialog-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px}.employee-row .dialog-actions .button{white-space:nowrap;min-height:44px;padding:10px 14px;font-size:14px}
