:root{--navy:#111e32;--blue:#2067e8;--ink:#182338;--muted:#768297;--bg:#f4f7fc;--line:#e6ebf4}*{box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);font-size:14px}a{text-decoration:none}.shell{display:flex;min-height:100vh}.sidebar{width:260px;min-width:260px;background:#14243d;color:#a7b6ce;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh}.brand{color:#fff;font-size:19px;padding:27px 21px;display:flex;gap:12px;align-items:center;letter-spacing:-.6px}.brand-icon{width:37px;height:37px;background:#2670ea;border-radius:12px;display:grid;place-items:center;font-size:22px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#8799b6;margin-top:4px}.side-title{font-size:10px;letter-spacing:1.8px;font-weight:700;margin:32px 21px 15px;color:#657996}.side-section{display:flex;gap:11px;align-items:center;color:#fff;font-weight:650;padding:14px 21px}.side-section i{font-size:17px}.side-section .bi-chevron-down{font-size:12px}.side-link{color:#c7d5ed;padding:14px 20px 14px 48px;border-right:3px solid transparent}.side-link i{margin-right:10px}.side-link:hover,.side-link.selected{background:#213857;color:#fff;border-right-color:#5b9bff}.side-footer{margin-top:auto;padding:24px 20px;border-top:1px solid #29405c;font-size:12px}.side-footer i{margin-right:7px}.main{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:70px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 35px}.top-label{font-weight:650;color:#57657b}.user-name{font-weight:650;font-size:13px}.avatar{width:36px;height:36px;background:#edf3ff;border-radius:50%;display:grid;place-items:center;color:var(--blue);font-weight:750}.content{padding:36px;flex:1;max-width:1600px;width:100%;margin:auto}.page-title{display:flex;justify-content:space-between;gap:15px;margin-bottom:27px}.page-title h1{font-size:28px;letter-spacing:-.7px;font-weight:750;margin:7px 0}.eyebrow{color:#3a74d3;font-size:10px;letter-spacing:1.6px;font-weight:800}.secure-pill{align-self:center;color:#27885e;background:#e5f7ee;padding:9px 14px;border-radius:30px;font-size:12px;font-weight:700}.secure-pill i{margin-right:5px}.company-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 22px;display:flex;align-items:center;gap:16px;margin-bottom:26px;box-shadow:0 3px 14px #182b4610}.company-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);font-size:20px}.company-choice{flex:1;min-width:0}.company-choice label{display:block;color:var(--muted);font-size:11px;font-weight:700;margin-bottom:5px}.company-choice select{max-width:600px;border-color:#dce5f0}.company-single{font-size:15px;font-weight:720;white-space:normal}.company-status{display:flex;gap:6px;align-items:center;font-size:12px;color:#479a73;font-weight:650}.status-dot{height:8px;width:8px;border-radius:50%;background:#42c484}.panel{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:0 3px 18px #172c4310}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:25px 28px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:19px;font-weight:750;margin:0 0 6px}.panel-head h2 i{color:var(--blue)}.panel-head p{margin:0;color:var(--muted)}.panel-head-icon{height:42px;width:42px;border-radius:12px;background:#edf3ff;color:var(--blue);display:grid;place-items:center;font-size:20px}.filter-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:20px 28px;background:#fbfcff;border-bottom:1px solid var(--line)}.filter-bar .form-label{font-size:11px;font-weight:700;color:#687891}.filter-bar input{width:185px}.filter-button{height:38px}.btn-primary{background:var(--blue);border-color:var(--blue)}.appt-list{padding:22px 28px}.appt-card{border:1px solid #e3eaf5;border-radius:12px;overflow:hidden;margin-bottom:16px}.appt-top{background:#f8faff;border-bottom:1px solid var(--line);padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.appt-id{color:#2469dc;font-weight:800}.appt-date{font-weight:600;color:#637187}.appt-card table{font-size:13px}.appt-card th{background:#fff;color:#8794a8;font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:750;padding:12px 16px}.appt-card td{border-top:1px solid #f0f3f8;padding:11px 16px}.state{font-size:11px;padding:5px 9px;border-radius:6px;font-weight:750;white-space:nowrap}.state-success{color:#137d50;background:#e2f7ec}.state-danger{color:#b83232;background:#ffebeb}.state-warning{color:#9b700c;background:#fff4d4}.state-primary{color:#2465bb;background:#e5f0ff}.state-secondary{color:#59677a;background:#e8edf2}.empty{text-align:center;padding:70px 20px}.empty i{font-size:42px;color:#8ba4c9}.empty h3{margin-top:17px;font-size:20px}.empty p{color:var(--muted)}.footer{color:#8c97a9;font-size:11px;padding:15px 35px}.wait{position:fixed;inset:0;z-index:9999;background:#10233fc4;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;gap:15px;font-weight:650}.auth-wrap{display:flex;min-height:100vh;background:#fff}.auth-side{position:relative;display:flex;flex-direction:column;width:49%;padding:45px 60px;color:#fff;background:radial-gradient(circle at 90% 80%,#226edf 0,transparent 40%),linear-gradient(155deg,#102541,#103e8a)}.auth-brand{font-size:22px;font-weight:550}.auth-brand i{color:#9dc0ff;font-size:27px;margin-right:8px}.auth-copy{margin:auto 0;max-width:530px}.auth-caption{font-size:11px;letter-spacing:2.5px;color:#91bdff;font-weight:800}.auth-copy h1{font-size:clamp(30px,3.4vw,49px);font-weight:800;letter-spacing:-1.5px;line-height:1.16;margin:22px 0}.auth-copy p{font-size:17px;color:#baceea;line-height:1.8}.auth-decoration{margin-top:50px;border:1px solid #ffffff35;display:inline-flex;gap:12px;align-items:center;border-radius:12px;padding:15px 18px;background:#ffffff14}.auth-decoration i{font-size:25px}.auth-end{font-size:11px;color:#a5bddd}.auth-form-area{flex:1;display:grid;place-items:center;padding:40px}.auth-box{width:min(100%,440px)}.hello-icon{background:#edf3ff;color:var(--blue);height:55px;width:55px;border-radius:16px;display:grid;place-items:center;font-size:26px;margin-bottom:25px}.auth-box h2,.simple-card h2{font-size:29px;letter-spacing:-1px;font-weight:800}.auth-box>.text-secondary{margin:12px 0 35px}.auth-box .form-label{font-weight:650;font-size:12px}.auth-box .form-control{font-size:14px;padding:13px}.auth-box a,.simple-card a{color:#216ce0;font-size:12px;font-weight:650}.auth-help{margin-top:40px;border-top:1px solid var(--line);padding-top:25px;font-size:12px;color:#75849c}.mobile-brand{font-weight:800;color:#2563cf;font-size:21px;margin-bottom:30px}.simple-auth{min-height:100vh;display:grid;place-items:center;padding:25px}.simple-card{width:min(100%,470px);padding:45px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 20px 70px #18233815}.simple-brand{display:block;font-size:19px!important;margin-bottom:30px}.simple-card p{line-height:1.7}.simple-card h2{margin-bottom:17px}.simple-card .form-label{font-weight:650}@media(max-width:991px){.sidebar{position:fixed;z-index:80;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.auth-side{display:none}.topbar{padding:0 20px}.content{padding:25px 17px}.auth-form-area{min-height:100vh}}@media(max-width:576px){.page-title{display:block}.secure-pill{display:inline-block;margin-top:15px}.company-panel{padding:15px}.company-status{display:none}.panel-head,.filter-bar,.appt-list{padding:17px}.filter-bar input{width:100%}.filter-bar>div{width:calc(50% - 5px)}.appt-card th,.appt-card td{padding:10px;font-size:11px}.filter-button{flex:1}}

/* MY-COFIHST-0006: empresa pesquisável no topo da área reservada */
.content>.company-panel{margin-bottom:25px}.content>.page-title{margin-bottom:27px}.company-choice .chosen-container{max-width:600px;font-size:14px}.company-choice .chosen-container-single .chosen-single{height:40px;line-height:38px;border:1px solid #dce5f0;border-radius:8px;box-shadow:none;background:#fff;color:var(--ink);padding:0 12px}.company-choice .chosen-container-single .chosen-single div b{background-position:0 10px}.company-choice .chosen-container-active.chosen-with-drop .chosen-single{border-color:#7ca6eb;border-radius:8px 8px 0 0}.company-choice .chosen-container .chosen-drop{border-color:#dce5f0;box-shadow:0 8px 22px #18233822}.company-choice .chosen-container .chosen-results li.highlighted{background:#2067e8}.company-choice .chosen-container .chosen-search-input{border-radius:5px}.company-choice #empresa{min-height:40px}

/* Menu de conta independente da Medicina no Trabalho */
.side-title-account{margin-top:20px;margin-bottom:8px}
.side-link-root{padding-left:20px}

/* MY.COFIHST 0030 | Estabelecimentos e funcionários */
.portal-breadcrumb{color:#7b8aa0;font-size:12px;margin:-10px 0 20px}
.portal-breadcrumb a{color:#216ce0;font-weight:700}.portal-breadcrumb span:last-child{color:#65758c}
.portal-table th{font-size:11px;font-weight:750;color:#5d6a80;white-space:nowrap;border-bottom:1px solid var(--line);padding:13px 14px}
.portal-table td{font-size:13px;padding:15px 14px;border-bottom:1px solid #eef2f7}
.portal-table td a{font-weight:700}.portal-table td a:hover{text-decoration:underline}
.portal-detail{color:#7b899d;font-size:11px;margin-top:5px}
.portal-origin{display:inline-block;color:#2464ae;background:#e7f0ff;border-radius:5px;padding:2px 6px;font-size:10px;margin-left:5px}
.portal-number{background:#edf3ff;border-radius:7px;display:inline-flex;min-width:33px;justify-content:center;color:#285db6;font-weight:800;padding:5px 9px}
.portal-form-grid{padding:24px 27px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.portal-form-section{background:#fbfcff;border:1px solid #e9edf5;border-radius:12px;padding:21px 20px;min-width:0}
.portal-form-section h3{font-size:13px;font-weight:800;color:#344a68;padding-bottom:13px;margin-bottom:18px;border-bottom:1px solid #e6ebf4}
.portal-form-section label{display:block;color:#57677d;font-weight:700;font-size:11px;margin-bottom:5px}
.portal-form-section .form-control,.portal-form-section .form-select{height:41px;font-size:13px;border-color:#dbe2ed}
.portal-form-section .form-control:focus,.portal-form-section .form-select:focus{border-color:#5e91f5;box-shadow:0 0 0 3px #2a6bea18}
.portal-form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:20px 27px;background:#fcfdff}
.portal-overview{padding:22px 27px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.portal-overview>div{border:1px solid #e8edf5;border-radius:9px;padding:13px;min-width:0;background:#fafbff}
.portal-overview small{display:block;color:#718099;font-size:11px;margin-bottom:8px}
.portal-overview strong{display:block;color:#213852;font-size:13px;overflow-wrap:anywhere}
@media(max-width:1100px){.portal-form-grid{grid-template-columns:1fr}.portal-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:576px){.portal-form-grid{padding:15px;gap:12px}.portal-form-section{padding:16px}.portal-form-actions{padding:15px;flex-wrap:wrap}.portal-form-actions>*{flex:1}.portal-overview{grid-template-columns:1fr;padding:15px}}
