/* Plan & billing card, upgrade prompt, report watermark / branding. */
.billing-card h3 { margin-top: 0; }
.bill-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; }
.bill-plan { font-size: 1.4rem; font-weight: 700; }
.bill-notice { border-radius: 10px; padding: .7rem .9rem; margin: .7rem 0; border: 1px solid var(--line); background: var(--surface-2, #f7f3ec); }
.bill-notice.warn { border-color: #d9a441; background: #fff6df; color: #4a3500; }
.bill-notice.info { border-color: #9ab8d8; background: #eef5fc; color: #14304d; }
.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; margin: .8rem 0; }
.usage { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.usage b { display: block; font-size: 1.15rem; }
.meter { height: 8px; border-radius: 4px; background: var(--line, #ddd); overflow: hidden; margin-top: .35rem; }
.meter > i { display: block; height: 100%; background: var(--accent, #c65d3b); }
.meter.warn > i { background: #d9a441; } .meter.over > i { background: #b3261e; }
.interval-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: .4rem 0; }
.interval-toggle button { border: 0; background: transparent; padding: .45rem 1rem; font: inherit; min-height: 44px; cursor: pointer; }
.interval-toggle button[aria-pressed="true"] { background: var(--accent, #c65d3b); color: #fff; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; margin-top: .6rem; }
.plan-card { border: 2px solid var(--line); border-radius: 12px; padding: .9rem; display: flex; flex-direction: column; gap: .4rem; }
.plan-card.current { border-color: var(--accent, #c65d3b); }
.plan-card h4 { margin: 0; font-size: 1.1rem; }
.plan-card .price { font-size: 1.5rem; font-weight: 700; }
.plan-card ul { margin: .2rem 0; padding-left: 1.1rem; flex: 1; }
.plan-card .btn { width: 100%; justify-content: center; }
.upgrade-prompt .modal-body p { margin: .5rem 0; }
.brand-card input { max-width: 28rem; }

/* Free-plan watermark: fixed => repeated on every printed page; ignores clicks */
.wm-overlay { position: fixed; inset: 0; z-index: 40; pointer-events: none; display: grid; place-items: center; overflow: hidden; }
.wm-overlay span { transform: rotate(-30deg); font-size: clamp(1.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: .04em; color: rgba(60, 60, 60, .13); white-space: nowrap; border: 4px solid rgba(60, 60, 60, .13); padding: .3em .6em; border-radius: .3em; }
.brand-head { display: flex; gap: .8rem; align-items: baseline; border-bottom: 2px solid var(--accent, #c65d3b); padding-bottom: .4rem; margin-bottom: .8rem; }
.brand-head b { font-size: 1.25rem; } .brand-head span { color: #667; }
@media print { .wm-overlay span { color: rgba(60, 60, 60, .16); border-color: rgba(60, 60, 60, .16); } }

/* "Customize your plan": Crew add-on steppers + live total */
.customize { margin-top: 1rem; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: var(--surface-2, #f7f3ec); }
.customize h4 { margin: 0 0 .2rem; font-size: 1.15rem; }
.addon-row { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; padding: .65rem 0; border-top: 1px solid var(--line); }
.addon-row:first-of-type { margin-top: .6rem; }
.addon-info { display: flex; flex-direction: column; gap: .1rem; min-width: 12rem; flex: 1; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface, #fff); overflow: hidden; }
.step-btn { width: 48px; height: 48px; border: 0; background: transparent; font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; color: inherit; }
.step-btn:hover:not([disabled]) { background: rgba(198, 93, 59, .12); }
.step-btn[disabled] { opacity: .35; cursor: default; }
.step-btn:focus-visible { outline: 3px solid var(--accent, #c65d3b); outline-offset: -3px; }
.step-val { min-width: 2.6rem; text-align: center; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.addon-summary { margin-top: .4rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.addon-lines { list-style: none; margin: 0 0 .4rem; padding: 0; display: grid; gap: .2rem; }
.addon-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.addon-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.addon-total b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.customize .btn.primary { margin-top: .6rem; width: 100%; justify-content: center; }

/* Pro-only feature hints: quiet, never blocking */
.pro-banner { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; border: 1px solid var(--line); border-left: 4px solid var(--accent, #c65d3b); border-radius: 10px; padding: .55rem .8rem; margin: 0 0 .9rem; background: var(--surface-2, #f7f3ec); font-size: .95rem; }
.pro-banner > span:nth-child(2) { flex: 1; min-width: 14rem; }
.pro-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent, #c65d3b); border-radius: 999px; padding: .1rem .55rem; }
.pro-upsell { text-align: center; padding: 1.6rem 1.2rem; }
.pro-upsell .btn-row { justify-content: center; }
@media print { .pro-banner { display: none; } }
