.account-page[hidden] { display: none !important; }
.account-page { display: flex; max-width: 1440px; min-height: calc(100vh - 62px); flex-direction: column; margin: 0 auto; padding: 26px 32px 20px; color: #f2f2ef; }
.account-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 0 22px; border-bottom: 1px solid #242427; }
.account-page-header h1 { margin: 14px 0 5px; font: 600 clamp(25px, 2.4vw, 32px)/1.1 Manrope, sans-serif; letter-spacing: -.055em; }
.account-page-header p { margin: 0; color: #89898f; font-size: 11px; }
.account-page-header .elements-breadcrumb { display: flex; align-items: center; gap: 8px; color: #89898f; font-size: 10px; }
.account-page-header .elements-breadcrumb svg { width: 12px; height: 12px; fill: none; stroke: #5d5d63; stroke-width: 1.4; }
.account-page-header .elements-breadcrumb strong { color: #c7c7c5; font-weight: 500; }
.account-back-button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border: 1px solid #303034; border-radius: 9px; background: #1a1a1c; color: #c6c6c9; cursor: pointer; font-size: 10px; }
.account-back-button:hover { border-color: #46464c; color: #fff; }
.account-layout { display: grid; width: min(100%, 1130px); flex: 1; grid-template-columns: 190px minmax(0, 1fr); align-items: start; gap: 30px; margin: 27px auto 40px; }
.account-settings-nav { position: sticky; top: 22px; display: flex; flex-direction: column; gap: 3px; padding: 4px 0; }
.account-nav-label { margin: 0 0 8px 10px; color: #68686e; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.account-settings-nav button { min-height: 36px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #96969c; cursor: pointer; text-align: left; font-size: 11px; transition: .15s ease; }
.account-settings-nav button:hover { background: #19191c; color: #e5e5e2; }
.account-settings-nav button.active { border-color: #303034; background: #222225; color: #f2f2ef; }
.account-nav-note { margin: 18px 8px 0; padding-top: 13px; border-top: 1px solid #242427; color: #69696f; font-size: 9px; }
.account-panel { display: grid; min-width: 0; gap: 13px; align-content: start; }
.account-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 2px 0 4px; }
.account-panel-heading h2 { margin: 4px 0 4px; font: 600 21px/1.2 Manrope, sans-serif; letter-spacing: -.035em; }
.account-panel-heading p { margin: 0; color: #88888e; font-size: 10px; line-height: 1.55; }
.account-kicker { color: #a2b846; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.account-card { min-width: 0; padding: 18px; border: 1px solid #29292d; border-radius: 12px; background: linear-gradient(140deg, #19191b, #151517 82%); }
.account-profile-form { display: grid; gap: 18px; }
.account-avatar-editor { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid #28282c; }
.account-avatar-preview { display: grid; width: 62px; height: 62px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #44444a; border-radius: 50%; background-color: #2d3030; background-position: center; background-size: cover; color: #d4e856; font: 600 22px Manrope, sans-serif; }
.account-avatar-editor strong { font-size: 11px; }
.account-avatar-editor p { margin: 4px 0 8px; color: #7e7e85; font-size: 9px; }
.account-button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; text-decoration: none; font: 600 10px/1 "DM Sans", sans-serif; transition: .15s ease; }
.account-button:disabled { cursor: not-allowed; opacity: .46; }
.account-button-primary { background: #d9fa28; color: #17190d; }
.account-button-primary:hover:not(:disabled) { background: #e6ff5a; }
.account-button-muted { border-color: #343439; background: #242427; color: #dbdbd9; }
.account-button-muted:hover:not(:disabled) { border-color: #4b4b51; background: #2b2b2f; }
.account-button-danger { border-color: #583b39; background: #2b1d1d; color: #f1b0a8; }
.account-button-danger:hover:not(:disabled) { border-color: #80504a; background: #372120; }
.account-text-button { margin-left: 9px; padding: 6px 0; border: 0; background: transparent; color: #9b9ba1; cursor: pointer; font-size: 9px; }
.account-text-button:hover { color: #e8e8e6; }
.account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 12px; }
.account-field { display: grid; min-width: 0; gap: 6px; color: #c8c8c7; font-size: 9px; }
.account-field > span { color: #bdbdc0; }
.account-field input, .account-field textarea, .account-field select, .account-range-control select { width: 100%; min-height: 36px; padding: 0 10px; border: 1px solid #303034; border-radius: 7px; outline: none; background: #202023; color: #ededeb; font: 10px "DM Sans", sans-serif; }
.account-field input:focus, .account-field textarea:focus, .account-field select:focus, .account-range-control select:focus { border-color: #91a33a; box-shadow: 0 0 0 2px #d9fa2814; }
.account-field input::placeholder { color: #66666c; }
.account-field small, .account-field-note { color: #727278; font-size: 8px; line-height: 1.5; }
.account-field-wide { grid-column: 1 / -1; }
.account-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 15px; border-top: 1px solid #28282c; }
.account-save-status { overflow: hidden; margin-right: auto; color: #73737a; font-size: 9px; text-overflow: ellipsis; }
.account-delete-details { padding: 0; }
.account-delete-details summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; color: #c5c5c5; cursor: pointer; font-size: 10px; list-style: none; }
.account-delete-details summary::-webkit-details-marker { display: none; }
.account-delete-details summary span { color: #828289; font-size: 18px; }
.account-delete-details[open] summary { border-bottom: 1px solid #29292d; }
.account-delete-details p { margin: 14px 17px; color: #898990; font-size: 9px; line-height: 1.65; }
.account-delete-details .account-button { margin: 0 17px 16px; }
.account-panel-heading-row { align-items: center; }
.account-session-list { padding: 0 16px; }
.account-session-row { display: flex; min-height: 68px; align-items: center; gap: 12px; border-bottom: 1px solid #29292d; }
.account-session-row:last-child { border-bottom: 0; }
.account-session-icon { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border: 1px solid #35353a; border-radius: 9px; background: #222225; color: #bfcf5e; font-size: 15px; }
.account-session-copy { display: grid; min-width: 0; flex: 1; gap: 5px; }
.account-session-copy strong { overflow: hidden; color: #dfdfdd; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-session-copy small, .account-session-expiry { color: #77777e; font-size: 8px; }
.account-session-expiry { white-space: nowrap; }
.account-current-tag { margin-left: 6px; color: #d9fa28; font-size: 7px; font-weight: 700; letter-spacing: .06em; }
.account-revoke-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-revoke-card strong { font-size: 10px; }
.account-revoke-card p { margin: 4px 0 0; color: #85858b; font-size: 9px; }
.account-inline-note { color: #77777e; font-size: 9px; line-height: 1.6; }
.account-empty-state, .account-error-state { display: grid; min-height: 125px; align-content: center; justify-items: start; gap: 8px; color: #dededb; }
.account-empty-state strong, .account-error-state strong { font-size: 11px; }
.account-empty-state p, .account-error-state p { margin: 0; color: #85858c; font-size: 9px; line-height: 1.6; }
.account-feature-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 23px; }
.account-feature-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #4a4c2b; border-radius: 12px; background: #d9fa2811; color: #d9fa28; font-size: 20px; }
.account-feature-card h3, .account-promo-card h3, .account-billing-actions h3 { margin: 6px 0; font: 600 15px Manrope, sans-serif; letter-spacing: -.025em; }
.account-feature-card p, .account-promo-card p, .account-billing-actions p { max-width: 600px; margin: 0 0 14px; color: #89898f; font-size: 9px; line-height: 1.75; }
.account-plan-card { padding: 18px; }
.account-plan-summary { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid #2a2a2e; }
.account-plan-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #4b4c37; border-radius: 50%; background: #d9fa2814; color: #d9fa28; font: 700 13px Manrope, sans-serif; }
.account-plan-summary > div { display: grid; gap: 4px; }
.account-plan-summary strong { font-size: 11px; }
.account-plan-summary small { color: #818187; font-size: 8px; }
.account-live-indicator { margin-left: auto; color: #a4cf4c; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.account-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.account-stat-tile { display: grid; min-width: 0; min-height: 68px; align-content: center; gap: 7px; padding: 11px; border: 1px solid #2b2b2f; border-radius: 9px; background: #1d1d20; }
.account-stat-tile span { overflow: hidden; color: #85858b; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.account-stat-tile strong { overflow: hidden; color: #efefec; font: 600 15px Manrope, sans-serif; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.account-card-footnote { margin: 13px 0 0; color: #74747a; font-size: 8px; line-height: 1.6; }
.account-billing-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-billing-actions h3 { font-size: 13px; }
.account-billing-actions p { margin-bottom: 0; }
.account-button-row { display: flex; flex-wrap: wrap; gap: 8px; }
.account-range-control { display: grid; min-width: 135px; gap: 5px; color: #86868c; font-size: 8px; }
.account-range-control select { min-height: 32px; }
.account-usage-stats { margin: 0; }
.account-chart-card, .account-table-card { padding: 16px 17px; }
.account-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.account-card-title h3 { margin: 0 0 4px; color: #e7e7e4; font: 600 11px Manrope, sans-serif; }
.account-card-title p { margin: 0; color: #79797f; font-size: 8px; }
.account-card-title a { color: #b7ca55; font-size: 8px; text-decoration: none; white-space: nowrap; }
.account-card-title a:hover { color: #d9fa28; }
.account-spend-chart { display: flex; min-height: 142px; align-items: stretch; gap: 4px; overflow: auto hidden; margin-top: 16px; padding: 12px 0 0; border-top: 1px solid #29292d; }
.account-chart-bar { display: flex; min-width: 14px; flex: 1 0 14px; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.account-chart-bar i { width: min(100%, 23px); min-height: 2px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #e0fa54, #839b37); }
.account-chart-bar small { color: #67676e; font-size: 7px; white-space: nowrap; }
.account-chart-empty { display: grid; width: 100%; min-height: 100px; place-items: center; color: #77777d; font-size: 9px; }
.account-table-scroll { overflow-x: auto; margin-top: 13px; }
.account-table-scroll table { width: 100%; border-collapse: collapse; text-align: left; }
.account-table-scroll th { padding: 9px 8px; border-bottom: 1px solid #303034; color: #74747b; font-size: 8px; font-weight: 500; }
.account-table-scroll td { padding: 10px 8px; border-bottom: 1px solid #29292d; color: #bdbdc0; font-size: 8px; }
.account-table-scroll tr:last-child td { border-bottom: 0; }
.account-table-empty { padding: 25px 8px !important; color: #77777d !important; text-align: center; }
.account-status-pill { display: inline-flex; padding: 4px 6px; border: 1px solid #39393d; border-radius: 10px; background: #232326; color: #a7a7ad; font-size: 7px; }
.account-status-pill.status-completed { border-color: #375038; background: #1b2a20; color: #92ca8c; }
.account-status-pill.status-failed, .account-status-pill.status-error { border-color: #5d3935; background: #2b1f1f; color: #e8a59a; }
.account-message { padding: 10px 12px; border: 1px solid #494131; border-radius: 8px; font-size: 9px; line-height: 1.5; }
.account-message-warning { background: #282419; color: #d1bd83; }
.account-promo-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 23px; }
.account-promo-field { max-width: 440px; margin: 16px 0 12px; }
.account-field-note { display: block; margin-top: 11px; }
.account-loading { display: flex; min-height: 180px; align-items: center; justify-content: center; gap: 9px; color: #818187; font-size: 10px; }
.account-spinner { width: 15px; height: 15px; border: 2px solid #3b3b40; border-top-color: #d9fa28; border-radius: 50%; animation: account-spin .7s linear infinite; }
@keyframes account-spin { to { transform: rotate(360deg); } }
.account-page .elements-page-footer { width: 100%; max-width: 1130px; margin: auto auto 0; }
.avatar.has-image, .account-menu-avatar.has-image { background-position: center; background-size: cover; }
.account-menu-avatar.has-image { color: transparent; }

@media (max-width: 900px) {
  .account-page { padding: 22px 20px 16px; }
  .account-layout { grid-template-columns: 155px minmax(0, 1fr); gap: 20px; }
  .account-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-session-expiry { display: none; }
}
@media (max-width: 650px) {
  .account-page { padding: 18px 14px 14px; }
  .account-page-header { align-items: flex-start; }
  .account-page-header h1 { margin-top: 10px; }
  .account-back-button { min-height: 32px; padding: 0 9px; font-size: 9px; }
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 18px auto 28px; }
  .account-settings-nav { position: static; flex-direction: row; gap: 5px; overflow-x: auto; padding: 0 0 7px; border-bottom: 1px solid #252528; }
  .account-nav-label, .account-nav-note { display: none; }
  .account-settings-nav button { min-height: 31px; flex: 0 0 auto; padding: 0 10px; border-color: #29292d; background: #18181a; font-size: 9px; }
  .account-settings-nav button.active { border-color: #4a4b37; background: #25261e; color: #dff36e; }
  .account-panel-heading h2 { font-size: 19px; }
  .account-panel-heading p { max-width: 35ch; }
  .account-card { padding: 14px; }
  .account-form-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .account-field-wide { grid-column: auto; }
  .account-session-list { padding: 0 11px; }
  .account-session-row { gap: 8px; }
  .account-session-icon { width: 29px; height: 29px; }
  .account-session-copy small { max-width: 29ch; line-height: 1.5; }
  .account-session-row .account-button { min-height: 30px; padding: 0 8px; font-size: 8px; }
  .account-revoke-card, .account-billing-actions { align-items: flex-start; flex-direction: column; }
  .account-feature-card, .account-promo-card { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; padding: 15px; }
  .account-feature-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; }
  .account-stat-tile { min-height: 61px; padding: 9px; }
  .account-stat-tile strong { font-size: 13px; }
  .account-card-title { align-items: flex-start; }
  .account-card-title a { font-size: 7px; }
  .account-page .elements-page-footer { flex-direction: column; }
}
