.economy-form{display:grid;gap:24px;max-width:1000px}.economy-form fieldset{border:1px solid #d6dce7;border-radius:8px;padding:24px;min-width:0;display:grid;gap:18px}.economy-form legend{padding:0 8px;font-size:18px;font-weight:550}.economy-form small{font-size:12px;line-height:1.8;color:#667080}.economy-level{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:18px;padding:14px 0;border-top:1px solid #dce2ed}.work-progress{display:flex;justify-content:space-between;gap:24px;padding:24px 0;margin:12px 0 28px;border-block:1px solid #cdd6e6}.work-progress h3{font-size:18px;margin:10px 0}.work-progress progress{height:6px;width:min(400px,100%);accent-color:#243bf5;display:block;margin:14px 0}.work-progress small{font-size:12px;color:#62718a}.work-progress>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:12px;justify-content:center}.attendance-summary{display:flex;align-items:center;justify-content:space-between;padding:28px 0 40px}.attendance-summary h2{font-size:28px;margin:16px 0}.attendance-summary p{color:#61718b;font-size:15px}.attendance-summary button{margin-top:20px}.attendance-calendar{display:grid;place-items:center;width:112px;height:112px;background:#e8edff;border:1px solid #d3def8;border-radius:24px;color:#3658de}.attendance-calendar svg{width:60px;height:60px}.finance-address{overflow-wrap:anywhere;font-size:13px;line-height:1.8}.eco-conversion{color:#243bf5!important;font-size:14px!important}
@media(max-width:700px){.user-shell .sidebar .nav{grid-template-columns:repeat(5,minmax(0,1fr))}.user-shell .sidebar .nav button{font-size:10px;gap:3px}.user-shell .sidebar .nav .icon,.user-shell .sidebar .nav .icon svg{width:20px;height:20px}.work-progress{flex-direction:column;gap:14px}.work-progress h3{font-size:16px}.attendance-summary h2{font-size:23px}.attendance-calendar{width:64px;height:64px;flex-shrink:0;margin-left:12px}.attendance-calendar svg{width:34px;height:34px}.economy-form fieldset{padding:16px}.economy-level{grid-template-columns:1fr 1fr;gap:12px}.economy-level>strong{grid-column:1/-1}}

.token-rules + .economy-form{margin-top:32px;max-width:none;border-top:1px solid #d6dce7;padding-top:28px}

/* Finance entry only: compact filters and locally scrollable order tables. */
.finance-view { min-width: 0; }
.finance-view .finance-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:24px 0; }
.finance-view .finance-filters label { display:grid; gap:6px; font-size:13px; color:#505866; }
.finance-view .finance-filters label:first-child { flex:1 1 240px; }
.finance-view .finance-filters input,.finance-view .finance-filters select { width:100%; min-height:44px; border:1px solid #c9ced8; border-radius:8px; background:white; color:#111216; padding:10px 12px; }
.finance-view button { min-height:44px; border-radius:8px; }
.finance-view .panel-head { display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; justify-content:space-between; }
.finance-view .panel-head span { font-size:13px; color:#505866; }
.finance-view .table-wrap { max-width:100%; overflow-x:auto; }
.finance-view table { min-width:680px; width:100%; }
.finance-view th,.finance-view td { padding:14px 16px; vertical-align:middle; }
.finance-view small { display:block; margin-top:4px; color:#505866; }
.finance-view .finance-number { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.finance-view .finance-id { overflow-wrap:anywhere; max-width:260px; }
.finance-view .finance-empty { text-align:center; padding:36px 16px; color:#505866; }
.finance-view :focus-visible { outline:2px solid #243bf5; outline-offset:3px; }
@media(max-width:600px) {
  .finance-view .finance-filters label { flex:1 1 100%; min-width:0; }
  .finance-view .finance-filters button { flex:1; }
  .finance-view input,.finance-view select { font-size:16px; }
  .finance-view .panel-head { padding:16px; }
}

.finance-view .finance-demo-note { display:flex; align-items:center; flex-wrap:wrap; gap:12px; justify-content:space-between; padding:12px 0; border-bottom:1px solid #c9ced8; color:#505866; font-size:13px; }

.finance-view table { min-width:1100px; }
.finance-view .finance-user { min-width:190px; line-height:1.8; }
.finance-view .finance-info { min-width:260px; max-width:360px; line-height:1.8; }
.finance-view .finance-address-line { overflow-wrap:anywhere; white-space:normal; }
.finance-view .finance-time { min-width:115px; font-variant-numeric:tabular-nums; }

.finance-view .finance-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; min-width:180px; }
.finance-view .finance-actions .finance-approve { color:#17663c; border:1px solid #81c99e; background:#effaf3; }
.finance-view .finance-actions .finance-reject { color:#ac3030; border:1px solid #eba4a4; background:#fff4f4; }

/* Compact finance page heading and controls, shared by both order lists. */
.admin-shell .content:has(.finance-view) { padding-top:20px; }
.finance-view .heading { margin:0 0 8px; padding:0; min-height:0; gap:8px; }
.finance-view .heading .eyebrow { display:none; }
.finance-view .heading h1 { margin:0; font-size:24px; line-height:1.35; }
.finance-view .heading p { margin:6px 0 0; font-size:13px; line-height:1.6; }
.finance-view .finance-demo-note { justify-content:flex-start; gap:8px 16px; padding:4px 0 8px; font-size:12px; }
.finance-view .finance-demo-note button { padding:6px 12px; font-size:12px; min-height:44px; }
.finance-view .finance-filters { margin:12px 0 16px; gap:10px; }
.finance-view .panel-head { padding:12px 16px; }
.finance-view .panel-head h2 { margin:0; font-size:16px; }
@media(max-width:600px) {
 .admin-shell .content:has(.finance-view) { padding-top:16px; }
 .finance-view .heading h1 { font-size:22px; }
 .finance-view .finance-demo-note { gap:4px 12px; }
}

.finance-availability{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #c9ced8}.finance-availability small{display:block;margin-top:4px;color:#505866}.finance-availability [role=switch]{display:flex;align-items:center;gap:10px;flex-shrink:0;min-height:44px}.finance-availability [role=switch] span{width:36px;height:22px;border-radius:20px;background:#757b85;position:relative}.finance-availability [role=switch] span:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;background:white;border-radius:50%}.finance-availability [aria-checked=true] span{background:#243bf5}.finance-availability [aria-checked=true] span:after{left:17px}@media(max-width:600px){.finance-availability{align-items:flex-start}.finance-availability small{max-width:220px}}

.route-toolbar,.route-directions{display:flex;align-items:center;gap:16px;padding-block:12px}
.route-toolbar{justify-content:space-between}
.route-address{max-width:24em;overflow-wrap:anywhere}
#eco-route-editor .route-directions label{display:inline-flex;align-items:center;gap:6px}
#eco-route-editor .route-directions input{width:auto;min-height:0}
