/* GraceRace v32.26 — Owner page design continuity + profile */
body.gr-owner-polish-v38{--gr-navy:#123b76;--gr-green:#079447;--gr-ink:#17283b;--gr-muted:#6d7d8d;--gr-line:#e2e9ef;--gr-bg:#f5f8fb;background:var(--gr-bg)!important}
body.gr-owner-polish-v38 main{background:var(--gr-bg)!important}
.gr-owner-profile-trigger-v38{cursor:pointer;transition:.18s ease}.gr-owner-profile-trigger-v38:hover{background:#f3f7fa!important;border-color:#cfe0e9!important}.gr-owner-profile-trigger-v38 img{width:100%;height:100%;object-fit:cover;border-radius:999px}
body.gr-owner-polish-v38 .gr-owner-page-v38{min-width:0;max-width:1560px;margin:0 auto;font-family:Inter,system-ui,sans-serif}
body.gr-owner-polish-v38 .gr-owner-page-v38>.grid{gap:12px!important}
body.gr-owner-polish-v38 .gr-owner-page-v38 [data-slot="card"],body.gr-owner-polish-v38 .gr-owner-page-v38>section{border:1px solid var(--gr-line)!important;border-radius:9px!important;box-shadow:0 2px 9px rgba(15,23,42,.04)!important;background:#fff!important}
body.gr-owner-polish-v38 .gr-owner-page-v38 [data-slot="card-header"]{padding:13px 15px!important;border-bottom:1px solid #edf1f4}
body.gr-owner-polish-v38 .gr-owner-page-v38 [data-slot="card-title"],body.gr-owner-polish-v38 .gr-owner-page-v38 h2,body.gr-owner-polish-v38 .gr-owner-page-v38 h3{color:var(--gr-navy);font-weight:800}
body.gr-owner-polish-v38 .gr-owner-page-v38 input,body.gr-owner-polish-v38 .gr-owner-page-v38 textarea,body.gr-owner-polish-v38 .gr-owner-page-v38 button[role="combobox"]{border-color:#d9e3e9;border-radius:7px;background:#fff}
body.gr-owner-polish-v38 .gr-owner-page-v38 table{font-size:12px}.gr-owner-page-v38 thead tr{background:#f2f7fa!important}.gr-owner-page-v38 th{color:var(--gr-navy)!important;font-weight:800!important;white-space:nowrap}.gr-owner-page-v38 td{border-color:#edf1f4!important}.gr-owner-page-v38 tbody tr:hover{background:#f8fbfc}
body.gr-owner-polish-v38 .gr-owner-page-v38 .bg-primary{background:var(--gr-green)!important}.gr-owner-page-v38 .text-primary{color:var(--gr-green)!important}
#gr-owner-profile-v38{max-width:1560px;margin:0 auto;display:grid;gap:12px;font-family:Inter,system-ui,sans-serif}.gr-owner-page-banner{min-height:108px;border-radius:10px;padding:22px 25px;color:#fff;background:linear-gradient(115deg,#043b43,#087548 62%,#87a92d);display:flex;align-items:center;box-shadow:0 3px 10px rgba(15,23,42,.08)}.gr-owner-page-banner small{font-size:10px;font-weight:800;letter-spacing:.12em;opacity:.8}.gr-owner-page-banner h2{font-size:25px;line-height:1.1;margin:5px 0 4px;font-weight:800}.gr-owner-page-banner p{font-size:12px;margin:0;opacity:.88}.gr-owner-profile-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px}.gr-owner-profile-photo-card,.gr-owner-profile-form{background:#fff;border:1px solid var(--gr-line);border-radius:10px;box-shadow:0 2px 9px rgba(15,23,42,.04)}.gr-owner-profile-photo-card{padding:28px 20px;text-align:center}.gr-owner-profile-photo{width:132px;height:132px;margin:0 auto 14px;border-radius:999px;border:5px solid #fff;box-shadow:0 0 0 1px #dbe5eb,0 5px 18px rgba(15,23,42,.12);display:grid;place-items:center;background:#123b76;color:#fff;font-size:35px;font-weight:800;overflow:hidden}.gr-owner-profile-photo img{width:100%;height:100%;object-fit:cover}.gr-owner-profile-photo-card h3{font-size:18px;color:var(--gr-navy);margin:6px 0 3px}.gr-owner-profile-photo-card p{font-size:12px;color:var(--gr-muted);margin:0 0 18px}.gr-owner-photo-btn{display:block;cursor:pointer;padding:10px 14px;border-radius:7px;background:var(--gr-green);color:#fff;font-size:12px;font-weight:800}.gr-owner-photo-remove{margin-top:8px;border:0;background:none;color:#c24141;font-size:11px;cursor:pointer}.gr-owner-profile-form{padding:0 20px 20px}.gr-owner-profile-form-head{margin:0 -20px 18px;padding:15px 20px;border-bottom:1px solid #edf1f4}.gr-owner-profile-form-head h3{margin:0;color:var(--gr-navy);font-size:16px}.gr-owner-profile-form-head span{font-size:11px;color:var(--gr-muted)}.gr-owner-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gr-owner-form-grid label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#43566a}.gr-owner-form-grid label.wide{grid-column:1/-1}.gr-owner-form-grid input,.gr-owner-form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #d9e3e9;border-radius:7px;padding:10px 11px;font:inherit;font-size:13px;color:var(--gr-ink);outline:none}.gr-owner-form-grid input:focus,.gr-owner-form-grid textarea:focus{border-color:#6fb493;box-shadow:0 0 0 3px rgba(7,148,71,.09)}.gr-owner-profile-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.gr-owner-profile-actions button{border:1px solid #d9e3e9;background:#fff;border-radius:7px;padding:9px 16px;font-size:12px;font-weight:800;cursor:pointer}.gr-owner-profile-actions button[type="submit"]{background:var(--gr-green);border-color:var(--gr-green);color:#fff}
@media(max-width:900px){.gr-owner-profile-grid{grid-template-columns:1fr}.gr-owner-profile-photo-card{display:grid;grid-template-columns:auto 1fr;column-gap:18px;text-align:left;align-items:center}.gr-owner-profile-photo{grid-row:1/5;margin:0;width:96px;height:96px}.gr-owner-photo-btn,.gr-owner-photo-remove{max-width:220px;text-align:center}}
@media(max-width:600px){.gr-owner-form-grid{grid-template-columns:1fr}.gr-owner-form-grid label.wide{grid-column:auto}.gr-owner-page-banner{padding:18px}.gr-owner-profile-photo-card{display:block;text-align:center}.gr-owner-profile-photo{margin:0 auto 14px}.gr-owner-photo-btn{max-width:none}.gr-owner-profile-actions{flex-direction:column-reverse}.gr-owner-profile-actions button{width:100%}}

/* v32.27 integrated Employee Management */
#gr-owner-employee-management-inline{min-width:0;width:100%}
#gr-owner-employee-management-inline .ew-owner-inline-wrap{max-width:none;margin:0;padding:0}
#gr-owner-employee-management-inline .ew-page-title{margin:0 0 12px;padding:18px 20px;border:1px solid #e3eaf0;border-radius:10px;background:#fff;align-items:center}
#gr-owner-employee-management-inline .ew-page-title h1{font-size:20px;color:#123b76}
#gr-owner-employee-management-inline .ew-page-title p{font-size:12px;margin-top:4px}
#gr-owner-employee-management-inline .ew-tabs{padding:7px;background:#fff;border:1px solid #e3eaf0;border-radius:10px;box-shadow:0 2px 8px rgba(15,23,42,.04);margin-bottom:12px}
#gr-owner-employee-management-inline .ew-card{border-color:#e3eaf0;box-shadow:0 2px 8px rgba(15,23,42,.04)}
#gr-owner-employee-management-inline .ew-card-head h2{color:#123b76;font-weight:800}
#gr-owner-employee-management-inline .ew-btn.primary{background:#079447;border-color:#079447}
@media(max-width:720px){#gr-owner-employee-management-inline .ew-page-title{padding:14px;align-items:flex-start}.ew-form-grid{grid-template-columns:1fr!important}}
