.account-auth,
.account-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.account-auth {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.account-panel {
  border: 1px solid #d5dfda;
  border-top: 3px solid #b34e3d;
  border-radius: 5px;
  background: #fff;
  padding: 26px;
}

.account-panel-narrow { width: min(440px, 100%); }
.account-panel h1,
.account-page h1 { margin: 0; font-size: 26px; line-height: 1.25; letter-spacing: 0; }
.account-panel > p,
.account-page-header p { margin: 6px 0 0; color: #596762; }

.account-eyebrow,
.package-code {
  margin: 0 0 5px !important;
  color: #943c2b !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-form { display: grid; gap: 13px; margin-top: 20px; }
.account-form label { display: grid; gap: 5px; color: #18312e; font-size: 13px; font-weight: 700; }
.account-form input { width: 100%; min-height: 42px; border: 1px solid #aab8b3; border-radius: 4px; padding: 8px 11px; font: inherit; }
.account-form input:focus { outline: 2px solid #b34e3d; outline-offset: 1px; }
.account-form small { color: #687671; font-weight: 400; }
.account-switch { margin: 18px 0 0; }
.account-switch a,
.account-table a { color: #853526; font-weight: 700; }

.account-page { min-height: calc(100vh - 76px); padding: 28px 0 56px; }
.account-workspace-nav { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #d7e0dc; background: #f5f8f6; padding: 5px; }
.account-workspace-links,
.account-user-menu { display: flex; align-items: center; gap: 4px; min-width: 0; }
.account-workspace-links a,
.account-user-menu > span,
.account-logout { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 3px; padding: 7px 10px; color: #3e504b; background: transparent; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; }
.account-workspace-links a.active { color: #fff; background: #155e59; }
.account-workspace-links svg,
.account-user-menu svg { width: 16px; height: 16px; flex: 0 0 auto; }
.account-user-menu > span { max-width: 280px; color: #64736e; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-user-menu form { margin: 0; }
.account-logout { cursor: pointer; }
.account-logout:hover { color: #7d3024; background: #f7e9e5; }

.account-page-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #dce4e0; padding: 20px 0; }
.account-page-header > div { min-width: 0; }
.account-order-header h1 { overflow-wrap: anywhere; }
.button.button-compact { min-height: 38px; padding: 7px 12px; font-size: 13px; }

.account-alert { display: grid; gap: 3px; margin: 14px 0; border-left: 3px solid #26766b; background: #edf7f4; padding: 11px 13px; color: #173d37; font-size: 14px; }
.account-alert-error { border-left-color: #b83d2c; background: #fff0ed; color: #78251a; }
.account-alert span { overflow-wrap: anywhere; }

.account-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid #dce4e0; }
.account-table { width: 100%; border-collapse: collapse; background: #fff; }
.account-table th,
.account-table td { padding: 11px 12px; border-bottom: 1px solid #e2e8e5; text-align: left; vertical-align: middle; white-space: nowrap; }
.account-table tbody tr:last-child td { border-bottom: 0; }
.account-table tbody tr:hover { background: #f8faf9; }
.account-table th { background: #f2f6f4; color: #4d5d58; font-size: 11px; text-transform: uppercase; }
.account-money { color: #193d37; font-weight: 800; }
.account-row-action { width: 42px; text-align: center !important; }
.account-row-action a { display: inline-flex; padding: 5px; color: #155e59; }
.account-row-action svg { width: 17px; height: 17px; }

.payment-status { min-height: 24px; display: inline-flex; align-items: center; border-radius: 3px; background: #eef2f0; padding: 2px 7px; color: #41514c; font-size: 11px; font-weight: 800; }
.status-succeeded { background: #e1f3eb; color: #176143; }
.status-failed,
.status-disputed { background: #fee9e5; color: #8a2c1e; }
.status-action_required,
.status-payment_created,
.status-pending { background: #fff2d6; color: #74500a; }

.account-empty { margin-top: 16px; border: 1px dashed #aebdb7; padding: 32px; text-align: center; }
.account-empty h2 { margin-top: 0; font-size: 20px; }

.account-plan-list { margin-top: 16px; border: 1px solid #d8e0dc; background: #fff; }
.account-plan-row { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(260px, 1.4fr) 150px 170px; align-items: center; gap: 18px; min-height: 104px; border-bottom: 1px solid #dfe6e2; padding: 16px; }
.account-plan-row:last-child { border-bottom: 0; }
.account-plan-row-selected { box-shadow: inset 4px 0 #b34e3d; background: #fffbfa; }
.account-plan-name,
.account-plan-description,
.account-plan-price { min-width: 0; }
.account-plan-row h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.account-plan-description { margin: 0; color: #5e6c67; font-size: 14px; }
.account-plan-price { text-align: right; }
.package-price-custom { font-size: 17px; }
.account-plan-action-custom { min-width: 220px; display: grid; gap: 7px; }
.account-plan-action-custom label { display: grid; gap: 4px; color: #56645f; font-size: 11px; font-weight: 700; }
.account-plan-action-custom input { width: 100%; min-height: 38px; border: 1px solid #cfd9d5; border-radius: 5px; padding: 7px 10px; color: #17211f; background: #fff; font: inherit; }
.account-plan-action-custom .field-error { max-width: 240px; color: #a33a31; font-size: 11px; }
.package-price { margin: 0; color: #173d37 !important; font-size: 22px; font-weight: 800; white-space: nowrap; }
.package-price span { font-size: 11px; }
.package-list-price { margin: 1px 0 0; color: #6c7974; font-size: 12px; text-decoration: line-through; }
.package-interval { margin: 2px 0 0 !important; color: #63716c; font-size: 12px; }
.account-plan-action { display: grid; gap: 7px; margin: 0; }
.account-plan-action .button { width: 100%; }
.account-plan-action label { min-width: 0; display: grid; gap: 4px; color: #56645f; font-size: 11px; font-weight: 700; }
.account-plan-action select { width: 100%; min-height: 38px; border: 1px solid #cfd9d5; border-radius: 5px; padding: 7px 32px 7px 10px; color: #17211f; background: #fff; font: inherit; }
.account-plan-action .select-shell { width: 100%; }
.account-payment-quote { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0; color: #65736e; font-size: 10px; }
.account-payment-quote[hidden] { display: none; }
.account-payment-quote strong { color: #17211f; font-size: 12px; overflow-wrap: anywhere; text-align: right; }
.account-plan-action .field-error { max-width: 260px; color: #a33a31; font-size: 11px; }

.account-record-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 0; border-top: 1px solid #dce4e0; border-left: 1px solid #dce4e0; }
.account-record-list > div { min-width: 0; border-right: 1px solid #dce4e0; border-bottom: 1px solid #dce4e0; padding: 12px 14px; }
.account-record-list dt { margin-bottom: 3px; color: #65736e; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.account-record-list dd { margin: 0; color: #1b2b28; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.account-payment-instructions { margin-top: 14px; border: 1px solid #cfddd7; border-left: 3px solid #26766b; padding: 14px; }
.account-payment-instructions h2 { margin: 0 0 10px; font-size: 16px; }
.account-payment-instructions dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.account-payment-instructions dl > div { display: grid; grid-template-columns: minmax(100px, .45fr) 1fr; gap: 10px; border-top: 1px solid #e0e7e4; padding: 8px 0; }
.account-payment-instructions dt { color: #66746f; font-size: 12px; text-transform: capitalize; }
.account-payment-instructions dd { margin: 0; overflow-wrap: anywhere; }
.account-payment-instructions code { font-size: 12px; white-space: normal; }
.account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.account-actions form { margin: 0; }
.account-order-actions { margin-top: 14px; }

[dir="rtl"] .account-table th,
[dir="rtl"] .account-table td,
[dir="rtl"] .account-plan-price { text-align: right; }
[dir="rtl"] .account-plan-row-selected { box-shadow: inset -4px 0 #b34e3d; }
[dir="rtl"] .account-alert,
[dir="rtl"] .account-payment-instructions { border-left-width: 1px; border-right: 3px solid #26766b; }

@media (max-width: 960px) {
  .account-plan-row { grid-template-columns: minmax(180px, .8fr) minmax(220px, 1.2fr) 140px; }
  .account-plan-action { grid-column: 1 / -1; }
  .account-plan-action .button { width: auto; }
  .account-record-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .account-auth,
  .account-page { width: min(100% - 24px, 1180px); }
  .account-page { padding-top: 14px; }
  .account-workspace-nav { align-items: stretch; flex-direction: column; gap: 4px; }
  .account-workspace-links a { flex: 1; justify-content: center; }
  .account-user-menu { justify-content: space-between; border-top: 1px solid #dce4e0; padding-top: 4px; }
  .account-user-menu > span { max-width: calc(100vw - 130px); }
  .account-logout span { display: none; }
  .account-page-header { min-height: 0; align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 0; }
  .account-page-header .button { width: 100%; }
  .account-table-wrap { border: 0; overflow: visible; }
  .account-table thead { display: none; }
  .account-table,
  .account-table tbody { display: block; }
  .account-table tr { display: grid; border: 1px solid #dce4e0; border-bottom: 0; padding: 6px 11px; }
  .account-table tr:last-child { border-bottom: 1px solid #dce4e0; }
  .account-table td { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border: 0; padding: 6px 0; white-space: normal; text-align: right; }
  .account-table td::before { content: attr(data-label); color: #66746f; font-size: 11px; font-weight: 700; text-align: left; text-transform: uppercase; }
  .account-row-action { display: none !important; }
  .account-plan-row { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .account-plan-description { font-size: 13px; }
  .account-plan-price { text-align: left; }
  .account-plan-action { grid-column: auto; }
  .account-plan-action .button { width: 100%; }
  .account-record-list,
  .account-payment-instructions dl { grid-template-columns: 1fr; }
  .account-payment-instructions dl > div { grid-template-columns: 1fr; gap: 2px; }
  .account-order-actions > * { flex: 1 1 100%; }
  .account-order-actions .button { width: 100%; }
}

/* Customer workspace refresh. */
.account-auth,
.account-page { width: min(1220px, calc(100% - 40px)); }

.account-auth { min-height: calc(100vh - 76px); padding: 54px 0; }
.account-panel { border: 1px solid #dce4e1; border-top: 0; border-radius: 8px; padding: 30px; box-shadow: 0 16px 44px rgba(13,23,21,.11); }
.account-panel-narrow { width: min(460px, 100%); }
.account-panel h1,
.account-page h1 { color: #0d1715; font-size: 28px; font-weight: 760; }
.account-panel > p,
.account-page-header p { color: #66736f; }
.account-eyebrow,
.package-code { color: #0a6f5c !important; font-size: 10px; letter-spacing: 0; }

.account-auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 22px; color: #17211f; }
.account-auth-brand > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; background: #0f806b; box-shadow: 0 7px 20px rgba(15,128,107,.2); }
.account-auth-brand img { width: 29px; height: 29px; }
.account-auth-brand strong { font-size: 15px; }
.account-auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 25px; border-bottom: 1px solid #dce4e1; }
.account-auth-tabs a { min-height: 40px; display: grid; place-items: center; border-bottom: 2px solid transparent; color: #697671; font-size: 12px; font-weight: 750; text-decoration: none; }
.account-auth-tabs a.active { border-bottom-color: #0f806b; color: #0a6f5c; }
.account-form { gap: 15px; margin-top: 22px; }
.account-form label { gap: 6px; color: #31403c; font-size: 12px; }
.account-form input { min-height: 44px; border-color: #bdc9c4; border-radius: 6px; padding: 9px 11px; }
.account-form input:focus { border-color: #0f806b; outline: 3px solid rgba(15,128,107,.16); outline-offset: 0; }
.account-form .button { width: 100%; min-height: 44px; gap: 8px; border-radius: 7px; }
.account-switch { border-top: 1px solid #edf1ef; padding-top: 17px; text-align: center; }
.account-switch a,
.account-table a { color: #0a6f5c; }

.account-page { min-height: calc(100vh - 76px); padding: 24px 0 64px; }
.account-workspace-nav { min-height: 64px; display: grid; grid-template-columns: minmax(190px, .8fr) minmax(260px, 1.2fr) minmax(230px, 1fr); border: 1px solid #dce4e1; border-radius: 8px; padding: 7px; background: #fff; box-shadow: 0 1px 2px rgba(13,23,21,.05); }
.account-workspace-brand { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 0 7px; color: #17211f; text-decoration: none; }
.account-workspace-brand:hover { color: #17211f; }
.account-workspace-brand > span { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border-radius: 7px; color: #0f806b; background: #e4f5f0; }
.account-workspace-brand svg { width: 17px; height: 17px; }
.account-workspace-brand strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-workspace-links { justify-self: center; border-radius: 6px; padding: 3px; background: #f1f4f3; }
.account-workspace-links a { min-height: 38px; border-radius: 5px; padding: 7px 12px; color: #596662; font-size: 12px; }
.account-workspace-links a.active { color: #fff; background: #0f806b; box-shadow: 0 1px 2px rgba(13,23,21,.12); }
.account-user-menu { justify-self: end; }
.account-user-menu > span { max-width: 260px; gap: 9px; padding: 4px 8px; }
.account-avatar { width: 30px; height: 30px; display: grid; flex: 0 0 30px; place-items: center; border-radius: 50%; color: #0b4d40; background: #b7ebd9; font-size: 11px; font-weight: 800; }
.account-user-copy { min-width: 0; display: grid; }
.account-user-copy strong,
.account-user-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-user-copy strong { color: #293632; font-size: 11px; }
.account-user-copy small { color: #74817c; font-size: 9px; font-weight: 600; }
.account-logout { width: 36px; min-height: 36px; justify-content: center; padding: 7px; }
.account-logout span { display: none; }

.account-page-header { min-height: 112px; border-bottom: 0; padding: 24px 2px 20px; }
.account-page-header h1 { font-size: 28px; }
.account-page-header .button { flex: 0 0 auto; }
.button.button-compact { min-height: 40px; border-radius: 7px; padding: 8px 13px; }

.account-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.account-metric { position: relative; min-width: 0; min-height: 108px; display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-content: space-between; gap: 8px; overflow: hidden; border: 1px solid #dce4e1; border-radius: 8px; padding: 16px; background: #fff; box-shadow: 0 1px 2px rgba(13,23,21,.05); }
.account-metric::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #7d8a86; }
.account-metric > span { color: #596662; font-size: 11px; font-weight: 720; }
.account-metric strong { grid-column: 1; color: #0d1715; font-size: 27px; font-weight: 780; line-height: 1; }
.account-metric svg { grid-column: 2; grid-row: 1; width: 18px; height: 18px; color: #7d8a86; }
.account-metric.metric-total::before { background: #2d6cdf; }
.account-metric.metric-total svg { color: #2d6cdf; }
.account-metric.metric-paid::before { background: #137a54; }
.account-metric.metric-paid svg { color: #137a54; }
.account-metric.metric-processing::before { background: #a96308; }
.account-metric.metric-processing svg { color: #a96308; }
.account-metric.metric-attention::before { background: #b63c48; }
.account-metric.metric-attention svg { color: #b63c48; }

.account-next-action { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 13px; margin-bottom: 16px; border: 1px solid #eadab9; border-left: 3px solid #a96308; border-radius: 7px; padding: 14px 16px; background: #fffaf1; }
.account-next-action.status-failed,
.account-next-action.status-canceled,
.account-next-action.status-expired,
.account-next-action.status-disputed { border-color: #efd3d6; border-left-color: #b63c48; background: #fff5f6; }
.account-next-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; color: #9a5b04; background: #fff0d4; }
.account-next-action.status-failed .account-next-icon,
.account-next-action.status-canceled .account-next-icon,
.account-next-action.status-expired .account-next-icon,
.account-next-action.status-disputed .account-next-icon { color: #a8323d; background: #fee8eb; }
.account-next-icon svg { width: 20px; height: 20px; }
.account-next-action > span:nth-child(2) { min-width: 0; display: grid; }
.account-next-action small { color: #8c560b; font-size: 10px; font-weight: 800; }
.account-next-action strong { overflow: hidden; color: #17211f; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-next-action > span:nth-child(2) > span { color: #66736f; font-size: 10px; }

.account-orders-panel { overflow: hidden; border: 1px solid #dce4e1; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(13,23,21,.05); }
.account-section-head { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #dce4e1; padding: 13px 16px; }
.account-section-head h2 { margin: 0; color: #0d1715; font-size: 17px; }
.account-section-head > span { min-width: 28px; min-height: 24px; display: grid; place-items: center; border-radius: 5px; color: #52605c; background: #edf1ef; font-size: 10px; font-weight: 800; }
.account-section-head .account-eyebrow { margin-bottom: 2px !important; }
.account-table-wrap { margin: 0; border: 0; }
.account-table th,
.account-table td { padding: 12px; }
.account-table th { color: #596662; background: #f5f7f6; font-size: 10px; }
.account-table td { color: #293632; font-size: 12px; }
.account-row-action a { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 6px; }
.account-row-action a:hover { background: #e4f5f0; }
.payment-status { min-height: 24px; border-radius: 5px; padding: 3px 7px; font-size: 10px; }

.account-empty { margin-top: 0; border: 1px dashed #aebdb7; border-radius: 8px; padding: 48px 24px; background: #fff; }
.account-empty-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 8px; color: #0f806b; background: #e4f5f0; }
.account-empty-icon svg { width: 23px; height: 23px; }
.account-empty h2 { margin-bottom: 6px; color: #17211f; font-size: 19px; }
.account-empty p { margin: 0 auto 18px; color: #66736f; }

.account-plan-list { margin-top: 0; overflow: hidden; border-color: #dce4e1; border-radius: 8px; box-shadow: 0 1px 2px rgba(13,23,21,.05); }
.account-plan-row { grid-template-columns: minmax(220px, .9fr) minmax(250px, 1.2fr) 150px 210px; min-height: 118px; gap: 20px; padding: 18px; transition: background 150ms ease; }
.account-plan-row:hover { background: #f9fbfa; }
.account-plan-row-selected { box-shadow: inset 4px 0 #0f806b; background: #f3fbf8; }
.account-plan-name { display: flex; align-items: center; gap: 11px; }
.account-plan-name > span:last-child { min-width: 0; }
.account-plan-icon { width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center; border-radius: 7px; color: #0f806b; background: #e4f5f0; }
.account-plan-icon svg { width: 18px; height: 18px; }
.account-plan-row h2 { color: #17211f; font-size: 16px; }
.account-plan-description { font-size: 12px; line-height: 1.55; }
.package-price { color: #0d473c !important; font-size: 21px; }
.account-plan-action .button { min-height: 40px; }

.account-order-header { min-height: 126px; }
.account-order-header h1 { margin-top: 8px; font-size: 23px; }
.account-back-link { display: inline-flex; align-items: center; gap: 6px; color: #0a6f5c; font-size: 11px; font-weight: 750; text-decoration: none; }
.account-back-link svg { width: 14px; height: 14px; }
.account-payment-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 14px; border: 1px solid #dce4e1; border-radius: 8px; padding: 18px; background: #fff; list-style: none; }
.account-payment-progress li { position: relative; min-width: 0; display: grid; justify-items: center; gap: 7px; color: #7b8883; text-align: center; }
.account-payment-progress li::before { content: ""; position: absolute; top: 14px; right: 50%; left: -50%; height: 2px; background: #dce4e1; }
.account-payment-progress li:first-child::before { display: none; }
.account-payment-progress li > span { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #cbd5d1; border-radius: 50%; color: transparent; background: #fff; }
.account-payment-progress svg { width: 14px; height: 14px; }
.account-payment-progress small { font-size: 10px; font-weight: 750; }
.account-payment-progress li.complete { color: #116c49; }
.account-payment-progress li.complete::before { background: #73c7a8; }
.account-payment-progress li.complete > span { border-color: #137a54; color: #fff; background: #137a54; }
.account-payment-progress li.failed { color: #a8323d; }
.account-payment-progress li.failed::before { background: #e0a6ac; }
.account-payment-progress li.failed > span { border-color: #b63c48; color: #fff; background: #b63c48; }
.account-order-actions { justify-content: flex-end; margin: 0 0 14px; border: 1px solid #dce4e1; border-radius: 8px; padding: 12px; background: #fff; }
.account-record-list { overflow: hidden; margin-top: 0; border: 1px solid #dce4e1; border-radius: 8px; background: #fff; }
.account-record-list > div { border-right-color: #dce4e1; border-bottom-color: #dce4e1; padding: 14px; }
.account-record-list dt { font-size: 10px; }
.account-payment-instructions { border: 1px solid #c9ddd5; border-left: 3px solid #0f806b; border-radius: 7px; background: #fbfdfc; }

.account-alert-success { grid-template-columns: 18px minmax(0, 1fr); align-items: center; border-left-color: #137a54; color: #116143; background: #eaf7f1; }
.account-alert-success svg { width: 17px; height: 17px; }
.account-service-request { margin: 0 0 16px; overflow: hidden; border: 1px solid #d4dfda; border-top: 3px solid #0f806b; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(13,23,21,.07); }
.account-service-request-head { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0; padding: 20px 22px; background: #fbfdfc; }
.account-service-heading { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 14px; }
.account-service-heading > div { min-width: 0; }
.account-service-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: #0f806b; box-shadow: 0 7px 18px rgba(15,128,107,.18); }
.account-service-mark svg { width: 21px; height: 21px; }
.account-service-request-head h2 { margin: 0; color: #0d1715; font-size: 20px; }
.account-service-request-head p:last-child { max-width: 760px; margin: 5px 0 0; color: #66736f; font-size: 12px; line-height: 1.55; }
.account-service-guidance { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; border-top: 1px solid #e4ece8; border-bottom: 1px solid #e4ece8; padding: 12px 22px; color: #315b52; background: #f1f8f5; font-size: 11px; line-height: 1.6; }
.account-service-guidance svg { width: 17px; height: 17px; margin-top: 1px; color: #0f806b; }
.service-request-status { min-height: 25px; display: inline-flex; align-items: center; flex: 0 0 auto; border-radius: 5px; padding: 4px 8px; color: #4f5f5a; background: #edf1ef; font-size: 10px; font-weight: 800; }
.service-request-status.status-new,
.service-request-status.status-needs_information { color: #875406; background: #fff0d4; }
.service-request-status.status-reviewing,
.service-request-status.status-in_progress { color: #245ca9; background: #eaf1ff; }
.service-request-status.status-completed { color: #116c49; background: #e3f5ec; }
.account-form-alert { margin: 16px 22px 0; border-left: 3px solid #b63c48; border-radius: 5px; padding: 10px 12px; color: #8f2f39; background: #fff2f3; font-size: 12px; }
.account-service-form { display: grid; }
.account-service-group { min-width: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; border-top: 1px solid #e8eeeb; padding: 22px; }
.account-service-group:first-of-type { border-top: 0; }
.account-service-group-title { min-width: 0; display: grid; grid-template-columns: 30px 18px minmax(0, 1fr); align-items: center; align-content: start; gap: 8px; color: #40504b; }
.account-service-group-title > span { width: 30px; height: 24px; display: grid; place-items: center; border-radius: 4px; color: #0a6f5c; background: #e5f3ee; font-size: 10px; font-weight: 850; }
.account-service-group-title svg { width: 17px; height: 17px; color: #71807b; }
.account-service-group-title h3 { min-width: 0; margin: 0; color: #24332f; font-size: 13px; line-height: 1.35; }
.account-service-fields { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.account-service-form label { min-width: 0; display: grid; align-content: start; gap: 7px; color: #34443f; font-size: 11px; font-weight: 750; }
.account-service-form label > span { min-height: 15px; }
.account-service-form label b { color: #b63c48; font-size: 12px; }
.account-service-form .field-wide { grid-column: 1 / -1; }
.account-service-form input,
.account-service-form textarea { width: 100%; min-height: 46px; border: 1px solid #b9c7c1; border-radius: 6px; padding: 10px 12px; color: #17211f; background: #fcfdfd; font: inherit; font-size: 13px; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.account-service-form input:hover,
.account-service-form textarea:hover { border-color: #91a69e; background: #fff; }
.account-service-form textarea { min-height: 172px; resize: vertical; line-height: 1.65; }
.account-service-form input:focus,
.account-service-form textarea:focus { border-color: #0f806b; outline: 3px solid rgba(15,128,107,.16); outline-offset: 0; }
.account-service-form input[aria-invalid="true"],
.account-service-form textarea[aria-invalid="true"] { border-color: #b63c48; }
.account-service-form .field-error { color: #a8323d; font-size: 10px; font-weight: 650; }
.account-service-form-footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #dfe8e4; padding: 14px 22px; background: #f7faf8; }
.account-service-form-footer > span { display: inline-flex; align-items: center; gap: 6px; color: #74817c; font-size: 10px; }
.account-service-form-footer svg { width: 14px; height: 14px; }
.account-service-form-footer .button { flex: 0 0 auto; min-width: 168px; min-height: 42px; }
.account-service-locked { display: flex; align-items: center; gap: 10px; border-top: 1px solid #edf1ef; padding: 18px; color: #66736f; font-size: 12px; }
.account-service-locked svg { width: 18px; height: 18px; color: #8a9792; }

.inquiry-status { min-height: 25px; display: inline-flex; align-items: center; border-radius: 5px; padding: 4px 8px; color: #4f5f5a; background: #edf1ef; font-size: 10px; font-weight: 800; }
.inquiry-status.status-new { color: #875406; background: #fff0d4; }
.inquiry-status.status-contacted,
.inquiry-status.status-qualified { color: #245ca9; background: #eaf1ff; }
.inquiry-status.status-converted { color: #116c49; background: #e3f5ec; }
.inquiry-status.status-unqualified,
.inquiry-status.status-closed,
.inquiry-status.status-spam { color: #6b7773; background: #edf1ef; }
.account-inquiry-header { min-height: 126px; }
.account-inquiry-header h1 { margin-top: 8px; font-size: 23px; overflow-wrap: anywhere; }
.account-inquiry-section { margin-top: 16px; overflow: hidden; border: 1px solid #dce4e1; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(13,23,21,.05); }
.account-inquiry-records { margin: 0; border: 0; border-radius: 0; }
.account-inquiry-records .record-wide { grid-column: 1 / -1; }
.account-inquiry-records a { display: inline-flex; align-items: center; gap: 5px; color: #0a6f5c; }
.account-inquiry-records a svg { width: 14px; height: 14px; flex: 0 0 auto; }
.account-inquiry-message { margin: 16px; border-left: 3px solid #0f806b; padding: 3px 0 3px 14px; }
.account-inquiry-message h3 { margin: 0 0 7px; color: #17211f; font-size: 12px; }
.account-inquiry-message p { margin: 0; color: #43514d; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }

[dir="rtl"] .account-metric::before { inset: 0 0 0 auto; }
[dir="rtl"] .account-next-action,
[dir="rtl"] .account-payment-instructions { border-left-width: 1px; border-right: 3px solid #0f806b; }
[dir="rtl"] .account-form-alert { border-left-width: 1px; border-right: 3px solid #b63c48; }
[dir="rtl"] .account-payment-progress li::before { right: -50%; left: 50%; }
[dir="rtl"] .account-payment-progress li:first-child::before { display: block; }
[dir="rtl"] .account-payment-progress li:last-child::before { display: none; }

@media (max-width: 1040px) {
  .account-workspace-nav { grid-template-columns: auto 1fr auto; }
  .account-workspace-brand strong { display: none; }
  .account-workspace-brand { width: 42px; padding: 0 4px; }
  .account-plan-row { grid-template-columns: minmax(210px, 1fr) minmax(260px, 1.3fr) 150px; }
  .account-plan-action { grid-column: 1 / -1; justify-self: end; }
  .account-plan-action .button { width: auto; }
}

@media (max-width: 780px) {
  .account-auth,
  .account-page { width: min(100% - 24px, 1220px); }
  .account-page { padding-top: 12px; }
  .account-workspace-nav { min-height: 0; grid-template-columns: auto 1fr auto; gap: 6px; }
  .account-workspace-links { justify-self: stretch; }
  .account-workspace-links a { flex: 1; justify-content: center; padding: 7px 9px; }
  .account-user-menu { justify-self: end; border: 0; padding: 0; }
  .account-user-menu > span { display: none; }
  .account-page-header { min-height: 0; gap: 15px; padding: 22px 2px 18px; }
  .account-page-header h1 { font-size: 24px; }
  .account-page-header .button { width: auto; }
  .account-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-next-action { grid-template-columns: 38px minmax(0, 1fr); }
  .account-next-action .button { grid-column: 1 / -1; width: 100%; }
  .account-table-wrap { border: 0; }
  .account-table tr { margin-bottom: 10px; border: 1px solid #dce4e1; border-radius: 7px; padding: 8px 12px; }
  .account-table tr:last-child { border-bottom: 1px solid #dce4e1; }
  .account-plan-row { grid-template-columns: 1fr; gap: 13px; padding: 16px; }
  .account-plan-action { grid-column: auto; justify-self: stretch; }
  .account-plan-action .button { width: 100%; }
  .account-plan-price { text-align: left; }
  .account-order-header { align-items: flex-start; flex-direction: row; }
  .account-order-header .payment-status { width: auto; }
  .account-order-actions { justify-content: stretch; }
  .account-order-actions > * { flex: 1 1 calc(50% - 8px); }
  .account-order-actions .button { width: 100%; }
  .account-service-group { grid-template-columns: 1fr; gap: 13px; padding: 20px; }
  .account-service-fields { grid-template-columns: 1fr; }
  .account-service-form .field-wide { grid-column: auto; }
  .account-service-form-footer { align-items: stretch; flex-direction: column; }
  .account-service-form-footer .button { width: 100%; }
  .account-inquiry-records .record-wide { grid-column: auto; }
}

@media (max-width: 520px) {
  .account-auth { padding: 24px 0; }
  .account-panel { padding: 24px 20px; }
  .account-workspace-nav { grid-template-columns: 38px minmax(0, 1fr) 36px; padding: 6px; }
  .account-workspace-brand { width: 38px; }
  .account-workspace-brand > span { width: 32px; height: 32px; }
  .account-workspace-links a { min-width: 0; font-size: 0; }
  .account-workspace-links svg { width: 18px; height: 18px; }
  .account-user-menu { min-width: 0; }
  .account-metrics { gap: 9px; }
  .account-metric { min-height: 98px; padding: 13px; }
  .account-metric strong { font-size: 24px; }
  .account-next-action { padding: 13px; }
  .account-section-head { padding: 12px 14px; }
  .account-order-header { flex-direction: column; }
  .account-payment-progress { padding: 15px 8px; }
  .account-payment-progress small { max-width: 92px; overflow-wrap: anywhere; }
  .account-order-actions > * { flex-basis: 100%; }
  .account-service-request-head { min-height: 0; align-items: flex-start; flex-direction: column; padding: 18px; }
  .account-service-heading { grid-template-columns: 36px minmax(0, 1fr); gap: 11px; }
  .account-service-mark { width: 36px; height: 36px; }
  .account-service-guidance { padding: 11px 18px; }
  .account-service-group { padding: 18px; }
  .account-service-form-footer { padding: 14px 18px; }
}
