/* Preserve the observed green theme while improving Chinese type and compact controls. */
:root{--dim:#536d65;--line:#dbe5df;--bg:#f5f7f5}
body{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:14px;line-height:1.6;text-rendering:optimizeLegibility}
h1,h2,h3,strong,b{font-family:inherit}h1{font-size:26px;font-weight:650;line-height:1.35}h2{font-size:21px}h3{font-size:15px}
button,input,select,textarea{font-family:inherit;font-size:13px}button{transition:background-color .16s,border-color .16s,box-shadow .16s}button:focus-visible,summary:focus-visible{outline:3px solid #91c8b7;outline-offset:2px}
.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;min-height:0}.sidebar .side-link{min-height:40px;line-height:1.5}.sidebar .bottom{font-size:11px}.main{min-width:0}
.topbar{position:sticky;top:0;z-index:15;min-height:72px;height:auto;background:rgba(255,255,255,.97)}.top-actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}.content{max-width:1740px}
.stat strong{font-family:inherit!important;font-weight:650;font-variant-numeric:tabular-nums}.help,.subtitle{line-height:1.8}.hc-quiet{color:var(--dim)}
th{font-size:12px}td{font-size:13px}td input,td select{min-height:34px}input[type=checkbox]{accent-color:var(--green);min-height:16px;width:16px;min-width:16px}
.proj-row{grid-template-columns:minmax(200px,1fr) 100px 110px 120px 80px!important}.proj-row .pill{width:max-content;max-width:100%}.panel,.hc-card{box-shadow:0 2px 12px #183d2f04}
.modal{overscroll-behavior:contain}.modal-box{max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-body{overflow:auto;overscroll-behavior:contain}.modal-actions{flex-shrink:0}.hc-local-note{font-size:12px;color:#536d65;background:#edf5f0;border:1px solid #d3e5da;border-radius:8px;padding:9px 12px;margin-bottom:16px}
.hc-edge-check-actions select{min-width:100px}.hc-upload input[type=file]{max-width:100%}
.hc-project-settings{margin-bottom:12px;font-size:12px;color:var(--dim)}.hc-project-settings summary{cursor:pointer;width:max-content}.hc-project-manage{margin-top:8px}.hc-project-manage button:last-child{color:var(--red)}
@media(max-width:1100px){.top-actions{gap:5px}.top-actions button{padding:7px 9px}.crumb{min-width:100px}.proj-row{grid-template-columns:minmax(180px,1fr) 85px 90px 95px 60px!important}}
@media(max-width:720px){.sidebar{position:relative;height:auto;overflow:visible}.sidebar nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:5px}.sidebar .side-link{white-space:nowrap;flex-shrink:0;min-height:38px}.topbar{position:relative;align-items:flex-start;flex-wrap:wrap}.top-actions{justify-content:flex-start;gap:6px}.top-actions button{font-size:12px}.content{padding:18px 12px 32px}.hc-pagelead{gap:12px;flex-wrap:wrap}.proj-row{grid-template-columns:minmax(0,1fr) 82px!important}.project-card{padding:12px}.hc-toolbar{flex-wrap:wrap}.hc-toolbar input{max-width:100%}.form-grid{grid-template-columns:1fr!important}.modal{padding:10px}.modal-box{padding:16px}.hc-upload{min-width:0}.hc-kicker{font-size:10px}.panel{padding:14px}.table-scroll{overscroll-behavior:contain}h1{font-size:23px}.hc-compact-stats{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
