/* First-use states share the cabinet's typography, controls and page shell. */
.ep-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
}
.ep-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 410px;
  padding: 44px 28px;
  gap: 16px;
}
.ep-hero h2 { font-size: 24px; line-height: 1.35; }
.ep-hero > p { max-width: 550px; color: #717171; line-height: 1.65; }
.ep-art { width: 144px; height: 116px; color: var(--blue); flex-shrink: 0; }
.ep-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ep-actions .btn, .ep-page .btn { white-space: normal; height: auto; min-height: 44px; text-align: center; }
.ep-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 26px 32px 30px; border-top: 1px solid var(--line); }
.ep-feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; align-items: start; gap: 16px; }
.ep-feature-content { display: grid; gap: 8px; }
.ep-feature h3 { font-size: 15px; }
.ep-feature p { font-size: 14px; color: #717171; line-height: 1.65; }
.ep-feature .icon { color: var(--blue); width: 40px; height: 40px; }
.ep-feature .ui-icon { width: 100%; height: 100%; }
.ep-compact { min-height: 0; padding: 28px; }
.ep-compact h2 { font-size: 20px; }
.ep-compact .ep-art { width: 100px; height: 80px; }
.ep-intro { padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ep-intro h2 { font-size: 24px; margin-bottom: 8px; }
.ep-intro p { max-width: 580px; color: #717171; }
.ep-intro .ep-actions { flex-shrink: 0; }
.ep-page .section-heading { margin-bottom: 18px; }
.ep-page .home-balance, .ep-page .statistics { margin-top: 4px; }
.ep-page .metric-note, .ep-page .balance-card-note { color: #717171; }
.ep-chart { min-height: 115px; display: grid; place-items: center; position: relative; margin-top: 20px; border-bottom: 1px solid var(--gray); background: repeating-linear-gradient(to top, transparent 0, transparent 37px, var(--line) 37px, var(--line) 38px); }
.ep-chart span { padding: 6px 12px; background: var(--white); color: #717171; font-size: 14px; text-align: center; }
.ep-page .top-products { margin-top: 20px; }
.ep-top-note { padding: 24px 0 8px; border-top: 1px solid var(--line); color: #717171; text-align: center; font-size: 14px; }
.ep-chat-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 520px; }
.ep-chat-rail { border-right: 1px solid var(--line); padding: 26px 22px; }
.ep-chat-rail h2 { font-size: 16px; }
.ep-chat-rail > p { color: #717171; font-size: 14px; margin-top: 14px; }
.ep-chat-placeholder { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.ep-chat-placeholder > span:first-child { width: 40px; height: 40px; border-radius: 50%; background: var(--inner); }
.ep-chat-placeholder > span:last-child { height: 8px; width: 100px; border-radius: 4px; background: var(--inner); }
.ep-chat-shell .ep-hero { padding-inline: 26px; }
.ep-breakdown { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.ep-breakdown li { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.ep-breakdown-title { font-size: 22px; }
.ep-page .st-period-heading { margin-bottom: 0; }
.ep-modal-form { display: grid; gap: 18px; }
.ep-modal-form label { display: grid; gap: 8px; font-size: 14px; }
.ep-modal-form p { color: #717171; font-size: 14px; }
.ep-draft { padding: 26px; display: grid; gap: 12px; }
.ep-draft h2 { font-size: 20px; overflow-wrap: anywhere; }
.ep-draft .ep-actions { justify-content: flex-start; }
.ep-badge { width: fit-content; font-size: 13px; border-radius: 999px; padding: 5px 12px; background: var(--inner); color: #717171; }
.ep-page .page-heading-actions { align-self: center; }
@media (max-width: 1199px) {
  .ep-features { gap: 20px; padding: 24px; }
  .ep-chat-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .ep-intro { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 759px) {
  .ep-chat-shell { grid-template-columns: 1fr; min-height: 0; }
  .ep-chat-rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .ep-chat-placeholder, .ep-chat-rail > p { display: none; }
  .ep-features { grid-template-columns: 1fr; gap: 22px; }
  .ep-feature { gap: 16px; }
}
@media (max-width: 599px) {
  .ep-hero { min-height: 360px; padding: 32px 20px; }
  .ep-hero h2 { font-size: 21px; }
  .ep-hero > p { font-size: 14px; }
  .ep-art { width: 120px; height: 96px; }
  .ep-intro { padding: 22px; }
  .ep-intro h2 { font-size: 22px; }
  .ep-intro p { font-size: 14px; }
  .ep-compact { min-height: 0; padding: 24px 20px; }
  .ep-actions { width: 100%; }
  .ep-actions .btn { width: 100%; }
  .ep-page .page-heading-actions { margin-left: 0; justify-content: flex-start; }
}
