:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#18212f;background:#f5f7fa;font-size:18px;line-height:1.6;--blue:#0089ff;--muted:#748093;--soft:#eaf4ff}
*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}svg{width:24px;height:24px;flex:none}h1,h2,p{margin:0}h1{font-size:28px;line-height:1.4;letter-spacing:-.5px;font-weight:650;overflow-wrap:anywhere}h2{font-size:20px;font-weight:600}button,input,textarea,a{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--blue)}
.topbar{height:76px;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 1060px)/2));gap:16px}.brand{display:flex;align-items:center;gap:12px;color:#18212f;font-size:20px;font-weight:650;white-space:nowrap}.brand-mark{display:block;object-fit:contain;width:38px;height:38px;flex-shrink:0}#account{font-size:14px;color:var(--muted);white-space:nowrap}#preview-note{padding:10px 24px;text-align:center;background:#edf5fc;color:#40607e;font-size:14px}#preview-note[hidden]{display:none}
main{max-width:1060px;margin:0 auto;padding:32px 24px 48px;min-height:calc(100dvh - 76px)}.greeting{margin:2px 0 28px;display:flex;justify-content:space-between}.eyebrow{font-size:15px;color:var(--muted);margin-bottom:7px}.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:36px}.action{background:white;display:flex;align-items:center;gap:16px;padding:23px 20px;border-radius:14px;color:#18212f;min-height:98px}.action>svg{margin-left:auto;color:#a3adbb;width:18px}.action-icon{color:var(--blue);display:flex;align-items:center;justify-content:center}.action-icon svg{width:28px;height:28px}.action strong{font-weight:600;white-space:nowrap}.action:hover,.customer-row:hover{background:#f0f7ff}
.section{margin-top:30px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.section-head>a{font-size:16px;min-height:44px;display:flex;align-items:center}.list{background:#fff;border-radius:14px;padding:0 20px}.customer-row{display:flex;align-items:center;gap:16px;padding:20px 0;color:#18212f;min-height:92px}.customer-row+.customer-row{border-top:.5px solid #eaf0f5}.customer-avatar,.large-avatar{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:#f0f4f9;color:#5e7290;flex:none}.row-content{display:flex;flex-direction:column;min-width:0;gap:3px;flex:1}.row-content strong{font-size:18px;font-weight:550;overflow-wrap:anywhere}.row-content span{color:var(--muted);font-size:15px;overflow-wrap:anywhere}.customer-row>svg{color:#9eabbb;width:18px}.weekly{display:flex;justify-content:space-between;gap:16px;margin-top:32px;padding:24px 0}.weekly h2{font-size:18px}.weekly p{font-size:15px;color:var(--muted);margin-top:6px}.status-label{font-size:13px;color:var(--muted);white-space:nowrap;padding-top:4px}.back{display:inline-flex;gap:4px;align-items:center;min-height:48px;color:#63728a;margin-bottom:16px;font-size:16px}.back svg{width:18px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.text-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;font-size:17px}.search-form{display:flex;gap:12px;margin:20px 0}.search-box{display:flex;align-items:center;background:white;border-radius:10px;padding:0 16px;flex:1;min-width:0;color:#8b98aa}.search-box input{border:0;padding:14px 10px;min-width:0;width:100%;background:transparent;font-size:17px}.secondary{border:0;border-radius:10px;min-height:48px;padding:10px 18px;background:#e7eef6;color:#335a7b;white-space:nowrap}.muted{color:var(--muted);font-size:15px}#result-count{margin-bottom:12px}.empty{padding:36px 16px;text-align:center;color:var(--muted);font-size:17px;display:flex;flex-direction:column;gap:8px}.loading{padding:60px 16px;text-align:center;color:var(--muted)}.loading-small{padding:24px 0}.customer-heading{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.customer-heading h1{font-size:26px}.large-avatar{width:56px;height:56px;color:var(--blue);background:var(--soft);font-size:26px}.tag{font-size:14px;background:#edf2f8;color:#57708e;padding:3px 12px;border-radius:6px}.details{background:white;padding:24px;border-radius:14px}.details dl{margin:20px 0 0}.details dl>div{display:grid;grid-template-columns:120px 1fr;gap:16px;margin-top:16px}.details dt{color:var(--muted);font-size:16px}.details dd{margin:0;overflow-wrap:anywhere}.timeline{background:white;border-radius:14px;padding:8px 24px}.timeline article{padding:22px 0}.timeline article+article{border-top:.5px solid #eaf0f5}.timeline-meta{display:flex;justify-content:space-between;align-items:center;gap:12px}.timeline-meta strong{font-weight:550}.timeline time{color:var(--muted);font-size:14px;white-space:nowrap}.timeline .muted{margin-top:8px}.followup-content{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}.related{display:flex;gap:24px;font-size:15px;color:var(--muted);margin-top:22px}
.has-action-bar{padding-bottom:130px}.action-bar{position:fixed;bottom:0;left:0;right:0;background:white;padding:16px max(24px,calc((100vw - 1012px)/2)) max(16px,env(safe-area-inset-bottom));z-index:4;display:flex;justify-content:flex-end}.primary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border:0;border-radius:10px;padding:12px 32px;color:white;background:var(--blue);font-size:18px;font-weight:550}.primary:disabled{background:#d9e2ec;color:#718093}.entry-form{max-width:720px;margin:26px 0 0;display:flex;flex-direction:column;gap:24px}.entry-form>label{display:flex;flex-direction:column;gap:10px;font-weight:550}.entry-form input,.entry-form textarea{padding:14px 16px;border:0;border-radius:10px;background:white;min-height:54px;min-width:0;width:100%;font-size:18px;line-height:1.5;color:#18212f;font-weight:400}.entry-form textarea{min-height:180px;resize:vertical}.entry-form input::placeholder,.entry-form textarea::placeholder{color:#9aa4b3;font-size:17px}.entry-form fieldset{border:0;padding:0;margin:0}.entry-form legend{padding:0;margin-bottom:10px;font-weight:550}.choices{display:flex;gap:12px}.choice{display:flex;align-items:center;gap:8px;flex:1;padding:14px;background:white;border-radius:10px;font-size:17px;cursor:pointer}.choice:has(input:checked){background:#e8f3ff;color:#0876d8}.choice input{width:18px;height:18px;min-height:18px;accent-color:var(--blue);margin:0;flex:none}.selected-customer{background:white;border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:5px;margin-top:24px;max-width:720px}.selected-customer strong{font-weight:550;overflow-wrap:anywhere}.recorder{padding-bottom:10px}.field-error{font-size:16px;color:#b42318}.error-box{padding:30px 0}.error-box p{margin-bottom:16px;color:#b42318;overflow-wrap:anywhere}.success-page{max-width:520px;margin:65px auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}.success-icon{background:#e7f6ee;color:#27805b;border-radius:50%;padding:18px;display:flex}.success-icon svg{width:38px;height:38px}.success-page p{color:var(--muted)}.success-page .primary{margin-top:10px;min-width:240px}.login-page{padding-top:80px;gap:20px}.login-page h1{color:#18212f}#toast{position:fixed;bottom:120px;left:50%;transform:translateX(-50%);padding:12px 24px;background:#18212f;color:white;border-radius:10px}
@media(min-width:900px){.details dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}.details dl>div{grid-template-columns:100px 1fr}}
@media(max-width:640px){.topbar{height:64px;padding:0 20px}.brand{font-size:18px;gap:10px}.brand-mark{width:34px;height:34px}#preview-note{padding:8px 20px;font-size:12px;text-align:left}main{padding:24px 20px 40px}.greeting{margin:0 0 22px}h1{font-size:25px}.actions{grid-template-columns:1fr;gap:10px;margin-bottom:28px}.action{min-height:76px;padding:18px 20px;border-radius:12px}.action-icon svg{width:25px;height:25px}.section{margin-top:26px}.section-head{margin-bottom:10px}h2{font-size:19px}.list{padding:0 16px;border-radius:12px}.customer-row{gap:12px;padding:18px 0;min-height:84px}.customer-avatar{width:40px;height:40px;border-radius:10px}.row-content strong{font-size:17px}.row-content span{font-size:14px}.weekly{margin-top:22px;padding:18px 0}.weekly p{font-size:14px}.weekly h2{font-size:17px}.search-form{gap:8px}.search-box{padding:0 10px}.search-box svg{width:20px}.search-box input{font-size:16px;padding:14px 8px}.search-form .secondary{padding:10px 14px;font-size:16px}.back{margin-bottom:12px}.page-title{margin-bottom:18px}.customer-heading{gap:12px}.customer-heading h1{font-size:23px;flex:1}.details{padding:20px}.details dl>div{grid-template-columns:90px 1fr;gap:12px}.details dd{font-size:17px}.timeline{padding:0 20px}.timeline-meta strong{font-size:17px}.timeline time{font-size:13px}.action-bar{padding:14px 20px max(14px,env(safe-area-inset-bottom))}.action-bar .primary{width:100%}.has-action-bar{padding-bottom:125px}.entry-form{gap:22px}.entry-form input[type=date]{appearance:none;-webkit-appearance:none;min-height:55px}.entry-form input[type=date]::-webkit-date-and-time-value{text-align:left}.choice{padding:14px 12px;font-size:16px}.success-page{margin-top:45px}}
@media(prefers-reduced-motion:no-preference){a,button{transition:background-color .12s ease}}

.ant-entry{max-width:720px;margin-top:24px}.ant-form-panel{padding:28px;background:#fff;border-radius:12px}.ant-form-panel>.ant-form-item:last-child{margin-bottom:0}.ant-recorder{margin-top:16px;font-size:14px}.ant-entry .action-bar{justify-content:flex-start}.ant-actions{width:100%;max-width:720px;display:flex;justify-content:flex-end;gap:12px}.ant-actions .ant-btn{min-width:120px}.ant-entry .ant-radio-wrapper{min-height:44px;align-items:center}.ant-entry .ant-form-item-label label{font-weight:550}@media(max-width:640px){.ant-form-panel{padding:20px}.ant-entry{margin-top:18px}.ant-actions .ant-btn{min-width:80px}.ant-actions .ant-btn-primary{flex:1}}
