:root { --primary:#315fbb; --ink:#172033; --muted:#667085; --line:#dbe4ea; --soft:#f2f6f8; --success:#147a4b; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:#edf3f5; font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color:var(--primary); }
.panel-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:17px max(24px,calc((100% - 1120px)/2)); background:#fff; border-bottom:1px solid var(--line); }
.brand { color:var(--ink); font-weight:800; text-decoration:none; }
.panel-header nav { display:flex; align-items:center; flex-wrap:wrap; gap:18px; font-size:14px; }
.panel-header nav a { text-decoration:none; font-weight:700; }
.panel-header nav span { color:var(--muted); }
.panel-shell { width:min(1120px,calc(100% - 32px)); margin:32px auto 60px; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
h1 { margin:0; font-size:28px; } h2 { margin-top:0; font-size:19px; }
.grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.summary-metric-grid { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.summary-metric-grid .card { min-height:142px; }
.summary-metric-grid .card p { margin-bottom:0; }
.installation-summary-card { margin-top:18px; }
.card { padding:22px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 12px 30px rgba(44,68,82,.06); }
.metric { font-size:32px; font-weight:850; color:var(--primary); }
.muted { color:var(--muted); }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:10px 18px; border:0; border-radius:999px; color:#fff; background:var(--primary); cursor:pointer; font-weight:750; text-decoration:none; }
.button.secondary { color:var(--primary); background:#eaf0fb; }
.button.danger { color:#fff; background:#b42318; }
.button.success { color:#fff; background:#147a4b; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
label { display:grid; gap:7px; color:#344054; font-size:14px; font-weight:700; }
input,textarea,select { width:100%; padding:12px 13px; border:1px solid #bfcbd2; border-radius:10px; background:#fff; font:inherit; }
textarea { min-height:120px; resize:vertical; }
.logo-upload-field { margin:0; padding:18px; border:1px solid var(--line); border-radius:14px; }
.logo-upload-field legend { padding:0 7px; color:#344054; font-size:14px; font-weight:800; }
.logo-upload-layout { display:grid; grid-template-columns:190px 1fr; gap:20px; align-items:center; }
.logo-preview { display:flex; width:190px; height:90px; align-items:center; justify-content:center; padding:12px; border:1px dashed #aebdc6; border-radius:12px; background:#f8fafb; }
.logo-preview img { display:block; max-width:160px; max-height:64px; object-fit:contain; }
.logo-empty { color:var(--muted); font-size:13px; }
.file-help { margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.remove-logo { display:flex; grid-template-columns:auto 1fr; gap:8px; align-items:center; margin-top:12px; color:#8f1d18; }
.remove-logo input { width:auto; }
.notification-email-panel { display:grid; grid-template-columns:1fr 1.2fr; gap:12px 22px; align-items:end; padding:18px; border:1px solid #b8cbea; border-radius:14px; background:#f4f7fd; }
.notification-email-panel strong { color:#254f9f; }
.notification-email-panel p { margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.45; }
.notification-email-panel .notification-pending { grid-column:1/-1; margin:0; padding-top:11px; border-top:1px solid #d6e1f3; color:#74510a; }
.notification-email-panel .notification-active { grid-column:1/-1; margin:0; padding-top:11px; border-top:1px solid #d6e1f3; color:#147a4b; }
.avatar-builder { margin:0; padding:0; overflow:hidden; border:1px solid #b8cbea; border-radius:16px; background:#f8faff; }
.avatar-builder legend { margin-left:16px; padding:0 8px; color:#254f9f; font-size:14px; font-weight:850; }
.avatar-toggle { display:flex; grid-template-columns:auto 1fr; gap:11px; align-items:flex-start; padding:18px 20px; cursor:pointer; }
.avatar-toggle input { width:20px; height:20px; margin:1px 0 0; accent-color:var(--primary); }
.avatar-toggle span { display:grid; gap:3px; }
.avatar-toggle strong { color:var(--ink); font-size:15px; }
.avatar-toggle small { color:var(--muted); font-weight:500; line-height:1.45; }
.avatar-builder-body { display:grid; grid-template-columns:180px 1fr; gap:24px; padding:22px; border-top:1px solid #d8e3f2; background:#fff; }
.avatar-builder-body[hidden] { display:none; }
.avatar-preview-panel { display:flex; align-items:center; flex-direction:column; gap:10px; }
.avatar-preview-panel img { width:148px; height:148px; border-radius:50%; box-shadow:0 12px 28px rgba(49,95,187,.18); }
.avatar-preview-panel span { color:var(--muted); font-size:12px; font-weight:750; }
.avatar-controls { display:grid; gap:19px; min-width:0; }
.avatar-section-label { display:block; margin-bottom:9px; color:#344054; font-size:13px; font-weight:800; }
.avatar-preset-grid { display:grid; grid-template-columns:repeat(6,minmax(76px,1fr)); gap:9px; }
.avatar-preset-card { position:relative; display:grid; justify-items:center; gap:7px; padding:9px 6px; border:2px solid #d8e1e8; border-radius:13px; cursor:pointer; text-align:center; }
.avatar-preset-card:has(input:checked) { border-color:var(--primary); background:#edf3ff; box-shadow:0 0 0 2px rgba(49,95,187,.1); }
.avatar-preset-card input { position:absolute; width:1px; height:1px; opacity:0; }
.avatar-preset-card img { width:58px; height:58px; border-radius:50%; }
.avatar-preset-card span { color:#344054; font-size:11px; line-height:1.2; }
.avatar-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.avatar-is-disabled { background:#f7f8fa; }
.span-2 { grid-column:1/-1; }
.notice { margin-bottom:18px; padding:13px 16px; border-radius:12px; color:#145c3b; background:#e8f7ef; }
.error { color:#8f1d18; background:#fff0ef; }
.key { overflow-wrap:anywhere; padding:12px; border-radius:10px; background:var(--soft); font-family:ui-monospace,monospace; }
table { width:100%; border-collapse:collapse; background:#fff; }
th,td { padding:13px 12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.05em; }
.table-scroll { overflow:auto; }
.evaluations-table tbody tr { transition:background .15s ease; }
.evaluations-table tbody tr:hover { background:#f3f7fc; }
.row-link { display:block; min-height:24px; color:var(--ink); font-weight:650; text-decoration:none; }
.patient-link { color:var(--primary); font-weight:800; }
.form-id { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:12px; overflow-wrap:anywhere; }
.empty-state { padding:30px 12px; color:var(--muted); text-align:center; }
.evaluations-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; padding:16px 18px; border:1px solid #b8cbea; border-radius:15px; background:#f4f7fd; }
.evaluations-toolbar p { margin:0; color:#41516c; font-size:14px; }
.export-button { flex:0 0 auto; }
.detail-actions { margin:0 0 18px; }
.copy-summary-feedback { align-self:center; min-height:20px; color:var(--success); font-size:13px; font-weight:750; }
.copy-summary-source { position:fixed; left:-10000px; top:0; width:1px; height:1px; padding:0; border:0; opacity:0; pointer-events:none; }
.evaluation-header { display:grid; grid-template-columns:1fr 1.6fr 1fr; gap:22px; }
.evaluation-header > div { display:grid; align-content:start; gap:7px; }
.detail-label { display:block; margin-bottom:7px; color:var(--muted); font-size:12px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.diagnosis-summary { margin-top:18px; border-color:#add9bf; background:#f0faf3; }
.diagnosis-summary p { margin:0; color:#195c36; font-size:18px; font-weight:800; line-height:1.5; }
.retention-info { margin:0 0 18px; padding:14px 17px; border:1px solid #c7d3ee; border-radius:13px; color:#41516c; background:#f4f7fd; font-size:13px; line-height:1.5; }
.evaluation-delete { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:28px; border-color:#efb5b0; background:#fff8f7; }
.evaluation-delete h2 { margin-bottom:7px; color:#8f1d18; }
.evaluation-delete p { max-width:650px; margin:0; color:#667085; font-size:14px; line-height:1.55; }
.evaluation-delete form { display:grid; flex:0 0 280px; gap:11px; }
.retention-explanation,.retention-settings,.retention-status { margin-bottom:20px; }
.retention-explanation p { margin-bottom:0; color:var(--muted); line-height:1.6; }
.retention-settings label small { color:var(--muted); font-weight:500; line-height:1.45; }
.retention-toggle { display:flex; grid-template-columns:auto 1fr; gap:11px; align-items:flex-start; margin-top:20px; padding:15px; border:1px solid var(--line); border-radius:13px; background:#f8fafb; }
.retention-toggle input { width:20px; height:20px; margin:1px 0 0; accent-color:var(--primary); }
.retention-toggle span { display:grid; gap:3px; }
.retention-toggle small { color:var(--muted); font-weight:500; }
.answers-section { margin-top:28px; }
.answer-list { display:grid; gap:14px; }
.answer-card { display:grid; grid-template-columns:38px 1fr; gap:15px; padding:19px 21px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 8px 22px rgba(44,68,82,.04); }
.answer-number { display:flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:50%; color:#fff; background:var(--primary); font-weight:850; }
.answer-card h3 { margin:1px 0 5px; font-size:16px; line-height:1.45; }
.field-label { margin:0 0 10px; color:var(--muted); font-size:13px; }
.patient-answer { padding:12px 14px; border-radius:11px; background:#f7ead7; line-height:1.5; }
.patient-symptoms { margin:0; padding-left:1.25rem; }
.patient-symptoms li + li { margin-top:6px; }
.login-card { max-width:460px; margin:70px auto; }
.mfa-cancel-form { margin-top:12px; }
.mfa-code-input { max-width:240px; font-size:24px; font-weight:800; letter-spacing:.16em; }
.mfa-introduction { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.mfa-introduction p { margin-bottom:0; color:var(--muted); line-height:1.55; }
.mfa-status { display:inline-flex; flex:0 0 auto; padding:7px 11px; border-radius:999px; font-size:12px; font-weight:850; }
.mfa-status.enabled { color:#147a4b; background:#e8f7ef; }
.mfa-status.disabled { color:#74510a; background:#fff6dc; }
.mfa-start-form { max-width:460px; }
.mfa-setup { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.mfa-setup p { color:var(--muted); line-height:1.55; }
.mfa-qr { display:flex; width:252px; min-height:252px; align-items:center; justify-content:center; margin:18px 0; padding:16px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.mfa-qr img,.mfa-qr canvas { display:block; width:220px; height:220px; }
.mfa-manual-key code { display:inline-block; margin-top:8px; color:var(--ink); font-size:14px; font-weight:800; letter-spacing:.08em; overflow-wrap:anywhere; }
.recovery-codes { border-color:#e4bd62; }
.recovery-code-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:18px 0; }
.recovery-code-grid code { padding:11px 13px; border:1px solid #d7dee3; border-radius:9px; background:#f8fafb; font-size:14px; font-weight:750; letter-spacing:.04em; }
.mfa-danger { border-color:#efb5b0; background:#fff8f7; }
.mfa-danger h2 { color:#8f1d18; }
.login-help { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 14px; margin-top:14px; font-size:13px; }
.form-help { margin:14px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.email-verification { display:inline-flex; width:fit-content; margin-top:5px; padding:4px 8px; border-radius:999px; font-size:11px; font-weight:800; }
.email-verification.verified { color:#147a4b; background:#e8f7ef; }
.email-verification.pending { color:#74510a; background:#fff6dc; }
.email-info { margin-bottom:18px; }
.email-info p { margin-bottom:0; line-height:1.55; }
.notice-local { padding:12px 14px; border-radius:11px; color:#74510a; background:#fff6dc; }
.delivery-status { display:inline-flex; padding:5px 9px; border-radius:999px; font-size:12px; font-weight:800; white-space:nowrap; }
.delivery-status.sent { color:#147a4b; background:#e8f7ef; }
.delivery-status.failed { color:#8f1d18; background:#fff0ef; }
.delivery-status.pending { color:#74510a; background:#fff6dc; }
.button.compact { min-height:34px; padding:6px 11px; font-size:12px; }
.admin-header { border-bottom-color:#c7d3ee; background:#f8faff; }
.admin-next-card,.admin-explanation { margin-top:20px; }
.smtp-settings { margin:0; padding:18px; border:1px solid var(--line); border-radius:14px; }
.smtp-settings[hidden] { display:none; }
.smtp-settings legend { padding:0 7px; color:#254f9f; font-size:14px; font-weight:800; }
.secret-help { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
.admin-metric-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:20px; }
.admin-metric { display:grid; align-content:start; gap:5px; min-height:148px; }
.admin-metric .metric { line-height:1.05; }
.admin-metric strong { font-size:15px; }
.admin-metric small { margin-top:4px; color:var(--muted); line-height:1.4; }
.organizations-panel,.admin-section { margin-top:20px; }
.section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
.section-heading h2 { margin-bottom:5px; }
.section-heading p { margin:0; color:var(--muted); font-size:14px; line-height:1.5; }
.result-count { flex:0 0 auto; padding:7px 11px; border-radius:999px; color:#254f9f; background:#edf3ff; font-size:12px; font-weight:800; }
.admin-filters { display:grid; grid-template-columns:minmax(230px,2fr) minmax(150px,1fr) auto auto; gap:12px; align-items:end; margin-bottom:20px; padding:15px; border:1px solid var(--line); border-radius:14px; background:#f8fafb; }
.organizations-table td strong,.organizations-table td small { display:block; }
.organizations-table td small { margin-top:4px; color:var(--muted); font-size:12px; line-height:1.35; }
.organization-status { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:800; white-space:nowrap; }
.organization-status::before { width:7px; height:7px; border-radius:50%; background:currentColor; content:""; }
.organization-status.active { color:#147a4b; background:#e8f7ef; }
.organization-status.suspended { color:#74510a; background:#fff6dc; }
.organization-status.cancelled { color:#8f1d18; background:#fff0ef; }
.admin-detail-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:20px; }
.admin-data-list { display:grid; gap:0; margin:0; }
.admin-data-list div { display:grid; grid-template-columns:150px 1fr; gap:14px; padding:11px 0; border-bottom:1px solid var(--line); }
.admin-data-list div:last-child { border-bottom:0; }
.admin-data-list dt { color:var(--muted); font-size:13px; font-weight:750; }
.admin-data-list dd { margin:0; overflow-wrap:anywhere; font-weight:650; }
.compact-list { display:grid; gap:10px; }
.compact-list > div { display:grid; gap:3px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:#f8fafb; }
.compact-list span { color:var(--muted); font-size:13px; }
.installation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.installation-grid article { display:grid; gap:6px; padding:16px; border:1px solid var(--line); border-radius:14px; background:#f8fafb; }
.installation-grid article span,.installation-grid article small { color:var(--muted); }
.installation-grid code { overflow-wrap:anywhere; padding:9px; border-radius:8px; color:#254f9f; background:#edf3ff; }
.subheading { margin:22px 0 10px; font-size:15px; }
.domain-list { display:flex; flex-wrap:wrap; gap:8px; }
.domain-list span { padding:7px 10px; border:1px solid #b8cbea; border-radius:999px; color:#254f9f; background:#f4f7fd; font-size:13px; font-weight:700; }
.privacy-note { margin-top:18px; padding:14px 17px; border:1px solid #add9bf; border-radius:13px; color:#195c36; background:#f0faf3; font-size:13px; line-height:1.5; }
.organization-control { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:20px; border-color:#c7d3ee; background:#f8faff; }
.organization-control h2 { margin-bottom:7px; }
.organization-control p { max-width:760px; margin:0; color:var(--muted); font-size:14px; line-height:1.55; }
.organization-control form { flex:0 0 auto; }
.installation-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:20px; }
.installation-intro h2 { margin-bottom:7px; }
.installation-intro p { max-width:760px; margin:0; color:var(--muted); line-height:1.55; }
.friendly-link-manager { margin-bottom:20px; }
.friendly-link-preview { display:flex; flex-wrap:wrap; align-items:center; gap:0; margin:15px 0; padding:13px 15px; border:1px solid #b8cbea; border-radius:12px; color:#41516c; background:#f4f7fd; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:13px; overflow-wrap:anywhere; }
.friendly-link-preview strong { color:#254f9f; }
.friendly-link-form { display:grid; grid-template-columns:minmax(260px,1fr) auto; gap:14px; align-items:end; }
.friendly-link-form label small { color:var(--muted); font-weight:500; line-height:1.4; }
.domain-manager { margin-bottom:20px; }
.domain-form { display:grid; grid-template-columns:minmax(260px,1fr) minmax(210px,.7fr) auto; gap:14px; align-items:end; padding:17px; border:1px solid var(--line); border-radius:14px; background:#f8fafb; }
.domain-form label small { color:var(--muted); font-weight:500; line-height:1.4; }
.domain-checkbox { display:flex; grid-template-columns:auto 1fr; align-items:center; gap:10px; min-height:44px; cursor:pointer; }
.domain-checkbox input { width:20px; height:20px; margin:0; accent-color:var(--primary); }
.domain-checkbox span { display:grid; gap:2px; }
.domain-checkbox small { color:var(--muted); font-weight:500; }
.empty-domain-state { display:grid; gap:4px; margin-top:14px; padding:16px; border:1px dashed #b8cbea; border-radius:13px; color:#41516c; background:#f4f7fd; }
.empty-domain-state span { color:var(--muted); font-size:13px; line-height:1.5; }
.single-domain-help { margin:0 0 12px; padding:11px 14px; border-radius:11px; color:#41516c; background:#f4f7fd; font-size:13px; line-height:1.45; }
.domain-rows { display:grid; gap:9px; margin-top:14px; }
.domain-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 15px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.domain-row > div { display:grid; gap:3px; }
.domain-row span { color:var(--muted); font-size:12px; }
.installation-methods { display:grid; grid-template-columns:1fr; gap:16px; }
.wordpress-plugin-card { margin-bottom:16px; }
.wordpress-plugin-card ol { display:grid; gap:8px; margin:0 0 17px; padding-left:22px; color:#41516c; line-height:1.5; }
.wordpress-plugin-key { display:grid; gap:6px; margin-bottom:16px; padding:13px 15px; border:1px solid #b8cbea; border-radius:12px; background:#f4f7fd; }
.wordpress-plugin-key span { color:var(--muted); font-size:12px; font-weight:700; }
.wordpress-plugin-key code { overflow-wrap:anywhere; color:#254f9f; }
.installation-method { overflow:hidden; }
.method-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:15px; }
.method-heading h2 { margin-bottom:5px; }
.method-heading p { max-width:720px; margin:0; color:var(--muted); font-size:14px; line-height:1.5; }
.method-heading > span { flex:0 0 auto; padding:6px 10px; border-radius:999px; color:#254f9f; background:#edf3ff; font-size:11px; font-weight:800; }
.installation-code { color:#24324a; background:#f8fafb; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:12px; line-height:1.55; }
textarea.installation-code { min-height:98px; }
.key-footnote { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:18px; padding:14px 17px; border:1px solid var(--line); border-radius:13px; color:#41516c; background:#f8fafb; font-size:12px; }
.key-footnote code { overflow-wrap:anywhere; color:#254f9f; }
.key-footnote span { color:var(--muted); }
.permission-denied { max-width:640px; }
.permission-denied p,.permission-note { color:var(--muted); line-height:1.55; }
.color-contrast-status { padding:12px 14px; border-radius:11px; font-size:13px; font-weight:750; line-height:1.45; }
.color-contrast-status.valid { border:1px solid #add9bf; color:#195c36; background:#f0faf3; }
.color-contrast-status.invalid { border:1px solid #efc1ba; color:#9f261c; background:#fff1ef; }
.button:disabled { cursor:not-allowed; opacity:.55; }
.theme-colors { padding:18px; border:1px solid #b8cbea; border-radius:14px; background:#f8faff; }
.theme-colors-heading { margin-bottom:15px; }
.theme-colors-heading strong { color:#254f9f; }
.theme-colors-heading p { margin:5px 0 0; color:var(--muted); font-size:13px; line-height:1.45; }
.theme-color-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.theme-color-field { display:grid; gap:8px; padding:14px; border:1px solid #d8e3f2; border-radius:12px; background:#fff; }
.theme-color-field > strong { color:#344054; font-size:14px; }
.theme-color-inputs { display:grid; grid-template-columns:minmax(150px,.8fr) minmax(150px,1fr); gap:11px; }
.theme-color-inputs label { color:var(--muted); font-size:11px; }
.visual-color-input input { min-height:46px; padding:4px; cursor:pointer; }
.hex-color-input input { min-height:46px; color:#24324a; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-weight:750; text-transform:uppercase; }
.result-claims { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:18px; border:1px solid #b8cbea; border-radius:14px; background:#f8faff; }
.result-claims > div { grid-column:1/-1; }
.result-claims > div strong { color:#254f9f; }
.result-claims > div p { margin:5px 0 0; color:var(--muted); font-size:13px; font-weight:500; line-height:1.45; }
.result-claims label { padding:14px; border:1px solid #d8e3f2; border-radius:12px; background:#fff; }
.permission-note { margin:14px 0 0; padding:12px 14px; border-radius:11px; background:#f4f7fd; font-size:13px; }
.team-explanation { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; margin-bottom:20px; border-color:#b8cbea; background:#f8faff; }
.team-explanation h2 { margin-bottom:7px; }
.team-explanation p { max-width:780px; margin:0; color:var(--muted); line-height:1.55; }
.team-invite,.team-members,.team-ownership,.team-pending { margin-bottom:20px; }
.team-invite-form { display:grid; grid-template-columns:1.1fr 1.2fr .8fr auto; gap:14px; align-items:end; }
.team-email { display:block; margin-top:4px; color:var(--muted); font-size:12px; }
.role-badge { display:inline-flex; width:fit-content; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:850; white-space:nowrap; }
.role-badge.owner { color:#704b00; background:#fff0c2; }
.role-badge.admin { color:#254f9f; background:#eaf0fb; }
.role-badge.viewer { color:#41516c; background:#edf1f4; }
.owner-protected { color:#704b00; font-size:12px; font-weight:750; }
.member-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.member-actions form { display:flex; align-items:center; gap:8px; margin:0; }
.member-actions select { min-width:145px; padding:8px 10px; }
.team-ownership { border-color:#efb5b0; background:#fffaf9; }
.team-ownership .section-heading p { max-width:760px; margin:5px 0 0; color:var(--muted); line-height:1.5; }
.ownership-warning { display:inline-flex; width:fit-content; padding:6px 10px; border-radius:999px; color:#8f1d18; background:#fff0ef; font-size:12px; font-weight:850; white-space:nowrap; }
.ownership-transfer-form { display:grid; grid-template-columns:1.2fr 1fr; gap:14px; align-items:end; }
.ownership-confirm { display:flex; align-items:flex-start; gap:10px; font-weight:600; line-height:1.45; }
.ownership-confirm input { width:auto; margin-top:3px; flex:0 0 auto; }
.ownership-transfer-form .button { justify-self:start; }
.pending-invitations { display:grid; gap:10px; }
.pending-invitation { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px; border:1px solid var(--line); border-radius:13px; background:#f8fafb; }
.pending-invitation > div:first-child { display:grid; gap:4px; }
.pending-invitation span,.pending-invitation small { color:var(--muted); }
.invitation-accept h2 { margin-top:14px; }
.invitation-accept label small { color:var(--muted); font-weight:500; }
@media(max-width:900px){ .avatar-preset-grid{grid-template-columns:repeat(3,1fr)} }
@media(max-width:980px){ .admin-metric-grid{grid-template-columns:repeat(2,1fr)}.admin-filters{grid-template-columns:1fr 1fr}.admin-detail-grid{grid-template-columns:1fr} }
@media(max-width:900px){ .domain-form{grid-template-columns:1fr 1fr}.domain-form .button{grid-column:1/-1} }
@media(max-width:760px){ .panel-header{align-items:flex-start;flex-direction:column}.grid,.form-grid,.evaluation-header,.notification-email-panel,.team-invite-form,.ownership-transfer-form,.mfa-setup{grid-template-columns:1fr}.span-2{grid-column:auto}.panel-header nav{gap:11px}.panel-shell{margin-top:22px}table{font-size:13px}.answer-card{grid-template-columns:32px 1fr;padding:15px}.form-id{max-width:260px}.logo-upload-layout{grid-template-columns:1fr}.logo-preview{width:100%}.evaluations-toolbar{align-items:stretch;flex-direction:column}.export-button{width:100%}.avatar-builder-body{grid-template-columns:1fr;padding:18px}.avatar-preview-panel img{width:120px;height:120px}.avatar-detail-grid{grid-template-columns:1fr}.admin-filters,.installation-grid,.domain-form,.friendly-link-form{grid-template-columns:1fr}.admin-filters .button,.domain-form .button,.friendly-link-form .button,.team-invite-form .button,.ownership-transfer-form .button{width:100%;grid-column:auto}.section-heading,.organization-control,.installation-intro,.method-heading,.team-explanation,.mfa-introduction{align-items:stretch;flex-direction:column}.organization-control form,.organization-control .button{width:100%}.admin-data-list div{grid-template-columns:1fr;gap:4px}.domain-row{align-items:stretch;flex-direction:column}.domain-row form,.domain-row .button{width:100%}.evaluation-delete{align-items:stretch;flex-direction:column}.evaluation-delete form{width:100%;flex-basis:auto}.pending-invitation{align-items:stretch;flex-direction:column}.member-actions{align-items:stretch;flex-direction:column}.member-actions form{width:100%;align-items:stretch;flex-direction:column}.member-actions .button{width:100%}.mfa-qr{width:100%;max-width:252px}.recovery-code-grid{grid-template-columns:1fr} }

@media print { .panel-header,.panel-heading,.recovery-codes .actions { display:none; } body { background:#fff; } .panel-shell { width:100%; margin:0; } .recovery-codes { border:0; box-shadow:none; } }
@media(max-width:480px){ .admin-metric-grid{grid-template-columns:1fr}.admin-metric{min-height:0}.panel-shell{width:min(100% - 20px,1120px)} }
@media(max-width:760px){ .theme-color-grid,.result-claims{grid-template-columns:1fr}.result-claims > div{grid-column:auto} }
@media(max-width:520px){ .theme-color-inputs{grid-template-columns:1fr} }

.panel-tour-card { margin-top: 24px; }
.panel-tour-card .section-heading p { font-size: 16px; }
.panel-tour-video { position: relative; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #eef3f8; }
.panel-tour-video iframe { display: block; width: 100%; height: 100%; border: 0; }
