/* BIOCARMES office design. All styling stays inside management surfaces. */
#managerApp{--ink:#142341;--muted:#6a81a6;--line:#e1ebfa;--blue:#087dff;--green:#12875a;--green2:#1aaf70;--soft:#e7f8ef;--shadow:0 5px 20px #315eab07;font-size:17px;line-height:1.5;color:var(--ink);background:linear-gradient(130deg,#fbfdff,#f3f8ff);grid-template-columns:300px minmax(0,1fr)}
#managerApp .md-icon{display:block;flex:0 0 20px;width:20px;height:20px}
#managerApp .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #dce8fb;border-radius:11px;background:#fff;color:#386092;font-weight:650;font-size:16px;line-height:1.3;box-shadow:0 3px 12px #427bd008;transition:background .15s,border-color .15s,box-shadow .15s}
body #managerApp .btn.primary{color:#fff;background:var(--bc-gradient);border-color:transparent;box-shadow:0 5px 14px #4a89ff18}
#managerApp .btn:hover{border-color:#9fc9ff;background:#f8fbff;box-shadow:0 4px 14px #427bd015}
body #managerApp .btn.primary:hover{background:var(--bc-gradient);box-shadow:0 6px 20px #4a89ff2b}
#managerApp .btn.danger{color:#e13e4e;border-color:#fac5cb;background:#fff}
#managerApp button:focus-visible,#managerApp input:focus-visible,#managerApp select:focus-visible,#managerApp textarea:focus-visible{outline:3px solid #93caff;outline-offset:3px}
#managerApp #sidebar{background:linear-gradient(145deg,#fff 20%,#f2f8ff);border-right:1px solid #e1ebfa;padding:20px 20px 15px;gap:16px}
#managerApp #sidebar .brand{align-items:flex-start;gap:12px;border:0;padding:5px 6px 10px}
#managerApp #sidebar .brand img{width:222px;max-width:100%;height:auto}
#managerApp #sidebar .brand>span{font-size:17px;color:#3e6193;line-height:1.4}
body #managerApp #managementModeSwitch{order:-1;display:inline-flex;gap:10px;color:#076add;border:1px solid #c5dcff;background:#f7fbff;padding:12px;min-height:46px;border-radius:16px;font-size:18px;font-weight:650;box-shadow:0 5px 20px #4583ed08}
#managerApp #managementModeSwitch .md-icon{width:24px;height:24px}
#managerApp #sidebar .nav{padding-right:4px;scrollbar-width:thin;scrollbar-color:#c3d7f6 transparent}
#managerApp #sidebar .nav-group{gap:4px}
#managerApp #sidebar .nav-group-title{display:flex;align-items:center;gap:10px;color:#426596;font-size:14px;letter-spacing:.5px;line-height:1.5;margin:14px 6px 9px}
#managerApp #sidebar .nav-group-title:after{content:'';flex:1;height:1px;background:#d6e5fa}
#managerApp #sidebar .nav-management{border:0;margin-top:20px;padding-top:0}
#managerApp #sidebar .nav button{gap:13px;padding:11px 10px;min-height:44px;font-size:17px;line-height:1.3;border-radius:13px;font-weight:500;color:#3b5e91;background:transparent;box-shadow:none}
#managerApp #sidebar .nav button.active{background:#e6f1ff;color:#0876ff;font-weight:650}
#managerApp #sidebar .nav button:hover{background:#edf5ff;color:#0876ff}
#managerApp #sidebar .nav .ico{display:flex;align-items:center;justify-content:center;width:23px;flex:0 0 23px}
#managerApp #sidebar .nav .ico .md-icon{width:23px;height:23px;stroke-width:1.65}
#managerApp .md-nav-count{margin-left:auto;background:#ff444e;color:white;border-radius:50%;min-width:19px;min-height:19px;display:grid;place-items:center;font-size:14px;font-weight:750;padding:2px}
#managerApp .md-nav-count.orange{background:#ec9228}
#managerApp #sidebar .sidebar-foot{border-top:1px solid #d5e4f7;display:grid;gap:13px;padding-top:13px;line-height:1.4}
#managerApp #sidebar .sidebar-foot .md-settings{justify-content:flex-start;color:#3c5f90;border:0;background:transparent;padding:4px 7px;min-height:44px;box-shadow:none;font-size:17px;font-weight:500}
#managerApp .md-account{display:flex;align-items:center;gap:11px;padding:0 6px;min-width:0}
#managerApp .md-account>div{min-width:0}
#managerApp .md-account b{font-size:17px;font-weight:700;overflow-wrap:anywhere;display:block}
#managerApp .md-account small{font-size:14px;color:#6f8cba;display:block;margin-top:3px}
#managerApp .md-account-avatar{width:43px;height:43px;border-radius:50%;flex:0 0 43px;display:grid;place-items:center;background:var(--bc-gradient);color:#fff;border:1px solid #409bff;font-size:24px;font-weight:600;box-shadow:0 4px 12px #548ff21a}
body #managerApp #sidebar .md-logout{color:#ed3444;background:transparent;border:0;box-shadow:none;justify-content:flex-start;padding:3px 7px;min-height:44px;font-size:17px;font-weight:500}
#managerApp #sidebar .sidebar-foot .md-icon{width:21px;height:21px;flex-basis:21px}
#managerApp .topbar{min-height:88px;height:auto;background:#ffffffed;border-bottom:1px solid #e5edfa;padding:17px 28px;gap:16px;flex-wrap:wrap;backdrop-filter:blur(12px)}
#managerApp .topbar>.inline{flex:1 1 260px;min-width:0}
#managerApp .topbar h1{font-size:29px;font-weight:700;letter-spacing:-.5px;line-height:1.15}
#managerApp .topbar p{font-size:16px;font-weight:400;color:#7790b5;margin-top:6px;line-height:1.4}
#managerApp .topbar .actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
#managerApp .mobile-menu{display:none}
#managerApp .content{max-width:1700px;padding:22px 28px 40px}
#managerApp .demo-banner{padding:10px 13px;background:#f6faff;border:1px solid #e7f0fc;border-radius:12px;font-size:14px;color:#8aa0be;margin-bottom:17px;gap:10px}
#managerApp .demo-banner b{font-size:14px;color:#6b8ab4;font-weight:600}
#managerApp .demo-banner .btn{min-height:44px;font-size:16px;padding:6px 10px;margin-left:auto}
#managerApp .card{border-color:#e1ebfb;box-shadow:0 5px 16px #3164ad04;border-radius:15px;background:#ffffffdb}
#managerApp .section-head h2{font-size:20px;font-weight:700;letter-spacing:-.2px}
#managerApp .section-head .hint{color:#7e96b7;font-size:15px}
#managerApp .toolbar{gap:12px;margin-bottom:19px;align-items:center}
#managerApp .input,#managerApp .select,#managerApp .field input,#managerApp .field select,#managerApp .field textarea{border-color:#dfeafb;border-radius:10px;background:white;color:#304f7e;min-height:44px;padding:10px 12px;font-size:16px;line-height:1.4}
#managerApp input::placeholder,#managerApp textarea::placeholder{color:#8da3c3;opacity:1}
#managerApp .field label{font-size:15px;color:#6b84ac;font-weight:600}
#managerApp .badge{font-size:14px;line-height:1.4;padding:4px 9px;font-weight:650}
#managerApp .badge.green{background:#e5faf1;color:#1aa76b}
#managerApp .badge.amber{background:#fff2de;color:#b78130}
#managerApp .badge.red{background:#ffebee;color:#ec4558}
#managerApp .badge.blue{background:#ecf5ff;color:#5589c8}
#managerApp .grid-kpi{gap:14px}
#managerApp .kpi{position:relative;padding:20px 18px 16px 65px;min-height:126px}
#managerApp .kpi .label{font-size:15px;line-height:1.4;font-weight:500;color:#365880}
#managerApp .kpi .value{font-size:36px;line-height:1.1;font-weight:700;color:#152447;margin:9px 0 13px;letter-spacing:-.4px}
#managerApp .kpi .trend,#managerApp .kpi .sub{color:#267fff;font-weight:500;font-size:14px;line-height:1.45}
#managerApp #kpis>.kpi:nth-child(1){background:linear-gradient(120deg,#e8f3ff,#f1f8ff)}
#managerApp #kpis>.kpi:nth-child(2){background:linear-gradient(120deg,#e1f8ed,#edfaf5)}
#managerApp #kpis>.kpi:nth-child(3){background:linear-gradient(120deg,#eee9ff,#f7f2ff)}
#managerApp #kpis>.kpi:nth-child(4){background:linear-gradient(120deg,#fff0e7,#fff8e8)}
#managerApp .md-stat-icon{position:absolute;left:17px;top:18px;width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#d9eaff;color:#187dff}
#managerApp .md-stat-icon .md-icon{width:24px;height:24px}
#managerApp #kpis>.kpi:nth-child(2) .md-stat-icon,#managerApp #focusKpis>div:nth-child(2) .md-stat-icon{color:#18ad6f;background:#cef4e3}
#managerApp #kpis>.kpi:nth-child(3) .md-stat-icon,#managerApp #focusKpis>div:nth-child(3) .md-stat-icon{color:#8549f6;background:#e7daff}
#managerApp #kpis>.kpi:nth-child(4) .md-stat-icon{color:#fc4558;background:#ffe0df}
#managerApp .focus-card{padding:0 14px 10px;overflow:hidden;border-color:#dfebfc;margin-bottom:20px}
#managerApp .focus-head{padding:14px 0;align-items:center;gap:12px;flex-wrap:wrap}
#managerApp .focus-head select{min-width:240px;max-width:100%;font-size:17px;font-weight:700;border-color:#dceafd;box-shadow:0 3px 8px #3277ce06}
#managerApp .report-actions{gap:8px}
#managerApp .report-actions .btn{font-size:16px;min-height:44px;padding:9px 12px}
#managerApp .focus-kpis{padding:0 0 15px;gap:12px}
#managerApp .focus-kpis>div{position:relative;min-height:100px;padding:18px 16px 16px 64px;border-radius:13px;background:#e9f3ff}
#managerApp .focus-kpis>div:nth-child(2){background:#e4f8ef;padding-right:65px}
#managerApp .focus-kpis>div:nth-child(3){background:#f0ebff}
#managerApp .focus-kpis b{font-size:34px;line-height:1;font-weight:700;color:#17244c;margin-bottom:7px}
#managerApp .focus-kpis span:not(.md-stat-icon):not(.md-completion-ring){font-size:15px;color:#51709b}
#managerApp .focus-kpis .md-stat-icon{top:18px;left:15px;width:36px;height:36px}
#managerApp .md-completion-ring{position:absolute;right:15px;top:18px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#24b57a var(--progress),#ccf0e0 0);font-size:14px;color:#277357;font-weight:700;isolation:isolate}
#managerApp .md-completion-ring:before{content:'';position:absolute;inset:4px;border-radius:50%;background:#f4fffa;z-index:-1}
#managerApp .focus-table{border:1px solid #e2edfc;border-radius:12px;max-height:540px;margin-bottom:12px}
#managerApp table{font-size:17px;border-collapse:collapse;color:#2b4b79}
#managerApp th{font-size:15px;font-weight:650;letter-spacing:0;text-transform:none;background:#f0f6fe;color:#54749f;padding:11px 13px;border-color:#e2edfb}
#managerApp td{padding:14px 16px;border-color:#eaf1fc;line-height:1.45}
#managerApp tbody tr:hover{background:#f7fbff}
#managerApp .focus-table td:first-child{white-space:normal;min-width:180px;font-weight:600;max-width:360px}
#managerApp .followup-passage{font-size:17px;font-weight:600}
#managerApp .followup-passage.completed{color:#22b177}
#managerApp .followup-passage.has-problem{color:#e34356}
#managerApp .followup-actions .passbtn{display:inline-flex;gap:6px;align-items:center;justify-content:center;border:1px solid #dfeafb;border-radius:10px;padding:8px 10px;background:white;font-size:16px;color:#197cff;margin:2px;min-height:44px;white-space:nowrap}
#managerApp .followup-actions .md-icon{width:15px;height:15px;flex-basis:15px}
#managerApp .notice{padding:7px 3px;background:transparent;text-align:right;color:#7896bc;font-size:14px}
#managerApp .focus-card>button{width:100%;justify-content:flex-start;min-height:44px;color:#197bff;font-size:15px}
#managerApp .focus-card>button .md-icon{width:18px;height:18px;flex-basis:18px}
#managerApp .dashboard-grid{gap:15px}
#managerApp .progress{height:6px;background:#e3f0fe}
#managerApp .progress span{background:var(--bc-gradient)}
#managerApp .activity-icon{background:#edf5ff;color:#2482ff}
#managerApp .activity-item{border-color:#ebf2fc}
#managerApp .activity-item b{font-size:15px;font-weight:650}
#managerApp .activity-item p{font-size:14px;line-height:1.5;color:#8198b9}
#managerApp .editor-layout{grid-template-columns:300px minmax(0,1fr);gap:16px}
#managerApp .editor-side,#managerApp .editor-main{padding:20px}
#managerApp .stop{border-color:#e4edfa;border-radius:12px;padding:11px 12px;grid-template-columns:32px 100px minmax(0,1fr) auto}
#managerApp .stop .num{background:#eef5fe;color:#6685b0;width:27px;height:27px;border-radius:8px}
#managerApp .stop .time{font-size:15px;color:#3e5c86}
#managerApp .stop .place b{font-size:16px}
#managerApp .stop .place span{font-size:14px;color:#7d96ba;line-height:1.5}
#managerApp .iconbtn{border-color:#e1ebfb;color:#517db4;border-radius:9px}
#managerApp .archive-summary .card{border-radius:13px;background:#edf6ff;padding:18px}
#managerApp .archive-summary .card:nth-child(2){background:#e9f9f1}
#managerApp .archive-summary .card:nth-child(3){background:#fff0ee}
#managerApp .archive-summary b{font-size:32px;color:#233f65}
#managerApp .archive-summary span{font-size:15px;color:#6b86ac}
@media(min-width:1500px){#managerApp{grid-template-columns:300px minmax(0,1fr)}#managerApp #sidebar{padding:24px 24px 18px}#managerApp #sidebar .nav button{font-size:18px;min-height:46px}}
@media(max-width:1200px){#managerApp{grid-template-columns:280px minmax(0,1fr)}#managerApp #sidebar{padding:18px 15px}#managerApp #sidebar .brand img{width:208px}#managerApp .topbar{padding:15px 20px;flex-wrap:wrap}#managerApp .topbar>.inline{flex-basis:100%}#managerApp .topbar .actions{flex:1 1 100%}#managerApp .content{padding:18px 20px 32px}#managerApp #kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#managerApp .editor-layout{grid-template-columns:1fr}#managerApp .kpi{min-height:112px}}
@media(max-width:900px){#managerApp .focus-head{align-items:stretch;flex-direction:column}#managerApp .report-actions{justify-content:flex-start}#managerApp .focus-kpis{gap:8px}#managerApp .focus-kpis>div{padding-left:48px;padding-right:12px}#managerApp .focus-kpis .md-stat-icon{left:10px;width:28px;height:28px}#managerApp .focus-kpis .md-icon{width:20px;height:20px}#managerApp .md-completion-ring{display:none}#managerApp .focus-kpis b{font-size:29px}}
@media(max-width:760px){#managerApp{display:block}#managerApp #sidebar{display:none;width:min(300px,calc(100vw - 36px));padding:18px 18px 13px;box-shadow:30px 0 90px #19376326}#managerApp #sidebar.open{display:flex}#managerApp #sidebar .brand img{width:222px}#managerApp #sidebar .nav button{min-height:44px;padding:11px 10px;font-size:17px}#managerApp .mobile-menu{display:inline-flex}#managerApp .topbar .desktop-only{display:none}#managerApp .topbar{position:sticky;padding:12px 14px;min-height:80px;flex-wrap:wrap;gap:10px}#managerApp .topbar h1{font-size:24px}#managerApp .topbar p{font-size:15px}#managerApp .topbar .actions{flex:1 1 100%;justify-content:flex-end}#managerApp .topbar .actions .btn{min-height:44px;padding:8px 11px;font-size:16px}#managerApp .content{padding:16px 12px 28px}#managerApp .demo-banner{align-items:center;flex-direction:row;flex-wrap:wrap;gap:6px;font-size:14px}#managerApp .focus-card{padding:0 10px 10px}#managerApp .focus-kpis>div{padding:12px 8px;min-height:83px;text-align:center}#managerApp .focus-kpis .md-stat-icon{position:static;margin:0 auto 7px;width:25px;height:25px;border-radius:8px}#managerApp .focus-kpis b{font-size:28px}#managerApp .focus-kpis span:not(.md-stat-icon):not(.md-completion-ring){font-size:14px}#managerApp .report-actions .btn{flex:1;white-space:normal;padding:8px;font-size:16px}#managerApp #kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#managerApp .kpi{padding:13px 12px 12px;min-height:131px}#managerApp .kpi .md-stat-icon{position:static;width:27px;height:27px;margin-bottom:8px}#managerApp .kpi .md-stat-icon .md-icon{width:20px;height:20px}#managerApp .kpi .label{font-size:14px}#managerApp .kpi .value{font-size:29px;margin:6px 0 10px}#managerApp .kpi .trend,#managerApp .kpi .sub{font-size:14px}#managerApp .stop{grid-template-columns:30px minmax(0,1fr)}#managerApp .stop .place{grid-column:1/-1}#managerApp .stop-actions{grid-column:1/-1;justify-content:flex-end}#managerApp .editor-side,#managerApp .editor-main{padding:16px}}
@media(prefers-reduced-motion:reduce){#managerApp .btn{transition:none}}
/* Comfortable reading sizes on all office surfaces, including shared dialogs. */
#managerApp .small,#managerApp .empty,#managerApp .focus-table .subline{font-size:15px;line-height:1.5}
#managerApp .courier b,#managerApp .timeline-row b{font-size:17px}
#managerApp .courier span,#managerApp .timeline-row p{font-size:15px;line-height:1.5}
#managerApp .timeline-row{grid-template-columns:88px 20px minmax(0,1fr)}
#managerApp .timeline-row .t{font-size:15px;line-height:1.5}
#managerApp .iconbtn{width:44px;height:44px;min-width:44px;min-height:44px;font-size:18px}
#managerApp .stop-actions{flex-wrap:wrap}
#managerApp .focus-table td::before{font-size:14px}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm){font-size:17px;line-height:1.5}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) :is(input,select,textarea){font-size:17px;line-height:1.5;padding:12px;min-height:46px}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) :is(input[type="checkbox"],input[type="radio"]){min-height:0;padding:0}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) .field label{font-size:16px}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) .btn{font-size:16px;min-height:46px;padding:11px 15px;line-height:1.4}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) :is(.small,.directory-day-options,.directory-duplicates,.v3-call span,.v31-timeline span){font-size:15px;line-height:1.5}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) h3{font-size:24px}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) table{font-size:17px}
body:has(#managerApp:not([hidden])) :is(#detailModal,#stopModal,#tourModal,#actionConfirm) th{font-size:15px}
body:has(#managerApp:not([hidden])) #toast{font-size:16px;line-height:1.5}
@media print{#managerApp{display:block}#managerApp #sidebar{display:none!important}#managerApp .md-stat-icon{display:none}#managerApp .kpi,#managerApp .focus-kpis>div{padding-left:12px}}
