/* Mini-program palette: charcoal, orange, and light gray; touch-first layout. */
:root{--orange:#e85d04;--orange2:#ff812f;--ink:#20232a;--muted:#858b95;--line:#e9ebef;--bg:#f4f5f7;--side:#17191f;--green:#16885f;--red:#d84f46;--amber:#c98413;--blue:#3478e5;--shadow:0 6px 24px rgba(28,53,91,.045)}
html{color-scheme:light;scroll-behavior:smooth}
body{font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{transition:background .18s,box-shadow .18s,transform .18s}
button:active{transform:translateY(1px)}
button:focus-visible,a:focus-visible{outline:3px solid #ff9a55;outline-offset:3px}
.ui-icon{width:22px;height:22px;display:block;flex-shrink:0}
.btn{min-height:44px;border-radius:12px;font-weight:650}
.btn-primary{background:var(--orange);box-shadow:0 5px 12px #2859d61a}
.btn-dark{background:#20232b}
.btn-ghost{color:#666b74}
.control,.area{background:#f8f9fa;border-color:#e7e9ed;border-radius:12px}
.control:focus,.area:focus{border-color:#ef6c16;box-shadow:0 0 0 4px #2859d612}
.login{background:#17191f;grid-template-columns:1fr 1fr}
.login-art{padding:10vh 7vw;background:linear-gradient(155deg,#17191f,#20232a)}
.login-art:before{background:radial-gradient(circle,#f669152e,transparent 68%);width:650px;height:650px}
.logo,.side-logo{background:#fff;color:#e85d04;box-shadow:0 6px 20px #ee5a0820;border-radius:20px}
.brand-title{letter-spacing:1px;font-size:29px;font-weight:750}
.brand-sub{color:#aeb2ba;font-size:14px}
.login-slogan{font-size:42px;max-width:390px;font-weight:650;letter-spacing:1px;margin-top:24vh}
.login-panel{border-radius:32px 0 0 32px;padding:48px}
.login-title{font-size:30px;font-weight:750;color:#20232a}
.login-hint{font-size:14px;line-height:1.7;margin-bottom:32px}
.login-box .control{height:56px}
.login-box .field{margin-bottom:22px}
.privacy-consent{font-size:14px;line-height:1.7;margin-top:26px}
.privacy-consent a{color:var(--orange);font-weight:500;text-decoration:none}
.privacy-consent input{flex:0 0 18px;width:18px;height:18px;margin-top:4px}
.login-btn{height:54px;border-radius:14px}
.sidebar{background:#17191f;padding:28px 16px}
.side-logo{width:44px;height:44px;border-radius:14px}
.side-title{font-weight:750;letter-spacing:1px}
.side-sub,.user-role{color:#9297a1;font-size:12px}
.nav-title{color:#858a94;font-size:12px;letter-spacing:1px;padding-top:24px}
.nav-item{color:#b9bdc6;min-height:50px;font-size:15px;gap:12px;border-radius:12px;margin:5px 0}
.nav-icon{background:transparent;width:25px;height:25px;color:#b9bdc6}
.nav-item:hover{background:#ffffff0b}
.nav-item.active{background:#e85d04;color:white;box-shadow:0 6px 20px #ee5a0825}
.nav-item.active .nav-icon{background:transparent;color:white}
.dept-nav{padding:5px;background:#ffffff04}
.dept-item{color:#a2a6ad;font-size:15px;font-weight:650;min-height:42px}
.dept-item:hover,.dept-item.active{background:#ffffff0d;color:white}
.avatar{background:#2a2e37;color:#ff9a5b}
.logout{color:#b9bdc6;min-height:44px}
.topbar{height:80px;background:#ffffffed;border-color:var(--line);padding:0 36px}
.crumb-wrap{display:flex;align-items:center;gap:12px}
.crumb{font-size:18px;font-weight:700}
.content{padding:30px 36px 60px;max-width:1480px}
.page-head{margin-bottom:22px;gap:16px}
.page-title{font-size:28px;letter-spacing:-.6px;font-weight:750}
.page-desc{font-size:14px;line-height:1.7;margin-top:7px;color:#858b95}
.mini-label,.panel-sub{font-size:13px;color:#858b95}
.toolbar{gap:8px}
.month{height:42px;font-size:14px;width:154px;background:white}
.department-tabs{display:flex;gap:8px;overflow:auto;padding:0 0 17px;scrollbar-width:none}
.department-tabs button{white-space:nowrap;min-height:38px;padding:0 16px;border-radius:20px;border:1px solid #e7e9ed;background:white;color:#666b74;font-size:14px}
.department-tabs button.active{background:#20232b;border-color:#20232b;color:#e85d04;font-weight:650}
.overview-metrics{display:grid;grid-template-columns:1.22fr 1fr 1fr;gap:16px;margin:0 0 24px}
.overview-metrics .metric{margin:0;min-height:175px}
.overview-metrics.finance-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:732px}
.overview-metrics.finance-overview .metric{min-height:116px;padding:15px 18px;border-radius:15px}
.overview-metrics.finance-overview .metric-value{margin-top:9px;font-size:27px}
.overview-metrics.finance-overview .metric-foot{margin-top:5px;font-size:12px}
.overview-metrics.finance-overview.expense-only{grid-template-columns:repeat(2,minmax(0,1fr))}
.overview-metrics.finance-overview.expense-only .metric{min-height:116px}
.finance-summary-card{display:block;width:100%;font:inherit;text-align:left;cursor:pointer}
.finance-summary-card:hover,.finance-summary-card:focus-visible{border-color:#a8b9d7;box-shadow:0 6px 18px rgba(36,64,112,.12)}
.finance-summary-card:focus-visible{outline:2px solid #3478e5;outline-offset:2px}
.finance-summary-card .metric-foot::after{content:'  查看明细 ›';color:#3478e5;font-weight:700}
@media(max-width:720px){.overview-metrics.finance-overview.expense-only{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.overview-metrics.finance-overview.expense-only .metric{min-height:98px;padding:12px 13px}.overview-metrics.finance-overview .metric-value{font-size:22px}}
.metric{padding:24px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.metric:after{display:none}
.metric-label{font-size:14px;font-weight:550;color:#777c85;display:flex;align-items:center;gap:8px}
.metric-label .ui-icon{width:19px;height:19px}
.metric-value{font-family:Arial,"PingFang SC",sans-serif;font-size:32px;letter-spacing:-1px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.25;margin-top:19px;overflow-wrap:anywhere}
.metric-foot{font-size:13px;line-height:1.5;color:#9297a1;margin-top:10px}
.metric-featured{background:linear-gradient(115deg,#20232b,#111318);border-color:transparent;color:#fff}
.metric-featured .metric-label{color:#b9bdc6}
.metric-featured .metric-value{font-size:38px;color:#fff}
.metric-featured .metric-foot{color:#aeb2bb}
.overview-metrics.single{grid-template-columns:1fr}
.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.quick-action{display:flex;align-items:center;gap:13px;min-height:74px;padding:15px 19px;background:white;border:1px solid var(--line);border-radius:16px;text-align:left;color:var(--ink)}
.quick-action .action-icon{width:42px;height:42px;border-radius:13px;background:#fff0e7;color:var(--orange);display:grid;place-items:center;flex-shrink:0}
.quick-action:last-child .action-icon{background:#e8f7f0;color:#16885f}
.quick-action strong{display:block;font-weight:650;font-size:15px}
.quick-action small{display:block;font-size:12px;color:#9297a1;margin-top:3px}
.quick-action>.ui-icon{margin-left:auto;width:17px;color:#a2a6ad}
.panel{border-color:var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.panel-head{padding:20px 22px;border-color:#eff0f2}
.panel-title{font-size:17px;font-weight:700}
.panel-body{padding:20px 22px}
.company-detail-list{background:#fff}.company-department-row{display:grid;grid-template-columns:minmax(150px,1.35fr) repeat(3,minmax(105px,1fr)) auto;align-items:center;gap:18px;width:100%;padding:18px 22px;border:0;border-bottom:1px solid #eff0f2;background:#fff;text-align:left;cursor:pointer}.company-department-row:last-child{border-bottom:0}.company-department-row:hover{background:#fafbfc}.company-department-name,.company-detail-value{display:flex;flex-direction:column;gap:4px}.company-department-name strong{font-size:16px;color:#20232a}.company-department-name small,.company-detail-value small{font-size:12px;color:#9297a1}.company-detail-value strong{font-size:16px}.company-detail-action{color:#e85d04;font-size:13px;font-weight:650;white-space:nowrap}
.company-detail-list.role-finance .company-department-row,.company-detail-list.role-operations .company-department-row{grid-template-columns:minmax(150px,1.5fr) minmax(160px,1fr) auto}
.table th{background:#f8f9fa;color:#9297a1;padding:14px 20px;font-size:13px;font-weight:500}
.table td{padding:18px 20px;font-size:14px;border-color:#eff0f2}
.table td.money{font-size:16px;letter-spacing:-.2px;font-variant-numeric:tabular-nums}
.tag{font-size:12px;font-weight:550;border-radius:7px;min-height:25px;padding:2px 9px}
.tag.receipt,.tag.completed,.tag.verified{background:#e8f7f0;color:#16885f}
.tag.expense,.tag.rejected{background:#fff0ee;color:#d84f46}
.empty{color:#9297a1;font-size:14px;padding:50px 20px}
.empty-mark{background:#fff1e8;color:var(--orange);border-radius:16px}
.help-box,.notice{background:#fff7f1;color:#805237;font-size:14px;border-radius:12px;line-height:1.75}
.confirm-modal{width:min(430px,100%);overflow:hidden;text-align:center}.confirm-symbol{width:72px;height:72px;display:grid;place-items:center;margin:30px auto 0;border-radius:24px;background:linear-gradient(145deg,#fff3e9,#ffe1cc);color:#df6214;font-size:34px;font-weight:900;box-shadow:0 12px 28px rgba(239,108,22,.16)}.confirm-body{padding:20px 28px 24px}.confirm-body .modal-title{font-size:23px}.confirm-body p{max-width:330px;margin:10px auto 20px;color:#777d86;line-height:1.65}.confirm-record{display:grid;gap:5px;padding:14px 16px;border:1px solid #f1e3d9;border-radius:15px;background:#fffaf6;text-align:left}.confirm-record strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#343942}.confirm-record span{color:#a16b48;font-size:13px}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px 22px 22px}.confirm-actions .btn{width:100%}.confirm-danger{background:linear-gradient(135deg,#ef6c16,#d9531e);color:#fff;box-shadow:0 10px 20px rgba(217,83,30,.2)}
.approval-hero{display:flex;align-items:center;gap:16px;padding:17px 18px;margin-bottom:18px;border:1px solid #ffe0ca;border-radius:18px;background:linear-gradient(135deg,#fff9f5,#fff2e8)}.approval-symbol{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(145deg,#ff8837,#ed5b08);color:#fff;font-size:27px;font-weight:900;box-shadow:0 10px 22px rgba(239,108,22,.24)}.approval-hero strong{display:block;color:#2c3037;font-size:17px}.approval-hero p{margin:5px 0 0;color:#8a6a55;font-size:13px}.approval-record{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;margin-bottom:18px;border:1px solid #eceef1;border-radius:17px;background:#fafbfc}.approval-record span{min-width:0;padding:8px}.approval-record small{display:block;margin-bottom:5px;color:#999ea6;font-size:12px}.approval-record strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#343942;font-size:14px}.approval-comment{margin-bottom:0}.approval-comment .area{min-height:82px}
.request-group{padding:0 0 22px}.request-group+.request-group{padding-top:24px;border-top:1px solid #eceef1}.request-group-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px;padding:0 2px}.request-group-head div{display:flex;align-items:baseline;gap:10px}.request-group-head strong{font-size:16px;color:#30343b}.request-group-head span{color:#999ea6;font-size:12px}.request-group-head b{min-width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:#eef0f3;color:#666c76;font-size:12px}.request-group.todo .request-group-head b{background:#fff0e5;color:#dc6012}.request-group-list{display:grid;gap:13px}.request-group-list .request-card{margin-bottom:0}.request-current{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 0;padding:12px 14px;border-radius:13px;background:#f5f6f8}.request-current span{color:#8c9199;font-size:12px}.request-current strong{color:#454a52;font-size:13px}.request-current.waiting,.request-current.next{background:#fff4eb}.request-current.waiting span,.request-current.next span,.request-current.waiting strong,.request-current.next strong{color:#d76015}.request-current.checking{background:#eef5ff}.request-current.checking span,.request-current.checking strong{color:#3478e5}.request-current.complete{background:#eaf7f1}.request-current.complete span,.request-current.complete strong{color:#16885f}
.help-box strong{color:#e85d04;font-weight:650}
.accounting-note{padding:15px 18px;display:flex;align-items:flex-start;gap:10px;margin-bottom:22px;font-size:13px;line-height:1.7;color:#858b95}
.accounting-note .ui-icon{width:18px;height:18px;margin-top:2px;color:#a2a6ad}
.request-card{padding:22px;border-radius:17px;border-color:var(--line);box-shadow:var(--shadow)}
.request-purpose{font-weight:650;line-height:1.5}
.request-amount,.balance-value{font-variant-numeric:tabular-nums;font-weight:650}
.request-meta{font-size:14px;line-height:1.7}
.flow-step{font-size:12px;padding-top:18px}
.flow-step.done{color:var(--orange)}
.flow{margin:22px 0 10px}
.request-note,.usage{background:#f7f8f9;color:#777c85;font-size:14px}
.reconciliation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0;padding:13px;border:1px solid #eceef1;border-radius:14px;background:#fafbfc}.reconciliation>div{display:grid;gap:4px;min-width:0}.reconciliation span{color:#9297a0;font-size:12px}.reconciliation strong{color:#343942;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}.reconciliation .remaining{padding-left:12px;border-left:1px solid #e4e7eb}.reconciliation .remaining strong{color:var(--orange)}
.request-actions .btn{font-size:14px}
.balance-sub,.usage-meta{font-size:12px}
.user-card{padding:22px;border-color:var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.user-avatar{background:#fff0e7;color:var(--orange)}
.user-actions{flex-wrap:wrap}
.user-actions .btn{font-size:14px}
.log-item{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:17px 0;align-items:start}
.log-icon{background:#fff1e8;color:#e85d04}
.log-action{font-weight:650;font-size:15px}
.log-detail{font-size:13px;overflow-wrap:anywhere}
.modal{border-radius:22px}
.modal-title{font-size:20px;font-weight:700}
.modal-head{padding:21px 24px}
.modal-body{padding:24px}
.field label{font-size:14px;font-weight:600}
.choice.active.orange-choice{background:#fff1e8;color:var(--orange);border-color:#ef6c16}
.file-box{background:#fafbfc;border-color:#dfe2e7}
.file-picker{display:block;cursor:pointer}
.preview-grid{grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:10px}
.preview-item{position:relative;min-width:0;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#eef0f3;box-shadow:0 0 0 1px #e0e3e7}
.preview-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.preview-grid .preview-open img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.preview-remove{position:absolute;right:6px;top:6px;width:25px;height:25px;padding:0;border:2px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(29,32,38,.82);color:#fff;font-size:17px;line-height:19px;box-shadow:0 3px 10px rgba(0,0,0,.24)}
.preview-help{margin-top:10px;color:#858a93;text-align:left}
.view-banner{background:#fff1e8;color:#e85d04}
.bottom-nav{display:none}
.mobile-filter-label{font-size:12px;color:#9297a1}
@media(max-width:1100px) and (min-width:721px){.content{padding:26px 22px}.overview-metrics{grid-template-columns:1fr 1fr}.overview-metrics .metric-featured{grid-column:1/-1;min-height:160px}.metric-featured .metric-value{font-size:38px}}
@media(max-width:720px){
  .login{background:#f4f5f7;min-height:100dvh;padding-bottom:24px}
  .login-art{padding:calc(34px + env(safe-area-inset-top)) 27px 48px;min-height:0;border-radius:0 0 32px 32px}
  .brand-lockup{gap:13px}.logo{width:55px;height:55px;font-size:28px;border-radius:17px}
  .brand-title{font-size:24px}.brand-sub{font-size:12px;margin-top:3px}
  .login-slogan{font-size:27px;font-weight:550;margin-top:36px;max-width:250px;line-height:1.55;letter-spacing:1px}
  .login-panel{position:relative;margin:-22px 16px 0;padding:28px 23px 16px;border:1px solid #e9ebef;border-radius:24px;box-shadow:0 14px 38px #20232a10;background:white}
  .login-box{width:100%;margin:0 auto;max-width:430px}.login-title{font-size:24px}
  .login-hint{margin:7px 0 26px;font-size:13px}.login-box .control{height:54px;font-size:16px}
  .privacy-consent{font-size:13px}.login-box .field{margin-bottom:19px}
  .sidebar{z-index:32;width:min(300px,86vw);padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(24px + env(safe-area-inset-bottom));overflow-y:auto}
  .overlay{z-index:31;backdrop-filter:blur(3px);background:#10121666}
  .sidebar .side-bottom{padding-top:20px;margin-top:20px}
  .topbar{height:auto;min-height:68px;padding:calc(10px + env(safe-area-inset-top)) 18px 10px;background:#f3f6fbf5;border-bottom:0}
  .crumb{font-size:17px;letter-spacing:.2px;white-space:nowrap}
  .crumb-wrap{gap:10px;min-width:0}
  .mobile-menu{width:36px;height:36px;margin:0;background:white;border-radius:11px;box-shadow:0 2px 8px #20232a10;color:#5f646d}
  .top-actions{gap:6px}.top-actions>.btn{font-size:12px;padding:0 10px;min-height:36px;background:transparent;border-color:#e7e9ed;color:#777c85;border-radius:10px}
  .top-actions .view-banner{max-width:118px;white-space:normal;font-size:12px;padding:5px 8px}
  .topbar:has(.view-banner){flex-wrap:wrap;gap:8px}
  .content{padding:12px 18px calc(104px + env(safe-area-inset-bottom));max-width:640px}
  .page-head{margin-bottom:18px;gap:18px;align-items:stretch}
  .page-title{font-size:25px;font-weight:750;letter-spacing:-.4px}
  .page-desc{font-size:13px;max-width:100%;margin-top:5px}
  .toolbar{width:100%;gap:8px;flex-wrap:wrap}
  .toolbar .toolbar{flex:1 1 100%}
  .month{flex:1 1 0;min-width:0;width:0;font-size:14px;height:40px;padding:0 9px;max-width:none}
  .toolbar .mini-label{font-size:12px}.toolbar>.btn{font-size:14px}
  .department-tabs{margin:0 -18px;padding:0 18px 18px;gap:7px}
  .department-tabs button{padding:0 14px;min-height:36px;font-size:13px}
  .overview-metrics{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:16px}
  .overview-metrics .metric{min-height:0;padding:18px 16px;border-radius:18px}
  .overview-metrics .metric-featured{grid-column:1/-1;min-height:168px;padding:23px 24px;border-radius:23px}
  .metric-value{font-size:clamp(20px,5.8vw,28px);margin-top:12px;letter-spacing:-.8px;line-height:1.3}
  .metric-featured .metric-value{font-size:clamp(30px,9vw,42px);margin-top:14px;letter-spacing:-1.1px}
  .metric-label{font-size:13px}.metric-label .ui-icon{width:17px;height:17px}
  .metric-featured .metric-label{font-size:14px}.metric-foot{font-size:12px;margin-top:6px}
  .metric-featured .metric-foot{margin-top:9px;font-size:13px}
  .cards,.cards.two-mobile{grid-template-columns:1fr 1fr;gap:12px}
  .cards .metric{padding:18px 16px}.cards .metric:only-child{grid-column:1/-1}
  .cards.two-mobile .metric-value{font-size:24px}
  .quick-actions{gap:10px;margin-bottom:24px}.quick-action{min-height:75px;padding:14px 12px;gap:10px;border-radius:16px}
  .quick-action .action-icon{width:36px;height:36px;border-radius:12px}.quick-action .ui-icon{width:20px;height:20px}
  .quick-action strong{font-size:14px}.quick-action small{font-size:12px}.quick-action>.ui-icon{display:none}
  .panel{border-radius:18px;margin-bottom:18px}.panel-head{padding:18px 16px;gap:10px}
  .panel-title{font-size:17px}.panel-sub{font-size:12px;line-height:1.6}.panel-body{padding:16px}
  .panel-head .btn{padding:0 12px;min-height:36px;font-size:13px;white-space:nowrap;border-radius:10px}
  .company-department-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:17px 16px}.company-department-name{grid-column:1/-1}.company-department-name strong{font-size:16px}.company-detail-value strong{font-size:14px}.company-detail-action{grid-column:1/-1;justify-self:end}
  .table-wrap{overflow:visible}.table{min-width:0;white-space:normal;display:block}.table thead{display:none}.table tbody{display:block}
  .table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:17px 16px;border-bottom:1px solid #eff0f2;align-items:center}
  .table tr:last-child{border-bottom:0}.table td{padding:0;border:0;min-width:0;overflow-wrap:anywhere;font-size:13px;color:#9297a1;line-height:1.5}
  .table td:nth-child(5){grid-column:1;grid-row:1;font-size:16px;font-weight:650;color:#20232a}
  .table td:nth-child(6){grid-column:2;grid-row:1;font-size:17px;font-weight:650;text-align:right;white-space:nowrap;letter-spacing:-.4px}
  .table td:nth-child(4){grid-column:1;grid-row:2;font-size:13px}
  .table td:nth-child(2){grid-column:2;grid-row:2;text-align:right}
  .table td:nth-child(1){grid-column:1;grid-row:3;font-size:12px;margin-top:1px}
  .table td:nth-child(3){grid-column:2;grid-row:3;text-align:right}
  .table td:nth-child(8){grid-column:1;grid-row:4;font-size:12px}
  .table td:nth-child(8):before{content:'录入 · '}
  .table td:nth-child(7){grid-column:1;grid-row:5;font-size:12px}.table td:nth-child(7):not(:has(.thumbs)){display:none}
  .table td:nth-child(9){grid-column:2;grid-row:4/6;justify-self:end}
  .table .link{min-height:40px;padding:0 2px 0 12px;font-size:13px;color:#b95850;font-weight:500}
  .table td.money.green{color:var(--green)}.table td.money.red{color:var(--red)}
  .table .thumbs{margin-top:5px}.thumb{width:40px;height:32px}
  .accounting-note{padding:0 3px;margin-top:22px;font-size:12px}
  .request-card{padding:18px 16px;margin-bottom:12px;border-radius:18px}
  .request-top{align-items:flex-start;gap:10px}.request-purpose{font-size:16px}.request-no{font-size:12px}
  .request-amount{font-size:22px;overflow-wrap:anywhere}.request-top>div:last-child{max-width:50%;flex-shrink:0;text-align:right}
  .request-meta{gap:5px 14px;font-size:13px}.flow-step{font-size:12px;line-height:1.5;padding:18px 2px 0}
  .usage{grid-template-columns:1fr;padding:13px}.usage-actions{justify-content:flex-end}.usage-title{font-size:14px}
  .reconciliation{grid-template-columns:repeat(2,minmax(0,1fr))}.reconciliation .remaining{padding-left:0;border-left:0}
  .user-grid{gap:12px}.user-card{padding:20px}.user-card-top>div:last-child{min-width:0}.user-card .mini-label{overflow-wrap:anywhere;line-height:1.8}
  .log-list{gap:0}.log-item{grid-template-columns:34px minmax(0,1fr);gap:8px 12px;padding:16px 0}.log-icon{width:34px;height:34px;border-radius:11px}
  .log-time{font-size:12px}.log-action .tag{margin:3px 0}.log-detail{line-height:1.8}
  .modal-mask{padding:0;align-items:end}.modal{width:100%;max-height:92dvh;border-radius:24px 24px 0 0}
  .modal-head{padding:20px}.modal-body{padding:22px 20px}.modal-foot{padding:14px 20px calc(18px + env(safe-area-inset-bottom))}
  .modal .control{font-size:16px;min-width:0}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{font-size:14px}
  .notice{font-size:13px}.status-line{flex-wrap:wrap;font-size:14px}
  .bottom-nav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);position:fixed;bottom:0;left:0;right:0;z-index:20;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#ffffffed;border-top:1px solid #e9ebef;backdrop-filter:blur(18px)}
  .bottom-nav .nav-item{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:4px 0;margin:0;min-height:52px;font-size:12px;font-weight:500;color:#9297a1;border-radius:12px;position:relative;background:transparent;box-shadow:none}
  .bottom-nav .nav-icon{width:23px;height:23px;color:inherit;background:transparent}
  .bottom-nav .nav-item.active{color:var(--orange);background:#fff1e8;font-weight:650}.bottom-nav .nav-item.active .nav-icon{color:var(--orange);background:transparent}
  .bottom-nav .badge{position:absolute;top:0;left:55%;font-size:10px;min-width:16px;height:16px;line-height:16px;padding:0 4px;margin:0;background:#d64e46}
  .toast{bottom:calc(96px + env(safe-area-inset-bottom));max-width:90vw;font-size:14px;white-space:normal;width:max-content}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Rounded, two-tone navigation icons with a compact active highlight. */
.bottom-icon{width:25px;height:25px;display:block;overflow:visible}
.bottom-icon .icon-surface{fill:currentColor;fill-opacity:.055;transition:fill-opacity .18s}
.bottom-icon .icon-detail{stroke-width:1.8}
@media(max-width:720px){
  .bottom-nav{padding-top:7px;padding-bottom:calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #20232a05}
  .bottom-nav .nav-item{gap:3px;padding:2px 0;min-height:59px;font-weight:550;color:#858b95}
  .bottom-nav .nav-item .nav-icon{position:relative;isolation:isolate;width:50px;height:34px;color:inherit;border-radius:13px;background:transparent;transition:color .18s}
  .bottom-nav .nav-icon:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:13px;background:linear-gradient(145deg,#fff0e5,#ffe3cf);opacity:0;transform:scale(.85);transition:opacity .18s,transform .18s}
  .bottom-nav .nav-label{font-size:12px;line-height:18px;letter-spacing:.5px}
  .bottom-nav .nav-item.active{background:transparent!important;color:#e85d04;font-weight:700}
  .bottom-nav .nav-item.active .nav-icon{background:transparent;color:#ee650e}
  .bottom-nav .nav-item.active .nav-icon:before{opacity:1;transform:scale(1)}
  .bottom-nav .nav-item.active .icon-surface{fill-opacity:.16}
  .bottom-nav .nav-item.active .bottom-icon{stroke-width:1.85}
  .bottom-nav .badge{top:0;left:calc(50% + 9px);min-width:17px;height:17px;line-height:17px;border-radius:9px;box-shadow:0 0 0 2px white;font-size:10px}
}

/* Brand colors shared with miniprogram/app.wxss and pages/login/login.wxss. */
.btn-primary{background:linear-gradient(135deg,#ff812f,#ee5a08);box-shadow:0 6px 14px #ee5a0826}
.logo,.side-logo{background:linear-gradient(145deg,#ff9a55,#f1650d 58%,#c64400);color:white;box-shadow:inset 1px 1px 4px #ffffff45,0 8px 20px #ee5a0825}
.department-tabs button.active{background:#20232b;color:#fff;border-color:#20232b}
.nav-item.active{background:#2d313a;box-shadow:inset 3px 0 0 #ff812f}
.nav-item.active .nav-icon{color:#ff9a5b}
.metric-featured .metric-value{color:#ff9a5b}
.login{background:linear-gradient(155deg,#17191f,#20232a 58%,#15171b)}
.login-art{background:transparent}
.login-panel{background:#ffffff07;border:1px solid #ffffff12}
.login-title{color:#fff}.login-hint{color:#aeb2ba}
.login-box .field label{color:#d9dbe0}
.login-box .control{background:#ffffff0d;border-color:#ffffff24;color:white}
.login-box .control::placeholder{color:#9297a1}
.login-box .control:focus{border-color:#ff9a55;box-shadow:0 0 0 4px #ee5a0817}
.privacy-consent{color:#aeb2ba}.privacy-consent a{color:#ff9c60}
@media(max-width:720px){
 .login{background:linear-gradient(155deg,#17191f 0%,#20232a 58%,#15171b 100%)}
 .login-art{padding-bottom:42px;border-radius:0}
 .login-panel{margin:0 18px 14px;background:#ffffff0f;border-color:#ffffff24;box-shadow:0 18px 40px #00000026}
 .topbar{background:#17191f;color:#fff}
 .topbar .mobile-menu{background:#ffffff12;color:#fff;box-shadow:none}
 .top-actions>.btn{border-color:#ffffff26;color:#c8cbd2}
 .content{padding-top:24px}
 .bottom-nav .nav-item.active{color:#e85d04;background:#fff1e8;box-shadow:none}
 .bottom-nav .nav-item.active .nav-icon{color:#e85d04}
 .cards>.metric:last-child:nth-child(3){grid-column:1/-1}
}

/* Keep account actions reachable on shorter screens. */
.sidebar{overflow-y:auto}.sidebar>*{flex-shrink:0}.topbar{gap:10px}.top-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:720px){.topbar{flex-wrap:wrap}.top-actions{margin-left:auto}}

.confirm-symbol.delete-symbol{background:linear-gradient(145deg,#fff1ef,#ffd9d3);color:#cf4439;box-shadow:0 12px 28px rgba(207,68,57,.16)}
.review-kicker{display:inline-flex;align-items:center;margin-bottom:7px;padding:5px 10px;border-radius:999px;background:#efe7ff;color:#7137c8;font-size:11px;font-weight:800;letter-spacing:1.2px}.review-metrics{margin-bottom:20px}.review-metric{display:flex;align-items:center;gap:16px;min-height:126px;padding:21px 22px;border:1px solid transparent}.review-metric-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 auto;border-radius:16px;font-size:17px;font-weight:900}.review-pending{border-color:#f0ddff;background:linear-gradient(135deg,#fff,#faf5ff)}.review-pending .review-metric-icon{background:linear-gradient(145deg,#d946ef,#7c3aed);color:#fff;box-shadow:0 10px 22px rgba(124,58,237,.2)}.review-pending .metric-value{color:#7137c8}.review-passed{border-color:#d9f0e5}.review-passed .review-metric-icon{background:#e8f7f0;color:#13845b}.review-passed .metric-value{color:#13845b}.review-returned{border-color:#f7dedb}.review-returned .review-metric-icon{background:#fff0ef;color:#d34c43}.review-returned .metric-value{color:#d34c43}.expense-review-panel{overflow:hidden;border-color:#e8e2f2}.review-panel-head{padding:19px 21px;background:linear-gradient(135deg,#fcfaff,#fff)}.review-panel-heading{display:flex;align-items:center;gap:13px}.review-panel-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#f0e6ff,#e8ddff);color:#7137c8;font-weight:900}.review-queue-badge{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#eef6f2;color:#16845c;font-size:12px;font-weight:800}.review-queue-badge.has-pending{background:#fff0e9;color:#df5d12;box-shadow:0 0 0 1px #ffd9c3 inset}.expense-review-list{display:grid;gap:14px;margin-top:0}.expense-review-list .usage{margin-top:0}.review-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:20px 21px;border:1px solid #e9e8ed;border-left:5px solid #d8dbe1;border-radius:18px;background:#fff;box-shadow:0 7px 24px rgba(34,28,48,.045)}.review-card.review-pending{border-left-color:#a855f7;background:linear-gradient(105deg,#fffaff,#fff 35%);box-shadow:0 10px 28px rgba(109,40,217,.075)}.review-card.review-verified{border-left-color:#45b78b}.review-card.review-returned{border-left-color:#eb6b63;background:#fffdfd}.review-card-body{min-width:0}.review-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.review-department{display:inline-flex;align-items:center;padding:6px 10px;border-radius:10px;background:#f1ebff;color:#6d32bf;font-size:13px;font-weight:850}.review-expense-main{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:14px;padding-bottom:14px;border-bottom:1px solid #efedf2}.review-expense-main strong{font-size:19px;color:#242730}.review-expense-main span{flex:0 0 auto;color:#e65f12;font-size:25px;font-weight:950;letter-spacing:-.5px}.review-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.review-detail-grid span{min-width:0;padding:10px 11px;border-radius:12px;background:#f7f7f9}.review-detail-grid small,.review-comment small{display:block;margin-bottom:4px;color:#999da6;font-size:10px;font-weight:700}.review-detail-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#565b65;font-size:12px}.review-comment{margin-top:11px;padding:10px 12px;border-radius:12px;background:#fff5ed;color:#7b5035;font-size:12px;line-height:1.55}.review-vouchers{margin-top:12px}.review-vouchers:empty{display:none}.review-actions{min-width:124px;flex-direction:column;align-items:stretch;justify-content:center;gap:9px}.review-actions .btn{width:100%;min-height:42px;white-space:nowrap}.review-approve{background:linear-gradient(135deg,#a855f7,#6d28d9);box-shadow:0 7px 16px rgba(109,40,217,.2)}.review-return{border-color:#ffd5d1;background:#fff5f4;color:#cc433a}.return-review-hero{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #ffd9d4;border-radius:17px;background:linear-gradient(135deg,#fff9f8,#fff1ef)}.return-review-symbol{display:grid;place-items:center;width:48px;height:48px;flex:0 0 auto;border-radius:15px;background:linear-gradient(145deg,#fb7185,#dc3d33);color:#fff;font-size:22px;font-weight:900;box-shadow:0 10px 23px rgba(220,61,51,.2)}.return-review-hero strong{font-size:17px}.return-review-hero p{margin-top:4px;color:#8a6764;font-size:12px;line-height:1.55}.return-review-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px;padding:12px;border:1px solid #eceef1;border-radius:16px;background:#fafbfc}.return-review-record span{min-width:0;padding:8px}.return-review-record small{display:block;margin-bottom:5px;color:#999da6;font-size:11px}.return-review-record strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3c4149;font-size:13px}.return-reason{margin-top:18px}.return-reason .mini-label{margin-top:7px}.return-review-submit{background:linear-gradient(135deg,#f0645c,#cf3f36);box-shadow:0 7px 17px rgba(207,63,54,.22)}
@media(max-width:720px){.expense-review-head{padding:17px 16px}.review-metrics{grid-template-columns:1fr 1fr}.review-metric{min-height:108px;padding:17px 15px;gap:11px}.review-metric:first-child{grid-column:1/-1}.review-metric-icon{width:42px;height:42px;border-radius:14px}.review-panel-head{align-items:flex-start}.review-panel-heading{align-items:flex-start}.review-panel-icon{width:38px;height:38px}.review-queue-badge{margin-top:3px}.review-card{grid-template-columns:1fr;gap:14px;padding:17px 15px}.review-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-detail-grid span:last-child{grid-column:1/-1}.review-actions{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:13px;border-top:1px solid #efedf2}.review-actions .btn:only-child{grid-column:1/-1}.review-expense-main strong{font-size:17px}.review-expense-main span{font-size:22px}.return-review-record{grid-template-columns:1fr 1fr}}
.review-head-simple{padding:0;border:0;background:transparent;box-shadow:none}.review-head-simple .page-title{color:#252830}.review-summary-strip{display:flex;align-items:stretch;justify-content:space-between;gap:16px;margin-bottom:22px;padding:17px 19px;border:1px solid #e5def0;border-radius:20px;background:#fff;box-shadow:0 9px 28px rgba(42,32,58,.055)}.review-summary-primary{display:flex;align-items:center;gap:13px}.review-summary-primary>span{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#d946ef,#7137c8);color:#fff;font-weight:900;box-shadow:0 9px 20px rgba(113,55,200,.2)}.review-summary-primary small,.review-summary-secondary small{display:block;color:#969aa3;font-size:11px}.review-summary-primary strong{display:block;margin-top:3px;color:#7137c8;font-size:24px}.review-summary-secondary{display:flex;align-items:center;gap:10px}.review-summary-secondary>span{min-width:90px;padding:10px 14px;border-radius:14px;background:#f7f7f9;text-align:center}.review-summary-secondary strong{display:block;margin-top:3px;color:#4c515a;font-size:19px}.expense-review-workbench{display:grid;gap:21px}.expense-review-group{overflow:hidden;border:1px solid #e8e8ec;border-radius:20px;background:#fff;box-shadow:0 9px 28px rgba(35,30,45,.045)}.expense-review-group.pending{border-color:#e5d7f5}.expense-review-group-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid #efedf2;background:#faf9fc}.expense-review-group.pending .expense-review-group-head{background:linear-gradient(135deg,#fcf8ff,#fff)}.expense-review-group-head strong{display:block;font-size:18px}.expense-review-group-head span{display:block;margin-top:4px;color:#969aa3;font-size:12px}.expense-review-group-head b{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border-radius:12px;background:#eeebf2;color:#6d6575;font-size:13px}.expense-review-group.pending .expense-review-group-head b{background:#f0e5ff;color:#7137c8}.expense-review-group .expense-review-list{padding:16px}.expense-review-group.handled .review-card{box-shadow:none;background:#fcfcfd}.expense-review-group.handled .review-expense-main{margin-top:11px}.review-card:not(:has(.review-actions)){grid-template-columns:1fr}.review-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:150px;padding:28px;text-align:center;color:#8c9199}.review-empty>span{display:grid;place-items:center;width:45px;height:45px;margin-bottom:10px;border-radius:15px;background:#e9f7f1;color:#16845c;font-size:20px;font-weight:900}.review-empty strong{color:#42464e}.review-empty small{margin-top:5px}.review-empty.compact{min-height:90px}
@media(max-width:720px){.review-head-simple{padding:0}.review-summary-strip{padding:15px;gap:10px}.review-summary-primary>span{width:42px;height:42px}.review-summary-primary strong{font-size:21px}.review-summary-secondary{gap:7px}.review-summary-secondary>span{min-width:62px;padding:9px 8px}.review-summary-secondary strong{font-size:17px}.expense-review-group-head{padding:15px 16px}.expense-review-group .expense-review-list{padding:12px}.expense-review-group.handled .review-detail-grid{display:none}.expense-review-group.handled .review-vouchers{margin-top:9px}}

/* Compact one-row expense review list. */
.expense-review-compact{width:100%;max-width:1050px;margin:0 auto}.review-list-page-head{align-items:center;margin-bottom:12px}.review-list-page-head .page-title{font-size:25px}.review-countbar{display:flex;align-items:center;gap:8px;margin-bottom:14px}.review-countbar strong,.review-countbar span{padding:7px 11px;border-radius:9px;background:#eef0f3;color:#6b7078;font-size:13px}.review-countbar strong{background:#f1e8ff;color:#7137c8}.review-list-board{display:grid;gap:16px}.review-list-section{overflow:hidden;border:1px solid #e4e6ea;border-radius:14px;background:#fff}.review-list-section-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #eceef1;background:#f8f9fa}.review-list-section-head strong{font-size:16px}.review-list-section-head span{color:#8b9099;font-size:12px}.review-list{display:block}.review-list-row{display:grid;grid-template-columns:140px minmax(210px,1fr) 76px 112px 82px auto;align-items:center;gap:12px;min-height:72px;padding:10px 14px;border-bottom:1px solid #eceef1;background:#fff}.review-list-row:last-child{border-bottom:0}.review-list-row:hover{background:#fbfbfc}.review-row-person,.review-row-item{min-width:0}.review-row-person strong,.review-row-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-row-person strong{font-size:14px;color:#30343b}.review-row-person span,.review-row-item span{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9297a0;font-size:12px}.review-row-item strong{font-size:15px;color:#242831}.review-row-proof{min-width:0}.review-row-proof .thumbs{display:flex;gap:4px}.review-row-proof .thumb{width:38px;height:38px;border-radius:8px}.review-row-proof .tag{display:none}.review-no-proof{color:#a1a5ac;font-size:12px}.review-row-amount{color:#e35d13;font-size:17px;font-weight:900;text-align:right;white-space:nowrap}.review-row-status{text-align:center}.review-row-actions{display:flex;gap:6px}.review-row-actions .btn{min-height:34px;padding:0 12px;border-radius:9px;box-shadow:none;font-size:12px;white-space:nowrap}.review-list-empty{padding:30px 16px;color:#959aa2;text-align:center}.review-list-section.handled .review-list-row{min-height:62px;background:#fcfcfd}
@media(max-width:1000px){.expense-review-compact{max-width:820px}.review-list-row{grid-template-columns:120px minmax(180px,1fr) 70px 104px}.review-row-status{grid-column:1}.review-row-actions{grid-column:4;grid-row:2;justify-content:flex-end}.review-list-section.handled .review-row-status{grid-column:auto}.review-list-section.handled .review-list-row{grid-template-columns:120px minmax(180px,1fr) 70px 104px 82px}}
@media(max-width:720px){.expense-review-compact{max-width:none}.review-list-page-head{align-items:stretch;margin-bottom:10px}.review-list-page-head .page-title{font-size:22px}.review-countbar{margin-bottom:12px}.review-countbar strong,.review-countbar span{flex:1;padding:7px 6px;text-align:center;font-size:12px}.review-list-board{gap:13px}.review-list-section-head{padding:11px 13px}.review-list-row,.review-list-section.handled .review-list-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px 13px}.review-row-person{grid-column:1}.review-row-status,.review-list-section.handled .review-row-status{grid-column:2;grid-row:1}.review-row-item{grid-column:1/-1}.review-row-proof{grid-column:1}.review-row-amount{grid-column:2;grid-row:2;font-size:18px}.review-row-actions{grid-column:1/-1;grid-row:auto;justify-content:flex-end;padding-top:7px;border-top:1px solid #eff0f2}.review-row-person span{display:inline;margin-left:7px}.review-row-person strong{display:inline}.review-row-item span{margin-top:3px}}

/* Compact one-row department request list. */
.request-group{padding:0 0 16px}.request-group+.request-group{padding-top:16px}.request-group-head{margin-bottom:8px}.request-group-head strong{font-size:15px}.request-group-head b{width:auto;height:auto;padding:5px 8px;border-radius:8px}.request-group-list{display:block;overflow:hidden;border:1px solid #e5e7ea;border-radius:12px}.request-list-row{display:grid;grid-template-columns:140px minmax(200px,1fr) 74px 112px 108px auto;align-items:center;gap:12px;min-height:72px;padding:10px 13px;border-bottom:1px solid #eceef1;background:#fff}.request-list-row:last-child{border-bottom:0}.request-list-row:hover{background:#fbfbfc}.request-row-person,.request-row-purpose{min-width:0}.request-row-person strong,.request-row-purpose strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-row-person strong{color:#30343b;font-size:14px}.request-row-person span,.request-row-purpose span{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9297a0;font-size:12px}.request-row-purpose strong{color:#242831;font-size:15px}.request-row-proof{min-width:0}.request-row-proof>.thumbs{display:flex;gap:4px}.request-row-proof .thumb{width:38px;height:38px;border-radius:8px}.request-row-proof>.thumbs>.tag{display:none}.request-row-proof>span{color:#a1a5ac;font-size:12px}.request-row-amount{color:#e35d13;font-size:17px;font-weight:900;text-align:right;white-space:nowrap}.request-row-status{text-align:center}.request-row-actions{display:flex;justify-content:flex-end;gap:6px}.request-row-actions .btn{min-height:34px;padding:0 11px;border-radius:9px;box-shadow:none;font-size:12px;white-space:nowrap}
@media(max-width:1100px) and (min-width:721px){.request-list-row{grid-template-columns:120px minmax(170px,1fr) 68px 104px}.request-row-status{grid-column:1;grid-row:2}.request-row-actions{grid-column:4;grid-row:2}.request-group.done .request-row-status{grid-column:auto;grid-row:auto}.request-group.done .request-list-row{grid-template-columns:120px minmax(170px,1fr) 68px 104px 108px}}
@media(max-width:720px){.request-group-head{margin:16px 2px 8px}.request-list-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px 13px}.request-row-person{grid-column:1}.request-row-status{grid-column:2;grid-row:1}.request-row-purpose{grid-column:1/-1}.request-row-proof{grid-column:1}.request-row-amount{grid-column:2;grid-row:2;font-size:18px}.request-row-actions{grid-column:1/-1;justify-content:flex-end;padding-top:7px;border-top:1px solid #eff0f2}.request-row-person strong,.request-row-person span{display:inline}.request-row-person span{margin-left:7px}}

/* Keep request approval actions visible below every compact row. */
.request-list-row{grid-template-columns:130px minmax(160px,1fr) 68px 105px 108px}.request-row-actions{grid-column:1/-1;grid-row:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:8px;border-top:1px solid #eff0f2}.request-row-actions .btn{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1100px) and (min-width:721px){.request-list-row,.request-group.done .request-list-row{grid-template-columns:120px minmax(150px,1fr) 66px 100px 106px}.request-row-status,.request-group.done .request-row-status{grid-column:auto;grid-row:auto}.request-row-actions{grid-column:1/-1;grid-row:auto}}
@media(max-width:720px){.request-list-row{grid-template-columns:minmax(0,1fr) auto}.request-row-actions{grid-column:1/-1;grid-row:auto}}

/* Keep every desktop request and its actions on one compact line. */
.fund-layout{grid-template-columns:minmax(0,1fr)}.side-summary{position:static}.request-list-row{grid-template-columns:100px minmax(150px,1fr) 50px 86px 88px auto;gap:8px;min-height:58px;padding:7px 10px}.request-row-person strong{font-size:13px}.request-row-person span,.request-row-purpose span{margin-top:2px;font-size:11px}.request-row-purpose strong{font-size:14px}.request-row-proof .thumb{width:32px;height:32px}.request-row-amount{font-size:15px}.request-row-actions{grid-column:auto;grid-row:auto;flex-wrap:nowrap;padding:0;border:0}.request-row-actions .btn{min-height:30px;padding:0 8px;border-radius:8px;font-size:11px}.request-delete{margin-left:0}
@media(max-width:1100px) and (min-width:721px){.request-list-row,.request-group.done .request-list-row{grid-template-columns:92px minmax(130px,1fr) 46px 82px 84px auto;gap:6px}.request-row-status,.request-group.done .request-row-status{grid-column:auto;grid-row:auto}.request-row-actions{grid-column:auto;grid-row:auto}}
@media(max-width:720px){.request-list-row{grid-template-columns:minmax(0,1fr) auto}.request-row-actions{grid-column:1/-1;grid-row:auto;padding-top:7px;border-top:1px solid #eff0f2}}

/* Harmonized request approval and payment controls. */
.request-list-row{grid-template-columns:110px minmax(180px,1fr) 54px 96px 104px minmax(204px,auto);gap:10px;min-height:64px;padding:9px 12px;border-left:3px solid transparent}.request-group.todo .request-list-row{border-left-color:#f07124;background:#fffdfa}.request-row-proof>span{color:#b0b3b9}.request-row-amount{font-size:16px}.request-row-status .tag{min-width:76px;justify-content:center}.request-row-actions{min-width:204px;gap:7px}.request-row-actions .btn{min-height:34px;padding:0 12px;border-radius:9px;font-size:12px;font-weight:750}.request-row-actions .btn-primary{background:#ef6c16;box-shadow:none;color:#fff}.request-row-actions .btn-danger{border:1px solid #e1e4e8;background:#fff;color:#626872}.request-row-actions .request-delete{border-color:#f0d5d2;color:#c84d44;background:#fff}.request-row-actions .btn:hover{filter:none;background:#f6f7f8}.request-row-actions .btn-primary:hover{background:#df5f0e}.request-row-actions .request-delete:hover{background:#fff5f4}
@media(max-width:1100px) and (min-width:721px){.request-list-row,.request-group.done .request-list-row{grid-template-columns:98px minmax(150px,1fr) 48px 88px 94px minmax(190px,auto);gap:7px}.request-row-actions{min-width:190px;gap:5px}.request-row-actions .btn{padding:0 9px}}
@media(max-width:720px){.request-list-row{grid-template-columns:minmax(0,1fr) auto}.request-row-actions{min-width:0;gap:7px}.request-row-actions .btn{min-height:34px;padding:0 11px}}

/* Keep department balances at the right on desktop. */
.fund-layout{grid-template-columns:minmax(0,1fr) 280px;gap:14px}.side-summary{position:sticky;top:96px}.request-list-row{grid-template-columns:82px minmax(115px,1fr) 36px 76px 72px minmax(174px,auto);gap:6px;padding:7px 8px}.request-row-actions{min-width:174px;gap:5px}.request-row-actions .btn{padding:0 9px}.request-row-status .tag{min-width:68px;padding-left:6px;padding-right:6px}
@media(max-width:1180px){.fund-layout{grid-template-columns:minmax(0,1fr)}.side-summary{position:static}}
@media(max-width:720px){.request-list-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px 13px}.request-row-actions{min-width:0}}

/* Department balances are a separate full-width section below requests. */
.fund-layout{grid-template-columns:minmax(0,1fr);gap:18px}.side-summary{position:static}.side-summary .panel{margin:0}.side-summary .panel-head{background:#fafbfc}

/* Dedicated department balance navigation and page. */
.nav-item.balance-nav.active{box-shadow:inset 3px 0 0 #3182ce}.nav-item.balance-nav.active .nav-icon{background:#1f6fb233;color:#8ecbff}
.balance-total-cards .metric{min-height:128px}.balance-page-panel{overflow:hidden}.balance-page-list{padding-top:4px;padding-bottom:4px}.balance-page-list .fund-balance-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(420px,2fr);align-items:center;gap:24px;padding:18px 4px}.balance-page-list .balance-name{font-size:16px}.balance-page-list .fund-balance-stats{margin-top:0}.balance-page-list .fund-balance-stats span{padding:14px 10px}.balance-page-list .fund-balance-stats small{font-size:13px}.balance-page-list .fund-balance-stats strong{font-size:18px;margin-top:6px}
@media(max-width:720px){.bottom-nav .balance-nav .nav-icon{color:#3478e5}.balance-page-list .fund-balance-row{display:block;padding:17px 0}.balance-page-list .fund-balance-stats{margin-top:12px}.balance-total-cards{grid-template-columns:1fr}.balance-total-cards .metric{min-height:0}}

/* Keep owner approval controls visible when the content area becomes narrow. */
@media(max-width:1180px) and (min-width:721px){
  #app .request-list-row,#app .request-group.done .request-list-row{grid-template-columns:90px minmax(120px,1fr) 48px 88px 92px;gap:7px}
  #app .request-row-actions{grid-column:1/-1;grid-row:auto;min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-start;padding-top:8px;border-top:1px solid #eff0f2}
  #app .request-row-actions .request-delete{margin-left:auto}
}
/* Returned reviews are visually distinct and explain what must be corrected. */
#app .review-list-row.review-returned{border-left:4px solid #dc4f47;background:linear-gradient(105deg,#fff4f3,#fff 42%)}
#app .review-list-row.review-returned:hover{background:linear-gradient(105deg,#ffefee,#fff 46%)}
#app .review-list-row.review-returned .review-row-status .tag{background:#dc4f47;color:#fff}
#app .review-return-reason{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #f2cfcc;border-radius:10px;background:#fff4f3;color:#8e3933;font-size:13px;line-height:1.5}
#app .review-return-reason b{flex:0 0 auto;padding:2px 7px;border-radius:7px;background:#dc4f47;color:#fff;font-size:11px}
#app .review-return-reason span{min-width:0;overflow-wrap:anywhere;font-weight:700}

/* Make the three expense-review status counters easier to read. */
.expense-review-compact .review-countbar:not(.income-countbar) strong,.expense-review-compact .review-countbar:not(.income-countbar) span{padding:9px 14px;font-size:15px;font-weight:800}
@media(max-width:720px){.expense-review-compact .review-countbar:not(.income-countbar) strong,.expense-review-compact .review-countbar:not(.income-countbar) span{padding:9px 7px;font-size:14px}}

/* The expense status counters are interactive list filters. */
.expense-review-compact .expense-filter-bar .review-filter{min-height:40px;padding:9px 14px;border:1px solid transparent;border-radius:10px;background:#eef0f3;color:#6b7078;font-size:15px;font-weight:800;box-shadow:none;transition:background .15s,border-color .15s,color .15s,transform .15s}
.expense-review-compact .expense-filter-bar .review-filter:hover{transform:translateY(-1px);background:#e7e9ed}
.expense-review-compact .expense-filter-bar .review-filter.active.pending{border-color:#dcc7f8;background:#f1e8ff;color:#7137c8}
.expense-filter-bar .review-filter.active.processing{border-color:#f1d4b9;background:#fff3e8;color:#cf620d}
.expense-review-compact .expense-filter-bar .review-filter.active.verified{border-color:#c9e6d8;background:#e8f7f0;color:#16885f}
.expense-review-compact .expense-filter-bar .review-filter.active.returned{border-color:#f0ceca;background:#fff0ef;color:#d64e46}
.review-list-section.pending{border-color:#dfcff4}.review-list-section.pending .review-list-section-head{border-bottom-color:#e8dcf6;background:linear-gradient(135deg,#f5efff,#fcf9ff);color:#7137c8}
.review-list-section.verified .review-list-section-head{background:#f2faf6}.review-list-section.returned .review-list-section-head{background:#fff6f5}
.request-filter-bar{margin:0 0 16px}.request-filter-bar .review-filter{min-width:118px;min-height:40px;padding:9px 14px;border:1px solid transparent;border-radius:10px;background:#eef0f3;color:#6b7078;font-size:15px;font-weight:800;box-shadow:none}.request-filter-bar .review-filter.active.pending{border-color:#dcc7f8;background:#f1e8ff;color:#7137c8}.request-filter-bar .review-filter.active.processing{border-color:#f1d4b9;background:#fff3e8;color:#cf620d}.request-filter-bar .review-filter.active.verified{border-color:#c9e6d8;background:#e8f7f0;color:#16885f}.request-filter-bar+.request-group{padding-top:0}.request-filter-bar+.request-group .request-group-head{padding:10px 12px;border-radius:10px;background:#f8f9fa}.request-filter-bar+.request-group.todo .request-group-head{background:#f5efff;color:#7137c8}.request-filter-bar+.request-group.active .request-group-head{background:#fff3e8;color:#cf620d}.request-filter-bar+.request-group.done .request-group-head{background:#edf9f3;color:#16885f}
@media(max-width:720px){.expense-review-compact .expense-filter-bar .review-filter{flex:1;min-width:0;padding:9px 7px;font-size:14px;text-align:center}}
.expense-department-filter{display:flex;align-items:center;gap:8px;overflow-x:auto;margin:-4px 0 16px;padding:4px 0 5px;scrollbar-width:thin}.expense-department-chip{flex:0 0 auto;min-height:38px;padding:8px 12px;border:1px solid #e1e4e8;border-radius:11px;background:#fff;color:#626872;font-size:13px;font-weight:800;white-space:nowrap}.expense-department-chip b{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:4px;padding:0 5px;border-radius:999px;background:#eef0f3;color:#777d86;font-size:11px}.expense-department-chip.active{border-color:#272b33;background:#272b33;color:#fff;box-shadow:0 6px 15px rgba(32,35,43,.16)}.expense-department-chip.active b{background:rgba(255,255,255,.18);color:#fff}@media(max-width:720px){.expense-department-filter{margin-bottom:13px}.expense-department-chip{min-height:36px;padding:7px 10px}}

/* Separate approval comments from dates and ordinary request notes. */
#app .request-row-purpose .request-approval-comment{display:inline-flex;align-items:center;gap:6px;width:auto;max-width:100%;margin-top:6px;padding:4px 8px;border:1px solid #cfe8dc;border-radius:8px;background:#edf9f3;color:#147b58;font-size:12px;font-weight:800;line-height:1.45;white-space:normal;overflow:visible}
#app .request-row-purpose .request-approval-comment i{flex:0 0 auto;padding:2px 5px;border-radius:5px;background:#16885f;color:#fff;font-size:10px;font-style:normal;letter-spacing:.3px}
#app .request-row-purpose .request-approval-comment.negative{border-color:#f0cfcc;background:#fff2f1;color:#b43f38}
#app .request-row-purpose .request-approval-comment.negative i{background:#d64e46}

/* 请款信息层级：部门、申请人、申请备注和审批批注清晰区分 */
#app .request-list-row{min-height:82px}
#app .request-row-person strong,#app .request-row-person span{display:flex;align-items:center;gap:6px;min-width:0}
#app .request-row-person strong>i,#app .request-row-person span>i{flex:0 0 auto;padding:2px 6px;border-radius:6px;font-size:10px;font-style:normal;font-weight:850;line-height:1.5}
#app .request-row-person strong>i{background:#fff0e5;color:#d95f11}
#app .request-row-person span>i{background:#f1eaff;color:#7137c8}
#app .request-row-purpose .request-date{display:block;margin-top:4px;color:#999ea6;font-size:11px}
#app .request-row-purpose .request-note-highlight{display:flex;align-items:flex-start;gap:6px;width:max-content;max-width:100%;margin-top:6px;padding:5px 8px;border:1px solid #f3ddba;border-radius:8px;background:#fff8e9;color:#8a5a10;font-size:12px;font-weight:750;line-height:1.45;white-space:normal}
#app .request-row-purpose .request-note-highlight i{flex:0 0 auto;padding:2px 5px;border-radius:5px;background:#ee9b22;color:#fff;font-size:10px;font-style:normal;font-weight:850}
#app .request-row-purpose .request-approval-comment{display:flex;width:max-content}
@media(max-width:720px){#app .request-list-row{min-height:0}#app .request-row-person strong,#app .request-row-person span{display:inline-flex}#app .request-row-purpose .request-note-highlight,#app .request-row-purpose .request-approval-comment{width:100%}}

/* 请款明细：部门与申请人保持同一行，部门名称放大突出。 */
#app .request-list-row,#app .request-group.done .request-list-row{grid-template-columns:210px minmax(170px,1fr) 54px 96px 104px minmax(204px,auto)}
#app .request-row-person{display:flex;align-items:center;gap:14px;min-width:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
#app .request-row-person::-webkit-scrollbar{display:none}
#app .request-row-person strong{flex:0 0 auto;color:#20242c;font-size:17px;font-weight:950}
#app .request-row-person span{flex:0 0 auto;margin-top:0;color:#616975;font-size:14px;font-weight:750}
#app .request-row-person strong>i,#app .request-row-person span>i{font-size:11px}
@media(max-width:1200px) and (min-width:721px){#app .request-list-row,#app .request-group.done .request-list-row{grid-template-columns:188px minmax(140px,1fr) 48px 88px 94px minmax(190px,auto)}#app .request-row-person{gap:9px}#app .request-row-person strong{font-size:16px}#app .request-row-person span{font-size:13px}}
@media(max-width:720px){#app .request-list-row,#app .request-group.done .request-list-row{grid-template-columns:minmax(0,1fr) auto}#app .request-row-person{grid-column:1;gap:11px}#app .request-row-person strong{font-size:17px}#app .request-row-person span{font-size:14px}}
#app .request-row-person{display:flex;flex-direction:column;align-items:flex-start;gap:5px;overflow:visible;white-space:normal}
#app .request-row-person strong,#app .request-row-person span{display:flex;align-items:flex-start;max-width:100%;min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.35;margin:0}
#app .request-row-person strong>i,#app .request-row-person span>i{flex:0 0 auto}

/* Department P&L with executive-office expense allocation. */
.company-department-row.activity-department-row{grid-template-columns:minmax(145px,1.25fr) repeat(4,minmax(100px,1fr)) auto;gap:14px;background:#f8fbff}
.overview-metrics.activity-pnl{grid-template-columns:repeat(3,minmax(0,1fr))}
.company-department-row.activity-department-row .activity-income-value{grid-column:3}
.company-department-row.activity-department-row .company-detail-action{grid-column:6}
.company-department-row.finance-activity-row{grid-template-columns:minmax(170px,1.5fr) minmax(120px,1fr)}
.company-detail-list.role-finance .company-department-row{grid-template-columns:minmax(0,1fr) minmax(170px,220px) minmax(170px,220px) 96px;gap:18px}
.company-detail-list.role-finance .company-department-row.finance-activity-row{grid-template-columns:minmax(0,1fr) minmax(170px,220px) minmax(170px,220px) 96px;gap:18px}
.company-detail-list.role-finance .company-department-row.finance-activity-row .company-detail-value.red{grid-column:2}
.company-detail-list.role-finance .company-department-row.finance-activity-row .company-detail-action{grid-column:4}
.finance-activity-row .company-detail-action{display:none}
@media(max-width:1180px){.company-detail-list.role-finance .company-department-row,.company-detail-list.role-finance .company-department-row.finance-activity-row{grid-template-columns:repeat(2,minmax(0,1fr))}.company-detail-list.role-finance .company-department-row .company-department-name{grid-column:1/-1}.company-detail-list.role-finance .company-department-row.finance-activity-row .company-detail-value.red{grid-column:1}.company-detail-list.role-finance .company-department-row.finance-activity-row .company-detail-action{grid-column:1/-1}}
.company-detail-inline-action{color:#e85d04;font-size:13px;font-weight:750}
.activity-summary .activity-stat{width:100%;margin:0;text-align:left;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}
.activity-summary .activity-stat:hover{transform:translateY(-2px)}
.activity-summary .activity-stat.unpaid.active{border-color:#3b82e8;box-shadow:0 0 0 3px #e8f1ff}
.activity-summary .activity-stat.paid.active{border-color:#23a277;box-shadow:0 0 0 3px #e6f8f0}
.activity-summary .activity-stat:focus-visible{outline:3px solid #3b82e8;outline-offset:2px}
.activity-side-nav{display:grid;gap:3px;margin:-1px 0 8px 34px;padding:3px 0 5px 12px;border-left:1px solid #343943}.activity-side-item{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:36px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#a6aeba;text-align:left;font-size:13px;cursor:pointer}.activity-side-item:hover,.activity-side-item.active{background:#292e37;color:#fff}.activity-side-item.active{box-shadow:inset 3px 0 0 #f47728}.activity-side-item span{color:#8e98a8;font-size:12px}.activity-side-item.active span{color:#ffad75}.activity-expense-total{color:#d34e4e;font-size:24px;font-variant-numeric:tabular-nums}
.activity-side-heading{margin:8px 12px 2px;padding-top:9px;border-top:1px solid #30353e;color:#858e9b;font-size:11px;font-weight:800;letter-spacing:.04em}
.activity-branch-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 17px}.activity-branch-choice,.activity-add-expense{min-height:39px;padding:0 15px;border:1px solid #e3e7ec;border-radius:11px;background:#fff;color:#59616d;font-size:13px;font-weight:750;cursor:pointer}.activity-branch-choice:hover,.activity-branch-choice.active{border-color:#ec7a2e;background:#fff3ea;color:#c9590e}.activity-add-expense{margin-left:auto;border-color:#f07424;background:#ef6c16;color:#fff}.activity-summary.three{grid-template-columns:repeat(3,minmax(0,1fr))}.activity-stat.expense strong{color:#c84b4b}.activity-stat.expense.active{border-color:#de6b6b;box-shadow:0 0 0 3px #fff0ef}.activity-note{display:block;margin-top:5px;color:#ad6829!important}.expense-money{color:#c84b4b}@media(max-width:720px){.activity-summary.three{grid-template-columns:1fr 1fr}.activity-add-expense{margin-left:0}.activity-branch-choice{padding:0 11px}}
.activity-entry-options{display:grid;gap:12px}.activity-entry-options .btn{width:100%;min-height:52px;justify-content:center;font-size:16px}
@media(max-width:1180px) and (min-width:721px){.company-department-row.activity-department-row{grid-template-columns:minmax(130px,1.2fr) repeat(2,minmax(100px,1fr))}.company-department-row.activity-department-row .activity-income-value{grid-column:3}.company-department-row.activity-department-row .company-detail-action{grid-column:1/-1;justify-self:end}}
@media(max-width:720px){.company-department-row.activity-department-row{grid-template-columns:repeat(2,minmax(0,1fr))}.company-department-row.activity-department-row .company-department-name{grid-column:1/-1}.company-department-row.activity-department-row .activity-income-value{grid-column:1}.company-department-row.activity-department-row .company-detail-action{grid-column:2;justify-self:end}}
@media(max-width:720px){.company-department-row.activity-department-row .company-detail-value.orange{grid-column:1}.company-department-row.activity-department-row .activity-income-value{grid-column:2}.company-department-row.activity-department-row .company-detail-value.red{grid-column:1}.company-department-row.activity-department-row .company-detail-action{grid-column:2}}
@media(max-width:720px){.overview-metrics.activity-pnl{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-metrics.activity-pnl .metric:first-child{grid-column:1/-1}}
.page-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.overview-metrics.pnl{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-metrics.expense-only{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-metrics.pnl .metric,.overview-metrics.expense-only .metric{min-height:150px}.metric.purple{border-color:#e3dcf8;background:linear-gradient(145deg,#faf8ff,#fff)}.metric.purple .metric-label,.metric.purple .metric-value,.company-detail-value.purple strong{color:#7450c8}.allocation-note{display:flex;align-items:center;gap:14px;margin:-6px 0 22px;padding:14px 17px;border:1px solid #e2dcf4;border-radius:15px;background:#faf8ff;color:#675d7d}.allocation-note strong{flex:0 0 auto;color:#6846b6}.allocation-note span{flex:1;font-size:13px;line-height:1.6}.allocation-note.needs-setting{border-color:#f0d2b8;background:#fff8f1;color:#8b6240}.allocation-note.needs-setting strong{color:#cf620d}.allocation-note .btn{min-height:36px;padding:0 13px}.company-department-row.with-allocation{grid-template-columns:minmax(145px,1.25fr) repeat(4,minmax(100px,1fr)) auto;gap:14px}.headcount-intro{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;padding:15px 16px;border:1px solid #e3dcf4;border-radius:14px;background:#faf8ff}.headcount-intro strong{color:#6846b6}.headcount-intro span{color:#716b7b;font-size:13px;line-height:1.65}.headcount-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.headcount-field{margin:0}.headcount-input{position:relative}.headcount-input .control{padding-right:42px}.headcount-input>span{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#8c9199;font-size:13px}
@media(max-width:1180px) and (min-width:721px){.overview-metrics.pnl{grid-template-columns:repeat(2,minmax(0,1fr))}.company-department-row.with-allocation{grid-template-columns:minmax(130px,1.2fr) repeat(2,minmax(100px,1fr))}.company-department-row.with-allocation .company-detail-action{grid-column:1/-1;justify-self:end}}
@media(max-width:720px){.page-head-actions{align-items:stretch;justify-content:stretch;width:100%}.page-head-actions>.btn{width:100%}.page-head-actions .toolbar{width:100%}.overview-metrics.pnl,.overview-metrics.expense-only{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-metrics.pnl .metric,.overview-metrics.expense-only .metric{min-height:0}.allocation-note{align-items:flex-start;flex-wrap:wrap;margin-top:0}.allocation-note strong,.allocation-note span{flex-basis:100%}.allocation-note .btn{width:100%}.company-department-row.with-allocation{grid-template-columns:repeat(2,minmax(0,1fr))}.company-department-row.with-allocation .company-department-name{grid-column:1/-1}.company-department-row.with-allocation .company-detail-action{grid-column:1/-1}.headcount-fields{grid-template-columns:1fr}}

/* 支出明细备注与财务批注重点显示 */
#app .expense-note-highlight,#app .expense-review-comment{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid;border-radius:10px;font-size:13px;line-height:1.55}
#app .expense-note-highlight{border-color:#f2d3a4;background:#fff8e7;color:#80530f}
#app .expense-review-comment{border-color:#c9e6d8;background:#edf9f3;color:#147b58}
#app .expense-note-highlight b,#app .expense-review-comment b{flex:0 0 auto;padding:2px 7px;border-radius:7px;color:#fff;font-size:11px}
#app .expense-note-highlight b{background:#e59a23}
#app .expense-review-comment b{background:#16885f}
#app .expense-note-highlight span,#app .expense-review-comment span{min-width:0;overflow-wrap:anywhere;font-weight:750}

/* 总经办及部门账本的支出备注 */
#app .tx-note-row td{padding:0 12px 13px;border-bottom:1px solid #f1f2f4}
#app .tx-main-row:has(+.tx-note-row) td{border-bottom:0}
#app .tx-note-highlight{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #f0d09d;border-left:4px solid #e58b13;border-radius:11px;background:linear-gradient(100deg,#fff6df,#fffdf8);color:#75480b;font-size:13px;line-height:1.6}
#app .tx-note-highlight b{flex:0 0 auto;padding:2px 7px;border-radius:7px;background:#e58b13;color:#fff;font-size:11px}
#app .tx-note-highlight span{min-width:0;overflow-wrap:anywhere;font-weight:800}
.executive-category-select{width:180px;min-width:160px;height:44px;padding:0 42px 0 18px;appearance:none;border:1px solid #f3bd73;border-radius:14px;background-color:#fff6e8;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d86b0b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"),linear-gradient(135deg,#fffaf2,#ffedd4);background-position:right 15px center,center;background-repeat:no-repeat;color:#b95808;font-weight:850;box-shadow:0 7px 18px rgba(232,126,24,.14);cursor:pointer;transition:.18s ease}
.executive-category-select:hover,.executive-category-select:focus{border-color:#eb8b2d;box-shadow:0 8px 22px rgba(232,126,24,.22);outline:none;transform:translateY(-1px)}
.executive-ledger-heading{display:flex;align-items:center;gap:18px;min-width:0}
@media(max-width:720px){.executive-ledger-heading{align-items:flex-start;flex-direction:column;gap:10px}.executive-category-select{width:100%;min-width:0}}


/* Keep the voucher control in its own column, clear of the amount and status. */
@media (min-width:721px){
  #app .request-group-list{overflow-x:auto}
  #app .request-list-row.no-actions,#app .request-group.done .request-list-row.no-actions{grid-template-columns:minmax(170px,1.3fr) minmax(180px,2fr) minmax(145px,auto) minmax(130px,auto) minmax(122px,auto);min-width:820px}
  #app .request-list-row.has-actions,#app .request-group.done .request-list-row.has-actions{grid-template-columns:minmax(170px,1.3fr) minmax(180px,2fr) minmax(145px,auto) minmax(130px,auto) minmax(122px,auto) minmax(190px,auto);min-width:1010px}
}
@media (max-width:720px){
  #app .request-list-row .request-row-purpose{grid-column:1/-1;grid-row:2}
  #app .request-list-row .request-row-proof{grid-column:1;grid-row:3}
  #app .request-list-row .request-row-amount{grid-column:2;grid-row:3}
  #app .request-list-row .request-row-actions{grid-column:1/-1;grid-row:4}
}

.request-filter-bar{flex-wrap:wrap}.request-filter-bar .review-filter.active:not(.pending):not(.processing):not(.verified){border-color:#f1d4b9;background:#fff3e8;color:#cf620d}
@media(max-width:720px){.request-filter-bar .review-filter{flex:1 1 calc(50% - 4px);min-width:0;padding:9px 7px;font-size:13px;text-align:center}}

/* Keep returned department expenses visible in navigation and on the review page. */
.nav-badges{display:inline-flex;align-items:center;gap:5px;margin-left:auto}.nav-badges .badge{margin-left:0}.badge-returned{background:#d64e46}.department-return-notice{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;margin:0 0 14px;padding:10px 15px;border:1px solid #edc4c0;border-radius:12px;background:#fff2f0;color:#b83d38;text-align:left;cursor:pointer}.department-return-notice strong{font-size:15px}.department-return-notice span{font-size:13px}.department-return-notice b{margin-left:auto;font-size:22px;line-height:1}.department-return-notice:hover{background:#ffe8e5;border-color:#dfaba6}@media(max-width:720px){.department-return-notice{flex-wrap:wrap;gap:4px 8px}.department-return-notice strong{width:100%}}
.department-ledger-sections{display:grid;gap:18px}.department-ledger-panel .panel-head{align-items:center}.department-ledger-panel:nth-child(2){border-color:#e2dcf4}.department-ledger-panel:nth-child(2) .panel-head{background:#faf8ff}.department-ledger-panel:nth-child(2) .panel-title{color:#6846b6}.allocation-note-view{display:flex;flex:1;align-items:center;gap:14px;min-width:0;border:0;padding:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.allocation-note-view b{flex:0 0 auto;color:#6846b6;font-size:13px;white-space:nowrap}.allocation-note-view:hover b{text-decoration:underline}.headcount-detail-list{display:grid;gap:9px;margin:16px 0}.headcount-detail-row{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid #e9e5f2;border-radius:11px;background:#fbfaff}.headcount-detail-row strong{color:#3d4149}.headcount-detail-row b{color:#6846b6;font-size:17px}.headcount-detail-total{display:flex;justify-content:space-between;padding:14px;border-top:1px solid #e9e5f2;font-weight:800}.headcount-detail-total b{color:#6846b6}@media(max-width:720px){.allocation-note-view{flex-wrap:wrap;gap:7px}.allocation-note-view strong,.allocation-note-view span{flex-basis:100%}.allocation-note-view b{margin-top:2px}.department-ledger-sections{gap:14px}}
