:root{font-family:'Microsoft JhengHei','PingFang HK',system-ui,sans-serif;color:#064b33;background:#f6f9f3;font-size:16px;line-height:1.65;font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button,a,input,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #89bb40;outline-offset:4px}img{display:block;max-width:100%}[hidden]{display:none!important}h1{font-size:clamp(28px,3vw,38px);line-height:1.4;font-weight:800}h2{font-size:24px}h3{font-size:18px}p{font-size:18px;color:#607568}.eyebrow{font-size:14px;font-weight:700;color:#588927;margin:28px 0 12px}label{font-size:16px;font-weight:600;display:grid;gap:8px}input:not([type=checkbox]){width:100%;border:1px solid #ccdcca;background:#fff;border-radius:10px;min-height:50px;padding:10px 13px;color:#064b33;font-weight:400}input[type=checkbox]{accent-color:#058c3c;width:20px;height:20px;cursor:pointer}.primary,.secondary,.icon-button{border-radius:100px;min-height:46px;padding:10px 22px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;transition:background .2s}.primary{border:1px solid #058c3c;background:#058c3c;color:white}.primary:hover{background:#006c30}.secondary,.icon-button{border:1px solid #b8cfa8;background:#fff;color:#064b33}.secondary:hover,.icon-button:hover{background:#eef6e5}.text-button{border:0;background:transparent;color:#a44530;padding:10px;font-size:16px}.brand{width:218px;height:auto}.login-page{min-height:100dvh;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(ellipse at top left,#e0f0c1,transparent 55%),#f6f9f3}.login-card{width:min(100%,520px);padding:46px;background:#fff;border:1px solid #e2eadc;border-radius:24px;box-shadow:0 24px 80px #11452c09}.login-card>p:not(.eyebrow){margin-top:14px}.login-form{display:grid;gap:22px;margin-top:30px}.login-form .primary{margin-top:4px;justify-content:space-between}.back-link{display:inline-block;margin-top:28px;font-size:16px}.notice{padding:16px 20px;border-radius:12px;margin:24px 0;font-size:16px}.error{background:#fff0eb;border:1px solid #eac3b6;color:#943c2c}.success{background:#eaf6dc;border:1px solid #c8dfa9;color:#276315}.admin-header{display:flex;align-items:center;justify-content:space-between;padding:22px max(28px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid #e0e9db;gap:20px}.admin-header>div{display:flex;align-items:center;gap:24px}.signed-in{font-size:16px;color:#607568}.admin-main{width:min(1180px,calc(100% - 56px));margin:52px auto 32px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:32px}.page-heading .eyebrow{margin-top:0}.page-heading p:last-child{margin-top:14px;max-width:750px}.stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:18px;margin:32px 0}.stats article{padding:26px 28px;border:1px solid #dce7d2;border-radius:16px;background:#fff;min-width:0}.stats article:last-child{background:#eaf3da}.stats p{font-size:16px}.stats strong{display:block;font-size:36px;font-weight:800;margin:12px 0 0;line-height:1.5}.stats small{font-size:20px;color:#729167;font-weight:400}.stats .next-label{font-size:26px;overflow-wrap:anywhere}.stats article>span{display:block;font-size:14px;color:#607568;margin-top:6px}.number-panel{background:#fff;border:1px solid #dce7d2;border-radius:20px;padding:32px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.panel-heading p{font-size:16px;margin-top:8px}.number-row{padding:24px;border:1px solid #dae6d1;border-radius:14px;margin:16px 0;background:#fcfef9}.row-heading{display:flex;align-items:center;gap:12px}.order{width:34px;height:34px;background:#d7edac;border-radius:50%;display:grid;place-items:center;font-weight:700;flex-shrink:0}.enabled-label{display:flex;align-items:center;gap:8px;margin-left:auto;font-weight:400}.row-fields{display:grid;grid-template-columns:1fr 1.3fr;gap:24px;margin:24px 0 16px}.row-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;color:#607568}.row-actions{display:flex;gap:8px;align-items:center}.icon-button{width:44px;min-height:44px;padding:0;font-size:21px}.empty-state{padding:50px 24px;text-align:center;border:1px dashed #cbdab9;border-radius:14px;background:#f8fbf3}.empty-state>.empty-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 16px;border-radius:50%;background:#e2f1c6;font-size:28px}.empty-state .empty-description{font-size:16px;margin-top:10px}.form-help{font-size:16px;margin-top:28px}.save-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:24px;margin-top:24px;border-top:1px solid #e1e9da}.save-bar p{font-size:16px}.admin-footnote{font-size:12px;text-align:center;margin:28px 0;color:#71826d;overflow-wrap:anywhere}
@media(max-width:800px){.admin-main{width:calc(100% - 32px);margin-top:32px}.admin-header{padding:18px 20px}.brand{width:185px}.stats{grid-template-columns:1fr 1fr}.stats article:last-child{grid-column:1/-1}.page-heading{align-items:flex-start}.page-heading>.secondary{display:none}.number-panel{padding:24px}.row-fields{grid-template-columns:1fr;gap:18px}}
@media(max-width:480px){p{font-size:16px}.admin-header{padding:16px;gap:12px}.admin-header .brand{width:155px}.admin-header>div{gap:10px}.signed-in{display:none}.admin-header .secondary{padding:8px 16px;min-height:42px}.login-card{padding:30px 24px;border-radius:20px}.stats{gap:12px}.stats article{padding:20px}.stats strong{font-size:30px}.stats .next-label{font-size:24px}.number-panel{padding:20px 16px}.panel-heading{align-items:flex-start;flex-direction:column;gap:16px}.panel-heading .secondary{width:100%}.number-row{padding:18px 14px}.row-heading{gap:8px}.enabled-label{gap:4px;font-size:14px}.row-fields{margin-top:20px}.row-footer{align-items:flex-start;gap:12px;flex-direction:column}.row-actions{align-self:flex-end}.save-bar{align-items:stretch;flex-direction:column;gap:14px}.form-help{font-size:14px}}
.panel-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
@media(max-width:480px){.panel-actions{width:100%}.panel-actions>button{flex:1;min-width:140px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.empty-state{display:block;width:100%;font:inherit;color:inherit}.empty-title,.empty-description{display:block}.empty-title{font-size:18px}.empty-state:hover{background:#eff7e5;border-color:#8bb65b}.empty-state:active{background:#e8f2d9}
