:root{color-scheme:light;--bg:#f6f5ef;--paper:#fffefa;--line:#e8e6dc;--ink:#202d23;--muted:#646c5f;--green:#28543d;--deep:#193429;--gold:#b67d38;--soft:#e9eee4;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.5;color:var(--ink);background:var(--bg);font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{text-decoration:none;color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #a66b31;outline-offset:3px}h1,h2,h3,p{margin:0}.icon{width:19px;height:19px;vertical-align:middle;flex:none}small{display:block}.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--deep);color:#f7f4e7;display:flex;flex-direction:column;padding:27px 16px 18px;z-index:3}.brand{display:flex;align-items:center;gap:11px;margin:0 9px 32px}.brand strong{font-size:21px;letter-spacing:.055em;line-height:1.1;display:block;font-weight:750}.brand small{color:#e6bf7a;font-size:9px;letter-spacing:.23em;margin-top:4px;font-weight:650}.org{border:1px solid #426052;background:#243f33;border-radius:11px;padding:10px;display:flex;align-items:center;gap:9px;margin:0 1px 23px}.org-avatar{display:grid;place-items:center;background:#425747;color:#f5dbad;border-radius:7px;width:33px;height:33px;font-weight:700}.org strong{font-size:12px;letter-spacing:.04em}.org small,.sidebar-foot small{color:#b3c4b6;font-size:10px;margin-top:1px}.nav-group{margin:0 0 18px}.nav-label{color:#b1c2b3;font-size:10px;letter-spacing:.13em;margin:0 12px 6px}.nav-link{display:flex;align-items:center;gap:10px;color:#cfdbd0;border:1px solid transparent;padding:8px 10px;border-radius:8px;line-height:22px;margin:2px 0;font-size:13px}.nav-link .icon{width:17px;height:17px}.nav-link:hover{background:#28483a;color:#fff7e8}.nav-link.active{background:#355744;border-color:#42624f;color:#ffe2a9;font-weight:650}.nav-count{margin-left:auto;color:#f5d4a0;background:#533f2c;border-radius:6px;min-width:20px;text-align:center;font-size:10px;line-height:18px}.sidebar-foot{border-top:1px solid #3f574b;margin-top:auto;display:flex;align-items:center;gap:8px;padding:15px 3px 1px;font-size:11px}.online-dot{width:7px;height:7px;border-radius:50%;background:#9ebc79;box-shadow:0 0 0 3px #415745;flex:none}.edition{margin-left:auto;font-size:9px;color:#bdcbbd;font-family:ui-monospace,monospace}
.main-shell{margin-left:226px;min-width:0;min-height:100vh;display:flex;flex-direction:column}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fbfaf5;border-bottom:1px solid var(--line);gap:12px}.crumb,.top-right,.profile{display:flex;align-items:center;gap:12px}.crumb{color:var(--muted);font-size:12px}.crumb strong{color:var(--ink);font-weight:690}.crumb #slash{color:#aaa99d}.top-right{margin-left:auto;gap:15px}.mode{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;padding:4px 9px;background:#f3ead7;color:#785323;border-radius:6px;font-size:11px;font-weight:650}.mode::before{content:"";width:6px;height:6px;background:#b9823e;border-radius:50%}.mode.live{background:#e9eee5;color:#365642}.mode.live::before{background:#629266}.top-divider{width:1px;height:25px;background:var(--line)}.profile{gap:8px}.profile-icon{display:grid;place-items:center;width:34px;height:34px;background:#e8ede4;color:#3c5e46;border:1px solid #dae4d8;border-radius:10px;font-weight:700}.profile strong{display:block;font-size:11px}.profile small{font-size:10px;color:var(--muted)}main{width:100%;max-width:1510px;margin:0 auto;padding:26px 32px 12px;outline:none;flex:1}.footer{max-width:1510px;width:100%;margin:0 auto;display:flex;justify-content:space-between;padding:18px 32px 21px;color:var(--muted);font-size:11px}.footer b{margin:0 4px;color:#9a805c}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:20px}.page-heading h1{font-size:29px;letter-spacing:-.025em;line-height:1.25;font-weight:780}.page-heading p{color:var(--muted);font-size:12px;margin-top:6px}.eyebrow{font-size:10px;font-weight:760;letter-spacing:.16em;color:#785d3c;display:block;margin-bottom:5px}.date-control,.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dcded2;border-radius:8px;min-height:37px;background:var(--paper);color:var(--ink);padding:7px 12px;white-space:nowrap;font-size:12px;font-weight:660}.date-control{padding:0 9px;gap:5px;color:#405143}.date-control input{border:0;background:none;color:inherit;padding:5px 0;min-width:0}.date-control>.icon{width:16px;height:16px}.btn:hover,.icon-button:hover,.seg button:hover{background:#f0efe5}.btn .icon{width:16px;height:16px}.btn.primary{background:#2b543d;border-color:#2b543d;color:#fffaf0}.btn.primary:hover{background:#1e4230}.btn.danger{color:#8b3d30;background:#faefe8;border-color:#efd8ce}.btn.quiet{border:0;background:none;color:var(--green);padding-inline:4px;min-height:27px}.btn.quiet:hover{text-decoration:underline}.icon-button{display:grid;place-items:center;border:1px solid var(--line);width:35px;height:35px;border-radius:8px;background:var(--paper);color:var(--ink);padding:0}.mobile-menu{display:none}
.hero{background:#f3e6cd url(/farm.svg) right center/auto 100% no-repeat;display:flex;align-items:center;min-height:211px;border:1px solid #eadbc0;border-radius:var(--radius);position:relative;overflow:hidden;margin-bottom:20px}.hero-body{position:relative;padding:22px 29px;width:58%;z-index:1}.hero-label{display:inline-flex;align-items:center;gap:6px;color:#705431;font-size:10px;font-weight:720;letter-spacing:.1em;margin-bottom:9px}.hero-label .icon{width:14px;height:14px}.hero h2{font-size:clamp(22px,2.55vw,36px);letter-spacing:-.045em;line-height:1.2;font-weight:800;color:#21392b}.hero p{color:#5d5b43;max-width:420px;margin:9px 0 15px;font-size:12px;line-height:1.65}.hero .btn{min-height:34px;padding:5px 11px}.hero-tag{position:absolute;right:13px;bottom:10px;background:#243c2bd9;padding:4px 8px;border:1px solid #d8ce9e60;border-radius:5px;color:#f7ecd1;font-size:9px;letter-spacing:.055em}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:19px}.metric{min-width:0;border:1px solid var(--line);border-radius:13px;background:var(--paper);padding:13px 15px 12px}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:8px}.metric-top strong{font-size:12px;font-weight:670}.symbol{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#e7eee4;color:#365f40;flex:none}.symbol .icon{width:16px;height:16px}.symbol.gold{background:#f5ebd9;color:#916434}.symbol.rust{background:#f6e8e1;color:#9c583b}.symbol.slate{background:#e9efeb;color:#456457}.metric-value{font-size:clamp(19px,2.04vw,29px);font-weight:760;line-height:1.12;letter-spacing:-.045em;white-space:nowrap;font-variant-numeric:tabular-nums}.metric-value em{font-style:normal;font-size:.53em;padding-right:3px;vertical-align:3px;letter-spacing:0}.metric-note{color:var(--muted);font-size:10px;margin-top:6px}.metric-note a:hover{text-decoration:underline}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);min-width:0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,1fr);gap:15px;margin-bottom:17px}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:9px;padding:15px 17px 10px}.panel-head h2{font-size:16px;font-weight:760;letter-spacing:-.02em}.panel-head p{color:var(--muted);font-size:11px;margin-top:4px}.panel-head>.btn{min-height:27px}.legend{display:flex;gap:10px;align-items:center;font-size:10px;color:var(--muted);padding-top:4px;white-space:nowrap}.legend span{display:flex;gap:4px;align-items:center}.legend i{width:8px;height:8px;border-radius:2px;background:#446c50}.legend .expense{background:#dbb271}.chart-body{padding:0 12px 6px 7px}.chart{width:100%;height:194px;display:block;overflow:visible}.chart text{font-size:11px;fill:#646f60;font-family:inherit}.chart .gridline{stroke:#eae7dd;stroke-dasharray:3 4}.chart .bar-in{fill:#527859}.chart .bar-out{fill:#d8af69}.chart .bar-in:hover,.chart .bar-out:hover{opacity:.73}.chart-summary{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:0 17px 13px;padding:7px 10px;background:#f3f3ec;border-radius:7px;color:#526253;font-size:11px}.chart-summary strong{font-size:12px;color:#2b4b35;font-variant-numeric:tabular-nums}.reminders{padding:1px 14px 7px}.reminder,.recent-link{color:inherit;background:none;text-align:left;border:0}.reminder{display:flex;width:100%;gap:9px;align-items:center;border-bottom:1px solid #efede4;padding:10px 2px;min-height:55px}.reminder:last-child{border-bottom:0}.reminder:hover,.recent-link:hover{background:#f7f6ee}.reminder .symbol{width:31px;height:31px}.reminder-mid{min-width:0;flex:1}.reminder-mid strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reminder-mid small{color:var(--muted);font-size:10px;margin-top:2px}.tag{display:inline-flex;align-items:center;gap:4px;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:660;white-space:nowrap;background:#efeee8;color:#5f6559}.tag::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.tag.green{background:#e7efe3;color:#346044}.tag.amber{background:#f6ebd6;color:#825421}.tag.red{background:#fae8e0;color:#994637}.tag.blue{background:#e6edea;color:#345e57}.tag.gray{background:#efeee9;color:#5f6559}
.data-panel{overflow:hidden}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}.table th{background:#f5f5ee;color:#5d685b;font-size:11px;font-weight:680}.table th,.table td{padding:11px 13px;border-bottom:1px solid #edece4}.table th:first-child,.table td:first-child{padding-left:17px}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#faf9f4}.table td:first-child{max-width:290px;overflow:hidden;text-overflow:ellipsis}.table td strong{font-weight:680}.table small{font-size:10px;color:var(--muted);margin-top:2px}.table .currency{font-variant-numeric:tabular-nums}.recent-link{padding:0;color:#244a34;font-weight:690;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.records-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:13px 16px;border-bottom:1px solid #edece4}.filters,.actions,.seg{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.seg{background:#eeeee6;border:1px solid #e6e6dc;border-radius:8px;padding:3px;gap:1px}.seg button{background:none;border:1px solid transparent;border-radius:6px;color:#536052;padding:5px 9px;font-size:11px;white-space:nowrap}.seg button[aria-pressed=true]{background:var(--paper);color:#244e36;border-color:#e4e6dc;font-weight:700}.search{display:flex;align-items:center;gap:6px;border:1px solid #dedfd4;background:#fffefa;border-radius:8px;padding:0 8px;color:#687467}.search .icon{width:15px;height:15px}.search input{border:0;background:none;padding:7px 0;width:150px;color:var(--ink);font-size:11px}.records-tools select{padding:6px 25px 6px 8px;width:auto;max-width:180px;font-size:11px}.records-footer{padding:10px 17px;color:var(--muted);font-size:11px;border-top:1px solid #eeede5;display:flex;justify-content:space-between;align-items:center;gap:8px}.records-footer .btn{min-height:26px;padding:2px 8px;font-size:11px}.empty,.loading{padding:27px 18px;text-align:center;color:var(--muted);font-size:12px}.empty .icon{width:26px;height:26px;margin-bottom:5px;color:#71826b}.empty strong{display:block;margin-bottom:4px;color:var(--ink)}.loading .btn{margin-top:10px}.note-panel{border:1px solid #e8ddc6;background:#f7efdf;color:#604d34;border-radius:11px;padding:10px 13px;margin-bottom:14px;font-size:12px}.note-panel .icon{width:15px;height:15px;margin-right:5px}.substats{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}.substat{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:8px 13px;color:var(--muted);font-size:11px}.substat strong{margin-left:7px;color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:17px}.settings-card{padding:17px}.settings-card h2{margin:9px 0 5px;font-size:16px}.settings-card p{font-size:12px;color:var(--muted);margin-bottom:12px}.settings-card .actions{gap:7px}.field-hint{color:var(--muted);font-size:11px}
dialog{width:min(610px,calc(100% - 24px));max-height:calc(100% - 28px);padding:0;border:1px solid #e4e3d8;border-radius:15px;background:var(--paper);color:var(--ink);box-shadow:0 18px 65px #15251b3d;overflow:auto}dialog::backdrop{background:#18271f78}.dialog-head{padding:15px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:9px;align-items:center}.dialog-head h2{font-size:19px;line-height:1.25;overflow-wrap:anywhere}.dialog-head small{font-size:11px;color:var(--muted);margin-top:4px}.dialog-body{padding:15px 19px}.dialog-foot{padding:12px 19px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.form-grid,.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wide{grid-column:1/-1}label.field{display:grid;gap:4px;font-size:12px;font-weight:660;color:#394d3e}input:not(.search input):not(.date-control input),select,textarea{width:100%;border:1px solid #dcded2;border-radius:7px;background:white;color:var(--ink);padding:7px 9px;min-height:35px}textarea{resize:vertical;min-height:68px}.form-error{font-size:12px;color:#a13d2d;margin-top:10px}.form-error:empty{display:none}.detail-grid{margin:0}.detail-grid>div{background:#f5f5ee;border-radius:8px;padding:8px 10px;min-width:0}.detail-grid dt{font-size:11px;color:var(--muted)}.detail-grid dd{margin:3px 0 0;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.history-title{font-size:13px;margin:14px 0 4px}.history{margin:0;padding:0;list-style:none}.history li{padding:6px 0;border-bottom:1px solid #efede4;font-size:11px;overflow-wrap:anywhere}.history time{color:var(--muted);margin-right:6px}.mode-alert{color:#895737}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quick-item{display:flex;align-items:center;gap:9px;justify-content:start;background:#faf9f2;border:1px solid #e9e7da;border-radius:9px;padding:9px;color:var(--ink);font-size:12px;font-weight:650}.quick-item:hover{background:#eef0e5}#toast{position:fixed;right:20px;bottom:20px;z-index:5;max-width:calc(100% - 40px);background:var(--deep);color:#fff7e7;padding:9px 14px;border-radius:8px;box-shadow:0 3px 14px #16291835;font-size:12px}#toast:empty{display:none}
@media(max-height:770px) and (min-width:801px){.sidebar{padding-top:19px}.brand{margin-bottom:20px}.org{margin-bottom:16px}.nav-group{margin-bottom:11px}.nav-link{padding-block:6px}.sidebar{overflow:auto}}
@media(max-width:1170px){.sidebar{width:194px}.main-shell{margin-left:194px}.topbar,main,.footer{padding-left:22px;padding-right:22px}.hero{background-size:auto 100%}.metric{padding-inline:11px}.metrics{gap:9px}.dashboard-grid{gap:11px}}
@media(max-width:960px){.reminder-mid strong{font-size:11px}.reminders{padding-inline:9px}.panel-head{padding-inline:13px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-value{font-size:25px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.hero-body{width:68%}.hero{background-position:right -75px center}.sidebar{padding-bottom:12px}}
@media(max-width:800px){.sidebar{display:none;width:209px;top:54px;overflow:auto;z-index:4;padding:14px 12px}.sidebar.open{display:flex;box-shadow:20px 0 60px #182b2340}.brand{margin-bottom:13px}.org{margin-bottom:13px}.nav-group{margin-bottom:9px}.nav-link{padding-block:5px}.main-shell{margin:0}.topbar{height:54px}.mobile-menu{display:grid;width:32px;height:32px}.topbar,main,.footer{padding-left:16px;padding-right:16px}.topbar{gap:9px}main{padding-top:17px}.hero{background-position:right center}.hero-body{width:66%;padding-inline:17px}.page-heading h1{font-size:24px}.page-heading{margin-bottom:14px}}
@media(max-width:490px){.profile div,.top-divider,.crumb>span{display:none}.top-right{gap:7px}.hero{background-position:right -181px bottom;background-size:auto 78%;align-items:start;min-height:192px}.hero-body{width:86%;padding:14px 12px}.hero h2{font-size:21px}.hero p{max-width:205px}.hero-tag{font-size:8px}.page-heading p{font-size:11px}.date-control{padding-inline:3px;font-size:10px}.date-control>.icon{display:none}.settings-grid{grid-template-columns:1fr}.form-grid,.detail-grid{gap:8px}.dialog-body,.dialog-head,.dialog-foot{padding-inline:12px}.footer{font-size:9px}}
.workstreams{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.workstream{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:10px 12px;min-width:0}.workstream>a:first-child{display:flex;gap:9px;align-items:center}.workstream strong{font-size:13px}.workstream small{font-size:11px;color:var(--muted)}.stream-task{display:flex;align-items:center;justify-content:space-between;gap:4px;color:var(--green);font-size:11px;margin-top:8px;padding-top:6px;border-top:1px solid var(--line)}.stream-task .icon{width:13px;height:13px}.stream-task:hover,.workstream>a:first-child:hover{text-decoration:underline}.sidebar #navigation{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#546f5d transparent}.sidebar-foot{flex-shrink:0}.sidebar .nav-group{margin-bottom:10px}.sidebar .nav-link{padding-block:5px;line-height:19px}.sidebar .nav-label{margin-bottom:3px}.order-lines{border:1px solid var(--line);border-radius:9px}.order-lines .panel-head{align-items:center;padding:6px 10px}.order-line{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:6px;align-items:end;padding:5px 9px}.order-lines .chart-summary{margin:7px 9px}.records-tools input.filter-month{width:auto;min-height:30px;font-size:11px;padding:5px 7px}.data-panel .table td:last-child{max-width:390px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:960px){.workstreams{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:490px){.order-line{grid-template-columns:1fr 1fr auto}.order-line .field:first-child{grid-column:1/-1}}
.board-block{margin-bottom:16px}.board-block .filters label{font-size:12px;color:var(--muted)}.board-block .filters input,.board-block .filters select{display:block;width:auto;margin-top:4px}.board-trend{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:8px 18px 16px}.trend-column{min-width:0;display:flex;flex-direction:column;gap:3px;font-size:12px}.trend-column meter{width:100%;height:14px}.trend-column small{color:var(--muted)}.trend-column strong{overflow-wrap:anywhere}.dialog-body details{margin-top:12px;font-size:12px}
.site-map{display:block;width:100%;max-height:53vh;background:#e7ecdf}.map-target{fill:#264d3f50;stroke:white;stroke-width:4}.site-map g{cursor:pointer}.site-map g:hover .map-target,.site-map g:focus .map-target,.map-target.chosen{stroke:#ffda62;fill:#236f5e;stroke-width:7}#team-site{width:auto;max-width:50%}#team-modal{max-width:min(610px,94vw)}#team-content .field-hint{margin-top:10px;overflow-wrap:anywhere}
