.resource-card{margin:16px 0;padding:20px;border:1px solid #d6e2e1;border-radius:12px;background:#fff;color:#183b49;font:inherit}.resource-card h2,.resource-card h3{font-size:18px;margin:0 0 10px}.resource-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.resource-card label{display:grid;gap:6px;font-size:14px;line-height:1.5}.resource-card .input{width:100%;min-height:40px;font:inherit;box-sizing:border-box}.resource-grid,.resource-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.resource-stats>div{background:#f1f7f6;border-radius:9px;padding:14px;display:grid;gap:6px}.resource-stats strong{font-size:20px}.resource-stats small,.resource-note{font-size:13px;line-height:1.65;color:#526a74}.resource-card details{margin:12px 0;border-top:1px solid #dce6e5;padding-top:12px}.resource-card summary{cursor:pointer;font-size:14px;font-weight:700;padding:6px 0}.resource-card .resource-check{display:flex;align-items:center;gap:8px;margin:12px 0}.resource-error{color:#a92222}.resource-notice{background:#fff5df;padding:10px;border-radius:8px}.resource-request{padding:12px;border-bottom:1px solid #dce6e5}.resource-card [role=status]{min-height:1.4em;font-size:13px}.resource-card button{min-height:38px;font:inherit}.resource-card li{margin:6px 0}.resource-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.resource-card input[type=checkbox]{width:18px;height:18px;flex:none}@media(max-width:650px){.resource-card{padding:14px}.resource-grid,.resource-stats,.resource-plan-grid{grid-template-columns:1fr}.resource-head{align-items:flex-start}.resource-card button{white-space:normal}}@media print{.resource-card{display:none!important}}

.resource-dialog{width:min(760px,calc(100vw - 32px));max-height:88vh;box-sizing:border-box;padding:20px;border:1px solid #cededd;border-radius:14px;color:#183b49;font:inherit}.resource-dialog::backdrop{background:#173b4966}.resource-dialog .resource-card{margin-bottom:0}.resource-ai-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:10px 12px;margin:10px 0;background:#f0f7f6;border:1px solid #d6e2e1;border-radius:9px;font:inherit;font-size:13px}.resource-ai-inline>span{flex:1 1 250px}.resource-ai-inline small{display:block;margin-top:4px}.resource-ai-inline button,.resource-dialog button{min-height:36px;font:inherit}.resource-request{overflow-wrap:anywhere}.resource-request input{max-width:100%}@media print{.resource-ai-inline,.resource-dialog{display:none!important}}

.resource-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 18px;padding:4px;background:#edf4f2;border-radius:10px}.resource-tabs button{flex:1;border:0;border-radius:7px}.resource-tabs button[aria-pressed=true]{background:#16766e;color:white}.resource-card [data-r-area][hidden]{display:none!important}
#clinicResourceUsage .resource-card{margin:12px 0;padding:14px}#clinicResourceUsage .resource-head h3{font-size:16px}#subscriptionBillingPanel summary{cursor:pointer;font-weight:700;padding:10px 0}#billingChangePlan,#billingEndPlan{border-top:1px solid #d6e2e1;margin-top:12px}

.billing-change-table{display:grid;border:1px solid #d6e2e1;border-radius:9px;overflow:hidden;margin-top:12px;font-size:13px;line-height:1.6}.billing-change-table>[role=row]{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding:9px 12px;border-bottom:1px solid #e3ebea;overflow-wrap:anywhere}.billing-change-table>[role=row]:first-child{background:#e9f3f1}.billing-change-table>[role=row]:last-child{border:0}.billing-reservation{padding:14px;margin:12px 0;background:#eef6f4;border:1px solid #c7dfda;border-radius:9px}.billing-reservation p{font-size:13px;line-height:1.6}.billing-reservation button{margin:4px 0}.resource-head [data-r-dirty]{color:#996019;font-size:13px}#billingChangeComparison{min-width:0}@media(max-width:600px){.billing-change-table>[role=row]{gap:6px;padding:8px}.resource-head:has([data-r-dirty]){flex-wrap:wrap}}
