:root{--ink:#3a2a20;--muted:#8a7666;--green:#d2600a;--orange:#e8821c;--line:#f0e4da;--bg:#faf7f4;--soft:#fdecdd;--white:#ffffff}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px 'Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #e8821c80;outline-offset:3px}button{border:0}a{color:var(--green)}.shell{display:flex;min-height:100vh}.sidebar{width:226px;background:#ffffff;border-right:1px solid var(--line);padding:33px 21px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center;font-size:20px;font-weight:700;letter-spacing:1px}.logo{width:39px;height:39px;border-radius:12px;background:var(--green);display:grid;place-items:center;color:#ffffff;font-size:23px;position:relative}.logo:after{content:'';width:9px;height:9px;background:#eeac7e;border-radius:50%;position:absolute;right:5px;top:6px}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:400;letter-spacing:2px;margin-top:3px}.workspace{font-size:11px;color:var(--muted);margin:38px 12px 12px;letter-spacing:2px}.nav{display:flex;flex-direction:column;gap:8px}.nav button{background:transparent;color:#7b857f;text-align:left;padding:13px 15px;display:flex;align-items:center;gap:13px;border-radius:9px;font-size:14px}.nav button.active{background:#f9ede4;color:#b95428;font-weight:600}.nav svg{width:19px;height:19px}.nav .count{margin-left:auto;font-size:10px;background:#ead3bd;color:#aa542c;padding:2px 6px;border-radius:4px}.side-bottom{margin-top:auto;padding-top:30px}.model-state{padding:15px 12px;background:#f7f4f2;border-radius:10px;font-size:12px;color:#7b857f;line-height:1.9}.model-state b{display:block;color:#5a4f41;font-weight:500}.dot{display:inline-block;width:6px;height:6px;background:#bdb3ad;border-radius:50%;margin-right:6px}.side-user{margin-top:22px;padding-top:20px;border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;font-size:12px}.avatar{width:34px;height:34px;background:#f0e1cf;color:#8b6143;border-radius:50%;display:grid;place-items:center;font-weight:600}.main{margin-left:226px;flex:1;min-width:0}.topbar{height:78px;background:#ffffffb0;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:10px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:#655d53;font-weight:500}.top-right{display:flex;align-items:center;gap:16px}.badge{font-size:10px;border:1px solid #dddccc;border-radius:5px;padding:3px 7px;color:#8e8463;background:#fbf8ec}.switcher{border:1px solid var(--line);background:white;border-radius:7px;padding:7px 9px;font-size:12px;color:#655d53}.content{padding:30px 38px 44px;max-width:1530px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.eyebrow{color:var(--orange);letter-spacing:2px;font-size:10px;font-weight:600;margin-bottom:8px}.page-heading h1{font-size:26px;font-weight:600;letter-spacing:1px;margin:0 0 7px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:7px;background:var(--green);color:white;font-size:12px;white-space:nowrap}.button.orange{background:var(--orange)}.button.secondary{background:#ffffff;color:#655d53;border:1px solid var(--line)}.button.soft{background:#f9ede4;color:#ae592f}.button.tiny{font-size:11px;padding:7px 11px}.button svg{width:16px;height:16px}.hero{display:grid;grid-template-columns:1fr 240px;border-radius:13px;background:#eee8e5;overflow:hidden;margin-bottom:22px;min-height:177px;position:relative}.hero-copy{padding:27px 30px;z-index:1}.hero .label{font-size:10px;letter-spacing:2px;color:#80776e}.hero h2{font-size:21px;margin:11px 0 9px;font-weight:600;line-height:1.6}.hero p{font-size:12px;color:#847b74;margin:0;max-width:570px;line-height:1.9}.hero-art{position:relative;display:grid;place-items:center;overflow:hidden}.hero-art:before{content:'';width:220px;height:220px;border:1px solid #dbd1cb;border-radius:50%;position:absolute;right:-15px;top:-27px;box-shadow:0 0 0 23px #e9e1dc,0 0 0 24px #dfd4ce,0 0 0 47px #ebe3df}.target-card{background:#ffffffcc;border:1px solid white;border-radius:12px;position:relative;transform:rotate(-6deg);width:139px;padding:16px 20px;box-shadow:0 10px 30px #55453310}.target-card small{font-size:10px;color:#97908a}.target-card strong{font-size:36px;font-weight:500;display:block;color:var(--green)}.target-card strong span{font-size:13px;color:#97908a}.progress{height:5px;background:#e8e1dd;border-radius:4px;overflow:hidden}.progress i{display:block;height:100%;background:var(--orange);border-radius:4px}.hero-star{position:absolute;right:35px;top:30px;color:var(--orange);font-size:35px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{padding:19px 21px;background:white;border:1px solid var(--line);border-radius:11px}.stat-label{color:#7b867e;font-size:11px;display:flex;align-items:center;justify-content:space-between}.stat-label svg{width:16px;height:16px;color:#b4ada8}.stat-value{font-size:30px;line-height:1.6;font-weight:500;letter-spacing:-1px}.stat-value small{font-size:12px;font-weight:400;color:#a19b97;letter-spacing:0;margin-left:5px}.stat-foot{font-size:10px;color:var(--muted)}.stat-foot em{font-style:normal;color:#c56937}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:22px}.panel-head{padding:19px 22px;border-bottom:1px solid #f0ebe9;display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-title{font-size:14px;font-weight:600;display:flex;gap:9px;align-items:center}.panel-title svg{width:17px;height:17px;color:#74695f}.panel-head .text-link{background:none;color:#97918b;font-size:10px;padding:3px}.tabs{display:flex;gap:19px;padding:0 22px;border-bottom:1px solid var(--line);overflow-x:auto}.tabs button{padding:14px 0 12px;background:none;white-space:nowrap;color:#8c968d;font-size:11px;border-bottom:2px solid transparent}.tabs button.active{color:#bd633a;border-color:#cf7043}.task{display:flex;gap:12px;padding:18px 22px;border-bottom:1px solid #f1edec;align-items:center}.task:last-child{border-bottom:0}.channel-icon{width:38px;height:38px;flex-shrink:0;border:1px solid #e9e2e0;border-radius:10px;display:grid;place-items:center;font-size:12px;background:#f7f7f0;color:#918077}.channel-icon.warm{background:#fbf2e9;color:#b97952;border-color:#f0dfce}.task-copy{flex:1;min-width:0}.task-name{font-size:12px;font-weight:500;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tag{font-size:9px;line-height:1.5;padding:2px 6px;border-radius:4px;background:#f3eeeb;color:#867466;display:inline-block;white-space:nowrap}.tag.orange{background:#fff1e5;color:#b77a43}.tag.red{background:#fbede9;color:#bb6d5a}.tag.gray{background:#f2efee;color:#8c958c}.task-note{font-size:10px;color:#a09995;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-date{font-size:10px;color:#a69c96;margin-top:6px}.insight{padding:20px 22px}.note-label{font-size:9px;letter-spacing:1px;color:#a28366;display:flex;align-items:center;gap:6px}.insight h3{font-weight:500;font-size:14px;line-height:1.8;margin:12px 0 8px}.insight p{font-size:11px;line-height:1.9;color:#948d88;margin:0}.quote{padding:13px 15px;background:#f7f3f2;border-left:2px solid #ccbdb3;margin:15px 0;color:#77695f;font-size:11px;line-height:1.9}.lesson{padding:18px 22px}.lesson .lesson-meta{display:flex;justify-content:space-between;font-size:10px;color:#a0958f;margin-bottom:12px}.lesson h3{font-size:13px;font-weight:500;margin:0 0 10px}.lesson p{font-size:11px;color:#968f8a;line-height:1.8}.lesson-footer{margin-top:16px;display:flex;justify-content:space-between;align-items:center}.week-dots{display:flex;gap:5px}.week-dots span{width:19px;height:22px;border-radius:4px;font-size:9px;display:grid;place-items:center;background:#f3efed;color:#a69a94}.week-dots span.done{background:#ece4df;color:#826b5c}.footer-note{font-size:10px;color:#aba49f;display:flex;justify-content:space-between;margin-top:14px;gap:10px}.toolbar{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap}.search{border:1px solid var(--line);border-radius:8px;padding:10px 13px;background:white;min-width:250px;flex:1;color:var(--ink)}.filter{border:1px solid var(--line);background:white;border-radius:8px;padding:10px;font-size:12px;color:#7a716a}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:400;color:#a0958f;background:#fcfcf8;padding:14px 18px}td{padding:17px 18px;border-top:1px solid #f0eae8;font-size:12px}td small{display:block;color:#a1958f;margin-top:5px;font-size:10px}.empty{padding:45px 20px;text-align:center;color:#968f8a;font-size:12px;line-height:2}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-card{border:1px solid var(--line);border-radius:12px;background:white;padding:24px}.feature-card h3{font-size:16px;font-weight:500}.feature-card p{font-size:12px;color:#90847d;line-height:1.9}.feature-icon{font-size:23px;color:var(--orange)}.alert{padding:13px 16px;background:#faf1e5;border:1px solid #f0e1ca;color:#a0784d;font-size:11px;line-height:1.9;border-radius:8px;margin-bottom:18px}.log-item{padding:20px 22px;border-bottom:1px solid var(--line)}.log-item h3{font-size:13px;margin:0 0 10px;font-weight:500}.log-item p{color:#897f78;font-size:12px;line-height:1.9;white-space:pre-wrap}.log-meta{display:flex;gap:10px;color:#a49892;font-size:10px;align-items:center;flex-wrap:wrap}.review{background:#f8f4f2;padding:15px 18px;border-radius:9px;margin-top:15px}.review h4{font-size:12px;font-weight:500;margin:8px 0}.review p,.review li{font-size:11px;color:#8a7e77;line-height:1.9}.review ul{padding-left:18px}.modal-backdrop{position:fixed;inset:0;background:#31291e65;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:#ffffff;border-radius:15px;width:650px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 80px #28201630}.modal.wide{width:790px}.modal-header{position:sticky;top:0;background:white;z-index:1;padding:22px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-header h2{font-size:17px;font-weight:500;margin:0}.close{font-size:23px;background:#f4efed;color:#8a7b72;border-radius:50%;width:29px;height:29px}.modal-body{padding:24px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#88796f}.field.full{grid-column:1/-1}.field input,.field textarea,.field select{border:1px solid #e5dcd8;background:#ffffff;border-radius:7px;padding:10px 11px;color:#4c3f33;width:100%;min-width:0}.field textarea{min-height:90px;resize:vertical}.field small{font-size:10px;color:#a89a94}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.check-line{display:flex;align-items:center;gap:8px;font-size:12px;color:#76665c;grid-column:1/-1}.error{color:#b05b44;font-size:12px;min-height:18px;margin-top:10px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:16px 0 24px}.detail-grid div{font-size:12px;line-height:1.8}.detail-grid small{display:block;color:#a6958d;font-size:10px}.section-title{font-size:13px;font-weight:500;margin:22px 0 12px}.exam-option{display:block;padding:12px;margin:10px 0;border:1px solid var(--line);border-radius:7px;font-size:12px}.exam-option input{margin-right:10px}.exam-question{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.exam-question h3{font-size:13px;line-height:1.8}.file-preview{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.file-preview img{height:75px;width:75px;object-fit:cover;border-radius:7px}.file-link{font-size:11px;color:#866b5a;text-decoration:underline;background:transparent;padding:3px}.mobile-brand{display:none}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#3d301f;color:#ffffff;padding:12px 22px;border-radius:8px;font-size:12px;z-index:200;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}#toast.show{opacity:1}.result-score{font-size:42px;color:var(--orange);margin:15px 0}.danger{color:#b35743!important}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-row{padding:19px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.settings-row h3{font-size:12px;font-weight:500;margin:0 0 6px}.settings-row p{font-size:10px;color:#9b8f88;margin:0;line-height:1.8}.mini-bars{display:flex;gap:5px;align-items:flex-end;height:50px}.mini-bars i{width:13px;background:#e5dad4;border-radius:3px 3px 0 0}.mini-bars i:last-child{background:#d68558}
@media(min-width:1500px){.content{padding-top:38px}.hero{min-height:200px}.task{padding-top:22px;padding-bottom:22px}}
@media(max-width:1150px){.sidebar{width:190px;padding:27px 15px}.main{margin-left:190px}.content{padding:25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr)}.stats{gap:10px}.stat{padding:16px}.hero{grid-template-columns:1fr 180px}.task{padding:16px}.cards{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.sidebar{width:74px;padding:25px 10px}.brand>span,.workspace,.nav span,.side-bottom{display:none}.brand{justify-content:center}.nav{margin-top:35px}.nav button{justify-content:center;padding:14px 8px}.nav .count{display:none}.main{margin-left:74px}.dashboard-grid{grid-template-columns:1fr}.hero{grid-template-columns:1fr 170px}.cards{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}}
@media(max-width:560px){.sidebar{inset:auto 0 0;width:100%;height:65px;border-right:0;border-top:1px solid var(--line);padding:0;background:#ffffff;z-index:30}.sidebar .brand,.workspace{display:none}.nav{margin:0;flex-direction:row;justify-content:space-around;height:100%;gap:0}.nav button{padding:8px 3px;gap:4px;font-size:9px;flex-direction:column;border-radius:0;flex:1}.nav span{display:block}.nav button.active{background:#fff8f0}.nav svg{width:18px;height:18px}.main{margin-left:0;padding-bottom:75px}.topbar{height:62px;padding:0 18px}.breadcrumb{display:none}.mobile-brand{display:block;font-size:16px;font-weight:600}.top-right{gap:7px}.badge{font-size:8px}.switcher{font-size:10px;padding:6px}.content{padding:22px 16px}.page-heading{align-items:flex-start;margin-bottom:20px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px;line-height:1.8}.page-heading>.button{font-size:10px;padding:9px}.hero{grid-template-columns:1fr 100px;min-height:164px;margin-bottom:17px}.hero-copy{padding:21px 18px}.hero h2{font-size:17px;margin:8px 0;line-height:1.65}.hero p{font-size:10px}.hero-art:before{width:160px;height:160px;right:-90px;top:20px}.target-card{width:85px;padding:13px 12px;transform:rotate(-7deg);margin-left:-10px}.target-card strong{font-size:25px}.target-card small{font-size:8px}.hero-star{right:10px;top:14px;font-size:23px}.stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:18px}.stat{padding:15px}.stat-value{font-size:28px}.stat-foot{font-size:9px}.panel-head{padding:17px}.tabs{padding:0 17px;gap:17px}.task{padding:16px 13px;gap:9px}.task-name{font-size:11px;gap:5px}.task-note{font-size:9px;max-width:210px}.channel-icon{width:31px;height:34px;font-size:10px}.task .button{font-size:10px;padding:7px}.dashboard-grid{gap:0}.cards{grid-template-columns:1fr}.feature-card{padding:20px}.toolbar{gap:8px}.search{min-width:100%;font-size:12px}.filter{flex:1}.modal-backdrop{padding:8px;align-items:flex-end}.modal{max-height:94vh;border-radius:15px 15px 0 0}.modal-header{padding:19px}.modal-body{padding:19px}.form-grid{gap:13px}.field{font-size:10px}.detail-grid{grid-template-columns:1fr 1fr}.footer-note{font-size:8px}.settings-row{padding:17px}.button{padding:10px 12px}.log-item{padding:18px}.topbar .avatar{display:none}}

/* 目标计划 v2：客户明细清单 */
.tg-tr { display: grid; grid-template-columns: 1.6fr 1fr 0.6fr 0.8fr; gap: 8px; align-items: center; padding: 7px 10px; font-size: 13px; }
.tg-th { background: #f6f3f1; font-size: 12px; color: #7a726b; }
.tg-tr + .tg-tr { border-top: 0.5px solid #ede7e4; }
.tg-dim { color: #8a948c; }
.tg-tag { justify-self: start; border-radius: 999px; padding: 2px 9px; font-size: 12px; white-space: nowrap; }
.tg-green { background: #f4e5dd; color: #6f320f; }
.tg-blue { background: #e6f1fb; color: #185fa5; }
.tg-red { background: #fcebeb; color: #a32d2d; }
.tg-dimtag { background: #f1efe8; color: #7a726b; }
@media (max-width: 640px) { .tg-tr { grid-template-columns: 1.4fr 0.9fr 0.5fr 0.7fr; font-size: 12px; } }
