/* =============================================================
   Emiliapro Services System — Frontend CSS v2.1
   Prefix: .emiliapro-
   ============================================================= */

/* ── Reset & Variables ── */
/* v3.15.41: no global reset. Keep box sizing scoped to plugin UI only so theme/header/images/links are not disturbed. */
.emiliapro-page, .emiliapro-page *,
.emiliapro-plugin-page-main, .emiliapro-plugin-page-main *,
.emiliapro-services-page, .emiliapro-services-page *,
.emiliapro-directory-page, .emiliapro-directory-page *,
.emiliapro-service-page, .emiliapro-service-page *,
.eps-company-dashboard-page, .eps-company-dashboard-page *,
.eps-company-wizard, .eps-company-wizard *,
.eps-company-register-page, .eps-company-register-page * { box-sizing: border-box; }

:root {
  --eps-purple:        #6f2383;
  --eps-purple-dark:   #4a1658;
  --eps-purple-light:  #f3eaf7;
  --eps-purple-border: #d6b8e0;
  --eps-border:        #e0e2e8;
  --eps-text:          #1a1a2e;
  --eps-muted:         #666672;
  --eps-input-border:  #b0b3bb;
  --eps-white:         #ffffff;
  --eps-success:       #27ae60;
  --eps-danger:        #c0392b;
  --eps-radius:        6px;
  --eps-max-width:     1056px;
  --eps-shadow:        0 1px 6px rgba(0,0,0,.08);
  --eps-shadow-hover:  0 4px 20px rgba(111,35,131,.12);
}

.eps-customer-job-list,.eps-user-work-list{display:grid;gap:16px}.eps-customer-job-card,.eps-user-work-card{border:1px solid var(--eps-border);border-radius:8px;background:#fff;padding:20px}.eps-customer-job-card>header,.eps-user-work-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.eps-customer-job-card h2{font-size:20px!important;margin:0 0 5px}.eps-customer-job-card p{margin:6px 0 14px}.eps-work-status{padding:6px 10px;border-radius:16px;background:#fff4db;color:#805b00;font-size:13px;font-weight:600;white-space:nowrap}.eps-work-status.is-complete{background:#e5f6e9;color:#216b34}.eps-customer-review-record,.eps-user-review-record{margin-top:16px;padding:14px;background:#f8f5fa;border-radius:6px}.eps-history-review-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.eps-history-review-images img{display:block;width:76px;height:76px;object-fit:cover;border-radius:4px}.eps-user-work-card>header span{color:#68616e;font-size:13px}.eps-user-work-card .emiliapro-btn{margin-top:10px}@media(max-width:700px){.eps-customer-job-card>header,.eps-user-work-card>header{flex-direction:column;gap:8px}}
.eps-public-profile-settings .emiliapro-h1{font-size:32px!important;line-height:1.15!important;letter-spacing:-.02em!important;margin:0 0 8px!important}.eps-public-profile-settings .eps-profile-settings-card h2{font-size:23px!important;line-height:1.25!important}.eps-public-profile-settings .eps-profile-settings-card{padding:20px}.eps-public-profile-settings textarea{min-height:140px!important}@media(max-width:700px){.eps-public-profile-settings .emiliapro-h1{font-size:27px!important}.eps-public-profile-settings .eps-profile-settings-card h2{font-size:21px!important}}

/* ─── Hide theme sidebar on plugin pages without touching header/footer containers ─── */
body.emiliapro-full-page .widget-area,
body.emiliapro-full-page #secondary,
body.emiliapro-full-page #sidebar,
body.emiliapro-full-page aside.widget-area { display: none !important; }

body.emiliapro-full-page #primary,
body.emiliapro-full-page .content-area,
body.emiliapro-full-page main#emiliapro-plugin-page,
body.emiliapro-full-page main.site-main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.emiliapro-full-page main#emiliapro-plugin-page,
body.emiliapro-full-page .emiliapro-plugin-page-main {
  margin: 0 !important;
  padding: 0 !important;
}

/* ═══════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════ */
.emiliapro-page {
  max-width: var(--eps-max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--eps-text);
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.emiliapro-h1 {
  font-size: 36px; font-weight: 700; line-height: 1.15;
  margin-bottom: 14px; color: var(--eps-text);
}
.emiliapro-h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.emiliapro-lead {
  font-size: 16px; color: var(--eps-muted);
  margin-bottom: 32px; max-width: 720px; line-height: 1.6;
}
.emiliapro-muted  { color: var(--eps-muted); }
.emiliapro-small  { font-size: 13px; }
.emiliapro-optional { font-size: 18px; font-weight: 400; color: var(--eps-muted); }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.emiliapro-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px;
  border-radius: var(--eps-radius);
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: 2px solid transparent;
  transition: all .15s ease;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.emiliapro-btn-primary  { background: var(--eps-purple); color: #fff !important; border-color: var(--eps-purple); }
.emiliapro-btn-primary:hover { background: var(--eps-purple-dark); border-color: var(--eps-purple-dark); color: #fff !important; text-decoration: none; }
.emiliapro-btn-outline  { background: transparent; color: var(--eps-purple) !important; border-color: var(--eps-purple); }
.emiliapro-btn-outline:hover { background: var(--eps-purple-light); text-decoration: none; }
.emiliapro-btn-danger   { background: var(--eps-danger); color: #fff !important; border-color: var(--eps-danger); }
.emiliapro-btn-danger:hover { background: #a93226; border-color: #a93226; }
.emiliapro-btn-full     { width: 100%; }
.emiliapro-btn-sm       { height: 38px; padding: 0 16px; font-size: 14px; }
.emiliapro-btn-row      { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   FORM INPUTS
   ═══════════════════════════════════════ */
.emiliapro-input {
  width: 100%; height: 50px;
  border: 1.5px solid var(--eps-input-border);
  border-radius: var(--eps-radius);
  padding: 0 14px; font-size: 16px; font-family: inherit;
  color: var(--eps-text); background: var(--eps-white);
  outline: none; transition: border-color .15s;
  appearance: none;
}
.emiliapro-input:focus { border-color: var(--eps-purple); box-shadow: 0 0 0 3px rgba(111,35,131,.1); }
.emiliapro-input::placeholder { color: #b8bcc6; }

.emiliapro-textarea {
  width: 100%;
  border: 1.5px solid var(--eps-input-border);
  border-radius: var(--eps-radius);
  padding: 12px 14px; font-size: 16px; font-family: inherit;
  color: var(--eps-text); resize: vertical; background: var(--eps-white);
  outline: none; transition: border-color .15s;
}
.emiliapro-textarea:focus { border-color: var(--eps-purple); }

.emiliapro-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.emiliapro-required { color: var(--eps-purple); font-size: 13px; margin-left: 2px; }
.emiliapro-field { display: flex; flex-direction: column; }

.emiliapro-phone-wrap   { display: flex; }
.emiliapro-phone-prefix {
  height: 50px; line-height: 50px; padding: 0 12px;
  border: 1.5px solid var(--eps-input-border); border-right: none;
  border-radius: var(--eps-radius) 0 0 var(--eps-radius);
  background: #f5f5f7; font-size: 16px; flex-shrink: 0;
}
.emiliapro-phone-input { border-radius: 0 var(--eps-radius) var(--eps-radius) 0; }

.emiliapro-checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--eps-muted); cursor: pointer; line-height: 1.5;
}
.emiliapro-checkbox-label input[type="checkbox"] {
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--eps-purple); width: 16px; height: 16px;
}

/* ═══════════════════════════════════════
   LINKS / MESSAGES
   ═══════════════════════════════════════ */
.emiliapro-link { color: var(--eps-purple); text-decoration: underline; cursor: pointer; }
.emiliapro-link:hover { color: var(--eps-purple-dark); }
.emiliapro-form-error { color: var(--eps-danger); font-size: 14px; }
.emiliapro-success-msg { color: var(--eps-success); font-size: 14px; }
.emiliapro-notice {
  padding: 12px 16px; border-radius: var(--eps-radius); font-size: 14px; margin-bottom: 16px;
}
.emiliapro-notice-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.emiliapro-notice-error   { background: #fce4ec; color: #880e4f; border: 1px solid #f48fb1; }

/* ═══════════════════════════════════════
   SERVICES LIST PAGE
   ═══════════════════════════════════════ */
.emiliapro-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
}
.emiliapro-service-item {
  padding: 0;
  border-bottom: 1px solid var(--eps-border);
}
.emiliapro-service-link {
  display: block;
  padding: 14px 12px 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--eps-purple) !important;
  text-decoration: none;
  line-height: 1.4;
  transition: color .12s;
}
.emiliapro-service-link:hover {
  color: var(--eps-purple-dark) !important;
  text-decoration: underline;
}

/* ═══════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════ */
.emiliapro-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--eps-muted); margin-bottom: 18px; flex-wrap: wrap;
}
.emiliapro-breadcrumb a { color: var(--eps-muted); text-decoration: none; }
.emiliapro-breadcrumb a:hover { color: var(--eps-purple); text-decoration: underline; }
.emiliapro-bc-sep { color: var(--eps-border); }
.emiliapro-breadcrumb-home { display: flex; align-items: center; }

/* ═══════════════════════════════════════
   SERVICE REQUEST FORM (single-services)
   ═══════════════════════════════════════ */
.emiliapro-service-page .emiliapro-h1 { font-size: 32px; margin-bottom: 10px; }
.emiliapro-form-wrap { max-width: 600px; margin-top: 28px; }

/* CAP card */
.emiliapro-cap-card {
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  padding: 24px;
  background: var(--eps-white);
}
.emiliapro-cap-card .emiliapro-label { font-size: 15px; margin-bottom: 8px; }

/* Locality */
.emiliapro-locality-card {
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  padding: 24px;
  background: var(--eps-white);
}
.emiliapro-radio-list  { display: flex; flex-direction: column; gap: 10px; }
.emiliapro-radio-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border: 1.5px solid var(--eps-border);
  border-radius: var(--eps-radius);
  cursor: pointer; font-size: 15px;
  transition: border-color .15s, background .12s;
}
.emiliapro-radio-option:hover, .emiliapro-radio-option.selected {
  border-color: var(--eps-purple); background: var(--eps-purple-light);
}
.emiliapro-radio-circle {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--eps-input-border); flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.emiliapro-radio-option.selected .emiliapro-radio-circle {
  border-color: var(--eps-purple); background: var(--eps-purple);
  box-shadow: inset 0 0 0 5px #fff;
}

/* Step form header */
.emiliapro-form-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--eps-border); margin-bottom: 28px;
}
.emiliapro-form-brand    { font-size: 17px; font-weight: 700; color: var(--eps-purple); flex-shrink: 0; }
.emiliapro-form-svc-name { font-size: 13px; color: var(--eps-muted); flex: 1; }
.emiliapro-progress-wrap { display: flex; align-items: center; gap: 8px; flex: 2; min-width: 120px; }
.emiliapro-progress-bar  { flex: 1; height: 4px; background: var(--eps-border); border-radius: 2px; overflow: hidden; }
.emiliapro-progress-fill { height: 100%; background: var(--eps-purple); border-radius: 2px; transition: width .3s ease; }
.emiliapro-progress-label { font-size: 12px; color: var(--eps-muted); white-space: nowrap; }
.emiliapro-close-btn { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--eps-muted); padding: 4px; }
.emiliapro-close-btn:hover { color: var(--eps-text); }

/* Question steps */
.emiliapro-form-body    { padding: 0; }
.emiliapro-question-title { font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.emiliapro-question-sub   { font-size: 14px; color: var(--eps-muted); margin-bottom: 20px; }
.emiliapro-options-list   { display: flex; flex-direction: column; gap: 10px; }
.emiliapro-option-card {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding: 14px 18px;
  border: 1.5px solid var(--eps-border); border-radius: var(--eps-radius);
  cursor: pointer; font-size: 15px;
  transition: border-color .15s, background .12s;
}
.emiliapro-option-card:hover, .emiliapro-option-card.selected {
  border-color: var(--eps-purple); background: var(--eps-purple-light);
}
.emiliapro-option-radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--eps-input-border); flex-shrink: 0;
  transition: border-color .15s;
}
.emiliapro-option-card.selected .emiliapro-option-radio {
  border-color: var(--eps-purple); background: var(--eps-purple);
  box-shadow: inset 0 0 0 5px #fff;
}
.emiliapro-form-footer {
  display: flex; gap: 12px; margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--eps-border);
}

/* Confirmation */
.emiliapro-confirm-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  padding: 48px 40px; text-align: center; max-width: 520px;
}
.emiliapro-confirm-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--eps-success); color: #fff; font-size: 34px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════ */
.emiliapro-auth-page {
  display: flex; justify-content: center;
  align-items: flex-start; padding-top: 60px; padding-bottom: 80px;
}
.emiliapro-auth-box {
  width: 100%; max-width: 440px;
  background: var(--eps-white);
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  padding: 40px 36px; box-shadow: var(--eps-shadow);
}
.emiliapro-auth-logo { text-align: center; margin-bottom: 24px; }
.emiliapro-auth-logo-text { font-size: 28px; font-weight: 800; color: var(--eps-purple); }

/* ═══════════════════════════════════════
   DASHBOARD — TOP NAV
   ═══════════════════════════════════════ */
.emiliapro-dash-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--eps-border);
  margin-bottom: 24px; flex-wrap: wrap; gap: 10px;
}
.emiliapro-back-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--eps-text); text-decoration: none;
  font-size: 14px; font-weight: 500;
}
.emiliapro-back-link:hover { color: var(--eps-purple); text-decoration: none; }
.emiliapro-dash-nav-links { display: flex; align-items: center; gap: 20px; }
.emiliapro-dash-nav-link { font-size: 14px; font-weight: 600; color: var(--eps-purple); text-decoration: none; }
.emiliapro-dash-nav-link:hover { text-decoration: underline; }
.emiliapro-dash-logout { color: var(--eps-muted) !important; font-weight: 400; }

/* ─── Page title block ─── */
.emiliapro-detail-header { margin-bottom: 24px; }
.emiliapro-page-title {
  font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 10px;
}
.emiliapro-page-title span { color: var(--eps-text); }

/* ─── Tab links under title ─── */
.emiliapro-detail-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.emiliapro-tab-link {
  font-size: 14px; font-weight: 600; color: var(--eps-muted);
  text-decoration: none; cursor: pointer;
  transition: color .12s;
}
.emiliapro-tab-link:hover { color: var(--eps-purple); }
.emiliapro-tab-link.active { color: var(--eps-purple); }
.emiliapro-tab-close { color: var(--eps-muted); }
.emiliapro-tab-sep { color: var(--eps-border); font-size: 16px; }

/* ═══════════════════════════════════════
   DASHBOARD — TWO-COLUMN LAYOUT
   ═══════════════════════════════════════ */
.emiliapro-detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

/* ─── LEFT SIDEBAR ─── */
.emiliapro-detail-sidebar { display: flex; flex-direction: column; gap: 16px; }

.emiliapro-sidebar-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  padding: 20px 20px;
  overflow: hidden;
}
.emiliapro-sidebar-heading {
  font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--eps-text);
}
.emiliapro-sidebar-body {
  font-size: 14px; color: var(--eps-muted); line-height: 1.55;
}
.emiliapro-sidebar-svc-name {
  font-size: 14px; color: var(--eps-muted); margin-bottom: 12px;
}
.emiliapro-sidebar-status {
  display: flex; align-items: center; gap: 6px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--eps-border);
  font-size: 13px; color: var(--eps-muted);
}
.emiliapro-sidebar-cta-link {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--eps-border);
  font-size: 14px; font-weight: 700; color: var(--eps-text);
  cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.emiliapro-sidebar-cta-link:hover { color: var(--eps-purple); }

/* ─── Nav card ─── */
.emiliapro-sidebar-nav { display: flex; flex-direction: column; margin-top: 4px; }
.emiliapro-sidebar-nav-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0 13px 12px;
  border-bottom: 1px solid var(--eps-border);
  font-size: 14px; font-weight: 500;
  color: var(--eps-text); text-decoration: none;
  cursor: pointer;
  border-left: 3px solid transparent;
  margin-left: -20px; padding-left: 17px;
  transition: color .12s, border-left-color .12s;
}
.emiliapro-sidebar-nav-item:last-child { border-bottom: none; }
.emiliapro-sidebar-nav-item:hover { color: var(--eps-purple); text-decoration: none; }
.emiliapro-sidebar-nav-item.active {
  color: var(--eps-purple);
  border-left-color: var(--eps-purple);
  font-weight: 600;
}
.emiliapro-nav-close { color: var(--eps-muted) !important; }

/* ─── RIGHT MAIN ─── */
.emiliapro-detail-main { display: flex; flex-direction: column; gap: 0; }

/* Meta bar */
.emiliapro-meta-bar {
  display: flex; align-items: center;
  background: var(--eps-purple-light);
  border: 1px solid var(--eps-purple-border);
  border-radius: var(--eps-radius);
  padding: 10px 18px;
  margin-bottom: 16px;
  flex-wrap: wrap; gap: 6px;
}
.emiliapro-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; color: var(--eps-text); padding: 2px 8px;
}
.emiliapro-meta-div {
  width: 1px; height: 16px; background: var(--eps-purple-border);
  flex-shrink: 0; align-self: center;
}

/* Description card */
.emiliapro-desc-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  padding: 24px 28px;
}
.emiliapro-desc-heading {
  font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--eps-text);
}

/* Description table */
.emiliapro-desc-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.emiliapro-desc-table tr {
  border-bottom: 1px solid var(--eps-border);
}
.emiliapro-desc-table tr:last-child { border-bottom: none; }
.emiliapro-desc-label {
  padding: 12px 16px 12px 0;
  color: var(--eps-muted); width: 200px; vertical-align: top;
  white-space: nowrap; font-weight: 400;
}
.emiliapro-desc-value {
  padding: 12px 0; color: var(--eps-text); font-weight: 500; vertical-align: top;
}

/* Additional info block */
.emiliapro-additional-block {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--eps-border);
}
.emiliapro-additional-label {
  font-size: 14px; color: var(--eps-muted); margin-bottom: 6px;
}
.emiliapro-additional-text { font-size: 15px; color: var(--eps-text); }

/* CTA inside description card */
.emiliapro-desc-cta {
  margin-top: 20px;
  background: var(--eps-purple-light);
  border: 1px solid var(--eps-purple-border);
  border-radius: var(--eps-radius);
  padding: 14px 18px;
  font-size: 14px; line-height: 1.55;
}

/* ═══════════════════════════════════════
   MY REQUESTS PAGE
   ═══════════════════════════════════════ */
.emiliapro-mr-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.emiliapro-mr-actions { display: flex; gap: 10px; }

.emiliapro-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--eps-purple-light);
  border: 1px solid var(--eps-purple-border);
  border-radius: var(--eps-radius);
  padding: 16px 20px; margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.emiliapro-banner-link { font-size: 14px; font-weight: 700; color: var(--eps-purple); text-decoration: none; white-space: nowrap; }
.emiliapro-banner-link:hover { text-decoration: underline; }

.emiliapro-request-list { display: flex; flex-direction: column; gap: 16px; }
.emiliapro-request-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  overflow: hidden; transition: box-shadow .15s;
}
.emiliapro-request-card:hover { box-shadow: var(--eps-shadow-hover); }
.emiliapro-request-card-body { padding: 20px 24px; }
.emiliapro-request-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.emiliapro-request-title { font-size: 17px; font-weight: 700; }
.emiliapro-request-date, .emiliapro-request-city { font-size: 14px; color: var(--eps-muted); }
.emiliapro-badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.emiliapro-badge-active { background: #e8f5e9; color: #2e7d32; }
.emiliapro-badge-closed { background: #fce4ec; color: #c62828; }
.emiliapro-request-note { font-size: 14px; color: var(--eps-muted); margin-bottom: 8px; }
.emiliapro-request-card-footer {
  border-top: 1px solid var(--eps-border);
  padding: 12px 24px; display: flex; align-items: center; justify-content: flex-end; gap: 10px;
}

/* ═══════════════════════════════════════
   EMPTY / MISC
   ═══════════════════════════════════════ */
.emiliapro-empty-state { text-align: center; padding: 60px 24px; color: var(--eps-muted); line-height: 2; }
.emiliapro-empty-dashboard { text-align: center; padding: 60px 24px; max-width: 480px; margin: 0 auto; }
.emiliapro-empty-icon { font-size: 48px; margin-bottom: 16px; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .emiliapro-services-grid     { grid-template-columns: repeat(2, 1fr); }
  .emiliapro-detail-layout      { grid-template-columns: 1fr; }
  .emiliapro-detail-sidebar     { order: 2; }
  .emiliapro-detail-main        { order: 1; }
  .emiliapro-sidebar-nav-item  { margin-left: -20px; padding-left: 20px; border-left: 3px solid transparent; }
  .emiliapro-sidebar-nav-item.active { border-left-color: var(--eps-purple); }
}
@media (max-width: 600px) {
  .emiliapro-page         { padding: 20px 16px 48px; }
  .emiliapro-h1           { font-size: 24px; }
  .emiliapro-page-title   { font-size: 20px; }
  .emiliapro-question-title { font-size: 20px; }
  .emiliapro-services-grid  { grid-template-columns: 1fr; }
  .emiliapro-form-wrap      { max-width: 100%; }
  .emiliapro-form-header    { flex-wrap: wrap; }
  .emiliapro-form-footer    { flex-direction: column; }
  .emiliapro-form-footer .emiliapro-btn { width: 100%; }
  .emiliapro-btn-row        { flex-direction: column; }
  .emiliapro-btn-row .emiliapro-btn { width: 100%; }
  .emiliapro-auth-box       { padding: 28px 20px; }
  .emiliapro-auth-page      { padding-top: 24px; }
  .emiliapro-confirm-card   { padding: 32px 20px; }
  .emiliapro-banner         { flex-direction: column; }
  .emiliapro-meta-bar       { flex-direction: column; align-items: flex-start; }
  .emiliapro-meta-div       { display: none; }
  .emiliapro-desc-label     { width: auto; white-space: normal; }
  .emiliapro-desc-table tr  { display: flex; flex-direction: column; padding: 8px 0; }
  .emiliapro-desc-label, .emiliapro-desc-value { padding: 2px 0; }
  .emiliapro-dash-nav       { flex-direction: column; align-items: flex-start; }
  .emiliapro-detail-tabs    { flex-wrap: wrap; }
  .emiliapro-mr-header      { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   Custom refinement v2.2 — competitor-style layout fixes
   ============================================================= */

/* Remove theme page titles/headers on plugin shortcode pages. */
body.emiliapro-full-page .entry-header,
body.emiliapro-full-page header.entry-header,
body.emiliapro-full-page .page-header,
body.emiliapro-full-page .entry-title,
body.emiliapro-full-page .page-title,
body.emiliapro-full-page h1.entry-title,
body.emiliapro-full-page h1.page-title,
body.emiliapro-full-page .wp-block-post-title {
  display: none !important;
}

body.emiliapro-full-page .emiliapro-plugin-page-main,
body.emiliapro-full-page main.site-main,
body.emiliapro-full-page .emiliapro-page {
  max-width: 100% !important;
}

.emiliapro-plugin-page-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Services main page: Emiliapro-style list, no stretched card border. */
.emiliapro-services-page {
  max-width: 1056px;
  padding-top: 54px;
  padding-bottom: 80px;
}
.emiliapro-services-page .emiliapro-h1 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.emiliapro-services-page .emiliapro-lead {
  max-width: 930px;
  margin-bottom: 28px;
  color: #1f2430;
  font-size: 17px;
  line-height: 1.65;
}
.emiliapro-services-grid,
#emiliapro-services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 28px;
  row-gap: 0;
  margin-top: 18px;
  border: 0 !important;
  background: transparent !important;
}
.emiliapro-service-item,
.emiliapro-service-card {
  min-height: 86px;
  border: 0 !important;
  border-bottom: 1px solid #e8e1ee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.emiliapro-service-link,
.emiliapro-service-card a {
  display: block;
  padding: 22px 0 18px 0 !important;
  color: var(--eps-purple) !important;
  font-size: 16px !important;
  line-height: 1.45;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.emiliapro-service-link:hover,
.emiliapro-service-card a:hover {
  color: var(--eps-purple-dark) !important;
  text-decoration: underline !important;
}

/* Single service detail page: professional heading and bordered CAP input. */
.emiliapro-service-page {
  max-width: 1056px;
  padding-top: 56px;
  padding-bottom: 72px;
}
.emiliapro-service-page .emiliapro-breadcrumb {
  margin-bottom: 24px;
}
.emiliapro-service-page .emiliapro-h1 {
  max-width: 900px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.emiliapro-service-page .emiliapro-lead {
  max-width: 840px;
  color: #465064;
  font-size: 17px;
  margin-bottom: 34px;
}
.emiliapro-service-page .emiliapro-form-wrap {
  width: 100%;
  max-width: 600px;
  margin-top: 22px;
}
.emiliapro-cap-card,
.emiliapro-locality-card {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.emiliapro-cap-card .emiliapro-input,
.emiliapro-locality-card .emiliapro-input,
#eps-cap-input {
  height: 58px !important;
  border: 1px solid #d7d9e2 !important;
  border-radius: 2px !important;
  background: #ffffff !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  box-shadow: none !important;
}
.emiliapro-cap-card .emiliapro-input:focus,
#eps-cap-input:focus {
  border-color: var(--eps-purple) !important;
  box-shadow: 0 0 0 3px rgba(111,35,131,.10) !important;
}
.emiliapro-cap-card .emiliapro-btn-primary,
#eps-cap-next {
  height: 54px !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* Dashboard/detail page: competitor-like sidebar + card layout, no huge empty page title area. */
#emiliapro-dashboard.emiliapro-page {
  max-width: 1056px;
  padding-top: 46px;
  padding-bottom: 72px;
}
.emiliapro-dash-nav {
  margin-bottom: 22px;
  padding-bottom: 18px;
}
.emiliapro-detail-header {
  margin-bottom: 16px;
}
.emiliapro-page-title {
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.emiliapro-detail-tabs {
  gap: 8px;
}
.emiliapro-detail-layout {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 650px) !important;
  gap: 20px !important;
  align-items: start;
  justify-content: start;
}
.emiliapro-detail-sidebar {
  gap: 14px;
}
.emiliapro-sidebar-card {
  border: 1px solid #ddd8e4 !important;
  border-radius: 3px !important;
  padding: 16px 16px !important;
  box-shadow: none !important;
}
.emiliapro-sidebar-heading {
  font-size: 14px !important;
  margin-bottom: 10px !important;
}
.emiliapro-sidebar-body,
.emiliapro-sidebar-svc-name {
  font-size: 13px !important;
}
.emiliapro-sidebar-status,
.emiliapro-sidebar-cta-link {
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.emiliapro-sidebar-nav-item {
  margin-left: -16px !important;
  margin-right: -16px;
  padding-left: 16px !important;
  padding-right: 12px;
}
.emiliapro-detail-main {
  width: 100%;
  max-width: 650px;
}
.emiliapro-meta-bar {
  border-radius: 3px !important;
  border-color: #e4d7ea !important;
  background: #f3eaf7 !important;
  padding: 9px 14px !important;
  margin-bottom: 12px !important;
}
.emiliapro-desc-card {
  border: 1px solid #dddfe6 !important;
  border-radius: 4px !important;
  padding: 22px 22px !important;
  box-shadow: none !important;
}
.emiliapro-desc-heading {
  font-size: 19px !important;
}
.emiliapro-desc-label {
  width: 190px;
  color: #6f7280;
}
.emiliapro-desc-cta {
  background: #f3eaf7 !important;
  border-color: #e4d7ea !important;
  border-radius: 3px !important;
}

/* My requests page: keep clean 1056px without theme sidebar. */
#emiliapro-my-requests.emiliapro-page {
  max-width: 1056px;
  padding-top: 48px;
}

/* Repair accidental duplicated rule in older CSS by redefining cleanly. */
.emiliapro-request-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-border);
  border-radius: var(--eps-radius);
  overflow: hidden;
  transition: box-shadow .15s;
}

@media (max-width: 900px) {
  .emiliapro-services-grid,
  #emiliapro-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 22px; }
  .emiliapro-service-page .emiliapro-h1 { font-size: 34px; }
  .emiliapro-detail-layout { grid-template-columns: 1fr !important; }
  .emiliapro-detail-main { max-width: 100%; }
}
@media (max-width: 600px) {
  .emiliapro-services-page,
  .emiliapro-service-page,
  #emiliapro-dashboard.emiliapro-page,
  #emiliapro-my-requests.emiliapro-page { padding-left: 18px; padding-right: 18px; }
  .emiliapro-services-grid,
  #emiliapro-services-grid { grid-template-columns: 1fr !important; }
  .emiliapro-services-page .emiliapro-h1,
  .emiliapro-service-page .emiliapro-h1 { font-size: 28px; }
}

/* ═══════════════════════════════════════
   DASHBOARD EDIT PANEL — Emiliapro-style
   ═══════════════════════════════════════ */
.emiliapro-edit-card {
  background: #fff;
  border: 1px solid #dddfe6;
  border-radius: 4px;
  padding: 26px 28px;
  box-shadow: none;
}
.emiliapro-edit-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--eps-text);
}
.emiliapro-edit-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 14px;
}
.emiliapro-edit-summary-table tr { border-bottom: 1px solid #e5e1eb; }
.emiliapro-edit-summary-table td {
  padding: 9px 0;
  vertical-align: top;
}
.emiliapro-edit-summary-table td:first-child {
  width: 210px;
  color: #777987;
}
.emiliapro-edit-summary-table td:last-child {
  color: #24232d;
  font-weight: 500;
}
.emiliapro-edit-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #666672;
  font-size: 13px;
  line-height: 1.45;
  margin: 18px 0 24px;
}
.emiliapro-edit-warning-icon {
  color: var(--eps-purple);
  font-weight: 700;
  line-height: 1.2;
}
.emiliapro-edit-field { margin-top: 20px; }
.emiliapro-optional-small {
  color: #666672;
  font-weight: 400;
}
.emiliapro-edit-help {
  color: #777987;
  font-size: 13px;
  line-height: 1.45;
  margin: -2px 0 10px;
}
.emiliapro-edit-textarea {
  min-height: 132px;
  border-color: #b7bac4;
  border-radius: 3px;
}
.emiliapro-upload-box {
  background: #f4f5f8;
  border: 1px solid #dfe2e8;
  border-radius: 6px;
  padding: 22px 20px;
  text-align: center;
}
.emiliapro-upload-input {
  width: 1px;
  height: 1px;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
.emiliapro-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #d1d5df;
  border-radius: 4px;
  color: #292b35;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.emiliapro-upload-button:hover { border-color: var(--eps-purple); color: var(--eps-purple); }
.emiliapro-upload-note {
  margin-top: 14px;
  color: #555966;
  font-size: 13px;
}
.emiliapro-upload-file-list {
  margin-top: 10px;
  color: #292b35;
  font-size: 13px;
  line-height: 1.5;
}
.emiliapro-current-files {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
}
.emiliapro-current-files a { color: var(--eps-purple); }
.emiliapro-edit-checkbox {
  margin-top: 22px;
}
.emiliapro-edit-actions {
  margin-top: 24px;
}
.emiliapro-edit-actions .emiliapro-btn-outline {
  background: #fff;
}

/* ═══════════════════════════════════════
   USER ↔ ADMIN CHAT
   ═══════════════════════════════════════ */
.emiliapro-chat-mini-card .emiliapro-sidebar-chat-link {
  margin-top: 12px !important;
  border-top: 1px solid var(--eps-border);
}
.emiliapro-chat-card {
  background: #fff;
  border: 1px solid #dddfe6;
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
}
.emiliapro-chat-header {
  padding: 22px 24px;
  border-bottom: 1px solid #e5e1eb;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.emiliapro-chat-header .emiliapro-desc-heading {
  margin-bottom: 4px !important;
}
.emiliapro-chat-subtitle {
  color: #666672;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}
.emiliapro-chat-badge {
  background: #f3eaf7;
  color: var(--eps-purple);
  border: 1px solid #e4d7ea;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.emiliapro-chat-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  min-width: 42px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--eps-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}
.emiliapro-chat-list {
  height: 360px;
  overflow-y: auto;
  padding: 20px 22px;
  background: #fbfbfd;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.emiliapro-chat-loading,
.emiliapro-chat-empty {
  margin: auto;
  text-align: center;
  color: #777987;
  font-size: 14px;
  line-height: 1.6;
}
.emiliapro-chat-empty strong,
.emiliapro-chat-empty span {
  display: block;
}
.emiliapro-chat-message {
  display: flex;
  width: 100%;
}
.emiliapro-chat-message.is-user {
  justify-content: flex-end;
}
.emiliapro-chat-message.is-admin {
  justify-content: flex-start;
}
.emiliapro-chat-bubble {
  max-width: 78%;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.emiliapro-chat-message.is-user .emiliapro-chat-bubble {
  background: var(--eps-purple);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.emiliapro-chat-message.is-admin .emiliapro-chat-bubble {
  background: #fff;
  color: #22242c;
  border: 1px solid #e3e0e8;
  border-bottom-left-radius: 4px;
}
.emiliapro-chat-sender {
  font-size: 11px;
  font-weight: 700;
  opacity: .75;
  margin-bottom: 3px;
}
.emiliapro-chat-text { word-break: break-word; }
.emiliapro-chat-time {
  font-size: 11px;
  opacity: .65;
  margin-top: 4px;
  text-align: right;
}
.emiliapro-chat-composer {
  border-top: 1px solid #e5e1eb;
  padding: 18px 20px 20px;
  background: #fff;
}
.emiliapro-chat-textarea {
  width: 100%;
  border: 1.5px solid #c4c8d1;
  border-radius: 4px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  min-height: 96px;
  outline: none;
}
.emiliapro-chat-textarea:focus {
  border-color: var(--eps-purple);
  box-shadow: 0 0 0 3px rgba(111,35,131,.09);
}
.emiliapro-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}
.emiliapro-chat-actions #eps-chat-status {
  margin: 0;
  flex: 1;
}

@media (max-width: 900px) {
  .emiliapro-chat-header,
  .emiliapro-chat-actions { flex-direction: column; align-items: stretch; }
  .emiliapro-chat-badge { align-self: flex-start; }
  .emiliapro-chat-bubble { max-width: 90%; }
  .emiliapro-edit-summary-table td:first-child { width: 45%; }
}
@media (max-width: 600px) {
  .emiliapro-edit-card,
  .emiliapro-chat-header,
  .emiliapro-chat-composer { padding-left: 16px; padding-right: 16px; }
  .emiliapro-chat-list { height: 320px; padding-left: 14px; padding-right: 14px; }
  .emiliapro-chat-bubble { max-width: 94%; }
  .emiliapro-edit-summary-table,
  .emiliapro-edit-summary-table tbody,
  .emiliapro-edit-summary-table tr,
  .emiliapro-edit-summary-table td { display: block; width: 100% !important; }
  .emiliapro-edit-summary-table td:first-child { padding-bottom: 2px; }
  .emiliapro-edit-summary-table td:last-child { padding-top: 0; }
}


/* =============================================================
   v2.4 HOTFIX — keep plugin dashboard sidebar visible
   The theme-sidebar hiding rule used [class*="sidebar"], which also hid
   Emiliapro's own dashboard sidebar. These stronger rules restore only
   the plugin sidebar/cards and keep the WordPress theme sidebar hidden.
   ============================================================= */
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-layout {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 660px) !important;
  gap: 28px !important;
  align-items: start !important;
  justify-content: start !important;
  width: 100% !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 300px !important;
  max-width: 300px !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-sidebar-card,
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-sidebar-nav-card {
  display: block !important;
  width: 100% !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-sidebar-nav {
  display: flex !important;
  flex-direction: column !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-sidebar-nav-item,
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-sidebar-chat-link,
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-sidebar-cta-link {
  display: flex !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-sidebar-status {
  display: flex !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-main {
  display: block !important;
  width: 660px !important;
  max-width: 660px !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-panel {
  width: 100% !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-meta-bar {
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-desc-card,
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-edit-card,
body.emiliapro-full-page #emiliapro-dashboard .emiliapro-chat-card {
  width: 100% !important;
  max-width: 100% !important;
}
#emiliapro-dashboard .emiliapro-desc-value,
#emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
  word-break: break-word;
}
#emiliapro-dashboard .emiliapro-desc-value {
  line-height: 1.55;
}
#emiliapro-dashboard .emiliapro-detail-header {
  max-width: 988px;
}
#emiliapro-dashboard .emiliapro-page-title {
  font-size: 32px;
  line-height: 1.16;
}
#emiliapro-dashboard .emiliapro-detail-tabs {
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-layout {
    grid-template-columns: 1fr !important;
  }
  body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-sidebar,
  body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-main {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-sidebar { order: 2; }
  body.emiliapro-full-page #emiliapro-dashboard .emiliapro-detail-main { order: 1; }
}

/* Admin controls */
.eps-danger-zone {
  margin-top: 24px;
  border: 1px solid #f0b4b4;
  background: #fff7f7;
  border-radius: 6px;
  padding: 16px;
}
.eps-danger-zone h3 { margin-top: 0; color: #b42318; }
.eps-danger-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.eps-danger-actions .button-link-delete { color: #b42318; border-color: #b42318; }
.eps-blocked-badge { display:inline-block; margin-left:6px; padding:2px 7px; border-radius:999px; background:#fee4e2; color:#b42318; font-size:11px; font-weight:700; }


/* =============================================================
   v2.5 FINAL DASHBOARD FIX — Emiliapro-style project detail
   This block intentionally does NOT depend only on body classes so it
   survives page-builder/theme wrappers and cached templates.
   ============================================================= */
#emiliapro-dashboard.emiliapro-page {
  width: min(1056px, calc(100vw - 48px)) !important;
  max-width: 1056px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 48px 0 90px !important;
}
#emiliapro-dashboard .emiliapro-dash-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  border-bottom: 1px solid #e5e0ea !important;
  padding-bottom: 18px !important;
  margin-bottom: 26px !important;
}
#emiliapro-dashboard .emiliapro-detail-header {
  width: 100% !important;
  margin-bottom: 54px !important;
}
#emiliapro-dashboard .emiliapro-page-title {
  display: block !important;
  font-size: 32px !important;
  line-height: 1.15 !important;
  font-weight: 750 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 8px 0 !important;
  max-width: 980px !important;
}
#emiliapro-dashboard .emiliapro-detail-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}
#emiliapro-dashboard .emiliapro-detail-layout {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 660px) !important;
  column-gap: 28px !important;
  align-items: start !important;
  justify-content: start !important;
  width: 100% !important;
  min-width: 0 !important;
}
#emiliapro-dashboard .emiliapro-detail-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#emiliapro-dashboard .emiliapro-detail-main {
  display: block !important;
  width: 660px !important;
  max-width: 660px !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#emiliapro-dashboard .emiliapro-sidebar-card,
#emiliapro-dashboard .emiliapro-sidebar-nav-card {
  display: block !important;
  width: 100% !important;
  border: 1px solid #d9dce3 !important;
  border-radius: 4px !important;
  background: #fff !important;
  padding: 18px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
#emiliapro-dashboard .emiliapro-sidebar-heading {
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  margin: 0 0 14px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e1e3e8 !important;
}
#emiliapro-dashboard .emiliapro-sidebar-body,
#emiliapro-dashboard .emiliapro-sidebar-svc-name {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #20232c !important;
}
#emiliapro-dashboard .emiliapro-sidebar-status,
#emiliapro-dashboard .emiliapro-sidebar-cta-link {
  display: flex !important;
  margin-left: -18px !important;
  margin-right: -18px !important;
  padding: 14px 18px !important;
  border-top: 1px solid #e1e3e8 !important;
  background: #f4f5f8 !important;
}
#emiliapro-dashboard .emiliapro-sidebar-nav {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 -18px -18px !important;
}
#emiliapro-dashboard .emiliapro-sidebar-nav-item,
#emiliapro-dashboard .emiliapro-sidebar-chat-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 56px !important;
  padding: 0 18px !important;
  border-top: 1px solid #e1e3e8 !important;
  border-left: 0 !important;
  border-right: 4px solid transparent !important;
  margin: 0 !important;
  color: #20232c !important;
  font-weight: 650 !important;
  font-size: 15px !important;
  background: #fff !important;
  text-decoration: none !important;
}
#emiliapro-dashboard .emiliapro-sidebar-nav-item.active {
  background: #f4edf8 !important;
  color: #1e1723 !important;
  border-right-color: var(--eps-purple) !important;
}
#emiliapro-dashboard .emiliapro-panel {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}
#emiliapro-dashboard .emiliapro-meta-bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 0 18px !important;
  margin: 0 0 20px !important;
  background: #f4edf8 !important;
  border: 0 !important;
  border-radius: 4px !important;
}
#emiliapro-dashboard .emiliapro-desc-card,
#emiliapro-dashboard .emiliapro-edit-card,
#emiliapro-dashboard .emiliapro-chat-card {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #d9dce3 !important;
  border-radius: 4px !important;
  background: #fff !important;
  padding: 24px 26px !important;
  box-shadow: none !important;
}
#emiliapro-dashboard .emiliapro-desc-heading,
#emiliapro-dashboard .emiliapro-edit-title {
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  margin: 0 0 20px !important;
}
#emiliapro-dashboard .emiliapro-desc-table,
#emiliapro-dashboard .emiliapro-edit-summary-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
#emiliapro-dashboard .emiliapro-desc-label,
#emiliapro-dashboard .emiliapro-edit-summary-table td:first-child {
  width: 230px !important;
  max-width: 230px !important;
  color: #656b78 !important;
  font-weight: 400 !important;
  vertical-align: top !important;
  padding: 12px 18px 12px 0 !important;
}
#emiliapro-dashboard .emiliapro-desc-value,
#emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
  color: #15151f !important;
  font-weight: 600 !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  vertical-align: top !important;
  padding: 12px 0 !important;
}
#emiliapro-dashboard .emiliapro-additional-block {
  margin-top: 22px !important;
  padding-top: 22px !important;
  border-top: 1px solid #e1e3e8 !important;
}
#emiliapro-dashboard .emiliapro-desc-cta {
  background: #f4edf8 !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 18px !important;
  margin-top: 24px !important;
  font-size: 15px !important;
}
#emiliapro-dashboard .emiliapro-edit-warning {
  display: flex !important;
  gap: 8px !important;
  color: #5c6370 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  padding: 16px 0 20px !important;
  border-bottom: 1px solid #e1e3e8 !important;
  margin-bottom: 20px !important;
}
#emiliapro-dashboard .emiliapro-edit-textarea {
  min-height: 150px !important;
  border: 1px solid #9ea3ad !important;
  border-radius: 3px !important;
}
#emiliapro-dashboard .emiliapro-upload-box {
  background: #f5f6fa !important;
  border: 1px solid #d9dce3 !important;
  border-radius: 6px !important;
  padding: 24px !important;
  text-align: center !important;
}
#emiliapro-dashboard .emiliapro-chat-list {
  min-height: 310px !important;
}
#emiliapro-dashboard .emiliapro-close-reasons {
  display: grid !important;
  gap: 14px !important;
  margin: 22px 0 28px !important;
}
#emiliapro-dashboard .emiliapro-close-reason {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 1px solid #d9dce3 !important;
  border-radius: 4px !important;
  padding: 18px 20px !important;
  font-size: 17px !important;
  color: #15151f !important;
  background: #fff !important;
}
#emiliapro-dashboard .emiliapro-close-reason input {
  width: 22px !important;
  height: 22px !important;
  accent-color: var(--eps-purple) !important;
}
@media (max-width: 980px) {
  #emiliapro-dashboard.emiliapro-page { width: min(100%, calc(100vw - 32px)) !important; padding-left: 0 !important; padding-right: 0 !important; }
  #emiliapro-dashboard .emiliapro-detail-layout { grid-template-columns: 1fr !important; gap: 22px !important; }
  #emiliapro-dashboard .emiliapro-detail-sidebar,
  #emiliapro-dashboard .emiliapro-detail-main { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  #emiliapro-dashboard .emiliapro-detail-sidebar { order: 2 !important; }
  #emiliapro-dashboard .emiliapro-detail-main { order: 1 !important; }
}

/* ═══════════════════════════════════════
   FRONTEND MOBILE ADMIN PANEL
   ═══════════════════════════════════════ */
.emiliapro-admin-app {
  padding-top: 28px;
  padding-bottom: 64px;
}
.emiliapro-admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--eps-border);
}
.emiliapro-admin-eyebrow {
  color: var(--eps-purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.emiliapro-admin-title {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  color: var(--eps-text);
}
.emiliapro-admin-top-actions,
.emiliapro-admin-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.emiliapro-admin-link,
.emiliapro-admin-tabs a {
  color: var(--eps-purple) !important;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--eps-border);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
}
.emiliapro-admin-link:hover,
.emiliapro-admin-tabs a:hover,
.emiliapro-admin-tabs a.active {
  background: var(--eps-purple-light);
  border-color: var(--eps-purple-border);
  text-decoration: none;
}
.emiliapro-admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 10px;
  margin: 18px 0 22px;
  align-items: center;
}
.emiliapro-admin-select { height: 46px; }
.emiliapro-admin-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 22px;
  align-items: start;
}
.emiliapro-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.emiliapro-admin-request-card {
  display: block;
  background: #fff;
  border: 1px solid var(--eps-border);
  border-radius: 8px;
  padding: 14px;
  text-decoration: none !important;
  color: var(--eps-text) !important;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.emiliapro-admin-request-card:hover,
.emiliapro-admin-request-card.is-active {
  border-color: var(--eps-purple-border);
  box-shadow: var(--eps-shadow-hover);
  background: #fffafe;
}
.emiliapro-admin-request-head,
.emiliapro-admin-meta-row,
.emiliapro-admin-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.emiliapro-admin-service {
  font-size: 16px;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.25;
}
.emiliapro-admin-customer,
.emiliapro-admin-meta-row {
  font-size: 13px;
  color: var(--eps-muted);
  margin-top: 6px;
}
.emiliapro-admin-detail {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--eps-border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.emiliapro-admin-detail-head {
  align-items: flex-start;
  margin-bottom: 18px;
}
.emiliapro-admin-detail-head h2 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--eps-text);
}
.emiliapro-admin-tabs {
  border-bottom: 1px solid var(--eps-border);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.emiliapro-admin-info-grid,
.emiliapro-admin-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.emiliapro-admin-info-card,
.emiliapro-admin-action-card {
  border: 1px solid var(--eps-border);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.emiliapro-admin-action-card.is-danger {
  border-color: #f0c2bc;
  background: #fffafa;
}
.emiliapro-admin-info-card h3,
.emiliapro-admin-action-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}
.emiliapro-admin-info-card p,
.emiliapro-admin-action-card p {
  margin: 8px 0;
  color: var(--eps-text);
}
.emiliapro-admin-wide-card { margin-top: 14px; }
.emiliapro-admin-inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.emiliapro-admin-chat-card {
  border: 1px solid var(--eps-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.emiliapro-admin-chat-list {
  min-height: 320px;
  max-height: 520px;
  overflow: auto;
  padding: 18px;
  background: #fbfbfd;
}
.emiliapro-admin-message {
  display: flex;
  margin: 0 0 12px;
}
.emiliapro-admin-message.is-admin { justify-content: flex-end; }
.emiliapro-admin-message-bubble {
  max-width: 78%;
  border: 1px solid var(--eps-border);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
}
.emiliapro-admin-message.is-admin .emiliapro-admin-message-bubble {
  background: var(--eps-purple);
  border-color: var(--eps-purple);
  color: #fff;
}
.emiliapro-admin-message-bubble strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.emiliapro-admin-message-bubble p {
  margin: 0;
  line-height: 1.45;
}
.emiliapro-admin-message-bubble span {
  display: block;
  font-size: 11px;
  opacity: .75;
  margin-top: 6px;
}
.emiliapro-admin-chat-form {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--eps-border);
  background: #fff;
}
.emiliapro-admin-empty,
.emiliapro-admin-detail-empty {
  border: 1px dashed var(--eps-border);
  border-radius: 8px;
  padding: 22px;
  color: var(--eps-muted);
  background: #fff;
}

@media (max-width: 900px) {
  .emiliapro-admin-app { padding: 18px 14px 48px; }
  .emiliapro-admin-topbar { align-items: stretch; flex-direction: column; }
  .emiliapro-admin-title { font-size: 28px; }
  .emiliapro-admin-filters { grid-template-columns: 1fr; }
  .emiliapro-admin-layout { grid-template-columns: 1fr; }
  .emiliapro-admin-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 86%);
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .emiliapro-admin-request-card { scroll-snap-align: start; }
  .emiliapro-admin-detail { padding: 16px; }
  .emiliapro-admin-detail-head { flex-direction: column; }
  .emiliapro-admin-detail-head h2 { font-size: 22px; }
  .emiliapro-admin-info-grid,
  .emiliapro-admin-actions-grid { grid-template-columns: 1fr; }
  .emiliapro-admin-inline-form { flex-direction: column; align-items: stretch; }
  .emiliapro-admin-message-bubble { max-width: 90%; }
}

/* ═══════════════════════════════════════
   PWA INSTALL CARD — Mobile Admin App
   ═══════════════════════════════════════ */
.emiliapro-admin-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--eps-purple);
  border-radius: 999px;
  background: var(--eps-purple);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(111,35,131,.18);
}
.emiliapro-admin-install-btn:hover {
  background: var(--eps-purple-dark);
  border-color: var(--eps-purple-dark);
}
.emiliapro-pwa-install-card {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--eps-purple-border);
  border-radius: 12px;
  background: linear-gradient(135deg, #fbf7fd 0%, #f2e8f7 100%);
  box-shadow: 0 10px 24px rgba(111,35,131,.08);
}
.emiliapro-pwa-install-card strong {
  display: block;
  color: var(--eps-text);
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.emiliapro-pwa-install-card p {
  margin: 0;
  color: var(--eps-muted);
  font-size: 14px;
  line-height: 1.45;
}
.emiliapro-pwa-ios-help {
  background: #fff;
  border-color: var(--eps-border);
}
@media (max-width: 640px) {
  .emiliapro-admin-top-actions {
    gap: 8px;
  }
  .emiliapro-admin-install-btn {
    width: 100%;
    min-height: 42px;
  }
  .emiliapro-pwa-install-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }
  .emiliapro-pwa-install-card .emiliapro-btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   ADMIN PWA LOGIN FIX v2.8
   ═══════════════════════════════════════ */
.emiliapro-admin-login-app {
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 32px;
  padding-bottom: 32px;
}
.emiliapro-admin-login-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--eps-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(24, 16, 32, .10);
}
.emiliapro-admin-login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.emiliapro-admin-login-brand h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  color: var(--eps-text);
}
.emiliapro-admin-login-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--eps-purple), var(--eps-purple-dark));
  box-shadow: 0 10px 24px rgba(111,35,131,.22);
}
.emiliapro-admin-login-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.emiliapro-admin-login-form .emiliapro-label {
  margin-top: 6px;
}
.emiliapro-admin-remember {
  margin: 8px 0 10px;
}
.emiliapro-admin-login-help {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--eps-muted);
  text-align: center;
}
@media (max-width: 560px) {
  .emiliapro-admin-login-app { padding: 18px 16px 32px; align-items: flex-start; }
  .emiliapro-admin-login-card { padding: 22px; border-radius: 16px; }
  .emiliapro-admin-login-brand h1 { font-size: 22px; }
}

/* =============================================================
   Emiliapro Company / Professional System v3.0
   ============================================================= */
.eps-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
  padding: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f1fa 100%);
  border: 1px solid var(--eps-border);
}
.eps-pro-logo { font-weight: 800; color: var(--eps-purple); margin-bottom: 12px; }
.eps-pro-hero h1 { font-size: 38px; line-height: 1.05; margin-bottom: 14px; color: var(--eps-text); }
.eps-pro-hero p { color: var(--eps-muted); font-size: 16px; }
.eps-pro-hero-card { background:#fff; border:1px solid var(--eps-border); border-radius:10px; padding:24px; box-shadow: var(--eps-shadow); }
.eps-pro-hero-card h2 { margin-bottom:8px; font-size:24px; }
.eps-company-wizard,
.eps-company-profile-form {
  max-width: 760px;
  background:#fff;
  border:1px solid var(--eps-border);
  border-radius:10px;
  padding:28px;
  box-shadow: var(--eps-shadow);
}
.eps-company-step { display:none; }
.eps-company-step.active { display:block; }
.eps-company-step h2 { font-size:28px; line-height:1.15; margin-bottom:18px; }
.eps-company-2cols { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.eps-company-step .emiliapro-field,
.eps-company-profile-form .emiliapro-field { margin-bottom:14px; }
.eps-company-actions { display:flex; gap:12px; justify-content:space-between; align-items:center; margin-top:22px; }
.eps-company-progress { height:4px; background:var(--eps-border); border-radius:999px; overflow:hidden; margin-bottom:24px; }
.eps-company-progress span { display:block; height:100%; background:var(--eps-purple); transition:width .2s ease; }
.eps-service-check-list { max-height:360px; overflow:auto; border:1px solid var(--eps-border); border-radius:8px; background:#fff; }
.eps-service-check-list-small { max-height:320px; }
.eps-service-check {
  display:flex; justify-content:space-between; align-items:center; gap:14px;
  padding:12px 14px; border-bottom:1px solid var(--eps-border); cursor:pointer;
}
.eps-service-check:last-child { border-bottom:0; }
.eps-service-check:hover { background:var(--eps-purple-light); }
.eps-service-check input { width:18px; height:18px; accent-color:var(--eps-purple); }
.eps-company-topbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; }
.eps-company-brand { color:var(--eps-purple) !important; font-weight:800; text-decoration:none; font-size:22px; }
.eps-company-nav { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.eps-company-nav > a { color:var(--eps-text); text-decoration:none; font-weight:600; padding-bottom:5px; border-bottom:2px solid transparent; }
.eps-company-nav > a.active { color:var(--eps-purple); border-bottom-color:var(--eps-purple); }
.eps-company-account { position:relative; }
.eps-company-account-btn { border:1px solid var(--eps-border); background:#fff; border-radius:5px; min-height:36px; padding:0 12px; font-weight:700; cursor:pointer; }
.eps-company-account-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;max-width:240px;white-space:nowrap}.eps-company-account-btn>span{overflow:hidden;text-overflow:ellipsis}.eps-company-account-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 16px}
.eps-company-account-menu { display:none; position:absolute; right:0; top:42px; min-width:230px; background:#fff; border:1px solid var(--eps-border); border-radius:8px; box-shadow:0 10px 30px rgba(0,0,0,.12); z-index:30; padding:14px; }
.eps-company-account.open .eps-company-account-menu { display:block; }
.eps-company-account-menu strong { display:block; color:var(--eps-muted); margin-bottom:12px; text-transform:uppercase; font-size:13px; }
.eps-company-account-menu a { display:block; color:var(--eps-text); text-decoration:none; padding:10px 6px; border-radius:5px; font-weight:600; }
.eps-company-account-menu a:hover { background:var(--eps-purple-light); color:var(--eps-purple); }
.eps-company-statusline { display:flex; gap:18px; flex-wrap:wrap; background:#fbf7fc; border:1px solid var(--eps-purple-border); border-radius:8px; padding:12px 14px; margin-bottom:26px; color:var(--eps-muted); }
.eps-lead-list { display:flex; flex-direction:column; gap:12px; }
.eps-lead-card { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding:18px; border:1px solid var(--eps-border); border-radius:8px; background:#fff; color:var(--eps-text); text-decoration:none; transition:box-shadow .12s, border-color .12s; }
.eps-lead-card:hover { border-color:var(--eps-purple-border); box-shadow:var(--eps-shadow-hover); text-decoration:none; }
.eps-lead-card h3 { color:var(--eps-purple); font-size:17px; margin:0 0 6px; }
.eps-lead-card p { margin:0 0 5px; }
.eps-lead-badge { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; background:var(--eps-purple-light); color:var(--eps-purple); font-size:12px; font-weight:800; padding:4px 10px; white-space:nowrap; }
.eps-company-empty { text-align:center; padding:56px 20px; background:#fff; border:1px solid var(--eps-border); border-radius:10px; }
.eps-company-empty-icon { display:inline-flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:50%; background:var(--eps-purple-light); color:var(--eps-purple); font-size:30px; margin-bottom:18px; }
.eps-company-empty h2 { font-size:24px; margin-bottom:8px; }
.eps-company-empty p { color:var(--eps-muted); max-width:620px; margin:0 auto 18px; }
.eps-lead-detail { display:grid; grid-template-columns:minmax(0, 1fr) 320px; gap:28px; margin-top:20px; }
.eps-detail-box,
.eps-contact-locked,
.eps-contact-unlocked,
.eps-contact-card { background:#fff; border:1px solid var(--eps-border); border-radius:8px; padding:18px; margin-bottom:16px; }
.eps-detail-box h3,
.eps-contact-locked h3,
.eps-contact-unlocked h3 { margin-bottom:12px; }
.eps-answer-row { display:grid; grid-template-columns: minmax(160px, 260px) minmax(0,1fr); gap:14px; padding:10px 0; border-bottom:1px solid var(--eps-border); }
.eps-answer-row:last-child { border-bottom:0; }
.eps-answer-row span { color:var(--eps-muted); }
.eps-contact-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.eps-contact-actions .emiliapro-btn-full { width:100%; margin-top:8px; }
.eps-contact-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.eps-contact-card h3 { margin:0 0 6px; color:var(--eps-text); }
.eps-contact-card p { margin:0 0 8px; color:var(--eps-muted); }

@media (max-width: 860px) {
  .eps-pro-hero, .eps-lead-detail, .eps-contact-list { grid-template-columns:1fr; }
  .eps-company-2cols { grid-template-columns:1fr; }
  .eps-company-topbar { align-items:flex-start; flex-direction:column; }
  .eps-company-nav { gap:12px; }
  .eps-company-wizard, .eps-company-profile-form { padding:20px; }
  .eps-pro-hero { padding:22px; }
  .eps-pro-hero h1 { font-size:30px; }
  .eps-answer-row { grid-template-columns:1fr; gap:4px; }
}

/* =============================================================
   Company registration first step — Emiliapro-style compact card
   ============================================================= */
.eps-company-wizard.eps-company-on-step-1 {
  max-width: 540px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin: 0 auto;
}
.eps-company-wizard.eps-company-on-step-1 .eps-company-progress { display: none; }
.eps-company-start-step.active { display: flex; justify-content: center; }
.eps-company-start-card {
  width: 100%;
  max-width: 520px;
  background: #f3f3f5;
  border: 1px solid #ececf0;
  border-radius: 10px;
  padding: 22px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
.eps-company-step.eps-company-start-step h2.eps-company-start-title,
.eps-company-start-title {
  margin: 0 0 16px !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #111 !important;
  letter-spacing: -0.02em;
}
.eps-company-start-row { margin-bottom: 14px; }
.eps-company-start-select,
.eps-company-start-input {
  width: 100%;
  height: 62px;
  border: 1px solid #c7cbd6;
  border-radius: 6px;
  background-color: #fff;
  padding: 0 18px;
  font-size: 18px;
  color: #111;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
.eps-company-start-input::placeholder { color: #8b90a0; }
.eps-company-start-select:focus,
.eps-company-start-input:focus { border-color: #aeb3c0; }
.eps-company-start-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 54px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M2 2l7 7 7-7' fill='none' stroke='%236a6f7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px 12px;
}
.eps-company-zipcity {
  position: relative;
  display: flex;
  height: 62px;
  border: 1px solid #c7cbd6;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.eps-company-zipcity input {
  border: 0 !important;
  height: 100%;
  padding: 0 18px;
  font-size: 18px;
  outline: none;
  background: transparent;
  min-width: 0;
  color: #111;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: none !important;
}
.eps-company-zip { width: 45%; }
.eps-company-city { width: 55%; font-weight: 700; padding-left: 24px !important; }
.eps-company-zipcity::after {
  content: "";
  position: absolute;
  left: 45%;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #c7cbd6;
}
.eps-company-start-terms {
  margin: 12px 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #1f2330;
  font-family: Arial, Helvetica, sans-serif;
}
.eps-company-start-terms a {
  color: #5f2b88;
  text-decoration: underline;
}
.eps-company-start-btn {
  width: 100%;
  height: 66px;
  border: 0;
  border-radius: 8px;
  background: #5f2b88;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  transition: filter .15s ease;
}
.eps-company-start-btn:hover { filter: brightness(.95); }
.eps-company-start-btn:focus { outline: 3px solid rgba(95,43,136,.22); outline-offset: 2px; }

@media (max-width: 560px) {
  .eps-company-wizard.eps-company-on-step-1 { max-width: 100%; }
  .eps-company-start-card { padding: 18px; border-radius: 8px; }
  .eps-company-step.eps-company-start-step h2.eps-company-start-title,
  .eps-company-start-title { font-size: 24px !important; }
  .eps-company-start-select,
  .eps-company-start-input,
  .eps-company-zipcity { height: 54px; font-size: 15px; }
  .eps-company-zipcity input { font-size: 15px; }
  .eps-company-start-btn { height: 56px; font-size: 16px; }
  .eps-company-start-terms { font-size: 12.5px; }
}

/* v3.0.2 — Elementor page integration: shortcode outputs only the form/card */
.eps-company-form-only {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.eps-company-form-only .eps-company-wizard.eps-company-on-step-1 {
  max-width: 450px;
  margin: 0 auto;
}
.eps-company-form-only .eps-company-start-card {
  max-width: 450px;
  background: #f3f3f5;
  border: 1px solid #ececf0;
  border-radius: 10px;
  padding: 22px;
}
.eps-company-form-only .eps-company-step.eps-company-start-step h2.eps-company-start-title,
.eps-company-form-only .eps-company-start-title {
  margin: 0 0 14px !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #111 !important;
  letter-spacing: 0;
}
.eps-company-form-only .eps-company-start-row { margin-bottom: 12px; }
.eps-company-form-only .eps-company-start-select,
.eps-company-form-only .eps-company-start-input {
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
}
.eps-company-form-only .eps-company-start-select {
  padding-right: 46px;
  background-position: right 16px center;
}
.eps-company-form-only .eps-company-zipcity { height: 52px; }
.eps-company-form-only .eps-company-zipcity input {
  padding: 0 16px;
  font-size: 15px;
}
.eps-company-form-only .eps-company-city {
  padding-left: 22px !important;
}
.eps-company-form-only .eps-company-zipcity::after {
  top: 10px;
  bottom: 10px;
}
.eps-company-form-only .eps-company-start-terms {
  margin: 10px 0 14px;
  font-size: 12.5px;
  line-height: 1.5;
}
.eps-company-form-only .eps-company-start-btn {
  height: 56px;
  border-radius: 8px;
  font-size: 16px;
}
@media(max-width:480px){
  .eps-company-form-only .eps-company-start-card{
    padding:18px;
    border-radius:8px;
  }
  .eps-company-form-only .eps-company-start-title{
    font-size:20px !important;
  }
  .eps-company-form-only .eps-company-start-select,
  .eps-company-form-only .eps-company-start-input,
  .eps-company-form-only .eps-company-zipcity{
    height:50px;
  }
  .eps-company-form-only .eps-company-start-btn{
    height:52px;
    font-size:15px;
  }
  .eps-company-form-only .eps-company-start-terms{
    font-size:12px;
  }
}

/* =============================================================
   v3.0.9 — company flow refinements requested in PDFs
   ============================================================= */
.eps-company-start-input,
.eps-company-form-only .eps-company-start-input,
.ip-input[type="email"] {
  background:#fff !important;
  color:#111 !important;
  opacity:1 !important;
}
.eps-company-subtitle {
  margin:24px 0 10px;
  color:var(--eps-purple);
  font-size:20px;
  font-weight:800;
  text-transform:uppercase;
}
.eps-demo-upload-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
  border:1px solid var(--eps-input-border);
  border-radius:var(--eps-radius);
  background:#fff;
  padding:10px 14px;
  margin:10px 0 18px;
  color:var(--eps-text);
  font-size:16px;
}
.eps-demo-upload-box input[type="file"] {
  max-width:240px;
  font-size:13px;
}
.eps-payment-demo-list {
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:18px 0;
}
.eps-payment-demo-option {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:54px;
  border:1.5px solid var(--eps-border);
  border-radius:var(--eps-radius);
  background:#fff;
  padding:14px 16px;
  cursor:pointer;
  font-weight:700;
}
.eps-payment-demo-option:hover,
.eps-payment-demo-option:has(input:checked) {
  border-color:var(--eps-purple);
  background:var(--eps-purple-light);
}
.eps-payment-demo-option input { accent-color:var(--eps-purple); }
.eps-payment-card-demo {
  border:1px solid var(--eps-border);
  border-radius:8px;
  background:#fbfbfc;
  padding:16px;
  margin-top:14px;
}
.eps-lead-cost {
  font-size:28px;
  font-weight:800;
  color:var(--eps-purple) !important;
  margin:0 0 10px !important;
}
.eps-answer-row span {
  white-space:normal;
  word-break:break-word;
  color:#323241;
}
.eps-detail-box h3 { font-size:24px; }
@media(max-width:640px){
  .eps-demo-upload-box { align-items:flex-start; flex-direction:column; }
  .eps-demo-upload-box input[type="file"] { max-width:100%; }
}

/* v3.1.0 refinements */
body.logged-in.emiliapro-full-page { margin-top: 0 !important; }
.eps-company-account-btn { min-width: 150px; color: var(--eps-text) !important; background:#fff !important; }
.eps-company-nav { gap: 22px; }
.eps-credit-buy-box { max-width: 760px; }
.eps-company-profile-form .eps-service-check-list { max-height: 360px; overflow-y: auto; }
.eps-detail-box .eps-answer-row span { white-space: normal; word-break: break-word; }


/* =============================================================
   v3.6.0 — responsive polish + full Emilia-Romagna CAP handling
   ============================================================= */
.eps-company-register-page,
.eps-company-form-only {
  width: min(100% - 48px, var(--eps-max-width));
  max-width: var(--eps-max-width);
  margin: 0 auto;
  padding: 40px 0 80px;
}
.eps-company-form-only .eps-company-wizard,
.eps-company-register-page .eps-company-wizard {
  width: 100%;
  max-width: var(--eps-max-width);
  margin: 0 auto;
}
.eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1),
.eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1) {
  max-width: var(--eps-max-width) !important;
  padding: 40px;
}
.eps-company-form-only .eps-company-wizard.eps-company-on-step-1,
.eps-company-register-page .eps-company-wizard.eps-company-on-step-1 {
  max-width: 450px !important;
}
.eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1) .eps-company-step.active,
.eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1) .eps-company-step.active {
  width: 100%;
}
.eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1) .emiliapro-input,
.eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1) .emiliapro-textarea,
.eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1) .emiliapro-input,
.eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1) .emiliapro-textarea {
  background: #fff;
}
.eps-company-zipcity.eps-cap-invalid {
  border-color: var(--eps-danger) !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.08);
}
.eps-company-city[readonly],
.ip-city[readonly] {
  cursor: default;
}
@media (max-width: 1100px) {
  .emiliapro-page,
  #emiliapro-dashboard.emiliapro-page,
  #emiliapro-my-requests.emiliapro-page,
  .eps-company-register-page,
  .eps-company-form-only {
    width: min(100% - 32px, var(--eps-max-width)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 768px) {
  .emiliapro-h1,
  .emiliapro-page-title,
  .eps-company-step h2 {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.12 !important;
  }
  .emiliapro-form-wrap,
  .emiliapro-request-card,
  .eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-profile-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px !important;
  }
  .eps-company-actions {
    gap: 10px;
  }
  .eps-company-actions .emiliapro-btn {
    min-width: 0;
  }
  .eps-service-check {
    padding: 14px 12px;
  }
  .eps-lead-card,
  .eps-company-statusline {
    align-items: stretch;
  }
}
@media (max-width: 560px) {
  .emiliapro-page,
  #emiliapro-dashboard.emiliapro-page,
  #emiliapro-my-requests.emiliapro-page,
  .eps-company-register-page,
  .eps-company-form-only {
    width: min(100% - 24px, var(--eps-max-width)) !important;
    padding-top: 24px !important;
  }
  .eps-company-2cols,
  .emiliapro-grid,
  .eps-contact-list,
  .eps-lead-detail {
    grid-template-columns: 1fr !important;
  }
  .eps-company-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .eps-company-actions .emiliapro-btn {
    width: 100%;
  }
  .eps-company-topbar {
    gap: 12px;
  }
  .eps-company-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .eps-company-account {
    width: 100%;
  }
  .eps-company-account-btn {
    width: 100%;
    justify-content: space-between;
  }
  .eps-company-account-menu {
    left: 0;
    right: auto;
    width: 100%;
  }
  .eps-lead-card {
    flex-direction: column;
  }
}


/* =============================================================
   v3.7.1 — Mobile/tablet polish for customer + company dashboards
   Scope: plugin dashboards, request forms, company forms only.
   Goal: professional mobile layout, no heavy one-line headings,
   clean spacing, readable cards, no horizontal overflow.
   ============================================================= */
@media (max-width: 980px) {
  body.emiliapro-full-page {
    overflow-x: hidden !important;
  }

  body.emiliapro-full-page .emiliapro-page,
  body.emiliapro-full-page #emiliapro-dashboard.emiliapro-page,
  body.emiliapro-full-page #emiliapro-my-requests.emiliapro-page,
  body.emiliapro-full-page .eps-company-dashboard-page,
  body.emiliapro-full-page .eps-company-register-page,
  body.emiliapro-full-page .eps-company-form-only {
    width: min(100% - 28px, var(--eps-max-width)) !important;
    max-width: var(--eps-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .emiliapro-page *,
  .eps-company-dashboard-page *,
  .eps-company-register-page *,
  .eps-company-form-only * {
    max-width: 100%;
  }

  /* Headings: readable instead of huge/heavy one-line blocks */
  .emiliapro-h1,
  .emiliapro-page-title,
  .emiliapro-service-page .emiliapro-h1,
  #emiliapro-dashboard .emiliapro-page-title,
  #emiliapro-dashboard .emiliapro-h1,
  .eps-pro-hero h1,
  .eps-company-dashboard-page .emiliapro-h1,
  .eps-company-profile-form + .emiliapro-h1,
  .eps-company-step h2,
  .eps-company-empty h2,
  .eps-detail-box h3,
  .eps-contact-locked h3,
  .eps-contact-unlocked h3 {
    font-size: clamp(24px, 5.6vw, 32px) !important;
    line-height: 1.16 !important;
    font-weight: 750 !important;
    letter-spacing: -0.025em !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    text-wrap: balance;
  }

  .emiliapro-h2,
  .emiliapro-question-title,
  .eps-company-subtitle,
  .eps-company-profile-form h2 {
    font-size: clamp(20px, 4.8vw, 24px) !important;
    line-height: 1.22 !important;
    font-weight: 750 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .emiliapro-lead,
  .eps-pro-hero p,
  .eps-company-empty p,
  .emiliapro-auth-box p {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  /* Request step header/progress: avoid squeezed one-line layout */
  .emiliapro-form-header {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px 12px !important;
    align-items: center !important;
  }

  .emiliapro-form-brand {
    font-size: 16px !important;
  }

  .emiliapro-form-svc-name {
    min-width: 0 !important;
    font-size: 13px !important;
    overflow-wrap: break-word !important;
  }

  .emiliapro-progress-wrap {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .emiliapro-detail-tabs,
  .eps-company-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 18px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none;
  }

  .emiliapro-detail-tabs::-webkit-scrollbar,
  .eps-company-nav::-webkit-scrollbar {
    display: none;
  }

  .emiliapro-detail-tabs a,
  .emiliapro-tab-link,
  .eps-company-nav > a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .emiliapro-tab-sep {
    display: none !important;
  }

  /* Cards/forms common */
  .emiliapro-cap-card,
  .emiliapro-locality-card,
  .emiliapro-desc-card,
  .emiliapro-edit-card,
  .emiliapro-chat-card,
  .emiliapro-request-card,
  .eps-company-wizard,
  .eps-company-profile-form,
  .eps-company-empty,
  .eps-lead-card,
  .eps-detail-box,
  .eps-contact-locked,
  .eps-contact-unlocked,
  .eps-contact-card,
  .eps-credit-buy-box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .eps-company-profile-form,
  .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1) {
    padding: 24px !important;
  }

  .emiliapro-input,
  .emiliapro-textarea,
  .eps-company-start-input,
  .eps-company-start-select,
  .eps-payment-card-demo input,
  .eps-demo-upload-box input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .eps-company-2cols,
  .eps-contact-list,
  .eps-lead-detail,
  .emiliapro-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .eps-answer-row,
  .emiliapro-desc-table tr,
  .emiliapro-edit-summary-table tr {
    grid-template-columns: 1fr !important;
  }

  .eps-answer-row span,
  .eps-answer-row strong,
  .emiliapro-desc-label,
  .emiliapro-desc-value,
  .emiliapro-edit-summary-table td {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* Company dashboard top area */
  .eps-company-topbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
  }

  .eps-company-brand {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .eps-company-account {
    width: 100% !important;
  }

  .eps-company-account-btn {
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
  }

  .eps-company-account-menu {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    top: 50px !important;
  }

  .eps-company-statusline {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 14px 16px !important;
    margin-bottom: 22px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  .eps-lead-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 18px !important;
    gap: 12px !important;
  }

  .eps-lead-card h3 {
    font-size: 19px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }

  .eps-lead-badge {
    align-self: flex-start !important;
    white-space: normal !important;
    text-align: left !important;
  }

  .eps-company-empty {
    padding: 38px 18px !important;
  }

  .eps-company-empty-icon {
    width: 62px !important;
    height: 62px !important;
    font-size: 26px !important;
  }

  .eps-service-check-list,
  .eps-service-check-list-small {
    max-height: 285px !important;
  }

  .eps-service-check {
    padding: 14px 12px !important;
    gap: 12px !important;
  }

  .eps-service-check span,
  .eps-service-check label {
    line-height: 1.35 !important;
    overflow-wrap: break-word !important;
  }

  .eps-company-actions,
  .emiliapro-form-footer,
  .emiliapro-btn-row,
  .eps-contact-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .eps-company-actions .emiliapro-btn,
  .emiliapro-form-footer .emiliapro-btn,
  .emiliapro-btn-row .emiliapro-btn,
  .eps-contact-actions .emiliapro-btn,
  .eps-payment-demo-option,
  .eps-company-start-btn {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 560px) {
  body.emiliapro-full-page .emiliapro-page,
  body.emiliapro-full-page #emiliapro-dashboard.emiliapro-page,
  body.emiliapro-full-page #emiliapro-my-requests.emiliapro-page,
  body.emiliapro-full-page .eps-company-dashboard-page,
  body.emiliapro-full-page .eps-company-register-page,
  body.emiliapro-full-page .eps-company-form-only {
    width: min(100% - 24px, var(--eps-max-width)) !important;
    padding-top: 22px !important;
    padding-bottom: 48px !important;
  }

  .emiliapro-h1,
  .emiliapro-page-title,
  .emiliapro-service-page .emiliapro-h1,
  #emiliapro-dashboard .emiliapro-page-title,
  .eps-company-dashboard-page .emiliapro-h1,
  .eps-company-step h2,
  .eps-company-empty h2 {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.18 !important;
    font-weight: 750 !important;
  }

  .emiliapro-lead {
    margin-bottom: 22px !important;
  }

  .emiliapro-cap-card,
  .emiliapro-locality-card,
  .emiliapro-desc-card,
  .emiliapro-edit-card,
  .emiliapro-chat-card,
  .emiliapro-request-card-body,
  .eps-company-profile-form,
  .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-detail-box,
  .eps-contact-locked,
  .eps-contact-unlocked,
  .eps-contact-card {
    padding: 18px !important;
  }

  .eps-company-form-only .eps-company-start-card,
  .eps-company-start-card {
    padding: 18px !important;
    border-radius: 10px !important;
  }

  .eps-company-form-only .eps-company-start-title,
  .eps-company-step.eps-company-start-step h2.eps-company-start-title,
  .eps-company-start-title {
    font-size: 22px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em !important;
  }

  .eps-company-start-select,
  .eps-company-start-input,
  .eps-company-zipcity,
  .eps-company-form-only .eps-company-start-select,
  .eps-company-form-only .eps-company-start-input,
  .eps-company-form-only .eps-company-zipcity {
    height: 52px !important;
  }

  .eps-company-zipcity input,
  .eps-company-form-only .eps-company-zipcity input {
    font-size: 15px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .eps-company-city,
  .eps-company-form-only .eps-company-city {
    padding-left: 18px !important;
  }

  .eps-company-start-terms,
  .eps-company-form-only .eps-company-start-terms {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .emiliapro-radio-option {
    padding: 14px 14px !important;
    gap: 12px !important;
  }

  .emiliapro-desc-table,
  .emiliapro-edit-summary-table {
    font-size: 14.5px !important;
  }

  .emiliapro-request-card-footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
    padding: 14px 18px !important;
  }

  .eps-payment-demo-option {
    align-items: flex-start !important;
  }

  .eps-demo-upload-box {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

@media (max-width: 380px) {
  body.emiliapro-full-page .emiliapro-page,
  body.emiliapro-full-page .eps-company-dashboard-page,
  body.emiliapro-full-page .eps-company-register-page,
  body.emiliapro-full-page .eps-company-form-only {
    width: min(100% - 20px, var(--eps-max-width)) !important;
  }

  .emiliapro-h1,
  .emiliapro-page-title,
  .emiliapro-service-page .emiliapro-h1,
  .eps-company-dashboard-page .emiliapro-h1,
  .eps-company-step h2,
  .eps-company-empty h2 {
    font-size: 22px !important;
  }

  .emiliapro-input,
  .emiliapro-textarea,
  .eps-company-start-input,
  .eps-company-start-select {
    font-size: 15px !important;
  }
}

/* =============================================================
   v3.7.2 — Request form professional mobile/desktop polish
   Fixes: option choices on separate cards, progress header layout,
   privacy checkbox wrapping, mobile alignment, no squeezed text.
   ============================================================= */
.emiliapro-form-wrap,
.emiliapro-form-wrap * {
  min-width: 0;
}

.emiliapro-options-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: 100% !important;
}

.emiliapro-option-card,
button.emiliapro-option-card {
  width: 100% !important;
  min-height: 62px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 24px !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  border: 1.5px solid var(--eps-border) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--eps-text) !important;
  font-family: inherit !important;
  font-size: 15.5px !important;
  line-height: 1.35 !important;
  text-align: left !important;
  cursor: pointer !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.emiliapro-option-card:hover,
.emiliapro-option-card.selected,
button.emiliapro-option-card:hover,
button.emiliapro-option-card.selected {
  border-color: var(--eps-purple) !important;
  background: var(--eps-purple-light) !important;
}

.emiliapro-option-text,
.emiliapro-option-card > span:first-child {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.35 !important;
}

.emiliapro-option-radio {
  justify-self: end !important;
}

.emiliapro-form-header {
  position: relative !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  grid-template-areas:
    "brand service close"
    "progress progress progress" !important;
  gap: 10px 12px !important;
  align-items: center !important;
  padding-bottom: 18px !important;
  margin-bottom: 28px !important;
}

.emiliapro-form-brand {
  grid-area: brand !important;
  white-space: nowrap !important;
}

.emiliapro-form-svc-name {
  grid-area: service !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.emiliapro-progress-wrap {
  grid-area: progress !important;
  width: 100% !important;
  min-width: 0 !important;
}

.emiliapro-close-btn {
  grid-area: close !important;
  justify-self: end !important;
  align-self: center !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-size: 18px !important;
}

.emiliapro-checkbox-label {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  line-height: 1.45 !important;
}

.emiliapro-checkbox-label input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 2px 0 0 !important;
}

.emiliapro-checkbox-label a {
  display: inline !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

#eps-step-contact .emiliapro-checkbox-label {
  margin-top: 18px !important;
  padding: 14px !important;
  border: 1px solid #eadff0 !important;
  border-radius: 10px !important;
  background: #fbf7ff !important;
}

@media (min-width: 981px) {
  .emiliapro-service-page .emiliapro-form-wrap {
    max-width: 600px !important;
  }

  .emiliapro-option-card,
  button.emiliapro-option-card {
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  body.emiliapro-full-page .emiliapro-service-page.emiliapro-page,
  body.emiliapro-full-page .emiliapro-page.emiliapro-service-page {
    width: min(100% - 32px, 600px) !important;
    padding-top: 24px !important;
    padding-bottom: 56px !important;
  }

  .emiliapro-service-page .emiliapro-h1 {
    font-size: 23px !important;
    line-height: 1.18 !important;
    font-weight: 780 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 12px !important;
  }

  .emiliapro-service-page .emiliapro-lead {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }

  .emiliapro-form-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 22px !important;
  }

  .emiliapro-form-header {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand close"
      "service service"
      "progress progress" !important;
    gap: 8px 12px !important;
    padding: 16px 0 18px !important;
    margin-bottom: 22px !important;
  }

  .emiliapro-form-brand {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .emiliapro-form-svc-name {
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: var(--eps-muted) !important;
  }

  .emiliapro-progress-wrap {
    gap: 10px !important;
  }

  .emiliapro-progress-label {
    font-size: 12px !important;
    flex: 0 0 auto !important;
  }

  .emiliapro-close-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 18px !important;
    background: transparent !important;
  }

  .emiliapro-question-title {
    font-size: 21px !important;
    line-height: 1.22 !important;
    margin-bottom: 8px !important;
  }

  .emiliapro-question-sub {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }

  .emiliapro-option-card,
  button.emiliapro-option-card,
  .emiliapro-radio-option {
    min-height: 58px !important;
    padding: 14px 14px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    border-radius: 9px !important;
  }

  .emiliapro-form-footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .emiliapro-form-footer .emiliapro-btn {
    width: 100% !important;
    height: 50px !important;
  }

  #eps-step-contact .emiliapro-checkbox-label {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    padding: 12px !important;
  }
}

@media (max-width: 380px) {
  body.emiliapro-full-page .emiliapro-service-page.emiliapro-page,
  body.emiliapro-full-page .emiliapro-page.emiliapro-service-page {
    width: min(100% - 24px, 600px) !important;
  }

  .emiliapro-service-page .emiliapro-h1 {
    font-size: 22px !important;
  }

  .emiliapro-question-title {
    font-size: 20px !important;
  }
}



/* =============================================================
   v3.7.6 — Final privacy consent mobile fix
   Text is wrapped in a single copy span so Privacy/Terms links never
   break letter-by-letter on mobile.
   ============================================================= */
.emiliapro-checkbox-label.eps-privacy-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
}

.emiliapro-checkbox-label.eps-privacy-consent input[type="checkbox"] {
  grid-column: 1 !important;
  margin: 2px 0 0 !important;
  width: 16px !important;
  height: 16px !important;
}

.eps-privacy-copy {
  grid-column: 2 !important;
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  color: var(--eps-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.eps-privacy-copy .emiliapro-link,
.eps-privacy-copy a {
  display: inline !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

@media (max-width: 767px) {
  #eps-step-contact .emiliapro-checkbox-label.eps-privacy-consent {
    padding: 12px 14px !important;
    border-radius: 10px !important;
    width: 100% !important;
  }

  #eps-step-contact .eps-privacy-copy {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }
}

/* =============================================================
   v3.15.33 — account duplicate notices + professional form width
   ============================================================= */
#eps-contact-error a.emiliapro-link,
#eps-company-email-existing-alert a.emiliapro-link {
  display: inline-flex;
  margin-left: 4px;
  font-weight: 800;
  color: var(--eps-purple) !important;
  text-decoration: underline !important;
}
#eps-step-contact.eps-customer-email-exists .emiliapro-form-error {
  margin-top: 12px !important;
}

body.emiliapro-full-page .emiliapro-auth-page,
.emiliapro-auth-page {
  width: min(100% - 32px, 560px) !important;
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.emiliapro-full-page .emiliapro-auth-page .emiliapro-auth-box,
.emiliapro-auth-page .emiliapro-auth-box {
  width: 100% !important;
  max-width: 520px !important;
  flex: 0 1 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.eps-company-register-page,
.eps-company-form-only {
  max-width: 920px !important;
}
.eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1),
.eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1) {
  max-width: 860px !important;
  padding: 32px !important;
}
.eps-company-form-only .eps-company-wizard.eps-company-on-step-1,
.eps-company-register-page .eps-company-wizard.eps-company-on-step-1 {
  max-width: 450px !important;
}
.eps-company-actions .eps-company-prev,
.eps-company-actions .eps-company-next,
.eps-company-actions button[type="submit"] {
  min-width: 124px;
}
@media (max-width: 768px) {
  body.emiliapro-full-page .emiliapro-auth-page,
  .emiliapro-auth-page {
    width: min(100% - 24px, 520px) !important;
    padding-top: 24px !important;
  }
  .eps-company-register-page,
  .eps-company-form-only {
    max-width: 100% !important;
  }
  .eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1) {
    max-width: 100% !important;
    padding: 22px !important;
  }
}

/* v3.15.36 — company registration compact + existing email stop */
.eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1),
.eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1) {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.eps-company-existing-email-stop {
  font-size: 15px;
  line-height: 1.55;
}
.eps-company-existing-actions {
  justify-content: flex-start;
  gap: 12px;
}
@media (max-width: 768px) {
  .eps-company-existing-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .eps-company-existing-actions .emiliapro-btn {
    width: 100%;
  }
}


/* v3.15.41 company live status notice */
.eps-company-approval-live-note {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--eps-purple-border);
  border-radius: 8px;
  background: var(--eps-purple-light);
  color: var(--eps-purple-dark);
  font-weight: 600;
}


/* =============================================================
   v3.15.53 — mobile stability/polish fixes
   - credit packages stack correctly on tablet/mobile
   - company account dropdown is visible on mobile
   - public login chip stays above cookie banner on mobile
   ============================================================= */
.eps-credit-packages{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
  margin-top:22px !important;
  width:100% !important;
}
.eps-credit-package{
  min-width:0 !important;
}
@media(max-width:1024px){
  .eps-credit-packages{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }
}
@media(max-width:640px){
  .eps-credit-packages{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .eps-credit-package{
    width:100% !important;
    text-align:center !important;
  }
  .eps-credit-package .emiliapro-btn{
    width:100% !important;
  }
}
@media(max-width:980px){
  .eps-company-topbar,
  .eps-company-nav{
    overflow:visible !important;
  }
  .eps-company-nav{
    flex-wrap:wrap !important;
    gap:12px !important;
    padding-bottom:0 !important;
  }
  .eps-company-account{
    position:relative !important;
    z-index:5000 !important;
    width:100% !important;
    overflow:visible !important;
  }
  .eps-company-account-btn{
    width:100% !important;
    min-height:46px !important;
    justify-content:space-between !important;
  }
  .eps-company-account-menu{
    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    min-width:0 !important;
    z-index:5001 !important;
    box-sizing:border-box !important;
  }
  .eps-company-account.open .eps-company-account-menu{
    display:block !important;
  }
}
@media(max-width:640px){
  .eps-account-chip-wrap,
  .eps-account-chip-wrap.is-bottom-safe{
    bottom:96px !important;
    z-index:2147482500 !important;
  }
  .eps-account-chip{
    box-shadow:0 10px 28px rgba(17,24,39,.18) !important;
  }
}

/* =============================================================
   v3.16.92 — PRIVATE AREA PROFESSIONAL RESPONSIVE SYSTEM
   Customer + company screens only. This block deliberately avoids generic
   public-content/table selectors so Elementor header/footer and SEO pages stay
   untouched.
   ============================================================= */

/* Private-page shell: one centered content column and no page-level overflow. */
body.eps-private-plugin-page,
body.eps-private-plugin-page #page,
body.eps-private-plugin-page .site,
body.eps-private-plugin-page .site-content,
body.eps-private-plugin-page .content-area,
body.eps-private-plugin-page .inside-article,
body.eps-private-plugin-page .emiliapro-plugin-page-main,
body.eps-private-plugin-page .emiliapro-private-page,
body.eps-private-plugin-page .eps-private-page-content {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

body.eps-private-plugin-page #emiliapro-plugin-page.emiliapro-private-page {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 56px !important;
}

body.eps-private-plugin-page #emiliapro-dashboard,
body.eps-private-plugin-page #emiliapro-my-requests,
body.eps-private-plugin-page .eps-company-dashboard-page,
body.eps-private-plugin-page .emiliapro-auth-page,
body.eps-private-plugin-page .emiliapro-login-page,
body.eps-private-plugin-page .emiliapro-register-page,
body.eps-private-plugin-page .eps-company-register-page,
body.eps-private-plugin-page .eps-company-form-only,
body.eps-private-plugin-page .eps-admin-requests-page {
  width: calc(100% - 48px) !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.eps-private-plugin-page .emiliapro-detail-layout,
body.eps-private-plugin-page .emiliapro-detail-main,
body.eps-private-plugin-page .emiliapro-detail-sidebar,
body.eps-private-plugin-page .eps-company-topbar,
body.eps-private-plugin-page .eps-company-nav,
body.eps-private-plugin-page .eps-company-account,
body.eps-private-plugin-page .eps-lead-detail,
body.eps-private-plugin-page .eps-lead-detail-main,
body.eps-private-plugin-page .eps-lead-detail-side,
body.eps-private-plugin-page .eps-contact-list,
body.eps-private-plugin-page .eps-company-2cols,
body.eps-private-plugin-page .eps-answer-row,
body.eps-private-plugin-page .emiliapro-request-card,
body.eps-private-plugin-page .emiliapro-request-card-body,
body.eps-private-plugin-page .emiliapro-request-card-footer {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Public SEO shells must never leak into login/dashboard/company screens. */
body.eps-private-plugin-page .eps-directory-hero,
body.eps-private-plugin-page .eps-directory-faq-shell,
body.eps-private-plugin-page .eps-service-custom-faq-shell,
body.eps-private-plugin-page .eps-emiliapro-cta,
body.eps-private-plugin-page .eps-bottom-cta,
body.eps-private-plugin-page .eps-managed-service-card-section,
body.eps-private-plugin-page .eps-managed-link-section,
body.eps-private-plugin-page .eps-province-category-section,
body.eps-private-plugin-page .eps-service-articles,
body.eps-private-plugin-page .eps-directory-section.eps-directory-copy:empty {
  display: none !important;
}

/* Customer detail layout. */
#emiliapro-dashboard .emiliapro-detail-layout {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 100% !important;
}
#emiliapro-dashboard .emiliapro-detail-main {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}
#emiliapro-dashboard .emiliapro-detail-sidebar {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 300px !important;
}
#emiliapro-dashboard .emiliapro-desc-card,
#emiliapro-dashboard .emiliapro-edit-card,
#emiliapro-dashboard .emiliapro-chat-card,
#emiliapro-dashboard .emiliapro-sidebar-card,
#emiliapro-dashboard .emiliapro-sidebar-nav-card {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

/* Description/edit data: clean rows, no generic article-table box/grid borders. */
#emiliapro-dashboard table.emiliapro-desc-table,
#emiliapro-dashboard table.emiliapro-edit-summary-table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  white-space: normal !important;
}
#emiliapro-dashboard .emiliapro-desc-table tbody,
#emiliapro-dashboard .emiliapro-edit-summary-table tbody {
  display: block !important;
  width: 100% !important;
}
#emiliapro-dashboard .emiliapro-desc-table tr,
#emiliapro-dashboard .emiliapro-edit-summary-table tr {
  display: grid !important;
  grid-template-columns: minmax(190px, 40%) minmax(0, 1fr) !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e5ea !important;
  background: transparent !important;
  box-shadow: none !important;
}
#emiliapro-dashboard .emiliapro-desc-table tr:last-child,
#emiliapro-dashboard .emiliapro-edit-summary-table tr:last-child {
  border-bottom: 0 !important;
}
#emiliapro-dashboard .emiliapro-desc-table td,
#emiliapro-dashboard .emiliapro-edit-summary-table td,
#emiliapro-dashboard .emiliapro-desc-table td:first-child,
#emiliapro-dashboard .emiliapro-desc-table td:last-child,
#emiliapro-dashboard .emiliapro-edit-summary-table td:first-child,
#emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto !important;
  vertical-align: top !important;
}
#emiliapro-dashboard .emiliapro-desc-label,
#emiliapro-dashboard .emiliapro-edit-summary-table td:first-child {
  padding: 14px 24px 14px 0 !important;
  color: #666d7a !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}
#emiliapro-dashboard .emiliapro-desc-value,
#emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
  padding: 14px 0 !important;
  color: #15151f !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}
#emiliapro-dashboard .emiliapro-additional-block {
  clear: both !important;
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid #e3e5ea !important;
}

/* Safe wrapping for navigation, cards and long database values. */
#emiliapro-dashboard .emiliapro-page-title,
#emiliapro-dashboard .emiliapro-meta-item,
#emiliapro-dashboard .emiliapro-sidebar-body,
#emiliapro-dashboard .emiliapro-sidebar-svc-name,
#emiliapro-my-requests .emiliapro-request-title,
#emiliapro-my-requests .emiliapro-request-note,
.eps-company-dashboard-page .eps-lead-card > div,
.eps-company-dashboard-page .eps-contact-card,
.eps-company-dashboard-page .eps-detail-box,
.eps-company-dashboard-page .eps-contact-locked,
.eps-company-dashboard-page .eps-contact-unlocked,
.eps-company-dashboard-page .eps-answer-row > *,
.eps-company-dashboard-page .eps-company-statusline > span {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

/* Company two-column/detail screens. */
.eps-company-dashboard-page .eps-lead-detail {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
}
.eps-company-dashboard-page .eps-lead-detail-main,
.eps-company-dashboard-page .eps-lead-detail-side,
.eps-company-dashboard-page .eps-contact-card,
.eps-company-dashboard-page .eps-detail-box,
.eps-company-dashboard-page .eps-contact-locked,
.eps-company-dashboard-page .eps-contact-unlocked,
.eps-company-dashboard-page .eps-credit-buy-box,
.eps-company-profile-form,
.eps-company-wizard {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Only real data tables scroll. Description tables above never become scrollers. */
body.eps-private-plugin-page .eps-table-scroll,
body.eps-private-plugin-page .emiliapro-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
}
body.eps-private-plugin-page table.eps-requests-table,
body.eps-private-plugin-page .eps-credit-buy-box table,
body.eps-private-plugin-page .eps-company-profile-form table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
}

.eps-password-reset-form,
.eps-password-reset-form * {
  box-sizing: border-box !important;
}

@media (max-width: 980px) {
  #emiliapro-dashboard .emiliapro-detail-layout,
  .eps-company-dashboard-page .eps-lead-detail,
  .eps-company-dashboard-page .eps-contact-list,
  .eps-company-dashboard-page .eps-company-2cols,
  .eps-company-register-page .eps-company-2cols,
  .eps-company-form-only .eps-company-2cols {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #emiliapro-dashboard .emiliapro-detail-main,
  #emiliapro-dashboard .emiliapro-detail-sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }
  #emiliapro-dashboard .emiliapro-detail-main { order: 1 !important; }
  #emiliapro-dashboard .emiliapro-detail-sidebar { order: 2 !important; }
}

@media (max-width: 767px) {
  body.eps-private-plugin-page #emiliapro-dashboard,
  body.eps-private-plugin-page #emiliapro-my-requests,
  body.eps-private-plugin-page .eps-company-dashboard-page,
  body.eps-private-plugin-page .emiliapro-auth-page,
  body.eps-private-plugin-page .emiliapro-login-page,
  body.eps-private-plugin-page .emiliapro-register-page,
  body.eps-private-plugin-page .eps-company-register-page,
  body.eps-private-plugin-page .eps-company-form-only,
  body.eps-private-plugin-page .eps-admin-requests-page {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }

  #emiliapro-dashboard.emiliapro-page,
  #emiliapro-my-requests.emiliapro-page,
  .eps-company-dashboard-page {
    padding-top: 24px !important;
    padding-bottom: 52px !important;
  }

  #emiliapro-dashboard .emiliapro-dash-nav,
  #emiliapro-dashboard .emiliapro-detail-tabs,
  .eps-company-dashboard-page .eps-company-nav {
    min-width: 0 !important;
  }
  #emiliapro-dashboard .emiliapro-dash-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-bottom: 14px !important;
    margin-bottom: 22px !important;
  }
  #emiliapro-dashboard .emiliapro-dash-nav-links,
  #emiliapro-dashboard .emiliapro-detail-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 5px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #emiliapro-dashboard .emiliapro-dash-nav-links::-webkit-scrollbar,
  #emiliapro-dashboard .emiliapro-detail-tabs::-webkit-scrollbar {
    display: none !important;
  }
  #emiliapro-dashboard .emiliapro-dash-nav-link,
  #emiliapro-dashboard .emiliapro-tab-link {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .eps-company-dashboard-page .eps-company-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }
  .eps-company-dashboard-page .eps-company-nav > a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  #emiliapro-dashboard .emiliapro-tab-sep { display: none !important; }

  #emiliapro-dashboard .emiliapro-page-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 13px !important;
  }
  #emiliapro-dashboard .emiliapro-meta-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 12px !important;
    min-height: 0 !important;
    padding: 13px 14px !important;
  }
  #emiliapro-dashboard .emiliapro-meta-div { display: none !important; }
  #emiliapro-dashboard .emiliapro-desc-card,
  #emiliapro-dashboard .emiliapro-edit-card,
  #emiliapro-dashboard .emiliapro-chat-card {
    padding: 18px 16px !important;
  }
  #emiliapro-dashboard .emiliapro-desc-heading,
  #emiliapro-dashboard .emiliapro-edit-title {
    font-size: 21px !important;
    margin-bottom: 14px !important;
  }

  #emiliapro-dashboard .emiliapro-desc-table tr,
  #emiliapro-dashboard .emiliapro-edit-summary-table tr {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
    padding: 12px 0 !important;
  }
  #emiliapro-dashboard .emiliapro-desc-label,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:first-child,
  #emiliapro-dashboard .emiliapro-desc-value,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
    width: 100% !important;
    padding: 0 !important;
  }
  #emiliapro-dashboard .emiliapro-desc-label,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:first-child {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  #emiliapro-dashboard .emiliapro-desc-value,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  #emiliapro-dashboard .emiliapro-chat-header,
  #emiliapro-dashboard .emiliapro-chat-actions,
  #emiliapro-my-requests .emiliapro-mr-header,
  #emiliapro-my-requests .emiliapro-banner,
  #emiliapro-my-requests .emiliapro-request-card-body,
  #emiliapro-my-requests .emiliapro-request-card-footer,
  .eps-company-dashboard-page .eps-company-topbar,
  .eps-company-dashboard-page .eps-contact-actions,
  .eps-company-dashboard-page .eps-company-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  #emiliapro-my-requests .emiliapro-mr-actions,
  #emiliapro-my-requests .emiliapro-request-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
  }
  #emiliapro-my-requests .emiliapro-mr-actions .emiliapro-btn,
  #emiliapro-my-requests .emiliapro-request-card-footer .emiliapro-btn,
  .eps-company-dashboard-page .eps-contact-actions .emiliapro-btn,
  .eps-company-dashboard-page .eps-company-actions .emiliapro-btn,
  .eps-company-dashboard-page .eps-credit-package .emiliapro-btn {
    width: 100% !important;
    max-width: 100% !important;
  }

  .eps-company-dashboard-page .eps-company-account {
    position: relative !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    overflow: visible !important;
    z-index: 5000 !important;
  }
  .eps-company-dashboard-page .eps-company-account-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    justify-content: space-between !important;
  }
  .eps-company-dashboard-page .eps-company-account-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: min(70vh, 420px) !important;
    overflow-y: auto !important;
    z-index: 5001 !important;
  }
  .eps-company-dashboard-page .eps-company-statusline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 13px 14px !important;
  }
  .eps-company-dashboard-page .eps-lead-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 16px !important;
  }
  .eps-company-dashboard-page .eps-answer-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
  }
  .eps-company-dashboard-page .eps-detail-box,
  .eps-company-dashboard-page .eps-contact-locked,
  .eps-company-dashboard-page .eps-contact-unlocked,
  .eps-company-dashboard-page .eps-contact-card,
  .eps-company-dashboard-page .eps-company-empty,
  .eps-company-dashboard-page .eps-credit-buy-box {
    padding: 16px !important;
  }
  .eps-company-dashboard-page .eps-credit-packages {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.eps-private-plugin-page table.eps-requests-table,
  body.eps-private-plugin-page .eps-credit-buy-box table,
  body.eps-private-plugin-page .eps-company-profile-form table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .eps-company-register-page .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-form-only .eps-company-wizard:not(.eps-company-on-step-1),
  .eps-company-profile-form,
  .emiliapro-auth-page .emiliapro-auth-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 16px !important;
  }
}

@media (max-width: 420px) {
  body.eps-private-plugin-page #emiliapro-dashboard,
  body.eps-private-plugin-page #emiliapro-my-requests,
  body.eps-private-plugin-page .eps-company-dashboard-page,
  body.eps-private-plugin-page .emiliapro-auth-page,
  body.eps-private-plugin-page .emiliapro-login-page,
  body.eps-private-plugin-page .emiliapro-register-page,
  body.eps-private-plugin-page .eps-company-register-page,
  body.eps-private-plugin-page .eps-company-form-only,
  body.eps-private-plugin-page .eps-admin-requests-page {
    width: calc(100% - 16px) !important;
  }
}


/* =============================================================
   v3.16.93 — DESCRIPTION TABLE OUTLINE + SAFE CELL PADDING
   Keeps the requested table outline/dividers while ensuring labels and values
   never touch a border. Scoped only to customer dashboard description/edit
   tables, so public content tables, header and footer remain unchanged.
   ============================================================= */
#emiliapro-dashboard table.emiliapro-desc-table,
#emiliapro-dashboard table.emiliapro-edit-summary-table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe2e7 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
#emiliapro-dashboard .emiliapro-desc-table tbody,
#emiliapro-dashboard .emiliapro-edit-summary-table tbody {
  display: table-row-group !important;
  width: auto !important;
}
#emiliapro-dashboard .emiliapro-desc-table tr,
#emiliapro-dashboard .emiliapro-edit-summary-table tr {
  display: table-row !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}
#emiliapro-dashboard .emiliapro-desc-table td,
#emiliapro-dashboard .emiliapro-edit-summary-table td,
#emiliapro-dashboard .emiliapro-desc-table td:first-child,
#emiliapro-dashboard .emiliapro-desc-table td:last-child,
#emiliapro-dashboard .emiliapro-edit-summary-table td:first-child,
#emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
  display: table-cell !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #dfe2e7 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
  vertical-align: top !important;
  line-height: 1.45 !important;
}
#emiliapro-dashboard .emiliapro-desc-table td:first-child,
#emiliapro-dashboard .emiliapro-edit-summary-table td:first-child {
  width: 42% !important;
  padding-right: 20px !important;
  color: #666d7a !important;
  font-weight: 400 !important;
  border-right: 1px solid #dfe2e7 !important;
}
#emiliapro-dashboard .emiliapro-desc-table td:last-child,
#emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
  width: 58% !important;
  padding-left: 20px !important;
  color: #15151f !important;
  font-weight: 650 !important;
}
#emiliapro-dashboard .emiliapro-desc-table tr:last-child td,
#emiliapro-dashboard .emiliapro-edit-summary-table tr:last-child td {
  border-bottom: 0 !important;
}

@media (max-width: 700px) {
  #emiliapro-dashboard table.emiliapro-desc-table,
  #emiliapro-dashboard table.emiliapro-edit-summary-table,
  #emiliapro-dashboard .emiliapro-desc-table tbody,
  #emiliapro-dashboard .emiliapro-edit-summary-table tbody {
    display: block !important;
    width: 100% !important;
  }
  #emiliapro-dashboard .emiliapro-desc-table tr,
  #emiliapro-dashboard .emiliapro-edit-summary-table tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    border-bottom: 1px solid #dfe2e7 !important;
  }
  #emiliapro-dashboard .emiliapro-desc-table tr:last-child,
  #emiliapro-dashboard .emiliapro-edit-summary-table tr:last-child {
    border-bottom: 0 !important;
  }
  #emiliapro-dashboard .emiliapro-desc-table td,
  #emiliapro-dashboard .emiliapro-edit-summary-table td,
  #emiliapro-dashboard .emiliapro-desc-table td:first-child,
  #emiliapro-dashboard .emiliapro-desc-table td:last-child,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:first-child,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
    border-bottom: 0 !important;
  }
  #emiliapro-dashboard .emiliapro-desc-table td:first-child,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:first-child {
    padding: 12px 14px 4px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  #emiliapro-dashboard .emiliapro-desc-table td:last-child,
  #emiliapro-dashboard .emiliapro-edit-summary-table td:last-child {
    padding: 0 14px 12px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }
}
.eps-company-media-panel{margin-top:24px;padding:20px;border:1px solid var(--eps-border);border-radius:var(--eps-radius);background:#fafafa}.eps-company-media-panel .emiliapro-h2{margin:0 0 6px}.eps-company-media-panel .emiliapro-field{margin-top:16px}
.eps-profile-settings-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.eps-profile-preview-link{display:inline-flex!important;align-items:center;gap:8px}.eps-real-arrow{display:inline-block;flex:0 0 auto}.eps-public-profile-form{display:grid;gap:20px}.eps-profile-settings-card{border:1px solid var(--eps-border);border-radius:var(--eps-radius);background:#fff;padding:24px}.eps-profile-settings-card h2{margin:0 0 8px}.eps-profile-settings-card .wp-editor-wrap,.eps-profile-settings-card .wp-editor-container{max-width:100%}.eps-profile-settings-card .mce-container,.eps-profile-settings-card .mce-container-body{max-width:100%!important}.eps-profile-avatar-editor{display:flex;align-items:center;gap:24px}.eps-profile-avatar-editor img{width:110px;height:110px;border-radius:50%;object-fit:cover;background:#eee}.eps-profile-avatar-editor h2{margin:0 0 6px}.eps-profile-avatar-editor p{margin:0 0 14px}.eps-profile-portfolio-existing{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.eps-profile-portfolio-item{min-width:0;border:1px solid var(--eps-border);border-radius:7px;overflow:hidden;background:#fff;padding-bottom:10px}.eps-profile-portfolio-item img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.eps-profile-portfolio-item label{display:block;margin:9px 10px 0;font-size:13px}.eps-profile-portfolio-item input[type=file]{display:block;width:100%;margin-top:5px;font-size:12px}.eps-profile-portfolio-item .eps-portfolio-remove{display:flex;align-items:center;gap:6px;color:#9c1c1c}.eps-profile-upload-zone{display:grid;gap:5px;border:2px dashed #b79bc6;border-radius:8px;padding:24px;text-align:center;cursor:pointer;background:#fbf8fc}.eps-profile-upload-zone input{margin:12px auto 0}.eps-company-rich-bio h2,.eps-company-rich-bio h3,.eps-company-rich-bio h4{margin:20px 0 8px;line-height:1.25}.eps-company-rich-bio h2{font-size:24px}.eps-company-rich-bio h3{font-size:21px}.eps-company-rich-bio h4{font-size:18px}.eps-company-rich-bio p{margin:0 0 14px}.eps-company-rich-bio ul,.eps-company-rich-bio ol{margin:0 0 16px 22px;padding:0}.eps-company-rich-bio li{margin:4px 0}@media(max-width:700px){.eps-profile-settings-head,.eps-profile-avatar-editor{flex-direction:column}.eps-profile-portfolio-existing{grid-template-columns:repeat(2,minmax(0,1fr))}.eps-company-nav>a{display:none}.eps-company-nav>a.active{display:inline-flex}}


/* v3.22.1: keep the account control compact and aligned with the navigation. */
.eps-company-topbar{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:28px!important}
.eps-company-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:22px!important;min-width:0!important}
.eps-company-account{position:relative!important;flex:0 0 auto!important}
.eps-company-account-btn{max-width:210px!important;min-width:0!important;padding:0 11px!important}
.eps-company-account-menu{min-width:205px!important;padding:8px!important;top:calc(100% + 8px)!important}
.eps-company-account-menu strong{display:none!important}
.eps-company-account-menu a{padding:10px 12px!important}
.eps-company-account-menu a.active{background:var(--eps-purple-light)!important;color:var(--eps-purple)!important}
@media(max-width:1100px){.eps-company-topbar{grid-template-columns:1fr!important}.eps-company-nav{justify-content:flex-start!important}.eps-company-account{margin-left:auto!important}}
@media(max-width:700px){.eps-company-account{margin-left:0!important}.eps-company-account-btn{max-width:190px!important}.eps-company-account-menu{left:0!important;right:auto!important}}

/* EmiliaPro v4.01 review/dashboard stability */
.eps-review-textarea{display:block!important;width:100%!important;min-height:150px!important;padding:14px 16px!important;border:1px solid #b7a9bf!important;border-radius:8px!important;background:#fff!important;color:#17131c!important;font:inherit!important;line-height:1.55!important;resize:vertical!important;opacity:1!important;visibility:visible!important;position:static!important}
.eps-review-feedback{min-height:22px;margin:8px 0 0;font-size:14px}.eps-review-feedback.is-error{color:#b42318}.eps-review-feedback.is-success{color:#16753a}
.eps-company-review,.eps-customer-review-record,.eps-user-review-record{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.eps-customer-review-record,.eps-user-review-record{padding:20px!important;border:1px solid #e2dce6!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.eps-customer-review-record>div,.eps-user-review-record>p{max-width:100%;overflow-wrap:anywhere}
.eps-history-review-images{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:14px!important}.eps-history-review-images img{width:92px!important;height:92px!important;object-fit:cover!important;border-radius:8px!important}
.eps-company-private-shell,.eps-company-dashboard,.eps-customer-job-list,.eps-user-work-list{max-width:1440px!important;margin-left:auto!important;margin-right:auto!important}
.eps-customer-job-card{overflow:hidden!important}.eps-review-edit-box{margin-top:14px;border-top:1px solid #e5dfe8;padding-top:12px}.eps-review-edit-box summary{cursor:pointer;font-weight:700;color:#67258a}.eps-review-edit-box form{display:grid;gap:10px;margin-top:12px}.eps-review-edit-box textarea{width:100%;padding:12px;border:1px solid #cfc7d3;border-radius:7px}
.eps-company-account-menu{min-width:220px!important;width:max-content!important;max-width:300px!important}.eps-company-nav>a{white-space:nowrap}.eps-company-topbar{align-items:center!important}
@media(max-width:1100px){.eps-company-nav{gap:14px!important;flex-wrap:wrap!important}.eps-company-account{margin-left:0!important}}
/* v4.02 review management, consistent cards and stable header */
.eps-company-trust li>span{color:#67258a!important;background:#f4eef7!important}
.eps-company-trust li>span svg{width:15px;height:15px;display:block}
.eps-review-editor{width:100%;box-sizing:border-box;border:1px solid #b7a9bf!important;border-radius:8px!important;overflow:hidden;background:#fff}
.eps-review-editable{min-height:180px!important;max-width:100%;overflow-wrap:anywhere;word-break:break-word;background:#fff}
.eps-review-toolbar{gap:6px!important;padding:9px!important;background:#faf8fb!important}
.eps-review-toolbar button{font-weight:600!important}
.eps-review-card{width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:18px 20px!important;border:1px solid #e2dce6!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
.eps-review-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}
.eps-review-card-stars{color:#67258a;font-size:17px;letter-spacing:1px;margin-top:4px}.eps-review-card-stars span{color:#574f5c;letter-spacing:0;font-size:14px}
.eps-review-card-date{font-size:13px;color:#756e7a;white-space:nowrap}
.eps-review-card-content{line-height:1.6;overflow-wrap:anywhere;word-break:break-word}.eps-review-card-content p{margin:0 0 10px}.eps-review-card-content h3,.eps-review-card-content h4{margin:12px 0 7px}.eps-review-card-content ul,.eps-review-card-content ol{margin:8px 0 8px 22px}
.eps-history-review-images{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:14px!important}.eps-history-review-images img{width:86px!important;height:86px!important;object-fit:cover!important;border-radius:7px!important}
.eps-review-edit-box{margin-top:16px!important;padding-top:14px!important;border-top:1px solid #e5dfe8!important}.eps-review-edit-box summary{font-weight:700;color:#67258a;cursor:pointer}.eps-review-edit-box form{display:grid!important;gap:12px!important;margin-top:14px!important;max-width:760px}.eps-review-edit-box input[type=number]{max-width:120px;padding:8px}.eps-review-image-manager{display:flex;flex-wrap:wrap;gap:12px}.eps-review-image-manager label{display:grid;gap:5px}.eps-review-image-manager img{width:90px;height:90px;object-fit:cover;border-radius:7px}
.eps-customer-job-list,.eps-user-work-list{min-width:0!important}.eps-customer-job-card,.eps-user-work-card{min-width:0!important;overflow:hidden!important}.eps-customer-review-record,.eps-user-review-record{margin-top:15px!important}
.eps-company-account-menu{min-width:230px!important}.eps-company-account-menu a{display:block!important}
html,body{visibility:visible!important;opacity:1!important}
@media(max-width:700px){.eps-review-card-head{display:block}.eps-review-card-date{display:block;margin-top:6px}.eps-review-editable{min-height:150px!important}}


/* v4.03 responsive and paint stability */
html{overflow-x:hidden}body{overflow-x:hidden}
.eps-review-editor,.eps-review-editable,.eps-review-card,.eps-user-review-record,.eps-customer-review-record{max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word}
.eps-review-toolbar{align-items:center}.eps-review-toolbar button{white-space:nowrap}
.eps-review-edit-box>summary{cursor:pointer;font-weight:600;color:#67258a;margin-top:12px}
.eps-review-edit-box form{max-width:100%;display:grid;gap:12px;margin-top:12px}
.eps-cd-review-toggle{display:flex!important;align-items:center;gap:8px;margin-top:12px;font-weight:600}.eps-cd-import-reviews{margin-top:8px}
@media(max-width:900px){
 .emiliapro-private-page,.emiliapro-private-shell,.eps-private-wrap,.eps-company-dashboard,.eps-company-dashboard-inner,.eps-public-company-profile,.eps-company-contact-page{width:min(100% - 24px,100%)!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
 .eps-private-nav,.eps-company-nav,.eps-company-dashboard-nav{display:flex!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;gap:18px!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .eps-private-nav::-webkit-scrollbar,.eps-company-nav::-webkit-scrollbar,.eps-company-dashboard-nav::-webkit-scrollbar{display:none}
 .eps-company-profile-layout{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}.eps-company-profile-sidebar{position:static!important;width:100%!important}
 .eps-review-form,.eps-review-editor{width:100%!important}.eps-review-editable{min-height:180px!important}
 .eps-customer-job-card,.eps-user-work-card,.eps-company-job-card{padding:16px!important}
}
@media(max-width:700px){
 .eps-public-company-profile{padding-top:20px!important}.eps-company-public-head{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:14px!important;align-items:start!important}.eps-company-public-head img{width:64px!important;height:64px!important}.eps-company-public-head h1{font-size:23px!important;line-height:1.2!important;overflow-wrap:anywhere}
 .eps-company-profile-tabs{overflow-x:auto;white-space:nowrap}.eps-company-profile-tabs a{flex:0 0 auto}
 .eps-review-toolbar{gap:6px!important;padding:8px!important;overflow-x:auto!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch}.eps-review-toolbar button{flex:0 0 auto!important;min-height:38px!important;padding:7px 10px!important}
 .eps-review-editable{min-height:150px!important;padding:12px!important}.eps-review-upload{padding:12px!important}.eps-review-upload input[type=file]{max-width:100%!important}
 .eps-company-review-meta{display:flex!important;flex-wrap:wrap!important;gap:6px 12px!important}.eps-company-review-images,.eps-history-review-images{grid-template-columns:repeat(2,minmax(0,1fr))!important}.eps-company-review-images img,.eps-history-review-images img{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover}
 .eps-customer-job-card>header,.eps-user-work-card>header,.eps-company-job-card>header{flex-direction:column!important;align-items:flex-start!important}.eps-work-status{align-self:flex-start}
 .eps-review-card-head{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
 .eps-company-dropdown-menu{right:0!important;left:auto!important;max-width:calc(100vw - 24px)!important}
}
@media(max-width:420px){.eps-public-company-profile,.eps-company-contact-page,.eps-company-directory{width:calc(100% - 20px)!important}.eps-review-toolbar button{font-size:12px!important}.eps-company-public-head{grid-template-columns:54px minmax(0,1fr)!important}.eps-company-public-head img{width:54px!important;height:54px!important}}


/* EmiliaPro 4.04 — mobile dashboard alignment and read-only company reviews */
@media (max-width: 767px){
  html,body{max-width:100%;overflow-x:hidden!important}
  body.eps-private-plugin-page .site-header,
  body.eps-private-plugin-page header.site-header{position:relative!important;z-index:50!important;width:100%!important}
  body.eps-private-plugin-page .site-header .inside-header,
  body.eps-private-plugin-page header.site-header .inside-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:78px!important;padding:14px 18px!important;box-sizing:border-box!important}
  body.eps-private-plugin-page .site-logo,
  body.eps-private-plugin-page .site-branding{margin:0!important;min-width:0!important;flex:0 1 auto!important}
  body.eps-private-plugin-page .site-logo img,
  body.eps-private-plugin-page .site-branding img{display:block!important;max-width:185px!important;width:auto!important;height:auto!important}
  body.eps-private-plugin-page .menu-toggle{position:static!important;float:none!important;flex:0 0 auto!important;margin:0!important;transform:none!important;z-index:2!important}
  body.eps-private-plugin-page .site-content,
  body.eps-private-plugin-page #page,
  body.eps-private-plugin-page #content{clear:both!important;position:relative!important;z-index:1!important}

  body.eps-private-plugin-page .eps-company-dashboard-page{width:100%!important;max-width:100%!important;padding:22px 14px 0!important;margin:0!important;box-sizing:border-box!important}
  .eps-company-dashboard-page .eps-company-topbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;width:100%!important;margin:0 0 18px!important}
  .eps-company-dashboard-page .eps-company-brand{display:block!important;font-size:25px!important;line-height:1.2!important;margin:0!important}
  .eps-company-dashboard-page .eps-company-nav{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:18px!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;padding:0 0 8px!important;margin:0!important;white-space:nowrap!important;scrollbar-width:none!important}
  .eps-company-dashboard-page .eps-company-nav::-webkit-scrollbar{display:none!important}
  .eps-company-dashboard-page .eps-company-nav>a{display:inline-flex!important;flex:0 0 auto!important;font-size:16px!important;line-height:1.25!important;padding:7px 0!important;margin:0!important}
  .eps-company-dashboard-page .eps-company-account{display:block!important;flex:0 0 auto!important;margin:0!important;position:relative!important}
  .eps-company-dashboard-page .eps-company-account-btn{display:inline-flex!important;width:auto!important;min-width:190px!important;max-width:230px!important;height:48px!important;padding:0 14px!important;margin:0!important}
  .eps-company-dashboard-page .eps-company-account-menu{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:auto!important;width:min(260px,calc(100vw - 28px))!important;min-width:0!important;max-width:none!important;z-index:999!important}
  .eps-company-dashboard-page .eps-company-statusline{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;padding:18px!important;margin:0 0 26px!important;box-sizing:border-box!important}
  .eps-company-dashboard-page .eps-company-statusline>span{display:block!important;margin:0!important}
  .eps-company-dashboard-page h1{font-size:34px!important;line-height:1.08!important;overflow-wrap:anywhere!important}
  .eps-company-dashboard-page h2{font-size:25px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  .eps-company-dashboard-page p,.eps-company-dashboard-page li,.eps-company-dashboard-page td{overflow-wrap:anywhere!important;word-break:normal!important}
  .eps-company-dashboard-page .eps-card,
  .eps-company-dashboard-page .eps-profile-settings-card,
  .eps-company-dashboard-page .eps-review-card,
  .eps-company-dashboard-page form{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .eps-company-dashboard-page input:not([type=checkbox]):not([type=radio]),
  .eps-company-dashboard-page select,
  .eps-company-dashboard-page textarea,
  .eps-company-dashboard-page .wp-editor-wrap{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .eps-company-dashboard-page .eps-review-card-content,
  .eps-company-dashboard-page .eps-review-card-body{overflow-wrap:anywhere!important;word-break:break-word!important;max-width:100%!important}
  .eps-company-dashboard-page .eps-review-edit-box{display:none!important}
  .eps-profile-settings-card{padding:18px!important}
  .eps-profile-avatar-editor{align-items:flex-start!important}
  .eps-profile-portfolio-existing{grid-template-columns:1fr!important}
  .eps-profile-upload-zone{padding:18px 12px!important}
}
@media (max-width: 420px){
  body.eps-private-plugin-page .site-header .inside-header,
  body.eps-private-plugin-page header.site-header .inside-header{padding:12px 14px!important;min-height:70px!important}
  body.eps-private-plugin-page .site-logo img,
  body.eps-private-plugin-page .site-branding img{max-width:160px!important}
  .eps-company-dashboard-page{padding-left:12px!important;padding-right:12px!important}
  .eps-company-dashboard-page h1{font-size:29px!important}
  .eps-company-dashboard-page .eps-company-nav{gap:15px!important}
  .eps-company-dashboard-page .eps-company-nav>a{font-size:15px!important}
  .eps-company-dashboard-page .eps-company-account-btn{min-width:170px!important;max-width:205px!important}
}

/* EmiliaPro 4.05 — final mobile containment, dropdown and review controls */
@media (max-width: 700px) {
  html, body { max-width:100%; overflow-x:hidden!important; }
  .eps-company-dashboard-page,
  .eps-company-dashboard,
  .eps-company-dashboard-page * { box-sizing:border-box; }

  .eps-company-topbar { display:block!important; width:100%!important; overflow:visible!important; }
  .eps-company-brand { display:block!important; margin:0 0 14px!important; }
  .eps-company-nav {
    display:flex!important; align-items:center!important; gap:18px!important;
    width:100%!important; max-width:100%!important; overflow-x:auto!important;
    overflow-y:visible!important; padding:0 0 10px!important; scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .eps-company-nav::-webkit-scrollbar{display:none}
  .eps-company-nav > a { flex:0 0 auto!important; white-space:nowrap!important; }
  .eps-company-account { flex:0 0 auto!important; position:relative!important; margin-left:0!important; }
  .eps-company-account-btn { min-width:180px!important; max-width:220px!important; width:auto!important; }
  .eps-company-account-menu {
    position:fixed!important; left:14px!important; right:14px!important; top:auto!important;
    width:auto!important; min-width:0!important; max-width:none!important; z-index:999999!important;
  }

  .eps-review-card,
  .eps-user-review-record,
  .eps-customer-review-record,
  .eps-review-edit-box,
  .eps-review-edit-box form,
  .eps-review-editor,
  .eps-review-editable,
  .eps-review-source {
    width:100%!important; max-width:100%!important; min-width:0!important;
    overflow:hidden!important; box-sizing:border-box!important;
  }
  .eps-review-card-content,
  .eps-review-editable,
  .eps-review-card p,
  .eps-user-review-record p,
  .eps-customer-review-record p {
    white-space:normal!important; overflow-wrap:anywhere!important; word-break:break-word!important;
  }
  .eps-review-editable { min-height:150px!important; padding:14px!important; }
  .eps-review-toolbar {
    display:flex!important; flex-wrap:wrap!important; overflow:visible!important;
    width:100%!important; max-width:100%!important; gap:6px!important; padding:8px!important;
  }
  .eps-review-toolbar button { flex:0 0 auto!important; max-width:100%!important; }
  .eps-review-edit-box .emiliapro-btn,
  .eps-review-edit-box button[type="submit"] { width:100%!important; max-width:100%!important; margin-top:10px!important; }
  .eps-review-image-manager { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}
