.customer-account {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --border: #e5e5ea;
  --green: #0071e3;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.customer-account :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #b6d9ff;
  outline-offset: 4px;
}

.account-shell { min-height: 100dvh; }
.account-shell * { letter-spacing: 0; }
.account-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.account-global-header { min-height: 64px; }
.account-global-header > .account-container { min-height: 64px; display: flex; align-items: center; gap: 40px; }
.account-global-header .brand { gap: 8px; }
.account-global-header .brand img { width: 29px; height: 20px; }
.account-global-header .brand > span { font-size: 19px; font-weight: 600; }
.account-global-nav { display: flex; align-items: center; justify-content: flex-end; gap: 48px; margin-left: auto; }
.account-global-nav a { color: #515154; font-size: 12px; padding: 12px 0; }
.account-global-nav a:hover { color: #0071e3; }
.account-global-header .icon-btn { color: #1d1d1f; }
.account-global-header .icon { width: 19px; height: 19px; flex-basis: 19px; }
.account-body { min-height: calc(100dvh - 64px); display: flex; flex-direction: column; }
.account-titlebar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #d2d2d7; }
.account-title { font-size: 23px; font-weight: 600; }
.account-title-actions { display: flex; align-items: center; gap: 17px; }
.account-title-actions .icon-btn { color: #86868b; }
.account-title-actions .account-signout { min-height: 30px; border-radius: 20px; padding: 5px 15px; font-size: 12px; font-weight: 400; }
.account-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 72px; align-items: start; padding: 64px 0 80px; flex: 1; }
.account-shell .account-sidebar { position: sticky; top: 40px; inset-inline-start: auto; width: auto; border: 0; background: #fff; z-index: 10; transform: none; }
.account-profile { display: flex; flex-direction: column; align-items: flex-start; padding: 0 8px; min-width: 0; position: relative; }
.account-profile-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 80px; width: 80px; height: 80px; border-radius: 50%; background: #f0f1f4; box-shadow: inset 0 0 0 1px #00000003; color: #737985; font-size: 31px; font-weight: 500; margin-bottom: 19px; }
.account-profile > strong { font-size: 22px; line-height: 1.5; max-width: 100%; }
.account-profile-email { font-size: 13px; color: #6e6e73; margin-top: 3px; overflow-wrap: anywhere; max-width: 100%; }
.account-profile > .icon-btn { display: none; }
.account-shell .account-nav { padding: 0; margin-top: 36px; gap: 3px; }
.account-shell .account-nav a { min-height: 39px; height: auto; padding: 8px; border-radius: 4px; font-size: 15px; line-height: 1.6; color: #1d1d1f; gap: 10px; }
.account-shell .account-nav a:hover { color: #0071e3; background: #f7f9fc; }
.account-shell .account-nav a.selected { color: #0071e3; background: transparent; font-weight: 600; }
.account-nav .nav-count { margin-left: 1px; background: #f5f5f7; border-radius: 10px; color: #6e6e73; font-size: 10px; height: 19px; min-width: 19px; }
.account-nav .selected .nav-count { color: #0071e3; background: #edf5ff; }
.account-help { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #86868b; margin: 33px 8px 0; padding-top: 23px; border-top: 1px solid #ededf0; }
.account-help .icon { width: 14px; height: 14px; flex-basis: 14px; }
.account-help .icon:last-child { margin-left: auto; width: 12px; height: 12px; flex-basis: 12px; }
.account-help:hover { color: #0071e3; }
.account-content { min-width: 0; }
.account-mobilebar { display: none; }
.account-content .main-content { padding: 0; max-width: none; }
.account-content .page-heading { align-items: flex-start; gap: 20px; margin: 0 0 39px; }
.account-content .page-heading .eyebrow { display: none; }
.account-content .page-heading h1 { font-size: 32px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.account-content .page-heading p { font-size: 14px; line-height: 1.8; color: #6e6e73; margin-top: 13px; max-width: 100%; }
.account-content .page-heading > .btn { margin-top: 9px; font-size: 12px; }
.account-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.account-card { display: flex; flex-direction: column; min-height: 162px; padding: 22px; border: 1px solid #dedee3; border-radius: 8px; background: linear-gradient(120deg, #fff, #fafafa); box-shadow: 0 5px 17px #1d1d1f04; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.account-card:hover { border-color: #a7c9ee; box-shadow: 0 5px 18px #0071e30a; }
.account-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; margin-bottom: 10px; }
.account-card-heading h2 { font-size: 19px; line-height: 1.5; font-weight: 600; }
.account-card-heading > .icon { color: #0071e3; width: 25px; height: 25px; flex-basis: 25px; }
.account-card > p { font-size: 14px; line-height: 1.7; color: #6e6e73; overflow-wrap: anywhere; }
.account-card-detail { display: block; font-size: 12px; color: #86868b; line-height: 1.7; margin-top: 2px; overflow-wrap: anywhere; }
.account-recent { margin-top: 41px; }
.account-content .section-heading { margin-bottom: 14px; }
.account-content .section-heading h2 { font-size: 16px; }
.account-content .text-link { color: #0071e3; font-size: 12px; }
.account-recent-order { display: flex; align-items: center; gap: 15px; padding: 19px 0; border-top: 1px solid #e5e5ea; }
.account-recent-order > img { width: 69px; height: 48px; object-fit: contain; flex: 0 0 69px; }
.account-recent-product { min-width: 0; flex: 1; }
.account-recent-product > strong { display: block; font-size: 13px; font-weight: 500; }
.account-recent-product > span { display: block; margin-top: 4px; font-size: 10px; color: #86868b; overflow-wrap: anywhere; }
.account-recent-order .badge { font-size: 10px; }
.account-content .row-action { color: #0071e3; font-size: 12px; }
.account-service-note { display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid #e5e5ea; margin-top: 29px; padding-top: 22px; color: #86868b; font-size: 11px; }
.account-service-note > .icon { width: 16px; height: 16px; flex-basis: 16px; margin-top: 1px; }
.account-service-note > span { min-width: 0; }
.account-service-note > span > span { display: block; font-size: 10px; margin-top: 4px; }
.account-service-note > .text-link { margin-left: auto; flex-shrink: 0; font-size: 11px; }
.account-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid #e5e5ea; color: #86868b; font-size: 10px; }
.account-footer > div { display: flex; align-items: center; gap: 22px; }
.account-footer a:hover { color: #0071e3; }

.account-content .list-toolbar { flex-direction: column; align-items: stretch; gap: 7px; }
.account-content .toolbar-right { order: -1; width: 100%; padding-bottom: 4px; }
.account-content .search-box { width: 100%; max-width: 300px; border-color: #d2d2d7; border-radius: 6px; min-height: 36px; }
.account-content .search-box input { font-size: 12px; color: #1d1d1f; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; outline: none; }
.account-content .search-box:focus-within { outline: 3px solid #b6d9ff; outline-offset: 3px; }
.account-content .filter-tabs { width: 100%; gap: 23px; min-height: 48px; }
.account-content .filter-tabs button { font-size: 12px; color: #6e6e73; }
.account-content .filter-tabs button.active { color: #0071e3; border-color: #0071e3; }
.account-content .filter-tabs button.active > span { background: #edf5ff; color: #0071e3; }
.account-content th { font-size: 11px; color: #86868b; background: #fafafa; }
.account-content td { padding: 20px 9px; }
.account-content td:first-child { padding-left: 0; }
.account-content .table-product strong, .account-content .ticket-subject strong { font-size: 12px; color: #1d1d1f; }
.account-content .table-product small, .account-content .ticket-subject small, .account-content .cell-sub { font-size: 10px; color: #86868b; }
.account-content .table-product-icon { color: #86868b; background: #f5f5f7; border-color: #e5e5ea; }
.account-content .muted { color: #6e6e73; font-size: 11px; }
.account-content .badge { font-size: 10px; }
.account-content .table-footer { color: #86868b; font-size: 11px; }
.account-content .table-footer > span { font-size: 10px; }
.account-content .empty-state { min-height: 285px; }
.account-content .empty-icon { color: #0071e3; background: #f5f9ff; border-color: #e2ebf7; }
.account-content .empty-state h3 { font-size: 16px; }
.account-content .empty-state p { color: #86868b; font-size: 12px; }
.account-content .empty-state .btn { font-size: 12px; }
.account-content .machines-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.account-content .machine-item { border-color: #dedee3; }
.account-content .machine-item h2 { font-size: 17px; }
.account-content .machine-meta dt { color: #86868b; }
.account-content .machine-meta dd { color: #515154; }
.account-content .machine-spec { color: #86868b; }
.account-content .device-summary { font-size: 12px; color: #86868b; }
.account-content .device-summary strong { font-size: 12px; color: #32814b; }
.account-content .stat { border-color: #dedee3; background: #fafafa; padding: 18px; }
.account-content .stat-top { font-size: 12px; color: #6e6e73; }
.account-content .stat > strong { font-size: 27px; }
.account-content .stat > small { color: #86868b; font-size: 10px; }
.account-content .stats-grid.three { gap: 14px; }
.account-content .stat-icon { display: none; }
.account-content .payment-channel-strip p { color: #86868b; font-size: 11px; }
.account-content .settings-section { grid-template-columns: 1fr; gap: 25px; padding: 28px 0; }
.account-content .settings-description { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 3px 13px; }
.account-content .settings-symbol { margin: 0; grid-row: 1 / 3; color: #0071e3; background: #f0f7ff; }
.account-content .settings-description h2 { font-size: 15px; }
.account-content .settings-description p { font-size: 12px; color: #86868b; margin: 0; }
.account-content .settings-form { max-width: 480px; gap: 23px; }
.account-content .settings-form label { color: #515154; font-size: 13px; }
.account-content .settings-form input { font-size: 14px; color: #1d1d1f; border-color: #d2d2d7; padding: 11px 13px; border-radius: 6px; }
.account-content .settings-form input:disabled { background: #f5f5f7 !important; color: #86868b !important; }
.account-content .settings-form input::placeholder { color: #98989d; font-size: 13px; }
.account-content .settings-form .btn { font-size: 12px; min-height: 37px; padding: 8px 16px; }
.account-content .settings-form .form-footer { justify-content: flex-start; }
.account-field-note { font-size: 11px; color: #86868b; margin-top: -12px; }
.account-security-summary { display: flex; align-items: center; gap: 15px; padding: 0 0 28px; color: #0071e3; }
.account-security-summary > .icon { width: 22px; height: 22px; flex-basis: 22px; }
.account-security-summary strong { display: block; font-size: 13px; color: #1d1d1f; font-weight: 500; }
.account-security-summary span:not(.icon) { display: block; color: #6e6e73; font-size: 13px; margin-top: 5px; overflow-wrap: anywhere; }
.account-security-summary > div { flex: 1; min-width: 0; }
.account-security-summary > .icon:last-child { color: #86868b; width: 17px; height: 17px; flex-basis: 17px; }

.customer-account .overlay-backdrop { background: #1d1d1f38; }
.customer-account .dialog-header p, .customer-account .ticket-facts { color: #86868b; }
.customer-account .form-stack label { color: #515154; font-size: 12px; }
.customer-account .dialog-body :is(input, textarea, select) { color: #1d1d1f; border-color: #d2d2d7; font-size: 13px; }
.customer-account .detail-list dt { color: #86868b; font-size: 12px; }
.customer-account .detail-list dd { color: #515154; font-size: 12px; }
.customer-account .detail-section h3 { font-size: 14px; }
.customer-account .message-heading strong { color: #515154; }
.customer-account .message-heading time { color: #86868b; }
.customer-account .message-body { background: #f5f5f7; border-color: #ededf0; color: #515154; font-size: 13px; }
.customer-account .message.staff .message-body { background: #f4f8ff; border-color: #e5edf8; }
.customer-account .message .staff-avatar, .customer-account .staff-label { color: #0071e3; background: #edf5ff; }
.customer-account .note-block, .customer-account .copy-command { color: #515154; background: #f5f5f7; border-color: #e5e5ea; }
.customer-account .copy-command code { color: #515154; }
.customer-account .form-error { color: #b44040; font-size: 12px; }

@media (max-width: 1100px) {
  .account-container { padding-inline: 32px; }
  .account-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 42px; padding-top: 52px; }
  .account-card { padding: 19px; min-height: 158px; }
  .account-card-heading h2 { font-size: 18px; }
  .account-card-heading > .icon { width: 23px; height: 23px; flex-basis: 23px; }
  .account-card > p { font-size: 13px; }
}

@media (max-width: 800px) {
  .account-container { padding-inline: 26px; }
  .account-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding-top: 42px; }
  .account-profile { padding-inline: 0; }
  .account-profile-avatar { width: 68px; height: 68px; flex-basis: 68px; font-size: 27px; }
  .account-profile > strong { font-size: 20px; }
  .account-profile-email { font-size: 11px; }
  .account-shell .account-nav a { font-size: 14px; padding-inline: 0; }
  .account-content .page-heading h1 { font-size: 28px; }
  .account-content .page-heading p { font-size: 13px; }
  .account-card-grid { gap: 14px; }
  .account-card { padding: 16px; }
  .account-card-heading { gap: 10px; }
  .account-card-heading h2 { font-size: 16px; }
  .account-card-detail { font-size: 11px; }
  .account-content .stats-grid.three { grid-template-columns: 1fr; gap: 0; }
  .account-content .stats-grid.three .stat { border: 0; border-bottom: 1px solid #e5e5ea; border-radius: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 15px 0; background: #fff; }
  .account-content .stats-grid.three .stat > strong { grid-column: 2; grid-row: 1 / 3; text-align: right; margin: 0; font-size: 24px; }
  .account-content .stats-grid.three .stat > small { grid-column: 1; margin-top: 5px; }
}

@media (min-width: 641px) {
  .account-shell .sidebar-scrim { display: none; }
}

@media (max-width: 640px) {
  .account-container { padding-inline: 22px; }
  .account-global-header, .account-global-header > .account-container { min-height: 56px; }
  .account-global-header > .account-container { gap: 17px; }
  .account-global-header .brand > span { font-size: 18px; }
  .account-global-header .brand img { width: 26px; }
  .account-global-nav { gap: 21px; }
  .account-global-nav a { font-size: 11px; }
  .account-global-nav a:nth-child(2) { display: none; }
  .account-global-header > .account-container > .icon-btn { width: 28px; height: 32px; flex-basis: 28px; padding: 4px; }
  .account-body { min-height: calc(100dvh - 56px); }
  .account-titlebar { min-height: 70px; gap: 10px; }
  .account-title { font-size: 20px; }
  .account-title-actions { gap: 8px; }
  .account-title-actions .icon-btn { width: 27px; height: 30px; flex-basis: 27px; padding: 5px; }
  .account-title-actions .account-signout { font-size: 11px; min-height: 28px; padding: 4px 12px; }
  .account-layout { display: block; padding: 0 0 48px; }
  .account-shell .account-sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; max-width: calc(100vw - 48px); padding: 37px 26px 25px; z-index: 65; transform: translateX(-100%); visibility: hidden; overflow: auto; overscroll-behavior: contain; }
  .account-shell.menu-open .account-sidebar { transform: translateX(0); visibility: visible; }
  .account-shell.menu-open .sidebar-scrim { display: block; position: fixed; inset: 0; background: #1d1d1f38; z-index: 60; }
  .account-profile-avatar { width: 72px; height: 72px; flex-basis: 72px; font-size: 29px; margin-bottom: 16px; }
  .account-profile > strong { font-size: 21px; }
  .account-profile-email { font-size: 12px; }
  .account-profile > .icon-btn { display: inline-flex; position: absolute; right: -10px; top: -18px; }
  .account-shell .account-nav { margin-top: 28px; gap: 5px; }
  .account-shell .account-nav a { min-height: 42px; font-size: 15px; }
  .account-help { margin: 28px 0 0; }
  .account-mobilebar { display: flex; align-items: center; gap: 8px; min-height: 58px; border-bottom: 1px solid #ededf0; margin-bottom: 30px; font-size: 12px; color: #6e6e73; }
  .account-mobilebar .icon-btn { margin-left: -7px; color: #515154; }
  .account-content .page-heading { margin-bottom: 28px; gap: 13px; }
  .account-content .page-heading h1 { font-size: 27px; }
  .account-content .page-heading p { font-size: 12px; line-height: 1.8; margin-top: 10px; }
  .account-content .page-heading > .btn { font-size: 11px; padding: 8px 10px; margin-top: 4px; min-height: 34px; }
  .account-card-grid { gap: 12px; }
  .account-card { min-height: 155px; padding: 17px 14px; }
  .account-card-heading { min-height: 25px; margin-bottom: 12px; gap: 6px; }
  .account-card-heading h2 { font-size: 15px; }
  .account-card-heading > .icon { width: 21px; height: 21px; flex-basis: 21px; }
  .account-card > p { font-size: 12px; }
  .account-card-detail { font-size: 10px; line-height: 1.8; }
  .account-recent { margin-top: 32px; }
  .account-content .section-heading h2 { font-size: 15px; }
  .account-recent-order { gap: 12px; flex-wrap: wrap; padding: 17px 0; }
  .account-recent-order > img { width: 52px; height: 39px; flex-basis: 52px; }
  .account-recent-product { flex-basis: calc(100% - 70px); }
  .account-recent-product > strong { font-size: 12px; }
  .account-recent-product > span { font-size: 9px; }
  .account-recent-order > .badge { margin-left: 64px; }
  .account-recent-order > .row-action { margin-left: auto; font-size: 11px; }
  .account-service-note { margin-top: 25px; font-size: 10px; }
  .account-service-note > .text-link { font-size: 10px; }
  .account-footer { flex-wrap: wrap; row-gap: 10px; padding: 20px 0; font-size: 9px; }
  .account-footer > div { gap: 17px; flex-wrap: wrap; }
  .account-footer > div > span { color: #98989d; }
  .account-content .filter-tabs { gap: 22px; }
  .account-content .table-scroll table { min-width: 570px; }
  .account-content .table-footer { font-size: 10px; }
  .account-content .table-footer > span { font-size: 9px; }
  .account-content .machines-grid { grid-template-columns: 1fr; }
  .account-content .settings-section { gap: 23px; }
  .account-content .settings-description p { font-size: 11px; }
  .account-content .settings-form { gap: 21px; max-width: none; }
  .account-content .settings-form input { font-size: 16px; }
  .account-content .search-box { max-width: none; }
  .account-content .search-box input { font-size: 16px; }
}

@media (max-width: 370px) {
  .account-container { padding-inline: 18px; }
  .account-global-header > .account-container { gap: 10px; }
  .account-global-nav { gap: 14px; }
  .account-title { font-size: 18px; }
  .account-card-grid { grid-template-columns: 1fr; }
  .account-card { min-height: 137px; padding: 20px; }
  .account-card-heading h2 { font-size: 18px; }
  .account-card > p { font-size: 13px; }
  .account-card-detail { font-size: 12px; }
}
