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

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

.ghc-frequency{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef4ff;color:#315c9c;font-size:12px;font-weight:800}
.ghc-edit{border:0;background:#eaf3ff;color:#1768ad;border-radius:7px;padding:6px 8px;font-size:12px;font-weight:800;cursor:pointer}
.ghc-appointment-time{display:block}.ghc-edit-time{display:block;margin-top:7px;white-space:nowrap}.ghc-quick-edit-modal .ghc-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){.ghc-quick-edit-modal .ghc-form-row{grid-template-columns:1fr}.ghc-quick-edit-modal .ghc-primary{width:100%}}

.ghc-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}
.ghc-monthly-total span{font-weight:800}
.ghc-monthly-total strong{font-size:27px;margin-left:auto;color:#fff}
.ghc-monthly-total small{width:100%;color:#c8d8e8}
.ghc-monthly-value{color:#18864b}
@media(max-width:520px){.ghc-monthly-total strong{width:100%;margin-left:0}
}

.ghc-crm-page #masthead,.ghc-crm-page #colophon,.ghc-crm-page .site-header,.ghc-crm-page .site-footer,.ghc-crm-page .entry-header,.ghc-crm-page .page-title,.ghc-crm-page .post-navigation{display:none!important}
.ghc-crm-page,.ghc-crm-page #page,.ghc-crm-page .site,.ghc-crm-page .site-main,.ghc-crm-page .content-area,.ghc-crm-page .content-container,.ghc-crm-page .site-container,.ghc-crm-page .content-wrap,.ghc-crm-page .entry-content-wrap,.ghc-crm-page .entry-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important;background:transparent!important;box-shadow:none!important}
.ghc-crm-page{background:#f3f7fb!important}
.ghc-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}
.ghc-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%)}
.ghc-login-brand:before,.ghc-login-brand:after{content:"";position:absolute;border-radius:50%;border:1px solid #ffffff15}
.ghc-login-brand:before{width:470px;height:470px;right:-190px;top:-170px}
.ghc-login-brand:after{width:330px;height:330px;left:-160px;bottom:-150px}
.ghc-brand-logo{position:relative;z-index:1;display:flex;align-items:center;gap:13px}
.ghc-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}
.ghc-brand-logo strong{color:#fff;font-size:18px;letter-spacing:.02em}
.ghc-brand-copy{position:relative;z-index:1;max-width:590px;margin:50px 0}
.ghc-eyebrow{display:inline-block;color:#9bcfff;font-size:11px;font-weight:900;letter-spacing:.18em;margin-bottom:18px}
.ghc-brand-copy h1{color:#fff;font-size:clamp(38px,4.3vw,64px);line-height:1.05;letter-spacing:-.045em;margin:0 0 24px}
.ghc-brand-copy p{max-width:535px;color:#cfdeeb;font-size:18px;line-height:1.65;margin:0 0 27px}
.ghc-brand-copy ul{list-style:none;margin:0;padding:0;display:grid;gap:13px;color:#edf6ff}
.ghc-brand-copy li{display:flex;align-items:center;gap:11px;font-weight:650}
.ghc-brand-copy li span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffffff15;color:#efc75f;font-size:13px}
.ghc-login-brand>small{position:relative;z-index:1;color:#91aac0;letter-spacing:.08em}
.ghc-login-panel{display:grid;place-items:center;padding:46px;background:linear-gradient(150deg,#f8fbfd,#eaf1f7)}
.ghc-login-card{width:100%;max-width:455px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:42px;box-shadow:0 24px 70px #0b1f3317}
.ghc-secure{display:inline-flex;color:#1768ad;background:#eaf3ff;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:900;letter-spacing:.14em}
.ghc-login-card h2{color:#0b1f33;font-size:36px;line-height:1.1;letter-spacing:-.03em;margin:19px 0 8px}
.ghc-login-card>p{color:#64748b;font-size:15px;margin:0 0 28px}
.ghc-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}
.ghc-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}
.ghc-customer-state.active{background:#dcfce7;color:#166534}.ghc-customer-state.inactive{background:#f1f5f9;color:#64748b}
.ghc-customer-inactive{opacity:.68;background:#f8fafc}.ghc-customer-inactive .ghc-monthly-value{color:#64748b}
.ghc-login-card #loginform{margin:0}
.ghc-login-card #loginform p{margin:0 0 18px}
.ghc-login-card #loginform label{display:block;color:#344054;font-size:13px;font-weight:800}
.ghc-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}
.ghc-login-card #loginform .input:focus{border-color:#1976d2;box-shadow:0 0 0 4px #1976d219;background:#fff}
.ghc-login-card .login-remember label{display:flex!important;align-items:center;gap:9px;font-weight:650!important}
.ghc-login-card .login-remember input{width:19px;height:19px;margin:0;accent-color:#1976d2}
.ghc-login-card .login-submit{margin-top:24px!important}
.ghc-login-card #wp-submit{width:100%;min-height:52px;border:0;border-radius:11px;background:linear-gradient(135deg,#1976d2,#125aa4);color:#fff;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 9px 24px #1976d22c}
.ghc-forgot{display:block;text-align:center;color:#1768ad;font-size:13px;font-weight:750;text-decoration:none;margin-top:19px}
.ghc-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){.ghc-login-page{display:block}
.ghc-login-brand{min-height:330px;padding:30px 24px 86px}
.ghc-brand-copy{margin:45px 0 0}
.ghc-brand-copy h1{font-size:35px}
.ghc-brand-copy p{font-size:15px;line-height:1.5;margin-bottom:0}
.ghc-brand-copy ul,.ghc-login-brand>small{display:none}
.ghc-login-panel{display:block;padding:0 17px 42px;margin-top:-57px;position:relative;z-index:2;background:transparent}
.ghc-login-card{box-sizing:border-box;max-width:520px;margin:0 auto;padding:29px 24px;border-radius:21px}
.ghc-login-card h2{font-size:30px}
.ghc-login-card>p{margin-bottom:23px}
}
@media(max-width:380px){.ghc-login-brand{min-height:305px}
.ghc-brand-copy{margin-top:34px}
.ghc-brand-copy h1{font-size:30px}
.ghc-login-card{padding:25px 20px}
}

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

.ghc-header-actions a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:112px;min-height:44px}
.ghc-nav{scrollbar-width:none}
.ghc-nav::-webkit-scrollbar{display:none}
@media(max-width:620px){.ghc-date-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:13px 12px;padding:18px}
.ghc-date-filter label,.ghc-date-filter label:first-child{width:auto;min-width:0;margin:0}
.ghc-date-filter input,.ghc-date-filter select,.ghc-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}
.ghc-date-filter button{margin:0}
.ghc-header-actions a{width:112px;height:46px;min-height:46px}
}
@media(max-width:365px){.ghc-date-filter{grid-template-columns:minmax(0,1fr)}
.ghc-header{display:block}
.ghc-header-actions{margin-top:15px;flex-direction:row}
.ghc-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){
  .ghc-date-filter{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:86px;align-items:stretch;gap:12px;padding:18px}
  .ghc-date-filter>label,.ghc-date-filter>button{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  .ghc-date-filter>label{display:flex;flex-direction:column;overflow:hidden}
  .ghc-date-filter input[type="date"],.ghc-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}
  .ghc-date-filter>button{align-self:end;height:54px!important;min-height:54px!important;margin:0!important}
  .ghc-header-actions a{width:auto;min-width:82px;height:38px;min-height:38px;padding:6px 11px;font-size:12px}
}
@media(max-width:365px){.ghc-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){
  .ghc-header{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;padding:20px;border-radius:0 0 24px 24px}
  .ghc-header-actions{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px}
  .ghc-header-actions a{width:auto;min-width:0;height:36px;min-height:36px;padding:6px 13px;font-size:12px;border-radius:999px}
  .ghc-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}
  .ghc-date-filter>label:nth-of-type(1){grid-area:period}
  .ghc-date-filter>label:nth-of-type(2){grid-area:from}
  .ghc-date-filter>label:nth-of-type(3){grid-area:to}
  .ghc-date-filter>button{grid-area:apply}
  .ghc-date-filter>label{display:block;overflow:hidden;font-size:11px;letter-spacing:.02em}
  .ghc-date-filter input[type="date"],.ghc-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}
  .ghc-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}
  .ghc-profile-form label small{display:block;margin-top:6px;color:#7b8a9d;font-size:11px;font-weight:500}
}
@media(max-width:365px){
  .ghc-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){
  .ghc-header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:15px;padding:18px;border-radius:0 0 22px 22px}
  .ghc-header-actions{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px}
  .ghc-header-actions a{width:112px;min-width:112px;height:46px;min-height:46px;padding:6px 10px;font-size:12px;border-radius:10px}
  .ghc-date-filter{grid-template-columns:minmax(0,1fr);grid-template-areas:"period" "from" "to" "apply";gap:13px;padding:17px}
  .ghc-date-filter>label{display:block;width:100%!important;overflow:visible}
  .ghc-date-filter input[type="date"],.ghc-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}
  .ghc-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. */
.ghc-date-box{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #cbd5e1;border-radius:10px;background:#f9fbfd;overflow:hidden}
.ghc-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){
  .ghc-header-actions a{width:88px;min-width:88px;height:38px;min-height:38px;padding:5px 9px;font-size:11px}
  .ghc-date-box{height:46px;min-height:46px}
  .ghc-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}
}

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

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

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

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

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

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

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

/* Marca exclusiva de Gloria House Cleaning */
:root{--ghc-blue:#2563eb}
.ghc-login-brand{background:linear-gradient(145deg,#24103f 0%,#1e3a8a 56%,#2563eb 100%)}
.ghc-brand-logo span{background:linear-gradient(135deg,#eff6ff,#93c5fd);color:#172554}
.ghc-eyebrow{color:#bfdbfe}
.ghc-brand-copy p,.ghc-brand-copy ul{color:#eff6ff}
.ghc-brand-copy li span{color:#f5d0fe}
.ghc-login-brand>small{color:#bfdbfe}
.ghc-login-panel{background:linear-gradient(150deg,#fdfaff,#eff6ff)}
.ghc-secure,.ghc-nav a.active,.ghc-edit,.ghc-team-tabs button.active,.ghc-team-principles span,.ghc-checklist-heading>span,.ghc-check-items b,.ghc-service-guide>div span,.ghc-estimate-status.status-sent{background:#eff6ff;color:#1d4ed8}
.ghc-login-card #loginform .input:focus,.ghc-profile-form input:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb20}
.ghc-login-card .login-remember input{accent-color:#2563eb}
.ghc-login-card #wp-submit{background:linear-gradient(135deg,#2563eb,#1e40af);box-shadow:0 9px 24px #2563eb38}
.ghc-forgot,.ghc-action-icon,.ghc-addon-grid strong,.ghc-photo-upload .ghc-camera-field span,.ghc-photo-gallery figcaption strong{color:#1d4ed8!important}
.ghc-action-icon:hover{border-color:#93c5fd;background:#f8faff}
.ghc-role-card{background:linear-gradient(135deg,#2563eb,#1e40af)}
.ghc-team-module{--ghc-team-color:#2563eb}
.ghc-reminders{border-color:#bfdbfe;background:linear-gradient(135deg,#eff6ff,#f8faff)}
.ghc-reminder-bell{background:#2563eb;box-shadow:0 0 0 5px #2563eb20}
.ghc-enable-alerts,.ghc-reminder-list time{color:#1d4ed8}
.ghc-team-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}
.ghc-team-badge.team-1{background:#eff6ff;color:#1d4ed8}
.ghc-team-badge.team-2{background:#fae8ff;color:#a21caf}
.ghc-team-badge.team-3{background:#eff6ff;color:#1e3a8a}
.ghc-calendar-event.team-1{border-left-color:#2563eb}
.ghc-calendar-event.team-2{border-left-color:#c026d3}
.ghc-calendar-event.team-3{border-left-color:#1e3a8a}
.ghc-team-filter{display:flex;justify-content:flex-end;margin:-4px 0 16px}.ghc-team-filter label{display:flex;align-items:center;gap:9px;color:#526173;font-size:12px;font-weight:900}.ghc-team-filter select{min-width:175px;height:42px;padding:7px 34px 7px 11px;border:1px solid #bfdbfe;border-radius:10px;background:#fff;color:#1e3a8a;font-weight:800}
@media(max-width:620px){.ghc-team-filter{justify-content:stretch}.ghc-team-filter label,.ghc-team-filter select{width:100%}.ghc-team-filter label{display:grid}}

/* Controles compactos 1.0.3: evita que el tema agrande botones en móvil. */
.ghc-modal .ghc-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}
.ghc-modal .ghc-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}
.ghc-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){
  .ghc-modal .ghc-form{padding:22px 20px}
  .ghc-modal .ghc-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}
  .ghc-modal .ghc-form h3{padding-right:42px;font-size:22px}
  .ghc-modal .ghc-primary{min-height:38px!important;padding:9px 15px!important;font-size:13px!important}
  .ghc-clock-card button{min-width:82px!important;min-height:38px!important;padding:9px 13px!important;font-size:13px!important}
}

/* Paleta azul de Gloria House Cleaning. */
:root{--ghc-navy:#172554;--ghc-blue:#2563eb}
.ghc-header{background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 58%,#3b82f6 100%)}
.ghc-profile-summary,.ghc-monthly-total{background:linear-gradient(145deg,#172554 0%,#1d4ed8 58%,#2563eb 100%)}
.ghc-team-hero,.ghc-team-module .ghc-team-hero,.ghc-role-card,.ghc-role-card.leader,.ghc-team-module .ghc-role-card{background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 60%,#3b82f6 100%)}
.ghc-estimate-pricing{background:linear-gradient(135deg,#172554 0%,#1d4ed8 52%,#3b82f6 100%)}
.ghc-title button,.ghc-primary,.ghc-date-filter button{background:linear-gradient(135deg,#2563eb,#2563eb)!important;box-shadow:0 8px 18px #2563eb28}
.ghc-secondary{border-color:#93c5fd!important;color:#1d4ed8!important}
.ghc-title button.ghc-share-pdf{background:linear-gradient(135deg,#2563eb,#2563eb)!important;border-color:transparent!important;color:#fff!important}
@media(max-width:760px){
  .ghc-title>.ghc-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
  .ghc-title>.ghc-actions>.ghc-report-actions{display:contents}
  .ghc-title>.ghc-actions>.ghc-report-actions>.ghc-secondary,
  .ghc-title>.ghc-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}
}
.ghc-status.confirmed,.ghc-status-select.confirmed,.ghc-calendar-event.confirmed{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}
.ghc-calendar-day.is-today{box-shadow:inset 0 0 0 2px #2563eb}.ghc-calendar-day.is-today .ghc-calendar-date strong{background:linear-gradient(135deg,#2563eb,#3b82f6)}
.ghc-profile-avatar{background:linear-gradient(135deg,#bfdbfe,#93c5fd);color:#172554}

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

/* Reportes 0.30.1: controles y tablas sin recortes en teléfonos. */
.ghc-financial-filter,
.ghc-financial-filter *{box-sizing:border-box}
.ghc-financial-filter .ghc-form-row{min-width:0}
.ghc-financial-filter .ghc-form-row label{min-width:0}
.ghc-financial-filter select,
.ghc-financial-filter input[type="date"]{display:block;min-width:0!important;max-width:100%!important;color:#172033;text-align:left}
.ghc-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,#2563eb,#2563eb)!important;color:#fff!important;font-size:15px!important;font-weight:850!important;line-height:1.15!important;box-shadow:0 8px 18px #2563eb28!important;cursor:pointer}
.ghc-financial-tables .ghc-card{min-width:0;max-width:100%;overflow:hidden}
.ghc-financial-tables table{width:100%;min-width:0;table-layout:fixed}
.ghc-financial-tables th,.ghc-financial-tables td{overflow-wrap:anywhere}
.ghc-financial-tables section:first-child th:first-child,.ghc-financial-tables section:first-child td:first-child{width:64%}
.ghc-financial-tables section:first-child th:last-child,.ghc-financial-tables section:first-child td:last-child{width:36%;text-align:right;white-space:nowrap}
@media(max-width:620px){
  .ghc-financial-filter{width:100%;max-width:100%;overflow:hidden;padding:17px}
  .ghc-financial-filter .ghc-form-row{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;width:100%}
  .ghc-financial-filter select,.ghc-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}
  .ghc-financial-filter button{width:100%!important;height:50px!important;margin-top:15px!important}
  .ghc-financial-period{font-size:14px;line-height:1.45}
  .ghc-financial-summary article{min-height:142px;display:flex;flex-direction:column;justify-content:center}
  .ghc-financial-tables{width:100%;min-width:0}
  .ghc-financial-tables .ghc-card{width:100%;padding:0}
  .ghc-financial-tables .ghc-card>h3{padding:20px 16px 8px;font-size:20px;line-height:1.25}
  .ghc-financial-tables table{font-size:12px}
  .ghc-financial-tables th,.ghc-financial-tables td{padding:12px 8px;font-size:11px;line-height:1.3}
  .ghc-financial-tables th{font-size:9px;letter-spacing:0}
  .ghc-financial-tables section:last-child th:first-child,.ghc-financial-tables section:last-child td:first-child{width:19%}
  .ghc-financial-tables section:last-child th:not(:first-child),.ghc-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){
  .ghc-financial-filter{padding:14px;border-radius:14px}
  .ghc-financial-filter label{gap:5px;font-size:12px}
  .ghc-financial-filter .ghc-form-row{gap:10px}
  .ghc-financial-filter select,.ghc-financial-filter input[type="date"]{height:42px!important;min-height:42px!important;padding:8px 10px!important;border-radius:8px!important;font-size:14px!important}
  .ghc-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}
  .ghc-financial-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}
  .ghc-financial-summary article{display:block;min-height:0;padding:20px;border-radius:16px}
  .ghc-financial-summary article:last-child{grid-column:1/-1;min-height:0}
  .ghc-financial-summary span{margin-bottom:9px;font-size:inherit;line-height:normal}
  .ghc-financial-summary strong{font-size:25px;line-height:normal;white-space:normal}
}

/* Fechas de Reportes contenidas correctamente en Safari móvil. */
.ghc-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}
.ghc-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){
  .ghc-financial-date-box{width:100%;max-width:100%;height:42px}
  .ghc-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.ghc-payment-page{margin:0;background:#f7f4ff;color:#241b35;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.ghc-payment-page *{box-sizing:border-box}
.ghc-public-payment{min-height:100vh;background:linear-gradient(180deg,#f2ebff 0,#fbfaff 42%,#fff 100%)}
.ghc-payment-hero{padding:22px 24px 70px;background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 55%,#3b82f6 100%);color:#fff;border-radius:0 0 48px 48px;box-shadow:0 20px 50px #1e40af33}
.ghc-payment-hero-inner{max-width:900px;margin:0 auto;text-align:center;position:relative}
.ghc-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 #2e106566}
.ghc-payment-kicker{margin:0 0 9px!important;color:#bfdbfe;font-size:12px;font-weight:850;letter-spacing:.18em}
.ghc-payment-hero h1{margin:0;font-size:38px;line-height:1.12;letter-spacing:-.02em;color:#fff}
.ghc-payment-subtitle{max-width:570px;margin:13px auto 0!important;color:#eff6ff;font-size:17px;line-height:1.55}
.ghc-payment-main{width:min(900px,calc(100% - 32px));margin:-36px auto 0;position:relative;padding-bottom:46px}
.ghc-payment-intro,.ghc-payment-method,.ghc-payment-note{background:#fff;border:1px solid #e8ddfa;border-radius:22px;box-shadow:0 12px 34px #17255412}
.ghc-payment-intro{padding:28px;text-align:center;margin-bottom:18px}
.ghc-payment-intro .ghc-payment-kicker{color:#2563eb}
.ghc-payment-intro h2,.ghc-payment-method h2{margin:0 0 9px;color:#2e1065;font-size:25px;line-height:1.2}
.ghc-payment-intro>p:last-child{max-width:610px;margin:0 auto;color:#6b6477;line-height:1.6}
.ghc-payment-method{padding:28px}
.ghc-payment-method p{margin:0 0 14px;color:#655d72;line-height:1.6}
.ghc-payment-zelle{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:30px;margin-bottom:18px;border:2px solid #93c5fd;background:linear-gradient(135deg,#fff 0%,#eff6ff 100%)}
.ghc-payment-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:18px;border-radius:14px;background:linear-gradient(135deg,#1d4ed8,#3b82f6);color:#fff;font-size:23px;font-weight:900;box-shadow:0 8px 18px #2563eb35}
.ghc-payment-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ghc-payment-label{display:inline-block;margin:0 0 8px!important;color:#2563eb!important;font-size:11px;font-weight:900;letter-spacing:.14em}
.ghc-payment-phone{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border-radius:11px;background:#eff6ff;color:#1e40af;text-decoration:none;font-weight:850;font-size:17px}
.ghc-payment-phone svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ghc-payment-qr-wrap{padding:13px;background:#fff;border:1px solid #bfdbfe;border-radius:18px;text-align:center}
.ghc-payment-qr-wrap img{display:block;width:100%;height:auto;border-radius:11px}
.ghc-payment-qr-wrap strong{display:block;margin:9px 0 2px;color:#1e40af;font-size:13px}
.ghc-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ghc-payment-grid .ghc-payment-method{display:flex;flex-direction:column;align-items:flex-start}
.ghc-payment-grid .ghc-payment-method p:last-of-type{margin-bottom:0}
.ghc-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,#1d4ed8,#2563eb);color:#fff!important;text-decoration:none;font-weight:850;box-shadow:0 9px 20px #2563eb32}
.ghc-payment-payee{display:block;margin:-4px 0 13px;padding:10px 12px;border-radius:10px;background:#f8faff;color:#1e40af}
.ghc-payment-note{display:flex;align-items:flex-start;gap:14px;margin-top:18px;padding:20px 22px;background:#f8faff}
.ghc-payment-note>svg{flex:0 0 30px;width:30px;height:30px;fill:none;stroke:#2563eb;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ghc-payment-note strong{color:#3b1b73}.ghc-payment-note p{margin:4px 0 0;color:#655d72;line-height:1.5}.ghc-payment-note a{color:#1d4ed8;font-weight:800}
.ghc-payment-footer{display:flex;align-items:center;justify-content:center;gap:14px;padding:26px 20px;background:#2e1065;color:#eff6ff;text-align:left}
.ghc-payment-footer img{width:50px;height:50px;border-radius:50%;object-fit:cover}.ghc-payment-footer p{margin:0;line-height:1.5;font-size:13px}
@media(max-width:720px){
  .ghc-payment-hero{padding:20px 18px 58px;border-radius:0 0 34px 34px}.ghc-payment-logo{width:96px;height:96px;margin:5px auto 14px}.ghc-payment-hero h1{font-size:30px}.ghc-payment-subtitle{font-size:15px}.ghc-payment-main{width:min(100% - 24px,560px);margin-top:-28px}.ghc-payment-intro,.ghc-payment-method{padding:21px;border-radius:18px}.ghc-payment-zelle{grid-template-columns:1fr;gap:18px}.ghc-payment-qr-wrap{width:min(100%,290px);margin:0 auto}.ghc-payment-grid{grid-template-columns:1fr}.ghc-payment-grid .ghc-payment-method{min-height:0}.ghc-payment-footer{flex-wrap:wrap}
}
.ghc-billing-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 28px}.ghc-billing-metrics article{background:#fff;border:1px solid #dce5ef;border-radius:22px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.05)}.ghc-billing-metrics span{display:block;color:#64748b;font-weight:700;margin-bottom:10px}.ghc-billing-metrics strong{display:block;color:#1d4ed8;font-size:clamp(25px,4vw,38px);line-height:1.1}.ghc-billing-list .ghc-card-heading{align-items:center;gap:18px;margin-bottom:16px}.ghc-billing-search{width:min(100%,330px);border:1px solid #cbd5e1;border-radius:14px;padding:12px 15px;font:inherit;background:#f8fafc}.ghc-billing-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ghc-billing-actions .ghc-secondary{min-height:38px;padding:8px 12px;white-space:nowrap}.ghc-billing-list td small{display:block;color:#64748b;margin-top:5px}.ghc-invoice-status{border:0;border-radius:999px;padding:8px 10px;font-weight:800;background:#eff6ff;color:#1d4ed8}.ghc-invoice-status.status-paid{background:#dcfce7;color:#166534}.ghc-invoice-status.status-overdue{background:#ffedd5;color:#c2410c}.ghc-invoice-status.status-cancelled{background:#fee2e2;color:#b91c1c}.ghc-invoice-status.status-sent{background:#dbeafe;color:#1d4ed8}.ghc-billing-modal{width:min(760px,calc(100% - 24px))}
@media(max-width:760px){.ghc-billing-metrics{grid-template-columns:1fr 1fr;gap:12px}.ghc-billing-metrics article{padding:18px;border-radius:18px}.ghc-billing-metrics strong{font-size:25px}.ghc-billing-metrics article:last-child{grid-column:1/-1}.ghc-billing-list .ghc-card-heading{align-items:stretch;flex-direction:column}.ghc-billing-search{width:100%}.ghc-billing-actions{min-width:230px}.ghc-billing-modal .ghc-form-row{grid-template-columns:1fr}}
.ghc-document-actions{display:grid!important;grid-template-columns:82px 82px;gap:8px!important;min-width:172px!important;align-items:center!important}.ghc-document-actions .ghc-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}.ghc-document-actions .ghc-delete{display:flex;align-items:center;height:38px;margin:0;padding:0 8px;font-size:12px;white-space:nowrap}
.ghc-billing-autocomplete{position:relative}.ghc-billing-suggestions{position:absolute;z-index:40;top:calc(100% - 3px);left:0;right:0;max-height:290px;overflow:auto;padding:7px;background:#fff;border:1px solid #93c5fd;border-radius:13px;box-shadow:0 16px 34px rgba(30,41,59,.18)}.ghc-billing-suggestions[hidden],.ghc-billing-suggestions [hidden]{display:none!important}.ghc-billing-suggestions button{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 12px!important;width:100%!important;min-height:0!important;margin:0!important;padding:10px 11px!important;text-align:left!important;color:#172033!important;background:#fff!important;border:0!important;border-radius:9px!important;box-shadow:none!important;font-size:13px!important;line-height:1.25!important}.ghc-billing-suggestions button+button{border-top:1px solid #eef2f7!important}.ghc-billing-suggestions button:focus,.ghc-billing-suggestions button:hover{background:#f5f0ff!important;outline:2px solid #bfdbfe!important}.ghc-billing-suggestions strong{min-width:0;overflow-wrap:anywhere}.ghc-billing-suggestions span{grid-column:1/-1;color:#475569;font-size:12px;overflow-wrap:anywhere}.ghc-billing-suggestions small{grid-column:2;grid-row:1;color:#2563eb;font-size:10px;font-weight:800;white-space:nowrap}.ghc-billing-no-results{margin:0;padding:12px;color:#64748b;font-size:13px;text-align:center}.ghc-billing-service{width:100%}
.ghc-photo-limit{display:flex;flex-direction:column;gap:4px;margin-bottom:16px;padding:14px 16px;border:1px solid #bfdbfe;border-radius:12px;background:#faf7ff;color:#1e3a8a}.ghc-photo-limit strong{font-size:13px}.ghc-photo-limit span{color:#64748b;font-size:12px;line-height:1.45}

/* Funciones avanzadas incorporadas y adaptadas a la marca de Gloria House Cleaning. */
.ghc-customer-search-card{display:grid;grid-template-columns:minmax(150px,220px) minmax(260px,1fr) auto;align-items:center;gap:14px;margin:0 0 16px;padding:16px 18px;border:1px solid #bfdbfe;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(91,33,182,.08)}
.ghc-customer-search-card label{font-weight:900;color:#1e40af}.ghc-customer-search-card input{width:100%;min-height:46px;margin:0;border:2px solid #bfdbfe;border-radius:12px;background:#fff;padding:10px 14px;font-size:15px;color:#1f2937;outline:none}.ghc-customer-search-card input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(139,92,246,.12)}.ghc-customer-search-card small{font-weight:800;color:#6b7280;white-space:nowrap}
.ghc-customer-row[hidden],.ghc-day-group[hidden],.ghc-customer-search-empty[hidden]{display:none!important}.ghc-customer-search-empty td{text-align:center;padding:28px;color:#6b7280;font-weight:800}.ghc-customer-team-note{display:block;margin-top:5px;color:#2563eb;font-size:10px;font-weight:850}
.ghc-team-hours-summary{margin-bottom:16px;border:1px solid #bfdbfe;background:linear-gradient(135deg,#fff,#faf7ff)}.ghc-team-hours-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.ghc-team-hours-heading h3{margin:2px 0 0}.ghc-team-hours-heading small{color:#6b7280;font-weight:700}.ghc-hours-total{color:#18864b}
.ghc-team-day-note{margin:11px 0 8px;padding:10px 12px;border-left:4px solid var(--ghc-team-color);border-radius:9px;background:#eff6ff}.ghc-team-day-note strong{display:block;margin-bottom:3px;color:#1d4ed8;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.ghc-team-day-note p{margin:0!important;color:#3b2761!important;font-size:13px!important;font-weight:700;white-space:pre-wrap}.ghc-schedule-note-indicator{display:block;margin-top:4px;color:#2563eb;font-size:10px;font-weight:900}
@media(max-width:760px){.ghc-customer-search-card{grid-template-columns:1fr;gap:8px}.ghc-customer-search-card small{white-space:normal}.ghc-team-hours-heading{align-items:flex-start;flex-direction:column;gap:6px}}
.ghc-past-agendas{margin-top:18px}.ghc-past-agendas-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:13px 17px;border:1px solid #93c5fd;border-radius:14px;background:#fff;color:#1d4ed8;font-size:14px;font-weight:900;box-shadow:0 8px 20px #2563eb14;cursor:pointer}.ghc-past-agendas-toggle strong{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8}.ghc-past-agendas-toggle[aria-expanded="true"]{margin-bottom:12px;background:#f8faff}.ghc-past-agendas .ghc-card{margin-top:0}
