/* Shared administration language: the same catalogue surfaces and spacing. */
.admin-page{max-width:1440px;margin:0 auto;color:var(--cat-text)}
.admin-page .page-title{font:700 30px/1.2 var(--font-ui);letter-spacing:-.5px}
.admin-page .page-subtitle{font-size:16px;line-height:1.5;max-width:768px;margin-top:12px;color:var(--cat-muted)}
.admin-page .page-header{margin-bottom:32px;gap:24px}
.admin-page :is(h2,h3,h4,.empty-title){font-family:var(--font-ui);font-weight:600}
.admin-page :is(.panel,.card,.rep-band,.settings-section,.queue-item,.queue-safety-card,.privacy-guardrail){border:1px solid var(--cat-border);border-radius:16px;background:var(--cat-surface);box-shadow:none}
.admin-page .panel-head,.admin-page .privacy-list-head{padding:24px;gap:24px}
.admin-page .btn,.admin-page .tab{min-height:44px;white-space:normal}
.admin-page .tabs{margin-bottom:24px;display:flex;flex-wrap:wrap;gap:4px;width:fit-content}
.admin-page .tabs .tab{font-size:14px;padding:12px 16px}
.admin-page .tabs .active{background:var(--cat-tint);color:var(--cat-accent)}
.admin-search{max-width:640px;margin-bottom:16px;min-height:48px}
.admin-note,.admin-explanation{font-size:14px;line-height:1.5;color:var(--cat-muted);margin:0 0 24px}
.admin-note a{color:var(--cat-accent);text-decoration:underline}
.admin-explanation{border:1px solid var(--cat-border);padding:16px 24px;border-radius:12px;background:var(--cat-surface)}
.admin-explanation summary{cursor:pointer;font-weight:600;color:var(--cat-text);min-height:24px}
.admin-explanation p{max-width:768px;margin:16px 0 0}
.queue-page .queue-safety-card,.privacy-page .privacy-guardrail{padding:24px;margin-bottom:24px;background:var(--cat-tint);color:var(--cat-accent)}
.queue-page .queue-safety-copy p,.privacy-page .privacy-guardrail span{font-size:14px;line-height:1.5;color:inherit}
.queue-page .queue-item{padding:24px;gap:24px;align-items:start}
.queue-page .queue-item-phone{font-size:16px;font-weight:600}
.queue-page .queue-item-message{font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}
.queue-page .queue-item-meta{font-size:13px;line-height:1.5;min-width:160px}
.queue-page .queue-item-actions{display:flex;justify-content:end;gap:8px;margin-top:12px}
.reports-page .rep-controls{padding:24px;background:var(--cat-surface);border:1px solid var(--cat-border);border-radius:16px;gap:24px}
.reports-page .rep-controls .tabs,.reports-page .panel-head .tabs{margin:0}
.reports-page .rep-range{flex-wrap:wrap;gap:12px}
.reports-page .rep-date{min-height:44px}
.reports-page .rep-table th,.reports-page .rep-table td{padding:16px;font-size:14px}
.reports-page .rep-note{padding:16px 24px;font-size:14px;line-height:1.5}
.privacy-page .privacy-search{width:100%;max-width:384px}
.privacy-page .privacy-search input{padding-left:44px}
.reports-page .rep-v{font-family:var(--font-ui);font-weight:600}
.reports-page .rep-hero .rep-v{font-size:36px}
.reports-page .rep-cell .rep-v{font-size:24px}
.privacy-page .privacy-list-head h3{font-size:20px;margin:0 0 8px}
.privacy-page .privacy-list-head p{font-size:14px;line-height:1.5}
.privacy-page .privacy-stat-card{padding:24px;gap:8px}
.privacy-page .privacy-stat-card strong{font-size:30px}
.privacy-page .privacy-table td{padding:16px;font-size:14px;overflow-wrap:anywhere}
.account-page{max-width:768px}
.account-page .settings-section{padding:24px}
.account-page .settings-section-title{font-size:20px}
.account-page .form-input{min-height:48px}
.health-page{max-width:1280px}
.health-header{align-items:flex-start}
.health-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;padding:24px;border:1px solid var(--cat-border);border-left-width:4px;border-radius:16px;background:var(--cat-surface)}
.health-summary--healthy{border-left-color:var(--ok)}
.health-summary--attention{border-left-color:var(--wait)}
.health-summary--critical{border-left-color:var(--bad)}
.health-summary h2{margin:4px 0 8px;font-size:24px;color:var(--cat-text)}
.health-summary p{margin:0;max-width:640px;font-size:14px;line-height:1.5;color:var(--cat-muted)}
.health-eyebrow{font-size:13px!important;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--cat-muted)!important}
.health-status{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:8px 12px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}
.health-status>span{width:8px;height:8px;border-radius:50%;background:currentColor}
.health-status--healthy{color:var(--ok);background:var(--ok-bg)}
.health-status--attention{color:var(--wait);background:var(--wait-bg)}
.health-status--critical{color:var(--bad);background:var(--bad-bg)}
.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.health-card{min-width:0;padding:24px;border:1px solid var(--cat-border);border-radius:16px;background:var(--cat-surface)}
.health-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;color:var(--cat-muted);font-size:14px}
.health-card__head .health-status{min-height:24px;padding:4px 8px;font-size:13px}
.health-card>strong{display:block;margin-bottom:8px;color:var(--cat-text);font-size:30px;line-height:1;font-weight:600}
.health-card>p{min-height:42px;margin:0 0 16px;color:var(--cat-muted);font-size:14px;line-height:1.5}
.health-meter{height:8px;overflow:hidden;border-radius:999px;background:var(--cat-border)}
.health-meter__fill{display:block;height:100%;border-radius:inherit;background:var(--ok)}
.health-meter__fill--attention{background:var(--wait)}
.health-meter__fill--critical{background:var(--bad)}
.health-columns{display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,2fr);gap:24px;margin-bottom:24px}
.health-panel{padding:24px;border:1px solid var(--cat-border);border-radius:16px;background:var(--cat-surface)}
.health-panel__heading{margin-bottom:24px}
.health-panel__heading h2{margin:0 0 8px;color:var(--cat-text);font-size:20px}
.health-panel__heading p{margin:0;max-width:640px;color:var(--cat-muted);font-size:14px;line-height:1.5}
.health-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border-top:1px solid var(--cat-border)}
.health-details>div{padding:16px 0;border-bottom:1px solid var(--cat-border)}
.health-details>div:nth-child(odd){padding-right:24px}
.health-details>div:nth-child(even){padding-left:24px;border-left:1px solid var(--cat-border)}
.health-details dt{margin-bottom:4px;color:var(--cat-muted);font-size:13px}
.health-details dd{margin:0;color:var(--cat-text);font-size:14px;font-weight:600;overflow-wrap:anywhere}
.health-switches{display:grid;margin:0;padding:0;list-style:none}
.health-switches li{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;border-bottom:1px solid var(--cat-border);color:var(--cat-text);font-size:14px}
.health-switches li:last-child{border-bottom:0}
.health-state-off{color:var(--cat-muted);font-size:13px;font-weight:600}
.health-guidance__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.health-guidance__grid div{display:grid;gap:4px;padding-left:16px;border-left:2px solid var(--cat-border)}
.health-guidance__grid strong{color:var(--cat-text);font-size:14px}
.health-guidance__grid span,.health-disk-note{color:var(--cat-muted);font-size:14px;line-height:1.5}
.health-disk-note{margin:24px 0 0;padding-top:16px;border-top:1px solid var(--cat-border)}
@media(max-width:768px){
 .admin-page .page-header{align-items:start;flex-direction:column;gap:16px}
 .admin-page .page-title{font-size:24px}
 .admin-page .panel-head,.admin-page .privacy-list-head{flex-direction:column;align-items:stretch;padding:16px;gap:16px}
 .queue-page .queue-item,.queue-page .queue-safety-card{flex-direction:column;padding:16px;gap:16px}
 .queue-page .queue-item-meta{width:100%;text-align:left}
 .queue-page .queue-item-actions{justify-content:start;flex-wrap:wrap}
 .reports-page .rep-controls{padding:16px;flex-direction:column;align-items:stretch}
 .reports-page .rep-range{display:grid;grid-template-columns:auto minmax(0,1fr)}
 .reports-page .rep-date{width:100%;min-width:0}
 .admin-page .table{min-width:0}
 .privacy-page .privacy-table thead{display:none}
 .privacy-page .privacy-table tr{display:grid;border-bottom:1px solid var(--cat-border);padding:16px;gap:8px}
 .privacy-page .privacy-table td{display:block;border:0;padding:0}
 .privacy-page .privacy-table td:nth-child(2)::before{content:'Motivo: ';font-weight:600}
 .privacy-page .privacy-table td:nth-child(3)::before{content:'Origem: ';font-weight:600}
 .privacy-page .privacy-table td:nth-child(4)::before{content:'Bloqueado em: ';font-weight:600}
 .admin-explanation{padding:16px}
 .health-summary{align-items:flex-start;flex-direction:column;padding:16px}
 .health-grid,.health-columns{grid-template-columns:1fr}
 .health-card,.health-panel{padding:16px}
 .health-details,.health-guidance__grid{grid-template-columns:1fr}
 .health-details>div:nth-child(odd),.health-details>div:nth-child(even){padding:16px 0;border-left:0}
 .reports-page .rep-table thead{display:none}
 .reports-page .rep-table tr{display:grid;padding:16px;gap:8px;border-bottom:1px solid var(--cat-border)}
 .reports-page .rep-table td{display:flex;justify-content:space-between;gap:16px;padding:0;border:0;white-space:normal;text-align:right}
 .reports-page .rep-table td::before{content:attr(data-label);font-weight:400;color:var(--cat-muted);text-align:left}
}
