/* Classes that replace inline `style=""` attributes on page templates, so the CSP
   style-src needs no 'unsafe-inline'. Generated once by hand-conversion; add new rules here
   or use Tailwind. core/tests/test_no_inline_styles.py keeps style="" out of templates. */

.adm-actions { display: flex; gap: 8px !important; margin-top: 16px !important; }
.adm-btn-danger { display: inline-flex; align-items: center !important; padding: 8px 16px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; color: #fff !important; background: #dc2626 !important; border: none !important; cursor: pointer !important; }
.adm-btn-primary { display: inline-flex; align-items: center !important; padding: 8px 16px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; color: #fff !important; background: #7c3aed !important; border: none !important; cursor: pointer !important; }
.adm-btn-secondary { display: inline-flex; align-items: center !important; padding: 8px 16px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; background: #fff !important; border: 1px solid #e5e7eb !important; text-decoration: none !important; cursor: pointer !important; }
.adm-card { border: 1px solid #e5e7eb !important; border-radius: 8px !important; background: #fff !important; overflow: hidden !important; }
.adm-card-head { padding: 12px 16px !important; border-bottom: 1px solid #e5e7eb !important; font-size: 15px !important; font-weight: 600 !important; color: #111827 !important; }
.adm-cell-left { text-align: left !important; padding: 4px 8px !important; }
.adm-hint { font-size: 13px !important; color: #6b7280 !important; margin-bottom: 16px !important; }
.adm-table { width: 100% !important; border-spacing: 0 !important; font-size: 13px !important; }
.adm-td { padding: 8px 12px !important; border-bottom: 1px solid #f3f4f6 !important; }
.adm-td-plain { padding: 8px 12px !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; }
.adm-td-right { padding: 8px 12px !important; border-bottom: 1px solid #f3f4f6 !important; text-align: right !important; }
.adm-td-strong { padding: 8px 12px !important; border-bottom: 1px solid #f3f4f6 !important; font-weight: 600 !important; color: #374151 !important; }
.adm-tfoot-cell { padding: 8px 12px !important; border-top: 2px solid #e5e7eb !important; text-align: right !important; font-size: 13px !important; color: #374151 !important; }
.adm-th { background: #f9fafb !important; text-align: left !important; padding: 8px 12px !important; font-weight: 600 !important; font-size: 12px !important; color: #374151 !important; border-bottom: 1px solid #e5e7eb !important; }
.adm-th-plain { text-align: left !important; padding: 8px 12px !important; font-weight: 600 !important; font-size: 12px !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; }
.adm-th-right { background: #f9fafb !important; text-align: right !important; padding: 8px 12px !important; font-weight: 600 !important; font-size: 12px !important; color: #374151 !important; border-bottom: 1px solid #e5e7eb !important; }

/* Dynamic percentages (bar widths and marker offsets), picked by class instead of style="". */
.pct-w-0 { width: 0%; }
.pct-w-1 { width: 1%; }
.pct-w-2 { width: 2%; }
.pct-w-3 { width: 3%; }
.pct-w-4 { width: 4%; }
.pct-w-5 { width: 5%; }
.pct-w-6 { width: 6%; }
.pct-w-7 { width: 7%; }
.pct-w-8 { width: 8%; }
.pct-w-9 { width: 9%; }
.pct-w-10 { width: 10%; }
.pct-w-11 { width: 11%; }
.pct-w-12 { width: 12%; }
.pct-w-13 { width: 13%; }
.pct-w-14 { width: 14%; }
.pct-w-15 { width: 15%; }
.pct-w-16 { width: 16%; }
.pct-w-17 { width: 17%; }
.pct-w-18 { width: 18%; }
.pct-w-19 { width: 19%; }
.pct-w-20 { width: 20%; }
.pct-w-21 { width: 21%; }
.pct-w-22 { width: 22%; }
.pct-w-23 { width: 23%; }
.pct-w-24 { width: 24%; }
.pct-w-25 { width: 25%; }
.pct-w-26 { width: 26%; }
.pct-w-27 { width: 27%; }
.pct-w-28 { width: 28%; }
.pct-w-29 { width: 29%; }
.pct-w-30 { width: 30%; }
.pct-w-31 { width: 31%; }
.pct-w-32 { width: 32%; }
.pct-w-33 { width: 33%; }
.pct-w-34 { width: 34%; }
.pct-w-35 { width: 35%; }
.pct-w-36 { width: 36%; }
.pct-w-37 { width: 37%; }
.pct-w-38 { width: 38%; }
.pct-w-39 { width: 39%; }
.pct-w-40 { width: 40%; }
.pct-w-41 { width: 41%; }
.pct-w-42 { width: 42%; }
.pct-w-43 { width: 43%; }
.pct-w-44 { width: 44%; }
.pct-w-45 { width: 45%; }
.pct-w-46 { width: 46%; }
.pct-w-47 { width: 47%; }
.pct-w-48 { width: 48%; }
.pct-w-49 { width: 49%; }
.pct-w-50 { width: 50%; }
.pct-w-51 { width: 51%; }
.pct-w-52 { width: 52%; }
.pct-w-53 { width: 53%; }
.pct-w-54 { width: 54%; }
.pct-w-55 { width: 55%; }
.pct-w-56 { width: 56%; }
.pct-w-57 { width: 57%; }
.pct-w-58 { width: 58%; }
.pct-w-59 { width: 59%; }
.pct-w-60 { width: 60%; }
.pct-w-61 { width: 61%; }
.pct-w-62 { width: 62%; }
.pct-w-63 { width: 63%; }
.pct-w-64 { width: 64%; }
.pct-w-65 { width: 65%; }
.pct-w-66 { width: 66%; }
.pct-w-67 { width: 67%; }
.pct-w-68 { width: 68%; }
.pct-w-69 { width: 69%; }
.pct-w-70 { width: 70%; }
.pct-w-71 { width: 71%; }
.pct-w-72 { width: 72%; }
.pct-w-73 { width: 73%; }
.pct-w-74 { width: 74%; }
.pct-w-75 { width: 75%; }
.pct-w-76 { width: 76%; }
.pct-w-77 { width: 77%; }
.pct-w-78 { width: 78%; }
.pct-w-79 { width: 79%; }
.pct-w-80 { width: 80%; }
.pct-w-81 { width: 81%; }
.pct-w-82 { width: 82%; }
.pct-w-83 { width: 83%; }
.pct-w-84 { width: 84%; }
.pct-w-85 { width: 85%; }
.pct-w-86 { width: 86%; }
.pct-w-87 { width: 87%; }
.pct-w-88 { width: 88%; }
.pct-w-89 { width: 89%; }
.pct-w-90 { width: 90%; }
.pct-w-91 { width: 91%; }
.pct-w-92 { width: 92%; }
.pct-w-93 { width: 93%; }
.pct-w-94 { width: 94%; }
.pct-w-95 { width: 95%; }
.pct-w-96 { width: 96%; }
.pct-w-97 { width: 97%; }
.pct-w-98 { width: 98%; }
.pct-w-99 { width: 99%; }
.pct-w-100 { width: 100%; }
.pct-left-0 { left: 0%; }
.pct-left-1 { left: 1%; }
.pct-left-2 { left: 2%; }
.pct-left-3 { left: 3%; }
.pct-left-4 { left: 4%; }
.pct-left-5 { left: 5%; }
.pct-left-6 { left: 6%; }
.pct-left-7 { left: 7%; }
.pct-left-8 { left: 8%; }
.pct-left-9 { left: 9%; }
.pct-left-10 { left: 10%; }
.pct-left-11 { left: 11%; }
.pct-left-12 { left: 12%; }
.pct-left-13 { left: 13%; }
.pct-left-14 { left: 14%; }
.pct-left-15 { left: 15%; }
.pct-left-16 { left: 16%; }
.pct-left-17 { left: 17%; }
.pct-left-18 { left: 18%; }
.pct-left-19 { left: 19%; }
.pct-left-20 { left: 20%; }
.pct-left-21 { left: 21%; }
.pct-left-22 { left: 22%; }
.pct-left-23 { left: 23%; }
.pct-left-24 { left: 24%; }
.pct-left-25 { left: 25%; }
.pct-left-26 { left: 26%; }
.pct-left-27 { left: 27%; }
.pct-left-28 { left: 28%; }
.pct-left-29 { left: 29%; }
.pct-left-30 { left: 30%; }
.pct-left-31 { left: 31%; }
.pct-left-32 { left: 32%; }
.pct-left-33 { left: 33%; }
.pct-left-34 { left: 34%; }
.pct-left-35 { left: 35%; }
.pct-left-36 { left: 36%; }
.pct-left-37 { left: 37%; }
.pct-left-38 { left: 38%; }
.pct-left-39 { left: 39%; }
.pct-left-40 { left: 40%; }
.pct-left-41 { left: 41%; }
.pct-left-42 { left: 42%; }
.pct-left-43 { left: 43%; }
.pct-left-44 { left: 44%; }
.pct-left-45 { left: 45%; }
.pct-left-46 { left: 46%; }
.pct-left-47 { left: 47%; }
.pct-left-48 { left: 48%; }
.pct-left-49 { left: 49%; }
.pct-left-50 { left: 50%; }
.pct-left-51 { left: 51%; }
.pct-left-52 { left: 52%; }
.pct-left-53 { left: 53%; }
.pct-left-54 { left: 54%; }
.pct-left-55 { left: 55%; }
.pct-left-56 { left: 56%; }
.pct-left-57 { left: 57%; }
.pct-left-58 { left: 58%; }
.pct-left-59 { left: 59%; }
.pct-left-60 { left: 60%; }
.pct-left-61 { left: 61%; }
.pct-left-62 { left: 62%; }
.pct-left-63 { left: 63%; }
.pct-left-64 { left: 64%; }
.pct-left-65 { left: 65%; }
.pct-left-66 { left: 66%; }
.pct-left-67 { left: 67%; }
.pct-left-68 { left: 68%; }
.pct-left-69 { left: 69%; }
.pct-left-70 { left: 70%; }
.pct-left-71 { left: 71%; }
.pct-left-72 { left: 72%; }
.pct-left-73 { left: 73%; }
.pct-left-74 { left: 74%; }
.pct-left-75 { left: 75%; }
.pct-left-76 { left: 76%; }
.pct-left-77 { left: 77%; }
.pct-left-78 { left: 78%; }
.pct-left-79 { left: 79%; }
.pct-left-80 { left: 80%; }
.pct-left-81 { left: 81%; }
.pct-left-82 { left: 82%; }
.pct-left-83 { left: 83%; }
.pct-left-84 { left: 84%; }
.pct-left-85 { left: 85%; }
.pct-left-86 { left: 86%; }
.pct-left-87 { left: 87%; }
.pct-left-88 { left: 88%; }
.pct-left-89 { left: 89%; }
.pct-left-90 { left: 90%; }
.pct-left-91 { left: 91%; }
.pct-left-92 { left: 92%; }
.pct-left-93 { left: 93%; }
.pct-left-94 { left: 94%; }
.pct-left-95 { left: 95%; }
.pct-left-96 { left: 96%; }
.pct-left-97 { left: 97%; }
.pct-left-98 { left: 98%; }
.pct-left-99 { left: 99%; }
.pct-left-100 { left: 100%; }

.aid-full { color: #28a745; }
.aid-partial { color: #17a2b8; }

.copy-msg { color: #16a34a; font-size: 12px; margin-left: 8px; }
.adm-btn-primary-off { display: inline-flex; align-items: center; padding: 8px 16px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; color: #fff !important; background: #c4b5fd !important; border: none !important; cursor: not-allowed !important; }
.adm-btn-danger-plain { padding: 8px 16px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; color: #fff !important; background: #dc2626 !important; border: none !important; cursor: pointer !important; }
.adm-btn-secondary-button { display: inline-flex; align-items: center !important; padding: 8px 16px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; background: #fff !important; border: 1px solid #e5e7eb !important; cursor: pointer !important; }
.adm-margin-top-8-flush { margin: 8px 0 0 !important; }
.adm-mb-16 { margin-bottom: 16px !important; }
.adm-mb-6 { margin-bottom: 6px !important; }
.adm-ml-12 { margin-left: 12px !important; }
.adm-ml-8 { margin-left: 8px !important; }
.adm-mr-1rem { margin-right: 1rem !important; }
.adm-mt-16 { margin-top: 16px !important; }
.adm-mt-8 { margin-top: 8px !important; }
.aid-head-row { background: #f8f9fa !important; }
.bar-full-width { width: 100% !important; }
.btn-neutral { padding: 8px 16px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; background: #f3f4f6 !important; border: 1px solid #d1d5db !important; cursor: pointer !important; }
.bulk-btn-blue { background: #007bff !important; }
.bulk-btn-green { background: #28a745 !important; }
.bullet-list { list-style: disc !important; padding-left: 20px !important; }
.button-row-wrap { display: flex; gap: 8px !important; margin-top: 16px !important; flex-wrap: wrap !important; }
.callout-danger { padding: 12px 16px !important; background: #fef2f2 !important; border: 1px solid #fecaca !important; border-radius: 8px !important; font-size: 13px !important; color: #991b1b !important; }
.callout-ok { padding: 12px 16px !important; background: #f0fdf4 !important; border: 1px solid #bbf7d0 !important; border-radius: 8px !important; font-size: 13px !important; color: #166534 !important; }
.callout-warn { padding: 12px 16px !important; background: #fffbeb !important; border: 1px solid #fde68a !important; border-radius: 8px !important; font-size: 13px !important; color: #92400e !important; }
.card-grid-280-fill { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
.card-grid-280-fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; }
.card-grid-340-fill { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)) !important; }
.cell-compact { padding: 4px 8px !important; }
.checkbox-1rem { width: 1rem !important; height: 1rem !important; }
.clear-floats { clear: both !important; }
.clickable-row { cursor: pointer !important; }
.confirm-checkbox-row { display: flex; align-items: center !important; gap: 8px !important; margin-top: 16px !important; font-size: 13px !important; color: #374151 !important; }
.danger-text { color: #dc2626 !important; }
.day-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important; }
.field-label-bold { display: block; font-weight: 600 !important; margin-bottom: 6px !important; font-size: 13px !important; }
.field-label-spaced { display: block; font-size: 13px !important; margin: 12px 0 4px 0 !important; }
.field-label-tight { display: block; font-size: 13px !important; margin-bottom: 4px !important; }
.fieldset-plain { margin-top: 16px !important; font-size: 13px !important; color: #374151 !important; border: 0 !important; padding: 0 !important; }
.filter-grid-gap { gap: 0.375rem 1.25rem !important; }
.full-badge { display: inline-flex; align-items: center !important; gap: 4px !important; padding: 2px 8px !important; border-radius: 999px !important; background: #fffbeb !important; border: 1px solid #fde68a !important; color: #92400e !important; font-size: 12px !important; font-weight: 600 !important; }
.heading-semibold-tight { font-weight: 600 !important; margin-bottom: 8px !important; }
.hint-flush { font-size: 13px !important; color: #6b7280 !important; margin: 0 !important; }
.hint-small { font-size: 13px !important; color: #6b7280 !important; margin-top: 4px !important; }
.hint-small-flush { font-size: 13px !important; color: #6b7280 !important; margin-top: 4px !important; margin-bottom: 0 !important; }
.icon-18 { font-size: 18px !important; }
.indent-error { margin: 0 0 16px 22px !important; font-size: 13px !important; color: #991b1b !important; }
.indent-field { margin: 0 0 4px 22px !important; }
.indent-hint { margin: 0 0 16px 22px !important; font-size: 13px !important; color: #6b7280 !important; }
.input-medium { max-width: 28rem !important; }
.label-cell { padding: 8px 12px !important; border-bottom: 1px solid #f3f4f6 !important; font-weight: 600 !important; color: #374151 !important; width: 200px !important; }
.label-normal-muted { font-weight: normal !important; color: #6b7280 !important; }
.label-strong-13 { font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; }
.lead-dark { font-size: 13px !important; color: #374151 !important; margin-bottom: 16px !important; }
.lead-dark-tight { font-size: 13px !important; color: #374151 !important; margin-bottom: 12px !important; }
.legend-amber { background: #f59e0b !important; }
.legend-blue { background: #2563eb !important; }
.legend-green { background: #16a34a !important; }
.legend-red { background: #dc2626 !important; }
.link-small { font-size: 12px !important; color: #2563eb !important; text-decoration: underline !important; }
.list-hint { margin: 4px 0 0 !important; padding-left: 18px !important; font-size: 13px !important; color: #6b7280 !important; }
.list-small-flush { margin: 0 !important; padding-left: 15px !important; font-size: 12px !important; }
.menu-scroll { max-height: 20rem !important; }
.monospace-break { font-family: ui-monospace, monospace !important; word-break: break-all !important; }
.monospace-text { font-family: ui-monospace, monospace !important; }
.muted-text { color: #6b7280 !important; }
.no-flex { flex: 0 0 auto !important; }
.note-small-muted { font-size: 12px !important; color: #6b7280 !important; }
.ok-text { color: #16a34a !important; }
.pad-16 { padding: 16px !important; }
.period-description { margin: 0.75rem 0 0 !important; font-size: 0.9rem !important; color: #444 !important; }
.plain-link { text-decoration: none !important; }
.reason-textarea { width: 100% !important; max-width: 600px !important; border: 1px solid #e5e7eb !important; border-radius: 6px !important; padding: 8px !important; font-size: 13px !important; box-sizing: border-box !important; }
.reassign-card { border: 1px solid #e5e7eb !important; border-radius: 8px !important; background: #fff !important; overflow: hidden !important; padding: 16px !important; }
.reassign-th { background: #f9fafb !important; text-align: left !important; padding: 8px 12px !important; font-weight: 600 !important; font-size: 12px !important; color: #374151 !important; border-bottom: 1px solid #e5e7eb !important; width: 40px !important; }
.refund-card-spaced { border: 1px solid #e5e7eb !important; border-radius: 8px !important; background: #fff !important; overflow: hidden !important; margin-top: 16px !important; padding: 16px !important; }
.reject-error-list { color: #dc2626 !important; font-size: 13px !important; margin-top: 4px !important; padding-left: 20px !important; }
.report-filter-col { flex: 1 1 24rem !important; min-width: 14rem !important; }
.row-center-gap { display: flex; align-items: center !important; gap: 8px !important; }
.row-top-gap { display: flex; align-items: flex-start !important; gap: 8px !important; }
.row-top-gap-tight { display: flex; align-items: flex-start !important; gap: 8px !important; margin-bottom: 6px !important; }
.select-narrow { max-width: 20rem !important; }
.small-note-tight { font-size: 12px !important; margin-top: 2px !important; }
.small-text-13 { font-size: 13px !important; }
.span-all-columns { grid-column: 1 / -1 !important; }
.table-collapse { width: 100% !important; border-collapse: collapse !important; }
.table-scroll-inner { width: 1px !important; min-width: 100% !important; }
.td-plain-right { padding: 8px 12px !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; text-align: right !important; }
.text-aid-full { color: #28a745 !important; }
.text-payment-error { color: #dc3545 !important; }
.th-plain-right { text-align: right !important; padding: 8px 12px !important; font-weight: 600 !important; font-size: 12px !important; border-bottom-width: 1px !important; border-bottom-style: solid !important; }
.total-rule-cell { padding: 8px 12px !important; border-top: 2px solid #e5e7eb !important; }
.transfer-panel { border-width: 1px !important; border-style: solid !important; border-radius: 8px !important; padding: 16px !important; }
.transfer-panel-scroll { border-width: 1px !important; border-style: solid !important; border-radius: 8px !important; overflow-x: auto !important; }
.transfer-panel-spaced { border-width: 1px !important; border-style: solid !important; border-radius: 8px !important; margin-top: 16px !important; padding: 16px !important; }
.warn-note { font-size: 12px !important; color: #b45309 !important; margin-top: 4px !important; }
.warn-note-tight { font-size: 12px !important; color: #b45309 !important; margin-top: 2px !important; }
.widget-preview-col { flex-basis: 400px !important; }
.wrap-anywhere { word-break: break-all !important; }
.transfer-delta-inline { display: none; }
@media (max-width: 639px) { .transfer-delta-inline { display: block; margin-top: 4px; font-size: 13px; } .transfer-delta-col { display: none; } }
