
:root{
  --odyx-bg:#f4f7f1; --odyx-bg2:#eef8f3; --odyx-warm:#fff6e7;
  --odyx-panel:#ffffff; --odyx-card:#ffffff; --odyx-text:#18313a; --odyx-muted:#607684;
  --odyx-line:#d8e8e1; --odyx-line2:#c9ddd5;
  --odyx-primary:#1f7a75; --odyx-primary2:#2fa393; --odyx-primary-soft:#e7f7f2;
  --odyx-accent:#e8b85b; --odyx-accent-soft:#fff2cf; --odyx-danger:#df5d5d;
  --odyx-sidebar:#123f4a; --odyx-sidebar2:#175767; --odyx-sidebar-hover:rgba(255,255,255,.13);
  --odyx-shadow:0 14px 32px rgba(24,61,66,.10); --odyx-shadow2:0 8px 22px rgba(24,61,66,.08);
  --odyx-radius:22px; --odyx-radius2:16px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{
  margin:0!important; font-family:Inter,Arial,Helvetica,sans-serif!important; color:var(--odyx-text)!important;
  background:radial-gradient(circle at 8% 5%, rgba(47,163,147,.14), transparent 30%), radial-gradient(circle at 95% 10%, rgba(232,184,91,.20), transparent 28%), linear-gradient(135deg,var(--odyx-bg) 0%,var(--odyx-bg2) 58%,var(--odyx-warm) 100%)!important;
  font-size:14px; line-height:1.45;
}
a{color:var(--odyx-primary)!important;text-decoration:none!important;font-weight:800} a:hover{color:#145b57!important;text-decoration:none!important}
button,.btn,.btn-primary,.button,input[type=submit],.salvar,.novo,.voltar{
  border:0!important;border-radius:13px!important;background:linear-gradient(135deg,var(--odyx-primary),var(--odyx-primary2))!important;color:#fff!important;
  padding:10px 14px!important;font-weight:900!important;box-shadow:0 10px 20px rgba(31,122,117,.18)!important;cursor:pointer!important;
}
.logout,.btn-del,.excluir,.delete,.danger,.red{background:linear-gradient(135deg,#e46b6b,#d74d4d)!important;color:#fff!important;border:0!important;border-radius:13px!important;box-shadow:0 8px 18px rgba(223,93,93,.18)!important}
.btn-secondary,.btn-nav,.limpar,.cancelar{background:#eef7f4!important;color:#24515a!important;border:1px solid var(--odyx-line)!important;box-shadow:none!important}
input,select,textarea{border:1px solid #cfe0da!important;border-radius:13px!important;background:#fff!important;color:var(--odyx-text)!important;padding:10px 12px!important;outline:none!important;min-height:38px}
input:focus,select:focus,textarea:focus{border-color:var(--odyx-primary2)!important;box-shadow:0 0 0 4px rgba(47,163,147,.13)!important}
table{border-collapse:separate!important;border-spacing:0 8px!important;width:100%} th{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#5d7680!important;background:#f3f8f5!important;padding:12px!important;text-align:left!important} td{background:#fff!important;border-top:1px solid #e1ece8!important;border-bottom:1px solid #e1ece8!important;padding:12px!important}td:first-child{border-left:1px solid #e1ece8!important;border-radius:14px 0 0 14px!important}td:last-child{border-right:1px solid #e1ece8!important;border-radius:0 14px 14px 0!important}
/* layout padrão novo */
.odyx-shell{min-height:100vh;display:grid;grid-template-columns:238px 1fr;background:transparent!important}.odyx-main{padding:22px 28px 46px;min-width:0}.odyx-sidebar{background:linear-gradient(180deg,var(--odyx-sidebar),var(--odyx-sidebar2))!important;color:white!important;padding:18px 15px!important;position:sticky!important;top:0;height:100vh;box-shadow:12px 0 32px rgba(18,63,74,.18);z-index:5}.odyx-brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:950;letter-spacing:.03em;margin-bottom:22px;color:#fff}.odyx-brand .mark{width:38px;height:38px;border-radius:13px;background:#eef9f2;display:grid;place-items:center;color:var(--odyx-primary)}.odyx-brand img{max-width:128px;height:auto}.odyx-nav{display:flex;flex-direction:column;gap:8px}.odyx-nav a{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:15px;color:#e9fbf8!important;font-weight:900!important;font-size:14px}.odyx-nav a:hover,.odyx-nav a.active{background:var(--odyx-sidebar-hover)!important;color:#fff!important}.odyx-nav a.active{box-shadow:inset 4px 0 0 var(--odyx-accent)}.odyx-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;background:rgba(255,255,255,.88)!important;border:1px solid #dfece7!important;border-radius:24px!important;padding:18px 20px!important;box-shadow:var(--odyx-shadow)!important;backdrop-filter:blur(7px);margin-bottom:18px!important}.odyx-title h1{font-size:25px;margin:0 0 4px;color:var(--odyx-text)}.odyx-title p{margin:0;color:var(--odyx-muted);font-weight:700}.odyx-user{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.odyx-pill{background:#f7fcfa!important;border:1px solid #d9e9e4!important;border-radius:999px!important;padding:9px 13px!important;font-weight:900;color:#254c55!important}.odyx-hero{background:linear-gradient(135deg,#def4ed 0%,#f7fbf7 50%,#fff1cf 100%)!important;border:1px solid #d2e8df!important;border-radius:24px!important;padding:22px!important;margin-bottom:18px!important;box-shadow:var(--odyx-shadow)!important}.odyx-hero h2{margin:0 0 6px;font-size:24px}.odyx-hero p{margin:0;color:#46636b;font-weight:700}.odyx-kpis{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px;margin:16px 0 22px}.odyx-kpi{background:rgba(255,255,255,.92)!important;border:1px solid #dbe9e4!important;border-left:4px solid var(--odyx-primary2)!important;border-radius:20px!important;padding:16px 18px!important;box-shadow:var(--odyx-shadow2)!important;display:flex;justify-content:space-between;align-items:center;gap:12px}.odyx-kpi b{font-size:25px;color:#0e2530}.odyx-kpi span{color:#5d7280;font-weight:900;font-size:13px}.odyx-kpi small{color:#7b8e9b;font-weight:800}.odyx-section{margin-top:22px}.odyx-section-title{font-size:13px;font-weight:950;color:#557073;letter-spacing:.13em;text-transform:uppercase;margin:0 0 12px}.odyx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.odyx-card{display:flex!important;gap:14px!important;align-items:flex-start!important;background:rgba(255,255,255,.94)!important;border:1px solid #dbe9e4!important;border-bottom:3px solid rgba(232,184,91,.62)!important;border-radius:22px!important;padding:18px!important;min-height:116px!important;box-shadow:var(--odyx-shadow2)!important;transition:.18s!important;cursor:pointer!important;color:var(--odyx-text)!important}.odyx-card:hover{transform:translateY(-3px)!important;box-shadow:0 18px 38px rgba(24,61,66,.15)!important;border-color:#b7d8ce!important}.odyx-icon{width:48px!important;height:48px!important;border-radius:17px!important;background:linear-gradient(135deg,#e2f5ef,#fff0c9)!important;display:grid!important;place-items:center!important;font-size:24px!important;flex:0 0 auto!important}.odyx-card h3{margin:4px 0 6px!important;font-size:17px!important;color:var(--odyx-text)!important}.odyx-card p{margin:0!important;color:#557073!important;font-weight:700!important;font-size:13px!important;line-height:1.42!important}.odyx-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.odyx-tab{background:#fff!important;border:1px solid #dce8e2!important;border-radius:18px!important;padding:15px!important;text-align:left!important;cursor:pointer!important;font-weight:950!important;color:#254c55!important;box-shadow:var(--odyx-shadow2)!important}.odyx-tab.active{background:linear-gradient(135deg,var(--odyx-primary),var(--odyx-primary2))!important;color:#fff!important}.odyx-tab span{display:block;font-size:24px;margin-bottom:4px}.odyx-panel{display:none}.odyx-panel.active{display:block}.odyx-page-card,.card,.box,.painel,.container,.content-card,.main-card{background:rgba(255,255,255,.92)!important;border:1px solid #dbe9e4!important;border-radius:22px!important;box-shadow:var(--odyx-shadow)!important;padding:18px!important}.odyx-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.odyx-note{background:#fff8e8;border:1px solid #f0dfbd;border-radius:16px;padding:12px;color:#634d23;font-weight:700}
/* força páginas antigas para mesma identidade */
.sidebar,.menu-lateral,aside:not(.odyx-sidebar){background:linear-gradient(180deg,var(--odyx-sidebar),var(--odyx-sidebar2))!important;color:#fff!important;box-shadow:12px 0 32px rgba(18,63,74,.18)!important}.sidebar a,.menu-lateral a,aside:not(.odyx-sidebar) a{color:#e9fbf8!important;border-radius:14px!important;font-weight:900!important}.sidebar a.active,.sidebar a:hover,.menu-lateral a.active,.menu-lateral a:hover,aside:not(.odyx-sidebar) a:hover{background:rgba(255,255,255,.13)!important;color:#fff!important}.topbar,.topo,.header,.navbar{background:rgba(255,255,255,.88)!important;border:1px solid #dfece7!important;border-radius:20px!important;box-shadow:var(--odyx-shadow2)!important;color:var(--odyx-text)!important}.content,.main,.wrap,.page,.principal{background:transparent!important}.card a,.box a{color:var(--odyx-primary)!important}.badge,.pill{border-radius:999px!important;background:#edf8f4!important;color:#24515a!important;border:1px solid #d9e9e4!important}.status-confirmado{background:#e7f7f2!important;color:#18665f!important}.status-cancelado{background:#ffe8e8!important;color:#b34242!important}.status-aguardando{background:#fff2cf!important;color:#7a5b15!important}
@media(max-width:960px){.odyx-shell{grid-template-columns:1fr}.odyx-sidebar{position:relative!important;height:auto!important}.odyx-nav{display:grid;grid-template-columns:repeat(2,1fr)}.odyx-kpis{grid-template-columns:repeat(2,1fr)}.odyx-tabs{grid-template-columns:repeat(2,1fr)}.odyx-topbar{flex-direction:column;align-items:flex-start}}@media(max-width:600px){.odyx-main{padding:14px}.odyx-kpis,.odyx-tabs{grid-template-columns:1fr}.odyx-grid{grid-template-columns:1fr}.odyx-user{width:100%}}
.odyx-btn{display:inline-block!important;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,var(--odyx-primary),var(--odyx-primary2))!important;color:#fff!important;padding:10px 14px!important;font-weight:900!important;box-shadow:0 10px 20px rgba(31,122,117,.18)!important;cursor:pointer!important;text-align:center!important}.odyx-btn.secondary{background:#eef7f4!important;color:#24515a!important;border:1px solid var(--odyx-line)!important;box-shadow:none!important}.odyx-btn.small{padding:7px 10px!important;font-size:12px!important}.odyx-alert{border-radius:16px;padding:12px 14px;margin:12px 0;font-weight:800}.odyx-alert.success{background:#e7f7f2;color:#18665f;border:1px solid #cbe9df}.odyx-alert.danger{background:#ffe8e8;color:#b34242;border:1px solid #f3c8c8}.odyx-form-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px;align-items:end}.odyx-form-grid label{display:flex;flex-direction:column;gap:6px;font-weight:900;color:#45626a}.odyx-form-grid .span-2{grid-column:span 2}.odyx-table{width:100%;border-collapse:separate!important;border-spacing:0 8px!important}.odyx-table th{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#5d7680!important;background:#f3f8f5!important;padding:12px!important;text-align:left!important}.odyx-table td{background:#fff!important;border-top:1px solid #e1ece8!important;border-bottom:1px solid #e1ece8!important;padding:12px!important}.odyx-table td:first-child{border-left:1px solid #e1ece8!important;border-radius:14px 0 0 14px!important}.odyx-table td:last-child{border-right:1px solid #e1ece8!important;border-radius:0 14px 14px 0!important}@media(max-width:800px){.odyx-form-grid{grid-template-columns:1fr}.odyx-form-grid .span-2{grid-column:auto}}

/* ===== ODYXPRO revisão estável 20260626 ===== */
:root{
  --odyx-bg:#eef6f1;--odyx-bg2:#f9f4e8;--odyx-panel:#ffffff;--odyx-text:#17323a;--odyx-muted:#61747d;
  --odyx-primary:#1f7a75;--odyx-primary2:#38a58f;--odyx-dark:#123f4a;--odyx-gold:#e6b75c;--odyx-soft:#e9f7f2;
}
body{background:radial-gradient(circle at top left,rgba(56,165,143,.18),transparent 32%),radial-gradient(circle at top right,rgba(230,183,92,.20),transparent 30%),linear-gradient(135deg,#eef6f1 0%,#f6faf6 55%,#fff5df 100%)!important;color:var(--odyx-text)!important;}
/* Layout legado padronizado sem apagar estrutura antiga */
.topbar,.topo,.header,.navbar{background:linear-gradient(135deg,#ffffff,#f5fbf8)!important;border:1px solid #dbe9e4!important;border-radius:0 0 20px 20px!important;color:var(--odyx-text)!important;box-shadow:0 10px 26px rgba(18,63,74,.08)!important;}
.layout{display:grid!important;grid-template-columns:238px minmax(0,1fr)!important;min-height:calc(100vh - 52px)!important;background:transparent!important;}
.sidebar,.menu-lateral{width:auto!important;min-width:0!important;background:linear-gradient(180deg,#123f4a,#17616c)!important;color:white!important;border:0!important;padding:18px 14px!important;box-shadow:12px 0 30px rgba(18,63,74,.16)!important;}
.sidebar h3,.menu-title{color:#fff!important;font-size:18px!important;font-weight:950!important;letter-spacing:.04em!important;margin:0 0 18px!important;}
.sidebar .menu,.menu-lateral .menu{display:flex!important;flex-direction:column!important;gap:8px!important;}
.sidebar a,.menu-lateral a,.odyx-legacy-link{display:flex!important;align-items:center!important;gap:10px!important;color:#e9fbf8!important;padding:12px 13px!important;border-radius:15px!important;background:transparent!important;border:0!important;font-weight:900!important;text-decoration:none!important;box-shadow:none!important;}
.sidebar a:hover,.sidebar a.active,.menu-lateral a:hover,.menu-lateral a.active,.odyx-legacy-link:hover,.odyx-legacy-link.active{background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:inset 4px 0 0 var(--odyx-gold)!important;}
.content,.main,.principal{padding:22px 26px!important;background:transparent!important;min-width:0!important;}
.card,.box,.painel,.container,.content-card,.main-card,.patient-header,.orcamento-card,.modal-content{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,253,251,.94))!important;border:1px solid #dbe9e4!important;border-radius:22px!important;box-shadow:0 12px 30px rgba(24,61,66,.09)!important;}
.card h2,.box h2,.content h2,.main h2{color:#17323a!important;}
.btn,.btn-primary,button,input[type=submit],.button{background:linear-gradient(135deg,#1f7a75,#38a58f)!important;color:#fff!important;border:0!important;border-radius:13px!important;font-weight:900!important;box-shadow:0 9px 18px rgba(31,122,117,.18)!important;}
.btn-warning,.btn-nav,.btn-secondary,.cancelar,.voltar{background:#eef7f4!important;color:#24515a!important;border:1px solid #d7e8e2!important;box-shadow:none!important;}
.btn-danger,.danger,.excluir,.delete{background:linear-gradient(135deg,#e26969,#d84d4d)!important;color:#fff!important;}
input,select,textarea{border:1px solid #cfe1da!important;border-radius:13px!important;background:#fff!important;color:#17323a!important;}
input:focus,select:focus,textarea:focus{border-color:#38a58f!important;box-shadow:0 0 0 4px rgba(56,165,143,.13)!important;outline:none!important;}
.odyx-table-scroll{width:100%;overflow:auto;}
.odyx-table-scroll table{min-width:720px;}
@media(max-width:960px){.layout{display:block!important}.sidebar,.menu-lateral{position:relative!important}.sidebar .menu,.menu-lateral .menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.content,.main,.principal{padding:14px!important}}
@media(max-width:600px){.sidebar .menu,.menu-lateral .menu{grid-template-columns:1fr!important}}


/* Correção final de legibilidade */
@import url("odyx_theme_override.css?v=20260626-leitura");
