:root{--ink:#263b33;--muted:#859089;--accent:#385e4b;--line:#e3e8e3;--bg:#f6f8f5}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:13px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,textarea{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid #769984;outline-offset:3px}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#f5f7f3;border-right:1px solid var(--line);padding:0 18px;display:flex;flex-direction:column;z-index:4}.brand{font-size:16px;font-weight:600;letter-spacing:.5px;min-height:52px;display:flex;align-items:center}.main-nav{display:flex;gap:8px;padding:9px 0 19px}.nav-button{font-size:12px;padding:5px 18px;border-radius:5px;color:#78847c}.nav-button.active{background:#e6ede5;color:var(--accent)}.nav-button:hover{background:#e9eee8}.sidebar-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto}.section-caption{font-size:10px;color:var(--muted)}.section-caption span{float:right}.month-header{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.month-header b{font-size:12px;font-weight:550}.month-header button{padding:0 7px;font-size:20px;color:#7b897f}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.weekdays{font-size:10px;color:#939d94;margin-bottom:7px}.calendar-grid button,.calendar-grid>span{height:29px;position:relative;border-radius:5px;padding:0;font-size:11px}.calendar-grid button:disabled{opacity:1;color:#b7beb6}.calendar-grid button.has-data:after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#89a08a;bottom:3px;left:calc(50% - 1.5px)}.calendar-grid button.selected{background:var(--accent);color:white}.calendar-grid button.selected:after{background:#cce0cc}.calendar-grid button.has-data:not(.selected):hover{background:#e4ebe2}.calendar-legend{display:flex;justify-content:space-between;margin:10px 0 0;font-size:10px;color:#96a08f}.calendar-legend button{font-size:10px;color:#6a8068;padding:0}.selected-package{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.package-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.package-label strong{font-size:13px;font-weight:550}.package-label>span{font-size:10px;color:var(--muted)}.package-report{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 10px;margin:5px 0;border:1px solid var(--line);border-radius:6px;background:white;text-align:left;font-size:12px;gap:8px}.package-report small{font-size:10px;color:#849480;white-space:nowrap}.package-report:hover,.package-report.active{border-color:#a8bea5;background:#eef4eb}.sidebar-bottom{margin-top:auto;padding:22px 0 14px}.upload-button{position:relative;display:block;padding:8px;border:1px dashed #d5dfd2;border-radius:5px;text-align:center;font-size:11px;color:#7a8b72;cursor:pointer}.upload-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}#upload-status{font-size:10px;color:var(--muted);margin:8px 0 0}#upload-status:empty{display:none}.workbench{margin-left:240px;height:100dvh}.report-panel{display:flex;flex-direction:column;height:100%;min-width:0;position:relative;background:white}.report-tabs{display:flex;overflow-x:auto;min-height:52px;flex-shrink:0;align-items:stretch;border-bottom:1px solid var(--line);background:#fafbf9;padding:0 14px}.tab{display:flex;align-items:center;flex:none;padding:0 14px;border-bottom:2px solid transparent;gap:14px;color:#889388;font-size:11px}.tab[aria-selected=true]{background:white;border-color:#5f8068;color:var(--accent)}.tab-title{padding:0;font-size:11px;white-space:nowrap}.tab-close{font-size:16px;color:#9ba798;padding:0}.report-toolbar{min-height:36px;padding:6px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0eb;font-size:10px;color:var(--muted);gap:12px;flex-shrink:0}.report-toolbar>div{display:flex;align-items:center;gap:16px}.report-toolbar a,.text-button{color:#5b775d;font-size:11px}.report-views{flex:1;min-height:0}.report-views iframe{display:block;width:100%;height:100%;border:0}.report-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted)}.report-empty h1{font-size:18px;font-weight:500;margin:0}.report-empty p{font-size:12px;margin:8px}.chat-toggle{position:fixed;bottom:22px;right:24px;z-index:10;background:var(--accent);color:white;border:1px solid #ffffff38;border-radius:25px;padding:11px 18px;box-shadow:0 5px 24px #263f3228;display:flex;gap:8px;align-items:center;font-size:13px}.conversation{position:fixed;right:24px;bottom:80px;width:400px;height:min(580px,calc(100dvh - 104px));display:flex;flex-direction:column;background:#fff;border:1px solid #d7e0d6;border-radius:12px;box-shadow:0 12px 55px #22352925;z-index:11;overflow:hidden}.conversation-header{height:51px;min-height:51px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 15px;background:#fafcf8}.conversation-header>div:first-child{display:flex;gap:10px;align-items:center}.conversation-header b{font-size:12px;font-weight:600}#chat-date{font-size:10px;color:var(--muted)}.header-actions{display:flex;gap:3px}.icon-button{width:29px;height:29px;padding:0;font-size:20px;border-radius:5px;color:#869581}.icon-button:hover{background:#eaf0e6}.messages{flex:1;min-height:0;overflow:auto;padding:18px;scroll-behavior:smooth}.welcome{margin-top:35px}.welcome>p{font-size:13px;color:#7b897b}.suggestions{display:grid;gap:8px;margin-top:15px}.suggestions button{text-align:left;font-size:11px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;color:#71816b}.suggestions button:hover{background:#f1f6ee}.composer{padding:10px 14px 14px;flex-shrink:0}.input-shell{display:flex;align-items:flex-end;border:1px solid #d9e3d4;border-radius:8px;padding:8px;background:white;gap:7px}.input-shell:focus-within{border-color:#8ca985}textarea{border:0;resize:none;outline:0!important;background:transparent;min-width:0;flex:1;font-size:12px;line-height:1.7;color:var(--ink);padding:2px}textarea::placeholder{color:#a0aa9a}#send{width:29px;height:29px;border-radius:6px;color:white;background:var(--accent);font-size:19px;flex-shrink:0}#chat-notice{font-size:11px;color:#946c46;margin-bottom:7px}#chat-notice:empty{display:none}.message{margin-bottom:20px;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.message.user{margin-left:28px;padding:10px 13px;background:#eef4e9;border-radius:10px 10px 2px 10px;white-space:pre-wrap}.message-label{font-size:10px;color:#8a9c80;margin-bottom:6px}.message-label span{margin-right:6px}.message-text{white-space:pre-wrap}.reading-trace{font-size:10px;color:#879a7d;margin:6px 0 9px}.reading-trace summary{cursor:pointer}.reading-trace button{display:block;font-size:10px;padding:3px 0;color:#7f9572;text-align:left}.source-links{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.source-links button{font-size:9px;padding:3px 6px;border:1px solid #dfe7d9;border-radius:4px;background:#f6f9f3;color:#748b66}.thinking{color:#8b9c80}.thinking:after{content:' …'}#report-notice:not(:empty){position:absolute;bottom:20px;left:24px;max-width:calc(100% - 210px);background:#f0f5ec;padding:10px 14px;border:1px solid #dae5d3;border-radius:6px;font-size:11px;color:#708568;z-index:3}dialog{border:1px solid #dce5d7;border-radius:10px;padding:22px;width:min(700px,calc(100vw - 32px));max-height:88dvh;color:var(--ink);box-shadow:0 20px 80px #20341a30}dialog::backdrop{background:#17241d66}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog-header h2{font-size:15px;font-weight:550;margin:0}.dialog-footer{display:flex;justify-content:flex-end;margin-top:14px}.primary-button{background:var(--accent);color:white;padding:8px 13px;border-radius:5px;font-size:11px}#framework-prompt{white-space:pre-wrap;font:12px/1.9 inherit;font-family:inherit;background:#f6f8f3;border:1px solid var(--line);border-radius:6px;padding:18px;max-height:62vh;overflow:auto;margin-top:18px}#history-dialog{max-width:440px}#history-list{margin-top:15px}#history-list button{display:block;width:100%;padding:12px 5px;border-bottom:1px solid var(--line);text-align:left}#history-list small{display:block;font-size:10px;color:var(--muted)}#chart-preview{width:min(1080px,calc(100vw - 40px));padding:18px 22px}#chart-image{display:block;width:100%;height:auto;max-height:70dvh;object-fit:contain;margin:15px auto}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}.preview-footer>div{display:flex;align-items:center;white-space:nowrap;gap:8px}@media(max-width:720px){.sidebar{width:100%;height:48px;bottom:auto;padding:0 14px;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:14px;min-height:48px}.main-nav{padding:0}.nav-button{padding:4px 10px}.sidebar-content{display:none;position:fixed;top:48px;left:0;bottom:0;width:250px;background:#f5f7f3;border-right:1px solid var(--line);padding:18px;box-shadow:10px 0 30px #20341a12}.sidebar-content.mobile-open{display:flex}.workbench{margin:48px 0 0;height:calc(100dvh - 48px)}.report-tabs{min-height:42px;padding-left:4px}.tab{padding:0 10px}.report-toolbar{padding:6px 16px}.report-toolbar>div{gap:10px}.report-toolbar #report-mode-label{display:none}.chat-toggle{bottom:14px;right:14px}.conversation{right:12px;bottom:72px;width:min(400px,calc(100vw - 24px));height:min(580px,calc(100dvh - 90px))}.preview-footer{align-items:flex-start;gap:8px}#chart-preview{width:calc(100vw - 20px);padding:14px}#chart-image{max-height:65dvh}#report-notice:not(:empty){left:12px;bottom:68px;max-width:calc(100% - 24px)}}
.dashboard{height:100%;overflow:auto;padding:28px 32px 85px;background:#f5f7f4}.dash-heading{max-width:1100px}.dash-eyebrow{font-size:11px;color:#7a8c7f;letter-spacing:1px}.dash-heading h1{font-size:21px;font-weight:550;line-height:1.75;max-width:1100px;margin:12px 0 8px}.dash-heading>p{font-size:11px;color:#8c998e;margin:0}.dash-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.dash-kpis>div{border-left:2px solid #c5d5c7;padding-left:18px}.dash-kpis span,.dash-kpis small{display:block;font-size:11px;color:#849286}.dash-kpis strong{display:block;font-size:27px;font-weight:500;font-variant-numeric:tabular-nums;margin:4px 0}.dash-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dash-card{min-width:0;background:#fff;border:1px solid #e2e9e1;border-radius:8px;padding:18px 18px 10px}.dash-card-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dash-card h2,.dash-events h2{font-size:14px;font-weight:550;margin:0 auto 0 0}.dash-note{font-size:10px;color:#849286;min-height:28px;margin:8px 0}.live-chart{width:100%;height:295px}.dash-wide{grid-column:1/-1}.dash-wide .live-chart{height:370px}.dash-select{font-size:10px;color:#8b998c}.dash-select select{border:1px solid #e0e7de;border-radius:4px;background:#f8faf6;padding:4px;color:#506a56;font-size:10px;max-width:125px}.dash-events{margin-top:20px;border:1px solid #e2e9e1;border-radius:8px;background:white;padding:18px}.dash-events h2{margin-bottom:12px}.dash-event{display:grid;grid-template-columns:1.1fr 1.5fr 1fr;gap:15px;padding:10px 0;border-top:1px solid #eef2eb;font-size:11px}.dash-event strong{font-weight:500}.dash-event span{color:#7c8d7d}.dash-event span:last-child{text-align:right;font-variant-numeric:tabular-nums}.dash-method{font-size:10px;color:#839080;margin-top:18px;line-height:1.9}.dash-method summary{cursor:pointer}.dash-chart-empty{padding:65px 25px;color:#8b988b;font-size:12px;text-align:center}.dash-loading{padding:60px;text-align:center;color:#859489}@media(max-width:1100px){.dash-grid{grid-template-columns:1fr}.dash-wide{grid-column:auto}.dashboard{padding:22px 22px 90px}.dash-heading h1{font-size:18px}}@media(max-width:720px){.dashboard{padding:20px 14px 90px}.dash-kpis{gap:8px}.dash-kpis>div{padding-left:8px}.dash-kpis strong{font-size:20px}.dash-kpis span,.dash-kpis small{font-size:9px}.dash-card{padding:14px 10px}.dash-event{grid-template-columns:1fr}.dash-event span:last-child{text-align:left}.dash-wide .live-chart{height:380px}.dash-heading h1{font-size:17px}.dash-wide{overflow:auto}.dash-wide .live-chart{min-width:600px}}
.dash-summary{white-space:pre-line;font-size:14px;line-height:1.9;margin:12px 0 16px;color:#3d5848}.dash-heading h1{font-size:16px;margin-bottom:8px}.settings-section{margin:20px 0;border-top:1px solid var(--line);padding-top:15px}.settings-section h3{font-size:13px;font-weight:550;margin:0 0 10px}.settings-section p,.settings-section details{font-size:11px;color:#7c8b7f}.settings-section label{display:block;font-size:11px;margin-top:12px}.settings-section textarea,.settings-section input,.settings-section select{display:block;box-sizing:border-box;width:100%;border:1px solid #dce5d8;border-radius:5px;background:#f8faf6;color:var(--ink);padding:10px;font:12px/1.8 inherit;margin:6px 0}.settings-section textarea{resize:vertical;min-height:95px;font-family:inherit}.settings-section #framework-prompt{margin-top:6px;font-size:12px;max-height:none;white-space:pre-wrap}.settings-section summary{cursor:pointer}#summary-fields button{display:block;font-size:11px;text-align:left;padding:5px}#generation-prompt{white-space:pre-wrap;max-height:260px;overflow:auto;font:12px/1.8 inherit}#settings-notice,#analysis-notice{font-size:12px;color:#657d60}#add-analysis{width:100%}
#summary-fields{max-height:230px;overflow:auto}#settings-dialog .dialog-footer{position:sticky;bottom:-22px;background:white;padding:12px 0;border-top:1px solid var(--line)}
.job-view{height:100%;overflow:auto;padding:42px clamp(22px,6vw,85px);background:#fafbf8}.job-heading small{font-size:12px;color:#7e8d7c}.job-heading h1{font-size:21px;font-weight:550;margin:12px 0}.job-elapsed{color:#7c8d7a;font-size:12px;font-variant-numeric:tabular-nums}.job-steps{list-style:none;padding:0;margin:30px 0;max-width:620px}.job-step{position:relative;padding:0 0 30px 45px;min-height:62px;border-left:1px solid #dee7da;margin-left:15px;color:#9aa497}.job-step:last-child{border-left:0}.job-step-no{position:absolute;left:-15px;top:0;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#edf1e9;color:#81947a;font-size:12px}.job-step strong{font-size:14px;font-weight:500}.job-step p{font-size:12px;line-height:1.8;margin:8px 0 0;color:#788975}.job-step[data-state=active],.job-step[data-state=done]{color:#375f46}.job-step[data-state=active] .job-step-no{background:#375f46;color:white}.job-step[data-state=done] .job-step-no{background:#e2eddc;color:#375f46}.job-step[data-state=failed] .job-step-no{background:#f3e4da;color:#995932}.job-note{font-size:12px;color:#82917c}.job-error{padding:14px;background:#faf0e8;border:1px solid #ead6c6;border-radius:6px;color:#865e43;font-size:12px;max-width:640px;white-space:pre-wrap}

.account{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:0 0 14px;font-size:11px;border-bottom:1px solid var(--line);margin-bottom:12px}.account small{color:var(--muted);font-size:10px;flex-basis:100%}.account-name{font-weight:600;color:var(--accent)}.account .text-button{margin-left:auto}.account-login{color:var(--accent);font-weight:600}
.space-section{margin-top:18px}.space-list{margin-top:6px}.space-report{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 10px;margin:4px 0;border:1px solid var(--line);border-radius:6px;background:white;text-align:left;font-size:11px;gap:8px}.space-report:hover{border-color:#a8bea5;background:#eef4eb}.space-report small{font-size:10px;color:#849480;white-space:nowrap}.space-empty{font-size:10px;color:var(--muted);margin:6px 0}
.share-subject{color:var(--muted);font-size:12px;margin:8px 0 14px}.share-form{display:flex;gap:8px}.share-form input{flex:1;padding:8px 10px;border:1px solid #d5dfd2;border-radius:5px}.share-list{margin-top:14px}.share-row{display:flex;justify-content:space-between;align-items:center;padding:9px 4px;border-bottom:1px solid var(--line);font-size:12px}#share-notice{font-size:11px;color:var(--muted);min-height:16px;margin:10px 0 0}
