:root {
  --ink: #172438;
  --ink-soft: #586579;
  --navy: #122b46;
  --navy-2: #183a5c;
  --gold: #b79a63;
  --gold-text: #8a6a2c;
  --gold-soft: #f1eadc;
  --paper: #f4f6f8;
  --surface: #ffffff;
  --line: #e4e8ed;
  --danger: #8f3a35;
  --danger-soft: #f7e8e6;
  --warning: #7a5116;
  --warning-soft: #f8eedc;
  --success: #46745d;
  --success-soft: #e7f1eb;
  --shadow: 0 20px 50px rgba(24, 43, 67, .09);
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { display: block; color: var(--gold-text); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.app-shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 16px 20px; display: flex; flex-direction: column; color: #fff; background: linear-gradient(180deg, #102b46 0%, #0e2339 100%); overflow: hidden; }
.sidebar::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(183,154,99,.18); border-radius: 50%; left: -125px; bottom: 110px; box-shadow: 0 0 0 35px rgba(183,154,99,.035), 0 0 0 70px rgba(183,154,99,.025); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 13px; padding: 0 8px 30px; border-bottom: 1px solid rgba(255,255,255,.09); position: relative; z-index: 1; }
.brand-logo { position: relative; width: 52px; height: 58px; flex: 0 0 52px; display: grid; place-items: center; }
.brand-logo::after { content: ""; position: absolute; inset: 11px 8px; border-radius: 50%; background: rgba(223,184,105,.2); filter: blur(10px); }
.brand-logo img { position: relative; z-index: 1; width: 72px; height: 72px; max-width: none; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(222,177,88,.3)); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: Manrope, sans-serif; font-size: 15px; letter-spacing: .03em; }
.brand-copy span { color: #bfc9d4; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav-list { display: grid; gap: 8px; margin-top: 30px; position: relative; z-index: 1; }
.nav-item { width: 100%; min-height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 10px; color: #bfcbd7; background: transparent; text-align: left; }
.nav-item:hover:not(:disabled) { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 3px 0 0 var(--gold); }
.nav-item:disabled { opacity: .55; }
.nav-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-icon { width: 22px; color: #d5c097; text-align: center; }
.nav-icon svg, .metric-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-item small { margin-left: auto; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-note { margin-top: auto; padding: 18px; border: 1px solid rgba(213,192,151,.22); border-radius: 13px; background: rgba(255,255,255,.045); position: relative; z-index: 1; }
.sidebar-note strong { display: block; margin: 7px 0; font-family: Manrope, sans-serif; font-size: 14px; }
.sidebar-note p { margin: 0; color: #aebbc8; font-size: 12px; line-height: 1.55; }
.profile-mini { display: grid; grid-template-columns: 42px minmax(0,1fr) 28px; align-items: center; gap: 8px; margin-top: 20px; padding: 18px 5px 0; border-top: 1px solid rgba(255,255,255,.09); position: relative; z-index: 1; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: var(--navy); background: #d9c69f; font-size: 12px; font-weight: 700; }
.profile-avatar img { width: 100%; height: 100%; display: none; object-fit: cover; object-position: 50% 18%; }.profile-avatar img[src]:not([src=""]) { display: block; }.profile-avatar img[src]:not([src=""]) + span { display: none; }.profile-details { min-width: 0; }.profile-mini strong, .profile-mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-mini strong, .profile-mini span { display: block; }
.profile-mini strong { font-size: 12px; }.profile-mini span { color: #9eacba; font-size: 10px; }
.profile-mini button { border: 0; color: #93a2b1; background: transparent; }.profile-menu { position: relative; }.profile-menu > button { width: 28px; height: 30px; padding: 0; font-size: 16px; letter-spacing: 1px; cursor: pointer; }.profile-menu > button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }.profile-menu-popover { position: absolute; right: 0; bottom: calc(100% + 8px); width: 148px; padding: 5px; border: 1px solid rgba(210,225,237,.18); border-radius: 9px; background: #fff; box-shadow: 0 10px 28px rgba(3,17,32,.28); }.profile-menu-popover button { width: 100%; min-height: 33px; border-radius: 6px; color: #a44242; text-align: left; font-size: 11px; font-weight: 700; }.profile-menu-popover button:hover { background: #fff1f0; }

.main-content { min-width: 0; padding: 28px clamp(18px, 2.4vw, 34px) 42px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.topbar h1 { margin: 5px 0 4px; font-family: Manrope, sans-serif; font-size: clamp(25px, 2.6vw, 34px); letter-spacing: -.035em; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.asb-portfolio-context { min-width: 190px; max-width: 300px; padding: 9px 13px; display: grid; gap: 2px; border: 1px solid #dfc58e; border-radius: 11px; background: #fffaf0; box-shadow: 0 7px 18px rgba(65,48,18,.06); }
.asb-portfolio-context span { color: #8a6a2c; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.asb-portfolio-context strong { overflow: hidden; color: var(--navy); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.asb-portfolio-subtitle { margin: 5px 0 0; color: #7a6540; font-size: 11px; font-weight: 700; }
.profile-mini .profile-portfolio { max-width: 175px; color: #e1c98f; font-size: 10px; font-weight: 700; line-height: 1.3; }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 22px; }
.icon-button { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font-size: 20px; }
.notification-dot { position: absolute; top: 9px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.primary-button, .secondary-button { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-weight: 600; }
.primary-button { border: 1px solid var(--navy); color: #fff; background: var(--navy); box-shadow: 0 8px 18px rgba(18,43,70,.14); }
.primary-button:hover:not(:disabled) { background: var(--navy-2); }
.primary-button:disabled { opacity: .55; }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: #fff; }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.metric-card { min-width: 0; min-height: 108px; padding: 15px; display: grid; grid-template-columns: 36px 1fr auto; align-items: start; gap: 10px; border: 1px solid var(--line); border-radius: 13px; color: inherit; background: var(--surface); text-align: left; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.metric-card:hover, .metric-card.active { transform: translateY(-2px); border-color: rgba(183,154,99,.7); box-shadow: var(--shadow); }
.metric-card.active { box-shadow: inset 0 3px 0 var(--gold), var(--shadow); }
.metric-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; font-size: 17px; }
.metric-icon.urgent { color: var(--danger); background: var(--danger-soft); }.metric-icon.calendar { color: #466b90; background: #e9f0f7; }.metric-icon.treatment { color: var(--warning); background: var(--warning-soft); }.metric-icon.inactive { color: #66707d; background: #edf0f2; }
.metric-icon.money { color: #486d59; background: #e6f0ea; }
.metric-icon.resolved-icon { color: #3c7660; background: #e1f1e9; }
.metric-card.financial .metric-content strong { font-size: clamp(18px, 1.5vw, 23px); }
.metric-content > span, .metric-content strong, .metric-content small { display: block; }
.metric-content > span { min-height: 20px; color: var(--ink-soft); font-size: 11px; line-height: 1.35; }
.metric-content strong { margin: 3px 0 2px; font-family: Manrope, sans-serif; font-size: 23px; letter-spacing: -.03em; }
.metric-content small { color: #8b95a2; font-size: 10px; }
.metric-arrow { color: #a0a8b1; }

.workspace-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 35px rgba(24,43,67,.045); overflow: hidden; }
.section-heading { padding: 24px 26px 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 4px 0 0; font-family: Manrope, sans-serif; font-size: 21px; letter-spacing: -.02em; }
.result-summary { color: var(--ink-soft); font-size: 12px; }.result-summary span { color: var(--ink); font-weight: 700; }
.toolbar { padding: 0 20px 16px; display: grid; grid-template-columns: minmax(190px, 1fr) repeat(3, minmax(120px, 140px)) minmax(150px, 175px) auto auto; gap: 8px; }
.search-field, .select-field { min-width: 0; min-height: 40px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; }
.search-field { padding: 0 13px; }.search-field span { color: #87919c; font-size: 20px; }.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); }
.select-field { padding-left: 10px; }.select-field > span { flex: 0 0 auto; color: #7c8794; font-size: 9px; text-transform: uppercase; }.select-field select { min-width: 0; width: 100%; flex: 1; height: 38px; padding-right: 3px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; text-overflow: ellipsis; }
.filter-button { padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-soft); background: #f9fafb; }
.columns-control { position: relative; z-index: 5; }.columns-button { height: 40px; padding: 0 14px; border: 1px solid #cdbb91; border-radius: 9px; color: var(--navy); background: var(--gold-soft); font-size: 11px; font-weight: 700; }.columns-menu { position: absolute; top: calc(100% + 7px); right: 0; width: 225px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 18px 42px rgba(18,43,70,.16); }.columns-menu strong { display: block; margin-bottom: 9px; color: var(--ink); font-size: 11px; }.columns-menu label { min-height: 30px; display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 11px; cursor: pointer; }.columns-menu input { accent-color: var(--navy); }.column-hidden { display: none !important; }
.table-wrap { overflow-x: hidden; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.col-patient { width: 20%; }.col-responsible { width: 13%; }.col-last { width: 10%; }.col-days { width: 12%; }.col-next { width: 12%; }.col-procedure { width: 17%; }.col-value { width: 11%; }.col-status { width: 10%; }.col-actions { width: 8%; }
th { height: 40px; padding: 0 8px; color: #7d8794; background: #f8f9fa; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
td { height: 54px; padding: 0 8px; border-top: 1px solid #edf0f2; color: #3b4655; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tbody tr { transition: background .15s ease; } tbody tr:not(.loading-row):hover { background: #fbfaf7; }
.patient-cell { min-width: 0; display: grid; grid-template-columns: 7px 28px minmax(0,1fr); align-items: center; gap: 7px; }.patient-initials { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #e7edf3; font-size: 9px; font-weight: 700; }.patient-cell strong { display: flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-size: 11px; }.patient-cell small { color: #89939e; font-size: 9px; }.table-health-seal { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 7px rgba(180,81,76,.25); }
.responsible-cell strong { display: block; overflow: hidden; color: var(--navy); font-size: 11px; font-weight: 700; text-overflow: ellipsis; }
.priority-dot { width: 7px; height: 7px; border-radius: 50%; }.priority-dot.high { background: var(--danger); }.priority-dot.medium { background: #d29b40; }.priority-dot.regular { background: var(--success); }.priority-dot.inactive { background: #9aa1a8; }
.priority { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; }.priority::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }.priority.high { color: var(--danger); }.priority.high::before { background: var(--danger); }.priority.medium { color: var(--warning); }.priority.medium::before { background: #d29b40; }.priority.regular { color: var(--success); }.priority.regular::before { background: var(--success); }.priority.inactive { color: #818a94; }.priority.inactive::before { background: #9aa1a8; }
.days-count { color: var(--ink); font-weight: 600; }.days-count.is-scheduled{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;color:#fff;background:#16734c;box-shadow:0 2px 6px rgba(22,115,76,.22);font-size:11px;font-weight:800}.muted { color: #919aa4; }
.status-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; font-size: 10px; font-weight: 700; }.status-consulta { color: #426487; background: #e9f0f7; }.status-controle { color: #805f27; background: #f7eedc; }.status-tratamento { color: #486d59; background: #e6f0ea; }.status-inativo { color: #6d737b; background: #eceff1; }
.row-action { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: #fff; }.row-action:hover { border-color: var(--gold); background: var(--gold-soft); }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }.resolve-check { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #8c96a0; background: #fff; }.resolve-check svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }.resolve-check.is-resolved { border-color: #9ec9b5; color: #fff; background: var(--success); }.patient-resolved td { background: #f6faf8; color: #77857d; }.patient-resolved .patient-cell strong { color: #52675c; }
.money-value { color: var(--success); font-weight: 700; }
.loading-row td { height: 180px; color: #7b8692; text-align: center; }.loader { width: 18px; height: 18px; display: inline-block; margin-right: 8px; border: 2px solid #dce2e8; border-top-color: var(--navy); border-radius: 50%; vertical-align: middle; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pagination { min-height: 58px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #7f8994; font-size: 11px; }.pagination div { display: flex; gap: 6px; }.pagination button { width: 34px; height: 32px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }.pagination button:disabled { opacity: .4; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(12,26,42,.35); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.patient-drawer { position: fixed; top: 0; right: 0; z-index: 31; width: min(720px, 100%); height: 100vh; padding: 0 28px 28px; background: #fff; box-shadow: -20px 0 60px rgba(10,29,47,.16); overflow-x: hidden; overflow-y: auto; transform: translateX(105%); transition: transform .3s ease; }
.patient-drawer.open { transform: translateX(0); }
.drawer-header { position: sticky; top: 0; z-index: 2; min-height: 110px; display: grid; grid-template-columns: 52px minmax(0,1fr) 82px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); background: #fff; }
.patient-avatar { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: 14px; font-weight: 700; }.drawer-title { min-width: 0; }.drawer-name-row { min-width: 0; display: flex; align-items: center; gap: 9px; }.drawer-header h2 { min-width: 0; margin: 3px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Manrope, sans-serif; font-size: 21px; }.drawer-header p { margin: 0; color: #7d8792; font-size: 11px; }.drawer-header-actions { display: flex; align-items: center; gap: 7px; }.close-button, .edit-identity-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font-size: 21px; }.edit-identity-button { color: var(--navy); font-size: 18px; }.edit-identity-button:hover, .edit-identity-button.active { border-color: #c9b688; background: var(--gold-soft); }.edit-identity-button:disabled { opacity: .4; cursor: not-allowed; }.header-health-seal { width: 40px; height: 40px; flex: 0 0 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: 0 4px 14px rgba(180,81,76,.32); }.header-health-seal img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }.header-health-seal:hover { transform: translateY(-1px) scale(1.03); box-shadow: 0 6px 17px rgba(180,81,76,.42); }
.drawer-highlight { margin: 22px 0; padding: 17px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #122b46, #1b4268); }.drawer-highlight div + div { padding-left: 15px; border-left: 1px solid rgba(255,255,255,.15); }.drawer-highlight span, .drawer-highlight strong { display: block; }.drawer-highlight span { color: #bac8d5; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }.drawer-highlight strong { margin-top: 5px; font-size: 13px; }
.form-section { padding: 20px 0; border-top: 1px solid var(--line); }.form-section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }.form-section-title > span { color: var(--gold); font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700; }.form-section-title strong, .form-section-title small { display: block; }.form-section-title strong { font-size: 13px; }.form-section-title small { color: #8b95a0; font-size: 10px; }
.identity-section { padding-top: 22px; border-top: 0; }.identity-section[hidden] { display: none; }
.procedure-heading .add-procedure { margin-left: auto; min-height: 34px; padding: 0 11px; border: 1px solid #c9b688; border-radius: 8px; color: var(--navy); background: var(--gold-soft); font-size: 10px; font-weight: 700; }
.procedure-summary { margin-bottom: 12px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; border-radius: 9px; color: var(--navy); background: #f2f5f7; }.procedure-summary span { color: #6e7986; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }.procedure-summary strong { font-family: Manrope, sans-serif; font-size: 18px; }
.procedure-list { display: grid; gap: 10px; }.procedure-row { position: relative; min-width: 0; padding: 12px 52px 12px 12px; display: grid; grid-template-columns: minmax(160px, 1fr) minmax(100px, 110px) minmax(100px, 110px) minmax(120px, 130px); gap: 8px; align-items: end; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }.procedure-row label { min-width: 0; margin: 0; }.procedure-row label:first-child { align-self: stretch; }.procedure-row label:first-child select { width: 100%; }.procedure-row .manual-name { margin-top: 6px; }.procedure-row .remove-procedure { position: absolute; right: 10px; bottom: 12px; width: 34px; height: 41px; display: grid; place-items: center; padding: 0; border: 1px solid #edd6d3; border-radius: 8px; color: var(--danger); background: var(--danger-soft); font-size: 17px; line-height: 1; }.procedure-row .remove-procedure:hover { border-color: var(--danger); background: #f2d8d5; }.empty-procedures { margin: 5px 0 0; color: #929aa4; font-size: 11px; text-align: center; }
.health-control { max-width: 190px; }.health-control > label { margin-bottom: 0; }.embedded-relationships { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }.embedded-relationships .form-section-title { margin-bottom: 12px; }
.next-action-field { margin-bottom: 14px; }.next-action-field > span { display: block; margin-bottom: 7px; color: #536474; font-size: 10px; font-weight: 700; text-transform: uppercase; }.action-checklist { position: relative; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.action-checklist[open] { border-color: #c9b688; box-shadow: 0 0 0 3px rgba(201,182,136,.14); }.action-checklist summary { min-height: 42px; padding: 0 38px 0 13px; display: flex; align-items: center; cursor: pointer; color: #536474; font-size: 11px; font-weight: 600; list-style: none; }.action-checklist summary::-webkit-details-marker { display: none; }.action-checklist summary::after { content: "⌄"; position: absolute; right: 14px; color: var(--navy); font-size: 16px; }.action-checklist[open] summary::after { transform: rotate(180deg); }.action-checklist-options { padding: 4px 10px 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; border-top: 1px solid var(--line); }.action-checklist-options label { min-width: 0; margin: 0; padding: 8px 9px; display: flex; align-items: center; gap: 7px; border: 1px solid #e1e7ec; border-radius: 8px; color: var(--ink); background: #fbfcfd; font-size: 10px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }.action-checklist-options input { width: 14px; height: 14px; margin: 0; accent-color: var(--navy); }.action-checklist-options label:has(input:checked) { border-color: #c9b688; color: var(--navy); background: var(--gold-soft); }.action-checklist-options input:disabled { cursor: not-allowed; }.field-hint { display: block; margin-top: 5px; }
.relationship-heading .add-relationship { margin-left: auto; min-height: 34px; padding: 0 11px; border: 1px solid #c9b688; border-radius: 8px; color: var(--navy); background: var(--gold-soft); font-size: 10px; font-weight: 700; }.relationship-list { display: grid; gap: 9px; }.relationship-row { position: relative; padding: 12px 52px 0 12px; display: grid; grid-template-columns: minmax(125px, .7fr) minmax(180px, 1.3fr); gap: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }.relationship-row label { min-width: 0; }.remove-relationship { position: absolute; right: 10px; bottom: 13px; width: 34px; height: 41px; border: 1px solid #edd6d3; border-radius: 8px; color: var(--danger); background: var(--danger-soft); font-size: 17px; }.empty-relationships { margin: 5px 0 0; color: #929aa4; font-size: 11px; text-align: center; }
.patient-drawer label { display: grid; gap: 6px; margin-bottom: 13px; color: #66717e; font-size: 10px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }.patient-drawer input, .patient-drawer select, .patient-drawer textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; outline: 0; text-transform: none; }.patient-drawer input, .patient-drawer select { height: 41px; padding: 0 11px; }.patient-drawer textarea { padding: 11px; resize: vertical; }.patient-drawer input:focus, .patient-drawer select:focus, .patient-drawer textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,154,99,.12); }
.patient-drawer .action-checklist-options label { min-height: 32px; margin: 0; padding: 6px 8px; display: flex; align-items: center; gap: 7px; border: 1px solid #e1e7ec; border-radius: 8px; color: var(--ink); background: #fbfcfd; font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: none; }.patient-drawer .action-checklist-options input { width: 14px; height: 14px; min-height: 14px; flex: 0 0 14px; margin: 0; padding: 0; border: 0; border-radius: 3px; accent-color: var(--navy); }
.form-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.drawer-actions { position: sticky; bottom: -28px; z-index: 2; padding: 17px 0 28px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: #fff; }.delete-patient-button { min-height: 42px; margin-right: auto; padding: 0 15px; border: 1px solid #e7c5c1; border-radius: 10px; color: var(--danger); background: #fff; font-weight: 700; }.delete-patient-button:hover:not(:disabled), .delete-patient-button.confirming { border-color: var(--danger); color: #fff; background: var(--danger); }.delete-patient-button:disabled { opacity: .5; }
.delete-patient-dialog{border-top:4px solid var(--danger)}.delete-patient-dialog h2{margin-bottom:10px}.delete-patient-dialog p{line-height:1.55}.delete-audit-notice{padding:11px 13px;border:1px solid #efd7d3;border-radius:10px;color:#873c34;background:#fff7f5;font-size:13px}.delete-confirm-button{min-height:44px;padding:0 18px;border:0;border-radius:11px;color:#fff;background:var(--danger);font-weight:800;box-shadow:0 8px 18px rgba(183,73,61,.22)}.delete-confirm-button:hover{filter:brightness(.92)}.delete-confirm-button:disabled{opacity:.55}
.field-hint { color: #8b95a0; font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: none; }.locked-banner { margin: 18px 0 0; padding: 12px 14px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; border: 1px solid #b8d7c7; border-radius: 10px; color: #315a47; background: var(--success-soft); }.locked-banner > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); }.locked-banner strong, .locked-banner small { display: block; }.locked-banner small { margin-top: 2px; color: #64806f; font-size: 10px; }.locked-banner button { min-height: 34px; padding: 0 11px; border: 1px solid #8bbba3; border-radius: 8px; color: #315a47; background: #fff; font-size: 10px; font-weight: 700; }.patient-drawer.is-locked form > :not(.locked-banner):not(input) { opacity: .72; }.patient-drawer input:disabled, .patient-drawer select:disabled, .patient-drawer textarea:disabled { color: #687480; background: #f2f4f6; opacity: 1; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 13px 16px; border-radius: 10px; color: #fff; background: var(--success); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .2s ease; }.toast.show { opacity: 1; transform: translateY(0); }
.admin-exit { margin-left: auto; padding: 8px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #d7e0e8; font-size: 10px; font-weight: 700; text-decoration: none; }.admin-exit:hover { color: #fff; border-color: var(--gold); }.separate-access-badge { padding: 9px 13px; border: 1px solid #d8c59d; border-radius: 999px; color: var(--navy); background: #f6f0e4; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }.admin-only-shell .sidebar-note { margin-top: auto; }.admin-only-shell .profile-mini { margin-top: 18px; }
.health-dialog { width: min(510px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 28px 80px rgba(10,29,47,.28); }.health-dialog::backdrop { background: rgba(12,26,42,.52); backdrop-filter: blur(2px); }.health-dialog-header { min-height: 92px; padding: 14px 18px; display: grid; grid-template-columns: 62px 1fr 36px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }.health-dialog-header > img { width: 62px; height: 62px; border-radius: 13px; object-fit: cover; }.health-dialog-header h2 { margin: 3px 0 0; font-family: Manrope, sans-serif; font-size: 19px; }.health-dialog-header button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font-size: 20px; }.health-dialog-body { padding: 18px; }.health-dialog label { display: grid; gap: 6px; margin-bottom: 14px; color: #66717e; font-size: 10px; font-weight: 700; text-transform: uppercase; }.health-dialog textarea { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); resize: vertical; outline: 0; text-transform: none; }.health-dialog textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,154,99,.12); }.health-dialog textarea:disabled { color: #687480; background: #f2f4f6; }.health-dialog-actions { padding: 14px 18px 18px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); }

.procedure-view[hidden] { display: none; }.catalog-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 16px; }.catalog-form, .catalog-table-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 35px rgba(24,43,67,.045); }.catalog-form { align-self: start; padding: 24px; }.catalog-form h2 { margin: 5px 0; font-family: Manrope, sans-serif; font-size: 21px; }.catalog-form > p { margin: 0 0 20px; color: var(--ink-soft); font-size: 12px; }.catalog-form label { display: grid; gap: 6px; margin-bottom: 14px; color: #66717e; font-size: 10px; font-weight: 700; text-transform: uppercase; }.catalog-form input { height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); }.catalog-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,154,99,.12); }.catalog-form .primary-button { width: 100%; }.catalog-table-card { overflow: hidden; }.catalog-count { color: var(--ink-soft); font-size: 11px; }.catalog-table-wrap { border-top: 1px solid var(--line); }.catalog-table { table-layout: auto; }.catalog-table th, .catalog-table td { padding: 9px 14px; }.catalog-table input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid transparent; border-radius: 7px; color: var(--ink); background: transparent; }.catalog-table input:disabled { color: var(--ink); opacity: 1; }.catalog-table input:not(:disabled):focus { border-color: var(--gold); background: #fff; outline: 0; }.catalog-active { display: inline-flex; align-items: center; gap: 6px; }.catalog-row-actions { display: flex; justify-content: flex-end; gap: 6px; }.catalog-edit, .catalog-delete { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 10px; font-weight: 700; }.catalog-edit { color: var(--navy); }.catalog-delete { color: var(--danger); }.catalog-delete.confirming { border-color: var(--danger); color: #fff; background: var(--danger); }
.release-dialog{width:min(420px,calc(100% - 28px));padding:24px;border:0;border-radius:16px;color:var(--ink);box-shadow:0 28px 80px rgba(10,29,47,.28)}.release-dialog::backdrop{background:rgba(12,26,42,.52);backdrop-filter:blur(2px)}.release-dialog h2{margin:7px 0 8px;font-family:Manrope,sans-serif;font-size:21px}.release-dialog p{margin:0 0 18px;color:var(--ink-soft);font-size:12px;line-height:1.55}.release-dialog label{display:grid;gap:7px;color:#66717e;font-size:10px;font-weight:700;text-transform:uppercase}.release-dialog input{height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);outline:0}.release-dialog input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,154,99,.12)}.release-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.daily-patients span{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.daily-patients span:hover{text-decoration:underline;color:#245b45}.daily-release-entry em{padding:2px 6px;border:1px solid #b8d7c7;border-radius:5px;color:#315a47;background:#f5fbf7;font-size:9px;font-style:normal;font-weight:800;text-decoration:none}

.daily-log-view[hidden] { display: none; }.daily-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }.daily-stat { padding: 19px 21px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(24,43,67,.045); }.daily-stat span, .daily-stat strong, .daily-stat small { display: block; }.daily-stat span { color: var(--ink-soft); font-size: 11px; }.daily-stat strong { margin: 4px 0 2px; font-family: Manrope, sans-serif; font-size: 28px; }.daily-stat small { color: #929ba5; font-size: 10px; }.daily-table-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 35px rgba(24,43,67,.045); overflow: hidden; }.daily-caption { color: var(--ink-soft); font-size: 10px; }.daily-table-wrap { border-top: 1px solid var(--line); }.daily-table { table-layout: fixed; }.daily-table th:nth-child(1) { width: 15%; }.daily-table th:nth-child(2) { width: 16%; }.daily-table th:nth-child(3) { width: 14%; }.daily-table th:nth-child(4) { width: 55%; }.daily-table td { height: auto; min-height: 54px; padding: 14px 12px; white-space: normal; }.daily-total { display: inline-grid; place-items: center; min-width: 29px; height: 29px; border-radius: 8px; color: #fff; background: var(--success); font-weight: 700; }.daily-patients { color: var(--ink-soft); line-height: 1.5; }

.journey-view{max-width:1180px}.journey-view[hidden]{display:none}.journey-view-heading{margin-bottom:16px;padding:25px 28px;border-radius:16px;color:#fff;background:linear-gradient(120deg,#102b46,#214f78)}.journey-view-heading .eyebrow{color:#dfbd7f}.journey-view-heading h2{margin:5px 0;font:700 27px Manrope,sans-serif}.journey-view-heading p{margin:0;color:#d5e2ed;font-size:13px}.journey-list{display:grid;gap:10px}.journey-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 22px rgba(24,43,67,.04)}.journey-card-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#174d82;font-size:11px;font-weight:800}.journey-card strong,.journey-card small{display:block}.journey-card strong{font-size:13px}.journey-card small{margin-top:2px;color:#315f91;font-size:10px;font-weight:700}.journey-card p{margin:5px 0 0;color:var(--ink-soft);font-size:11px}.journey-open{min-height:34px;padding:0 10px;font-size:10px}.empty-journey{padding:24px;border:1px dashed var(--line);border-radius:12px;color:var(--ink-soft);background:#fff;font-size:12px;text-align:center}.patient-journey{margin:16px 0;padding:12px 14px;border:1px solid #d6e2ec;border-radius:11px;background:#f7fafc}.patient-journey>span{margin-bottom:8px}.patient-journey>div{display:flex;flex-wrap:wrap;gap:7px}.journey-person{display:grid;gap:2px;padding:7px 9px;border:1px solid #d8e2eb;border-radius:8px;background:#fff}.journey-person strong{font-size:10px}.journey-person small{color:#607283;font-size:9px}.journey-primary{border-color:#d9bd86;background:#fffaf0}.save-forward-button{min-height:42px;padding:0 12px;border-color:#b9cbe0;color:#174d82;font-size:11px;font-weight:800}.forward-dialog{width:min(590px,calc(100% - 28px))}.forward-dialog textarea{width:100%;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);font:inherit;outline:0;resize:none}.optional-label{color:#8794a0;font-size:9px;font-weight:500;text-transform:none}.forward-professional-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:8px}.forward-professional-list + *{margin-top:22px}.forward-professional-card{min-height:76px;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid #d9e1e8;border-radius:11px;color:var(--ink);background:#fff;text-align:left;cursor:pointer}.forward-professional-card:hover{border-color:#5a86af;background:#f6faff}.forward-professional-card.selected{border-color:#174d82;background:#edf5ff;box-shadow:0 0 0 2px rgba(23,77,130,.12)}.forward-photo{width:46px;height:46px;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:#fff;background:#174d82;font-size:11px;font-weight:800}.forward-photo img{width:100%;height:100%;object-fit:cover}.forward-professional-card strong,.forward-professional-card small{display:block}.forward-professional-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.forward-professional-card small{margin-top:3px;overflow:hidden;color:#637587;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.forward-professional-card i{display:none}@media(max-width:560px){.forward-professional-list{grid-template-columns:1fr}.forward-dialog{width:min(100% - 20px,590px)}}

/* Verificados: pacientes exibidos diretamente em cada dia. */
.daily-details-toggle{border:0;cursor:pointer}.daily-total{font:inherit}.daily-details-link{padding:7px 10px;border:1px solid #b9cce1;border-radius:7px;color:#174d82;background:#fff;font-size:11px;font-weight:800}.daily-details-link:hover{border-color:#174d82;background:#f3f8fe}.daily-details-row td{padding:0!important;background:#f8fafc}.daily-patient-list{display:grid;gap:8px;padding:13px 16px}.daily-patient-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #e0e7ee;border-radius:9px;background:#fff}.daily-patient-entry div{display:grid;gap:3px}.daily-patient-entry strong{font-size:12px}.daily-patient-entry small{color:var(--ink-soft);font-size:10px}.daily-release-entry{padding:6px 9px;border:1px solid #b8d7c7;border-radius:6px;color:#315a47;background:#f5fbf7;font-size:10px;font-weight:800;cursor:pointer}.daily-release-entry:hover{border-color:#558b6d;background:#e8f5ed}
.daily-patient-list-open{padding:0}.daily-summary-row{vertical-align:top}.daily-summary-row>td:nth-child(-n+3){padding-top:24px}.daily-patient-list-open .daily-patient-entry{box-shadow:0 3px 10px rgba(24,43,67,.035)}

.admin-view[hidden], .admin-panel[hidden] { display: none; }.admin-view { display: grid; gap: 16px; }.admin-hero { min-height: 132px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 18px; color: #fff; background: linear-gradient(125deg, #102b46 0%, #183f65 72%, #9c814e 140%); box-shadow: 0 18px 40px rgba(18,43,70,.16); overflow: hidden; position: relative; }.admin-hero::after { content: ""; position: absolute; width: 210px; height: 210px; right: -75px; top: -105px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.035); }.admin-hero .eyebrow { color: #d9bd86; }.admin-hero h2 { margin: 5px 0 4px; font-family: Manrope, sans-serif; font-size: 28px; }.admin-hero p { margin: 0; color: #c5d1dd; font-size: 12px; }.owner-seal { position: relative; z-index: 1; padding: 10px 14px; border: 1px solid rgba(218,190,134,.45); border-radius: 999px; color: #f1dfb9; background: rgba(7,24,40,.3); font-size: 10px; font-weight: 700; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }.admin-metric { min-height: 112px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(24,43,67,.045); }.admin-metric span, .admin-metric strong, .admin-metric small { display: block; }.admin-metric span { color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }.admin-metric strong { margin: 7px 0 3px; font-family: Manrope, sans-serif; font-size: 25px; }.admin-metric small { color: #929ba5; font-size: 10px; }
.admin-tabs { padding: 5px; display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow-x: auto; }.admin-tabs button { min-height: 38px; padding: 0 15px; flex: 0 0 auto; border: 0; border-radius: 8px; color: var(--ink-soft); background: transparent; font-size: 11px; font-weight: 600; }.admin-tabs button.active { color: #fff; background: var(--navy); box-shadow: 0 7px 18px rgba(18,43,70,.18); }
.admin-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.admin-card, .admin-table-card, .admin-form-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 35px rgba(24,43,67,.045); }.admin-card { padding: 22px; }.admin-card h3, .admin-form-card h3 { margin: 4px 0 0; font-family: Manrope, sans-serif; font-size: 18px; }.admin-card > p, .admin-form-card > p { margin: 7px 0 18px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }.admin-card-heading { min-height: 54px; padding: 20px 22px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.admin-card > .admin-card-heading { min-height: 0; padding: 0 0 15px; }.admin-card-heading h3 { margin: 3px 0 0; font-family: Manrope, sans-serif; font-size: 17px; }.admin-card-heading > span { color: var(--ink-soft); font-size: 10px; }.admin-card-heading button { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: #fff; font-size: 10px; font-weight: 700; }
.admin-overview-list { display: grid; gap: 8px; }.admin-overview-item { min-height: 51px; padding: 9px 11px; display: flex; align-items: center; gap: 10px; border-radius: 10px; background: #f7f9fa; }.admin-overview-avatar { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border-radius: 50%; color: var(--navy); background: #e7edf3; font-size: 9px; font-weight: 700; }.admin-overview-item div { min-width: 0; flex: 1; }.admin-overview-item strong, .admin-overview-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.admin-overview-item strong { font-size: 11px; }.admin-overview-item small { margin-top: 2px; color: #85909b; font-size: 9px; }.admin-overview-item > span { color: var(--ink-soft); font-size: 10px; }.admin-structure-summary { margin-bottom: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.admin-structure-summary div { padding: 12px; border-radius: 10px; background: #f3f6f8; }.admin-structure-summary strong, .admin-structure-summary span { display: block; }.admin-structure-summary strong { font: 700 21px Manrope, sans-serif; }.admin-structure-summary span { margin-top: 2px; color: var(--ink-soft); font-size: 9px; }
.admin-split { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 16px; }.admin-form-card { align-self: start; padding: 22px; }.admin-form-card label { display: grid; gap: 6px; margin-bottom: 13px; color: #66717e; font-size: 9px; font-weight: 700; text-transform: uppercase; }.admin-form-card input, .admin-form-card select, .admin-inline-form input { width: 100%; height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; outline: 0; text-transform: none; }.admin-form-card input:focus, .admin-form-card select:focus, .admin-inline-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,154,99,.12); }.admin-check { min-height: 41px; display: flex !important; grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px !important; text-transform: none !important; }.admin-check input { width: 16px; height: 16px; accent-color: var(--navy); }.admin-form-actions { display: flex; justify-content: flex-end; gap: 8px; }.admin-table-card { overflow: hidden; }.admin-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }.admin-table-card table { min-width: 720px; table-layout: auto; }.admin-table-card th, .admin-table-card td { padding: 10px 13px; }.admin-table-card td { height: 58px; }.admin-person strong, .admin-person small { display: block; }.admin-person strong { color: var(--ink); font-size: 11px; }.admin-person small { margin-top: 2px; color: #89939e; font-size: 9px; }.access-badge { display: inline-flex; min-height: 25px; padding: 0 9px; align-items: center; border-radius: 999px; color: var(--success); background: var(--success-soft); font-size: 9px; font-weight: 700; }.access-badge.off { color: var(--danger); background: var(--danger-soft); }.admin-edit-button { min-height: 31px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: #fff; font-size: 9px; font-weight: 700; }
.admin-reset-password{margin-left:6px;color:#72551a;border-color:#d9c28d;background:#fffaf0}
.crc-hero{min-height:132px;margin-bottom:16px;padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:18px;color:#fff;background:linear-gradient(125deg,#102b46 0%,#183f65 72%,#9c814e 140%);box-shadow:0 18px 40px rgba(18,43,70,.16)}.crc-hero .eyebrow{color:#d9bd86}.crc-hero h2{margin:5px 0 4px;font:700 27px Manrope,sans-serif}.crc-hero p{margin:0;color:#c5d1dd;font-size:13px}.crc-hero>span{padding:10px 14px;border:1px solid rgba(218,190,134,.45);border-radius:999px;color:#f1dfb9;background:rgba(7,24,40,.3);font-size:11px;font-weight:700}.crc-metrics .metric-card{border:1px solid var(--line);cursor:pointer;text-align:left}.crc-workspace{margin-top:4px}.crc-view{min-height:31px;padding:0 10px;border:1px solid #b9cbe0;border-radius:8px;color:var(--navy);background:#fff;font-size:11px;font-weight:700}.crc-readonly-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.crc-readonly-grid>div{min-height:72px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fafbfd}.crc-readonly-grid small,.crc-readonly-grid strong{display:block}.crc-readonly-grid small{margin-bottom:5px;color:var(--ink-soft);font-size:10px;text-transform:uppercase}.crc-readonly-grid strong{font-size:13px;line-height:1.35}.profile-menu-button{margin-left:auto;border:0;color:#cbd7e1;background:transparent;font-size:11px;font-weight:700}.crc-shell .sidebar-note{margin-top:auto}@media(max-width:640px){.crc-hero{padding:22px;align-items:flex-start;flex-direction:column}.crc-readonly-grid{grid-template-columns:1fr}}
.crc-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.crc-metrics .metric-card{font:inherit;outline:0}.crc-metrics .metric-card:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,154,99,.16)}.crc-workspace .toolbar{grid-template-columns:minmax(300px,1fr) 180px 190px}.crc-workspace .toolbar select{width:100%;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font:inherit;outline:0}.crc-patient-cell{min-width:230px}.crc-patient-cell small{margin-top:2px;white-space:normal}.crc-patient-dialog{width:min(820px,calc(100% - 28px));max-height:calc(100vh - 40px);padding:0;border:0;border-radius:16px;color:var(--ink);box-shadow:0 28px 80px rgba(10,29,47,.28)}.crc-patient-dialog::backdrop{background:rgba(12,26,42,.52);backdrop-filter:blur(2px)}.crc-patient-dialog form{padding:25px;overflow:auto;max-height:calc(100vh - 40px)}.crc-patient-dialog h2{margin:7px 0 6px;font:700 24px Manrope,sans-serif}.crc-patient-dialog>form>p{margin:0 0 20px;color:var(--ink-soft);font-size:13px;line-height:1.5}.crc-clinical-read,.crc-edit-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.crc-clinical-read h3,.crc-edit-section h3{margin:0 0 5px;font:700 15px Manrope,sans-serif}.crc-edit-section>p{margin:0 0 13px;color:var(--ink-soft);font-size:12px}.crc-edit-section label{display:grid;gap:6px;margin-top:12px;color:#66717e;font-size:10px;font-weight:700;text-transform:uppercase}.crc-edit-section input{height:41px;padding:0 11px;border:1px solid var(--line);border-radius:9px;font:inherit;outline:0}.crc-edit-section input:focus,.crc-procedure-row input:focus,.crc-procedure-row select:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,154,99,.12)}.crc-observations{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafbfd}.crc-observations strong{font-size:11px}.crc-observations article{padding:9px 0;border-top:1px solid #e4e8ed}.crc-observations article:first-of-type{border-top:0}.crc-observations time{display:block;color:#778595;font-size:10px;font-weight:700}.crc-observations p{margin:4px 0 0;font-size:12px;line-height:1.45;white-space:pre-wrap}.crc-procedure-row{display:grid;grid-template-columns:minmax(150px,1.5fr) 100px 100px 145px 32px;gap:8px;align-items:center;margin:9px 0}.crc-procedure-row input,.crc-procedure-row select{height:39px;min-width:0;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;font:12px DM Sans,sans-serif;outline:0}.crc-remove-procedure{height:32px;border:1px solid #e9c6c3;border-radius:8px;color:var(--danger);background:#fff;font-size:18px}.crc-edit-section .secondary-button{min-height:34px;margin-top:5px;font-size:11px}@media(max-width:1100px){.crc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crc-workspace .toolbar{grid-template-columns:1fr 180px}.crc-workspace .toolbar .search-field{grid-column:1/-1}}@media(max-width:640px){.crc-metrics{grid-template-columns:1fr}.crc-workspace .toolbar{grid-template-columns:1fr}.crc-workspace .toolbar .search-field{grid-column:auto}.crc-procedure-row{grid-template-columns:1fr 1fr}.crc-procedure-row input:first-child{grid-column:1/-1}.crc-procedure-row select{grid-column:1/-1}.crc-patient-dialog form{padding:19px}.crc-readonly-grid{grid-template-columns:1fr}}
.crc-workspace .toolbar{grid-template-columns:minmax(260px,1fr) 155px 180px 145px 190px}.crc-workspace .crc-patient-cell{grid-template-columns:50px minmax(0,1fr);gap:10px;min-width:250px}.crc-workspace .crc-patient-cell .patient-avatar{width:50px;height:50px;font-size:13px}.crc-workspace .crc-patient-cell strong{display:block;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}.crc-workspace .crc-patient-cell small{display:block;font-size:10px;line-height:1.3;overflow:visible;text-overflow:clip;white-space:normal}.crc-workspace td{white-space:normal;overflow:visible;text-overflow:clip}.crc-workspace .workspace-table{min-width:1050px}@media(max-width:1100px){.crc-workspace .toolbar{grid-template-columns:1fr 1fr}.crc-workspace .toolbar .search-field{grid-column:1/-1}}
.crc-shell .profile-mini{margin-top:auto;grid-template-columns:minmax(0,1fr) 30px;min-height:118px}.crc-shell .profile-mini .avatar{width:72px;height:72px;font-size:15px}.crc-shell .profile-mini .profile-details{width:100%;padding:0 4px;box-sizing:border-box}.crc-shell .profile-mini strong{font-size:13px;overflow-wrap:anywhere}.crc-shell .profile-mini .profile-office{font-size:10px}.crc-shell .profile-mini .profile-specialty{font-size:10px;max-width:155px}.crc-shell .profile-menu-button{width:30px;padding:6px 0;align-self:center;white-space:nowrap}.crc-shell .nav-item{min-height:52px}.crc-shell .nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.crc-metrics .metric-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.admin-form-card label{font-size:11px}.admin-form-card input,.admin-form-card select,.admin-inline-form input{font-size:14px}.admin-form-card>p,.admin-card>p{font-size:13px}.admin-table-card th{font-size:11px}.admin-table-card td{font-size:13px}.admin-person strong{font-size:13px}.admin-person small{font-size:11px}.access-badge{font-size:11px}.admin-edit-button{font-size:11px}.admin-master-item strong{font-size:13px}.admin-master-item small{font-size:11px}.admin-card-heading>span,.admin-card-heading button{font-size:11px}
.admin-professional-filters{padding:0 18px 16px;display:grid;grid-template-columns:minmax(210px,1fr) minmax(145px,190px) minmax(125px,160px) auto;gap:10px;align-items:end}.admin-professional-filters label{display:grid;gap:6px;color:#667485;font-size:10px;font-weight:700;text-transform:uppercase}.admin-professional-filters input,.admin-professional-filters select{width:100%;height:40px;padding:0 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font-size:12px;outline:0;text-transform:none}.admin-professional-filters input:focus,.admin-professional-filters select:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,154,99,.12)}.admin-professional-filters button{height:40px}.access-level-badge{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border-radius:999px;color:#234968;background:#e8f0f7;font-size:11px;font-weight:800;white-space:nowrap}.access-level-asb{color:#72551d;background:#f6edd8}.access-level-crc{color:#176245;background:#e3f2eb}.access-level-admin{color:#fff;background:#173a5c}.access-level-owner{color:#6c4c16;background:#f2e3bc}.access-level-undefined{color:#687483;background:#edf0f3}@media(max-width:1050px){.admin-professional-filters{grid-template-columns:1fr 1fr}.admin-professional-filters button{width:100%}}@media(max-width:620px){.admin-professional-filters{grid-template-columns:1fr}}
.linked-portfolio-badge{display:inline-flex;align-items:center;max-width:210px;min-height:28px;padding:5px 9px;border:1px solid #ead8ae;border-radius:9px;background:#fbf5e8;color:#6f531b;font-size:11px;font-weight:800;line-height:1.25}.linked-portfolio-empty{color:#9ba5af}
.admin-inline-form { margin-bottom: 15px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }.admin-master-list { display: grid; gap: 7px; }.admin-master-item { min-height: 47px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #edf0f2; border-radius: 9px; }.admin-master-item strong, .admin-master-item small { display: block; }.admin-master-item strong { font-size: 11px; }.admin-master-item small { margin-top: 2px; color: #8b95a0; font-size: 9px; }.admin-master-item span { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: var(--navy); background: var(--gold-soft); font-size: 9px; font-weight: 700; }
.import-layout { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(340px,1.2fr); gap: 16px; }.import-steps { display: grid; gap: 8px; }.import-steps span { min-height: 38px; display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 11px; }.import-steps b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); }.import-columns { margin-top: 16px; padding: 12px; border-radius: 10px; background: #f3f6f8; }.import-columns strong, .import-columns code { display: block; }.import-columns strong { margin-bottom: 6px; font-size: 10px; }.import-columns code { color: var(--ink-soft); font-size: 9px; white-space: normal; }.import-drop { min-height: 170px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px dashed #c8b78e; border-radius: 12px; color: var(--navy); background: #fcfaf5; cursor: pointer; text-align: center; }.import-drop > span { font-size: 28px; color: var(--gold); }.import-drop strong { font-size: 12px; }.import-drop small { color: #8b95a0; font-size: 9px; }.import-file-info { padding: 11px 2px; color: var(--ink-soft); font-size: 10px; }.import-preview { max-height: 190px; overflow: auto; }.import-preview table { min-width: 520px; table-layout: auto; }.import-preview th, .import-preview td { padding: 7px 9px; height: auto; font-size: 9px; }.import-result { margin: 8px 0 12px; padding: 12px; border-radius: 9px; color: #315a47; background: var(--success-soft); font-size: 10px; line-height: 1.5; }.import-result.error { color: #743834; background: var(--danger-soft); }

@media (max-width: 1180px) { .toolbar { grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(125px, 160px)); }.filter-button { display: none; }.col-procedure { width: 14%; }.col-patient { width: 28%; } }
@media (max-width: 980px) { .metrics { grid-template-columns: repeat(2, 1fr); }.toolbar { grid-template-columns: 1fr 1fr; }.search-field { grid-column: 1 / -1; }.catalog-layout { grid-template-columns: 1fr; }.daily-summary { grid-template-columns: 1fr 1fr 1fr; }.admin-metrics { grid-template-columns: 1fr 1fr; }.admin-overview-grid, .admin-split, .import-layout { grid-template-columns: 1fr; } .workspace-card th:nth-child(5), .workspace-card td:nth-child(5) { display: none; } }
@media (max-width: 820px) { .app-shell { display: block; }.sidebar { position: fixed; z-index: 40; width: 252px; transform: translateX(-105%); transition: transform .25s ease; }.sidebar.open { transform: translateX(0); }.main-content { padding: 22px 18px 40px; }.mobile-menu { display: inline-block; }.topbar { align-items: flex-start; }.topbar > div:first-of-type { flex: 1; }.top-actions .primary-button { padding: 0 12px; font-size: 0; }.top-actions .primary-button span { font-size: 18px; }.toolbar { grid-template-columns: 1fr 1fr; }.search-field { grid-column: 1 / -1; } .workspace-card th:nth-child(3), .workspace-card td:nth-child(3), .workspace-card th:nth-child(5), .workspace-card td:nth-child(5), .workspace-card th:nth-child(6), .workspace-card td:nth-child(6), .workspace-card th:nth-child(7), .workspace-card td:nth-child(7) { display: none; } }
@media (max-width: 640px) { .procedure-row { padding-right: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }.procedure-row label:first-child { grid-column: 1 / -1; }.procedure-row .remove-procedure { position: static; align-self: end; }.health-control { grid-template-columns: 1fr; }.relationship-row { padding-right: 12px; grid-template-columns: 1fr; }.relationship-row .remove-relationship { position: static; margin-bottom: 12px; } }
@media (max-width: 560px) { .metrics { grid-template-columns: 1fr 1fr; gap: 9px; }.metric-card { min-height: 132px; padding: 14px; grid-template-columns: 32px 1fr; }.metric-card.financial { grid-column: 1 / -1; }.metric-icon { width: 32px; height: 32px; }.metric-arrow { display: none; }.metric-content strong { font-size: 24px; }.section-heading { align-items: flex-start; }.result-summary { display: none; }.toolbar { grid-template-columns: 1fr; }.search-field { grid-column: auto; } .workspace-card th:nth-child(4), .workspace-card td:nth-child(4) { display: none; }.daily-summary { grid-template-columns: 1fr; }.daily-table th:nth-child(2), .daily-table td:nth-child(2) { display: none; }.admin-hero { padding: 22px; align-items: flex-start; flex-direction: column; }.admin-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }.admin-metric { min-height: 100px; padding: 14px; }.admin-structure-summary { grid-template-columns: 1fr; }.admin-inline-form { grid-template-columns: 1fr; }.patient-drawer { padding: 0 18px 20px; }.drawer-header { grid-template-columns: 43px minmax(0,1fr) 76px; gap: 9px; }.patient-avatar { width: 42px; height: 42px; }.drawer-header h2 { font-size: 17px; }.drawer-header-actions { gap: 4px; }.close-button, .edit-identity-button { width: 34px; height: 34px; }.header-health-seal { width: 34px; height: 34px; flex-basis: 34px; }.drawer-highlight { grid-template-columns: 1fr; }.drawer-highlight div + div { padding: 9px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.15); }.form-grid.two { grid-template-columns: 1fr; }.action-checklist-options { grid-template-columns: 1fr; }.procedure-row { padding-right: 12px; grid-template-columns: 1fr 1fr; }.procedure-row label:first-child { grid-column: 1 / -1; }.procedure-row .remove-procedure { position: static; align-self: end; }.locked-banner { grid-template-columns: 30px 1fr; }.locked-banner button { grid-column: 1 / -1; }.drawer-actions { bottom: -20px; padding-bottom: 20px; }.drawer-actions button { flex: 1; } }
body.auth-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#071d36,#14395c);padding:24px}.auth-card{width:min(100%,420px);background:#fff;border-radius:22px;padding:38px;box-shadow:0 24px 70px rgba(0,0,0,.25);color:#0b2948}.auth-logo{display:block;width:76px;height:76px;object-fit:contain;margin:0 0 22px}.auth-card h1{margin:6px 0 8px;font-size:28px}.auth-card>p:not(.eyebrow){color:#62758d;line-height:1.5}.auth-card form{display:grid;gap:15px;margin-top:25px}.auth-card label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#45617f;text-transform:uppercase}.auth-card input{min-height:45px;border:1px solid #dbe4ee;border-radius:9px;padding:0 12px;font:inherit;text-transform:none}.auth-card .primary-button{margin-top:6px;min-height:48px}.auth-error{margin:0;color:#b53b3b;font-size:13px}.auth-link{display:block;margin-top:22px;text-align:center;color:#315f91;font-size:13px}

body.iea-login-page{margin:0;background:#f5f3ee;color:#211c15;font-family:'Libre Franklin',system-ui,sans-serif}.iea-login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(430px,.9fr) minmax(500px,1.1fr);opacity:0;animation:ieaLoginIn .55s ease 3.05s forwards}.iea-login-form-side{position:relative;min-height:100vh;padding:clamp(32px,5vw,72px);display:flex;flex-direction:column;background:#f5f3ee}.iea-login-content{width:min(100%,440px);margin:0 auto;flex:1}.iea-login-logo{display:block;width:430px;max-width:100%;height:190px;object-fit:contain;object-position:left center;margin:-26px 0 11px}.iea-login-heading h1{font-size:18px;color:#4a443a;margin:0 0 10px;font-weight:700}.iea-login-form-side form{display:grid;gap:16px}.iea-login-form-side label{display:grid;gap:8px;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;color:#4a443a}.iea-login-form-side input{height:52px;width:100%;border:1px solid #e1dbd0;border-radius:12px;background:#fbfaf7;padding:0 16px;font:400 15px 'Libre Franklin',sans-serif;color:#211c15;outline:none;box-sizing:border-box}.iea-login-form-side input:focus{border-color:#c9a24b;box-shadow:0 0 0 3px rgba(201,162,75,.18)}.password-field{position:relative}.password-field input{padding-right:54px}.password-field button{position:absolute;right:8px;top:7px;width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:#9a9182;font-size:18px;cursor:pointer}.iea-forgot{justify-self:end;color:#8c6e2e;text-decoration:none;font-size:13px;font-weight:700;margin-top:-4px}.iea-login-submit{height:54px;margin-top:10px;border:0;border-radius:12px;background:linear-gradient(180deg,#26201a,#171310);color:#f3e8cb;font:700 15px 'Libre Franklin',sans-serif;box-shadow:0 10px 24px rgba(20,16,10,.28);cursor:pointer}.iea-login-submit span{color:#c9a24b;margin-left:9px;font-size:19px}.iea-login-security{display:flex;gap:10px;align-items:center;margin:29px 0 0;font-size:12px;color:#9a9182}.iea-login-security:first-letter{color:#c9a24b}.iea-login-form-side footer{font-size:11px;letter-spacing:.06em;color:#b4ab9c;text-transform:uppercase}.iea-login-hero{min-height:100vh;background:#0e0b08 url('/assets/login/chatgpt-image-15_07_2026-09_20_17-mrm3ygj6-pf1p.png') center/cover no-repeat;position:relative}.iea-login-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,11,8,.1),rgba(14,11,8,.18) 56%,rgba(14,11,8,.62))}.login-intro{position:fixed;inset:0;z-index:10;display:grid;place-items:center;background:radial-gradient(120% 120% at 50% 42%,#fff 0%,#f6f4ef 55%,#ede9e1 100%);animation:ieaIntroOut .55s ease 3.15s forwards}.login-intro img{width:min(75vw,860px);animation:ieaLogoReveal 3.7s cubic-bezier(.2,.7,.2,1) forwards}.login-intro.leave{pointer-events:none}@keyframes ieaLoginIn{to{opacity:1}}@keyframes ieaIntroOut{to{opacity:0;visibility:hidden}}@keyframes ieaLogoReveal{0%{opacity:0;transform:translateY(24px) scale(.9)}20%,82%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-6px) scale(1.03)}}@media(max-width:800px){.iea-login-layout{grid-template-columns:1fr}.iea-login-hero{display:none}.iea-login-form-side{padding:26px}.iea-login-logo{height:160px;margin-top:-26px}.iea-login-form-side footer{margin-top:50px}}
 .admin-master-actions{display:flex;align-items:center;gap:8px}.admin-master-actions button{border:0;background:transparent;color:#315f91;font:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:5px}.admin-master-actions button:last-child{color:#b14444}
body.iea-login-page .password-field button{display:grid;place-items:center;font-size:0}body.iea-login-page .password-field button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}body.iea-login-page .password-field button:hover{color:#8c6e2e;background:#f1ede4}body.iea-login-page .password-field button.is-visible:after{content:'';position:absolute;width:21px;height:1.8px;background:currentColor;transform:rotate(-45deg)}
.toolbar .search-field input,.toolbar .select-field select{font-size:14px}.toolbar .select-field>span{font-size:10px}.workspace-card th{font-size:10px}.workspace-card td{height:60px;font-size:13px}.workspace-card .patient-cell{grid-template-columns:8px 32px minmax(0,1fr);gap:8px}.workspace-card .patient-initials{width:32px;height:32px;font-size:10px}.workspace-card .patient-cell strong{font-size:13px}.workspace-card .patient-cell small{font-size:11px}.workspace-card .status-badge{min-height:28px;font-size:11px}.workspace-card .days-count,.workspace-card .money-value{font-size:13px}.patient-row{cursor:pointer}.patient-row:focus-visible{outline:3px solid rgba(183,154,99,.45);outline-offset:-3px}.patient-row:hover td{background:#fbfaf7}.patient-drawer label{font-size:11px}.patient-drawer input,.patient-drawer select,.patient-drawer textarea{font-size:14px}.patient-drawer .action-checklist summary{font-size:13px}.patient-drawer .action-checklist-options label{font-size:11px}
 .profile-mini{grid-template-columns:minmax(0,1fr) 28px;grid-template-rows:auto auto;gap:8px;padding-top:16px;text-align:center}.profile-mini .avatar{width:64px;height:64px;grid-column:1;grid-row:1;justify-self:center;font-size:14px;border:2px solid rgba(224,193,132,.82);box-shadow:0 4px 13px rgba(0,0,0,.18)}.profile-mini .profile-details{grid-column:1;grid-row:2;display:grid;justify-items:center;align-content:start;gap:4px}.profile-mini .profile-menu{grid-column:2;grid-row:1 / span 2;align-self:center}.profile-mini strong,.profile-mini span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.2}.profile-mini strong{font-size:13px}.profile-mini .profile-office{color:#d7e1e9;font-size:10px;font-weight:700}.profile-mini .profile-specialty{margin-top:2px;color:#9eacba;font-size:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.nav-item-soon small { display: grid; grid-template-columns: 13px 1fr; grid-template-rows: 10px 10px; column-gap: 4px; align-items: center; text-transform: uppercase; line-height: 1; }.nav-item-soon small svg { grid-row: 1 / 3; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }.nav-item-soon small b { font: 700 9px/1 DM Sans,sans-serif; }
.crc-edit-section select{height:41px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit;outline:0}.crc-edit-section select:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,154,99,.12)}
.admin-only-shell .profile-mini{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:7px;min-height:0;margin-top:auto;padding-top:18px}.admin-only-shell .profile-mini .avatar{grid-column:1;grid-row:1}.admin-only-shell .profile-mini .profile-details{grid-column:1;grid-row:2}.admin-only-shell .admin-exit{grid-column:1;grid-row:3;justify-self:center;margin:2px 0 0;padding:7px 11px}
.save-forward-button{min-height:42px;padding:0 15px!important;border-color:#c89c3d!important;color:#fff!important;background:linear-gradient(135deg,#d7ad50,#af7b17)!important;box-shadow:0 8px 18px rgba(161,112,16,.22);font-size:11px;font-weight:800}.save-forward-button:hover:not(:disabled){border-color:#9a6810!important;background:linear-gradient(135deg,#c99a39,#98630c)!important;box-shadow:0 10px 22px rgba(147,95,11,.28)}
.api-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-top:18px}.api-card{min-height:112px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#fff;text-align:left;cursor:pointer}.api-card:hover,.api-card:focus-visible{border-color:#c8a459;box-shadow:0 9px 22px rgba(24,43,67,.08);outline:none}.api-card strong,.api-card small{display:block}.api-card strong{font:700 15px Manrope,sans-serif}.api-card small{margin-top:6px;color:var(--ink-soft);font-size:11px;line-height:1.45}.api-toggle{position:relative;flex:0 0 auto;width:40px;height:24px;cursor:pointer}.api-toggle input{position:absolute;opacity:0}.api-toggle i{position:absolute;inset:0;border-radius:99px;background:#c8d0d7}.api-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.18s}.api-toggle input:checked+i{background:#2f7656}.api-toggle input:checked+i:after{transform:translateX(16px)}
.api-sync-button{width:100%;min-height:34px;margin-top:12px;border:1px solid #c79e4a;border-radius:8px;color:#5e420d;background:#fff8e9;font:700 11px DM Sans,sans-serif;cursor:pointer}.api-sync-button:hover:not(:disabled){color:#fff;background:#b47a10}.api-sync-button:disabled{opacity:.52;cursor:not-allowed}.api-sync-info{margin-top:9px!important;color:#4b6c5c!important}.api-form-grid small{color:#8491a1;font-size:10px;font-weight:500;line-height:1.35;text-transform:none}
.api-revert-button{width:100%;min-height:32px;margin-top:8px;border:1px solid #aab8c4;border-radius:8px;color:#40576e;background:#fff;font:700 10px DM Sans,sans-serif;cursor:pointer}.api-revert-button:hover{color:#fff;background:#40576e}
.api-monitor-button{width:100%;min-height:32px;margin-top:8px;border:1px solid #93b2d4;border-radius:8px;color:#245b91;background:#f4f9ff;font:700 10px DM Sans,sans-serif;cursor:pointer}.api-monitor-button:hover{color:#fff;background:#245b91}.api-sync-monitor-dialog{width:min(980px,calc(100% - 28px));padding:0;border:0;border-radius:18px;color:var(--ink);box-shadow:0 28px 80px rgba(10,29,47,.28)}.api-sync-monitor-dialog::backdrop{background:rgba(12,26,42,.52);backdrop-filter:blur(3px)}.api-sync-monitor-dialog .api-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.api-monitor-body{padding:20px 28px 28px;max-height:65vh;overflow:auto}.api-monitor-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:12px 14px;border:1px solid #dae5ef;border-radius:10px;background:#f7fbff}.api-monitor-status strong{color:#1f568b}.api-monitor-status span{color:#687f95;font-size:12px;font-weight:700}.api-log-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800}.api-log-atualizado{color:#fff;background:#247052}.api-log-sem-telefone{color:#805713;background:#fff0d4}.api-log-falhou{color:#fff;background:#a83d3d}.api-log-consultando{color:#fff;background:#416b9a}@media(max-width:560px){.api-monitor-body{padding:18px}.api-sync-monitor-dialog .api-dialog-header{padding:18px}.api-monitor-status{align-items:flex-start;flex-direction:column}}
.api-integration-dialog{width:min(650px,calc(100% - 28px));padding:0;border:0;border-radius:18px;color:var(--ink);box-shadow:0 28px 80px rgba(10,29,47,.28)}.api-integration-dialog::backdrop{background:rgba(12,26,42,.52);backdrop-filter:blur(3px)}.api-integration-dialog form{padding:0}.api-dialog-header{padding:26px 28px 20px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#fff,#faf8f3)}.api-dialog-header h2{margin:6px 0 7px;font:700 24px Manrope,sans-serif}.api-dialog-header p{max-width:480px;margin:0;color:var(--ink-soft);font-size:12px;line-height:1.55}.api-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:22px 28px}.api-form-grid label{display:grid;gap:7px;color:#66717e;font-size:10px;font-weight:800;text-transform:uppercase}.api-form-grid .api-field-full{grid-column:1/-1}.api-form-grid input,.api-form-grid textarea{box-sizing:border-box;width:100%;border:1px solid var(--line);border-radius:10px;color:var(--ink);font:13px DM Sans,sans-serif;outline:0}.api-form-grid input{height:43px;padding:0 12px}.api-form-grid textarea{min-height:78px;padding:12px;resize:vertical}.api-form-grid input:focus,.api-form-grid textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,154,99,.12)}.api-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 28px 24px;border-top:1px solid var(--line)}.api-dialog-actions-right{display:flex;gap:10px}.api-delete-button{min-height:42px;padding:0 14px;border:1px solid #e7c5c1;border-radius:10px;color:var(--danger);background:#fff;font-weight:700}.api-delete-button:hover{border-color:var(--danger);color:#fff;background:var(--danger)}@media(max-width:560px){.api-form-grid{grid-template-columns:1fr;padding:18px}.api-form-grid .api-field-full{grid-column:auto}.api-dialog-header{padding:22px 18px 18px}.api-dialog-actions{padding:16px 18px 20px}.api-dialog-actions-right{flex:1}.api-dialog-actions-right button{flex:1}}
.crc-workspace .workspace-table{min-width:1120px!important;table-layout:auto!important}.crc-workspace .workspace-table th:first-child,.crc-workspace .workspace-table td:first-child{min-width:300px}.crc-workspace .crc-patient-cell{display:grid!important;grid-template-columns:52px minmax(200px,1fr)!important;min-width:280px!important;align-items:center}.crc-workspace .crc-patient-cell .patient-avatar{display:grid!important;place-items:center;flex:none}.crc-professional-filter{position:relative;min-width:210px}.crc-professional-filter>button{width:100%;height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font:inherit;text-align:left}.crc-professional-filter>div{position:absolute;z-index:10;top:48px;right:0;width:290px;max-height:330px;overflow:auto;padding:7px;border:1px solid #d7e0e8;border-radius:11px;background:#fff;box-shadow:0 14px 32px rgba(18,43,70,.18)}.crc-professional-choice{display:grid;grid-template-columns:17px 34px minmax(0,1fr);align-items:center;gap:8px;min-height:46px;padding:5px 6px;border-radius:8px;color:var(--ink);font-size:12px;cursor:pointer}.crc-professional-choice:hover{background:#f3f7fa}.crc-professional-choice input{accent-color:#174d82}.crc-professional-avatar{width:32px;height:32px;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:#fff;background:#1b568f;font-size:10px;font-weight:800}.crc-professional-avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 16%}@media(max-width:1100px){.crc-professional-filter{grid-column:span 1}.crc-workspace .workspace-table th:first-child,.crc-workspace .workspace-table td:first-child{min-width:280px}}
.crc-stage-journey{color:#fff;background:#6c4da5}.crc-no-journey{color:#8290a0;font-size:11px}.crc-journey-summary{display:grid;gap:3px;max-width:210px}.crc-journey-summary strong{color:#2d4f70;font-size:11px}.crc-journey-summary small{overflow:hidden;color:#75869a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.crc-journey{margin-top:14px;padding:12px;border:1px solid #dcd1ef;border-radius:10px;background:#faf8ff}.crc-journey>strong{display:block;margin-bottom:7px;color:#624692;font-size:11px}.crc-journey article{display:grid;gap:2px;padding:8px 0;border-top:1px solid #e6dff2}.crc-journey article:first-of-type{border-top:0;padding-top:0}.crc-journey article strong{font-size:12px}.crc-journey article span{color:#765c9e;font-size:10px;font-weight:700}.crc-journey article p{margin:3px 0 0;color:#53667d;font-size:11px;line-height:1.4;white-space:pre-wrap}
 .access-role-help{display:block;min-height:32px;margin-top:6px;color:#84909b;font-size:9px;line-height:1.35;text-transform:none;font-weight:500}
.admin-photo-field{align-items:start!important}.admin-photo-field input[type=file]{padding:9px!important;height:auto!important;background:#fff}.admin-photo-field small{color:#84909b;font-size:11px;text-transform:none;letter-spacing:0}.admin-photo-field img{width:118px;height:118px;object-fit:cover;object-position:50% 16%;image-rendering:auto;border-radius:50%;border:2px solid #d9bd80;background:#eef2f5;margin-top:7px;box-shadow:0 5px 16px rgba(16,43,70,.14)}.admin-email-field{display:flex;width:100%;height:41px;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.admin-email-field input{min-width:0;flex:1;height:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important}.admin-email-field span{display:flex;align-items:center;padding:0 11px;border-left:1px solid var(--line);color:#607080;background:#f5f7f9;font:600 12px DM Sans,sans-serif;text-transform:none;letter-spacing:0}
.import-folder-button{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:10px 13px;border:1px solid #d9bd80;border-radius:9px;color:#173754;background:#fffaf0;font-size:13px;font-weight:700;cursor:pointer}
.import-choice-actions{display:flex;gap:10px;margin-top:16px}.import-choice-actions button{padding:10px 14px;border:1px solid #d9bd80;border-radius:9px;background:#fff;color:#173754;font:700 13px inherit;cursor:pointer}.import-choice-actions button:first-child{background:#173754;color:#fff;border-color:#173754}
.special-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.special-import-grid .admin-card{padding:22px}.special-import-grid h3{margin:5px 0 8px}.special-import-grid p{min-height:42px;color:var(--ink-soft);font-size:11px;line-height:1.5}.special-import-grid input[type=file]{width:100%;margin:14px 0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:11px}
.relationship-name-search{position:relative}.relationship-suggestions{position:absolute;z-index:40;top:calc(100% - 9px);left:0;right:0;max-height:210px;overflow:auto;padding:5px;border:1px solid #cdd7e1;border-radius:9px;background:#fff;box-shadow:0 15px 35px rgba(18,43,70,.18)}.relationship-suggestion{width:100%;min-height:35px;padding:7px 9px;border:0;border-radius:7px;color:var(--ink);background:#fff;font:600 12px DM Sans,sans-serif;text-align:left;cursor:pointer}.relationship-suggestion:hover,.relationship-suggestion.active{background:#edf4fa;color:#113c63}.relationship-suggestion-empty{padding:9px;color:#84909d;font-size:11px}
@media (max-width:980px){.special-import-grid{grid-template-columns:1fr}}
.two-factor-card{width:min(470px,calc(100vw - 40px));margin:8vh auto;padding:42px;border:1px solid #e5dfd4;border-radius:22px;background:#fffdfa;color:#122d4b;box-shadow:0 22px 60px rgba(19,34,49,.15)}.two-factor-logo{display:block;width:230px;max-width:100%;margin:0 auto 28px}.two-factor-card h1{margin:8px 0 12px;font-size:28px;line-height:1.16}.two-factor-card p{color:#617184;line-height:1.55}.two-factor-card label{display:block;margin:24px 0 14px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#52657b}.two-factor-card input{width:100%;box-sizing:border-box;margin-top:8px;padding:15px;border:1px solid #d7dfe8;border-radius:10px;font-size:22px;letter-spacing:.28em;text-align:center;color:#122d4b}.two-factor-eyebrow{margin:0;color:#b18338!important;font-size:12px;font-weight:800;letter-spacing:.14em}.two-factor-secret{margin:24px 0;padding:17px;border-radius:12px;background:#f5f0e6}.two-factor-secret span{display:block;margin-bottom:8px;color:#6c7c8e;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.two-factor-secret strong{display:block;overflow-wrap:anywhere;color:#122d4b;font-size:17px;letter-spacing:.08em}
.two-factor-qr{display:grid;place-items:center;margin:22px auto;padding:12px;width:214px;height:214px;background:#fff;border:1px solid #e3ddd2;border-radius:14px}.two-factor-qr img{width:100%;height:100%}.two-factor-manual{margin:8px 0 18px;color:#647487;font-size:13px}.two-factor-manual summary{cursor:pointer}.two-factor-manual strong{display:block;margin-top:10px;overflow-wrap:anywhere;color:#122d4b;letter-spacing:.08em}
.system-update-notice{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:22px;background:rgba(7,22,37,.56);backdrop-filter:blur(4px)}.system-update-card{width:min(100%,470px);padding:30px;border:1px solid rgba(217,189,128,.7);border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 28px 70px rgba(2,16,31,.35)}.system-update-card>span{color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.system-update-card h2{margin:8px 0 9px;font:700 24px Manrope,sans-serif}.system-update-card p{margin:0;color:var(--ink-soft);font-size:14px;line-height:1.55}.system-update-card button{width:100%;min-height:46px;margin-top:22px;border:0;border-radius:10px;color:#fff;background:var(--navy);font-size:14px;font-weight:700;box-shadow:0 9px 18px rgba(18,43,70,.2)}
.observation-field{margin-bottom:14px}.observation-field>label{margin-bottom:8px}.observation-history{padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbfd}.observation-history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.observation-history-heading strong{font-size:11px}.observation-history-heading button{border:0;color:var(--navy);background:transparent;font-size:11px;font-weight:700}.observation-item{padding:8px 0;border-top:1px solid #e7ebef}.observation-item:first-of-type{border-top:0}.observation-item time{display:block;color:#718090;font-size:10px;font-weight:700}.observation-item p{margin:4px 0 0;color:#485667;font-size:12px;line-height:1.45;white-space:pre-wrap}.empty-observations{margin:0;color:#8b95a0;font-size:11px}
.save-observation-button{min-height:34px;margin:-1px 0 10px;padding:0 12px;border:1px solid #c9b688;border-radius:8px;color:var(--navy);background:var(--gold-soft);font-size:11px;font-weight:700}.save-observation-button:disabled{opacity:.5}.patient-cell{min-height:34px}.patient-cell strong{overflow:visible}.table-health-seal{width:28px!important;height:28px!important;flex-basis:28px!important;object-fit:contain!important;background:#fff;box-shadow:0 3px 10px rgba(180,81,76,.4)!important}.header-health-seal{width:52px!important;height:52px!important;flex-basis:52px!important}.health-dialog label{font-size:11px}.health-dialog textarea{font:15px/1.5 DM Sans,sans-serif}.health-dialog textarea::placeholder{font-size:15px;color:#6f7780;opacity:1}.observation-actions{display:flex;gap:7px;margin-top:8px}.observation-actions button{min-height:28px;padding:0 9px;border:1px solid #bdcfdf;border-radius:7px;color:#174d82;background:#fff;font-size:10px;font-weight:800}.observation-actions .observation-delete{border-color:#e8c4c1;color:#a13b35}.observation-edit-dialog textarea{width:100%;box-sizing:border-box;padding:11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);font:14px/1.5 DM Sans,sans-serif;outline:0;resize:vertical}.observation-edit-dialog textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,154,99,.12)}.journey-person em{display:block;margin-top:4px;color:#617384;font-size:10px;font-style:normal;line-height:1.35}.journey-stage-editor{margin:16px 0;padding:15px;border:1px solid #cddceb;border-radius:11px;background:#f8fbfe}.journey-stage-editor h3{margin:5px 0;font:700 16px Manrope,sans-serif}.journey-stage-editor p{margin:0 0 12px;color:#617384;font-size:11px;line-height:1.45}.journey-stage-editor label{display:grid;gap:6px;margin-top:10px;color:#66717e;font-size:10px;font-weight:700;text-transform:uppercase}.journey-stage-editor select,.journey-stage-editor textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;font:13px DM Sans,sans-serif}.journey-stage-editor textarea{resize:vertical}.journey-stage-editor button{margin-top:12px}
.status-badge{min-height:27px;padding:0 10px;font-size:11px;font-weight:800}.status-consulta{color:#fff;background:#0b559e;box-shadow:0 2px 6px rgba(11,85,158,.2)}.status-controle{color:#fff;background:#9a5a00;box-shadow:0 2px 6px rgba(154,90,0,.18)}.status-tratamento{color:#fff;background:#13734b;box-shadow:0 2px 6px rgba(19,115,75,.18)}.status-inativo{color:#fff;background:#161b22;box-shadow:0 2px 6px rgba(22,27,34,.16)}.resolve-check.is-resolved{border-color:#2f7656;color:#fff;background:#2f7656;box-shadow:0 3px 9px rgba(47,118,86,.25)}.verified-label{padding:5px 7px;border-radius:6px;color:#1d6547;background:#cfead9;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.resolved-lock{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid #9cc9ad;border-radius:8px;color:#205b41;background:#f5fbf7;font-size:14px}.patient-resolved td{background:#ddf1e4;color:#24563f}.patient-resolved .patient-cell strong{color:#1b5138}.daily-patients{line-height:1.8}.daily-patients b{margin-left:3px;color:#245b45;font-size:11px}
.api-failure-list{margin-top:18px;padding:14px;border:1px solid #ead6d2;border-radius:12px;background:#fffafa}.api-failure-list summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;color:#8f342f}.api-failure-list>p{margin:10px 0;color:#6d7480;font-size:12px}.api-failure-list .secondary-button{margin-top:12px}
.api-run-history{margin-top:18px;padding:14px;border:1px solid #d7e2ec;border-radius:12px;background:#f9fbfd}.api-run-history summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;color:#183e65}.api-run-history summary span{color:#758597;font-size:11px}
.crc-journey-record{margin-top:9px;padding:12px!important;border:1px solid #ddd5e9!important;border-radius:9px;background:#fff}.crc-journey-record header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.crc-journey-record header span{white-space:nowrap}.crc-journey-record>small{display:block;margin-top:4px;color:#75829a;font-size:10px}.crc-journey-note{margin-top:9px;padding:9px 10px;border-left:3px solid #7a5aa6;border-radius:0 7px 7px 0;background:#f7f3fc}.crc-journey-note time{color:#7b6c91;font-size:9px;font-weight:700}.crc-journey-note p{margin:3px 0 0!important}.crc-empty-record{margin:8px 0 0!important;color:#8b95a2!important;font-style:italic}.crc-returns-view{margin-top:0}.crc-shell [hidden]{display:none!important}
.resolved-lock{cursor:pointer!important}.resolved-lock:hover{border-color:#2f7656!important;background:#e5f4ea!important;transform:translateY(-1px)}.journey-person-actions{display:flex;gap:6px;margin-top:6px}.journey-person-actions button{min-height:27px;padding:0 9px;border:1px solid #b9cbe0;border-radius:7px;color:#174d82;background:#fff;font-size:9px;font-weight:800;cursor:pointer}.journey-person-actions .journey-delete{border-color:#e6bbb7;color:#a13b35}.journey-edit-dialog textarea{width:100%;box-sizing:border-box;margin-top:7px;padding:11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);font:14px/1.5 DM Sans,sans-serif;resize:vertical}
.crm-access-workspace,.crm-transfer-test-card{margin-bottom:18px}.crm-access-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:16px;margin-top:18px}.crm-access-card{border:1px solid #dfe6ed;border-radius:16px;padding:18px;background:#fff;box-shadow:0 8px 24px rgba(14,43,72,.05)}.crm-access-card-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf1f4}.crm-access-card-head div:nth-child(2){display:flex;flex-direction:column;min-width:0}.crm-access-card-head small,.crm-scope-toggle small,.crm-manager-toggle small,.crm-channel-checks small{display:block;color:#718096;font-size:12px;margin-top:2px}.crm-scope-toggle,.crm-manager-toggle{display:flex;align-items:flex-start;gap:10px;padding:14px 2px}.crm-scope-toggle input,.crm-manager-toggle input,.crm-channel-checks input{width:18px;height:18px;accent-color:#153654;flex:0 0 auto}.crm-channel-checks{display:grid;gap:8px}.crm-channel-checks label{display:flex;align-items:flex-start;gap:10px;border:1px solid #e1e8ee;border-radius:11px;padding:10px;background:#f9fbfc;cursor:pointer}.crm-manager-toggle{border-top:1px solid #edf1f4;margin-top:14px}.crm-access-card>.primary-button{width:100%;margin-top:4px}.crm-transfer-test-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-top:16px}.crm-transfer-test-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#536579}.crm-transfer-test-form select{min-height:44px;border:1px solid #d9e2e9;border-radius:10px;padding:0 12px;background:#fff;font:inherit}.crm-transfer-result{display:flex;flex-direction:column;gap:4px;border-radius:12px;padding:14px 16px;margin-top:14px}.crm-transfer-result.allowed{background:#e7f7ee;color:#17653a;border:1px solid #b9e5cb}.crm-transfer-result.blocked{background:#fdecec;color:#9c2d2d;border:1px solid #f2c2c2}@media(max-width:820px){.crm-transfer-test-form{grid-template-columns:1fr}.crm-access-grid{grid-template-columns:1fr}}
.patient-being-edited:not(.patient-resolved) td{background:#fffaf0}
.patient-editing-presence{display:block;width:max-content;max-width:190px;margin-top:4px;padding:4px 7px;border-radius:999px;color:#76520f!important;background:#f8e9bf;font-size:9px!important;font-weight:800;line-height:1.2}
.locked-banner.collaboration-lock{border-color:#dfbd72;color:#6f4b0d;background:#fff7e4}
.locked-banner.collaboration-lock>span{background:#b47a13}

/* Respeita a preferência de sistema por menos movimento (UIUX-007).
   Não altera a introdução do login: ela é controlada por temporizador
   em login.js, não por animação/transição CSS. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
.locked-banner.collaboration-lock small{color:#8a6a31}
