html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.workspace-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 8px 42px;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.page-head h1 {
    margin: 0;
    color: #18212f;
    font-size: 30px;
    font-weight: 800;
}

.eyebrow {
    margin: 0 0 4px;
    color: #1f7a5a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ops-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 16px;
}

.ops-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surface-panel,
.metric-tile {
    background: #ffffff;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(24, 33, 47, 0.06);
}

.metric-tile {
    color: #18212f;
    text-decoration: none;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-tile span,
.muted {
    color: #657085;
    font-size: 13px;
    font-weight: 700;
}

.metric-tile strong {
    font-size: 22px;
}

.muted-tile {
    opacity: .72;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.section-title h2 {
    margin: 0;
    color: #18212f;
    font-size: 20px;
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
}

.status-pill.ok {
    background: #eaf2ef;
    color: #14553e;
}

.status-pill.warning {
    background: #fff1d6;
    color: #8a5a00;
}

.status-pill.pending {
    background: #eef2f7;
    color: #4c5868;
}

.field-label {
    display: block;
    margin: 12px 0 6px;
    color: #394456;
    font-size: 13px;
    font-weight: 800;
}

.form-field {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cfd8e3;
    border-radius: 7px;
    padding: 9px 11px;
    color: #18212f;
    background: #f8fafc;
}

.activation-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.activation-code {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 16px;
    letter-spacing: .04em;
}

.file-field {
    padding: 8px;
}

.btn-primary-action,
.btn-secondary {
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    padding: 9px 14px;
    font-weight: 800;
}

.btn-primary-action {
    width: 100%;
    margin-top: 16px;
    color: #fff;
    background: #1f7a5a;
}

.btn-secondary {
    color: #18212f;
    background: #dce3ea;
}

button:disabled {
    opacity: .55;
}

.status-list {
    margin: 18px 0 0;
}

.status-list div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f5;
}

.status-list dt {
    color: #657085;
    font-weight: 800;
}

.status-list dd {
    margin: 0;
    color: #18212f;
    word-break: break-word;
}

.empty-state,
.message-box {
    margin-top: 16px;
    border-radius: 7px;
    padding: 12px;
    font-weight: 700;
}

.empty-state,
.message-box.info {
    background: #eef2f7;
    color: #4c5868;
}

.message-box.success {
    background: #eaf2ef;
    color: #14553e;
}

.message-box.error {
    background: #f7dddd;
    color: #7a1f1f;
}

@media (max-width: 900px) {
    .ops-grid,
    .ops-grid.three {
        grid-template-columns: 1fr;
    }

    .page-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.login-shell {
    min-height: calc(100vh - 48px);
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-panel {
    width: min(420px, 100%);
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 16px 36px rgba(24, 33, 47, .12);
}

.login-panel h1 {
    margin: 0 0 18px;
    color: #18212f;
    font-size: 28px;
    font-weight: 800;
}

.nav-identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #fff;
}

.nav-identity span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    text-transform: uppercase;
}

.logout-link {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.table-panel {
    margin-top: 18px;
}

.table-wrap {
    overflow-x: auto;
}

.ops-table {
    width: 100%;
    border-collapse: collapse;
}

.ops-table th,
.ops-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #edf1f5;
    vertical-align: top;
    color: #18212f;
}

.ops-table th {
    color: #657085;
    font-size: 12px;
    text-transform: uppercase;
    text-align: left;
}

.ops-table td span {
    display: block;
    color: #657085;
    font-size: 12px;
    margin-top: 2px;
}

.forms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.forms-grid .form-field {
    margin-bottom: 9px;
}

.wide {
    width: 100%;
    margin-bottom: 12px;
}

textarea.form-field {
    min-height: 84px;
    resize: vertical;
}

.ops-table tr {
    cursor: pointer;
}

.ops-table tr:hover td {
    background: #f8fafc;
}

@media (max-width: 1100px) {
    .forms-grid {
        grid-template-columns: 1fr;
    }
}

.download-panel .status-list {
    margin-top: 16px;
}

.download-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    margin-top: 16px;
    border-radius: 7px;
    background: #18212f;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.download-action:hover {
    color: #fff;
    background: #1f7a5a;
}
.download-link {
    display: inline-flex;
    margin-top: 10px;
    color: #1f7a5a;
    font-weight: 800;
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}
.credential-box {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    border: 1px solid #b8d8ca;
    border-radius: 7px;
    padding: 12px;
    background: #eef8f3;
    color: #14553e;
    font-weight: 700;
}

.credential-box strong {
    color: #0f3f2e;
    font-size: 16px;
}

.register-panel {
    width: min(520px, 100%);
}

.field-help {
    margin: -7px 0 12px;
    color: #657085;
    font-size: 12px;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 10px;
}

.auth-links .download-link {
    margin-top: 0;
}

.link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #1f7a5a;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.link-button:disabled {
    cursor: default;
    opacity: .55;
}

.public-home,
.catalog-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 8px 64px;
}

.public-hero,
.catalog-hero {
    border-radius: 18px;
    padding: clamp(28px, 6vw, 72px);
    background: linear-gradient(135deg, #eff8f4 0%, #ffffff 62%, #e8f0f7 100%);
    border: 1px solid #d6e7df;
}

.public-hero h1,
.catalog-hero h1 {
    max-width: 820px;
    margin: 8px 0 16px;
    color: #14251f;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    font-weight: 900;
}

.catalog-hero h1 {
    font-size: clamp(32px, 4vw, 50px);
}

.catalog-hero.compact {
    padding: clamp(26px, 4vw, 48px);
}

.public-hero > p,
.catalog-hero > p {
    max-width: 800px;
    color: #53665f;
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions,
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.primary-cta,
.secondary-cta,
.card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 9px;
    padding: 10px 18px;
    font-weight: 850;
    text-decoration: none;
}

.primary-cta,
.card-action {
    background: #1f7a5a;
    color: #fff;
}

.primary-cta:hover,
.card-action:hover {
    background: #14553e;
    color: #fff;
}

.secondary-cta {
    border: 1px solid #b8c8c1;
    color: #18382d;
    background: #fff;
}

.trust-row span {
    border-radius: 999px;
    padding: 7px 12px;
    color: #315648;
    background: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 800;
}

.product-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.product-card,
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border: 1px solid #dce3ea;
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 33, 47, .07);
}

.product-card h2,
.price-card h2 {
    margin: 10px 0;
    color: #18212f;
    font-size: 23px;
    font-weight: 850;
}

.product-card p,
.price-card p,
.price-card li {
    color: #657085;
    line-height: 1.55;
}

.product-code {
    color: #1f7a5a;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-card .card-action,
.price-card .card-action {
    width: 100%;
    margin-top: auto;
}

.catalog-controls {
    display: grid;
    grid-template-columns: auto minmax(230px, 360px) auto;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    border: 1px solid #dce3ea;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}

.catalog-controls label {
    color: #394456;
    font-weight: 800;
}

.billing-toggle {
    display: flex;
    justify-self: end;
    border-radius: 9px;
    padding: 3px;
    background: #edf2f5;
}

.billing-toggle button {
    border: 0;
    border-radius: 7px;
    padding: 9px 14px;
    color: #53616d;
    background: transparent;
    font-weight: 800;
}

.billing-toggle button.active {
    color: #14553e;
    background: #fff;
    box-shadow: 0 2px 8px rgba(24, 33, 47, .1);
}

.price-card.featured {
    border: 2px solid #1f7a5a;
    transform: translateY(-6px);
}

.recommended-badge {
    position: absolute;
    top: -13px;
    right: 18px;
    border-radius: 999px;
    padding: 6px 11px;
    color: #fff;
    background: #1f7a5a;
    font-size: 12px;
    font-weight: 850;
}

.price-value {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 8px 0;
}

.price-value strong {
    color: #14251f;
    font-size: 34px;
}

.price-value span {
    color: #657085;
}

.price-card ul {
    margin: 8px 0 22px;
    padding-left: 20px;
}

.selection-summary {
    display: grid;
    gap: 3px;
    margin-top: 12px;
    border-radius: 9px;
    padding: 12px;
    color: #14553e;
    background: #eef8f3;
}

.selection-summary span {
    font-size: 20px;
    font-weight: 850;
}

.selection-summary small {
    color: #4f6a60;
}

.billing-page {
    max-width: 1100px;
}

.billing-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.billing-summary-card,
.billing-action-card {
    border: 1px solid #dce3ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 33, 47, .07);
}

.billing-summary-card {
    display: grid;
    gap: 6px;
    padding: 20px;
}

.billing-summary-card span,
.billing-total span {
    color: #657085;
    font-size: 13px;
    font-weight: 750;
}

.billing-summary-card strong {
    color: #18212f;
    font-size: 20px;
}

.billing-action-card {
    padding: 26px;
}

.billing-action-card h2 {
    margin: 4px 0 8px;
    color: #18212f;
}

.billing-action-card p {
    color: #657085;
    line-height: 1.55;
}

.billing-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.billing-form-grid label {
    display: grid;
    gap: 7px;
    color: #394456;
    font-weight: 800;
}

.billing-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 16px 0;
    border-radius: 10px;
    padding: 15px;
    background: #eef8f3;
}

.billing-total strong {
    color: #14553e;
    font-size: 24px;
}

.billing-button {
    width: 100%;
    border: 0;
}

.billing-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.billing-cancel-button {
    width: 100%;
    margin-top: 12px;
    border: 1px solid #c8d0db;
    border-radius: 10px;
    padding: 12px 18px;
    background: #fff;
    color: #8b2f2f;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.billing-cancel-button:hover {
    border-color: #a84242;
    background: #fff7f7;
}

.billing-cancel-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.billing-cancellation-notice {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff1d6;
    color: #754b00;
}

.billing-cancellation-notice span {
    line-height: 1.45;
}

.form-hint.warning {
    color: #986018;
}

.admin-billing-page {
    max-width: 1440px;
}

.admin-billing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.billing-alert-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    border: 1px solid #f0c36a;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff7e7;
    color: #754b00;
}

.billing-alert-strip strong {
    white-space: nowrap;
}

.billing-admin-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.billing-admin-metrics .metric-tile {
    display: grid;
    gap: 5px;
}

.billing-admin-metrics .metric-tile small {
    color: #657085;
    font-size: 12px;
    font-weight: 700;
}

.billing-admin-metrics .metric-warning {
    border-color: #e9bd66;
    background: #fffbf1;
}

.billing-admin-metrics .metric-error {
    border-color: #e4a0a0;
    background: #fff7f7;
}

.billing-filter-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(190px, .45fr) auto auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
    padding: 18px;
}

.billing-filter-button {
    min-height: 44px;
    white-space: nowrap;
}

.billing-admin-table td,
.billing-webhook-table td {
    vertical-align: top;
}

.billing-admin-table td > span,
.billing-webhook-table td > span {
    display: block;
    margin-top: 4px;
    color: #657085;
    font-size: 12px;
}

.billing-admin-table .status-pill,
.billing-webhook-table .status-pill {
    display: inline-flex;
    margin-top: 0;
}

.status-pill.error {
    background: #fde8e8;
    color: #9b2525;
}

.admin-login-shell {
    background:
        radial-gradient(circle at top right, rgba(27, 128, 92, .12), transparent 38%),
        #f4f7fa;
}

.admin-login-shell .login-panel {
    border-top: 4px solid #0e7654;
}

.admin-recovery-link {
    display: inline-block;
    margin-top: 14px;
}

.admin-mfa-panel {
    width: min(520px, calc(100vw - 40px));
}

.mfa-qr {
    display: flex;
    justify-content: center;
    margin: 18px auto;
}

.mfa-qr svg {
    width: 220px;
    height: 220px;
    padding: 10px;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 12px;
}

.mfa-steps {
    padding-left: 22px;
    color: #4d596c;
}

.mfa-manual-key {
    display: block;
    padding: 12px;
    margin: 10px 0 18px;
    overflow-wrap: anywhere;
    text-align: center;
    background: #f2f5f8;
    border-radius: 8px;
    letter-spacing: .08em;
}

.mfa-code-field {
    font-size: 1.2rem;
    letter-spacing: .12em;
}

.mfa-help {
    margin-top: 8px;
    font-size: .9rem;
}

.recovery-code-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
}

.recovery-code-grid code {
    padding: 10px;
    text-align: center;
    background: #f2f5f8;
    border-radius: 6px;
}

.admin-staff-page {
    max-width: 1320px;
}

.admin-audit-page {
    max-width: 1480px;
}

.audit-filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, .7fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 18px;
}

.audit-filter-button {
    min-height: 46px;
}

.audit-table code,
.audit-metadata {
    font-size: .78rem;
}

.audit-metadata {
    max-width: 420px;
    max-height: 240px;
    overflow: auto;
    padding: 10px;
    background: #f2f5f8;
    border-radius: 8px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.audit-more-button {
    display: block;
    margin: 18px auto 0;
}

.staff-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.staff-customer-page { max-width: 1420px; }
.staff-capacity-panel { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(240px, 1.2fr) auto; align-items: center; gap: 18px; margin-bottom: 18px; }
.staff-capacity-panel > div:first-child strong, .staff-capacity-panel > div:first-child span { display: block; }
.staff-capacity-panel > div:first-child strong { margin: 5px 0 3px; font-size: 1.08rem; }
.staff-capacity-meter { height: 12px; overflow: hidden; background: #e7ecef; border-radius: 999px; }
.staff-capacity-meter span { display: block; height: 100%; background: #17805b; border-radius: inherit; transition: width .2s ease; }
.staff-customer-grid { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(360px, 1.25fr); gap: 18px; margin-bottom: 18px; }
.staff-customer-grid label { display: block; margin: 12px 0 6px; font-weight: 700; }
.staff-customer-grid .btn-primary-action, .staff-customer-grid .btn-secondary { width: 100%; margin-top: 12px; }
.site-check-list { display: grid; gap: 8px; padding: 12px; border: 1px solid #d7dee8; border-radius: 8px; }
.site-check-list label { margin: 0; font-weight: 500; }
.role-summary { padding: 12px 0; border-bottom: 1px solid #e4e9ef; }
.role-summary strong, .role-summary span { display: block; }
.role-summary span { margin-top: 5px; color: #657085; font-size: .88rem; }
.staff-actions { white-space: nowrap; }
.staff-actions .btn-secondary { margin-right: 6px; }
.pin-field { max-width: 220px; letter-spacing: .16em; }
.pin-reset-row td { background: #f4f8f6; }
.pin-reset-row td > div { display: flex; align-items: center; gap: 10px; }
.pin-reset-row .form-field { max-width: 190px; }

.selectable-row {
    cursor: pointer;
}

.selectable-row:hover {
    background: #f4f8f6;
}

@media (max-width: 900px) {
    .product-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .catalog-controls {
        grid-template-columns: 1fr;
    }

    .billing-toggle {
        justify-self: stretch;
    }

    .billing-toggle button {
        flex: 1;
    }

    .price-card.featured {
        transform: none;
    }

    .billing-summary-grid,
    .billing-form-grid,
    .billing-admin-metrics,
    .billing-filter-panel {
        grid-template-columns: 1fr;
    }

    .admin-billing-actions,
    .billing-alert-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .staff-admin-grid {
        grid-template-columns: 1fr;
    }

    .staff-customer-grid { grid-template-columns: 1fr; }
    .staff-capacity-panel { grid-template-columns: 1fr; }
    .pin-reset-row td > div { align-items: stretch; flex-direction: column; }

    .audit-filter-panel {
        grid-template-columns: 1fr;
    }
}
