:root{color:#292f2c;font-synthesis:none;background:#f7f5f0;font-family:-apple-system,BlinkMacSystemFont,Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #b56a31}.demo-root{min-height:100vh}.application{grid-template-columns:246px minmax(0,1fr);display:grid}.sidebar{background:#efede5;border-right:1px solid #dedbd1;flex-direction:column;height:100vh;min-height:100vh;padding:32px 18px 22px;display:flex;position:sticky;top:0}.brand-lockup{letter-spacing:.02em;white-space:nowrap;align-items:center;gap:11px;padding:0 10px;font-size:19px;font-weight:800;display:flex}.brand-lockup small{letter-spacing:.23em;color:#878b82;margin-top:3px;font:600 9px/1.5 Arial,sans-serif;display:block}.logo-mark{color:#fff;background:#39483e;border-radius:13px;place-items:center;width:40px;height:40px;font-size:22px;display:grid}.sidebar-caption{color:#93978f;letter-spacing:.1em;margin:44px 12px 11px;font-size:12px;font-weight:600}.navigation{gap:5px;display:grid}.nav-button{text-align:left;color:#606b62;background:0 0;border:0;border-radius:12px;align-items:center;gap:14px;width:100%;padding:14px;font-weight:650;display:flex}.nav-button:hover,.nav-button.active{color:#304b3d;background:#fffdf9;box-shadow:0 1px 3px #a69f8c22}.nav-button.active{border-left:4px solid #8c6747;padding-left:10px}.nav-icon{place-items:center;width:23px;font-size:22px;font-weight:400;display:inline-grid}.nav-count{color:#8b5732;background:#eee2d3;border-radius:20px;place-items:center;min-width:22px;height:22px;margin-left:auto;font-size:11px;font-weight:800;display:grid}.sidebar-footer{border-top:1px solid #dad8ce;gap:16px;margin-top:auto;padding:20px 10px 0;display:grid}.dot-row{color:#71766e;align-items:center;gap:9px;font-size:12px;display:flex}.dot{background:#8c9689;border-radius:100%;width:7px;height:7px}.text-button,.inline-link{color:#73563f;text-underline-offset:3px;background:0 0;border:0;width:fit-content;padding:0;font-weight:700;text-decoration:underline}.main-column{min-width:0}.topbar{background:#fffdf9;border-bottom:1px solid #eae7e0;justify-content:space-between;align-items:center;gap:18px;min-height:78px;padding:13px clamp(18px,3.3vw,52px);display:flex}.breadcrumb{color:#889087;white-space:nowrap;align-items:center;gap:12px;font-size:14px;display:flex}.breadcrumb strong{color:#344139}.back-button{color:#425548;background:#fff;border:1px solid #dedfd9;border-radius:10px;width:34px;height:34px;font-size:20px}.topbar-actions{align-items:center;gap:16px;display:flex}.compact-field{color:#69726c;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.compact-field select{color:#404d43;background:#fff;border:1px solid #dedfd8;border-radius:8px;padding:8px 9px}.demo-badge{color:#8b4b29;letter-spacing:.1em;white-space:nowrap;background:#fef1e8;border:1px solid #dfb49a;border-radius:30px;padding:8px 12px;font-size:10px;font-weight:800;display:inline-flex}.content{max-width:1580px;margin:0 auto;padding:30px clamp(18px,3.3vw,52px) 40px}.scenario-bar{background:#eae9e3;border:1px solid #deded6;border-radius:12px;flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:30px;padding:9px 13px;display:flex}.scope-hint{color:#42624e;background:#f9faf6;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:700}.scenario-label{color:#6b726b;white-space:nowrap;font-size:12px;font-weight:800}.scenario-options{flex-wrap:wrap;gap:3px;display:flex}.scenario-options button{color:#73786e;background:0 0;border:0;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:650}.scenario-options button.chosen{color:#2f483c;background:#fffdf9;box-shadow:0 1px 2px #00000010}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.eyebrow{color:#8b806e;letter-spacing:.18em;font:800 10px/1.6 Arial,sans-serif}h1,h2,p{margin-top:0}h1{color:#273a30;letter-spacing:-.05em;margin:7px 0 10px;font-size:clamp(27px,2.4vw,36px);font-weight:780;line-height:1.35}h2{letter-spacing:-.03em;color:#32453a;margin:4px 0 0;font-size:18px}p{line-height:1.65}.page-heading p,.hint{color:#8a9189;margin-bottom:0;font-size:12px}.action-btn{border:1px solid #0000;border-radius:11px;min-height:42px;padding:12px 17px;font-size:13px;font-weight:700;transition:background .12s,transform .12s}.action-btn:active:not(:disabled){transform:translateY(1px)}.action-btn.primary{color:#fff;background:#365846}.action-btn.primary:hover{background:#263f33}.action-btn.secondary{color:#365846;background:#fffdf9;border-color:#cbd3c9}.action-btn.secondary:hover{background:#eef3ed}.action-btn.plain{color:#456653;background:0 0}.action-btn.full{width:100%}.panel{background:#fffdf9;border:1px solid #e9e7df;border-radius:16px;min-width:0;padding:25px;box-shadow:0 2px 13px #51463408}.panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:22px;display:flex}.panel-heading p{margin-top:8px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.metric{text-align:left;color:#37493e;background:#fffdf9;border:1px solid #eae7df;border-radius:15px;flex-direction:column;gap:10px;min-width:0;min-height:148px;padding:21px 23px;display:flex}.metric-warm{background:#eee5d7;border-color:#e9dac5}.metric span{color:#747e74;font-size:12px;font-weight:700}.metric strong{letter-spacing:-.05em;font-size:clamp(28px,2.9vw,40px);font-weight:800;line-height:1.2}.metric .metric-time{font-size:30px}.metric small{color:#858b82;font-size:11px}.dashboard-layout{grid-template-columns:minmax(0,1.8fr) minmax(275px,.9fr);align-items:start;gap:18px;display:grid}.dashboard-side{gap:18px;display:grid}.calendar-panel{padding:25px 20px}.calendar-panel .panel-heading{padding:0 7px}.calendar-month{color:#5f7566;letter-spacing:.08em;white-space:nowrap;font-weight:750}.calendar-grid{border-top:1px solid #e7e9e2;border-left:1px solid #e7e9e2;grid-template-columns:repeat(7,minmax(0,1fr));display:grid;overflow:hidden}.calendar-weekday{color:#8b9186;text-align:center;background:#f5f4ed;border-bottom:1px solid #e7e9e2;border-right:1px solid #e7e9e2;padding:10px 0;font-size:11px;font-weight:800}.calendar-day{background:#fff;border-bottom:1px solid #e7e9e2;border-right:1px solid #e7e9e2;min-width:0;min-height:96px;padding:7px}.calendar-day.today{background:#f3f5ef}.calendar-number{color:#777f78;border-radius:50%;place-items:center;width:25px;height:25px;font-size:12px;display:inline-grid}.today .calendar-number{color:#fff;background:#47614d}.calendar-event{text-align:left;color:#506e52;background:#e3efe1;border:0;border-radius:5px;width:100%;margin-top:6px;padding:6px 5px;font-size:10px;font-weight:700;line-height:1.4;display:block}.calendar-event.booking{color:#8b663f;background:#f7e9d7}.calendar-event.pickup{color:#655b7c;background:#eee9f7}.count-label{color:#677567;background:#eeefe9;border-radius:30px;padding:7px 10px;font-size:11px;font-weight:750}.todo-list{display:grid}.todo-list>div{border-bottom:1px solid #eeeae2;align-items:flex-start;gap:12px;padding:14px 0;display:flex}.todo-list>div:last-child{border:none;padding-bottom:0}.todo-list>div:first-child{padding-top:0}.todo-list strong,.todo-list small{display:block}.todo-list strong{font-size:13px}.todo-list small{color:#959b93;margin-top:4px;font-size:11px}.todo-list b{white-space:nowrap;color:#879084;margin-left:auto;font-size:11px;font-weight:650}.task-dot{background:#b78a55;border-radius:100%;min-width:7px;height:7px;margin-top:6px}.task-dot.dark{background:#4f6955}.panel-alert{background:#f6f0e5;border-color:#efe3d3}.panel-alert p{color:#6f685c;font-size:12px}.empty-copy{color:#8f968c;font-size:13px}.lookup-panel{padding:0;overflow:hidden}.mode-tabs{border-bottom:1px solid #e9e7dd;gap:7px;padding:0 25px;display:flex}.mode-tabs button{color:#818a81;background:0 0;border:0;border-bottom:3px solid #0000;padding:20px 14px;font-size:13px;font-weight:750}.mode-tabs button.selected{color:#345747;border-color:#55765d}.lookup-content{grid-template-columns:minmax(0,1.65fr) minmax(240px,.85fr);gap:30px;padding:34px 30px;display:grid}.field-stack{align-content:start;gap:13px;display:grid}.field-stack label{color:#4b5a50;font-size:14px;font-weight:750}.search-row{gap:9px;display:flex}.search-row input{background:#fff;border:1px solid #cfd7cc;border-radius:10px;width:100%;min-width:0;padding:12px 14px}.lookup-guide{background:#f4f3eb;border-left:3px solid #86a18a;border-radius:12px;padding:23px}.lookup-guide strong{color:#3b5c47;font-size:13px}.lookup-guide p{color:#748176;margin:9px 0 0;font-size:12px}.result-panel{margin-top:18px}.candidate-list{gap:8px;display:grid}.candidate{background:#f7f7f2;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;padding:17px;display:flex}.candidate strong,.candidate small{display:block}.candidate strong{color:#38493e}.candidate small{color:#808b81;margin-top:6px;font-size:12px}.candidate-confirm{background:#edf4ec;border:1px solid #c7dfc7;border-radius:10px;margin-top:17px;padding:18px}.candidate-confirm p{color:#596f5b;margin:7px 0 13px;font-size:12px}.title-subtle{color:#9aa197;font-size:19px;font-weight:500}.member-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);align-items:start;gap:18px;display:grid}.member-main,.member-side{gap:18px;display:grid}.note-panel{background:#f3e0ba;border:1px solid #e5c78e;border-radius:16px;padding:27px}.note-panel .eyebrow{color:#8d6032}.note-panel h2{color:#6a4427;margin:9px 0 12px;font-size:clamp(20px,2vw,26px);line-height:1.6}.note-panel p{color:#966b41;margin:0;font-size:11px}.member-info dl{grid-template-columns:1fr 1fr;gap:22px;margin:0;display:grid}.member-info dt{color:#879086;margin-bottom:7px;font-size:12px}.member-info dd{color:#3b4a3e;overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:780}.balance-panel{color:#fffdf7;background:#3c5d49;border-radius:16px;padding:27px}.balance-panel>span{color:#d3e2d5;font-size:12px;font-weight:700}.balance-panel strong{letter-spacing:-.035em;overflow-wrap:anywhere;margin:16px 0;font-size:clamp(28px,3vw,41px);line-height:1.25;display:block}.balance-panel p{color:#d9e6dc;margin:0;font-size:11px}.tier-panel p{color:#768379;margin:19px 0 9px;font-size:12px}.progress-track{background:#ecece6;border-radius:30px;height:8px;margin-bottom:10px;overflow:hidden}.progress-track span{background:#90b096;width:0;height:100%;display:block}.tier-panel small{color:#9aa59a;font-size:11px}.tag-list{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.tag-list span{color:#4f765b;background:#edf3e9;border:1px solid #d3e2d1;border-radius:30px;padding:7px 11px;font-size:12px;font-weight:700}.status-summary{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:19px;display:grid}.status-summary>div{background:#fffdf9;border:1px solid #e9e7df;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:18px;display:flex}.status-summary strong{color:#384d3e;font-size:28px}.status-pill{white-space:nowrap;border-radius:30px;padding:7px 12px;font-size:11px;font-weight:780;display:inline-flex}.status-received{color:#356778;background:#e6eff4}.status-source_pending{color:#82662e;background:#f4eddd}.status-linked{color:#366346;background:#e5f0e2}.status-conflict{color:#9a4733;background:#f7e4df}.exception-list{gap:13px;display:grid}.exception-card{padding:23px 25px}.exception-top{justify-content:space-between;align-items:start;gap:20px;display:flex}.exception-card>p{color:#657067;margin:15px 0;font-size:13px}.exception-bottom{border-top:1px solid #edece5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:19px;padding-top:16px;display:flex}.exception-bottom>span{color:#8b958b;font-size:11px}.exception-card>.permission-note{color:#95613c;margin-bottom:0;font-size:11px}.exception-case-key{overflow-wrap:anywhere;word-break:break-word}.exception-card .exception-reason{color:#526152;overflow-wrap:anywhere;font-weight:600}.exception-reason small{color:#7e897d;margin-top:6px;font-weight:400;display:block}.exception-detail{margin-top:17px}.exception-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:19px 0;display:grid}.exception-detail-grid>div{background:#f6f5ee;border-radius:10px;min-width:0;padding:13px 16px}.exception-detail-grid dt{color:#798477;margin-bottom:8px;font-size:11px}.exception-detail-grid dd{color:#405444;margin:0;font-size:13px;font-weight:600}.exception-audit-list{margin:13px 0 20px;padding:0;list-style:none}.exception-audit-list li{background:#f8f8f3;border-left:3px solid #b2c2a9;border-radius:5px;margin-bottom:11px;padding:12px 17px}.exception-audit-list strong{color:#405444;font-size:13px}.exception-audit-list p{color:#6a7769;margin:7px 0 0;font-size:12px}@media (width<=640px){.exception-detail-grid{grid-template-columns:minmax(0,1fr)}.exception-bottom .action-btn{max-width:100%}}.health-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;display:grid}.health-steps>div{background:#f5f5ef;border-radius:11px;padding:17px}.health-steps strong{margin:17px 0 10px;font-size:14px;display:block}.health-steps p{color:#788379;margin:0;font-size:11px}.health-foot{margin-top:17px}.health-foot p{color:#6e786e;max-width:800px;font-size:13px}.feedback{color:#365640;background:#e8eee5;border:1px solid #ceddc9;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;padding:13px 17px;font-size:12px;display:flex}.feedback-offline,.feedback-error{color:#85552c;background:#f8ebdf;border-color:#ead2b9}.feedback-forbidden{color:#874832;background:#f7e5df}.feedback button{color:inherit;background:0 0;border:0;font-size:12px;font-weight:750;text-decoration:underline}.state-panel{text-align:center;padding:75px 30px}.state-panel.compact{padding:36px 24px}.state-panel p{color:#899389;max-width:570px;margin:8px auto 25px;font-size:13px}.state-symbol{color:#8a5e3e;background:#f1e4d3;border-radius:50%;place-items:center;width:52px;height:52px;margin-bottom:15px;font-size:28px;display:inline-grid}.loading-panel{background:#fffdf9;border-radius:15px;justify-items:start;gap:18px;padding:70px;display:grid}.skeleton{background:linear-gradient(90deg,#ebeae5,#f3f1ea,#ebeae5);border-radius:6px;width:55%;height:20px}.skeleton.long{width:85%;height:40px}.skeleton.short{width:38%}.loading-panel p{color:#939c91;font-size:12px}.content-footer{color:#a7aba5;text-align:center;letter-spacing:.03em;border-top:1px solid #eae9e2;margin-top:35px;padding-top:18px;font-size:10px}.mobile-nav{display:none}.login-screen{background:radial-gradient(circle at 20% 15%,#ece9df,#0000 42%),#f7f5f0;flex-direction:column;justify-content:center;align-items:center;padding:32px 18px;display:flex}.login-screen>.brand-lockup{margin-bottom:30px}.login-card{background:#fffdf9;border:1px solid #e8e5dc;border-radius:18px;width:min(100%,455px);padding:39px;box-shadow:0 24px 80px #545a4d15}.login-card h1{margin:12px 0;font-size:30px}.login-card>p{color:#858b81;font-size:13px}.login-fields{gap:8px;margin:25px 0;display:grid}.login-fields label{color:#59685e;font-size:12px;font-weight:750}.login-fields input{color:#7c877d;background:#f3f4ef;border:1px solid #e1e4db;border-radius:9px;margin-bottom:9px;padding:13px}.login-card .warning-text{color:#916c42;margin-bottom:21px;font-size:11px}.login-footnote{color:#a6aaa2;letter-spacing:.16em;margin:28px 0 0;font:700 10px Arial,sans-serif}@media (width<=1180px){.application{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:25px 13px}.dashboard-layout{grid-template-columns:1fr}.dashboard-side{grid-template-columns:1fr 1fr}.calendar-day{min-height:79px}}@media (width<=780px){.application{display:block}.sidebar{display:none}.topbar{min-height:63px;padding:10px 16px}.topbar-actions{flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.topbar .compact-field{font-size:0}.compact-field select{max-width:94px;font-size:12px}.demo-badge{padding:7px;font-size:9px}.content{padding:20px 15px 90px}.page-heading{align-items:flex-start}.metric-grid{grid-template-columns:1fr 1fr}.metric-grid .metric:last-child{grid-column:1/-1}.member-layout,.lookup-content,.dashboard-side{grid-template-columns:1fr}.status-summary,.health-steps{grid-template-columns:1fr 1fr}.mobile-nav{z-index:10;padding-bottom:env(safe-area-inset-bottom,0);background:#fffdf9;border-top:1px solid #e1e4db;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#737d73;background:0 0;border:0;padding:17px 2px;font-size:11px;font-weight:700}.mobile-nav button[aria-current=page]{color:#385e48;background:#f0f5ee}}@media (width<=520px){.topbar{flex-wrap:wrap}.topbar-actions{flex:100%;justify-content:flex-start}.field-stack{min-width:0}.scenario-bar{gap:8px}.scenario-options button{padding:5px 7px}.page-heading{flex-direction:column}h1{font-size:27px}.metric{min-height:116px;padding:16px}.metric strong{font-size:28px}.calendar-panel{padding:14px 8px}.calendar-panel .panel-heading{padding:3px 10px}.calendar-month{font-size:10px}.calendar-day{min-height:62px;padding:4px 2px}.calendar-number{width:22px;height:22px;font-size:11px}.calendar-event{word-break:break-word;padding:4px 2px;font-size:8px}.panel{padding:18px}.mode-tabs{justify-content:space-around;gap:0;padding:0 8px}.mode-tabs button{padding:15px 5px;font-size:11px}.lookup-content{gap:17px;padding:21px 15px}.search-row{flex-direction:column}.candidate{flex-direction:column;align-items:flex-start}.member-info dl{grid-template-columns:1fr}.status-summary>div{flex-direction:column;align-items:flex-start}.status-summary strong{font-size:24px}.exception-top{flex-direction:column;gap:10px}.health-steps{grid-template-columns:1fr}.login-card{padding:25px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
