:root { --brand: #bd4824; --brand-dark: #993719; }
html { font-size: 16px; }
body { font-family: Tahoma, 'Leelawadee UI', sans-serif; font-size: 16px; padding-bottom: 150px; background: #faf7f2; color: #302820; }
.text-brand { color: var(--brand); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; min-height: 48px; font-weight: 600; }
.btn-brand:hover, .btn-brand:active, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-brand:disabled { background: #b78f80; border-color: #b78f80; color: #fff; }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); min-height: 48px; font-weight: 600; background: #fff; }

.app-header { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.shop-name { font-weight: 700; font-size: 1.2rem; padding: 10px 16px 4px; }
.table-banner { padding: 8px 16px; font-weight: 600; background: #f9e9dc; color: #7a341c; }
.table-banner.bad { background: #fdecec; color: #a61b1b; }
.closed-banner { padding: 8px 16px; background: #fff3cd; color: #664d03; font-weight: 600; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px; white-space: nowrap; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button { min-height: 44px; padding: 0 16px; border: 1px solid #ddd; border-radius: 22px; background: #fff; font-size: 16px; }
.cat-tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.cat-title { font-size: 1.1rem; font-weight: 700; padding: 14px 16px 6px; scroll-margin-top: 170px; }
.menu-card { display: flex; gap: 12px; margin: 0 12px 10px; padding: 10px; background: #fff; border-radius: 12px; align-items: center; }
.menu-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: #eee; flex: none; }
.menu-info { flex: 1; min-width: 0; }
.menu-name { font-weight: 600; }
.menu-desc { color: #777; font-size: 16px; line-height: 1.3; }
.menu-price { color: var(--brand-dark); font-weight: 700; }
.qty-ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.qty-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 22px; line-height: 1; }
.qty-ctl button.minus { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.qty-ctl button:disabled { background: #ccc; border-color: #ccc; color: #fff; }
.qty-ctl .n { min-width: 24px; text-align: center; font-weight: 700; }

.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 30; min-height: 52px; border: 0; border-radius: 26px; background: var(--brand); color: #fff; font-weight: 700; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.cart-bar.no-tabs { bottom: calc(16px + env(safe-area-inset-bottom)); }
.bottom-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; background: #fff; border-top: 1px solid #ddd; padding-bottom: env(safe-area-inset-bottom); }
.bottom-tabs button { flex: 1; min-height: 56px; border: 0; background: #fff; font-size: 16px; font-weight: 600; color: #666; }
.bottom-tabs button.active { color: var(--brand-dark); box-shadow: inset 0 3px 0 var(--brand); }

.cart-sheet { max-height: 85vh; }
.cart-line { padding: 10px 0; border-bottom: 1px solid #eee; }
.cart-line input[type=text] { font-size: 16px; min-height: 44px; }
.order-row { background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.status-pill { font-size: 14px; padding: 2px 10px; border-radius: 12px; font-weight: 600; }
.st-new { background: #fff3cd; color: #664d03; }
.st-accepted { background: #cfe2ff; color: #084298; }
.st-done { background: #d1e7dd; color: #0f5132; }
.success-icon { width: 72px; height: 72px; line-height: 72px; margin: 24px auto 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: 40px; }
.form-control, .btn { font-size: 16px; }
.st-cancelled { background: #f5e0e0; color: #932c2c; }
.admin-page { padding-bottom: 30px; }
.admin-top { background: #fff; border-bottom: 1px solid #e8ded3; padding: 22px max(24px, calc((100vw - 1280px)/2)); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.admin-main { max-width: 1328px; padding: 24px; margin: auto; }
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.owner-order { background: #fff; border-radius: 14px; padding: 20px; border: 1px solid #e8ded3; box-shadow: 0 3px 14px #57371708; margin: 0; overflow-wrap: anywhere; }
.admin-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.metric { padding: 18px; background: #fff; border: 1px solid #e8ded3; border-radius: 12px; }
.metric strong { display: block; font-size: 1.6rem; margin-top: 6px; }
.login-wrap { min-height: 90vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 450px; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid #e8ded3; box-shadow: 0 16px 60px #57371710; }
.order-row .btn { min-height: 44px; }
.menu-card { box-shadow: 0 2px 12px #57371706; border: 1px solid #eee6dc; }
.menu-desc { font-size: 14px; }
.cart-sheet { height: auto !important; }
@media (min-width: 800px) {
  .customer-page { max-width: 800px; margin: auto; border-left: 1px solid #eee6dc; border-right: 1px solid #eee6dc; min-height: 100vh; }
  .customer-page .bottom-tabs { max-width: 800px; margin: auto; }
  .customer-page .cart-bar { max-width: 748px; margin: auto; }
  .menu-card { padding: 16px; margin: 0 20px 12px; }
  .menu-card img { width: 100px; height: 100px; }
  .cat-title { padding-left: 24px; }
}
@media (max-width: 600px) {
  .admin-top { padding: 16px; align-items: start; flex-direction: column; }
  .admin-main { padding: 16px; }
  .menu-card { gap: 8px; }
  .menu-card img { width: 62px; height: 62px; }
  .qty-ctl { gap: 3px; }
  .qty-ctl .n { min-width: 20px; }
}
@media print {
  body.admin-page > :not(#billModal) { display: none !important; }
  #billModal { display: block !important; position: static; overflow: visible !important; opacity: 1 !important; }
  #billModal .modal-dialog { margin: 0 auto; transform: none !important; }
  #billModal .modal-content { border: 0; }
  #billModal .modal-body { overflow: visible; }
  #billModal .modal-footer, #billModal .btn-close, #billError { display: none !important; }
}

/* Restaurant workspace: scoped to the back office, customer menu stays independent. */
.admin-page { --ink: #24362f; --muted: #7c857f; --line: #e6eae4; background: #f6f7f3; color: var(--ink); padding: 0; }
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; background: #20382e; color: #eef4ef; padding: 30px 20px 22px; display: flex; flex-direction: column; }
.admin-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; padding: 0 2px; }
.brand-monogram { background: #d7eac0; color: #254532; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 700 16px Georgia, serif; flex: none; }
.admin-brand strong { display: block; font-size: 19px; letter-spacing: -.3px; }
.admin-brand small { display: block; color: #b0c2b5; font-size: 8px; letter-spacing: 1.1px; margin-top: 4px; }
.sidebar-caption { color: #94aa9b; font-size: 11px; margin: 42px 10px 16px; }
.admin-sidebar .admin-tabs { display: flex; flex-direction: column; gap: 7px; flex-wrap: nowrap; }
.admin-nav { display: flex; align-items: center; text-align: left; border: 0; background: transparent; color: #bdcdc1; border-radius: 11px; padding: 13px 12px; min-height: 48px; gap: 11px; font-size: 14px; white-space: nowrap; }
.admin-nav:hover { background: #ffffff0b; color: #fff; }
.admin-nav.active { background: #d9ebc5; color: #23422f; font-weight: 700; }
.nav-symbol { width: 22px; font-size: 21px; text-align: center; line-height: 1; }
.nav-count { margin-left: auto; background: #20382e; color: #fff; min-width: 24px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; padding: 0 4px; }
.sidebar-foot { display: flex; gap: 10px; align-items: center; margin-top: auto; border-top: 1px solid #ffffff16; padding: 20px 2px 0; }
.sidebar-foot strong { display: block; font-size: 13px; }
.sidebar-foot small { display: block; color: #adbfaf; font-size: 10px; margin-top: 4px; overflow-wrap: anywhere; }
.avatar { background: #e3ece4; border-radius: 50%; width: 42px; height: 42px; flex: none; display: grid; place-items: center; color: #375b47; font-weight: 700; }
.sidebar-foot .avatar { background: #3b5748; color: #d9ebc5; }
.admin-workspace { min-width: 0; }
.admin-page .admin-top { padding: 30px 36px 24px; border: 0; background: transparent; align-items: center; }
.eyebrow { font-size: 9px; letter-spacing: 1.8px; font-weight: 700; color: #6f8375; margin-bottom: 9px; }
.admin-top h1 { font-size: 27px; font-weight: 700; letter-spacing: -.7px; margin: 0 0 7px; }
.page-subtitle { color: #78837a; font-size: 12px; margin: 0; }
.current-user-label { color: #526f5a; font-size: 11px; margin: 8px 0 0; font-weight: 600; }
.current-user-label span { font-weight: 400; color: #7a887b; }
.top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-page .btn { font-size: 13px; border-radius: 9px; min-height: 44px; padding: 10px 15px; font-weight: 600; }
.admin-page .btn-soft { border: 1px solid #dde4dc; background: #fff; color: #465c4f; }
.admin-page .btn-soft:hover { background: #eaf1e7; border-color: #b7c7b5; }
.admin-page .btn-admin { background: #2e5943; border-color: #2e5943; color: #fff; }
.admin-page .btn-admin:hover { background: #204732; border-color: #204732; }
.admin-page .btn-admin:disabled { opacity: .55; }
.admin-page .btn-outline-brand { border: 1px solid #a6bda9; color: #355b41; background: #fff; }
.admin-page .btn:focus-visible, .admin-nav:focus-visible, .metric:focus-visible { outline: 3px solid #b6cbe8; outline-offset: 3px; box-shadow: none; }
.admin-page .admin-main { max-width: 1550px; padding: 0 36px 40px; }
.workspace-status { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #7b867b; padding: 13px 0; border-top: 1px solid var(--line); margin-bottom: 16px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #71a47c; }
.text-button { border: 0; background: transparent; padding: 3px 6px; color: #45694d; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.workspace-status .text-button { margin-left: auto; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 12px 0 22px; }
.section-heading h2 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.section-heading p { font-size: 12px; color: #6c786e; margin: 0; }
.date-tools { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11px; color: #64766a; }
.admin-page .form-control, .admin-page .form-select { font-size: 12px; border-color: #dce3d9; border-radius: 9px; min-height: 40px; color: #344e3d; background-color: #fff; }
.admin-page .form-control:focus, .admin-page .form-select:focus { border-color: #92ad94; box-shadow: 0 0 0 3px #8fa98b20; }
.date-tools .form-control { width: 156px; }
.admin-page .admin-metrics { gap: 14px; }
.order-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-page .metric { --tone: #456e9e; --wash: #edf3fa; text-align: left; border: 1px solid var(--line); border-top: 3px solid var(--tone); padding: 19px 20px; border-radius: 13px; background: linear-gradient(125deg, #fff 40%, var(--wash)); position: relative; color: var(--ink); }
.admin-page button.metric { width: 100%; transition: transform .15s, box-shadow .15s; }
.admin-page button.metric:hover { transform: translateY(-2px); box-shadow: 0 5px 15px #20382e0b; }
.admin-page button.metric[aria-pressed=true] { outline: 2px solid var(--tone); outline-offset: 2px; }
.metric-label { font-size: 13px; font-weight: 600; color: var(--tone); }
.admin-page .metric strong { font-size: 30px; line-height: 1.2; margin: 12px 0 7px; letter-spacing: -.7px; }
.metric small { font-size: 11px; color: #6d786c; }
.tone-amber { --tone: #b9801d !important; --wash: #fbf1da !important; }
.tone-blue { --tone: #537eaf !important; --wash: #eaf2fc !important; }
.tone-violet { --tone: #9272af !important; --wash: #f3ecf9 !important; }
.tone-green { --tone: #5a9470 !important; --wash: #eaf4e9 !important; }
.tone-rose { --tone: #c07a7d !important; --wash: #fbebeb !important; }
.tone-slate { --tone: #8e9994 !important; --wash: #eff2ee !important; }
.list-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 29px 0 17px; }
.list-heading h3, .permission-heading h3 { font-size: 14px; font-weight: 700; margin: 0; }
.count-badge { display: inline-block; background: #e6ebe2; font-size: 10px; border-radius: 6px; padding: 4px 7px; margin-left: 5px; vertical-align: middle; }
.status-select { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #7e897e; }
.status-select .form-select { width: 192px; }
.admin-page .admin-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); gap: 16px; align-items: start; }
.admin-page .owner-order { border-radius: 14px; padding: 21px; border: 1px solid #e2e8de; background: #fff; box-shadow: 0 2px 5px #20382e03; }
.admin-page .order-card { border-top: 4px solid var(--tone); background: linear-gradient(155deg, var(--wash), #fff 45%); }
.card-title { font-size: 15px; }
.admin-page .status-pill { font-size: 10px; border-radius: 6px; padding: 5px 8px; align-self: flex-start; white-space: nowrap; }
.admin-page .st-done { background: #ede3f6; color: #72508c; }
.admin-page .owner-order > p { font-size: 14px; margin-bottom: 11px; }
.admin-page .owner-order > .text-muted { font-size: 11px !important; }
.admin-page .owner-order .btn-sm { min-height: 36px; padding: 7px 8px; font-size: 11px; }
.order-amount { border-top: 1px solid #e5e8e1; margin: 17px 0 14px; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-amount strong { font-size: 23px; letter-spacing: -.5px; }
.payment-pill { display: inline-block; border-radius: 6px; padding: 5px 8px; font-size: 10px; font-weight: 600; }
.is-paid { background: #eaf2e8; color: #4a8055; }
.is-unpaid { background: #fff2d6; color: #a07121; }
.is-disabled { background: #eee; color: #777; }
.order-note { border-left: 2px solid var(--tone); padding: 4px 9px; background: #ffffff80; color: #6d776e; }
.admin-empty { grid-column: 1 / -1; padding: 48px 20px; border: 1px dashed #dce3d6; border-radius: 14px; background: #ffffff88; text-align: center; color: #8a9487; font-size: 13px; }
.empty-symbol { display: block; font-size: 34px; color: #bccab4; margin-bottom: 8px; }
.admin-empty p { margin: 0; }
.table-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)) !important; }
.admin-page .table-card { border-top: 3px solid var(--tone); background: linear-gradient(150deg, var(--wash), #fff 65%); }
.table-number { color: var(--tone); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--tone); border-radius: 11px; font-size: 18px; margin-bottom: 16px; }
.table-card h3 { font-size: 14px; font-weight: 700; }
.table-amount { font-size: 27px !important; font-weight: 700; margin: 18px 0 4px !important; }
.table-card a { font-size: 11px; color: #53765c; }
.section-total { font-size: 12px; background: #e9eee5; color: #56714f; border-radius: 8px; padding: 9px 13px; }
.report-metrics { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
.report-metrics .metric strong { font-size: 25px; }
.report-ranking { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: #fff; max-width: 640px; }
.report-ranking h3 { font-size: 15px !important; margin-bottom: 22px; }
.report-ranking p { padding: 12px 0; border-top: 1px solid #edf0e8; margin: 0; font-size: 13px; }
.report-footnote { font-size: 10px; color: #8b9589; margin-top: 20px; }
.member-summary { padding-bottom: 17px; font-size: 12px; color: #7a897a; }
.member-card { border-top: 3px solid var(--tone) !important; }
.member-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.member-card-heading h3 { font-weight: 700; font-size: 16px; }
.member-card .avatar { background: var(--wash); color: var(--tone); }
.permission-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 18px; min-height: 52px; align-content: start; }
.permission-chips span { font-size: 10px; color: #76816f; padding: 4px 7px; background: #f3f5ef; border: 1px solid #e7ebdf; border-radius: 5px; }
.admin-modal { border: 0; border-radius: 20px; overflow: hidden; }
.admin-modal .modal-header { padding: 23px 25px; border-color: var(--line); }
.admin-modal .modal-body { padding: 24px 25px; }
.admin-modal .modal-footer { padding: 17px 25px; border-color: var(--line); background: #f9faf7; }
.admin-modal h2 { font-weight: 700; font-size: 18px; }
.admin-modal form { display: flex; flex-direction: column; max-height: calc(100dvh - 3.5rem); overflow: hidden; }
.admin-modal form .modal-body { overflow-y: auto; }
.admin-modal label { font-size: 12px; color: #58705d; }
.admin-modal label > input.form-control { margin-top: 7px; }
.admin-modal label small { display: block; font-size: 10px; margin-top: 4px; color: #8b9586; }
.member-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.permission-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 27px 0 14px; }
.permissions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.permission-option { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid #e3e9dc; border-radius: 10px; background: #f8faf5; font-size: 14px !important; }
.permission-option:has(input:checked) { background: #ecf3e6; border-color: #adc79e; }
.admin-page .form-check-input:checked { background-color: #4b7654; border-color: #4b7654; }
.permission-option input { margin: 0; flex: none; }
.member-active { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-top: 20px; }
.bill-grand-total { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; background: #edf3e8; padding: 18px; border-radius: 12px; font-size: 12px; }
.bill-grand-total strong { font-size: 28px; }
.audit-filters { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr auto; gap: 14px; align-items: end; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 22px; }
.audit-filters label { font-size: 11px; color: #7b8977; }
.audit-filters input, .audit-filters select { margin-top: 7px; }
.audit-list { display: grid; gap: 10px; }
.audit-row { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid #e3e8de; border-left: 3px solid var(--tone); border-radius: 10px; background: #fff; align-items: start; overflow-wrap: anywhere; }
.audit-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); flex: none; margin-top: 6px; }
.audit-content { flex: 1; min-width: 0; }
.audit-content strong { font-size: 13px; display: block; margin-bottom: 5px; }
.audit-content p { font-size: 11px !important; }
.audit-row time { flex: none; font-size: 10px !important; }
.admin-page.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 20% 20%, #dce8d4, transparent 60%), #f4f6ef; }
.admin-page .login-card { border-color: #dce6d3; box-shadow: 0 20px 70px #20382e12; }
.admin-page .login-card .btn-brand { background: #2e5942; border-color: #2e5942; }
@media (min-width: 1600px) { .admin-page .admin-main { padding-left: 45px; padding-right: 45px; } .admin-page .admin-top { padding-left: 45px; padding-right: 45px; } }
@media (max-width: 1150px) { .admin-shell { grid-template-columns: 205px minmax(0, 1fr); } .admin-sidebar { padding: 25px 12px; } .admin-page .admin-top { padding: 25px 22px; align-items: start; flex-direction: column; gap: 17px; } .admin-page .admin-main { padding: 0 22px 30px; } }
@media (max-width: 800px) {
  .admin-shell { display: block; } .admin-sidebar { position: static; height: auto; padding: 18px 16px 10px; } .admin-brand small { font-size: 8px; } .admin-brand strong { font-size: 17px; }
  .sidebar-caption, .sidebar-foot { display: none; } .admin-sidebar .admin-tabs { flex-direction: row; overflow-x: auto; gap: 5px; margin-top: 18px; padding-bottom: 4px; scrollbar-width: thin; }
  .admin-nav { font-size: 12px; padding: 9px 12px; min-height: 40px; gap: 7px; } .nav-symbol { font-size: 17px; width: 17px; } .nav-count { min-width: 20px; height: 19px; }
  .admin-page .admin-top { padding: 22px 18px 15px; } .admin-page .admin-main { padding: 0 18px 25px; } .admin-top h1 { font-size: 24px; } .eyebrow { font-size: 8px; }
  .order-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-page .metric { padding: 16px; } .admin-page .metric strong { font-size: 27px; }
  .section-heading { gap: 15px; } .date-tools { width: 100%; } .date-tools .form-control { width: 150px; } .list-heading { align-items: start; } .status-select { flex-direction: column; align-items: end; gap: 5px; } .status-select .form-select { width: 175px; }
  .audit-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 12px; } .audit-row { padding: 15px 12px; gap: 9px; } .audit-row time { max-width: 65px; text-align: right; }
}
@media (max-width: 440px) { .member-form-grid, .permissions-grid { grid-template-columns: 1fr; } .admin-modal .modal-body { padding: 19px; } .admin-page .admin-grid { grid-template-columns: 1fr; } .table-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } .admin-page .table-card { padding: 15px 12px; } .table-card .btn { width: 100%; padding: 9px; font-size: 11px; } .table-amount { font-size: 23px !important; } .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .admin-page button.metric { transition: none; } }
.report-action-card, .report-schedule-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 24px; border: 1px solid #dce6d3; border-radius: 18px; margin-bottom: 16px; background: #fff; }
.report-action-card { background: linear-gradient(110deg, #eaf3e5, #fff); }
.report-action-card h3, .report-schedule-card h3 { font-size: 18px; margin: 0 0 8px; }
.report-action-card p, .report-schedule-card p { margin-bottom: 4px; color: #627168; }
.report-action-buttons { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.report-schedule-card .form-switch { flex-shrink: 0; padding-left: 3.2em; }
.report-schedule-card .form-check-input { width: 2.5em; height: 1.35em; margin-left: -3.2em; cursor: pointer; }
.report-schedule-card .form-check-input:checked { background-color: #2e5942; border-color: #2e5942; }
.report-message { color: #315943; min-height: 24px; margin: 12px 0 20px; }
.report-confirm-summary { background: #f2f6ee; border-radius: 12px; padding: 18px; }
.report-confirm-summary p { margin: 10px 0 0; }
@media (max-width: 800px) { .report-action-card, .report-schedule-card { align-items: flex-start; flex-direction: column; padding: 20px; gap: 16px; } .report-action-buttons { width: 100%; } .report-action-buttons .btn { flex: 1; } }
