.nav-item[hidden], .permission-grid label[hidden] { display: none; }
.content .accounts-panel .data-table { min-width: 1420px; }
.content .accounts-panel .data-table th:nth-child(1) { width: 18%; }
.content .accounts-panel .data-table th:nth-child(2) { width: 12%; }
.content .accounts-panel .data-table th:nth-child(3) { width: 15%; }
.content .accounts-panel .data-table th:nth-child(4) { width: 16%; }
.content .accounts-panel .data-table th:nth-child(5) { width: 11%; }
.content .accounts-panel .data-table th:nth-child(6) { width: 16%; }
.content .accounts-panel .data-table th:nth-child(7) { width: 12%; }
.content .accounts-panel .data-table td { padding: 14px 10px; }
.content .activity-history-panel .data-table { min-width: 1180px; }
.content .activity-history-panel .data-table th:nth-child(1) { width: 150px; }
.content .activity-history-panel .data-table th:nth-child(2) { width: 150px; }
.content .activity-history-panel .data-table th:nth-child(4) { width: 110px; }
.content .activity-history-panel .data-table th:nth-child(5) { width: 150px; }
.content .activity-history-panel .data-table th:nth-child(8) { width: 280px; }
.content .activity-history-panel .data-table td { padding: 11px 10px; }
.account-status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.account-status .cc-toggle { flex: none; }
.account-caption { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.account-form { padding: 16px 20px 20px; }
.account-form .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-form label { font-size: 12px; }
.account-form input, .account-form select { min-width: 0; width: 100%; }
.account-project-select { display: grid; gap: 7px; font-weight: 700; }
.account-project-select select { min-height: 120px; }
.account-form-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; }
.account-form-status .cc-toggle input { width: 0; }
.account-permissions { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 10px 0 0; min-width: 0; }
.account-permissions legend { padding: 0 8px 0 0; font-weight: 700; font-size: 13px; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.permission-grid label { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 38px; border-bottom: 1px solid #edf1f3; }
.permission-grid input { width: 20px; height: 20px; flex: none; accent-color: var(--green); }
.telegram-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin: 4px 0 10px; align-items: end; }
.telegram-grid label { display: grid; gap: 7px; font-weight: 700; }
.telegram-grid .telegram-toggle { display: flex; align-items: center; gap: 10px; min-height: 42px; }
.telegram-grid input[type="checkbox"] { width: 20px; height: 20px; flex: none; accent-color: var(--green); }
.account-form .modal-actions { gap: 8px; margin-top: 14px; }
.account-error { color: var(--red); background: #fbeceb; padding: 10px; font-size: 12px; border-radius: 4px; }
.cc-toggle:focus-within .cc-slider { outline: 2px solid var(--blue); outline-offset: 3px; }
.cc-toggle input:disabled + .cc-slider { opacity: .55; cursor: not-allowed; }
.account-form input:disabled, .account-form select:disabled { color: var(--muted); background: #f3f6f8; }
.recovery-panel { margin-top: 18px; }
.recovery-panel .panel-head { padding-bottom: 12px; }
.recovery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 20px 16px; }
.recovery-grid .kpi { min-height: 92px; }
.recovery-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 20px 4px; }
.recovery-upload { cursor: pointer; }
.recovery-actions .status { margin-left: auto; }
.recovery-panel .login-note { padding: 0 20px 16px; }
@media (max-width: 600px) {
  .account-form { padding: 12px; }
  .account-form .detail-grid { grid-template-columns: 1fr; }
  .permission-grid { column-gap: 12px; }
  .telegram-grid { grid-template-columns: 1fr; }
  .account-form input:not([type="checkbox"]), .account-form select { font-size: 16px; }
  .recovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 12px; padding-right: 12px; }
  .recovery-actions { padding-left: 12px; padding-right: 12px; }
  .recovery-actions .button { width: 100%; justify-content: center; }
  .recovery-actions .status { margin-left: 0; }
  .recovery-panel .login-note { padding-left: 12px; padding-right: 12px; }
}

/* Phone verification (Free 2FA) & OTP styling */
.otp-card { max-width: 440px; margin: 0 auto; box-shadow: 0 12px 32px rgba(16, 42, 67, 0.12); }
.otp-card-body { padding: 18px 22px 22px; }
.otp-instructions { margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.otp-demo-badge { background: var(--green-soft); border: 1px solid #b6d7c7; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.otp-input-field { text-align: center; font-size: 24px !important; font-weight: 800 !important; letter-spacing: 6px !important; font-family: monospace, monospace !important; padding: 12px !important; border: 2px solid var(--blue) !important; border-radius: 8px !important; }
.otp-timer-row { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 12px; }
.otp-timer { font-size: 12px; font-weight: 700; color: var(--orange); }
.otp-action-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.phone-verification-toggle { padding: 10px 0; border-top: 1px solid #edf1f3; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

