/* GymDesk Pro UI repair layer — responsive shell, consistent controls and Members page */
:root { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; }
.app { min-height: 100vh; grid-template-columns: minmax(220px, var(--sidebar-w)) minmax(0, 1fr); }
.sidebar, .main, .page { min-width: 0; }
.sidebar { width: 100%; }
.brand { min-width: 0; }
.brand > div:last-child { min-width: 0; }
.brand-name, .brand-sub { overflow-wrap: anywhere; }
.nav { width: 100%; min-width: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.nav a { width: 100%; min-width: 0; flex: 0 0 auto; }
.nav a span { min-width: 0; overflow-wrap: anywhere; }
.sidebar-foot { flex: 0 0 auto; }
.topbar { min-width: 0; gap: 14px; }
.topbar h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-right { min-width: 0; flex-wrap: nowrap; }
.gym { min-width: 0; max-width: 220px; }
.gym #gym-name-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page { width: 100%; max-width: 1480px; margin-inline: auto; }

/* Scrollbars stay subtle and never create a bright horizontal strip in the sidebar. */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--line); border: 2px solid transparent; border-radius: 99px; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--muted); border: 2px solid transparent; background-clip: padding-box; }
.sidebar .nav::-webkit-scrollbar:horizontal { display: none; height: 0; }
.sidebar .nav { scrollbar-gutter: stable; }

/* Common form and table consistency across every module. */
button, input, select, textarea { max-width: 100%; }
button { -webkit-appearance: none; }
.input, select.input, textarea.input { color: var(--text); }
.input::placeholder, textarea.input::placeholder { color: var(--muted); opacity: .82; }
select.input option { color: var(--text); background: var(--card); }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; }
.table-wrap table { margin: 0; }
.table-wrap th { background: var(--card-2); }
.table-wrap td { vertical-align: middle; }
[hidden] { display: none !important; }
.eyebrow { color: var(--volt-dim); font-size: 10px; font-weight: 750; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }

/* Topbar keeps its controls legible on medium desktop widths. */
@media (max-width: 1100px) {
  .search { width: 190px; }
  .gym { display: none !important; }
  .topbar { padding-inline: var(--s4); }
}
@media (max-width: 820px) {
  .app { display: block; }
  .sidebar { display: none; }
  .topbar { gap: 8px; }
  .topbar h1 { font-size: 22px; }
  .tb-right { gap: 8px; }
  .page { max-width: none; }
}
@media (max-width: 520px) {
  .topbar { padding-inline: 12px; }
  .topbar h1 { font-size: 20px; }
  .avatar { width: 34px; height: 34px; }
  .iconbtn { width: 34px; height: 34px; }
}

/* Members — complete page styling was missing from the source project. */
.members-page { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.members-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-width: 0; }
.members-head h2 { margin: 5px 0 4px; font-family: var(--font-display); font-size: 30px; line-height: 1.08; }
.members-head p { max-width: 720px; margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.members-head > div { min-width: 0; }
.members-head > .btn { flex: 0 0 auto; }
.member-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.member-stat { display: flex; min-width: 0; min-height: 104px; flex-direction: column; justify-content: center; gap: 8px; padding: 16px 18px; }
.member-stat span { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35; }
.member-stat strong { color: var(--text); font-family: var(--font-display); font-size: clamp(25px, 2.3vw, 32px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.member-stat:nth-child(2) strong { color: var(--ok); }
.member-stat:nth-child(3) strong { color: var(--warn); }
.member-stat:nth-child(4) strong { color: var(--due); }
.member-list-card { min-width: 0; padding: 18px; }
.member-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 220px); gap: 10px; margin-bottom: 14px; }
.member-toolbar .input { width: 100%; min-width: 0; min-height: 42px; }
.member-table { width: 100%; min-width: 1120px; border-collapse: separate; border-spacing: 0; table-layout: auto; font-size: 13px; }
.member-table th { padding: 12px 13px; border-bottom: 1px solid var(--line); background: var(--card-2); color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .07em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.member-table th:first-child { border-radius: 8px 0 0 0; }
.member-table th:last-child { border-radius: 0 8px 0 0; }
.member-table td { padding: 13px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.member-table tbody tr { transition: background .15s ease; }
.member-table tbody tr:hover { background: var(--card-2); }
.member-table tbody tr:last-child td { border-bottom: 0; }
.member-table td:first-child { min-width: 175px; white-space: normal; }
.member-table td:nth-child(3), .member-table td:nth-child(4) { max-width: 170px; overflow-wrap: anywhere; }
.member-name-cell { display: flex; min-width: 145px; flex-direction: column; gap: 4px; }
.member-name-cell strong { color: var(--text); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.member-name-cell small { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.member-status { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 4px 9px; border: 1px solid transparent; border-radius: 99px; background: var(--card-2); color: var(--muted); font-size: 10px; font-weight: 750; white-space: nowrap; }
.member-status.active { background: rgba(61, 220, 151, .13); color: var(--ok); }
.member-status.expiring { background: rgba(255, 176, 32, .14); color: var(--warn); }
.member-status.expired, .member-status.inactive { background: rgba(255, 92, 92, .13); color: var(--due); }
.member-status.no-expiry { background: rgba(91, 168, 255, .13); color: var(--info); }
.member-actions { display: flex; align-items: center; gap: 6px; min-width: max-content; }
.member-actions button { display: inline-flex; min-height: 31px; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--card-2); color: var(--text); font-family: var(--font); font-size: 10px; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap; }
.member-actions button:hover { border-color: var(--volt-dim); background: var(--volt-soft); color: var(--text); }
.member-actions button[data-action="wa"] { border-color: rgba(61, 220, 151, .28); color: var(--ok); }
.member-actions button[data-action="delete"] { border-color: rgba(255, 92, 92, .24); color: var(--due); }
.member-actions button:focus-visible, .member-close:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
.member-empty { padding: 28px 18px; color: var(--muted); font-size: 13px; text-align: center; }
.member-modal-back { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-x: hidden; overflow-y: auto; background: rgba(4, 8, 14, .76); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.member-modal-back[hidden] { display: none !important; }
.member-modal { width: min(780px, 100%); max-height: min(90vh, 920px); margin: auto; padding: 22px; overflow-x: hidden; overflow-y: auto; border: 1px solid var(--line); background: var(--card); box-shadow: 0 26px 80px rgba(0, 0, 0, .48); }
.member-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.member-modal-head h3 { margin: 4px 0 0; color: var(--text); font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.member-close { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--card-2); color: var(--text); font-size: 23px; line-height: 1; cursor: pointer; }
.member-close:hover { border-color: var(--volt-dim); background: var(--volt-soft); }
.member-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; }
.member-form-grid label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.35; }
.member-form-grid .input { width: 100%; min-width: 0; min-height: 42px; font-size: 13px; }
.member-form-grid textarea.input { min-height: 78px; resize: vertical; }
.member-form-grid .input[readonly] { background: var(--card-2); color: var(--text); opacity: .9; }
.member-full { grid-column: 1 / -1; }
.member-date-hint { grid-column: 1 / -1; }
.member-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.member-modal-actions .btn { min-width: 120px; }
:root[data-theme="light"] .member-modal-back { background: rgba(19, 29, 43, .48); }
:root[data-theme="light"] .member-stat { background: #fff; }
:root[data-theme="light"] .member-table th { background: #edf1f5; }
:root[data-theme="light"] .member-actions button { background: #f3f6f9; color: #253044; }
:root[data-theme="light"] .member-actions button:hover { background: #eaf2d3; }
:root[data-theme="light"] .member-modal { background: #fff; }

@media (max-width: 1050px) {
  .member-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .members-head { align-items: flex-start; flex-direction: column; }
  .members-head h2 { font-size: 26px; }
  .members-head > .btn { width: 100%; }
  .member-stats { gap: 9px; }
  .member-stat { min-height: 88px; padding: 13px; }
  .member-stat strong { font-size: 25px; }
  .member-list-card { padding: 13px; }
  .member-toolbar { grid-template-columns: 1fr; }
  .member-toolbar select.input { max-width: none; }
  .member-modal-back { align-items: flex-start; padding: 10px; }
  .member-modal { max-height: calc(100vh - 20px); padding: 16px; }
  .member-form-grid { grid-template-columns: 1fr; }
  .member-full, .member-date-hint { grid-column: auto; }
  .member-modal-actions { flex-wrap: wrap; }
  .member-modal-actions .btn { flex: 1 1 120px; }
}
@media (max-width: 420px) {
  .member-stats { grid-template-columns: 1fr 1fr; }
  .member-stat span { font-size: 11px; }
  .member-stat strong { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .page, .nav a, .member-table tbody tr { animation: none !important; transition: none !important; }
}


/* Payment receipt preview, history actions and print-ready document. */
.receipt-preview { width: 100%; max-height: 66vh; overflow: auto; padding: 8px; border-radius: 10px; background: var(--card-2); }
.receipt-paper { width: min(100%, 680px); margin: 0 auto; padding: 28px; background: #fff; color: #17202b; border: 1px solid #dce2e8; border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.12); font-family: Arial, Helvetica, sans-serif; }
.receipt-brand { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 2px solid #273445; }
.receipt-kicker { color: #718096; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; }
.receipt-brand h2 { margin: 6px 0; color: #17202b; font-size: 22px; line-height: 1.15; }
.receipt-brand p { margin: 3px 0; color: #607080; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.receipt-paid-stamp { flex: 0 0 auto; align-self: flex-start; padding: 8px 10px; border: 2px solid #16865f; border-radius: 7px; color: #16865f; font-size: 9px; line-height: 1.35; font-weight: 800; text-align: center; letter-spacing: .7px; }
.receipt-title { display: flex; justify-content: space-between; gap: 12px; padding: 17px 0; color: #17202b; }
.receipt-title>div { display: flex; flex-direction: column; gap: 4px; }
.receipt-title span { color: #536273; font-size: 11px; letter-spacing: 1.2px; font-weight: 800; }
.receipt-title strong { color: #17202b; font-size: 14px; }
.receipt-title small { color: #718096; font-size: 9px; }
.receipt-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; background: #f5f7f9; border: 1px solid #e3e8ed; border-radius: 7px; }
.receipt-parties section { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.receipt-parties small { color: #728092; font-size: 8px; letter-spacing: .8px; font-weight: 800; }
.receipt-parties strong { color: #17202b; font-size: 12px; overflow-wrap: anywhere; }
.receipt-parties span { color: #5d6b7a; font-size: 9px; overflow-wrap: anywhere; }
.receipt-description { display: flex; flex-direction: column; gap: 4px; padding: 16px 0 10px; }
.receipt-description span { color: #718096; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.receipt-description strong { color: #17202b; font-size: 14px; }
.receipt-description small { color: #607080; font-size: 10px; }
.receipt-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
.receipt-table td { padding: 8px 3px; border-bottom: 1px solid #e4e9ee; color: #344354; font-size: 10px; }
.receipt-table td:last-child { color: #17202b; font-weight: 700; text-align: right; white-space: nowrap; }
.receipt-net td { border-top: 1px solid #bfc9d3; color: #17202b; font-weight: 800; }
.receipt-payment-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid #bce6d2; border-radius: 7px; background: #edf8f3; color: #116b4c; }
.receipt-payment-total span { font-size: 9px; font-weight: 800; letter-spacing: .5px; }
.receipt-payment-total strong { font-size: 22px; white-space: nowrap; }
.receipt-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.receipt-balance>div { display: flex; min-width: 0; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid #e1e6eb; border-radius: 7px; }
.receipt-balance small { color: #6d7a88; font-size: 9px; }
.receipt-balance strong { color: #17202b; font-size: 14px; }
.receipt-notes { margin: 12px 0 0; color: #526170; font-size: 10px; }
.receipt-footer { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 20px; padding-top: 14px; border-top: 1px dashed #c8d0d8; text-align: center; }
.receipt-footer strong { color: #17202b; font-size: 11px; }
.receipt-footer span { color: #758292; font-size: 9px; }
.pay-receipt-link { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card-2); color: var(--text); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pay-receipt-link:hover { border-color: var(--volt-dim); background: var(--volt-soft); }
.pay-modal-footer [data-receipt-whatsapp] { background: var(--ok); color: #071b13; border-color: var(--ok); }
@media (max-width: 620px) {
  .receipt-preview { padding: 5px; }
  .receipt-paper { padding: 15px; }
  .receipt-brand { gap: 8px; }
  .receipt-brand h2 { font-size: 18px; }
  .receipt-paid-stamp { font-size: 8px; padding: 6px; }
  .receipt-parties { grid-template-columns: 1fr; }
  .receipt-payment-total strong { font-size: 18px; }
  .pay-modal-footer [data-receipt-print], .pay-modal-footer [data-receipt-whatsapp] { flex: 1 1 145px; }
}

/* A4 Bill of Supply receipt layout inspired by the supplied gym invoice reference. */
.receipt-preview { max-height: 72vh; padding: 10px; background: #e9edf1; }
.receipt-paper { width: min(100%, 760px); min-height: 980px; margin: 0 auto; padding: 30px 34px 34px; border: 1px solid #d8dce0; border-radius: 0; background: #fff; color: #111; box-shadow: 0 8px 28px rgba(0,0,0,.12); font-family: Arial, Helvetica, sans-serif; }
.receipt-copy-line { display: flex; align-items: center; gap: 9px; margin: 0 0 42px; color: #111; font-size: 11px; }
.receipt-copy-line strong { font-size: 11px; font-weight: 800; }
.receipt-copy-line span { padding: 3px 7px; border: 1px solid #999; color: #777; font-size: 10px; font-weight: 700; }
.receipt-brand { display: flex; justify-content: flex-start; gap: 14px; padding: 0 8px 24px; border-bottom: 4px solid #111; }
.receipt-brand-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.receipt-logo, .receipt-logo-fallback { display: flex; width: 138px; height: 82px; flex: 0 0 138px; align-items: center; justify-content: center; object-fit: contain; background: #050505; color: #fff; font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.receipt-logo { background: #fff; }
.receipt-brand-copy { min-width: 0; }
.receipt-brand-copy h2 { margin: 0 0 7px; color: #111; font-size: 27px; line-height: 1.1; font-weight: 900; text-transform: uppercase; }
.receipt-brand-copy p { margin: 3px 0; color: #222; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.receipt-invoice-bar { display: flex; justify-content: space-between; gap: 14px; margin: 0 0 12px; padding: 16px 18px; border-top: 6px solid #111; background: #e7e7e7; color: #111; font-size: 13px; }
.receipt-invoice-bar strong { font-weight: 800; }
.receipt-bill-to { display: flex; flex-direction: column; gap: 4px; padding: 0 0 18px; border-bottom: 2px solid #222; color: #111; }
.receipt-bill-to>span { font-size: 13px; font-weight: 800; }
.receipt-bill-to>strong { font-size: 15px; font-weight: 800; }
.receipt-bill-to small { color: #222; font-size: 12px; }
.receipt-service-table { width: 100%; margin: 0 0 125px; border-collapse: collapse; table-layout: fixed; color: #111; }
.receipt-service-table th { padding: 13px 8px; border-bottom: 3px solid #111; font-size: 13px; font-weight: 800; text-align: left; }
.receipt-service-table td { padding: 11px 8px; border-bottom: 1px solid #ddd; color: #222; font-size: 12px; vertical-align: top; overflow-wrap: anywhere; }
.receipt-service-table th:nth-child(1), .receipt-service-table td:nth-child(1) { width: 43%; }
.receipt-service-table th:nth-child(2), .receipt-service-table td:nth-child(2) { width: 35%; text-align: center; }
.receipt-service-table th:nth-child(3), .receipt-service-table td:nth-child(3) { width: 22%; text-align: right; white-space: nowrap; }
.receipt-service-table th:last-child { text-align: right; }
.receipt-discount-row td { color: #333; }
.receipt-invoice-bottom { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; border-top: 3px solid #111; padding-top: 10px; color: #111; }
.receipt-terms { color: #111; font-size: 12px; line-height: 1.4; }
.receipt-terms>strong { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; }
.receipt-terms p { margin: 0 0 22px; color: #222; font-size: 12px; }
.receipt-summary { display: flex; flex-direction: column; gap: 0; color: #111; font-size: 12px; }
.receipt-summary>div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px; border-bottom: 1px solid #aaa; }
.receipt-summary>div:first-child { border-bottom: 2px solid #111; font-weight: 800; }
.receipt-summary strong { color: #111; white-space: nowrap; }
.receipt-summary .receipt-balance-row { border-bottom: 0; font-weight: 800; }
.receipt-words { display: flex !important; flex-direction: column; align-items: flex-end; gap: 4px; margin-top: 18px; border: 0 !important; text-align: right; }
.receipt-words strong, .receipt-words span { color: #111; font-size: 11px; }
.receipt-payment-note { display: block !important; border: 0 !important; padding: 4px 0 !important; color: #555 !important; font-size: 10px !important; text-align: right; }
.receipt-authorised { display: flex; justify-content: flex-end; margin-top: 48px; }
.receipt-signature-wrap { display: flex; min-width: 180px; flex-direction: column; align-items: center; color: #111; text-align: center; }
.receipt-signature-image { display: block; width: 150px; height: 64px; margin-bottom: 3px; object-fit: contain; }
.receipt-signature-line { width: 150px; height: 64px; margin-bottom: 3px; border-bottom: 1px solid #777; }
.receipt-signature-wrap strong { color: #111; font-size: 10px; }
.receipt-signature-wrap span, .receipt-signature-wrap small { color: #333; font-size: 10px; }
.receipt-footer-note { margin-top: 26px; padding-top: 9px; border-top: 1px solid #ddd; color: #555; font-size: 10px; text-align: center; }
.settings-brand-upload { display: flex; min-width: 0; align-items: center; gap: 10px; }
.settings-brand-upload img { display: block; width: 120px; height: 62px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #fff; object-fit: contain; }
.settings-brand-upload img[hidden] { display: none !important; }
.settings-brand-upload .btn { min-height: 32px; padding: 6px 9px; font-size: 10px; }
@media (max-width: 700px) {
  .receipt-paper { min-height: 0; padding: 18px 16px; }
  .receipt-copy-line { margin-bottom: 24px; }
  .receipt-brand-main { align-items: flex-start; gap: 10px; }
  .receipt-logo, .receipt-logo-fallback { width: 86px; height: 58px; flex-basis: 86px; font-size: 17px; }
  .receipt-brand-copy h2 { font-size: 18px; }
  .receipt-brand-copy p { font-size: 10px; }
  .receipt-invoice-bar { padding: 11px; font-size: 10px; }
  .receipt-service-table { margin-bottom: 40px; }
  .receipt-service-table th, .receipt-service-table td { padding: 8px 4px; font-size: 9px; }
  .receipt-invoice-bottom { grid-template-columns: 1fr; gap: 14px; }
  .receipt-authorised { margin-top: 30px; }
}
@media print {
  .receipt-preview { max-height: none; overflow: visible; padding: 0; background: #fff; }
  .receipt-paper { width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; }
}
@media (max-width: 700px) {
  .receipt-invoice-bar { flex-wrap: wrap; }
  .receipt-invoice-bar > div { flex: 1 1 130px; }
}

/* Phase 12 — signed-in admin controls and account security */
.admin-account{display:flex;align-items:center;gap:9px;min-width:0;padding-left:10px;border-left:1px solid var(--line)}
.admin-account-copy{display:flex;flex-direction:column;gap:2px;min-width:0;max-width:150px}
.admin-account-label{font-size:8px;letter-spacing:.13em;color:var(--muted);font-weight:800}
.admin-account-copy strong{font-size:10px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
.admin-logout{height:31px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--card-2);color:var(--text);font:600 10px var(--font);cursor:pointer;white-space:nowrap}
.admin-logout:hover{border-color:var(--due);color:var(--due)}
.admin-security-card{padding:18px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card);display:flex;flex-direction:column;gap:13px}
.admin-security-badge{border:1px solid var(--volt-dim);border-radius:999px;padding:6px 9px;color:var(--volt);font-size:9px;font-weight:800;white-space:nowrap}
.admin-security-account{font-size:11px;color:var(--muted);padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--card-2)}
.admin-security-account strong{color:var(--text);overflow-wrap:anywhere}
.admin-security-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin-security-fields label{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--muted);font-size:11px;font-weight:650}
.admin-security-fields .input{width:100%;min-width:0;min-height:40px}
.admin-security-wide{grid-column:1/-1}
.admin-security-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.admin-security-actions .btn{min-height:39px}
.admin-security-status{margin:0;color:var(--muted);font-size:11px;line-height:1.4}
.admin-security-status.is-error{color:var(--due)}
.admin-security-status.is-success{color:var(--ok)}
@media(max-width:900px){.admin-account-copy{display:none}.admin-account{padding-left:6px;gap:5px}.admin-logout{padding:0 8px}}
@media(max-width:650px){.admin-security-fields{grid-template-columns:1fr}.admin-security-wide{grid-column:auto}.admin-security-card{padding:14px}.admin-account{border-left:0}.admin-logout{font-size:9px;padding:0 7px}}
