/* Account only: the administrator keeps app.css unchanged. */
.account-page { min-height: 100vh; display: flex; flex-direction: column; }
.account-header { width: min(1180px, calc(100% - 80px)); margin: 0 auto; min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.account-brand { display: inline-flex; align-items: center; gap: 12px; }
.account-brand img { object-fit: contain; }
.account-brand > span { font-size: 21px; font-weight: 750; letter-spacing: -.05em; line-height: 1.2; }
.account-brand small { display: block; margin-top: 5px; color: #a6a6b4; font-size: 8px; letter-spacing: .23em; font-weight: 600; }
.account-header-actions { display: flex; align-items: center; gap: 24px; }
.account-header-actions form { margin: 0; }
.account-site-link { display: inline-flex; align-items: center; gap: 10px; color: #a6a6b4; font-size: 12px; }
.account-site-link .icon { width: 15px; height: 15px; }
.account-page .account-signout { color: #d5d5df; background: transparent; border-color: #393941; font-size: 12px; }
.account-signout .icon { width: 16px; }
.account-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: min(1180px, calc(100% - 80px)); margin: auto auto 0; padding: 24px 0; border-top: 1px solid var(--line); color: #828290; font-size: 11px; }
.account-footer > span { flex-shrink: 0; }
.account-footer .lang-switcher { margin: 0; justify-content: flex-end; gap: 6px 14px; }
.account-auth-layout { flex: 1; width: min(1080px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding: 55px 0 65px; }
.account-story { position: relative; overflow: hidden; padding: 50px 25px 75px 0; }
.account-story .eyebrow { color: #f67888; font-size: 10px; }
.account-story h2 { margin: 20px 0 24px; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.08; font-weight: 650; letter-spacing: -.05em; overflow-wrap: anywhere; }
.account-story > p:not(.eyebrow) { max-width: 355px; color: #a8a8b6; font-size: 15px; line-height: 1.9; }
.account-story-lines { width: 105px; height: 28px; margin-top: 50px; transform: skew(-30deg); background: repeating-linear-gradient(90deg, #fa2038 0 7px, transparent 7px 17px); }
.account-page .account-auth-main { min-width: 0; padding: 0; }
.account-auth-card { width: 100%; max-width: 460px; margin-inline: auto; }
.account-auth-card h1 { font-size: clamp(28px, 3vw, 35px); letter-spacing: -.035em; line-height: 1.16; margin-bottom: 12px; }
.account-auth-card .page-description { font-size: 13px; line-height: 1.85; }
.account-form { display: grid; gap: 19px; margin-top: 27px; }
.account-page .account-form label { display: grid; gap: 8px; color: #dedee6; font-size: 12px; font-weight: 500; }
.account-page .account-form input { width: 100%; min-width: 0; height: 46px; font-size: 14px; background: #17171c; border: 1px solid #383841; border-radius: 5px; padding: 11px 13px; color: var(--text); }
.account-page .account-form input:focus { border-color: #df5368; outline: 2px solid #df53684d; outline-offset: 1px; }
.account-page .account-form input[readonly] { color: #a3a3b1; background: #111115; border-style: dashed; }
.account-page .account-form > .primary { min-height: 47px; justify-content: space-between; margin-top: 3px; gap: 20px; white-space: normal; text-align: left; border-radius: 5px; }
.account-page .account-form > .primary .icon { width: 18px; }
.account-field-help { font-size: 11px; line-height: 1.8; color: #9b9bab; margin: -9px 0 0; }
.account-form-note { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0 0; font-size: 11px; line-height: 1.8; color: #a6a6b4; }
.account-form-note .icon { width: 15px; height: 15px; margin-top: 2px; color: #db7c8b; }
.account-auth-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; font-size: 12px; }
.account-auth-links a { display: inline-flex; align-items: center; gap: 10px; color: #d6b5bc; min-height: 30px; }
.account-auth-links .icon { width: 15px; height: 15px; }
.account-auth-links a:hover { color: #ff8a9c; }
.account-page .account-passkey-button { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 45px; margin-top: 14px; background: transparent; border-color: #41414b; font-size: 12px; white-space: normal; }
.account-passkey-note { margin: 8px 0 0; font-size: 12px; }
.account-passkey-note:empty { display: none; }
.account-email { display: block; margin: 9px 0 0; color: #e0e0e9; overflow-wrap: anywhere; font-size: 13px; font-weight: 500; }
.account-steps { display: flex; list-style: none; margin: 0 0 34px; padding: 0; gap: 13px; }
.account-steps li { display: flex; align-items: center; gap: 7px; min-width: 0; color: #9393a3; font-size: 10px; }
.account-steps li > span { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border: 1px solid #43434f; border-radius: 50%; font-size: 10px; font-weight: 600; }
.account-steps [aria-current] { color: #f3cbd3; }
.account-steps [aria-current] > span { color: white; background: #bd233b; border-color: #ed3c55; }
.account-steps .account-step-complete > span { border-color: #655461; color: #e4b6c1; }
.account-page .account-form .account-code { height: 65px; text-align: center; font: 26px Consolas, monospace; letter-spacing: .35em; padding-left: 22px; }
.account-resend { display: grid; gap: 12px; margin-top: 25px; }
.account-resend form { margin: 0; }
.account-page .account-resend button { padding: 0; justify-content: flex-start; color: #e7acb8; font-size: 12px; }
.account-heading-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 23px; background: #2c1c25; color: #ff8296; border: 1px solid #543040; border-radius: 8px; }
.account-page .flash { margin: 21px 0 0; line-height: 1.8; font-size: 12px; }
.account-success { color: #9edbbf; border-color: #315b4d; background: #14251f; }
.account-workspace { flex: 1; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 48px; width: min(1180px, calc(100% - 80px)); margin: 42px auto 65px; align-items: start; }
.account-nav { display: grid; gap: 6px; }
.account-nav a { display: flex; gap: 12px; align-items: center; padding: 13px 14px; color: #a9a9b7; border: 1px solid transparent; border-radius: 5px; font-size: 13px; }
.account-nav .icon { width: 18px; height: 18px; }
.account-nav a:hover { background: #1c1c21; }
.account-nav [aria-current] { background: #281920; border-color: #512733; color: #ff8b9c; }
.account-page .account-main { padding: 0; min-width: 0; }
.account-page-heading { margin-bottom: 28px; }
.account-page-heading h1 { font-size: 34px; margin-bottom: 11px; }
.account-page-heading .eyebrow { font-size: 9px; color: #ad808d; margin-bottom: 14px; }
.account-page-heading .page-description { font-size: 13px; line-height: 1.85; max-width: 650px; }
.account-identity { display: flex; align-items: center; gap: 13px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.account-identity > .icon { color: #cb8594; width: 18px; }
.account-identity > div { min-width: 0; }
.account-identity strong, .account-identity div > span { display: block; overflow-wrap: anywhere; font-size: 13px; }
.account-identity div > span { color: #a7a7b5; font-size: 12px; }
.account-verified { margin-left: auto; color: #bdb3c3; padding: 5px 9px; border: 1px solid #403441; font-size: 10px; border-radius: 3px; }
.account-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 29px; }
.account-stat { padding: 20px 19px; background: #19191e; border: 1px solid #303038; border-radius: 6px; }
.account-stat > .icon { color: #b48391; width: 17px; height: 17px; }
.account-stat strong { display: block; font-size: 30px; line-height: 1.3; font-weight: 600; margin: 15px 0 6px; }
.account-stat > span { display: block; color: #a6a6b5; font-size: 11px; }
.account-stat:hover { border-color: #70414f; }
.account-overview-links { border-top: 1px solid #303038; }
.account-overview-link { display: flex; align-items: center; gap: 17px; padding: 25px 0; border-bottom: 1px solid #303038; }
.account-overview-link > .icon { width: 20px; height: 20px; color: #d47c90; }
.account-overview-link > div { flex: 1; min-width: 0; }
.account-overview-link h2 { margin: 0 0 7px; font-size: 15px; }
.account-overview-link p { margin: 0; color: #a2a2b2; font-size: 12px; line-height: 1.75; }
.account-panel { min-width: 0; padding: 25px 27px; margin-bottom: 23px; border: 1px solid #33333d; border-radius: 7px; background: #19191d; }
.account-panel-title { display: flex; gap: 11px; align-items: center; margin: 0 0 17px; font-size: 16px; line-height: 1.5; }
.account-panel-title .icon { color: #da8598; width: 18px; }
.account-body { color: #a7a7b6; font-size: 12px; line-height: 1.85; margin: 0; }
.account-profile-panel { max-width: 660px; }
.account-profile-panel .account-form { max-width: 470px; margin-top: 0; }
.account-profile-panel .flash { margin: 0 0 24px; }
.account-profile-panel .account-form > .primary { justify-self: start; }
.account-security-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.account-security-grid .account-panel { margin-bottom: 0; }
.account-security-grid .button { margin-top: 21px; font-size: 12px; }
.account-session-count { font-size: 40px; margin: 7px 0 13px; font-weight: 600; line-height: 1.3; }
.account-page table { width: 100%; }
.account-page th, .account-page td { font-size: 11px; }
.account-page .table-scroll { margin: 18px 0; }
.account-page .account-panel .form-actions { margin-top: 20px; }
.account-page .account-panel > .small { line-height: 1.85; }
.account-page .account-panel > .small:last-child { margin-bottom: 0; margin-top: 17px; }
.account-page .form-actions { flex-wrap: wrap; }
.account-licences .panel { margin-bottom: 23px; }
.account-licences .panel.reveal { padding-bottom: 20px; }
.account-licences .panel.reveal > p { margin: 0 22px 12px; }
.account-licences .panel.reveal code { color: #f6c6cf; font-size: 15px; user-select: all; }
.account-licences .form-actions { padding: 0 22px 22px; }
.account-licences .table-scroll { margin: 0; }
.account-licences .panel > .small { padding: 0 22px 22px; margin: 12px 0 0; }
.account-licences .empty-state { border: 1px dashed #41414b; border-radius: 7px; min-height: 300px; }
.account-licences .empty-state > .icon { margin-bottom: 20px; color: #c78193; }
.account-licences .empty-state p { max-width: 430px; }
.account-licences .empty-state .button { margin-top: 9px; }
.account-page :is(h1, h2, h3, p, label, a, td, dd) { overflow-wrap: anywhere; }
.account-page button, .account-page .button { white-space: normal; }
@media (max-width: 1000px) {
  .account-auth-layout { gap: 45px; }
  .account-workspace { gap: 30px; grid-template-columns: 166px minmax(0, 1fr); }
  .account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-security-grid { grid-template-columns: 1fr; }
  .account-footer { align-items: flex-start; }
}
@media (max-width: 760px) {
  .account-header, .account-footer, .account-workspace, .account-auth-layout { width: calc(100% - 40px); }
  .account-header { min-height: 82px; gap: 16px; }
  .account-header-actions { gap: 14px; }
  .account-site-link { max-width: 120px; font-size: 11px; }
  .account-site-link .icon { display: none; }
  .account-auth-layout { grid-template-columns: 1fr; max-width: 460px; padding: 40px 0 55px; }
  .account-story { display: none; }
  .account-workspace { grid-template-columns: 1fr; gap: 30px; margin-block: 22px 45px; }
  .account-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .account-nav a { flex-direction: column; gap: 8px; padding: 12px 7px; font-size: 11px; text-align: center; }
  .account-footer { flex-direction: column; gap: 17px; align-items: center; text-align: center; }
  .account-footer .lang-switcher { justify-content: center; }
  .account-page-heading h1 { font-size: 30px; }
}
@media (max-width: 430px) {
  .account-header, .account-footer, .account-workspace, .account-auth-layout { width: calc(100% - 32px); }
  .account-brand { gap: 8px; }
  .account-brand img { width: 30px; height: 36px; }
  .account-brand > span { font-size: 18px; }
  .account-header-actions { gap: 10px; }
  .account-signed-in .account-site-link { display: none; }
  .account-steps { gap: 10px; }
  .account-steps li { gap: 5px; font-size: 9px; }
  .account-steps li > span { flex-basis: 21px; height: 21px; }
  .account-identity { flex-wrap: wrap; }
  .account-verified { margin-left: 31px; }
  .account-panel { padding: 22px 18px; }
  .account-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-nav a { flex-direction: row; text-align: left; gap: 9px; padding: 11px; }
  .account-stat { padding: 17px; }
  .account-page .facts { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
}
