:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142238;background:#f3f6fa;font-size:15px;--brand:#047857;--brand-dark:#065f46;--line:#d9e2ee;--muted:#586a80;--surface:#fff;--danger:#b91c1c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}a{color:var(--brand-dark);text-underline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.7px}h2{font-size:21px}h3{font-size:17px}p{line-height:1.6}small,.muted{color:var(--muted)}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:#0b1424;color:#d8e4f4;padding:28px 18px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:21px}.brand img{width:38px;height:38px;object-fit:contain}.brand small{display:block;font-size:11px;letter-spacing:1.5px;color:#a8b6cc;margin-top:5px}.nav{display:grid;gap:6px;margin-top:34px}.nav button{background:none;border:0;color:#bac9de;text-align:left;padding:13px 14px;border-radius:9px;font-weight:600}.nav button.active{background:#183b37;color:#bdf4df}.nav button:hover{background:#17243a}.sidebar-footer{position:absolute;bottom:28px;font-size:12px;line-height:1.6;color:#a8b6cc}.workspace{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 32px;background:#fff;border-bottom:1px solid var(--line)}.topbar .account{display:flex;align-items:center;gap:12px;font-size:13px}.main{padding:32px;max-width:1450px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head p{color:var(--muted);max-width:720px;margin-bottom:0}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:1.5px;font-weight:700;color:var(--brand);margin-bottom:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:9px;border:1px solid var(--line);background:#fff;color:#1b2a40;text-decoration:none;font-weight:650;line-height:1.3;min-height:42px}.btn.primary{background:var(--brand);border-color:var(--brand);color:white}.btn.primary:hover{background:var(--brand-dark)}.btn.danger{color:var(--danger);border-color:#efc8c8}.btn.small{font-size:12px;min-height:34px;padding:7px 10px}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:24px;box-shadow:0 3px 9px #15233b04}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:20px}.stat small{display:block;margin-bottom:9px}.stat strong{font-size:29px;letter-spacing:-1px}.badge{display:inline-flex;padding:5px 9px;font-size:11px;font-weight:700;border-radius:6px;background:#eef2f7;color:#4a5f7a}.badge.good{background:#e6f6ee;color:#065f46}.badge.warn{background:#fff2de;color:#854d0e}.badge.bad{background:#feecec;color:#991b1b}.company-title{display:flex;gap:12px;align-items:center;margin-bottom:18px}.company-icon{width:42px;height:42px;border-radius:10px;background:#ecf5f1;color:#047857;display:grid;place-items:center;font-weight:bold}.company-title img{width:42px;height:42px;object-fit:contain}.company-title h3{margin:0 0 4px}.company-info{display:grid;gap:9px;color:var(--muted);font-size:13px;margin:15px 0 20px}.notice{padding:14px 18px;background:#eef5ff;border:1px solid #c9ddfb;border-radius:10px;line-height:1.5;margin-bottom:20px;color:#26466f}.notice.warning{background:#fff6e8;border-color:#efd6ab;color:#774507}.notice.error{background:#fff0f0;border-color:#ecc9c9;color:#991b1b}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:grid;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:650}.field input,.field select,.field textarea{border:1px solid #c4cfdd;background:#fff;border-radius:8px;padding:11px 12px;width:100%;min-width:0;color:#15233b}.field textarea{resize:vertical;min-height:92px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);outline:2px solid #bcebdc}.field small{font-size:12px;line-height:1.5}.section-divider{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.form-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:flex-end;gap:12px}.checkbox{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}.checkbox input{width:18px;height:18px;flex-shrink:0;accent-color:var(--brand)}.login-page{min-height:100vh;background:#0b1424;display:grid;place-items:center;padding:24px}.login-card{width:min(440px,100%);padding:34px;background:white;border-radius:18px}.login-card .brand{color:#102136;margin-bottom:28px}.login-card h1{font-size:25px}.login-card .field{margin-bottom:17px}.login-card .btn{width:100%;margin-top:8px}.login-card small{display:block;margin-top:20px;text-align:center}.filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px;align-items:flex-end}.filters .field{flex:1;min-width:160px}.table-scroll{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:11px;background:#fff}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:#50627a;background:#f7f9fc;font-size:11px;letter-spacing:.5px}th,td{padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top}td small{display:block;margin-top:5px}tr:last-child td{border-bottom:0}.empty{padding:42px;text-align:center;color:var(--muted)}.empty h3{color:#1b2a40;margin-bottom:10px}.kanban{display:grid;grid-auto-flow:column;grid-auto-columns:260px;gap:14px;overflow-x:auto;padding-bottom:14px;max-width:100%}.kanban-column{background:#eaf0f6;border-radius:11px;padding:13px;min-height:200px}.kanban-column h3{display:flex;justify-content:space-between;font-size:12px;color:#50617a;margin:3px 0 15px}.op-card{border:1px solid #d9e2ee;background:#fff;border-radius:9px;padding:15px;margin-bottom:10px}.op-card h3{font-size:14px;color:#16263f;margin:0 0 7px}.op-card p{font-size:12px;color:#526278;margin-bottom:10px;overflow-wrap:anywhere}.op-card .btn{width:100%}.modal-backdrop{position:fixed;inset:0;background:#0b142480;display:grid;place-items:center;padding:24px;z-index:50;overflow-y:auto}.modal{width:min(740px,100%);max-height:90vh;overflow-y:auto;background:#fff;border-radius:14px;padding:26px}.modal-header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:18px}.modal-header button{border:1px solid var(--line);border-radius:6px;background:#fff;width:34px;height:34px;flex-shrink:0}.prompt-editor{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;line-height:1.6;width:100%;min-height:400px;border:1px solid var(--line);padding:18px;background:#f7f9fc;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere}.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.slot{padding:16px;border:1px solid var(--line);border-radius:9px;background:white}.slot.available{border-color:#a8d8c6;background:#effaf5}.slot.booked,.slot.blocked{background:#f6f0e5;border-color:#e4cda4}.toast{position:fixed;bottom:24px;right:24px;max-width:min(440px,calc(100vw - 32px));padding:15px 20px;background:#102136;color:white;border-radius:10px;box-shadow:0 5px 20px #0002;z-index:90;line-height:1.5}.qr{display:block;max-width:300px;width:100%;height:auto;margin:20px auto}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.list{display:grid;gap:12px}.loading{padding:35px;text-align:center;color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.meta{font-size:12px;color:var(--muted);line-height:1.5}.text-wrap{overflow-wrap:anywhere}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.tabs button.active{background:#e7f3ee;border-color:#83bca6;color:#065f46}
@media(max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:22px 14px}.main{padding:24px}.topbar{padding:18px 24px}.brand{font-size:19px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:17px 16px}.sidebar-footer{display:none}.brand{font-size:19px}.brand small{font-size:10px}.nav{margin-top:18px;display:flex;gap:6px;overflow-x:auto;padding-bottom:3px}.nav button{padding:9px 12px;white-space:nowrap;font-size:12px}.topbar{padding:14px 16px;flex-wrap:wrap;gap:10px}.topbar .account{justify-content:space-between;flex:1;font-size:12px}.main{padding:22px 16px}.page-head{flex-direction:column;gap:15px}.page-head h1{font-size:25px;margin-bottom:10px}.cards{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.card{padding:19px}.form-grid,.split{grid-template-columns:1fr}.field.full{grid-column:auto}.form-actions{flex-wrap:wrap}.modal-backdrop{padding:12px}.modal{padding:20px;max-height:94vh}.kanban{grid-auto-columns:235px}.filters .field{min-width:0;flex-basis:100%}.filters .btn{flex:1}.login-card{padding:27px}.toast{right:16px;bottom:16px}.table-scroll table{min-width:650px}.slots{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.catalog-image{width:100%;height:180px;object-fit:cover;border-radius:12px;margin-bottom:16px}

.company-title>div:last-child{min-width:0}.company-icon{flex-shrink:0}.card h3,.company-info span,.brand span{overflow-wrap:anywhere}.brand span{min-width:0}.stat strong{overflow-wrap:anywhere}

/* Premium workspace and operational dashboards. */
:root{--brand:#118a7e;--brand-dark:#0c6b63;--line:#e2e8ed;--muted:#66778a;background:#f4f7f9;color:#1d2a39;font-size:14px}
.icon{display:inline-block;flex-shrink:0;vertical-align:middle}.app-shell{grid-template-columns:248px minmax(0,1fr)}
.sidebar{background:linear-gradient(165deg,#101f2c,#102932);padding:30px 20px;border-right:1px solid #ffffff05}
.brand{gap:11px;font-size:18px;font-weight:700;letter-spacing:-.4px;line-height:1.3}.brand-image{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff12;border-radius:13px;background:#ffffff06;flex-shrink:0}.brand img{width:32px;height:32px}.brand small{font-size:10px;letter-spacing:.7px;color:#9bb4bb;line-height:1.5;max-width:150px}
.nav-section-label{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#829ca5;margin:43px 14px 16px}.nav{margin-top:0;gap:7px}.nav button{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:550;padding:13px 14px;color:#a7bdc5;border-radius:10px}.nav button.active{background:#1d4548;color:#b8f4e4;box-shadow:inset 0 0 0 1px #79caba10}.nav button:hover{background:#ffffff08}.nav button.active:hover{background:#215054}.nav-active-dot{width:5px;height:5px;border-radius:50%;background:#7ce4c7;margin-left:auto;flex-shrink:0}
.sidebar-footer{left:20px;right:20px;bottom:26px}.workspace-note{display:flex;align-items:center;gap:11px;border:1px solid #ffffff0c;border-radius:12px;padding:14px;color:#84aaa9}.workspace-note>span{font-size:10px;color:#bed0d3}.workspace-note strong{display:block;font-weight:400;font-size:9px;color:#78959e;margin-top:4px}.sidebar-signature{font-size:9px;letter-spacing:2px;font-weight:650;margin:21px 12px 0;color:#78959e}.sidebar-signature span{float:right;font-size:9px;letter-spacing:1px;color:#65818a}
.topbar{min-height:82px;padding:18px 32px;gap:15px;background:#ffffffd9}.breadcrumb{font-size:12px;color:#8492a0;display:flex;align-items:center;gap:12px}.breadcrumb>span{color:#c1cad1}.breadcrumb strong{font-weight:550;color:#526577}.topbar .account{gap:10px}.account-avatar,.person-avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#e7f2ef;color:#0c796f;font-size:11px;font-weight:750}.account-name{margin-right:10px;line-height:1.5}.account-name strong{display:block;font-size:12px}.account-name small{display:block;font-size:10px;color:#8492a0}.topbar .btn.small{font-weight:500;border-color:#e6eaee;font-size:11px}
.main{padding:30px 32px 26px;max-width:1600px}.btn{border-radius:9px;font-size:12px;font-weight:600;min-height:40px;box-shadow:0 1px 2px #192f4203;transition:background .15s,border-color .15s,box-shadow .15s}.btn:hover{background:#f5f8fa;border-color:#c2d3d9}.btn.primary{background:#118a7e;border-color:#118a7e;box-shadow:0 3px 8px #118a7e15}.btn.primary:hover{background:#0c6b63;border-color:#0c6b63}.btn.icon-button{width:40px;padding:0}.card{border-radius:15px;border-color:#e3e9ee;box-shadow:0 3px 14px #1a344307}.page-head h1{font-size:28px;font-weight:650}.eyebrow{font-size:9px;letter-spacing:1.5px}.stats .stat{border-top:3px solid #118a7e}.stats .stat:nth-child(2){border-top-color:#4577dc}.stats .stat:nth-child(3){border-top-color:#9566d6}.stats .stat:nth-child(4){border-top-color:#e8a447}.stat small{font-size:11px}.stat strong{font-size:29px;font-weight:650}.notice.warning{font-size:12px;background:#fffaf0;border-color:#f0e2c4;color:#816331}.filters{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px}.kanban-column{background:#edf2f5;border:1px solid #e4ebef;border-radius:13px;padding:13px}.kanban-column h3{font-size:11px;font-weight:650}.op-card{border-radius:11px;box-shadow:0 3px 8px #24445b05;padding:16px}.op-card .btn{background:#f9fbfc;border-color:#e5ecf0;color:#597084}.table-scroll{border-radius:13px}th{background:#f9fbfc;padding-top:17px;padding-bottom:17px;text-transform:uppercase;letter-spacing:.8px;font-size:9px}td{padding-top:16px;padding-bottom:16px}tbody tr:hover{background:#fafcfd}.company-icon{width:44px;height:44px;border-radius:13px;background:#eaf5f0}.company-title h3{font-weight:650}.company-info{font-size:12px}.cards{gap:18px}.company-title{min-height:46px}.form-actions{gap:10px}
.dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.dashboard-head .eyebrow{display:block;color:#768a9a;letter-spacing:.9px;font-size:9px;margin-bottom:9px}.dashboard-head h1{font-size:29px;font-weight:650;letter-spacing:-.9px;margin:0 0 8px;line-height:1.2}.dashboard-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.dashboard-controls{display:flex;gap:9px;align-items:center;flex-shrink:0}.period-select{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;min-height:40px;background:#fff;padding:0 12px;color:#74899a}.period-select select{border:0;background:transparent;color:#42566a;font-size:11px;max-width:150px;padding:8px 0;cursor:pointer;outline-offset:2px}
.dashboard-hero{display:flex;position:relative;overflow:hidden;min-height:224px;border-radius:17px;background:linear-gradient(112deg,#13353c,#0d5555 67%,#167268);padding:29px 32px;margin-bottom:20px;color:white;box-shadow:0 8px 25px #16433e0a}.hero-copy{position:relative;z-index:1;max-width:72%}.hero-kicker{display:inline-flex;gap:8px;align-items:center;font-size:10px;letter-spacing:.6px;color:#ade6d7;margin-bottom:15px}.hero-copy h2{max-width:540px;font-size:28px;line-height:1.2;letter-spacing:-.8px;font-weight:600;margin:0 0 12px}.hero-copy p{font-size:12px;color:#b6d9d4;max-width:515px;line-height:1.6;margin:0 0 20px}.hero-links{display:flex;gap:10px;flex-wrap:wrap}.hero-button{background:#fff;border-color:white;color:#0d5c55;font-size:11px;min-height:35px;padding:8px 12px}.hero-button.secondary{background:#ffffff0b;border-color:#ffffff2a;color:#ecfffa}.hero-button.secondary:hover{background:#ffffff16;border-color:#ffffff45}.hero-art{position:absolute;right:32px;top:25px;bottom:25px;width:220px;display:grid;place-items:center}.hero-orbit{position:absolute;border:1px solid #a2dace15;border-radius:50%;width:215px;height:215px}.orbit-two{width:158px;height:158px;border-color:#a2dace20}.hero-art-icon{display:grid;place-items:center;width:104px;height:104px;border:1px solid #b8efe133;border-radius:30px;transform:rotate(-9deg);background:linear-gradient(135deg,#92d6c21b,#9cddcb05);color:#c3f4e3;box-shadow:0 12px 35px #072f3010}.hero-art-icon svg{transform:rotate(9deg)}.hero-art-detail{position:absolute;right:0;bottom:2px;display:flex;align-items:center;gap:8px;padding:9px 13px;background:#1c635c;border:1px solid #b9eedd25;border-radius:10px;font-size:9px;letter-spacing:.2px;color:#c8f1e8;box-shadow:0 6px 20px #082d3717}
[data-sector="cardiologia"] .hero-art-icon{color:#ffe4e2;background:linear-gradient(135deg,#f9b0a629,#fff1ec09);border-color:#fac7c549}
.setup-strip{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e2e8eb;border-radius:11px;padding:13px 16px;margin-bottom:20px}.setup-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff5df;color:#c08b29;flex-shrink:0}.setup-strip>div{flex:1}.setup-strip strong{font-size:11px;font-weight:650;display:block;margin-bottom:4px}.setup-strip>div>span{font-size:10px;color:#7a8a98}.setup-strip .btn{font-size:10px;min-height:30px}
.premium-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 19px;box-shadow:0 3px 12px #25405704}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}.metric-top>span:first-child{font-size:11px;font-weight:550;color:#607285;line-height:1.4}.metric-symbol{width:33px;height:33px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#e9f5f1;color:#168d7d}.metric-card.blue .metric-symbol{background:#ebf0fd;color:#537ed6}.metric-card.violet .metric-symbol{background:#f1edfb;color:#9271cb}.metric-card.rose .metric-symbol{background:#fff0f0;color:#c47181}.metric-card.amber .metric-symbol{background:#fff4e5;color:#c2903b}.metric-card>strong{font-size:32px;font-weight:650;letter-spacing:-1.2px;line-height:1.2;display:block;margin-bottom:15px;color:#223345}.metric-foot{display:flex;gap:6px;align-items:center;font-size:9px;color:#8292a0;line-height:1.5}
.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;margin-bottom:20px}.dashboard-panel{padding:23px 23px 19px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 12px #25405704;min-width:0}.trend-panel{grid-column:span 8}.stages-panel{grid-column:span 4}.appointments-panel,.attention-panel,.dimension-panel{grid-column:span 6}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.panel-heading h2{font-size:14px;font-weight:650;letter-spacing:-.15px;margin:0 0 7px;line-height:1.4;color:#2c4052}.panel-heading p{font-size:10px;color:#8896a3;margin:0;line-height:1.5}.panel-heading>.icon{color:#8c9fab;margin-top:2px}.panel-heading .btn.small{border:0;background:none;color:#16867a;padding:0;min-height:23px;font-size:10px;white-space:nowrap}.panel-pill{display:flex;align-items:center;gap:5px;font-size:9px;background:#f1f7f5;color:#5c897e;border-radius:6px;padding:6px 8px;white-space:nowrap}.trend-legend{display:flex;align-items:center;gap:7px;color:#6c7e8f;font-size:10px;margin-bottom:8px}.trend-legend strong{color:#2e4559;font-weight:650;margin-left:3px}.legend-dot{width:6px;height:6px;background:#118a7e;border-radius:50%;display:block}.trend-chart{width:100%;height:auto;display:block;overflow:visible;min-height:140px}.chart-label{font-size:10px;fill:#94a0ab;font-family:inherit}.chart-empty-label{font-size:11px;fill:#9aa7b1;font-family:inherit}.chart-point{cursor:help;transition:r .15s}.chart-point:hover{r:6;stroke:#fff;stroke-width:2}.panel-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1f4;margin-top:15px;padding-top:13px;gap:10px;font-size:9px;color:#8999a6}.panel-footer .btn{font-size:10px;background:none;border:0;padding:0;min-height:24px;color:#16867a}
.stage-layout{display:flex;flex-direction:column;align-items:center;gap:16px}.donut-wrap{width:145px;position:relative;margin-top:4px}.donut{display:block;width:100%;height:auto}.donut-center{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column}.donut-center strong{font-size:26px;letter-spacing:-.8px;color:#30475a;font-weight:650}.donut-center small{font-size:9px;color:#8e9eab;margin-top:2px}.stage-legend{display:grid;gap:11px;width:100%;max-width:255px;margin-bottom:3px}.stage-legend>div{display:flex;align-items:center;gap:8px;font-size:10px;color:#7a8b9b}.stage-legend>div>span{flex:1}.stage-legend strong{font-size:11px;color:#3f5364;font-weight:600}.stage-legend>.meta{font-size:10px;text-align:center;margin:0}
.appointment-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 0;background:none;border:0;border-bottom:1px solid #edf2f5;text-align:left;color:#405768}.appointment-row:last-child{border-bottom:0}.appointment-time{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f2f7f8;border:1px solid #e9eff2;border-radius:9px;min-width:55px;height:49px}.appointment-time strong{font-size:12px;font-weight:650;color:#3d6071}.appointment-time small{font-size:8px;color:#8c9ba6;margin-top:4px}.appointment-person{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.appointment-person strong{font-size:11px;font-weight:600;overflow-wrap:anywhere}.appointment-person small{font-size:9px;color:#8b9ba7;line-height:1.5;overflow-wrap:anywhere}.appointment-row>.icon{color:#9aafb5}.status-tag{display:inline-flex;align-items:center;font-size:9px;line-height:1.3;padding:5px 8px;border-radius:6px;background:#edf4fa;color:#5b85a6;white-space:nowrap;font-weight:500}.status-tag.scheduled,.status-tag.visit_scheduled{background:#edf2fd;color:#627fc5}.status-tag.completed,.status-tag.delivered,.status-tag.approved{background:#eaf7f0;color:#488974}.status-tag.in_progress,.status-tag.preparing{background:#fff4e3;color:#bd913c}.status-tag.cancelled,.status-tag.lost,.status-tag.absent{background:#fff0f0;color:#b27878}.status-tag.proposal,.status-tag.quoted{background:#f3eefb;color:#9670bf}.dashboard-empty{min-height:173px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:13px 14px;color:#526c7d}.empty-symbol{display:grid;place-items:center;width:47px;height:47px;border-radius:14px;background:#f3f8f9;color:#91adaf;margin-bottom:12px}.dashboard-empty>strong{font-size:11px;font-weight:600}.dashboard-empty>p{font-size:10px;line-height:1.6;color:#91a0ad;max-width:290px;margin:7px 0 0}.count-pill{background:#f1f5f7;color:#7d929e;display:grid;place-items:center;border-radius:7px;min-width:25px;height:25px;font-size:10px;font-weight:600}.attention-list{display:grid;gap:12px}.attention-row{display:flex;align-items:center;gap:12px;border:1px solid #edf0f2;border-radius:10px;padding:14px;width:100%;background:#fcfdfd;text-align:left;color:#6c8e99}.attention-row:hover{border-color:#d1e2e4;background:#f7fbfa}.attention-icon{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border-radius:9px;background:#fff5e8;color:#c9a15a}.attention-row>span:nth-child(2){flex:1;min-width:0}.attention-row strong{display:block;font-size:10px;font-weight:600;color:#526778;line-height:1.4;overflow-wrap:anywhere}.attention-row small{display:block;font-size:9px;line-height:1.6;color:#91a0ac;margin-top:5px}.attention-row>.icon{width:14px}
.dimension-list{display:grid;gap:16px;padding:4px 0 9px}.dimension-item>div{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#758694;margin-bottom:8px}.dimension-item>div>span{overflow-wrap:anywhere}.dimension-item strong{font-weight:650;color:#486173;flex-shrink:0}.dimension-item svg{display:block;width:100%;height:5px}.financial-preview{display:flex;align-items:center;gap:15px;margin-bottom:20px;padding:22px 25px}.financial-preview>.metric-symbol{width:46px;height:46px;border-radius:13px}.financial-preview>div{flex:1}.financial-preview>div>span{display:block;font-size:10px;color:#758997;margin-bottom:6px}.financial-preview strong{display:block;font-size:22px;color:#355164;letter-spacing:-.7px;font-weight:650}.financial-preview small{display:block;font-size:9px;color:#9aa7b1;margin-top:7px}.financial-preview .btn{font-size:10px;color:#13887a;background:#f5faf8;border-color:#e0eee8}.recent-row{display:flex;align-items:center;gap:14px;width:100%;border:0;background:none;text-align:left;padding:13px 0;border-bottom:1px solid #edf1f4;color:#8b9eaa}.recent-row:last-child{border-bottom:0}.recent-row:hover,.appointment-row:hover{background:#fbfdfd}.person-avatar{width:32px;height:32px;background:#eef5f6;font-size:9px;color:#688c93}.recent-person{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.recent-person strong{font-size:11px;font-weight:600;color:#4c6476;overflow-wrap:anywhere}.recent-person small{font-size:9px;color:#91a2af;overflow-wrap:anywhere}.recent-row>.meta{font-size:9px;min-width:50px;text-align:right}.recent-row>.icon{width:14px}.recent-panel .dashboard-empty{min-height:140px}.dashboard-last-update{display:flex;align-items:center;gap:6px;margin-top:18px;font-size:9px;color:#9aa8b3}.dashboard-last-update>span{margin-left:auto}
@media(min-width:1650px){.main{padding:36px 44px}.dashboard-hero{min-height:240px;padding:35px 38px}.hero-copy h2{font-size:31px}.metric-card{padding:22px}.metric-card>strong{font-size:35px}.dashboard-panel{padding:26px}.stage-layout{flex-direction:row;gap:22px}.stage-legend{flex:1}.donut-wrap{flex-shrink:0;width:132px}}
@media(max-width:1200px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:26px 15px}.sidebar-footer{left:15px;right:15px}.main{padding:26px}.topbar{padding:17px 26px}.dashboard-head{flex-wrap:wrap}.hero-copy{max-width:70%}.hero-art{right:18px;width:180px}.hero-orbit{width:190px;height:190px}.orbit-two{width:143px;height:143px}.hero-copy h2{font-size:25px}.hero-art-icon{width:87px;height:87px}.hero-art-detail{right:0;font-size:8px;padding:8px}.metric-card{padding:16px}.metric-top>span:first-child{font-size:10px}.metric-symbol{width:28px;height:28px}.metric-symbol>.icon{width:16px;height:16px}.metric-foot{font-size:8px}.dashboard-panel{padding:19px}.panel-heading h2{font-size:13px}.trend-panel,.stages-panel{grid-column:span 6}.panel-pill{display:none}.trend-chart{min-height:170px}.appointment-row .status-tag{display:none}}
@media(max-width:900px){.breadcrumb{font-size:10px}.account-name{margin-right:2px}.account-name small{max-width:120px;line-height:1.3}.topbar .account{gap:7px}.account-avatar{width:30px;height:30px}.topbar .btn.small{padding:7px}.hero-copy{max-width:100%;padding-right:70px}.hero-art{opacity:.25;right:-80px;top:0}.hero-art-detail{display:none}.hero-copy h2{font-size:24px}.dashboard-hero{padding:25px;min-height:220px}.premium-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-top>span:first-child{font-size:11px}.metric-foot{font-size:9px}.trend-panel{grid-column:span 12}.stages-panel{grid-column:span 12}.stage-layout{flex-direction:row;justify-content:center;gap:30px}.stage-legend{max-width:240px}.appointments-panel,.attention-panel,.dimension-panel{grid-column:span 12}.appointment-row .status-tag{display:inline-flex}}
@media(max-width:760px){.app-shell{display:block}.sidebar{height:auto;padding:19px 16px;position:static;border:0}.brand{font-size:18px}.brand small{max-width:none;font-size:9px}.brand-image{width:37px;height:37px;border-radius:10px}.brand img{width:28px;height:28px}.nav-section-label,.sidebar-footer{display:none}.nav{display:flex;overflow-x:auto;margin-top:20px;gap:7px;max-width:100%;padding-bottom:2px}.nav button{padding:10px 12px;white-space:nowrap;flex-shrink:0;gap:7px;font-size:11px}.nav button>.icon{width:16px;height:16px}.nav-active-dot{display:none}.topbar{padding:13px 16px;min-height:66px;gap:10px;flex-wrap:wrap}.breadcrumb{font-size:10px}.topbar .account{gap:8px;flex:initial;margin-left:auto}.account-name small{font-size:9px}.account-name strong{font-size:10px}.account-avatar{width:28px;height:28px;font-size:9px}.account-name{max-width:115px;overflow-wrap:anywhere}.topbar .btn.small{font-size:10px;min-height:30px}.main{padding:23px 16px}.dashboard-head{gap:16px;margin-bottom:20px}.dashboard-head h1{font-size:26px;line-height:1.25}.dashboard-head p{font-size:11px;max-width:300px}.dashboard-head .eyebrow{font-size:8px;line-height:1.5;letter-spacing:.7px}.dashboard-controls{display:flex;flex-shrink:1;gap:7px;flex-wrap:wrap;width:100%}.period-select{flex:1;min-width:140px}.period-select select{max-width:none;width:100%;font-size:10px}.dashboard-controls .btn.primary{font-size:10px;padding:10px}.dashboard-controls .btn.primary>.icon{width:14px}.dashboard-hero{padding:23px;border-radius:14px;min-height:235px;margin-bottom:16px}.hero-copy{padding-right:5px}.hero-copy h2{font-size:25px;max-width:285px;letter-spacing:-.7px;line-height:1.25}.hero-copy p{font-size:11px;max-width:270px}.hero-kicker{font-size:9px;margin-bottom:14px}.hero-links{gap:8px}.hero-button{font-size:10px;padding:8px 10px;min-height:34px}.hero-art{right:-105px;opacity:.18}.hero-art-icon{border-radius:22px}.hero-art-detail{display:none}.setup-strip{padding:12px;gap:10px;margin-bottom:16px;flex-wrap:wrap}.setup-strip>div{flex:1;min-width:180px}.setup-strip strong{font-size:10px;line-height:1.5}.setup-strip>div>span{font-size:9px;line-height:1.5;display:block}.setup-strip .btn{margin-left:42px}.premium-stats{gap:10px;margin-bottom:16px}.metric-card{border-radius:12px;padding:15px}.metric-top{gap:5px;min-height:33px;margin-bottom:8px}.metric-top>span:first-child{font-size:10px}.metric-symbol{width:26px;height:26px;border-radius:8px}.metric-card>strong{font-size:29px;margin-bottom:12px}.metric-foot{font-size:8px;gap:5px}.metric-foot>.icon{width:11px;height:11px}.dashboard-grid{gap:16px;margin-bottom:16px}.dashboard-panel{border-radius:13px;padding:19px 18px 17px}.panel-heading{gap:10px}.panel-heading h2{font-size:12px;line-height:1.5}.panel-heading p{font-size:9px}.panel-heading .btn.small{font-size:9px}.trend-chart{min-height:125px}.trend-legend{font-size:9px}.chart-empty-label{font-size:12px}.stage-layout{gap:20px}.donut-wrap{width:120px;flex-shrink:0}.stage-legend{gap:11px}.stage-legend>div{font-size:9px;gap:6px}.stage-legend strong{font-size:10px}.donut-center strong{font-size:24px}.donut-center small{font-size:8px}.appointment-row{gap:10px}.appointment-person strong{font-size:10px}.appointment-person small{font-size:9px}.appointment-row .status-tag{display:none}.appointment-time{min-width:49px}.appointment-time strong{font-size:11px}.attention-row{padding:12px;gap:10px}.attention-row strong{font-size:10px}.attention-icon{width:29px;height:29px}.attention-row small{font-size:9px}.financial-preview{padding:19px;gap:12px;flex-wrap:wrap;margin-bottom:16px}.financial-preview>div{min-width:190px}.financial-preview strong{font-size:21px}.financial-preview>.btn{margin-left:58px}.financial-preview>.metric-symbol{width:40px;height:40px}.recent-row{gap:10px;flex-wrap:wrap}.recent-row>.meta{display:none}.recent-row .status-tag{font-size:8px;padding:4px 6px}.recent-person strong{font-size:10px}.recent-person small{font-size:9px}.person-avatar{width:29px;height:29px}.dashboard-last-update{font-size:8px;gap:5px;flex-wrap:wrap}.dashboard-last-update>span{font-size:8px}.stats{gap:10px}.cards{gap:15px}.card{padding:19px}.filters{padding:14px}.dashboard-empty{min-height:163px;padding:14px 5px}}
@media(max-width:380px){.topbar .breadcrumb{width:100%}.topbar .account{margin-left:0;flex:1;justify-content:space-between}.topbar .account-name{flex:1}.stage-layout{gap:12px}.donut-wrap{width:105px}.metric-card{padding:13px}.metric-top>span:first-child{font-size:9px}.metric-symbol{width:23px;height:23px}.metric-symbol>.icon{width:14px;height:14px}.dashboard-controls{gap:6px}.dashboard-controls .btn.primary{font-size:9px}.period-select{min-width:128px;padding:0 9px}.hero-links .btn{font-size:9px;padding:8px 9px}}

/* Dashboard text contrast and legibility. */
.panel-heading p,.metric-foot,.panel-footer,.appointment-person small,.appointment-time small,.attention-row small,.dashboard-empty>p,.recent-person small,.financial-preview small,.dashboard-last-update,.account-name small,.setup-strip>div>span,.donut-center small{color:#667b8c}
.chart-label{fill:#617789}.chart-empty-label{fill:#667b8c}.stage-legend>div{color:#657b8a}
.metric-foot,.panel-heading p,.setup-strip>div>span,.dashboard-empty>p,.dashboard-last-update,.financial-preview small,.attention-row small,.appointment-person small,.recent-person small{font-size:10px}
.dimension-panel .dashboard-empty{min-height:130px}
@media(max-width:760px){.panel-heading h2{font-size:13px}.metric-top>span:first-child{font-size:11px}.metric-foot{font-size:10px}.metric-foot>.icon{display:none}.dashboard-empty>strong{font-size:12px}.dimension-panel .dashboard-empty{min-height:120px}.dashboard-last-update>span{font-size:10px}.attention-row strong,.appointment-person strong,.recent-person strong{font-size:11px}}

.user-actions {gap:8px;min-width:235px;flex-wrap:wrap}.user-actions .meta {align-self:center}
