/* Edape workspace: quiet surfaces, compact work tools and the clinic's turquoise. */
.crm-icon{width:20px;height:20px;flex:none;vertical-align:middle}
.crm-app{--crm-bg:#f3f6fa;--crm-border:#e6ebf1;--crm-text:#293f49;--crm-muted:#798795;--crm-shadow:0 3px 6px rgb(34 56 74 / 2%),0 18px 35px -27px rgb(34 56 74 / 22%);font:14px/1.5 'Garet',system-ui,sans-serif;color:var(--crm-text);background:var(--crm-bg);display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100dvh}
.crm-app button,.clinic-dialog button{font-family:inherit}
.crm-app .crm-sidebar{width:auto;min-width:0;height:100dvh;position:sticky;top:0;padding:28px 16px 16px;background:#fff;color:var(--crm-text);border-right:1px solid var(--crm-border);display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}
.crm-brand{display:flex;align-items:center;gap:10px;padding:0 12px 30px;color:#2e4a4d}
.crm-brand img{width:40px;height:40px;filter:none!important}
.crm-brand>span{font-family:'Garet',system-ui,sans-serif;font-size:29px;line-height:1.1;font-weight:800;letter-spacing:-1.5px}
.crm-brand small{display:block;margin-top:7px;font-size:12px;letter-spacing:1.5px;font-weight:700;color:#627584}
.crm-nav-label{font-size:12px;letter-spacing:1.7px;color:#627584;font-weight:750;margin:6px 14px 12px}
.crm-nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:12px;background:transparent;color:#627584;padding:12px 14px;min-height:46px;font:600 13px/1.4 'Garet',sans-serif;text-align:left;margin:3px 0;transition:background .16s,color .16s}
.crm-nav-item:hover{background:#f4f8fa;color:#2e4a4d}
.crm-nav-item.is-active{color:#245456;background:linear-gradient(115deg,#e3f7f3,#ecf9f7);box-shadow:inset 3px 0 #81d8d0}
.crm-nav-item.is-active .crm-icon{color:#4d7c70}
.crm-nav-item b{margin-left:auto;font-size:12px;border-radius:6px;background:#f6dcba;color:#876227;padding:2px 6px}
.crm-nav-group{margin-top:18px;border-top:1px solid #eff2f5;padding-top:14px}
.crm-nav-group>summary{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;letter-spacing:.04em;color:#627584;cursor:pointer;padding:6px 14px 8px;list-style:none}
.crm-nav-group>summary::-webkit-details-marker{display:none}
.crm-nav-group>summary .crm-icon{width:14px;height:14px;transition:transform .18s}
.crm-nav-group[open]>summary .crm-icon{transform:rotate(90deg)}
.crm-sidebar-bottom{margin-top:auto;padding-top:26px}
.crm-web-link{display:flex;align-items:center;gap:10px;padding:10px 14px;color:#627584;font-size:12px}
.crm-web-link .crm-icon{width:16px;height:16px}
.crm-account{border-top:1px solid #edf1f5;display:flex;align-items:center;gap:9px;margin-top:12px;padding-top:18px}
.crm-account>div{min-width:0;flex:1}.crm-account strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-account small{font-size:12px;color:#627584;display:block;margin-top:2px}
.crm-avatar{width:38px;height:38px;border-radius:12px;display:inline-grid;place-items:center;flex:none;font-size:12px;font-weight:750;letter-spacing:.2px;border:1px solid rgb(255 255 255 / 80%);box-shadow:0 4px 8px -6px #2e4a4d70}
.crm-avatar-0{background:linear-gradient(135deg,#e1f3f1,#bce5df);color:#4d7c70}.crm-avatar-1{background:linear-gradient(135deg,#eef0fe,#d7dafa);color:#627584}.crm-avatar-2{background:linear-gradient(135deg,#fff2e3,#f8dfc5);color:#876c43}.crm-avatar-3{background:linear-gradient(135deg,#e9f2fd,#cfe4f8);color:#627584}
.crm-app .mainarea{min-width:0;padding:0;height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#d2dce4 transparent}
.crm-topbar{position:sticky;top:0;z-index:8;background:rgb(255 255 255 / 95%);backdrop-filter:blur(18px);border-bottom:1px solid #e7edf3;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 30px;min-height:102px}
.crm-breadcrumb{font-size:12px;letter-spacing:.02em;color:#627584;margin:0 0 6px}.crm-breadcrumb span{padding:0 8px;color:#627584}
.crm-app .crm-topbar h1{font:750 25px/1.1 'Garet',system-ui,sans-serif;letter-spacing:-.8px;margin:0;color:#293f49}
.crm-top-actions{display:flex;align-items:center;gap:10px}.crm-search-launch{border:1px solid #e6edf3;display:flex;align-items:center;gap:10px;background:#f8fafc;border-radius:10px;padding:11px 12px;color:#627584;font-size:12px;min-height:42px}.crm-search-launch .crm-icon{width:16px;height:16px}.crm-search-launch kbd{font:12px 'Garet',sans-serif;border:1px solid #dfe6ed;background:white;border-radius:4px;padding:2px 5px;margin-left:16px;color:#627584}
.crm-icon-button{background:transparent;border:0;width:36px;height:36px;display:inline-grid;place-items:center;color:#627584;cursor:pointer;border-radius:10px;padding:7px}.crm-icon-button:hover{background:#edf7f6;color:#2e4a4d}.crm-icon-button .crm-icon{width:18px;height:18px}
.crm-app .btn,.clinic-dialog .btn{font-size:12px;min-height:39px;padding:9px 14px;border-radius:10px;box-shadow:none;transition:background .15s,box-shadow .15s,transform .15s;font-weight:650;white-space:normal}
.crm-app .btn.outline,.clinic-dialog .btn.outline{background:#fff;border:1px solid #e1e9ef;color:#536b77}
.crm-app .btn.outline:hover,.clinic-dialog .btn.outline:hover{background:#f0faf8;border-color:#a5dcd4;box-shadow:0 4px 12px -8px #529e9580;transform:translateY(-1px)}
.crm-top-actions>.btn,.crm-app .crm-quick-actions .btn:first-child{background:linear-gradient(135deg,#87ddd4,#74ccc4);border-color:#79d0c7;color:#24524f;box-shadow:0 7px 14px -9px #54b9ad;white-space:nowrap}
.crm-top-actions>.btn:hover{background:#0cc0df;border-color:#0cc0df;box-shadow:0 8px 18px -9px #0cc0df99}
.crm-page-content{padding:26px 30px 44px;max-width:1740px;margin:auto}
.crm-page-content>.clinic-feedback{min-height:0;margin:0;position:sticky;top:0;z-index:9}.crm-page-content>.clinic-feedback:not(:empty){padding:12px 16px;border:1px solid #c9e6df;border-radius:10px;background:#effbf6;box-shadow:var(--crm-shadow);margin-bottom:18px;font-size:13px}
.crm-app .panel{border-radius:18px;border:1px solid var(--crm-border);background:#fff;padding:22px;box-shadow:var(--crm-shadow);margin-bottom:22px}
.crm-app .panelhead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}.crm-app .panelhead h3{margin:0;font-size:16px;letter-spacing:-.3px;font-weight:750}.crm-app .panelhead p{margin:6px 0 0;font-size:12px}.crm-app .panelhead .crm-overline{margin:0 0 6px}
.crm-overline{font-size:12px;font-weight:750;letter-spacing:1.5px;text-transform:uppercase;color:#627584;margin:0 0 8px}
.crm-welcome{display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:190px;margin-bottom:22px;border:1px solid #d6eae7;background:linear-gradient(115deg,#edf9f6,#e9f4f5 70%,#e6eef8);border-radius:20px;padding:26px 30px;overflow:hidden;position:relative;box-shadow:0 12px 30px -23px #57847c50}
.crm-welcome h2{font:750 clamp(23px,2.3vw,31px)/1.25 'Garet',system-ui,sans-serif;letter-spacing:-1px;margin:0 0 10px;color:#2e5154}.crm-welcome p:not(.crm-overline){font-size:12px;color:#4d7c70;margin:0 0 18px}.crm-welcome .crm-overline{color:#4d7c70;letter-spacing:1.1px;text-transform:capitalize}.crm-quick-actions{display:flex;gap:9px;flex-wrap:wrap}
.crm-desk-art{width:210px;height:150px;position:relative;flex:none;margin-right:20px;perspective:600px}.crm-art-back{position:absolute;width:104px;height:120px;border-radius:16px;background:linear-gradient(140deg,#d6eeeb,#88d0c7);right:48px;top:10px;transform:rotate(-15deg);box-shadow:0 14px 20px -10px #4a8e8055}.crm-art-calendar{position:absolute;right:30px;top:10px;width:105px;height:125px;background:linear-gradient(145deg,white,#effbfa);border:1px solid white;border-radius:16px;transform:rotateY(-12deg) rotate(7deg);box-shadow:8px 14px 25px -12px #50797860;display:flex;flex-direction:column;align-items:center}.crm-art-calendar>span{font-size:12px;letter-spacing:2px;font-weight:800;padding-top:15px;color:#4d7c70}.crm-art-calendar>b{font:700 50px/1.3 'Garet',sans-serif;color:#3c6769}.crm-art-calendar i{position:absolute;right:-11px;bottom:8px;background:linear-gradient(135deg,#9addb9,#70cba5);color:white;border:3px solid #ecf8f6;border-radius:50%;padding:5px;box-shadow:0 6px 14px -8px #2b886a80;display:flex}.crm-art-note{position:absolute;bottom:0;left:5px;display:flex;align-items:center;gap:7px;background:rgb(255 255 255 / 94%);border:1px solid white;border-radius:9px;padding:9px 12px;font-size:12px;color:#4d7c70;box-shadow:0 10px 18px -14px #517e7780;transform:rotate(-3deg)}.crm-art-note .crm-icon{width:14px;height:14px}
.crm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.crm-metric{display:flex;align-items:center;gap:16px;border:1px solid #e4eaf0;border-radius:16px;background:#fff;padding:20px 18px;box-shadow:var(--crm-shadow);transition:transform .18s,box-shadow .18s}.crm-metric:hover{transform:translateY(-3px);box-shadow:0 14px 28px -20px #354c6670}.crm-metric-icon{height:44px;width:44px;border-radius:13px;display:grid;place-items:center;flex:none;box-shadow:inset 0 1px #ffffffa0,0 6px 14px -10px currentColor}.crm-metric-icon .crm-icon{width:22px;height:22px}.crm-metric p{margin:0;color:#627584;font-size:12px;font-weight:600}.crm-metric strong{display:block;font:750 29px/1.25 'Garet',sans-serif;letter-spacing:-1px;margin:3px 0;color:#314956}.crm-metric small{font-size:12px;color:#627584}.crm-tone-mint .crm-metric-icon,.crm-tone-mint.crm-task-icon{background:linear-gradient(135deg,#e0f8f1,#c9eee4);color:#4d7c70}.crm-tone-blue .crm-metric-icon,.crm-tone-blue.crm-task-icon{background:linear-gradient(135deg,#e5f1fe,#d4e8fd);color:#627584}.crm-tone-peach .crm-metric-icon,.crm-tone-peach.crm-task-icon{background:linear-gradient(135deg,#fff0df,#ffe3c4);color:#876c43}.crm-tone-violet .crm-metric-icon,.crm-tone-violet.crm-task-icon{background:linear-gradient(135deg,#eeebff,#dfd9f8);color:#7a6a9b}
.crm-dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.crm-dashboard-columns .panel{margin-bottom:18px}.crm-appointment-row{display:flex;align-items:center;gap:12px;border-top:1px solid #f0f3f6;padding:17px 0}.crm-appointment-time{width:72px;flex:none}.crm-appointment-time strong{font-size:14px;display:block;color:#476374}.crm-appointment-time small{font-size:12px;color:#627584;display:block;margin-top:3px}.crm-appointment-person{flex:1;min-width:100px}.crm-appointment-person small{display:block;font-size:12px;color:#627584;margin-top:4px}.crm-text-button{background:none;border:0;padding:0;font:650 12px/1.5 'Garet',sans-serif;color:#38515e;text-align:left;cursor:pointer;overflow-wrap:anywhere}.crm-text-button:hover{color:#4d7c70;text-decoration:underline;text-underline-offset:4px}.crm-row-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}.crm-row-actions .btn{min-height:32px;font-size:12px;padding:6px 10px;white-space:nowrap}
.crm-app .tag,.clinic-dialog .tag{font-size:12px;border-radius:6px;padding:5px 8px;font-weight:650;white-space:nowrap}.crm-app .tag[class].crm-state-approved,.crm-app .tag[class].crm-state-pending,.clinic-dialog .tag[class].crm-state-approved{background:#fff2db;color:#876c43}.crm-app .tag[class].crm-state-confirmed,.clinic-dialog .tag[class].crm-state-confirmed{background:#e4f6ee;color:#4d7c70}.crm-app .tag[class].crm-state-arrived,.crm-app .tag[class].crm-state-waiting{background:#e7f1fe;color:#627584}.crm-app .tag[class].crm-state-consulting{background:#f0eafd;color:#7a6a9b}.crm-app .tag[class].crm-state-attended{background:#ecf4f0;color:#4d7c70}.crm-app .tag[class].crm-state-absent,.crm-app .tag[class].crm-state-cancelled{background:#faeeef;color:#627584}
.crm-task{display:flex;align-items:center;gap:10px;padding:15px 0;width:100%;border:0;border-top:1px solid #f0f3f6;background:none;text-align:left;color:#526976}.crm-task>span:nth-child(2){flex:1;min-width:0}.crm-task strong{font-size:12px;display:block}.crm-task small{font-size:12px;display:block;color:#627584;margin-top:4px}.crm-task>b{font-size:12px;font-weight:650;color:#627584}.crm-task>.crm-icon{width:12px;height:12px;color:#627584}.crm-task-icon{width:33px;height:33px;display:grid;place-items:center;flex:none;border-radius:9px}.crm-task-icon .crm-icon{width:17px;height:17px}.crm-task:hover strong{color:#4d7c70}.crm-tip-card{display:flex;gap:12px;background:linear-gradient(130deg,#ecf5f7,#e9f1fb);border:1px solid #dce9ed;padding:20px;border-radius:16px}.crm-tip-card>.crm-icon{color:#627584}.crm-tip-card strong{font-size:12px;color:#627584}.crm-tip-card p{font-size:12px;line-height:1.8;color:#627584;margin:8px 0 0}.crm-tip-card kbd{font:12px 'Garet',sans-serif;color:#627584;font-weight:700}
.crm-empty-state{padding:46px 24px;text-align:center;color:#627584}.crm-empty-state>.crm-icon{width:36px;height:36px;color:#4d7c70;stroke-width:1.2;margin-bottom:14px}.crm-empty-state h3{font-size:16px;margin:0 0 10px;color:#627584;font-weight:650}.crm-empty-state p{font-size:12px;margin:0 0 18px;line-height:1.8}.crm-empty-state .btn{display:inline-flex}
.crm-live-search{display:flex!important;align-items:center;gap:10px;border:1px solid #e4ebf1;background:#fafcfd;border-radius:10px;padding:0 14px;margin:20px 0;max-width:600px}.crm-live-search>.crm-icon{width:17px;height:17px;color:#627584}.crm-live-search input{min-width:0;width:100%;background:none;border:0;outline:none!important;padding:13px 0;font:12px 'Garet',sans-serif;color:#4c6574;min-height:44px}.crm-live-search:focus-within{border-color:#91d7ce;box-shadow:0 0 0 3px #e9f7f4}
.crm-results-count{color:#627584;font-size:12px;margin-bottom:12px}.crm-table{width:100%;border-collapse:collapse;text-align:left}.crm-table th{font-size:12px;text-transform:uppercase;letter-spacing:.9px;color:#627584;font-weight:650;padding:13px 12px;background:#f8fafc;border-bottom:1px solid #eaf0f5}.crm-table td{font-size:12px;color:#627584;padding:17px 12px;border-bottom:1px solid #eff3f6}.crm-table tr:hover td{background:#fcfefe}.crm-table td small{display:block;font-size:12px;color:#627584;margin-top:5px}.crm-person-cell{display:flex;align-items:center;gap:12px}.crm-person-cell .crm-avatar{width:36px;height:36px;border-radius:11px}.crm-pending-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#e5b46d;margin-right:5px}.crm-table td.crm-row-actions{display:table-cell;text-align:right;white-space:nowrap}.crm-table td.crm-row-actions>.btn{margin:3px}.crm-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding-top:18px;color:#627584;font-size:12px}.crm-pagination>span{margin-right:auto}.crm-pagination .btn{min-height:32px;font-size:12px}
.crm-filter-chips{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 22px}.crm-filter-chips button{border:1px solid #e5ebf1;background:white;color:#627584;border-radius:8px;padding:7px 13px;font-size:12px;min-height:34px}.crm-filter-chips button[aria-pressed=true]{border-color:#c7e9e1;background:#eaf8f4;color:#4d7c70}
.crm-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.crm-report-card{border:1px solid #e7edf3;padding:22px;border-radius:15px;box-shadow:0 10px 20px -22px #2d506c70;background:linear-gradient(160deg,white,#fcfdfe);min-width:0}.crm-report-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.crm-file-icon{width:38px;height:44px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#e4f5f2,#d0eee7);color:#4d7c70;box-shadow:3px 4px 0 -1px #eef8f4;border:1px solid #cce9e3}.crm-file-icon .crm-icon{width:21px;height:21px}.crm-report-card h3{font-size:14px;color:#4a6472;margin-bottom:7px;overflow-wrap:anywhere}.crm-report-card p{font-size:12px;color:#627584;margin-bottom:9px}.crm-report-card>small{font-size:12px;color:#627584;display:block}.crm-report-card .toolbar{margin-top:20px;gap:8px;flex-wrap:wrap}.crm-report-card .btn{font-size:12px;min-height:32px}
.crm-app .field,.crm-app .selectfield{font-size:13px;min-height:42px;border-radius:9px;border-color:#dfe8ef;background:white;color:#5a7382}.crm-app .formgrid{gap:16px}.crm-app .formgrid label{font-size:12px;font-weight:600;color:#627584}.crm-app .reportcard{border-color:#e9eff4;border-radius:13px;padding:18px;background:white;box-shadow:none}.crm-app .reportcard p{font-size:12px;color:#627584}.crm-app .reportcard h3{font-size:15px;color:#55717f}.crm-app .reportcard .toolbar{gap:8px;flex-wrap:wrap}.crm-app .notice{font-size:12px;padding:13px 16px;border-radius:10px}.crm-app .cards{gap:16px;margin-bottom:22px}.crm-app .stat{border-color:#e6edf3;box-shadow:var(--crm-shadow);border-radius:15px}.crm-app .stat strong{font-size:27px;color:#476371}.crm-app .stat .kicker{font-size:12px;color:#627584}.crm-app .stat small{font-size:12px;color:#627584}
.crm-app .clinic-calendar>form.formgrid{margin-block:18px 12px;padding:17px;background:#f8fafc;border:1px solid #edf1f6;border-radius:12px}.crm-app .clinic-calendar-nav{justify-content:flex-start;gap:8px}.crm-app .clinic-calendar-nav>div{margin-left:auto}.crm-app .clinic-calendar-nav [aria-pressed=true]{background:#e0f4ed!important;border-color:#b8e0d4!important;color:#4d7c70!important}.crm-app .clinic-calendar .muted{font-size:12px;color:#627584}.crm-app .clinic-weekday{background:#f5f8fc;font-size:12px;color:#627584;padding:12px}.crm-app .clinic-month{border-color:#e5edf4;border-radius:12px;overflow:hidden}.crm-app .clinic-month-day{border-color:#e5edf4;min-height:126px;padding:9px;background:white}.crm-app .clinic-month-day.outside{background:#fafbfd;color:#627584}.crm-app .clinic-date{font-size:12px;color:#627584}.crm-app .clinic-day-count{font-size:12px;color:#627584}.crm-app .clinic-month-event{background:#edf8f3;border-color:#9dd7c5;font-size:12px;color:#4d7c70;border-radius:5px;padding:5px}.crm-app .clinic-month-day.is-today{box-shadow:inset 0 0 0 2px #a4dbcf}.crm-app .clinic-month-day>.btn{min-height:25px!important;font-size:12px;padding:3px;color:#627584;background:transparent;border-color:#eef3f7}.crm-app .clinic-time-row{border-color:#edf2f6;min-height:67px}.crm-app .clinic-hour{font-size:12px;color:#627584;padding-top:17px}.crm-app .clinic-time-content{border-color:#edf2f6;padding:9px 12px}.crm-app .clinic-slot-actions .btn{font-size:12px;border-style:dashed;min-height:30px}.crm-app .clinic-time-content .reportcard{background:#f0f9f6;border-color:#d8eee4;padding:14px}.crm-app .clinic-time-content .reportcard .panelhead{margin-bottom:8px}.crm-app .clinic-time-content .reportcard strong{font-size:13px;color:#4d7c70}.crm-app .clinic-time-content .reportcard p{font-size:12px;margin-block:5px}.crm-app .clinic-day-summary{font-size:12px;color:#627584}.crm-app .clinic-block{background:#fff8ec;border-color:#f4e5c6;font-size:12px;color:#876c43;border-radius:11px;padding:14px}.crm-app .clinic-block p{margin-block:7px}.crm-app .clinic-block .btn{font-size:12px;min-height:29px;padding:5px 10px}
.clinic-dialog{border:1px solid #e6edf3;border-radius:20px;width:min(840px,calc(100vw - 32px));max-height:92dvh;padding:26px 28px;box-shadow:0 18px 90px -20px rgb(33 55 76 / 35%);font:14px/1.6 'Garet',sans-serif;color:#536c7c;scrollbar-width:thin;scrollbar-color:#d6e2ea transparent}.clinic-dialog::backdrop{background:rgb(29 52 69 / 35%);backdrop-filter:blur(5px)}.clinic-dialog-head{position:sticky;top:-26px;background:rgb(255 255 255 / 98%);z-index:3;padding:0 0 18px;align-items:center;border-bottom:1px solid #edf1f5;margin-bottom:24px}.clinic-dialog-head h2{font:750 21px/1.3 'Garet',sans-serif;letter-spacing:-.7px;margin:0;color:#39596b}.clinic-dialog-head>.btn{font-size:12px;min-height:33px;color:#627584;border-color:#e9eff4}.clinic-dialog .field,.clinic-dialog .selectfield{font-size:13px;min-height:43px;border:1px solid #dfe8ef;border-radius:9px;padding:11px 12px;background:white;color:#547080}.clinic-dialog .formgrid{gap:18px;grid-template-columns:1fr 1fr}.clinic-dialog label{font-size:12px;color:#627584;font-weight:600;gap:8px}.clinic-dialog textarea.field{font-size:14px;line-height:1.9;min-height:90px;font-weight:400}.clinic-dialog .formgrid>button[type=submit]{position:sticky;bottom:-8px;z-index:2;background:linear-gradient(135deg,#87ddd4,#72cbc0);border:1px solid #76cec4;color:#2c615c;box-shadow:0 -8px 20px 8px #ffffffdd,0 8px 20px -15px #4f9d8d80;min-height:45px;font-size:13px}.clinic-dialog .formgrid>.clinic-submit-note:empty{display:none}.clinic-dialog .footnote,.clinic-dialog .muted{font-size:12px;color:#627584}.clinic-dialog details{border-color:#e7eef4;padding-top:14px;margin-top:14px}.clinic-dialog summary{font-size:12px;color:#627584;min-height:36px}.clinic-dialog details[open]>summary{color:#4d7c70}.clinic-dialog .clinic-data{gap:10px}.clinic-dialog .clinic-data>div{background:#f7fafc;padding:12px;border:1px solid #edf2f6;border-radius:9px}.clinic-dialog dt{font-size:12px;color:#627584}.clinic-dialog dd{font-size:12px;color:#627584}.clinic-dialog .toolbar{flex-wrap:wrap;gap:8px}.clinic-dialog .crm-patient-identity{display:flex;align-items:center;gap:16px;padding:8px 0 24px}.crm-patient-identity .crm-avatar{width:64px;height:64px;border-radius:18px;font-size:19px}.crm-patient-identity strong{font-size:19px;letter-spacing:-.4px;color:#466b7c}.crm-patient-identity p{font-size:12px;margin:5px 0 0;color:#627584}.crm-patient-actions{padding-bottom:16px}.clinic-dialog .clinic-intake-review{background:#fffbf1;border-color:#f0e5c7;border-radius:13px;padding:18px}.clinic-dialog .clinic-history{font-size:12px}.clinic-dialog .clinic-history p{font-size:12px;color:#627584}
.clinic-dialog.crm-spotlight{width:min(640px,calc(100vw - 28px));margin-top:10vh}.crm-spotlight-input{display:flex!important;align-items:center;gap:14px;border:1px solid #daebe7;background:#f5fbf9;border-radius:12px;padding:0 16px}.crm-spotlight-input>.crm-icon{color:#4d7c70}.crm-spotlight-input input.field{border:0;background:none;font-size:14px;padding:15px 0;outline:none}.crm-search-note{font-size:12px;color:#627584;margin:20px 0 8px}.crm-spotlight-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eff3f6}.crm-spotlight-row>div{flex:1}.crm-spotlight-row small{display:block;font-size:12px;color:#627584;margin-top:3px}.crm-spotlight-row .btn{font-size:12px;min-height:32px}.crm-spotlight-footer{display:flex;justify-content:space-between;gap:14px;margin-top:20px}
.crm-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.crm-blog-card{border:1px solid #e5edf3;overflow:hidden;border-radius:15px;background:white;box-shadow:var(--crm-shadow)}.crm-blog-card>img{width:100%;height:180px;object-fit:cover;display:block}.crm-blog-placeholder{height:150px;background:linear-gradient(135deg,#e0f4ef,#dfebf8);display:grid;place-items:center;color:#4d7c70}.crm-blog-placeholder>.crm-icon{width:44px;height:44px;stroke-width:1.1}.crm-blog-card>div:last-child{padding:20px}.crm-blog-card h3{font-size:15px;line-height:1.5;margin:14px 0 10px;color:#587585}.crm-blog-card p{font-size:12px;color:#627584}.crm-blog-card small{font-size:12px;color:#627584}.crm-blog-card .toolbar{margin-top:18px;gap:7px;flex-wrap:wrap}.crm-blog-card .btn{font-size:12px;min-height:31px}.crm-app .tag[class].crm-blog-status-draft{background:#eef2f7;color:#627584}.crm-app .tag[class].crm-blog-status-scheduled{background:#fff2db;color:#876c43}.crm-app .tag[class].crm-blog-status-published{background:#e7f7ef;color:#4d7c70}.crm-app .tag[class].crm-blog-status-archived{background:#f3edf5;color:#7a6a9b}
.clinic-dialog.crm-blog-dialog{width:min(1180px,calc(100vw - 32px))}.crm-blog-editor{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:30px}.crm-blog-editor>form{align-content:start;min-width:0}.crm-blog-preview{position:sticky;top:56px;align-self:start;background:#f8fafc;border:1px solid #e8eff5;border-radius:14px;padding:24px;max-height:70dvh;overflow:auto;scrollbar-width:thin}.crm-blog-preview [data-blog-preview]>img{width:100%;max-height:180px;object-fit:cover;border-radius:10px;display:block;margin-bottom:20px}.crm-blog-preview h2{font:26px/1.2 'Higuen',serif;color:#416774;margin:15px 0}.crm-blog-preview .crm-preview-excerpt{font-size:12px;color:#627584;line-height:1.8}.crm-blog-preview small{font-size:12px;color:#627584}.crm-preview-content{font-size:12px;line-height:1.9;color:#627584;margin-top:20px;overflow-wrap:anywhere}.crm-preview-content h2{font-size:21px}.crm-preview-content p,.crm-preview-content ul{margin:15px 0}.crm-writing-toolbar{display:flex;gap:7px}.crm-writing-toolbar .btn{font-size:12px;min-height:30px;padding:6px 12px}.crm-writing-area{min-height:300px!important}.crm-publication-note{font-size:12px;background:#eff9f5;color:#4d7c70;padding:12px;border:1px solid #dfeee8;border-radius:9px;margin:0}
@media(min-width:901px){body.clinic-active:has(.crm-app){overflow:hidden}}
@media(min-width:1450px){.crm-dashboard-columns{grid-template-columns:minmax(0,1fr) 350px}.crm-page-content{padding:30px 38px}.crm-topbar{padding-inline:38px}.crm-metric{padding:24px}}
@media(max-width:1250px){.crm-app{grid-template-columns:210px minmax(0,1fr)}.crm-app .crm-sidebar{padding-inline:10px}.crm-topbar{padding:18px 22px}.crm-page-content{padding:22px}.crm-search-launch>span,.crm-search-launch>kbd{display:none}.crm-search-launch{padding:11px}.crm-dashboard-columns{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.crm-metrics{gap:10px}.crm-metric{padding:16px 12px;gap:10px}.crm-metric-icon{width:36px;height:36px;border-radius:11px}.crm-metric small{font-size:12px}.crm-appointment-row{flex-wrap:wrap;gap:10px}.crm-appointment-row>.crm-row-actions{margin-left:auto}.crm-appointment-row>.tag{margin-left:auto}.crm-report-grid,.crm-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-table td,.crm-table th{padding-inline:8px}}
@media(max-width:1000px){.crm-dashboard-columns{grid-template-columns:1fr}.crm-task-column{display:grid;grid-template-columns:1fr 1fr;gap:16px}.crm-desk-art{margin-right:0;width:170px}.crm-metric-icon{width:32px;height:32px}.crm-metric strong{font-size:25px}.crm-topbar .crm-breadcrumb{display:none}.crm-app .crm-topbar h1{font-size:22px}.crm-topbar{min-height:82px}.crm-blog-editor{grid-template-columns:1fr}.crm-blog-preview{position:relative;top:auto;max-height:none}}
@media(max-width:900px){.crm-app{display:block;min-height:100dvh}.crm-app .crm-sidebar{position:relative;height:auto;width:auto;padding:14px 20px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;border-right:0;border-bottom:1px solid #e7eef5;overflow:visible}.crm-brand{padding:0;gap:7px}.crm-brand>span{font-size:23px}.crm-brand small{font-size:12px}.crm-brand img{width:32px;height:32px}.crm-app .crm-sidebar>nav,.crm-sidebar-bottom{display:none}.crm-app .clinic-mobile-nav{display:block!important;grid-column:auto;color:#627584;font-size:0!important}.crm-app .clinic-mobile-nav select{font-size:12px;background:#f8fafc;color:#627584;min-height:39px;padding:8px 12px;border-color:#e3ebf2}.crm-app .mainarea{height:auto;overflow:visible;min-height:80dvh}.crm-topbar{top:0;padding:16px 20px;gap:12px}.crm-top-actions{gap:6px}.crm-top-actions>.btn{font-size:12px;padding:9px 11px;min-height:36px}.crm-top-actions>.crm-icon-button{display:none}.crm-search-launch{min-height:36px;padding:9px}.crm-page-content{padding:18px 20px 35px}.crm-welcome{min-height:170px;padding:22px}.crm-welcome h2{font-size:25px}.crm-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-metric{flex-direction:column;align-items:flex-start;gap:12px}.crm-metric strong{font-size:28px}.crm-metric p{font-size:12px}.crm-metric small{font-size:12px}}
@media(max-width:600px){.crm-app .crm-sidebar{padding:12px 14px;grid-template-columns:145px minmax(0,1fr);gap:10px}.crm-topbar{padding:14px;min-height:72px}.crm-app .crm-topbar h1{font-size:20px;letter-spacing:-.5px}.crm-top-actions>.btn{font-size:12px;padding:8px 11px}.crm-page-content{padding:16px 12px 40px}.crm-welcome{padding:22px 18px;min-height:0;margin-bottom:16px;border-radius:16px}.crm-welcome h2{font-size:23px;max-width:240px}.crm-welcome p:not(.crm-overline){font-size:12px;max-width:225px}.crm-desk-art{display:none}.crm-quick-actions{gap:6px}.crm-quick-actions .btn{font-size:12px;padding:7px 10px;min-height:34px}.crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.crm-metric{flex-direction:row;gap:12px;padding:15px 12px;border-radius:13px}.crm-metric-icon{width:35px;height:38px}.crm-metric strong{font-size:26px}.crm-metric p{font-size:12px}.crm-metric small{font-size:12px}.crm-app .panel{padding:18px 14px;border-radius:15px;margin-bottom:16px}.crm-app .panelhead h3{font-size:15px}.crm-app .panelhead .btn{font-size:12px;min-height:32px;padding:6px 10px}.crm-task-column{display:block}.crm-appointment-row{gap:9px;padding:17px 0}.crm-appointment-time{width:53px}.crm-appointment-time strong{font-size:12px}.crm-appointment-time small{font-size:12px}.crm-appointment-row>.crm-avatar{width:30px;height:30px;font-size:12px;border-radius:10px}.crm-appointment-person{min-width:120px}.crm-appointment-person .crm-text-button{font-size:12px}.crm-appointment-person small{font-size:12px}.crm-appointment-row>.tag{margin-left:62px}.crm-appointment-row>.crm-row-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-start}.crm-row-actions .btn{font-size:12px;min-height:30px;padding:6px 8px}.crm-table,.crm-table tbody{display:block;width:100%}.crm-table thead{display:none}.crm-table tr{display:grid;grid-template-columns:1fr 1fr;padding:16px 0;border-bottom:1px solid #edf2f6;gap:8px 12px}.crm-table td{display:block;border:0;padding:0;font-size:12px;min-width:0}.crm-table td:first-child{grid-column:1/-1;margin-bottom:8px}.crm-table td::before{content:attr(data-label);display:block;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#627584;margin-bottom:3px}.crm-table td:empty{display:none}.crm-table td.crm-row-actions{display:flex;text-align:left;grid-column:1/-1;justify-content:flex-start;margin-top:6px}.crm-table td.crm-row-actions::before,.crm-table td:first-child::before{display:none}.crm-table td small{font-size:12px}.crm-live-search{padding-inline:12px}.crm-live-search input{font-size:12px}.crm-filter-chips{gap:5px}.crm-filter-chips button{font-size:12px;padding:6px 10px}.crm-report-grid,.crm-blog-grid{grid-template-columns:1fr}.crm-report-card{padding:18px}.crm-empty-state{padding:34px 12px}.crm-app .clinic-calendar{padding:16px 12px!important}.crm-app .clinic-calendar-nav{gap:6px;flex-wrap:wrap}.crm-app .clinic-calendar-nav>div{margin-left:0}.crm-app .clinic-calendar>form.formgrid{padding:12px;gap:12px}.crm-app .clinic-calendar .field,.crm-app .clinic-calendar .selectfield{font-size:16px}.crm-app .clinic-month-day{padding:5px;min-height:100px}.crm-app .clinic-date{font-size:12px}.crm-app .clinic-day-count{font-size:12px}.crm-app .clinic-month-day>.btn{font-size:12px;min-height:25px!important}.crm-app .clinic-weekday{font-size:12px;padding:8px 0}.crm-app .clinic-time-content{padding:8px}.crm-app .clinic-hour{font-size:12px}.crm-app .clinic-slot-actions .btn{font-size:12px;min-height:29px;padding:6px 8px}.clinic-dialog{padding:20px 16px;width:calc(100vw - 16px);max-height:94dvh;border-radius:16px}.clinic-dialog-head{top:-20px;padding-bottom:14px}.clinic-dialog-head h2{font-size:19px}.clinic-dialog .formgrid{grid-template-columns:1fr;gap:15px}.clinic-dialog .field,.clinic-dialog .selectfield,.clinic-dialog textarea.field{font-size:16px;min-height:45px}.clinic-dialog label{font-size:12px}.clinic-dialog .formgrid>button[type=submit]{bottom:-10px}.clinic-dialog .crm-patient-identity{align-items:flex-start;gap:12px}.crm-patient-identity .crm-avatar{width:48px;height:48px;font-size:15px;border-radius:14px}.crm-patient-identity strong{font-size:16px}.crm-patient-identity p{font-size:12px}.crm-spotlight-row{gap:9px}.crm-spotlight-row .crm-avatar{width:30px;height:30px;font-size:12px}.crm-spotlight-row .crm-text-button{font-size:12px}.crm-spotlight-row small{font-size:12px}.crm-spotlight-row .btn{font-size:12px;padding:6px 9px}.crm-spotlight-footer .btn{font-size:12px}.crm-blog-preview{padding:20px}.crm-writing-area{min-height:260px!important}}
@media(prefers-reduced-motion:reduce){.crm-app *,.clinic-dialog *{scroll-behavior:auto!important;transition:none!important}.crm-metric:hover,.crm-app .btn:hover,.clinic-dialog .btn:hover{transform:none}}

.crm-brand small{font-size:8px}.crm-nav-label,.crm-overline{font-size:10px}.crm-art-note{font-size:10px}.crm-art-calendar>span{font-size:9px}

.crm-app .crm-top-actions>.btn{background:linear-gradient(135deg,#87ddd4,#74ccc4);border-color:#79d0c7;color:#24524f}.crm-metric{text-align:left;font-family:inherit}.crm-page-content>.clinic-feedback:not(:empty){position:fixed;top:auto;bottom:22px;right:26px;max-width:min(440px,calc(100vw - 28px));z-index:30;margin:0;pointer-events:none}.crm-page-content>.clinic-feedback.error{background:#fff0f0;border-color:#ebc7c7;color:#a14949}

.clinic-dialog [hidden]{display:none!important}.crm-app .crm-appointment-row .crm-appointment-person{min-width:0}.crm-app .crm-appointment-row .crm-row-actions{flex-wrap:wrap}.crm-app .crm-appointment-row .crm-state{white-space:normal}.crm-app .crm-search-launch{white-space:nowrap}

.crm-mobile-logout{display:none}.crm-blog-dialog .clinic-dialog-head>[data-p=blog-preview]{display:none}.crm-blog-dialog .clinic-dialog-head h2{margin-right:auto}
@media(max-width:1000px){.crm-blog-dialog .clinic-dialog-head>[data-p=blog-preview]{display:inline-flex;order:1}.crm-blog-dialog .clinic-dialog-head>[data-p=close]{order:2}.crm-blog-dialog .crm-blog-preview{display:none}.crm-blog-dialog.is-previewing .crm-blog-editor>form{display:none}.crm-blog-dialog.is-previewing .crm-blog-preview{display:block}}
@media(max-width:900px){.crm-app .crm-top-actions>.crm-mobile-logout{display:inline-grid;width:30px;height:34px;padding:6px}}
