/* EventHall 2.0 account dashboard — split out from the main index stylesheet. */
#accountModal.eh2-account-overlay {
  z-index: 900 !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  background: #f3f5f8 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden !important;
}
#accountModal .eh2-account-page {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: auto !important;
  background: #f3f5f8;
  box-shadow: none !important;
  animation: none !important;
  overscroll-behavior: contain;
}
.eh2-account-topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px;
  min-height: 66px; padding: 10px 24px; background: #0b1f3a; color: #fff;
  box-shadow: 0 3px 16px rgba(0,0,0,.10); flex: 0 0 auto;
}
.eh2-account-brand { color: #fff; text-decoration: none; font-weight: 950; font-size: 22px; letter-spacing: -.7px; white-space: nowrap; }
.eh2-account-brand span { color: #d4a843; }
.eh2-top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.eh2-top-link,.eh2-top-primary,.eh2-account-close,.eh2-outline-btn,.eh2-refresh-btn {
  border: 1px solid transparent; font-family: inherit; font-weight: 700; cursor: pointer; transition: .15s ease;
}
.eh2-top-link { color: #e8edf4; background: transparent; padding: 9px 12px; border-radius: 8px; font-size: 12px; white-space: nowrap; }
.eh2-top-link:hover { background: #ffffff16; color: #fff; }
.eh2-top-primary { background: #d4a843; color: #0b1f3a; border-radius: 8px; padding: 10px 14px; font-size: 12px; white-space: nowrap; }
.eh2-top-primary:hover { background: #f0c85a; }
.eh2-account-close { width: 36px; height: 36px; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; background: #ffffff16; color: #fff; border-radius: 50%; font-size: 24px; line-height: 1; }
.eh2-account-close:hover { background: #ffffff2b; }
.eh2-account-layout { width: 100%; max-width: 1450px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 258px minmax(0,1fr); gap: 24px; align-items: start; flex: 1 0 auto; }
.eh2-account-sidebar { background: #fff; border: 1px solid #e5e9f0; border-radius: 16px; box-shadow: 0 8px 28px rgba(11,31,58,.05); overflow: hidden; position: sticky; top: 88px; }
.eh2-account-identity { display: flex; align-items: center; gap: 12px; padding: 20px 16px; border-bottom: 1px solid #edf0f4; min-width: 0; }
.eh2-account-avatar { width: 54px; height: 54px; display: flex; justify-content: center; align-items: center; flex: 0 0 54px; overflow: hidden; border-radius: 50%; border: 2px solid #f3df9f; background: #0b1f3a; color: #f0c85a; font-weight: 900; font-size: 20px; cursor: pointer; padding: 0; }
.eh2-account-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.eh2-account-person { min-width: 0; }
.eh2-account-name { color: #17243a; font-size: 13px; line-height: 1.35; font-weight: 850; overflow-wrap: anywhere; }
.eh2-account-email { margin-top: 3px; color: #7b8798; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.eh2-account-member { margin-top: 5px; color: #b18a22; font-size: 10px; font-weight: 750; }
.eh2-account-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; }
.eh2-account-nav-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 9px; background: transparent; color: #596579; text-align: left; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.eh2-account-nav-item > span:first-child { width: 22px; flex: 0 0 22px; text-align: center; font-size: 16px; color: #6f7d91; }
.eh2-account-nav-item:hover { background: #f5f7fa; color: #0b1f3a; }
.eh2-account-nav-item.active { background: #fdf3dc; color: #0b1f3a; }
.eh2-account-nav-item.active > span:first-child { color: #b18a22; }
.eh2-nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; background: #d4a843; color: #0b1f3a; font-size: 10px; }
.eh2-account-sidebar-footer { border-top: 1px solid #edf0f4; padding: 12px 10px; }
.eh2-signout-btn { width: 100%; background: #fff; border: 1px solid #e5e9f0; border-radius: 9px; padding: 10px 12px; color: #ad3440; font-family: inherit; font-size: 12px; font-weight: 800; text-align: left; cursor: pointer; }
.eh2-signout-btn:hover { background: #fff5f5; border-color: #f2c7cb; }
.eh2-account-main { min-width: 0; }
.eh2-account-panel { display: none; min-width: 0; }
.eh2-account-panel.active { display: block; }
.eh2-account-panel[hidden] { display: none !important; }
.eh2-page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 2px 0 20px; }
.eh2-page-heading h1 { color: #14243b; font-size: clamp(24px,3vw,32px); line-height: 1.12; font-weight: 900; letter-spacing: -.8px; margin: 3px 0 7px; }
.eh2-page-heading h1 span { color: #b18a22; }
.eh2-page-heading p:not(.eh2-eyebrow) { color: #7b8798; font-size: 13px; line-height: 1.6; max-width: 700px; }
.eh2-eyebrow { color: #b18a22; font-weight: 850; letter-spacing: 1.6px; font-size: 10px; text-transform: uppercase; }
.eh2-eyebrow.light { color: #f0c85a; }
.eh2-outline-btn { background: #fff; border-color: #dfe4eb; color: #42516a; border-radius: 8px; padding: 9px 13px; font-size: 11px; white-space: nowrap; }
.eh2-outline-btn:hover { border-color: #d4a843; color: #0b1f3a; }
.eh2-account-welcome-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; overflow: hidden; border-radius: 16px; padding: 26px 28px; margin-bottom: 18px; background: linear-gradient(115deg,#0b1f3a,#18395d); color: #fff; box-shadow: 0 8px 25px rgba(11,31,58,.12); }
.eh2-account-welcome-card h2 { margin: 5px 0 8px; font-size: clamp(20px,2.8vw,27px); font-weight: 900; letter-spacing: -.45px; }
.eh2-account-welcome-card p:not(.eh2-eyebrow) { color: #d6dfeb; font-size: 12px; line-height: 1.65; max-width: 530px; }
.eh2-welcome-mark { width: 76px; height: 76px; flex: 0 0 76px; display: flex; align-items: center; justify-content: center; border-radius: 22px; transform: rotate(-8deg); background: #d4a84320; border: 1px solid #d4a84370; color: #f0c85a; font-size: 25px; font-weight: 950; }
.eh2-account-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 28px; }
.eh2-metric-card { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; column-gap: 10px; row-gap: 4px; min-width: 0; text-align: left; padding: 16px; border: 1px solid #e5e9f0; border-radius: 13px; background: #fff; box-shadow: 0 6px 20px rgba(11,31,58,.035); cursor: pointer; }
.eh2-metric-card:hover { border-color: #d4a843; transform: translateY(-1px); }
.eh2-metric-icon { grid-row: span 3; display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: #fdf3dc; color: #926d12; font-size: 18px; }
.eh2-metric-label { color: #7b8798; font-size: 10.5px; font-weight: 700; }
.eh2-metric-card strong { color: #14243b; font-size: 24px; font-weight: 900; line-height: 1.15; }
.eh2-metric-card small { color: #9aa4b3; font-size: 10px; line-height: 1.35; }
.eh2-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.eh2-section-heading h2 { color: #14243b; font-size: 17px; font-weight: 900; }
.eh2-section-heading p { color: #8691a2; font-size: 11px; margin-top: 4px; line-height: 1.5; }
.eh2-quick-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.eh2-quick-card { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 17px; border: 1px solid #e5e9f0; border-radius: 12px; background: #fff; text-align: left; color: #17243a; cursor: pointer; min-width: 0; transition: .16s ease; }
.eh2-quick-card:hover { border-color: #d4a843; box-shadow: 0 7px 20px rgba(11,31,58,.06); transform: translateY(-1px); }
.eh2-quick-card > span { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: #fdf3dc; color: #9b7517; border-radius: 9px; font-size: 18px; }
.eh2-quick-card strong { font-size: 12px; font-weight: 850; }
.eh2-quick-card small { color: #8691a2; font-size: 10.5px; line-height: 1.5; }
.eh2-account-note { border: 1px solid #f0e1b8; background: #fffaf0; border-radius: 10px; padding: 13px 15px; margin-top: 18px; color: #7a6740; font-size: 11px; line-height: 1.65; }
.eh2-account-note strong { color: #684e0e; }
.eh2-account-list { border: 1px solid #e5e9f0; border-radius: 13px; background: #fff; padding: 0 16px; overflow: hidden; min-width: 0; }
.eh2-business-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf0f4; cursor: pointer; min-width: 0; }
.eh2-business-row:last-child { border-bottom: 0; }
.eh2-business-logo { width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #e9edf3; color: #0b1f3a; font-size: 17px; font-weight: 900; }
.eh2-business-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.eh2-business-info { flex: 1; min-width: 0; }
.eh2-business-title { color: #223049; font-size: 13px; font-weight: 850; overflow-wrap: anywhere; }
.eh2-business-sub { color: #8993a2; font-size: 10.5px; line-height: 1.5; margin-top: 4px; }
.eh2-business-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; }
.eh2-status { display: inline-flex; padding: 4px 7px; border-radius: 99px; text-transform: uppercase; font-size: 9px; font-weight: 850; white-space: nowrap; }
.eh2-status.approved { color: #176b36; background: #e5f6e9; }
.eh2-status.pending { color: #925b0a; background: #fff2d4; }
.eh2-status.rejected { color: #ab2f3a; background: #fdebed; }
.eh2-status.suspended { color: #596579; background: #edf0f4; }
.eh2-small-link { border: 0; background: none; color: #245fd1; font-family: inherit; font-size: 10px; font-weight: 800; cursor: pointer; padding: 0; }
.eh2-small-link:hover { text-decoration: underline; }
.eh2-state { padding: 28px 14px; text-align: center; color: #8792a2; font-size: 12px; line-height: 1.6; }
.eh2-message-row { padding: 14px 0; border-bottom: 1px solid #edf0f4; }
.eh2-message-row:last-child { border-bottom: 0; }
.eh2-message-row strong { display: block; color: #223049; font-size: 12px; font-weight: 850; }
.eh2-message-row p { margin: 6px 0 0; color: #667286; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.eh2-message-row small { display: block; margin-top: 7px; color: #9aa4b3; font-size: 9.5px; }
.eh2-account-tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; border-bottom: 1px solid #e5e9f0; padding-bottom: 8px; }
.eh2-account-tabs button { border: 1px solid transparent; border-radius: 8px; background: transparent; padding: 9px 13px; color: #647187; font-family: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.eh2-account-tabs button.active { background: #fdf3dc; color: #0b1f3a; border-color: #f0e1b8; }
.eh2-account-tabs .eh2-refresh-btn { margin-left: auto; }
.eh2-refresh-btn { background: #fff; border-color: #dfe4eb; color: #526075; border-radius: 8px; padding: 8px 11px; font-size: 10px; }
.eh2-refresh-btn:hover { border-color: #d4a843; }
.eh2-quote-row { display: block; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid #edf0f4; background: #fff; text-align: left; cursor: pointer; }
.eh2-quote-row:last-child { border-bottom: 0; }
.eh2-quote-row:hover strong { color: #245fd1; }
.eh2-quote-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.eh2-quote-top strong { color: #1f2e45; font-size: 12px; font-weight: 850; overflow-wrap: anywhere; }
.eh2-quote-meta { color: #8993a2; font-size: 10px; line-height: 1.6; margin-top: 4px; }
.eh2-quote-message { color: #667286; font-size: 11px; line-height: 1.55; margin-top: 5px; overflow-wrap: anywhere; }
.eh2-quote-pill { display: inline-flex; border-radius: 99px; padding: 4px 7px; font-size: 9px; font-weight: 850; text-transform: lowercase; white-space: nowrap; background: #eef2f6; color: #58667b; }
.eh2-quote-pill.new { background: #e6efff; color: #2457b8; }
.eh2-quote-pill.read { background: #eef2f6; color: #58667b; }
.eh2-quote-pill.replied { background: #e4f6eb; color: #176b36; }
.eh2-quote-pill.closed { background: #f3f4f6; color: #6b7280; }
.eh2-quote-detail { background: #fff; border: 1px solid #e5e9f0; border-radius: 13px; padding: 18px; margin-top: 14px; }
.eh2-quote-detail h3 { margin: 4px 0 14px; color: #14243b; font-size: 18px; overflow-wrap: anywhere; }
.eh2-quote-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.eh2-quote-field { min-width: 0; padding: 10px; border: 1px solid #edf0f4; border-radius: 9px; background: #fafbfd; }
.eh2-quote-field.full { grid-column: 1/-1; }
.eh2-quote-field label { display: block; color: #8792a2; text-transform: uppercase; font-size: 9px; font-weight: 850; letter-spacing: .5px; margin-bottom: 5px; }
.eh2-quote-field div { color: #29374d; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.eh2-profile-settings-card { background: #fff; border: 1px solid #e5e9f0; border-radius: 14px; padding: 22px; }
.eh2-profile-photo-row { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #edf0f4; }
.eh2-account-avatar-large { width: 82px; height: 82px; flex-basis: 82px; font-size: 27px; }
.eh2-profile-photo-row strong { color: #17243a; font-size: 13px; }
.eh2-profile-photo-row p { margin: 5px 0 10px; color: #8993a2; font-size: 10.5px; line-height: 1.5; }
.eh2-profile-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 18px; }
.eh2-profile-fields label { display: block; margin-bottom: 6px; color: #8792a2; font-size: 10px; font-weight: 800; }
.eh2-readonly-field { border: 1px solid #e5e9f0; border-radius: 8px; background: #f9fafb; color: #3d4b62; font-size: 12px; padding: 11px; overflow-wrap: anywhere; }
.eh2-account-footer { padding: 13px 24px; text-align: center; color: #9aa4b3; border-top: 1px solid #e5e9f0; font-size: 9px; letter-spacing: .3px; background: #fff; flex: 0 0 auto; }
@media(max-width:1000px) {
  .eh2-account-layout { grid-template-columns: 220px minmax(0,1fr); gap: 16px; padding: 16px; }
  .eh2-account-metrics { gap: 9px; }
  .eh2-metric-card { padding: 12px; grid-template-columns: 32px minmax(0,1fr); column-gap: 7px; }
  .eh2-metric-icon { width: 32px; height: 32px; }
  .eh2-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .eh2-account-topbar { padding: 10px 12px; min-height: 58px; gap: 12px; flex-wrap: wrap; }
  .eh2-account-brand { font-size: 20px; }
  .eh2-top-actions { order: 3; width: 100%; margin: 0; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .eh2-top-actions::-webkit-scrollbar { display: none; }
  .eh2-top-link,.eh2-top-primary { flex: 0 0 auto; }
  .eh2-account-close { margin-left: auto; }
  .eh2-account-layout { display: block; padding: 12px; }
  .eh2-account-sidebar { position: static; margin-bottom: 14px; }
  .eh2-account-identity { padding: 12px; }
  .eh2-account-avatar { width: 46px; height: 46px; flex-basis: 46px; font-size: 17px; }
  .eh2-account-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; padding: 8px; }
  .eh2-account-nav-item { align-items: center; justify-content: center; gap: 5px; flex-direction: column; text-align: center; padding: 9px 5px; font-size: 9.5px; line-height: 1.25; }
  .eh2-account-nav-item > span:first-child { width: auto; flex: 0 0 auto; font-size: 16px; }
  .eh2-nav-count { position: static; margin: 3px 0 0; min-width: 16px; height: 16px; font-size: 8px; }
  .eh2-account-sidebar-footer { padding: 8px; }
  .eh2-signout-btn { text-align: center; }
  .eh2-page-heading { flex-wrap: wrap; margin-bottom: 14px; }
  .eh2-page-heading h1 { font-size: 25px; }
  .eh2-account-welcome-card { padding: 20px; }
  .eh2-welcome-mark { width: 54px; height: 54px; flex-basis: 54px; font-size: 19px; border-radius: 16px; }
  .eh2-account-metrics { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
  .eh2-metric-card { grid-template-columns: 38px minmax(0,1fr); padding: 12px; }
  .eh2-metric-icon { width: 36px; height: 36px; }
  .eh2-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .eh2-quick-card { padding: 12px; }
  .eh2-quick-card strong { font-size: 11px; }
  .eh2-quick-card small { font-size: 10px; }
  .eh2-account-list { padding: 0 10px; }
  .eh2-business-row { align-items: flex-start; gap: 9px; }
  .eh2-business-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .eh2-business-actions { max-width: 95px; }
  .eh2-business-sub { font-size: 9.5px; }
  .eh2-account-tabs { flex-wrap: wrap; }
  .eh2-account-tabs .eh2-refresh-btn { margin-left: auto; }
  .eh2-quote-detail-grid,.eh2-profile-fields { grid-template-columns: 1fr; }
  .eh2-quote-field.full { grid-column: auto; }
  .eh2-profile-settings-card { padding: 15px; }
}
@media(max-width:380px) {
  .eh2-account-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .eh2-quick-grid { grid-template-columns: 1fr; }
  .eh2-account-welcome-card { align-items: flex-start; }
  .eh2-welcome-mark { display: none; }
  .eh2-quote-top { flex-direction: column; gap: 6px; }
}


/* Step 17: numbered quote list; new received enquiries are sorted to the top. */
.eh2-quote-row-heading { display:grid; grid-template-columns:27px minmax(0,1fr); gap:10px; align-items:start; }
.eh2-quote-number { width:26px; height:26px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#fdf3dc; border:1px solid #f0e1b8; color:#0b1f3a; font-size:10px; font-weight:900; line-height:1; }
.eh2-quote-row-main { min-width:0; }
.eh2-quote-row-main .eh2-quote-top strong { min-width:0; }
@media(max-width:380px) { .eh2-quote-row-heading { grid-template-columns:24px minmax(0,1fr); gap:8px; } .eh2-quote-number { width:23px; height:23px; } }

/* Step 18: per-user quote Trash and unread-count affordances. */
.eh2-quote-detail-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; margin-top:14px; }
.eh2-danger-btn { border:1px solid #f0c8cc; background:#fff5f5; color:#a52834; border-radius:8px; padding:9px 13px; font-family:inherit; font-size:11px; font-weight:800; cursor:pointer; }
.eh2-danger-btn:hover { border-color:#d94b57; background:#ffe9eb; }
.eh2-visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
@media(max-width:760px) { .eh2-quote-detail-actions { justify-content:stretch; } .eh2-quote-detail-actions button { flex:1 1 auto; } }
