.op-page-heading { gap: 24px; }
.op-page-heading .eyebrow { font-size: 9px; margin: 0 0 8px; letter-spacing: 1.55px; }
.op-page-description { margin: 12px 0 0; font-size: 14px; line-height: 1.6; }
.op-report-summary { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.op-summary-card { min-height: 138px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 23px 26px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 9px; }
.op-summary-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.op-summary-card > strong { color: var(--ink); font-size: 35px; font-weight: 600; line-height: 1; letter-spacing: -1.6px; }
.op-summary-note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.op-summary-main { background: var(--forest); color: #fff; border-color: transparent; display: grid; grid-template-columns: 48px 1fr; column-gap: 17px; row-gap: 8px; }
.op-summary-main .op-summary-label { color: #cbdbd2; }
.op-summary-main .op-summary-note { grid-column: 2; color: var(--lime); }
.op-summary-main strong { display: flex; gap: 10px; align-items: baseline; font-size: 39px; line-height: 1; letter-spacing: -1.6px; margin-top: 9px; }
.op-summary-main strong span { color: #cbdbd2; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.op-summary-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--lime); border-radius: 15px; background: #ffffff0e; border: 1px solid #ffffff16; }
.op-report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 24px; align-items: start; }
.op-report-panel { overflow: hidden; }
.op-panel-top { padding: 23px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.op-panel-caption { color: var(--muted); font-size: 11px; margin: 7px 0 0; }
.op-tabs { display: flex; gap: 5px; padding: 4px; border-radius: 11px; background: #f4f6f1; flex-wrap: wrap; }
.op-tab { border: 0; background: transparent; cursor: pointer; border-radius: 8px; padding: 8px 9px; color: var(--muted); font: inherit; font-size: 11px; font-weight: 500; display: flex; align-items: center; gap: 7px; transition: color .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.op-tab.active { color: var(--ink); background: #fff; box-shadow: 0 1px 5px #203e3510; }
.op-tab > span { font-size: 10px; padding: 2px 5px; border-radius: 4px; color: var(--muted); background: #e9eee6; }
.op-search { color: #8b9990; display: flex; align-items: center; gap: 9px; min-width: 170px; border: 1px solid var(--line); padding: 9px 12px; border-radius: 10px; background: #fff; }
.op-search input { min-width: 0; width: 100%; border: 0; padding: 0; margin: 0; color: var(--ink); font: inherit; font-size: 11px; background: transparent; outline: none; }
.op-search input::placeholder { color: #9ba59d; }
.op-search:focus-within { outline: 2px solid #244d4028; border-color: #819d8b; }
.op-reports-table th:first-child, .op-reports-table td:first-child { padding-left: 24px; }
.op-reports-table td { vertical-align: middle; }
.op-report-link { display: flex; align-items: center; gap: 12px; border: 0; padding: 0; background: transparent; cursor: pointer; color: var(--ink); text-align: left; font: inherit; }
.op-report-link > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.op-report-link strong { font-size: 12px; font-weight: 600; max-width: 215px; line-height: 1.5; }
.op-report-link small { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 10px; }
.op-product-thumb { width: 43px; height: 43px; object-fit: contain; padding: 5px; background: #f2f4ee; border: 1px solid #eaeee5; border-radius: 10px; flex-shrink: 0; box-sizing: border-box; }
.op-product-thumb.large { width: 72px; height: 72px; border-radius: 16px; padding: 10px; }
.op-thumb-fallback { display: inline-flex; align-items: center; justify-content: center; color: #8a9d8b; }
.op-table-name { display: block; color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1.5; }
.op-table-secondary { display: block; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.5; margin-top: 4px; }
.op-nowrap { white-space: nowrap; }
.op-status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; display: inline-block; }
.op-priority-dot { width: 5px; height: 5px; border-radius: 50%; background: #c78362; display: inline-block; }
.op-row-arrow { color: #8a9a8e; }
.op-report-aside { display: grid; gap: 20px; }
.op-attention-card { padding: 24px; border-radius: 19px; background: #f0e7dc; border: 1px solid #e9ded1; }
.op-attention-label { display: inline-flex; gap: 7px; align-items: center; color: #997454; font-size: 10px; font-weight: 600; }
.op-attention-card h3 { margin: 23px 0 12px; color: var(--ink); font-size: 22px; line-height: 1.35; letter-spacing: -.7px; font-weight: 600; }
.op-attention-card p { margin: 0; color: #897b6e; font-size: 11px; line-height: 1.75; overflow-wrap: anywhere; }
.op-attention-meta { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #817c6e; margin: 19px 0 21px; }
.op-attention-card .button { width: 100%; justify-content: space-between; font-size: 11px; }
.op-attention-clear { background: #ebf0df; border-color: #e3ead7; }
.op-attention-clear .op-attention-label { color: #618052; }
.op-attention-clear p { color: #829277; }
.op-care-card { padding: 24px; }
.op-care-card h3 { font-size: 15px; font-weight: 600; letter-spacing: -.3px; margin: 10px 0 26px; }
.op-care-step { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; }
.op-care-step > span { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #7d9673; border: 1px solid #e6ecdf; border-radius: 8px; background: #f4f7ed; flex-shrink: 0; }
.op-care-step strong { color: var(--ink); font-size: 11px; font-weight: 500; }
.op-care-step p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 5px 0 0; }
.op-empty { min-height: 205px; padding: 38px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; color: var(--muted); }
.op-empty h3 { margin: 16px 0 6px; font-size: 15px; color: var(--ink); font-weight: 600; }
.op-empty p { font-size: 12px; line-height: 1.6; max-width: 340px; margin: 0; }
.op-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.op-drawer-report-heading { display: flex; gap: 8px; align-items: center; margin-bottom: 23px; }
.op-drawer-product { padding: 17px; border: 1px solid var(--line); border-radius: 16px; display: flex; align-items: center; gap: 17px; background: #fff; }
.op-drawer-product h3 { font-size: 15px; margin: 8px 0 6px; font-weight: 600; letter-spacing: -.3px; }
.op-drawer-product p { font-size: 11px; margin: 0; line-height: 1.5; }
.op-drawer-product .eyebrow { font-size: 9px; }
.op-report-description { margin-top: 26px; }
.op-report-description > p:last-child { color: #5e7065; font-size: 13px; line-height: 1.85; margin: 11px 0 0; white-space: pre-line; }
.op-detail-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 23px 0; margin: 5px 0 9px; border-bottom: 1px solid var(--line); }
.op-detail-pair > div { display: flex; flex-direction: column; gap: 8px; }
.op-detail-pair span { color: var(--muted); font-size: 10px; }
.op-detail-pair strong { color: var(--ink); font-size: 11px; font-weight: 500; }
.op-drawer-form { display: grid; gap: 21px; margin: 21px 0; }
.op-drawer-form .field { display: flex; flex-direction: column; gap: 9px; }
.op-drawer-form .field > span { font-size: 11px; color: var(--ink); font-weight: 500; }
.op-drawer-form input, .op-drawer-form select { border: 1px solid var(--line); color: var(--ink); background: #fff; border-radius: 10px; padding: 13px 14px; width: 100%; font: inherit; font-size: 12px; box-sizing: border-box; min-height: 44px; }
.op-drawer-form input:focus, .op-drawer-form select:focus { outline: 2px solid #244d4028; border-color: #8ba28d; }
.op-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.op-maintenance-note { display: flex; align-items: flex-start; gap: 13px; padding: 18px; border-radius: 14px; background: #f1f4e9; margin-top: 26px; }
.op-maintenance-icon { padding-top: 2px; color: #7f916f; }
.op-maintenance-note strong { color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.5; }
.op-maintenance-note p { color: #8a977f; font-size: 11px; line-height: 1.7; margin: 6px 0 10px; }
.op-text-button { font: inherit; font-size: 11px; font-weight: 600; color: var(--forest); padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.op-text-button:hover { color: #547653; }
.op-billing-summary { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; margin-bottom: 22px; }
.op-value-card { overflow: hidden; position: relative; padding: 31px 32px; border-radius: 22px; color: white; background: var(--forest); display: flex; justify-content: space-between; min-height: 169px; box-sizing: border-box; }
.op-value-card > div:first-child { position: relative; z-index: 1; }
.op-value-label { color: #c8d9ca; font-size: 11px; font-weight: 500; }
.op-value-card strong { display: block; margin: 14px 0 16px; font-weight: 500; font-size: 35px; letter-spacing: -1.4px; line-height: 1.15; }
.op-value-card p { color: #afc6b6; font-size: 10px; margin: 0; }
.op-value-symbol { display: inline-flex; justify-content: center; align-items: center; width: 52px; height: 52px; border-radius: 16px; border: 1px solid #ffffff16; background: #ffffff0b; color: var(--lime); position: relative; z-index: 1; }
.op-value-decoration { position: absolute; right: -42px; bottom: -145px; width: 300px; height: 300px; border: 1px solid #ffffff12; border-radius: 50%; pointer-events: none; }
.op-value-decoration::before, .op-value-decoration::after { content: ''; position: absolute; inset: 22px; border: 1px solid #ffffff10; border-radius: 50%; }
.op-value-decoration::after { inset: 46px; }
.op-billing-breakdown { padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.op-billing-breakdown > div { display: grid; gap: 12px; }
.op-billing-breakdown strong { font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -.9px; }
.op-breakdown-divider { display: block; height: 77px; width: 1px; background: var(--line); flex-shrink: 0; }
.op-billing-notice { display: flex; align-items: center; gap: 10px; color: #799273; background: #eef2e5; padding: 13px 18px; border-radius: 11px; margin-bottom: 28px; }
.op-billing-notice p { font-size: 11px; line-height: 1.6; margin: 0; flex: 1; }
.op-billing-notice .op-text-button { white-space: nowrap; font-size: 10px; }
.op-receipts-panel { overflow: hidden; }
.op-ledger-tools { display: flex; align-items: center; gap: 11px; }
.op-compact-select { position: relative; display: flex; align-items: center; color: #7d8d80; }
.op-compact-select select { appearance: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 30px 10px 12px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; min-height: 38px; cursor: pointer; }
.op-compact-select > svg { pointer-events: none; position: absolute; right: 10px; }
.op-ledger-table td, .op-ledger-table th { white-space: nowrap; }
.op-ledger-table td:first-child, .op-ledger-table th:first-child { padding-left: 24px; }
.op-ledger-link { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; background: transparent; cursor: pointer; color: var(--ink); text-align: left; font: inherit; }
.op-ledger-link strong { font-size: 12px; font-weight: 500; }
.op-ledger-link small { font-size: 10px; color: var(--muted); }
.op-align-right { text-align: right !important; }
.op-table-amount { font-size: 12px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.op-receipt-preview { border: 1px solid var(--line); border-radius: 18px; padding: 25px; background: white; margin-top: 8px; }
.op-receipt-brand { display: flex; align-items: center; gap: 8px; padding-bottom: 21px; border-bottom: 1px dashed #d9e1d3; font-size: 14px; font-weight: 600; color: var(--ink); }
.op-receipt-brand > .badge { margin-left: auto; font-size: 9px; }
.op-receipt-item { padding: 27px 0 25px; text-align: center; }
.op-receipt-item .op-product-thumb { margin: 0 auto; }
.op-receipt-item h3 { font-size: 18px; font-weight: 600; letter-spacing: -.4px; margin: 15px 0 7px; }
.op-receipt-item p { color: var(--muted); font-size: 11px; margin: 0; }
.op-receipt-details { margin: 0; padding: 20px 0; border-top: 1px dashed #d9e1d3; border-bottom: 1px dashed #d9e1d3; display: grid; gap: 17px; }
.op-receipt-details > div { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; line-height: 1.5; }
.op-receipt-details dt { color: var(--muted); }
.op-receipt-details dd { margin: 0; color: var(--ink); text-align: right; font-weight: 500; }
.op-receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 23px; }
.op-receipt-total > span { color: var(--ink); font-size: 12px; font-weight: 500; }
.op-receipt-total > strong { color: var(--forest); font-size: 25px; letter-spacing: -.8px; font-weight: 600; }
.op-receipt-footnote { color: #9aa795; font-size: 10px; line-height: 1.8; text-align: center; margin: 26px 0 0; }
.op-team-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 24px; align-items: start; }
.op-team-panel { overflow: hidden; }
.op-team-panel .section-title { display: flex; gap: 8px; align-items: center; }
.op-count-pill { color: #789273; font-size: 10px; background: #f0f4e9; border: 1px solid #e9efdf; border-radius: 6px; padding: 3px 7px; font-weight: 500; }
.op-team-table td:first-child, .op-team-table th:first-child { padding-left: 24px; }
.op-person { display: flex; align-items: center; gap: 12px; }
.op-person > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.op-person strong { color: var(--ink); font-size: 12px; font-weight: 500; }
.op-person small { color: var(--muted); font-size: 10px; }
.op-role-label { display: inline-flex; align-items: center; gap: 6px; color: #637768; font-size: 11px; }
.op-team-footer { padding: 17px 24px; border-top: 1px solid var(--line); display: flex; align-items: flex-start; gap: 8px; color: #96a490; background: #fbfcf8; }
.op-team-footer p { font-size: 10px; line-height: 1.7; margin: 0; max-width: 570px; }
.op-team-footer > svg { flex-shrink: 0; margin-top: 1px; }
.op-role-guide { padding: 25px; background: #f1f4e8; border-color: #e8eedd; }
.op-role-guide-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 13px; color: #648453; background: #e8efdb; }
.op-role-guide h3 { margin: 22px 0 25px; font-size: 22px; line-height: 1.35; letter-spacing: -.7px; font-weight: 600; }
.op-role-guide > div { padding-top: 18px; border-top: 1px solid #e1e7d6; margin-top: 17px; }
.op-role-guide strong { color: var(--ink); font-size: 12px; font-weight: 500; }
.op-role-guide p { color: #8a977e; font-size: 11px; line-height: 1.7; margin: 6px 0 0; }
.op-activity-panel { margin-top: 25px; overflow: hidden; }
.op-activity-panel .eyebrow { margin-bottom: 10px; }
.op-history-note { color: #9aa693; font-size: 11px; }
.op-activity-list { padding: 4px 24px; }
.op-activity-row { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.op-activity-row:last-child { border-bottom: 0; }
.op-activity-icon { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; flex-shrink: 0; border-radius: 10px; color: #88a17d; background: #f2f5ec; }
.op-activity-row > div { display: flex; flex-direction: column; gap: 6px; }
.op-activity-row strong { color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1.5; }
.op-activity-row span { color: var(--muted); font-size: 10px; }
.op-activity-row time { margin-left: auto; color: #9aa693; font-size: 10px; white-space: nowrap; }
.op-team-form-intro { display: flex; align-items: center; gap: 14px; padding: 18px; background: #f3f6ed; border: 1px solid #e8eedd; border-radius: 15px; margin-bottom: 25px; }
.op-team-form-intro strong { color: var(--ink); font-size: 13px; font-weight: 500; }
.op-team-form-intro p { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 5px 0 0; }
.op-role-permission-preview { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; background: #fcfdf9; padding: 16px; color: #91a086; }
.op-role-permission-preview > svg { flex-shrink: 0; }
.op-role-permission-preview > span { font-size: 11px; line-height: 1.7; }
.op-form-error { padding: 12px 14px; border-radius: 10px; background: #fcf1ea; color: #a57252; font-size: 11px; line-height: 1.7; margin: 0; }
.op-draft-note { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 25px; }
.op-draft-note > svg { flex-shrink: 0; margin-top: 2px; }
.op-danger-button { background: #9b624c !important; border-color: #9b624c !important; }
.op-danger-button:disabled { opacity: .38; cursor: not-allowed; }
[hidden] { display: none !important; }

@media (max-width: 1280px) {
  .op-report-layout { grid-template-columns: minmax(0, 1fr) 246px; gap: 18px; }
  .op-report-panel .op-panel-top { align-items: stretch; }
  .op-report-panel .op-search { flex: 1; }
  .op-team-layout { grid-template-columns: minmax(0, 1fr) 247px; gap: 18px; }
  .op-billing-breakdown { padding: 25px; gap: 18px; }
  .op-billing-breakdown strong { font-size: 23px; }
  .op-report-link strong { max-width: 180px; }
}
@media (max-width: 1080px) {
  .op-report-layout, .op-team-layout { grid-template-columns: minmax(0, 1fr); }
  .op-report-aside { grid-template-columns: 1fr 1fr; }
  .op-report-panel .op-panel-top { align-items: center; }
  .op-report-panel .op-search { flex: 0 1 190px; }
  .op-role-guide { display: grid; grid-template-columns: 43px 1fr 1fr; column-gap: 22px; }
  .op-role-guide h3 { margin: 0; grid-column: 2 / -1; align-self: center; font-size: 19px; }
  .op-role-guide > div { grid-column: auto; }
  .op-role-guide > div:nth-of-type(1) { grid-column: 2; }
  .op-role-guide > div:nth-of-type(3) { grid-column: 2; }
  .op-billing-summary { grid-template-columns: 1fr; gap: 16px; }
  .op-billing-breakdown { justify-content: flex-start; gap: 35px; }
  .op-billing-breakdown > div { flex: 1; }
  .op-breakdown-divider { height: 65px; }
}
@media (max-width: 720px) {
  .op-page-heading { align-items: flex-start; flex-direction: column; }
  .op-page-description { font-size: 12px; }
  .op-report-summary { gap: 10px; margin-bottom: 18px; grid-template-columns: 1fr 1fr; }
  .op-summary-main { grid-column: 1 / -1; padding: 20px; min-height: 127px; }
  .op-summary-card:not(.op-summary-main) { padding: 20px; min-height: 122px; border-radius: 16px; }
  .op-summary-card > strong { font-size: 29px; }
  .op-report-aside { grid-template-columns: 1fr; }
  .op-care-card { display: none; }
  .op-panel-top { padding: 19px 18px; gap: 16px; }
  .op-report-panel .op-panel-top { align-items: stretch; flex-direction: column; }
  .op-report-panel .op-search { flex: auto; }
  .op-tabs { justify-content: space-between; gap: 2px; }
  .op-tab { padding: 8px 6px; font-size: 10px; gap: 4px; }
  .op-tab > span { padding: 2px 4px; font-size: 9px; }
  .op-reports-table, .op-ledger-table, .op-team-table { min-width: 625px; }
  .op-report-link strong { max-width: 195px; }
  .op-reports-table th:first-child, .op-reports-table td:first-child, .op-ledger-table th:first-child, .op-ledger-table td:first-child, .op-team-table th:first-child, .op-team-table td:first-child { padding-left: 18px; }
  .op-value-card { padding: 25px; min-height: 166px; border-radius: 18px; }
  .op-value-card strong { font-size: 31px; }
  .op-billing-breakdown { padding: 23px; gap: 20px; }
  .op-billing-breakdown strong { font-size: 22px; }
  .op-billing-breakdown .op-summary-label, .op-billing-breakdown .op-summary-note { font-size: 10px; }
  .op-billing-notice { flex-wrap: wrap; padding: 15px; }
  .op-billing-notice > svg { align-self: flex-start; margin-top: 2px; }
  .op-billing-notice .op-text-button { margin-left: 27px; }
  .op-ledger-tools { width: 100%; }
  .op-ledger-tools .op-search { flex: 1; min-width: 100px; }
  .op-role-guide { display: block; }
  .op-role-guide h3 { margin-top: 18px; margin-bottom: 23px; }
  .op-role-guide > div { margin-top: 14px; padding-top: 14px; }
  .op-role-guide-icon { width: 38px; height: 38px; }
  .op-activity-list { padding: 3px 18px; }
  .op-history-note { display: none; }
  .op-activity-row { align-items: flex-start; }
  .op-activity-row time { font-size: 9px; padding-top: 2px; }
  .op-team-footer { padding: 16px 18px; }
  .op-form-grid { grid-template-columns: 1fr; }
  .op-receipt-preview { padding: 20px; }
  .op-receipt-brand { font-size: 12px; }
  .op-receipt-brand > .badge { font-size: 8px; }
  .op-receipt-details > div { font-size: 10px; }
  .op-receipt-total > strong { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .op-tab { transition: none; }
}
