:root{--fhc-navy:#0b1f33;--fhc-blue:var(--fhc-brand,#3f6de8);--fhc-gold:#e0ae39;--fhc-bg:#f4f7fb;--fhc-text:#172133;--fhc-muted:#64748b;--fhc-line:#e2e8f0}
body.page-id-0{}
body:has(.fhc-app){background:var(--fhc-bg)}
body:has(.fhc-app) .site-header,body:has(.fhc-app) .site-footer{display:none}
.fhc-app{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--fhc-text);max-width:1400px;margin:0 auto;min-height:100vh}
.fhc-header{background:var(--fhc-navy);color:var(--fhc-on-brand,#fff);padding:22px 30px;display:flex;align-items:center;justify-content:space-between;border-radius:0 0 22px 22px}
.fhc-header span{font-size:12px;text-transform:uppercase;letter-spacing:.16em;color:var(--fhc-on-brand,#fff);opacity:.72}
.fhc-header h1{color:var(--fhc-on-brand,#fff);font-size:24px;margin:3px 0 0}
.fhc-header a{color:var(--fhc-on-brand,#fff);text-decoration:none;border:1px solid currentColor;padding:8px 14px;border-radius:10px;opacity:.9}
.fhc-nav{display:flex;gap:6px;overflow:auto;padding:14px 18px;background:#fff;margin:18px 18px 0;border-radius:15px;box-shadow:0 6px 22px #2135470d}
.fhc-nav a{white-space:nowrap;color:var(--fhc-muted);text-decoration:none;font-weight:700;padding:10px 15px;border-radius:10px}
.fhc-nav a.active{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:var(--fhc-blue)}
.fhc-main{padding:22px 18px 50px}
.fhc-title{display:flex;align-items:end;justify-content:space-between;margin:6px 0 20px}
.fhc-title p{color:var(--fhc-muted);margin:0;text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:.12em}
.fhc-title h2{font-size:30px;margin:2px 0 0}
.fhc-title button,.fhc-primary{background:var(--fhc-blue);border:0;color:var(--fhc-on-brand,#fff);border-radius:11px;font-weight:800;padding:12px 17px;cursor:pointer}
.fhc-actions,.fhc-report-actions{display:flex;align-items:center;gap:8px}
.fhc-secondary{display:inline-flex;align-items:center;background:#fff!important;color:var(--fhc-navy)!important;border:1px solid #cbd5e1!important;border-radius:10px!important;font-weight:800;text-decoration:none;padding:10px 13px!important;cursor:pointer;font-size:13px;white-space:nowrap}
.fhc-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.fhc-metrics article,.fhc-card{background:#fff;border:1px solid var(--fhc-line);border-radius:16px;padding:20px;box-shadow:0 7px 25px #2135470a}
.fhc-metrics span{display:block;color:var(--fhc-muted);font-weight:700;margin-bottom:9px}
.fhc-metrics strong{font-size:25px;color:var(--fhc-navy)}
.fhc-card h3{margin-top:0}
.fhc-table{overflow-x:auto}
.fhc-table table{width:100%;border-collapse:collapse;min-width:670px}
.fhc-table th,.fhc-table td{padding:13px 10px;text-align:left;border-bottom:1px solid var(--fhc-line);font-size:14px}
.fhc-table th{color:var(--fhc-muted);font-size:12px;text-transform:uppercase}
.fhc-status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#fff6df;color:#8a5b00;font-size:12px;font-weight:800}
.fhc-status.pending{background:#fff6df;color:#8a5b00}
.fhc-status.confirmed{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}
.fhc-status.completed{background:#e9f9ef;color:#1c7842}
.fhc-status.cancelled{background:#feecec;color:#a52b2b}
.fhc-status-legend{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.fhc-status-form{margin:0;min-width:122px}
.fhc-status-select{width:100%;min-height:36px;padding:6px 27px 6px 10px;border:0;border-radius:999px;font-size:12px;font-weight:800;cursor:pointer}
.fhc-status-select.pending{background:#fff6df;color:#8a5b00}.fhc-status-select.confirmed{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-status-select.completed{background:#e9f9ef;color:#1c7842}.fhc-status-select.cancelled{background:#feecec;color:#a52b2b}
.fhc-delete{color:#b42318;text-decoration:none;font-size:12px}
.fhc-alert{background:#e9f9ef;color:#17683a;padding:12px 15px;border-radius:10px;margin-bottom:15px}
.fhc-switcher{display:flex;align-items:center;gap:10px;margin:16px 18px 0;font-size:13px}
.fhc-switcher select{min-height:38px;border:1px solid var(--fhc-line);border-radius:9px;background:#fff;padding:5px 30px 5px 10px}
.fhc-modal{border:0;border-radius:18px;padding:0;max-width:570px;width:calc(100% - 28px);box-shadow:0 25px 80px #0004}
.fhc-modal::backdrop{background:#08131fbb}
.fhc-form{padding:27px}
.fhc-form h3{font-size:23px;margin:0 0 19px}
.fhc-form label{display:block;font-size:13px;font-weight:800;margin:13px 0;color:#344054}
.fhc-form input,.fhc-form select,.fhc-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #cbd5e1;border-radius:9px;padding:10px;background:#fff}
.fhc-form textarea{min-height:75px}
.fhc-form label>small{display:block;margin-top:6px;color:#64748b;font-size:11px;font-weight:650;line-height:1.4}
.fhc-customer-search{border-color:#c4b5fd!important;background:#faf7ff!important}
.fhc-one-time-fields{margin:12px 0;padding:14px;border:1px solid #ddd6fe;border-radius:12px;background:#faf7ff}
.fhc-one-time-fields[hidden]{display:none}.fhc-one-time-fields .fhc-form-row label{margin-top:0}.fhc-one-time-fields>p{margin:4px 0 0;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:12px;font-weight:750}
.fhc-one-time-badge{display:block;width:max-content;margin-top:6px;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:10px;font-weight:900;white-space:nowrap}
.fhc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fhc-close{position:absolute;right:16px;top:13px;border:0;background:none;font-size:29px;color:#64748b}
.fhc-login{max-width:430px;margin:70px auto;padding:30px;background:#fff;border-radius:18px;box-shadow:0 18px 50px #0002}
.fhc-login input{width:100%;box-sizing:border-box;padding:10px}
.fhc-login .button{background:var(--fhc-blue);color:#fff;border:0;padding:11px 18px;border-radius:9px}
@media(max-width:760px){.fhc-header{padding:18px}
.fhc-header h1{font-size:19px}
.fhc-metrics{grid-template-columns:1fr 1fr}
.fhc-title{align-items:center;gap:12px;flex-wrap:wrap}
.fhc-title h2{font-size:25px}
.fhc-title button{font-size:12px;padding:10px}
.fhc-actions{flex-wrap:wrap}
.fhc-form-row{grid-template-columns:1fr}
}
@media(max-width:420px){.fhc-metrics{grid-template-columns:1fr}
.fhc-nav{margin-left:10px;margin-right:10px}
.fhc-main{padding-left:10px;padding-right:10px}
.fhc-secondary{font-size:12px;padding:8px!important}
}
@media print{body{background:#fff!important}
.fhc-header,.fhc-nav,.fhc-switcher,.fhc-actions,.fhc-report-actions,.fhc-alert,.fhc-delete{display:none!important}
.fhc-app{max-width:none}
.fhc-main{padding:0}
.fhc-title{display:block;margin:0 0 16px}
.fhc-card,.fhc-metrics article{box-shadow:none;border-color:#aaa;break-inside:avoid}
.fhc-table{overflow:visible}
.fhc-table table{min-width:0}
.fhc-table th,.fhc-table td{font-size:10px;padding:7px 5px}
.fhc-metrics{grid-template-columns:repeat(4,1fr)}
@page{size:auto;margin:14mm}
}

.fhc-date-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid var(--fhc-line);padding:14px;border-radius:14px;margin:-6px 0 18px}
.fhc-date-filter label{font-size:12px;font-weight:800;color:var(--fhc-muted)}
.fhc-date-filter input,.fhc-date-filter select{display:block;margin-top:5px;border:1px solid #cbd5e1;border-radius:8px;padding:8px;background:#fff;min-height:38px}
.fhc-date-filter button{background:var(--fhc-navy);color:#fff;border:0;border-radius:9px;padding:11px 15px;font-weight:800}
@media(max-width:520px){.fhc-date-filter label{width:calc(50% - 5px)}
.fhc-date-filter label:first-child{width:100%}
.fhc-date-filter input,.fhc-date-filter select{width:100%;box-sizing:border-box}
}
@media print{.fhc-date-filter{border:0;padding:0;margin:0 0 14px}
.fhc-date-filter select,.fhc-date-filter input,.fhc-date-filter button{display:none}
.fhc-date-filter label{font-size:10px}
}

.fhc-frequency{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef4ff;color:#315c9c;font-size:12px;font-weight:800}
.fhc-edit{border:0;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);border-radius:7px;padding:6px 8px;font-size:12px;font-weight:800;cursor:pointer}
.fhc-appointment-time{display:block}.fhc-edit-time{display:block;margin-top:7px;white-space:nowrap}.fhc-quick-edit-modal .fhc-edit-appointment-name{margin:-5px 0 18px;padding:10px 12px;border-radius:10px;background:#eef4fa;color:#40536a;font-size:13px;font-weight:800}
@media(max-width:620px){.fhc-quick-edit-modal .fhc-form-row{grid-template-columns:1fr}.fhc-quick-edit-modal .fhc-primary{width:100%}}

.fhc-monthly-total{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(135deg,#0b1f33,#123b61);color:#fff;border-radius:16px;padding:19px 22px;margin:0 0 18px}
.fhc-monthly-total span{font-weight:800}
.fhc-monthly-total strong{font-size:27px;margin-left:auto;color:#fff}
.fhc-monthly-total small{width:100%;color:#c8d8e8}
.fhc-monthly-value{color:#18864b}
@media(max-width:520px){.fhc-monthly-total strong{width:100%;margin-left:0}
}

.fhc-crm-page #masthead,.fhc-crm-page #colophon,.fhc-crm-page .site-header,.fhc-crm-page .site-footer,.fhc-crm-page .entry-header,.fhc-crm-page .page-title,.fhc-crm-page .post-navigation{display:none!important}
.fhc-crm-page,.fhc-crm-page #page,.fhc-crm-page .site,.fhc-crm-page .site-main,.fhc-crm-page .content-area,.fhc-crm-page .content-container,.fhc-crm-page .site-container,.fhc-crm-page .content-wrap,.fhc-crm-page .entry-content-wrap,.fhc-crm-page .entry-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important;background:transparent!important;box-shadow:none!important}
.fhc-crm-page{background:#f3f7fb!important}
.fhc-login-page{min-height:100vh;min-height:100svh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.fhc-login-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:54px 64px;color:#fff;background:linear-gradient(145deg,#071827 0%,#0b2b49 56%,#134b78 100%)}
.fhc-login-brand:before,.fhc-login-brand:after{content:"";position:absolute;border-radius:50%;border:1px solid #ffffff15}
.fhc-login-brand:before{width:470px;height:470px;right:-190px;top:-170px}
.fhc-login-brand:after{width:330px;height:330px;left:-160px;bottom:-150px}
.fhc-brand-logo{position:relative;z-index:1;display:flex;align-items:center;gap:13px}
.fhc-brand-logo span{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:linear-gradient(135deg,#e4bc5b,#c38b18);color:#071827;font-weight:900;letter-spacing:-.05em}
.fhc-brand-logo strong{color:#fff;font-size:18px;letter-spacing:.02em}
.fhc-brand-copy{position:relative;z-index:1;max-width:590px;margin:50px 0}
.fhc-eyebrow{display:inline-block;color:#9bcfff;font-size:11px;font-weight:900;letter-spacing:.18em;margin-bottom:18px}
.fhc-brand-copy h1{color:#fff;font-size:clamp(38px,4.3vw,64px);line-height:1.05;letter-spacing:-.045em;margin:0 0 24px}
.fhc-brand-copy p{max-width:535px;color:#cfdeeb;font-size:18px;line-height:1.65;margin:0 0 27px}
.fhc-brand-copy ul{list-style:none;margin:0;padding:0;display:grid;gap:13px;color:#fff1f5}
.fhc-brand-copy li{display:flex;align-items:center;gap:11px;font-weight:650}
.fhc-brand-copy li span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffffff15;color:#efc75f;font-size:13px}
.fhc-login-brand>small{position:relative;z-index:1;color:#91aac0;letter-spacing:.08em}
.fhc-login-panel{display:grid;place-items:center;padding:46px;background:linear-gradient(150deg,#f8fbfd,#eaf1f7)}
.fhc-login-card{width:100%;max-width:455px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:42px;box-shadow:0 24px 70px #0b1f3317}
.fhc-secure{display:inline-flex;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);border-radius:999px;padding:7px 11px;font-size:10px;font-weight:900;letter-spacing:.14em}
.fhc-login-card h2{color:#0b1f33;font-size:36px;line-height:1.1;letter-spacing:-.03em;margin:19px 0 8px}
.fhc-login-card>p{color:#64748b;font-size:15px;margin:0 0 28px}
.fhc-login-error{margin:0 0 20px;padding:13px 15px;border:1px solid #fecaca;border-radius:11px;background:#fff1f2;color:#9f1239;font-size:14px;font-weight:750;line-height:1.45}
.fhc-customer-state{display:block;width:max-content;margin-top:7px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;line-height:1.2;white-space:nowrap}
.fhc-customer-state.active{background:#dcfce7;color:#166534}.fhc-customer-state.inactive{background:#f1f5f9;color:#64748b}
.fhc-customer-inactive{opacity:.68;background:#f8fafc}.fhc-customer-inactive .fhc-monthly-value{color:#64748b}
.fhc-login-card #loginform{margin:0}
.fhc-login-card #loginform p{margin:0 0 18px}
.fhc-login-card #loginform label{display:block;color:#344054;font-size:13px;font-weight:800}
.fhc-login-card #loginform .input{display:block;width:100%;height:52px;box-sizing:border-box;margin-top:7px;padding:10px 13px;border:1px solid #cbd5e1;border-radius:11px;background:#fbfdff;color:#172133;font-size:16px;outline:none;transition:.2s}
.fhc-login-card #loginform .input:focus{border-color:var(--fhc-brand,#3f6de8);box-shadow:0 0 0 4px var(--fhc-brand,#3f6de8)19;background:#fff}
.fhc-login-card .login-remember label{display:flex!important;align-items:center;gap:9px;font-weight:650!important}
.fhc-login-card .login-remember input{width:19px;height:19px;margin:0;accent-color:var(--fhc-brand,#3f6de8)}
.fhc-login-card .login-submit{margin-top:24px!important}
.fhc-login-card #wp-submit{width:100%;min-height:52px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black));color:#fff;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 9px 24px var(--fhc-brand,#3f6de8)2c}
.fhc-forgot{display:block;text-align:center;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:13px;font-weight:750;text-decoration:none;margin-top:19px}
.fhc-login-help{border-top:1px solid #e8edf3;margin-top:26px;padding-top:22px;text-align:center;color:#7b8a9d;font-size:12px}
@media(max-width:800px){.fhc-login-page{display:block}
.fhc-login-brand{min-height:330px;padding:30px 24px 86px}
.fhc-brand-copy{margin:45px 0 0}
.fhc-brand-copy h1{font-size:35px}
.fhc-brand-copy p{font-size:15px;line-height:1.5;margin-bottom:0}
.fhc-brand-copy ul,.fhc-login-brand>small{display:none}
.fhc-login-panel{display:block;padding:0 17px 42px;margin-top:-57px;position:relative;z-index:2;background:transparent}
.fhc-login-card{box-sizing:border-box;max-width:520px;margin:0 auto;padding:29px 24px;border-radius:21px}
.fhc-login-card h2{font-size:30px}
.fhc-login-card>p{margin-bottom:23px}
}
@media(max-width:380px){.fhc-login-brand{min-height:305px}
.fhc-brand-copy{margin-top:34px}
.fhc-brand-copy h1{font-size:30px}
.fhc-login-card{padding:25px 20px}
}

.fhc-header-actions{display:flex;align-items:center;gap:8px}
.fhc-profile-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}
.fhc-profile-summary{background:linear-gradient(145deg,#0b1f33,#164e7c);color:#fff;border-radius:17px;padding:29px 22px;text-align:center}
.fhc-profile-avatar{display:grid;place-items:center;width:82px;height:82px;margin:0 auto 16px;border-radius:50%;background:linear-gradient(135deg,#e4bc5b,#c38b18);color:#0b1f33;font-size:34px;font-weight:900}
.fhc-profile-summary h3{color:#fff;font-size:20px;margin:0 0 6px}
.fhc-profile-summary p{color:#c5d6e5;font-size:13px;overflow-wrap:anywhere;margin:0 0 16px}
.fhc-profile-summary span{display:inline-block;background:#ffffff16;border:1px solid #ffffff24;border-radius:999px;padding:6px 10px;font-size:11px}
.fhc-profile-form{padding:25px}
.fhc-profile-section{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #e2e8f0}
.fhc-profile-section h3{font-size:20px;margin:0 0 5px;color:#0b1f33}
.fhc-profile-section>p{font-size:13px;color:#64748b;margin:0 0 18px}
.fhc-profile-form label{display:block;color:#344054;font-size:13px;font-weight:800;margin:13px 0}
.fhc-profile-form input{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #cbd5e1;border-radius:9px;padding:11px;background:#fff;font-size:15px}
.fhc-profile-form input:focus{outline:none;border-color:var(--fhc-brand,#3f6de8);box-shadow:0 0 0 3px var(--fhc-brand,#3f6de8)18}
.fhc-business-logo-preview{display:flex;align-items:center;justify-content:center;width:160px;min-height:90px;margin:10px 0;padding:12px;border:1px solid #dbe4ee;border-radius:12px;background:#f8fafc}
.fhc-business-logo-preview img{display:block;max-width:100%;max-height:90px;width:auto;height:auto;object-fit:contain}
.fhc-profile-form .fhc-logo-remove{display:flex;align-items:center;gap:9px;margin-top:-3px;color:#9f2f2f}
.fhc-profile-form .fhc-logo-remove input{width:18px;height:18px;margin:0;flex:0 0 auto}
@media(max-width:720px){.fhc-header{align-items:flex-start;gap:15px}
.fhc-header-actions{flex-direction:column;align-items:stretch}
.fhc-header-actions a{text-align:center;padding:6px 10px;font-size:12px}
.fhc-profile-layout{grid-template-columns:1fr}
.fhc-profile-summary{padding:22px}
.fhc-profile-avatar{width:65px;height:65px;font-size:27px}
.fhc-profile-form{padding:20px}
}

.fhc-header-actions a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:112px;min-height:44px}
.fhc-nav{scrollbar-width:none}
.fhc-nav::-webkit-scrollbar{display:none}
@media(max-width:620px){.fhc-date-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:13px 12px;padding:18px}
.fhc-date-filter label,.fhc-date-filter label:first-child{width:auto;min-width:0;margin:0}
.fhc-date-filter input,.fhc-date-filter select,.fhc-date-filter button{display:block;width:100%;max-width:100%;min-width:0;height:50px;min-height:50px;box-sizing:border-box;margin:5px 0 0;padding:8px 10px}
.fhc-date-filter button{margin:0}
.fhc-header-actions a{width:112px;height:46px;min-height:46px}
}
@media(max-width:365px){.fhc-date-filter{grid-template-columns:minmax(0,1fr)}
.fhc-header{display:block}
.fhc-header-actions{margin-top:15px;flex-direction:row}
.fhc-header-actions a{width:auto;flex:1}
}

/* Ajuste móvil 0.11: cuatro controles idénticos sin ancho intrínseco de Safari. */
@media(max-width:620px){
  .fhc-date-filter{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:86px;align-items:stretch;gap:12px;padding:18px}
  .fhc-date-filter>label,.fhc-date-filter>button{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  .fhc-date-filter>label{display:flex;flex-direction:column;overflow:hidden}
  .fhc-date-filter input[type="date"],.fhc-date-filter select{flex:1 1 auto;inline-size:100%!important;min-inline-size:0!important;max-inline-size:100%!important;height:54px!important;min-height:54px!important;margin-top:5px!important;box-sizing:border-box!important;font-size:16px}
  .fhc-date-filter>button{align-self:end;height:54px!important;min-height:54px!important;margin:0!important}
  .fhc-header-actions a{width:auto;min-width:82px;height:38px;min-height:38px;padding:6px 11px;font-size:12px}
}
@media(max-width:365px){.fhc-date-filter{grid-template-columns:1fr;grid-auto-rows:86px}}

/* Ajuste móvil 0.12: jerarquía compacta y controles reorganizados. */
@media(max-width:620px){
  .fhc-header{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;padding:20px;border-radius:0 0 24px 24px}
  .fhc-header-actions{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px}
  .fhc-header-actions a{width:auto;min-width:0;height:36px;min-height:36px;padding:6px 13px;font-size:12px;border-radius:999px}
  .fhc-date-filter{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"period period" "from to" "apply apply";grid-auto-rows:auto;align-items:end;gap:14px 10px;padding:17px;border-radius:16px}
  .fhc-date-filter>label:nth-of-type(1){grid-area:period}
  .fhc-date-filter>label:nth-of-type(2){grid-area:from}
  .fhc-date-filter>label:nth-of-type(3){grid-area:to}
  .fhc-date-filter>button{grid-area:apply}
  .fhc-date-filter>label{display:block;overflow:hidden;font-size:11px;letter-spacing:.02em}
  .fhc-date-filter input[type="date"],.fhc-date-filter select{display:block;inline-size:100%!important;min-inline-size:0!important;max-inline-size:100%!important;width:100%!important;height:46px!important;min-height:46px!important;margin-top:6px!important;padding:7px 10px!important;border-radius:10px;font-size:14px;background:#f9fbfd}
  .fhc-date-filter>button{width:100%!important;height:46px!important;min-height:46px!important;margin:0!important;border-radius:10px;font-size:13px;box-shadow:0 8px 18px #0b1f3320}
  .fhc-profile-form label small{display:block;margin-top:6px;color:#7b8a9d;font-size:11px;font-weight:500}
}
@media(max-width:365px){
  .fhc-date-filter{grid-template-columns:1fr;grid-template-areas:"period" "from" "to" "apply"}
}

/* Ajuste móvil 0.13: fechas completas y cabecera restaurada. */
@media(max-width:620px){
  .fhc-header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:15px;padding:18px;border-radius:0 0 22px 22px}
  .fhc-header-actions{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px}
  .fhc-header-actions a{width:112px;min-width:112px;height:46px;min-height:46px;padding:6px 10px;font-size:12px;border-radius:10px}
  .fhc-date-filter{grid-template-columns:minmax(0,1fr);grid-template-areas:"period" "from" "to" "apply";gap:13px;padding:17px}
  .fhc-date-filter>label{display:block;width:100%!important;overflow:visible}
  .fhc-date-filter input[type="date"],.fhc-date-filter select{inline-size:100%!important;width:100%!important;min-inline-size:0!important;max-inline-size:100%!important;height:46px!important;min-height:46px!important;box-sizing:border-box!important}
  .fhc-date-filter>button{width:100%!important;height:46px!important;min-height:46px!important}
}

/* Ajuste móvil 0.14: borde de fecha independiente del control nativo de iOS. */
.fhc-date-box{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #cbd5e1;border-radius:10px;background:#f9fbfd;overflow:hidden}
.fhc-date-box input[type="date"]{display:block;width:100%;max-width:100%;box-sizing:border-box;margin:0;border:0;background:transparent}
@media(max-width:620px){
  .fhc-header-actions a{width:88px;min-width:88px;height:38px;min-height:38px;padding:5px 9px;font-size:11px}
  .fhc-date-box{height:46px;min-height:46px}
  .fhc-date-box input[type="date"]{width:0!important;min-width:100%!important;max-width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:7px 10px!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:14px}
}

.fhc-share-pdf:disabled{opacity:.65;cursor:wait}
@media(max-width:520px){.fhc-report-actions{flex-wrap:wrap}.fhc-report-actions .fhc-secondary{justify-content:center;min-height:40px}}

.fhc-payment-address[readonly]{color:#475569;background:#f3f6f9;cursor:default}
.fhc-payment-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.fhc-payment-summary article{padding:18px;border:1px solid var(--fhc-line);border-radius:15px;background:#fff;box-shadow:0 8px 22px #1018280a}.fhc-payment-summary span,.fhc-payment-summary strong{display:block}.fhc-payment-summary span{color:#64748b;font-size:12px;font-weight:800}.fhc-payment-summary strong{margin-top:7px;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:25px}.fhc-weekly-payments{margin-bottom:18px}.fhc-weekly-payments>h3,.fhc-table>h3{margin:0;padding:20px 20px 5px}.fhc-weekly-payments td small{display:block;margin-top:5px;color:#64748b}.fhc-payment-state{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}.fhc-payment-state.pending{background:#fff7ed;color:#c2410c}.fhc-payment-state.partial{background:#fef3c7;color:#92400e}.fhc-payment-state.paid{background:#dcfce7;color:#166534}.fhc-register-service-payment{min-height:36px;padding:8px 11px!important;border-radius:9px!important;font-size:12px!important;white-space:nowrap}.fhc-paid-check{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#dcfce7;color:#15803d;font-weight:900}
.fhc-payment-service-client{margin:0 0 13px;padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:13px;font-weight:850}
@media(max-width:760px){.fhc-payment-summary{grid-template-columns:1fr 1fr}.fhc-weekly-payments>h3,.fhc-table>h3{padding:17px 15px 4px;font-size:17px}}
@media(max-width:520px){
  .fhc-report-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
  .fhc-report-actions .fhc-secondary{display:flex!important;align-items:center;justify-content:center;width:118px!important;min-width:118px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 9px!important;box-sizing:border-box!important;line-height:1!important;font-size:12px!important;border-radius:10px!important}
}

.fhc-preferred-day{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;background:#fff6df;color:#8a5b00;font-size:12px;font-weight:800;white-space:nowrap}
.fhc-preferred-day:before{content:"";width:7px;height:7px;border-radius:50%;background:#e0ae39}
.fhc-preferred-day.day-monday{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-preferred-day.day-monday:before{background:var(--fhc-brand,#3f6de8)}
.fhc-preferred-day.day-tuesday{background:#e6f8f5;color:#08796b}.fhc-preferred-day.day-tuesday:before{background:#14a38f}
.fhc-preferred-day.day-wednesday{background:#f1eaff;color:#6941c6}.fhc-preferred-day.day-wednesday:before{background:#8b5cf6}
.fhc-preferred-day.day-thursday{background:#fff0e5;color:#a44b12}.fhc-preferred-day.day-thursday:before{background:#f27a24}
.fhc-preferred-day.day-friday{background:#e9f9ef;color:#187743}.fhc-preferred-day.day-friday:before{background:#25a55f}
.fhc-preferred-day.day-saturday{background:#fdebf4;color:#a53870}.fhc-preferred-day.day-saturday:before{background:#db5b98}
.fhc-preferred-day.day-sunday{background:#feecec;color:#a52b2b}.fhc-preferred-day.day-sunday:before{background:#d94848}
.fhc-preferred-day.day-flexible{background:#eef1f5;color:#526173}.fhc-preferred-day.day-flexible:before{background:#7b8a9d}
.fhc-preferred-day.day-undefined{background:#fff6df;color:#8a5b00}.fhc-preferred-day.day-undefined:before{background:#e0ae39}
.fhc-day-group td{padding:10px 12px!important;background:#f4f7fb;color:#40536a;font-size:12px!important;font-weight:900;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--fhc-line)}
.fhc-day-group.day-monday td{border-left:5px solid var(--fhc-brand,#3f6de8)}.fhc-day-group.day-tuesday td{border-left:5px solid #14a38f}.fhc-day-group.day-wednesday td{border-left:5px solid #8b5cf6}.fhc-day-group.day-thursday td{border-left:5px solid #f27a24}.fhc-day-group.day-friday td{border-left:5px solid #25a55f}.fhc-day-group.day-saturday td{border-left:5px solid #db5b98}.fhc-day-group.day-sunday td{border-left:5px solid #d94848}.fhc-day-group.day-flexible td{border-left:5px solid #7b8a9d}.fhc-day-group.day-undefined td{border-left:5px solid #e0ae39}
.fhc-appointment-address[readonly]{color:#475569;background:#f3f6f9;cursor:default}
.fhc-calendar-card{padding:18px}
.fhc-calendar-toolbar{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:16px}
.fhc-calendar-toolbar h3{min-width:190px;margin:0;text-align:center;color:var(--fhc-navy);font-size:22px;text-transform:capitalize}
.fhc-calendar-toolbar a{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--fhc-line);border-radius:11px;background:#fff;color:var(--fhc-navy);text-decoration:none;font-size:27px;font-weight:700}
.fhc-calendar-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--fhc-line);border-radius:14px}
.fhc-calendar{display:grid;grid-template-columns:repeat(7,minmax(118px,1fr));min-width:826px;background:var(--fhc-line);gap:1px}
.fhc-calendar-weekday{padding:10px;background:#eef4fa;color:var(--fhc-muted);text-align:center;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.fhc-calendar-day{min-height:132px;padding:9px;background:#fff}
.fhc-calendar-day.is-empty{background:#f7f9fc}
.fhc-calendar-day.is-today{box-shadow:inset 0 0 0 2px var(--fhc-blue)}
.fhc-calendar-date{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}
.fhc-calendar-date strong{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:var(--fhc-navy);font-size:13px}
.fhc-calendar-day.is-today .fhc-calendar-date strong{background:var(--fhc-blue);color:#fff}
.fhc-calendar-date button{display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid var(--fhc-line);border-radius:7px;background:#f8fbfe;color:var(--fhc-blue);font-size:17px;cursor:pointer}
.fhc-calendar-event{display:block;width:100%;margin-top:5px;padding:7px;border:0;border-left:3px solid var(--fhc-blue);border-radius:7px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:#24415e;font-family:inherit;font-size:10px;line-height:1.25;text-align:left;cursor:pointer}
.fhc-calendar-event time,.fhc-calendar-event strong,.fhc-calendar-event span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fhc-calendar-event strong{font-size:11px;margin:2px 0}
.fhc-calendar-event .fhc-calendar-address{color:#183b5b;font-size:10px;font-weight:900}
.fhc-calendar-event em{display:block;overflow:hidden;margin-top:3px;color:#6b7c8f;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.fhc-calendar-event small{display:block;margin-top:4px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.fhc-calendar-event.pending{border-left-color:#e0ae39;background:#fff6df}
.fhc-calendar-event.confirmed{border-left-color:var(--fhc-brand,#3f6de8);background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white)}
.fhc-calendar-event.completed{border-left-color:#25a55f;background:#e9f9ef}
.fhc-calendar-event.cancelled{border-left-color:#d94848;background:#feecec}
@media(max-width:620px){.fhc-calendar-card{padding:12px}.fhc-calendar-toolbar h3{min-width:155px;font-size:18px}.fhc-calendar{grid-template-columns:repeat(7,104px);min-width:728px}.fhc-calendar-day{min-height:118px}}
.fhc-appointment-details{max-width:640px}.fhc-details-body{padding:26px}.fhc-appointment-details h3{margin:4px 45px 5px 0;color:var(--fhc-navy);font-size:28px}.fhc-details-address{margin:0 0 14px;color:#284b6b;font-size:16px;font-weight:850;line-height:1.45}.fhc-details-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.fhc-details-actions a,.fhc-details-photo{padding:9px 13px;border:0;border-radius:9px;background:var(--fhc-blue);color:#fff;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer}.fhc-details-photo{background:var(--fhc-navy)}.fhc-details-section{margin-top:14px;padding:17px;border:1px solid var(--fhc-line);border-radius:14px;background:#f9fbfd}.fhc-details-section h4{margin:0 0 13px;color:var(--fhc-navy);font-size:16px}.fhc-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fhc-details-grid div{min-width:0}.fhc-details-grid span,.fhc-details-notes>span{display:block;margin-bottom:4px;color:#738297;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.fhc-details-grid strong{display:block;overflow-wrap:anywhere;color:#25384c;font-size:13px}.fhc-details-notes{margin-top:14px;padding-top:13px;border-top:1px solid var(--fhc-line)}.fhc-details-notes p{margin:0;color:#40536a;font-size:13px;line-height:1.5;white-space:pre-wrap}
@media(max-width:620px){.fhc-details-body{padding:21px}.fhc-appointment-details h3{font-size:24px}.fhc-details-grid{grid-template-columns:1fr 1fr}.fhc-details-section{padding:14px}}

/* Portal privado del equipo */
.fhc-team-hero{display:flex;align-items:center;gap:18px;padding:24px;margin-bottom:16px;border-radius:18px;background:linear-gradient(135deg,#0b1f33,#123c60);color:#fff;box-shadow:0 14px 35px #0b1f3326}
.fhc-team-hero img,.fhc-team-monogram{width:70px;height:70px;border-radius:16px;object-fit:contain;background:#fff;padding:8px;box-sizing:border-box}
.fhc-team-monogram{display:grid;place-items:center;color:var(--fhc-blue);font-size:25px;font-weight:900}
.fhc-team-hero span{color:#9bc5e9;font-size:11px;font-weight:900;letter-spacing:.15em}.fhc-team-hero h3{margin:4px 0;color:#fff;font-size:25px}.fhc-team-hero p{margin:0;color:#d9e8f5}
.fhc-clock-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:20px 24px;border:1px solid var(--fhc-line);border-radius:17px;background:#fff;box-shadow:0 7px 25px #2135470a}
.fhc-clock-card h3{margin:3px 0;font-size:21px;color:var(--fhc-navy)}.fhc-clock-card p{margin:3px 0;color:var(--fhc-muted)}.fhc-clock-card form{margin:0}
.fhc-clock-card button{min-width:110px;padding:11px 18px;border:0;border-radius:11px;color:#fff;font-size:15px;font-weight:900;line-height:1.15;white-space:nowrap;cursor:pointer}.clock-in{background:#198754}.clock-out{background:#c93b3b}
.fhc-team-tabs{display:flex;gap:6px;margin-bottom:18px;padding:7px;overflow-x:auto;border:1px solid var(--fhc-line);border-radius:15px;background:#fff;box-shadow:0 7px 25px #2135470a}
.fhc-team-tabs button{flex:1;min-width:max-content;padding:11px 17px;border:0;border-radius:10px;background:transparent;color:var(--fhc-muted);font-weight:900;cursor:pointer}.fhc-team-tabs button.active{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:var(--fhc-blue)}
.fhc-team-panel{display:none}.fhc-team-panel.active{display:block}
.fhc-role-card{display:flex;align-items:center;gap:20px;margin-bottom:14px;padding:24px;border-radius:18px;background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black));color:#fff}.fhc-role-card.leader{background:linear-gradient(135deg,#0b1f33,#1f527c)}
.fhc-role-number{font-size:42px;font-weight:900;opacity:.3}.fhc-role-card h3{margin:2px 0 8px;color:#fff;font-size:29px}.fhc-role-card .fhc-eyebrow{color:#cfe6fb}.fhc-pay-pill{display:inline-flex;padding:6px 11px;border-radius:999px;background:#ffffff24;font-size:13px;font-weight:900}
.fhc-team-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.fhc-team-grid .fhc-card{margin:0}.fhc-team-grid h4,.fhc-responsibilities h4{margin:0 0 9px;color:var(--fhc-navy);font-size:17px}.fhc-team-grid p{margin:0;color:#526173;line-height:1.6}
.fhc-responsibilities ol{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;margin:0;padding-left:23px}.fhc-responsibilities li{padding-left:4px;color:#334155;line-height:1.5}.fhc-responsibilities li::marker{color:var(--fhc-blue);font-weight:900}
.fhc-team-principles{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.fhc-team-principles span{padding:7px 11px;border-radius:999px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:12px;font-weight:900}
.fhc-checklist-card{padding:24px;border:1px solid var(--fhc-line);border-radius:18px;background:#fff;box-shadow:0 7px 25px #2135470a}.fhc-checklist-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.fhc-checklist-heading h3{margin:3px 0;font-size:27px}.fhc-checklist-heading>span{padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:12px;font-weight:900}
.fhc-service-picker{display:block;margin-bottom:16px;color:#344054;font-size:13px;font-weight:900}.fhc-service-picker select{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}
.fhc-check-items{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.fhc-check-items label{cursor:pointer}.fhc-check-items input{position:absolute;opacity:0}.fhc-check-items span{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 12px;border:1px solid var(--fhc-line);border-radius:12px;background:#f8fafc;color:#334155;line-height:1.35}.fhc-check-items b{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:var(--fhc-blue);font-size:11px}.fhc-check-items input:checked+span{border-color:#48a875;background:#edf9f1;color:#17683a}.fhc-check-items input:checked+span b{background:#198754;color:#fff}.fhc-checklist-card>small{display:block;margin-top:10px;color:var(--fhc-muted)}
.fhc-team-history{margin-top:15px}.fhc-open-shift{display:inline-block;padding:5px 8px;border-radius:999px;background:#fff6df;color:#8a5b00;font-size:11px;font-weight:900}.fhc-review-done{color:#198754;font-weight:900}
.fhc-team-settings{margin-top:18px}.fhc-team-settings summary{cursor:pointer;color:var(--fhc-navy);font-weight:900}.fhc-team-editor{padding:18px 0 0}.fhc-team-editor textarea{min-height:95px}.fhc-team-editor .fhc-large-textarea{min-height:210px}.fhc-employee-access{margin-top:22px;padding-top:20px;border-top:1px solid var(--fhc-line)}.fhc-employee-access .fhc-form-row{grid-template-columns:1fr 1fr auto;align-items:end}.fhc-employee-access ul{margin:16px 0 0;padding:0;list-style:none}.fhc-employee-access li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--fhc-line)}.fhc-employee-access li span{color:var(--fhc-muted)}
@media(max-width:620px){.fhc-team-title{align-items:end}.fhc-team-hero{padding:18px}.fhc-team-hero img,.fhc-team-monogram{width:58px;height:58px}.fhc-team-hero h3{font-size:20px}.fhc-clock-card{padding:17px}.fhc-clock-card h3{font-size:18px}.fhc-clock-card button{width:auto;min-width:0;padding:10px 15px;border-radius:10px;font-size:14px}.fhc-team-tabs button{padding:10px 13px}.fhc-role-card{padding:19px}.fhc-role-card h3{font-size:25px}.fhc-role-number{font-size:34px}.fhc-team-grid,.fhc-check-items{grid-template-columns:1fr}.fhc-responsibilities ol{grid-template-columns:1fr}.fhc-checklist-card{padding:18px}.fhc-employee-access .fhc-form-row{grid-template-columns:1fr}.fhc-employee-access .fhc-primary{width:100%}}

/* Portal del equipo 0.21: color por compañía, privacidad y agenda móvil. */
.fhc-team-module{--fhc-team-color:var(--fhc-brand,#3f6de8)}
.fhc-team-module .fhc-team-hero{background:linear-gradient(135deg,var(--fhc-team-color),#0b1f33)}
.fhc-team-module .fhc-team-monogram,.fhc-team-module .fhc-role-number,.fhc-team-module .fhc-responsibilities li::marker{color:var(--fhc-team-color)}
.fhc-team-module .fhc-team-tabs button.active{background:color-mix(in srgb,var(--fhc-team-color) 12%,white);color:var(--fhc-team-color)}
.fhc-team-module .fhc-role-card{background:linear-gradient(135deg,var(--fhc-team-color),#0b1f33)}
.fhc-team-module .fhc-primary{background:var(--fhc-team-color)}
.fhc-team-brand-fields{display:grid;grid-template-columns:1fr 220px;gap:16px;align-items:end}
.fhc-color-picker{height:48px!important;padding:5px!important;cursor:pointer}
.fhc-private-settings{margin:20px 0;padding:18px;border:1px solid #f0d8a1;border-radius:14px;background:#fffaf0}
.fhc-private-settings h4{margin:0 0 12px;color:#7b5100;font-size:15px}
.fhc-team-schedule-card{padding:22px}
.fhc-team-schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.fhc-team-schedule-heading h3{margin:3px 0 0;color:var(--fhc-navy);font-size:25px}
.fhc-team-schedule-heading>span{padding:7px 10px;border-radius:999px;background:#eef3f8;color:#526173;font-size:11px;font-weight:900;white-space:nowrap}
.fhc-team-schedule{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fhc-team-service{display:grid;grid-template-columns:62px minmax(0,1fr);gap:15px;overflow:hidden;padding:15px;border:1px solid var(--fhc-line);border-left:4px solid #e0ae39;border-radius:14px;background:#fff}
.fhc-team-service.status-confirmed{border-left-color:var(--fhc-team-color)}
.fhc-team-service.status-completed{border-left-color:#25a55f}
.fhc-team-service.status-cancelled{border-left-color:#d94848;opacity:.72}
.fhc-team-service-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70px;border-radius:12px;background:color-mix(in srgb,var(--fhc-team-color) 9%,white);color:var(--fhc-navy);text-transform:capitalize}
.fhc-team-service-date small,.fhc-team-service-date span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.fhc-team-service-date strong{font-size:25px;line-height:1}
.fhc-team-service-info{min-width:0}.fhc-team-service-info>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.fhc-team-service-info time{color:var(--fhc-team-color);font-size:12px;font-weight:900}
.fhc-team-service-info h4{margin:6px 0 4px;overflow:hidden;color:var(--fhc-navy);font-size:17px;text-overflow:ellipsis;white-space:nowrap}
.fhc-team-service-info p{margin:2px 0;color:#64748b;font-size:12px;line-height:1.4}.fhc-team-address{font-weight:650}.fhc-team-service-type{color:#3f5369!important}
.fhc-team-status{padding:4px 7px;border-radius:999px;background:#fff6df;color:#8a5b00;font-size:9px;font-weight:900;text-transform:uppercase}.fhc-team-status.confirmed{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-team-status.completed{background:#e9f9ef;color:#187743}.fhc-team-status.cancelled{background:#feecec;color:#a52b2b}
.fhc-empty-schedule{grid-column:1/-1;margin:0;padding:22px;border:1px dashed var(--fhc-line);border-radius:12px;color:var(--fhc-muted);text-align:center}
@media(max-width:720px){.fhc-team-brand-fields,.fhc-team-schedule{grid-template-columns:1fr}.fhc-team-schedule-card{padding:16px}.fhc-team-service{grid-template-columns:55px minmax(0,1fr);padding:13px;gap:12px}.fhc-team-service-date{min-height:66px}.fhc-team-tabs button{flex:0 0 auto}}

/* Estimados 0.24 */
.fhc-estimate-pricing{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:center;margin-bottom:18px;padding:24px;border-radius:18px;background:linear-gradient(135deg,var(--fhc-navy),var(--fhc-blue));color:#fff;box-shadow:0 14px 34px #0b1f3320}
.fhc-estimate-pricing span,.fhc-estimate-pricing small{display:block;color:#bcd3e7}.fhc-estimate-pricing strong{display:block;margin:4px 0;color:#fff;font-size:28px}.fhc-estimate-pricing p{margin:0;padding-left:22px;border-left:1px solid #ffffff2e;color:#dce9f4;line-height:1.65}.fhc-estimate-pricing p strong{display:inline;font-size:inherit;color:#fff}
.fhc-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.fhc-service-guide{padding:22px;border:1px solid var(--fhc-line);border-radius:17px;background:#fff;box-shadow:0 7px 25px #2135470a}.fhc-service-guide>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.fhc-service-guide>div span{padding:6px 9px;border-radius:999px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:11px;font-weight:900}.fhc-service-guide>div strong{color:#18864b;font-size:13px}.fhc-service-guide h3{margin:17px 0 7px;color:var(--fhc-navy);font-size:21px}.fhc-service-guide p{margin:0 0 13px;color:#64748b;line-height:1.55}.fhc-service-guide ul{margin:0;padding-left:19px;color:#334155}.fhc-service-guide li{margin:7px 0;line-height:1.4}.fhc-service-guide li::marker{color:var(--fhc-blue)}
.fhc-card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.fhc-card-heading h3{margin:2px 0;font-size:25px}.fhc-card-heading .fhc-eyebrow{margin:0}.fhc-card-heading>span{padding:6px 10px;border-radius:999px;background:#fff6df;color:#8a5b00;font-size:11px;font-weight:900}
.fhc-addon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--fhc-line);border:1px solid var(--fhc-line);border-radius:13px;overflow:hidden}.fhc-addon-grid>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px;background:#fff}.fhc-addon-grid span{color:#334155}.fhc-addon-grid strong{flex:0 0 auto;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:13px}.fhc-estimate-note{margin:14px 0 0;color:#64748b;font-size:12px}
.fhc-estimate-modal{max-width:720px;max-height:92vh}.fhc-estimate-modal .fhc-form{max-height:92vh;overflow-y:auto;box-sizing:border-box}.fhc-addon-picker{margin:18px 0;padding:15px;border:1px solid var(--fhc-line);border-radius:13px}.fhc-addon-picker legend{padding:0 7px;color:var(--fhc-navy);font-size:15px;font-weight:900}.fhc-addon-picker>label{display:grid;grid-template-columns:auto minmax(0,1fr) 125px;align-items:center;gap:11px;margin:0;padding:10px 2px;border-bottom:1px solid var(--fhc-line)}.fhc-addon-picker>label:last-child{border-bottom:0}.fhc-addon-picker input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:var(--fhc-blue)}.fhc-addon-picker span strong,.fhc-addon-picker span small{display:block}.fhc-addon-picker span small{margin-top:3px;color:#64748b;font-weight:600}.fhc-addon-picker input[type=number]{margin:0}
.fhc-estimate-list{margin-top:18px}.fhc-estimate-list td>small{display:block;max-width:230px;margin-top:4px;color:#64748b}.fhc-estimate-status{display:inline-flex;padding:5px 9px;border:0;border-radius:999px;background:#eef1f5;color:#526173;font-size:11px;font-weight:900}.fhc-estimate-status.status-sent{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-estimate-status.status-approved{background:#e9f9ef;color:#187743}.fhc-estimate-status.status-declined{background:#feecec;color:#a52b2b}.fhc-estimate-status-form{margin:0;min-width:112px}.fhc-estimate-status-form select{width:100%;min-height:34px;cursor:pointer;padding-right:25px}.fhc-estimate-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
@media(max-width:720px){.fhc-estimate-pricing{grid-template-columns:1fr;padding:19px}.fhc-estimate-pricing p{padding:16px 0 0;border-left:0;border-top:1px solid #ffffff2e}.fhc-service-grid,.fhc-addon-grid{grid-template-columns:1fr}.fhc-service-guide{padding:18px}.fhc-addon-picker>label{grid-template-columns:auto minmax(0,1fr)}.fhc-addon-picker input[type=number]{grid-column:2}.fhc-estimate-modal .fhc-form-row{grid-template-columns:1fr}.fhc-estimate-row-actions{flex-wrap:wrap}}

/* Contacto, mapas, recordatorios y fotografías 0.25 */
.fhc-row-actions,.fhc-contact-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.fhc-action-icon{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:30px;height:30px;box-sizing:border-box;padding:0 7px;border:1px solid #d7e1eb;border-radius:8px;background:#f8fbfe;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)!important;font-size:10px;font-weight:900;text-decoration:none!important}.fhc-action-icon:hover{border-color:#8fc2ee;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white)}.fhc-action-icon span{font-size:10px}.fhc-photo-button{white-space:nowrap}
.fhc-reminders{margin:14px 18px 0;padding:15px 17px;border:1px solid #cfe2f5;border-radius:15px;background:linear-gradient(135deg,#fff7fa,#fff1f5);box-shadow:0 7px 25px #2135470a}.fhc-reminder-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.fhc-reminder-heading>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fhc-reminder-heading strong{color:var(--fhc-navy)}.fhc-reminder-heading small{color:#64748b}.fhc-reminder-bell{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--fhc-brand,#3f6de8);color:#fff;font-size:8px;box-shadow:0 0 0 5px var(--fhc-brand,#3f6de8)15}.fhc-enable-alerts{padding:8px 11px;border:1px solid #b8d2e9;border-radius:9px;background:#fff;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.fhc-reminder-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.fhc-reminder-list article{min-width:0;padding:11px;border:1px solid #dbe8f3;border-radius:11px;background:#fff}.fhc-reminder-list time,.fhc-reminder-list strong,.fhc-reminder-list>article>span{display:block}.fhc-reminder-list time{color:var(--fhc-brand,#3f6de8);font-size:10px;font-weight:900;text-transform:uppercase}.fhc-reminder-list strong{overflow:hidden;margin:4px 0;color:#0b1f33;text-overflow:ellipsis;white-space:nowrap}.fhc-reminder-list>article>span{overflow:hidden;margin-bottom:8px;color:#64748b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.fhc-photo-modal{max-width:700px;max-height:92vh}.fhc-photo-modal-body{max-height:92vh;overflow-y:auto;box-sizing:border-box;padding:27px}.fhc-photo-modal h3{margin:2px 45px 4px 0;color:var(--fhc-navy);font-size:25px}.fhc-photo-address{margin:0 0 18px;color:#64748b}.fhc-photo-upload{display:grid;grid-template-columns:120px minmax(0,1fr) auto;align-items:end;gap:10px;padding:15px;border:1px solid var(--fhc-line);border-radius:13px;background:#f8fafc}.fhc-photo-upload label{color:#344054;font-size:12px;font-weight:900}.fhc-photo-upload select{display:block;width:100%;height:44px;margin-top:5px;padding:8px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.fhc-camera-field input{position:absolute;width:1px;height:1px;opacity:0}.fhc-camera-field span{display:flex;align-items:center;justify-content:center;height:44px;margin-top:5px;padding:0 12px;border:1px dashed #8fb5d7;border-radius:9px;background:#fff;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);cursor:pointer}.fhc-photo-upload .fhc-primary{height:44px}.fhc-photo-upload>small{grid-column:1/-1;color:#64748b}.fhc-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:16px}.fhc-photo-gallery figure{overflow:hidden;margin:0;border:1px solid var(--fhc-line);border-radius:12px;background:#fff}.fhc-photo-gallery img{display:block;width:100%;height:145px;object-fit:cover}.fhc-photo-gallery figcaption{display:flex;justify-content:space-between;gap:7px;padding:9px}.fhc-photo-gallery figcaption strong{color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:11px}.fhc-photo-gallery figcaption span{color:#64748b;font-size:9px;text-align:right}.fhc-no-photos{grid-column:1/-1;margin:0;padding:25px;border:1px dashed var(--fhc-line);border-radius:11px;color:#64748b;text-align:center}.fhc-team-service-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:10px}.fhc-team-service-actions .fhc-contact-actions{display:flex}.fhc-team-service-actions .fhc-action-icon{height:28px}.fhc-team-service-actions .fhc-photo-button{height:30px}
@media(max-width:900px){.fhc-reminder-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.fhc-reminders{margin:12px 10px 0;padding:14px}.fhc-reminder-heading{align-items:flex-start}.fhc-reminder-heading>div{display:grid;grid-template-columns:auto 1fr}.fhc-reminder-heading small{grid-column:2}.fhc-reminder-list{grid-template-columns:1fr 1fr}.fhc-photo-modal-body{padding:21px}.fhc-photo-upload{grid-template-columns:1fr}.fhc-photo-upload .fhc-primary{width:100%}.fhc-photo-upload>small{grid-column:auto}.fhc-photo-gallery{grid-template-columns:1fr 1fr}.fhc-photo-gallery img{height:125px}.fhc-row-actions{min-width:150px}}
@media(max-width:390px){.fhc-reminder-list,.fhc-photo-gallery{grid-template-columns:1fr}.fhc-enable-alerts{font-size:10px;padding:7px}.fhc-photo-gallery img{height:190px}}
@media print{.fhc-reminders,.fhc-contact-actions,.fhc-photo-button{display:none!important}}

/* Marca exclusiva de Francis House Cleaning */
:root{--fhc-blue:var(--fhc-brand,#3f6de8)}
.fhc-login-brand{background:linear-gradient(145deg,#5c1238 0%,color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black) 56%,var(--fhc-brand,#3f6de8) 100%)}
.fhc-brand-logo span{background:linear-gradient(135deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white),#f48fb1);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 50%,black)}
.fhc-eyebrow{color:#e9d5ff}
.fhc-brand-copy p,.fhc-brand-copy ul{color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white)}
.fhc-brand-copy li span{color:#f5d0fe}
.fhc-login-brand>small{color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 25%,white)}
.fhc-login-panel{background:linear-gradient(150deg,#fdfaff,color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white))}
.fhc-secure,.fhc-nav a.active,.fhc-edit,.fhc-team-tabs button.active,.fhc-team-principles span,.fhc-checklist-heading>span,.fhc-check-items b,.fhc-service-guide>div span,.fhc-estimate-status.status-sent{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}
.fhc-login-card #loginform .input:focus,.fhc-profile-form input:focus{border-color:var(--fhc-brand,#3f6de8);box-shadow:0 0 0 4px var(--fhc-brand,#3f6de8)20}
.fhc-login-card .login-remember input{accent-color:var(--fhc-brand,#3f6de8)}
.fhc-login-card #wp-submit{background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black));box-shadow:0 9px 24px var(--fhc-brand,#3f6de8)38}
.fhc-forgot,.fhc-action-icon,.fhc-addon-grid strong,.fhc-photo-upload .fhc-camera-field span,.fhc-photo-gallery figcaption strong{color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)!important}
.fhc-action-icon:hover{border-color:#c4b5fd;background:#f5f3ff}
.fhc-role-card{background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black))}
.fhc-team-module{--fhc-team-color:var(--fhc-brand,#3f6de8)}
.fhc-reminders{border-color:#ddd6fe;background:linear-gradient(135deg,#faf5ff,#f5f3ff)}
.fhc-reminder-bell{background:var(--fhc-brand,#3f6de8);box-shadow:0 0 0 5px var(--fhc-brand,#3f6de8)20}
.fhc-enable-alerts,.fhc-reminder-list time{color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}
.fhc-team-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}
.fhc-team-badge.team-1{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}
.fhc-team-badge.team-2{background:#fae8ff;color:#a21caf}
.fhc-team-badge.team-3{background:#fce7f3;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black)}
.fhc-team-badge.team-4{background:#fff1f2;color:#be123c}.fhc-team-badge.team-5{background:#fff7ed;color:#c2410c}.fhc-team-badge.team-6{background:#fefce8;color:#a16207}
.fhc-team-badge.team-7{background:#ecfdf5;color:#047857}.fhc-team-badge.team-8{background:#ecfeff;color:#0e7490}.fhc-team-badge.team-9{background:#eef2ff;color:#4338ca}
.fhc-team-badge.team-10{background:#f5f3ff;color:#7c3aed}.fhc-team-badge.team-11{background:#fdf4ff;color:#a21caf}.fhc-team-badge.team-12{background:#f1f5f9;color:#475569}
.fhc-calendar-event.team-1{border-left-color:var(--fhc-brand,#3f6de8)}
.fhc-calendar-event.team-2{border-left-color:#c026d3}
.fhc-calendar-event.team-3{border-left-color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black)}
.fhc-calendar-event.team-4{border-left-color:#e11d48}.fhc-calendar-event.team-5{border-left-color:#ea580c}.fhc-calendar-event.team-6{border-left-color:#ca8a04}
.fhc-calendar-event.team-7{border-left-color:#059669}.fhc-calendar-event.team-8{border-left-color:#0891b2}.fhc-calendar-event.team-9{border-left-color:#4f46e5}
.fhc-calendar-event.team-10{border-left-color:#7c3aed}.fhc-calendar-event.team-11{border-left-color:#c026d3}.fhc-calendar-event.team-12{border-left-color:#64748b}
.fhc-team-filter{display:flex;justify-content:flex-end;margin:-4px 0 16px}.fhc-team-filter label{display:flex;align-items:center;gap:9px;color:#526173;font-size:12px;font-weight:900}.fhc-team-filter select{min-width:175px;height:42px;padding:7px 34px 7px 11px;border:1px solid #ddd6fe;border-radius:10px;background:#fff;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black);font-weight:800}
@media(max-width:620px){.fhc-team-filter{justify-content:stretch}.fhc-team-filter label,.fhc-team-filter select{width:100%}.fhc-team-filter label{display:grid}}

/* Controles compactos 1.0.3: evita que el tema agrande botones en móvil. */
.fhc-modal .fhc-close{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:1px solid #e2e8f0!important;border-radius:50%!important;background:#fff!important;color:#64748b!important;font-family:Arial,sans-serif!important;font-size:25px!important;font-weight:400!important;line-height:1!important;box-shadow:0 5px 14px #0b1f3318!important;cursor:pointer}
.fhc-modal .fhc-primary{width:auto!important;min-width:0!important;min-height:40px!important;margin-top:4px;padding:10px 16px!important;border-radius:10px!important;font-size:14px!important;line-height:1.15!important;white-space:nowrap}
.fhc-clock-card button{width:auto!important;min-width:88px!important;min-height:40px!important;padding:10px 15px!important;font-size:14px!important;line-height:1!important;white-space:nowrap!important}
@media(max-width:620px){
  .fhc-modal .fhc-form{padding:22px 20px}
  .fhc-modal .fhc-close{right:12px!important;top:12px!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:23px!important}
  .fhc-modal .fhc-form h3{padding-right:42px;font-size:22px}
  .fhc-modal .fhc-primary{min-height:38px!important;padding:9px 15px!important;font-size:13px!important}
  .fhc-clock-card button{min-width:82px!important;min-height:38px!important;padding:9px 13px!important;font-size:13px!important}
}

/* Paleta Francis: los paneles usan degradados rosa fucsia. */
:root{--fhc-navy:color-mix(in srgb,var(--fhc-brand,#3f6de8) 50%,black);--fhc-blue:var(--fhc-brand,#3f6de8)}
.fhc-header{background:linear-gradient(135deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black) 0%,var(--fhc-brand,#3f6de8) 58%,color-mix(in srgb,var(--fhc-brand,#3f6de8) 65%,white) 100%)}
.fhc-profile-summary,.fhc-monthly-total{background:linear-gradient(145deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 50%,black) 0%,color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black) 58%,var(--fhc-brand,#3f6de8) 100%)}
.fhc-team-hero,.fhc-team-module .fhc-team-hero,.fhc-role-card,.fhc-role-card.leader,.fhc-team-module .fhc-role-card{background:linear-gradient(135deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black) 0%,var(--fhc-brand,#3f6de8) 60%,color-mix(in srgb,var(--fhc-brand,#3f6de8) 65%,white) 100%)}
.fhc-estimate-pricing{background:linear-gradient(135deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 50%,black) 0%,color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black) 52%,color-mix(in srgb,var(--fhc-brand,#3f6de8) 65%,white) 100%)}
.fhc-title button,.fhc-primary,.fhc-date-filter button{background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),var(--fhc-brand,#3f6de8))!important;box-shadow:0 8px 18px var(--fhc-brand,#3f6de8)28}
.fhc-secondary{border-color:#c4b5fd!important;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)!important}
.fhc-title button.fhc-share-pdf{background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),var(--fhc-brand,#3f6de8))!important;border-color:transparent!important;color:#fff!important}
@media(max-width:760px){
  .fhc-title>.fhc-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
  .fhc-title>.fhc-actions>.fhc-report-actions{display:contents}
  .fhc-title>.fhc-actions>.fhc-report-actions>.fhc-secondary,
  .fhc-title>.fhc-actions>button{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 6px!important;box-sizing:border-box!important;font-size:12px!important;line-height:1!important;white-space:nowrap}
}
.fhc-status.confirmed,.fhc-status-select.confirmed,.fhc-calendar-event.confirmed{border-color:var(--fhc-brand,#3f6de8);background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}
.fhc-calendar-day.is-today{box-shadow:inset 0 0 0 2px var(--fhc-brand,#3f6de8)}.fhc-calendar-day.is-today .fhc-calendar-date strong{background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),color-mix(in srgb,var(--fhc-brand,#3f6de8) 65%,white))}
.fhc-profile-avatar{background:linear-gradient(135deg,#e9d5ff,#f48fb1);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 50%,black)}

/* Diferencia visual por día en ambas agendas. */
.fhc-schedule-date{min-width:70px;border-radius:9px;font-weight:900;text-align:center}
.fhc-schedule-date span{display:block;font-size:11px;letter-spacing:.08em}.fhc-schedule-date strong{display:block;margin-top:3px;font-size:14px;white-space:nowrap}
.fhc-schedule-row.fhc-new-day td{border-top-width:4px}
.fhc-team-service.day-monday{border-left-color:#e91e63}.fhc-team-service.day-monday .fhc-team-service-date,.fhc-schedule-row.day-monday .fhc-schedule-date{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-schedule-row.fhc-new-day.day-monday td{border-top-color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 25%,white)}
.fhc-team-service.day-tuesday{border-left-color:#059669}.fhc-team-service.day-tuesday .fhc-team-service-date,.fhc-schedule-row.day-tuesday .fhc-schedule-date{background:#ecfdf5;color:#047857}.fhc-schedule-row.fhc-new-day.day-tuesday td{border-top-color:#a7f3d0}
.fhc-team-service.day-wednesday{border-left-color:var(--fhc-brand,#3f6de8)}.fhc-team-service.day-wednesday .fhc-team-service-date,.fhc-schedule-row.day-wednesday .fhc-schedule-date{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-schedule-row.fhc-new-day.day-wednesday td{border-top-color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 25%,white)}
.fhc-team-service.day-thursday{border-left-color:#ea580c}.fhc-team-service.day-thursday .fhc-team-service-date,.fhc-schedule-row.day-thursday .fhc-schedule-date{background:#fff7ed;color:#c2410c}.fhc-schedule-row.fhc-new-day.day-thursday td{border-top-color:#fed7aa}
.fhc-team-service.day-friday{border-left-color:#e11d48}.fhc-team-service.day-friday .fhc-team-service-date,.fhc-schedule-row.day-friday .fhc-schedule-date{background:#fff1f2;color:#be123c}.fhc-schedule-row.fhc-new-day.day-friday td{border-top-color:#fecdd3}
.fhc-team-service.day-saturday{border-left-color:#0891b2}.fhc-team-service.day-saturday .fhc-team-service-date,.fhc-schedule-row.day-saturday .fhc-schedule-date{background:#ecfeff;color:#0e7490}.fhc-schedule-row.fhc-new-day.day-saturday td{border-top-color:#a5f3fc}
.fhc-team-service.day-sunday{border-left-color:#dc2626}.fhc-team-service.day-sunday .fhc-team-service-date,.fhc-schedule-row.day-sunday .fhc-schedule-date{background:#fef2f2;color:#b91c1c}.fhc-schedule-row.fhc-new-day.day-sunday td{border-top-color:#fecaca}
.fhc-payment-service-price[hidden]{display:none!important}
.fhc-payment-service-price{padding:12px;border:1px solid #ddd6fe;border-radius:12px;background:#faf7ff}
.fhc-payment-service-price small{display:block;margin-top:6px;color:#64748b;font-weight:500;line-height:1.35}
.fhc-financial-filter{background:#fff;border:1px solid var(--fhc-line);border-radius:18px;padding:20px;margin:0 0 18px;box-shadow:0 8px 24px #1018280a}.fhc-financial-filter label{display:grid;gap:7px;color:#64748b;font-weight:800}.fhc-financial-filter select,.fhc-financial-filter input{width:100%;min-height:50px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:10px 14px;font:inherit}.fhc-financial-filter button{width:100%;margin-top:14px}.fhc-financial-period{color:#64748b;font-weight:700;margin:0 0 14px}.fhc-financial-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}.fhc-financial-summary article{background:#fff;border:1px solid var(--fhc-line);border-radius:18px;padding:21px;box-shadow:0 8px 24px #1018280a}.fhc-financial-summary span,.fhc-financial-summary strong{display:block}.fhc-financial-summary span{color:#64748b;font-weight:700;margin-bottom:12px}.fhc-financial-summary strong{font-size:25px;color:#3b1b73}.fhc-financial-summary .collected strong,.fhc-financial-summary .profit strong{color:#059669}.fhc-financial-summary .expenses strong{color:#dc2626}.fhc-financial-tables{display:grid;grid-template-columns:1fr 1.25fr;gap:18px}.fhc-financial-tables .fhc-card{overflow:auto}
@media(max-width:900px){.fhc-financial-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fhc-financial-tables{grid-template-columns:1fr}}
@media(max-width:520px){.fhc-financial-summary{grid-template-columns:1fr}.fhc-financial-summary article{padding:22px}.fhc-financial-summary strong{font-size:31px}.fhc-financial-filter{padding:16px}}

/* Reportes 0.30.1: controles y tablas sin recortes en teléfonos. */
.fhc-financial-filter,
.fhc-financial-filter *{box-sizing:border-box}
.fhc-financial-filter .fhc-form-row{min-width:0}
.fhc-financial-filter .fhc-form-row label{min-width:0}
.fhc-financial-filter select,
.fhc-financial-filter input[type="date"]{display:block;min-width:0!important;max-width:100%!important;color:#172033;text-align:left}
.fhc-financial-filter button{display:flex!important;align-items:center;justify-content:center;min-height:50px!important;padding:11px 16px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,var(--fhc-brand,#3f6de8),var(--fhc-brand,#3f6de8))!important;color:#fff!important;font-size:15px!important;font-weight:850!important;line-height:1.15!important;box-shadow:0 8px 18px var(--fhc-brand,#3f6de8)28!important;cursor:pointer}
.fhc-financial-tables .fhc-card{min-width:0;max-width:100%;overflow:hidden}
.fhc-financial-tables table{width:100%;min-width:0;table-layout:fixed}
.fhc-financial-tables th,.fhc-financial-tables td{overflow-wrap:anywhere}
.fhc-financial-tables section:first-child th:first-child,.fhc-financial-tables section:first-child td:first-child{width:64%}
.fhc-financial-tables section:first-child th:last-child,.fhc-financial-tables section:first-child td:last-child{width:36%;text-align:right;white-space:nowrap}
@media(max-width:620px){
  .fhc-financial-filter{width:100%;max-width:100%;overflow:hidden;padding:17px}
  .fhc-financial-filter .fhc-form-row{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;width:100%}
  .fhc-financial-filter select,.fhc-financial-filter input[type="date"]{width:100%!important;height:50px!important;min-height:50px!important;margin:0!important;padding:10px 13px!important;border-radius:11px!important;background-color:#fff!important;font-size:16px!important;line-height:1.2!important}
  .fhc-financial-filter button{width:100%!important;height:50px!important;margin-top:15px!important}
  .fhc-financial-period{font-size:14px;line-height:1.45}
  .fhc-financial-summary article{min-height:142px;display:flex;flex-direction:column;justify-content:center}
  .fhc-financial-tables{width:100%;min-width:0}
  .fhc-financial-tables .fhc-card{width:100%;padding:0}
  .fhc-financial-tables .fhc-card>h3{padding:20px 16px 8px;font-size:20px;line-height:1.25}
  .fhc-financial-tables table{font-size:12px}
  .fhc-financial-tables th,.fhc-financial-tables td{padding:12px 8px;font-size:11px;line-height:1.3}
  .fhc-financial-tables th{font-size:9px;letter-spacing:0}
  .fhc-financial-tables section:last-child th:first-child,.fhc-financial-tables section:last-child td:first-child{width:19%}
  .fhc-financial-tables section:last-child th:not(:first-child),.fhc-financial-tables section:last-child td:not(:first-child){width:27%;text-align:right;white-space:nowrap}
}

/* Reportes 0.30.4: mismas proporciones visuales del Dashboard. */
@media(max-width:520px){
  .fhc-financial-filter{padding:14px;border-radius:14px}
  .fhc-financial-filter label{gap:5px;font-size:12px}
  .fhc-financial-filter .fhc-form-row{gap:10px}
  .fhc-financial-filter select,.fhc-financial-filter input[type="date"]{height:42px!important;min-height:42px!important;padding:8px 10px!important;border-radius:8px!important;font-size:14px!important}
  .fhc-financial-filter button{height:42px!important;min-height:42px!important;margin-top:12px!important;padding:9px 14px!important;border-radius:9px!important;font-size:13px!important}
  .fhc-financial-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}
  .fhc-financial-summary article{display:block;min-height:0;padding:20px;border-radius:16px}
  .fhc-financial-summary article:last-child{grid-column:1/-1;min-height:0}
  .fhc-financial-summary span{margin-bottom:9px;font-size:inherit;line-height:normal}
  .fhc-financial-summary strong{font-size:25px;line-height:normal;white-space:normal}
}

/* Fechas de Reportes contenidas correctamente en Safari móvil. */
.fhc-financial-date-box{display:block;width:100%;min-width:0;max-width:100%;overflow:hidden;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-sizing:border-box}
.fhc-financial-date-box input[type="date"]{display:block;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box!important}
@media(max-width:620px){
  .fhc-financial-date-box{width:100%;max-width:100%;height:42px}
  .fhc-financial-date-box input[type="date"]{width:0!important;min-width:100%!important;max-width:100%!important;height:40px!important;min-height:40px!important;padding:8px 10px!important}
}

/* Página pública de pagos. Todo queda aislado para no cambiar el CRM privado. */
body.fhc-payment-page{margin:0;background:#f7f4ff;color:#241b35;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.fhc-payment-page *{box-sizing:border-box}
.fhc-public-payment{min-height:100vh;background:linear-gradient(180deg,#f2ebff 0,#fbfaff 42%,#fff 100%)}
.fhc-payment-hero{padding:22px 24px 70px;background:linear-gradient(135deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black) 0%,var(--fhc-brand,#3f6de8) 55%,color-mix(in srgb,var(--fhc-brand,#3f6de8) 65%,white) 100%);color:#fff;border-radius:0 0 48px 48px;box-shadow:0 20px 50px color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black)33}
.fhc-payment-hero-inner{max-width:900px;margin:0 auto;text-align:center;position:relative}
.fhc-payment-logo{display:block;width:116px;height:116px;margin:18px auto 16px;border-radius:50%;object-fit:cover;background:#fff;border:5px solid #ffffffcc;box-shadow:0 15px 35px color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black)66}
.fhc-payment-kicker{margin:0 0 9px!important;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 25%,white);font-size:12px;font-weight:850;letter-spacing:.18em}
.fhc-payment-hero h1{margin:0;font-size:38px;line-height:1.12;letter-spacing:-.02em;color:#fff}
.fhc-payment-subtitle{max-width:570px;margin:13px auto 0!important;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);font-size:17px;line-height:1.55}
.fhc-payment-main{width:min(900px,calc(100% - 32px));margin:-36px auto 0;position:relative;padding-bottom:46px}
.fhc-payment-intro,.fhc-payment-method,.fhc-payment-note{background:#fff;border:1px solid #e8ddfa;border-radius:22px;box-shadow:0 12px 34px color-mix(in srgb,var(--fhc-brand,#3f6de8) 50%,black)12}
.fhc-payment-intro{padding:28px;text-align:center;margin-bottom:18px}
.fhc-payment-intro .fhc-payment-kicker{color:var(--fhc-brand,#3f6de8)}
.fhc-payment-intro h2,.fhc-payment-method h2{margin:0 0 9px;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black);font-size:25px;line-height:1.2}
.fhc-payment-intro>p:last-child{max-width:610px;margin:0 auto;color:#6b6477;line-height:1.6}
.fhc-payment-method{padding:28px}
.fhc-payment-method p{margin:0 0 14px;color:#655d72;line-height:1.6}
.fhc-payment-zelle{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:30px;margin-bottom:18px;border:2px solid #c4b5fd;background:linear-gradient(135deg,#fff 0%,#faf5ff 100%)}
.fhc-payment-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:18px;border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black),color-mix(in srgb,var(--fhc-brand,#3f6de8) 65%,white));color:#fff;font-size:23px;font-weight:900;box-shadow:0 8px 18px var(--fhc-brand,#3f6de8)35}
.fhc-payment-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fhc-payment-label{display:inline-block;margin:0 0 8px!important;color:var(--fhc-brand,#3f6de8)!important;font-size:11px;font-weight:900;letter-spacing:.14em}
.fhc-payment-phone{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border-radius:11px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black);text-decoration:none;font-weight:850;font-size:17px}
.fhc-payment-phone svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fhc-payment-qr-wrap{padding:13px;background:#fff;border:1px solid #ddd6fe;border-radius:18px;text-align:center}
.fhc-payment-qr-wrap img{display:block;width:100%;height:auto;border-radius:11px}
.fhc-payment-qr-wrap strong{display:block;margin:9px 0 2px;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black);font-size:13px}
.fhc-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.fhc-payment-grid .fhc-payment-method{display:flex;flex-direction:column;align-items:flex-start}
.fhc-payment-grid .fhc-payment-method p:last-of-type{margin-bottom:0}
.fhc-payment-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:auto;padding:12px 18px;border-radius:12px;background:linear-gradient(135deg,color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black),var(--fhc-brand,#3f6de8));color:#fff!important;text-decoration:none;font-weight:850;box-shadow:0 9px 20px var(--fhc-brand,#3f6de8)32}
.fhc-payment-payee{display:block;margin:-4px 0 13px;padding:10px 12px;border-radius:10px;background:#f5f3ff;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 75%,black)}
.fhc-payment-note{display:flex;align-items:flex-start;gap:14px;margin-top:18px;padding:20px 22px;background:#f5f3ff}
.fhc-payment-note>svg{flex:0 0 30px;width:30px;height:30px;fill:none;stroke:var(--fhc-brand,#3f6de8);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fhc-payment-note strong{color:#3b1b73}.fhc-payment-note p{margin:4px 0 0;color:#655d72;line-height:1.5}.fhc-payment-note a{color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-weight:800}
.fhc-payment-footer{display:flex;align-items:center;justify-content:center;gap:14px;padding:26px 20px;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black);color:#fce7f3;text-align:left}
.fhc-payment-footer img{width:50px;height:50px;border-radius:50%;object-fit:cover}.fhc-payment-footer p{margin:0;line-height:1.5;font-size:13px}
@media(max-width:720px){
  .fhc-payment-hero{padding:20px 18px 58px;border-radius:0 0 34px 34px}.fhc-payment-logo{width:96px;height:96px;margin:5px auto 14px}.fhc-payment-hero h1{font-size:30px}.fhc-payment-subtitle{font-size:15px}.fhc-payment-main{width:min(100% - 24px,560px);margin-top:-28px}.fhc-payment-intro,.fhc-payment-method{padding:21px;border-radius:18px}.fhc-payment-zelle{grid-template-columns:1fr;gap:18px}.fhc-payment-qr-wrap{width:min(100%,290px);margin:0 auto}.fhc-payment-grid{grid-template-columns:1fr}.fhc-payment-grid .fhc-payment-method{min-height:0}.fhc-payment-footer{flex-wrap:wrap}
}
.fhc-billing-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 28px}.fhc-billing-metrics article{background:#fff;border:1px solid #dce5ef;border-radius:22px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.05)}.fhc-billing-metrics span{display:block;color:#64748b;font-weight:700;margin-bottom:10px}.fhc-billing-metrics strong{display:block;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black);font-size:clamp(25px,4vw,38px);line-height:1.1}.fhc-billing-list .fhc-card-heading{align-items:center;gap:18px;margin-bottom:16px}.fhc-billing-search{width:min(100%,330px);border:1px solid #cbd5e1;border-radius:14px;padding:12px 15px;font:inherit;background:#f8fafc}.fhc-billing-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fhc-billing-actions .fhc-secondary{min-height:38px;padding:8px 12px;white-space:nowrap}.fhc-billing-list td small{display:block;color:#64748b;margin-top:5px}.fhc-invoice-status{border:0;border-radius:999px;padding:8px 10px;font-weight:800;background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-invoice-status.status-paid{background:#dcfce7;color:#166534}.fhc-invoice-status.status-overdue{background:#ffedd5;color:#c2410c}.fhc-invoice-status.status-cancelled{background:#fee2e2;color:#b91c1c}.fhc-invoice-status.status-sent{background:color-mix(in srgb,var(--fhc-brand,#3f6de8) 10%,white);color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 85%,black)}.fhc-billing-modal{width:min(760px,calc(100% - 24px))}
@media(max-width:760px){.fhc-billing-metrics{grid-template-columns:1fr 1fr;gap:12px}.fhc-billing-metrics article{padding:18px;border-radius:18px}.fhc-billing-metrics strong{font-size:25px}.fhc-billing-metrics article:last-child{grid-column:1/-1}.fhc-billing-list .fhc-card-heading{align-items:stretch;flex-direction:column}.fhc-billing-search{width:100%}.fhc-billing-actions{min-width:230px}.fhc-billing-modal .fhc-form-row{grid-template-columns:1fr}}
.fhc-document-actions{display:grid!important;grid-template-columns:82px 82px;gap:8px!important;min-width:172px!important;align-items:center!important}.fhc-document-actions .fhc-secondary{display:flex!important;align-items:center!important;justify-content:center!important;width:82px!important;min-width:82px!important;max-width:82px!important;height:38px!important;min-height:38px!important;max-height:38px!important;block-size:38px!important;min-block-size:38px!important;max-block-size:38px!important;margin:0!important;padding:0 8px!important;box-sizing:border-box!important;border-radius:9px!important;font-size:12px!important;line-height:1!important;overflow:hidden!important;-webkit-appearance:none!important;appearance:none!important}.fhc-document-actions .fhc-delete{display:flex;align-items:center;height:38px;margin:0;padding:0 8px;font-size:12px;white-space:nowrap}
.fhc-photo-limit{display:flex;flex-direction:column;gap:4px;margin-bottom:16px;padding:14px 16px;border:1px solid #ddd6fe;border-radius:12px;background:#faf7ff;color:color-mix(in srgb,var(--fhc-brand,#3f6de8) 60%,black)}.fhc-photo-limit strong{font-size:13px}.fhc-photo-limit span{color:#64748b;font-size:12px;line-height:1.45}
