:root {
  --ink:#20332f; --muted:#6d7e73; --blue:#087b66; --line:#e6ebe9;
  --paper:#f5f7f6; --white:#fff; --red:#b24c57; --soft:#edf7f2;
  --radius:12px; --shadow:0 3px 14px rgba(28,57,46,.025);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;min-width:1100px;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none;transition:color .15s}a:hover{color:#045e4d}
.icon{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
aside{width:232px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 18px 18px;display:flex;flex-direction:column;z-index:20;overflow-y:auto}
.brand{display:flex;align-items:center;gap:12px;padding:0 12px;color:var(--ink);font-size:20px;font-weight:650;letter-spacing:.4px;white-space:nowrap}.brand:hover{color:var(--ink)}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#85918c;font-weight:500;margin-top:2px}.brand-mark{display:grid;place-items:center;width:39px;height:42px;border-radius:11px;background:#087b66;color:white;box-shadow:0 4px 10px #087b6620}.brand-mark .icon{width:24px;height:24px;stroke-width:1.6}
.workspace-label{font-size:11px;color:#89958f;letter-spacing:1px;margin:28px 12px 0;padding-bottom:20px;border-bottom:1px solid var(--line)}nav{margin-top:18px}.nav-label{font-size:10px;color:#94a19a;letter-spacing:1px;margin:0 14px 12px}.nav-secondary{margin-top:30px}nav a{display:flex;align-items:center;gap:12px;color:#687871;padding:12px 15px;border-radius:8px;margin-bottom:5px;font-size:13px;position:relative}nav a .icon{color:#85948c}nav a:hover{background:#f5f8f6;color:var(--ink)}nav a.active{background:#e9f4ee;color:#08765f;font-weight:600}nav a.active .icon{color:#08765f}nav a.active:after{content:'';width:5px;height:5px;border-radius:50%;background:#08765f;position:absolute;right:16px}
.sidebar-note{margin-top:auto;padding:35px 12px 23px;display:flex;align-items:flex-start;gap:9px;color:#627b6e;font-size:10px}.sidebar-note .icon{width:16px;height:16px}.sidebar-note small{display:block;color:#99a49e;font-size:9px;margin-top:3px}
.account{border-top:1px solid var(--line);padding:20px 8px 0;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border:1px solid #d7e8dd;border-radius:50%;display:grid;place-items:center;color:#42745c;background:#f0f6f2;font-size:12px;font-weight:600}.account-name{min-width:0;flex:1}.account-name b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;max-width:100px}.account-name small{display:block;font-size:10px;color:#96a19a}.logout-button{background:transparent;border:0;color:#91a098;padding:5px;box-shadow:none}.logout-button:hover{background:#f2f6f3;color:var(--ink)}
.topbar{height:72px;margin-left:232px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:10}.breadcrumb{font-size:12px;color:#99a39f;display:flex;gap:16px;align-items:center}.breadcrumb b{font-weight:500;color:#40514a}.breadcrumb span{color:#c1cbc5}.topbar-right{display:flex;align-items:center;gap:20px;color:#96a29b;font-size:11px;font-variant-numeric:tabular-nums}.role-pill{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:6px;padding:4px 9px;color:#687e70}.role-pill .icon{width:13px;height:13px}
main{margin-left:232px;padding:34px 40px 24px;max-width:1900px}.public{margin:0;max-width:none;display:grid;place-items:center;min-height:100vh}.page-footer{margin-top:48px;border-top:1px solid #e5ebe7;padding-top:16px;display:flex;justify-content:space-between;color:#a5afa8;font-size:10px;letter-spacing:.4px}header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}header>div:first-child{max-width:850px}h1{font-size:29px;font-weight:650;line-height:1.35;letter-spacing:-.8px;margin:7px 0 10px}h2{font-size:17px;font-weight:600;margin:0 0 14px}h3{font-size:16px;font-weight:600;margin:0}p{margin:8px 0}.eyebrow{font-size:10px;letter-spacing:1.4px;color:#89968e;font-weight:500}.muted{color:var(--muted)}header p{font-size:12px;line-height:1.8}
button,.button{display:inline-flex;gap:8px;justify-content:center;align-items:center;background:var(--blue);color:#fff;border:1px solid var(--blue);border-radius:7px;padding:10px 16px;font:inherit;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;box-shadow:0 2px 3px rgba(4,75,53,.04);transition:background .15s,border-color .15s,color .15s}button:hover,.button:hover{background:#066752;color:#fff;border-color:#066752}button .icon,.button .icon{width:16px;height:16px}.secondary{background:#fff;color:#456c59;border-color:#dce6df;box-shadow:none}.secondary:hover{background:#f1f7f3;color:#087b66;border-color:#a8cabb}.danger{background:#fff;color:var(--red);border-color:#eed8dd;box-shadow:none}.danger:hover{background:#fff0f2;border-color:#d49aa6;color:var(--red)}.ghost{background:transparent;color:var(--muted);border-color:var(--line);box-shadow:none}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}.metric{padding:20px 21px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.metric-heading{display:flex;justify-content:space-between;align-items:center}.metric-heading small{font-size:12px;color:#64786a}.metric-icon{color:#5b9d80;background:#eff7f2;padding:8px;width:33px;height:33px;border-radius:9px}.metric-icon.amber{color:#ba9348;background:#faf6ec}.metric-icon.rose{color:#bf7d86;background:#faf0f2}.metrics strong{display:block;font-size:31px;font-weight:550;letter-spacing:-1px;line-height:1.3;margin:13px 0 12px;font-variant-numeric:tabular-nums}.metrics em{font-size:12px;font-style:normal;color:#99a59c;font-weight:400;margin-left:8px;letter-spacing:0}.metrics .currency{margin-left:0;margin-right:7px;font-size:18px;color:#a4b0a8}.metric-foot{font-size:11px;color:#758679}.metric-confirmed{background:#f0f7f3;border-color:#dcebe0}.metric-confirmed strong{color:#117958}.metric-confirmed .metric-icon{background:#e0eee5;color:#117958}.today{display:flex;align-items:center;gap:23px;font-size:11px;color:#849287;background:#eef2ef;border:1px solid #e6ece7;border-radius:7px;padding:10px 16px;margin-bottom:32px}.today-label{display:flex;align-items:center;gap:6px;color:#5d7868;font-weight:500}.today .icon{width:14px;height:14px}.today b{font-weight:550;color:#5b7061}.today small{margin-left:auto;font-size:10px;color:#a1aaa5}
.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-title h2{margin:0}.section-title p{font-size:12px;margin:5px 0 0;color:#718478}.section-title>a{font-size:11px;display:flex;align-items:center;gap:5px}.section-title .icon{width:14px;height:14px}.daily-results{margin-bottom:34px}.kind-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kind{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);position:relative;overflow:hidden}.kind:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#b6d8c4}.kind:nth-child(3n+2):before{background:#bfd4df}.kind:nth-child(3n):before{background:#d6c9df}.kind-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.kind-symbol{display:grid;place-items:center;background:#f0f6f2;width:39px;height:39px;border-radius:10px;color:#6d9b7f}.kind-symbol .icon{width:21px;height:21px}.kind:nth-child(3n+2) .kind-symbol{background:#f0f5f8;color:#7c9bab}.kind:nth-child(3n) .kind-symbol{background:#f5f2f7;color:#a08cb0}.card-state{font-size:9px;color:#83a18c;border:1px solid #e3eee6;padding:2px 7px;border-radius:4px}.kind h3{font-size:15px}.kind-price{display:flex;align-items:baseline;gap:4px;margin:10px 0 20px}.kind-price strong{font-size:28px;font-weight:550;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.kind-price strong>span{font-size:15px;color:#9aa79f;font-weight:400}.kind-price small{font-size:10px;color:#9aa79f}.stock{display:flex;gap:20px;border-top:1px dashed #e2e9e4;padding-top:16px;margin-bottom:20px}.stock>div{flex:1}.stock small{display:block;color:#718478;font-size:11px;margin-bottom:4px}.stock b{font-size:19px;font-weight:550;font-variant-numeric:tabular-nums}.stock em{font-style:normal;font-size:10px;font-weight:400;color:#a4aea8}.take-form{display:flex;align-items:flex-end;gap:10px}.quantity-label{width:85px;flex-shrink:0}.quantity-label input{width:100%}.take-form button{flex:1;height:40px}.kind-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1ee;margin-top:18px;padding-top:12px;font-size:10px;color:#a0aba3}.kind-bottom a{color:#739980}.kind-import{width:100%;justify-content:space-between}.catalog-empty{grid-column:1/-1;border:1px dashed #d3ded6;border-radius:12px;background:#fafcfb}
input,select,textarea{font:inherit;font-size:12px;color:var(--ink);border:1px solid #dfe6e1;border-radius:6px;background:#fff;padding:9px 11px;transition:border-color .15s,box-shadow .15s}input:not([type=checkbox]),select{height:40px}input::placeholder,textarea::placeholder{color:#b0bbb3}input[type=checkbox]{accent-color:var(--blue);width:14px;height:14px;cursor:pointer}label{display:flex;flex-direction:column;gap:7px;color:#65796b;font-size:11px}label input,label select,label textarea{font-size:12px}textarea{resize:vertical;width:100%;font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;background:#fcfdfc;padding:15px}input:focus,select:focus,textarea:focus{outline:0;border-color:#78ad92;box-shadow:0 0 0 3px #087b6610}button:focus-visible,a:focus-visible{outline:3px solid #79b798;outline-offset:3px}.inline,.editable{display:flex;align-items:flex-end;gap:14px}.stack{display:flex;flex-direction:column;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:24px;box-shadow:var(--shadow)}.panel h2{font-size:15px}.editable{background:#fff;border:1px solid var(--line);padding:20px 24px;margin-bottom:12px;border-radius:10px}.editable label{flex:1}.filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:24px}.filters input{max-width:190px}.filters>a{font-size:11px;padding:10px 0}.overview-tools{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px 22px;margin-bottom:24px;box-shadow:var(--shadow)}.overview-tools .filters{margin:0}.overview-tools .filters:last-child{padding-left:24px;border-left:1px solid var(--line)}.bulk{display:flex;align-items:center;gap:10px;background:#f0f6f2;padding:14px 18px;margin:18px 0 0;border:1px solid #deebe2;border-radius:10px 10px 0 0}.bulk b{font-size:11px;font-weight:500;margin-right:auto;color:#63806c}.bulk input{max-width:230px}.bulk+.table-wrap{border-radius:0 0 10px 10px}
.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}th{text-align:left;font-weight:450;font-size:11px;letter-spacing:.15px;color:#6c7e70;background:#fafcfb;white-space:nowrap}th,td{padding:17px 20px;border-bottom:1px solid #edf1ee;vertical-align:top}td{color:#63746a}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafdfb}#kind-results td{vertical-align:middle;padding-top:21px;padding-bottom:21px}#kind-results td:first-child{color:#364d40}#kind-results td:nth-child(2){color:#344d3e;font-weight:550}#kind-results th{padding-top:18px;padding-bottom:18px}#kind-results td b{font-weight:550}.table-kind{display:inline-flex;align-items:center;gap:10px}.table-kind .icon{color:#85a591;width:18px;height:18px}.row-actions{display:flex;gap:14px;white-space:nowrap;font-size:11px}.row-actions a:first-child{color:#087b66;font-weight:500}.row-actions a:last-child{color:#97a79c}.table-note{font-size:11px;margin-top:12px;line-height:1.9;color:#74867a}.amount{color:#087b66;font-weight:550}code,pre,.code{font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}td code{display:block;max-width:460px;margin:8px 0;padding:8px;background:#f2f6f3;border-radius:4px}summary{cursor:pointer}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 8px;white-space:nowrap;font-size:10px}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.pending{background:#faf4e5;color:#a88842}.valid{background:#eaf5ee;color:#388b60}.invalid{background:#faeef0;color:#b86c79}.reason{display:block;max-width:250px;margin-top:7px;overflow-wrap:anywhere;font-size:10px;color:#a28b91}.pagination{display:flex;justify-content:flex-end;gap:20px;margin-top:20px;font-size:11px;color:var(--muted)}
.notice{display:flex;align-items:center;gap:10px;background:#edf7f0;border:1px solid #d6eadd;color:#40815e;border-radius:8px;padding:13px 16px;margin-bottom:24px;font-size:12px}.notice.error{background:#fff1f3;border-color:#f0d9df;color:#aa586b}.notice .icon{width:16px;height:16px}.empty{padding:50px 24px;color:#9da99f;text-align:center;font-size:12px}.empty-icon{display:grid;place-items:center;margin:0 auto 14px;width:54px;height:54px;background:#eaf2ed;color:#7da58a;border-radius:14px}.empty-icon .icon{width:27px;height:27px}.empty h3{color:#687f6d;margin-bottom:8px}.empty p{font-size:11px}.empty .button{margin-top:16px}.preview{display:flex;align-items:center;justify-content:space-between;padding:22px;background:#f0f8f2;border:1px solid #d8ebdf;border-radius:8px;font-size:12px;color:#668b72}.preview strong{font-size:22px;color:#177748;letter-spacing:-.6px}pre{white-space:pre-wrap}
body.login-page{min-width:0;background:#f1f5f2}.login-page .public{padding:40px 24px}.login-shell{display:grid;grid-template-columns:1.05fr 1fr;width:940px;max-width:100%;background:#fff;border:1px solid #e1e9e3;border-radius:20px;overflow:hidden;box-shadow:0 18px 80px #284a3510}.login-story{background:#edf4ee;padding:42px;display:flex;flex-direction:column;min-height:550px;position:relative}.login-story .brand{padding:0}.login-story-copy{margin-top:64px}.login-story-copy .eyebrow{font-size:10px;color:#8aa390}.login-story h1{font-size:37px;line-height:1.65;letter-spacing:-1.3px;font-weight:550;margin-top:17px}.login-story h1 span{color:#4a8c64}.login-story-copy p{font-size:12px;color:#738a79;line-height:1.9;margin-top:20px}.login-features{display:flex;gap:18px;margin-top:auto;padding-top:36px;color:#799b82;font-size:10px}.login-features span{display:flex;align-items:center;gap:5px}.login-features .icon{width:14px;height:14px}.login{padding:78px 48px 44px;align-self:center;min-width:0}.login h2{font-size:27px;letter-spacing:-.7px;margin:8px 0 12px;font-weight:600}.login p{font-size:12px}.login .stack{margin:30px 0 26px}.login label{font-size:11px}.login input{height:44px}.login button{width:100%;height:44px;justify-content:space-between;padding:0 18px;margin-top:8px}.login-help{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#8da293;padding-top:20px;border-top:1px solid var(--line)}.login-help .icon{width:14px;height:14px;margin-top:2px}.login-help small{font-size:9px;color:#a7b5ab;line-height:1.9}.page-date{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:8px 13px;border-radius:7px;font-size:11px;color:#7d9585}.page-date .icon{width:14px;height:14px}
@media(max-width:800px){.login-story{display:none}.login-shell{grid-template-columns:1fr;width:440px}.login{padding:45px 35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
button:disabled{opacity:.45;cursor:not-allowed}.filter-chip{font-size:11px;align-self:center;border:1px solid #dce9df;background:#edf6ef;color:#698472;border-radius:5px;padding:5px 8px}
