/* Authority Brands teal from the corporate wordmark. Darker teal for text and controls. */
:root {
  color-scheme: light;
  --header-height: 82px;
  --brand-teal: #009688;
  --brand-action: #007268;
  --brand-deep: #064e49;
  --brand-wash: #eaf5f3;
  --admin-ink: #203333;
  --admin-muted: #536766;
  --admin-line: #d7e5e3;
}
.header-actions { display:flex; align-items:center; gap:12px; }
.brand-product-group { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; }
.environment-badge { display:inline-flex; align-items:center; flex-shrink:0; white-space:nowrap; background:#fb923c; color:#431407; border:1px solid #fdba74; border-radius:999px; padding:4px 9px; font-size:11px; line-height:1.2; font-weight:750; letter-spacing:.04em; }
.header-actions #admin-account { display:block; }
.header-actions .feedback-trigger { display:grid; place-items:center; width:42px; height:42px; padding:0; border:1px solid var(--admin-line); border-radius:50%; background:white; color:var(--brand-action); cursor:pointer; }
.feedback-trigger:hover { background:var(--brand-wash); }
.feedback-trigger:focus-visible,.access-tabs button:focus-visible { outline:3px solid var(--brand-teal); outline-offset:3px; }
.nav-link svg { width:22px; height:22px; flex-shrink:0; }
.tenants-card > .card-heading { padding-bottom:20px; }
.users-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.access-tabs { display:flex; gap:24px; border-bottom:1px solid var(--admin-line); }
.access-tabs button { border:0; border-bottom:3px solid transparent; padding:12px 2px; background:transparent; color:var(--admin-muted); cursor:pointer; font-weight:650; }
.access-tabs button[aria-selected="true"] { color:var(--brand-action); border-bottom-color:var(--brand-action); }
.feedback-dialog { width:min(540px,calc(100vw - 32px)); border:1px solid var(--admin-line); border-radius:12px; padding:26px; color:var(--admin-ink); }
.feedback-dialog::backdrop { background:#092f3866; }
.feedback-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.feedback-heading h2 { margin:0; }
.feedback-dialog textarea { width:100%; resize:vertical; padding:12px; border:1px solid var(--admin-line); border-radius:6px; font:inherit; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: #f3f7f7; color: var(--admin-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; }
button, input, select { font: inherit; }
.form-field select { width:100%;border:1px solid var(--admin-line);border-radius:6px;padding:11px;background:white;min-height:43px; }
.franchise-edit { border:0;background:transparent;color:var(--brand-action);font-size:11px;font-weight:650;padding:8px 0; }
.franchise-name { font-size: 14px; font-weight: 650; color: var(--brand-action); }
.franchise-organization { display: block; margin-top: 6px; color: var(--admin-muted); font-size: 11px; }
.franchise-detail-link { display: inline-block; padding-block: 10px; font-size: 12px; font-weight: 600; }
.brand-authority-list { display: grid; gap: 10px; max-height: 240px; overflow: auto; padding: 12px; border: 1px solid var(--admin-line); border-radius: 8px; }
.brand-authority-choice { display: flex; flex-direction: row; align-items: center; gap: 10px; padding-block: 4px; }
.brand-authority-choice input { width: 20px; height: 20px; min-height: 20px; flex-shrink: 0; }
.editor-page { padding: 28px; max-width: 1100px; }
.editor-page #tenant-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; }
.editor-page .editor-form-heading, .editor-page #create-description, .editor-page #franchise-detail-summary,
.editor-page #form-error, .editor-page .dialog-actions { grid-column: 1 / -1; }
.editor-page .form-field { margin-top: 0; align-content: start; }
.editor-page #create-description { margin: 0; }
.editor-page .dialog-actions { margin-top: 8px; }
.access-editor-form { max-width: 1100px; }
.editor-section + .editor-section { border-top: 1px solid var(--admin-line); margin-top: 28px; padding-top: 28px; }
.editor-section .brand-authority-list { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; overflow: visible; }
.access-toolbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-block: 22px; }
.access-toolbar .form-field { flex: 1; min-width: 180px; margin: 0; }
.selected-only { display: flex; flex-direction: row; align-items: center; gap: 9px; padding-bottom: 12px; }
.selected-only input { width: 20px; height: 20px; min-height: 20px; }
.selection-count { margin: 0; color: var(--brand-action); font-size: 13px; font-weight: 600; }
.access-choice label { flex-direction: row; }
.access-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 22px; font-size: 12px; color: var(--admin-muted); }
.editor-actions { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; gap: 12px; background: #fff; border-top: 1px solid var(--admin-line); padding: 18px 0; margin-top: 28px; }
.invitation-heading { margin-top: 32px; }
.territory-form { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--admin-line); }
.territory-form textarea { font-family: ui-monospace, monospace; min-height: 180px; }
.territory-coverage { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.territory-coverage .form-field { flex: 1; min-width: 180px; }
.territory-coverage .selection-count { padding-bottom: 12px; }
.territory-source { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--admin-line); }
.territory-source .form-field { margin-block: 20px; }
.territory-table-wrap { overflow-x: auto; }
.territory-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.territory-heading h3 { margin: 0; font-size: 19px; }
.territory-view-controls { display: flex; gap: 8px; margin: 22px 0; }
.territory-view-controls .button[aria-pressed=true] { background: var(--brand-action); color: #fff; border-color: var(--brand-action); }
.territory-editor-details, .territory-source { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--admin-line); }
.territory-editor-details > summary, .territory-source > summary { cursor: pointer; color: var(--brand-action); font-weight: 600; padding-block: 8px; }
.territory-form { border: 0; padding-top: 0; margin-top: 18px; }
.zip-map-canvas { width: 100%; height: 490px; background: #dceaf0; border: 1px solid var(--admin-line); border-radius: 9px; }
.map-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.map-legend { font-size: 12px; color: var(--admin-muted); }
.map-legend::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 8px; background: #17a590; vertical-align: middle; border: 1px solid #007268; }
.map-note, .map-missing { color: var(--admin-muted); font-size: 11px; margin-top: 12px; line-height: 1.7; }
.map-note a { text-decoration: underline; }
.map-missing p { overflow-wrap: anywhere; }
@media(max-width:560px){.zip-map-canvas{height:390px}}
@media (max-width: 650px) {
  .editor-page { padding: 20px; }
  .editor-page #tenant-form, .editor-section .brand-authority-list { grid-template-columns: 1fr; }
}
.franchise-details { padding: 26px; }
.detail-back { display: inline-block; color: var(--brand-action); font-size: 13px; margin-bottom: 24px; padding: 7px 0; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-heading h2 { font-size: 25px; overflow-wrap: anywhere; }
.franchise-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.franchise-facts dt { color: var(--admin-muted); font-size: 12px; margin-bottom: 6px; }
.franchise-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.detail-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--admin-line); gap: 18px; padding: 22px 0; }
.detail-totals strong { display: block; font-size: 28px; }
.detail-totals span, .detail-sync { color: var(--admin-muted); font-size: 12px; }
.detail-sync { margin: 22px 0; }
@media (max-width: 560px) {
  .franchise-details { padding: 20px; }
  .franchise-facts, .detail-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tenant-identity small { white-space:normal; }
#franchise-detail-summary { background:var(--brand-wash);padding:14px;border-radius:8px;font-size:12px;line-height:1.7; }
.topbar .account-menu { font-size:13px; }
.topbar .account-trigger { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--admin-line); border-radius: 50%; background: #f5faf9; color: var(--brand-action); }
.topbar .account-trigger::marker { content: ''; }
.topbar .account-trigger::-webkit-details-marker { display: none; }
.users-card { padding:24px; }
.users-card .card-heading { padding:0; }
.user-row { display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--admin-line);padding:18px 0;flex-wrap:wrap; }
.user-row>div { flex:1;min-width:180px;overflow-wrap:anywhere; }
.user-row p,.user-row small { color:#697674;font-size:12px;line-height:1.6; }
.access-choice { display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;align-items:center;margin-top:14px;padding:12px;background:#f3f7f7;border-radius:8px; }
.access-choice input,.platform-choice input { width:20px;height:20px;vertical-align:middle; }
.access-choice select { width:100%;padding:10px;font-size:16px; }
.platform-choice { display:block;margin:20px 0 8px; }
.access-choice label { display:flex;align-items:center;gap:8px; }
.access-choice input { flex-shrink:0; }
.access-list { max-height:270px;overflow-y:auto; }
dialog form.stack { gap:12px; }
dialog .table-description { margin:0; }
dialog .form-field { margin-top:0; }
dialog h2,dialog h3 { margin:0; }
dialog .platform-choice { margin:8px 0 0; }
@media(max-width:560px){.access-choice{grid-template-columns:1fr}.users-card{padding:17px}}
@media(max-width:560px){.form-field input,.form-field select{font-size:16px}.topbar #admin-account{display:block}}
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; }
:focus-visible { outline: 3px solid #c47b31; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 20; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }
.admin-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - var(--header-height)); }
.admin-sidebar { background: var(--brand-deep); color: #f0faf9; padding: 34px 20px 22px; display: flex; flex-direction: column; position: sticky; align-self: start; top: var(--header-height); height: calc(100vh - var(--header-height)); height: calc(100dvh - var(--header-height)); overflow-y: auto; }
.header-identity { display: flex; align-items: center; min-width: 0; gap: 24px; }
.brand-lockup { display: block; width: 174px; flex-shrink: 0; }
.brand-lockup img { display: block; width: 100%; height: auto; }
.brand-product { border-left: 1px solid var(--admin-line); padding-left: 24px; color: var(--admin-ink); font-size: 13px; font-weight: 650; }
.workspace-label { font-size: 10px; letter-spacing: 1.8px; color: #b5d9d5; margin: 0 14px 15px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.nav-link { padding: 13px 15px; display: flex; gap: 13px; align-items: center; color: #d0eae7; text-decoration: none; border-radius: 8px; font-weight: 550; }
.nav-link span { width: 20px; font-size: 21px; line-height: 1; }
.nav-link:hover { background: #0b625b; color: white; }
.nav-link.is-active { background: #086e65; color: #fff; box-shadow: inset 3px 0 #77e0d2; }
.sidebar-footer { margin-top: auto; border-top: 1px solid #397c75; padding: 22px 3px 0; display: flex; align-items: center; gap: 10px; font-size: 11px; }
.avatar { background: #16736a; color: #eafaf8; width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: 0 0 auto; }
.sidebar-footer small { display: block; color: #b5d9d5; font-size: 10px; margin-top: 5px; }
.admin-workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 50; min-height: var(--header-height); gap: 16px; border-bottom: 1px solid var(--admin-line); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; font-size: 12px; background: #fff; }
.environment-label { color: #73817a; font-size: 11px; }
main { max-width: 1680px; margin: 0 auto; padding: 39px 40px 24px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.admin-eyebrow { color: var(--brand-action); font-size: 9px; font-weight: 750; letter-spacing: 1.8px; margin: 0 0 10px; }
h1 { font-size: clamp(25px, 2.5vw, 35px); font-weight: 720; letter-spacing: -.9px; line-height: 1.2; margin: 0 0 10px; }
.heading-description { color: var(--admin-muted); margin: 0; font-size: 13px; line-height: 1.7; }
.button { border: 1px solid transparent; border-radius: 7px; padding: 11px 17px; min-height: 42px; font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; text-decoration: none; }
.primary-button { background: var(--brand-action); color: #fff; box-shadow: 0 2px 3px #193b2010; }
.primary-button:hover { background: #005c54; }
.button.secondary { background: #fff; border-color: var(--admin-line); color: #34463d; }
.context-notice { padding: 11px 15px; background: #eeeadc; border: 1px solid #e5deca; color: #6c6047; font-size: 11px; border-radius: 7px; line-height: 1.6; }
.service-state { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 49px; margin: 7px 0 17px; color: var(--admin-muted); font-size: 11px; line-height: 1.6; }
.is-connected .state-message::before { content: ''; display: inline-block; height: 6px; width: 6px; border-radius: 50%; margin-right: 7px; background: var(--brand-teal); }
.service-state.is-error { color: #944a35; padding: 11px 14px; border: 1px solid #e8c6b6; background: #fff2e9; border-radius: 7px; }
.retry-button { border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 7px 0 7px 10px; font-size: 11px; flex-shrink: 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.admin-card { background: #fff; border: 1px solid var(--admin-line); border-radius: 11px; box-shadow: 0 3px 5px #263b1d03; }
.metric-card { padding: 20px 21px 18px; }
.metric-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--admin-muted); font-weight: 600; }
.metric-symbol { background: var(--brand-wash); color: var(--brand-action); border-radius: 7px; font-size: 20px; display: grid; place-items: center; width: 31px; height: 31px; }
.metric-value { font-size: 37px; font-weight: 630; letter-spacing: -1.4px; line-height: 1.2; margin-top: 15px; font-variant-numeric: tabular-nums; }
.metric-detail { color: var(--admin-muted); font-size: 10px; margin: 9px 0 0; line-height: 1.5; }
.card-heading { padding: 24px 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { font-size: 18px; font-weight: 700; letter-spacing: -.35px; line-height: 1.4; margin: 0; }
.count-chip { display: inline-block; font-size: 10px; vertical-align: middle; border-radius: 5px; background: var(--brand-wash); color: #66765f; padding: 2px 7px; margin-left: 5px; letter-spacing: 0; }
.search-control { display: flex; flex-direction: row; align-items: center; gap: 7px; border: 1px solid var(--admin-line); border-radius: 6px; color: var(--admin-muted); padding: 0 9px; }
.search-control span[aria-hidden] { font-size: 22px; }
.search-control input { border: 0; background: transparent; color: var(--admin-ink); width: 126px; min-height: 35px; font-size: 11px; outline-offset: 0; }
.table-description { margin: 10px 23px 23px; font-size: 11px; color: var(--admin-muted); line-height: 1.7; }
.admin-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { padding: 12px 16px; background: #f2f8f7; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .7px; color: var(--admin-muted); font-weight: 650; border-top: 1px solid var(--admin-line); border-bottom: 1px solid var(--admin-line); }
td { padding: 23px 16px; font-size: 12px; border-bottom: 1px solid var(--admin-line); }
th:first-child, td:first-child { padding-left: 23px; }
th:last-child, td:last-child { padding-right: 23px; }
tbody tr:hover { background: #f5faf9; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.tenant-identity { display: flex; align-items: center; gap: 11px; }
.tenant-avatar { width: 36px; height: 36px; background: var(--brand-wash); color: var(--brand-action); border: 1px solid var(--admin-line); border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
tr:nth-child(even) .tenant-avatar { color: var(--brand-action); background: #e5f3f1; border-color: var(--admin-line); }
.tenant-identity strong { font-weight: 620; display: block; font-size: 12px; }
.tenant-identity small { font-size: 10px; color: var(--admin-muted); display: block; margin-top: 5px; }
.status-badge { font-size: 10px; background: #eef2f3; color: var(--admin-muted); border-radius: 20px; padding: 5px 9px; text-transform: capitalize; }
.status-badge.is-active { background: var(--brand-wash); color: var(--brand-action); }
.status-badge.is-active::before { content: ''; display: inline-block; width: 4px; height: 4px; background: var(--brand-teal); border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.workspace-links { display: flex; gap: 13px; }
.workspace-links a { color: var(--brand-action); text-decoration: none; font-size: 10px; font-weight: 650; padding: 8px 0; }
.workspace-links a:hover { text-decoration: underline; }
.table-footer { display: flex; justify-content: space-between; gap: 12px; padding: 16px 23px; font-size: 9px; color: var(--admin-muted); }
.admin-empty { padding: 38px 22px; text-align: center; color: var(--admin-muted); line-height: 1.7; font-size: 12px; }
.scope-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px; background: var(--brand-wash); border-color: var(--admin-line); }
.scope-card p { color: var(--admin-muted); margin: 7px 0 0; }
.activity-card .card-heading { padding: 23px 22px 0; }
.activity-card h2 { font-size: 17px; }
.activity-mark { color: #82917a; font-size: 20px; }
.activity-list { list-style: none; padding: 0 22px; margin: 23px 0 12px; max-height: 410px; overflow-y: auto; }
.activity-list li { display: flex; gap: 13px; padding: 0 0 21px; position: relative; }
.activity-list li:not(:last-child)::after { content: ''; position: absolute; left: 3px; top: 10px; bottom: 4px; width: 1px; background: var(--admin-line); }
.timeline-dot { width: 7px; height: 7px; flex: 0 0 auto; background: var(--brand-teal); border-radius: 50%; margin-top: 5px; }
.activity-list p { color: var(--admin-muted); font-size: 11px; line-height: 1.7; margin: 0 0 6px; }
.activity-list time { color: var(--admin-muted); font-size: 9px; }
.activity-empty { color: var(--admin-muted); font-size: 11px; line-height: 1.8; padding: 0 22px 20px; }
.page-footer { display: flex; justify-content: space-between; margin-top: 35px; border-top: 1px solid var(--admin-line); padding-top: 20px; font-size: 9px; color: var(--admin-muted); gap: 12px; }
dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; border: 1px solid var(--admin-line); border-radius: 14px; padding: 28px; color: var(--admin-ink); background: #fff; box-shadow: 0 20px 90px #112a3240; }
dialog::backdrop { background: #142a32a6; backdrop-filter: blur(3px); }
dialog form { padding: 0; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.dialog-heading h2 { font-size: 25px; }
.close-button { border: none; background: var(--admin-line); border-radius: 50%; color: var(--admin-muted); height: 32px; width: 32px; font-size: 24px; }
#create-description { color: #76816e; font-size: 12px; line-height: 1.8; margin: 16px 0 24px; }
.form-field { display: grid; gap: 8px; font-size: 12px; font-weight: 600; margin-top: 18px; }
.form-field input { width: 100%; border: 1px solid var(--admin-line); background: white; color: var(--admin-ink); border-radius: 6px; padding: 11px; min-height: 43px; }
.form-field small { font-size: 10px; font-weight: 400; color: #7c8874; line-height: 1.7; }
.dialog-actions { border-top: 1px solid var(--admin-line); padding-top: 21px; margin-top: 26px; display: flex; justify-content: flex-end; gap: 10px; }
.form-error { color: #9b452d; background: #fff0e7; padding: 12px; font-size: 12px; line-height: 1.6; border-radius: 6px; }
.noscript-notice { position: fixed; bottom: 12px; left: 12px; right: 12px; padding: 20px; background: #fff2df; border: 1px solid #c88c45; }
@media (max-width: 1250px) { .admin-layout { grid-template-columns: 205px minmax(0, 1fr); } .admin-sidebar { padding-inline: 14px; } main { padding: 32px 25px 22px; } .topbar { padding: 0 25px; } .metric-card { padding: 17px; } .metric-detail { font-size: 9px; } }
@media (max-width: 850px) { .admin-layout { grid-template-columns: minmax(0, 1fr); } .admin-sidebar { position: static; height: auto; padding: 17px 22px; display: grid; grid-template-columns: 1fr; gap: 16px; } .admin-sidebar nav { display: flex; flex-wrap: wrap; align-items: center; } .nav-link { padding: 9px 11px; font-size: 11px; } .nav-link span { display: none; } .workspace-label, .sidebar-footer { display: none; } .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metric-detail { font-size: 10px; } .metric-value { font-size: 34px; } }
@media (max-width: 560px) { main { padding: 27px 16px 20px; } .admin-sidebar { display: flex; flex-wrap: wrap; padding: 17px 16px 13px; gap: 16px; } .admin-sidebar nav { width: 100%; gap: 4px; } .brand-lockup { width: clamp(110px, 34vw, 150px); } .header-identity { flex-direction: column; align-items: flex-start; gap: 3px; } .brand-product { border: 0; padding: 0; font-size: 10px; } .nav-link { flex: 1; justify-content: center; padding-inline: 8px; } .topbar { padding: 0 17px; } .environment-label { display: none; } .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 19px; } h1 { font-size: 28px; max-width: 300px; } .heading-description { font-size: 12px; } .page-heading .button { width: 100%; } .context-notice { font-size: 10px; } .service-state { font-size: 10px; } .metrics-grid { gap: 11px; margin-bottom: 20px; } .metric-card { padding: 16px 13px; } .metric-label { font-size: 10px; } .metric-symbol { width: 23px; height: 26px; font-size: 17px; } .metric-value { margin-top: 11px; } .metric-detail { min-height: 28px; font-size: 9px; } .card-heading { padding: 20px 17px 0; align-items: flex-start; flex-direction: column; } .search-control { width: 100%; } .search-control input { width: 100%; } .table-description { margin: 13px 17px 18px; } .scope-card { padding: 22px; } .table-footer { padding: 15px 17px; font-size: 9px; } .page-footer { flex-direction: column; gap: 7px; } dialog { padding: 23px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 560px) {
  .admin-table-wrap table, .admin-table-wrap tbody { display: block; white-space: normal; }
  .admin-table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .admin-table-wrap tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 17px 8px; border-top: 1px solid var(--admin-line); }
  .admin-table-wrap td { display: block; border: 0; padding: 10px 0; text-align: left; }
  .admin-table-wrap td:first-child, .admin-table-wrap td:last-child { grid-column: 1 / -1; padding: 0 0 12px; }
  .admin-table-wrap td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 8px; font-size: 9px; color: var(--admin-muted); }
  .workspace-links { border-top: 1px solid var(--admin-line); margin-top: 9px; padding-top: 7px; gap: 22px; }
  .workspace-links a { font-size: 11px; min-height: 40px; display: flex; align-items: center; }
  .activity-card .card-heading { flex-direction: row; align-items: center; }
}
.tenant-identity>div { min-width:160px;max-width:300px; }
.card-heading select[aria-label="Filter franchises by brand"] { max-width:240px; min-height:42px; padding:8px 10px; border:1px solid var(--admin-line); border-radius:6px; background:white; color:var(--admin-ink); }
.table-footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; }
.franchise-pagination { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.franchise-pagination button { padding:8px 12px; min-height:36px; }
.franchise-pagination[hidden] { display:none; }
