:root {
  --auth-bg: #000000;
  --auth-card-bg: #ffffff;
  --auth-border: #d8e2ef;
  --auth-text: #10223a;
  --auth-muted: #576a83;
  --auth-primary: #1d5f8f;
  --auth-primary-hover: #174e75;
  --auth-secondary-bg: #f5f9ff;
  --auth-secondary-border: #c5d7ea;
  --auth-danger: #bf1f3d;
  --auth-success: #117a37;
}

* {
  box-sizing: border-box;
}

body.auth-body {
  margin: 0;
  background: var(--auth-bg);
  color: var(--auth-text);
  font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

body.auth-body section,
body.auth-body .ts-block {
  background: transparent !important;
  background-color: transparent !important;
}

.auth-main {
  min-height: 100vh;
  padding: 132px 16px 64px;
}

.auth-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.auth-card {
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  background: var(--auth-card-bg);
  box-shadow: 0 20px 60px rgba(13, 45, 74, 0.11);
  padding: 28px 24px;
}

.auth-card h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.22;
  color: var(--auth-text) !important;
  -webkit-text-fill-color: var(--auth-text) !important;
}

.auth-subtitle {
  margin: 12px 0 0;
  color: var(--auth-muted) !important;
  -webkit-text-fill-color: var(--auth-muted) !important;
  font-size: 15px;
  line-height: 1.7;
}

.auth-form {
  margin-top: 22px;
}

.auth-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--auth-text) !important;
  -webkit-text-fill-color: var(--auth-text) !important;
}

.auth-form input,
.auth-form select {
  width: 100%;
  margin-top: 6px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--auth-border);
  padding: 0 12px;
  font-size: 15px;
  color: var(--auth-text) !important;
  background: #ffffff !important;
}

.auth-form select option {
  color: var(--auth-text) !important;
  -webkit-text-fill-color: var(--auth-text) !important;
  background: #ffffff !important;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: 2px solid rgba(29, 95, 143, 0.25);
  border-color: var(--auth-primary);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  background: transparent !important;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 116px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.auth-btn-primary {
  color: #fff;
  background: var(--auth-primary);
}

.auth-btn-primary:hover,
.auth-btn-primary:focus-visible {
  background: var(--auth-primary-hover);
}

.auth-btn-secondary {
  color: var(--auth-text) !important;
  background: var(--auth-secondary-bg);
  border-color: var(--auth-secondary-border);
}

.auth-btn-secondary:hover,
.auth-btn-secondary:focus-visible {
  background: #e8f2ff;
}

.auth-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-link-row {
  margin-top: 14px;
  font-size: 14px;
  color: var(--auth-muted) !important;
  -webkit-text-fill-color: var(--auth-muted) !important;
}

.auth-link-row a {
  color: var(--auth-primary) !important;
  -webkit-text-fill-color: var(--auth-primary) !important;
  font-weight: 700;
  text-decoration: none;
}

.auth-link-row a:hover,
.auth-link-row a:focus-visible {
  text-decoration: underline;
}

.auth-message {
  min-height: 22px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--auth-muted) !important;
  -webkit-text-fill-color: var(--auth-muted) !important;
}

.auth-message.is-error {
  color: var(--auth-danger) !important;
  -webkit-text-fill-color: var(--auth-danger) !important;
  font-weight: 700;
}

.auth-message.is-success {
  color: var(--auth-success) !important;
  -webkit-text-fill-color: var(--auth-success) !important;
  font-weight: 700;
}

.auth-steps {
  display: flex;
  gap: 8px;
  margin: 18px 0 8px;
}

.auth-step-chip {
  min-width: 34px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--auth-secondary-border);
  background: var(--auth-secondary-bg);
  color: var(--auth-muted) !important;
  -webkit-text-fill-color: var(--auth-muted) !important;
  opacity: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.auth-step-chip.is-active {
  background: var(--auth-primary);
  border-color: var(--auth-primary);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.auth-step {
  display: none;
  margin-top: 14px;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.auth-step.is-active {
  display: block;
}

.auth-check-list {
  margin-top: 12px;
  border: 1px solid var(--auth-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff !important;
}

.auth-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid #edf2f8;
  background: #fff !important;
  margin: 0 !important;
}

.auth-check-item:last-child {
  border-bottom: 0;
}

.auth-check-item--with-detail {
  justify-content: space-between;
}

.auth-check-main {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex: 1;
  cursor: pointer;
}

.auth-detail-toggle {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #aeb8c5;
  font-size: 28px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

.auth-detail-toggle:hover,
.auth-detail-toggle:focus-visible {
  color: #7b889a;
  outline: none;
}

.auth-detail-toggle.is-open {
  transform: rotate(90deg);
}

.auth-detail-panel {
  padding: 12px 16px 14px 50px;
  border-bottom: 1px solid #edf2f8;
  background: #f8fbff !important;
  color: #42556f !important;
}

.auth-detail-panel p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #42556f !important;
}

.auth-detail-panel ul {
  margin: 0;
  padding-left: 18px;
}

.auth-detail-panel li {
  font-size: 13px;
  line-height: 1.5;
  color: #42556f !important;
}

.auth-check-list > .auth-detail-panel:last-child {
  border-bottom: 0;
}

.auth-check-item input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.auth-check-item strong {
  font-size: 14px;
  color: var(--auth-text) !important;
  -webkit-text-fill-color: var(--auth-text) !important;
}

.auth-check-item span {
  font-size: 14px;
  color: var(--auth-text) !important;
  -webkit-text-fill-color: var(--auth-text) !important;
}

.auth-inline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
  align-items: center;
}

.auth-inline-row--button-left {
  grid-template-columns: auto 1fr;
  margin-bottom: 12px;
}

.auth-inline-row--button-left .auth-btn {
  min-width: 136px;
}

.auth-inline-row--button-left input {
  min-width: 0;
}

.auth-inline-row input {
  margin-top: 0 !important;
}

.auth-inline-row .auth-btn {
  min-height: 44px;
  height: auto;
  margin-top: 0 !important;
}

.auth-birthdate-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.auth-birthdate-row select {
  margin-top: 0 !important;
}

.auth-field-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #5f7590 !important;
  -webkit-text-fill-color: #5f7590 !important;
}

.auth-complete {
  border: 1px solid #cce8d6;
  border-radius: 12px;
  background: #f0fcf4;
  color: #0a5a2a !important;
  -webkit-text-fill-color: #0a5a2a !important;
  padding: 14px;
  margin-top: 10px;
  line-height: 1.6;
  font-weight: 700;
}

.auth-complete * {
  color: #0a5a2a !important;
  -webkit-text-fill-color: #0a5a2a !important;
  opacity: 1 !important;
}

.auth-card p,
.auth-card div,
.auth-card span,
.auth-card li,
.auth-card label {
  color: inherit;
}

.auth-shell.auth-shell-subscription {
  max-width: 680px;
}

.auth-subscription-plan {
  margin-top: 18px;
  border: 1px solid #d4e2f1;
  border-radius: 14px;
  background: #f8fbff;
  padding: 16px;
  color: #123053 !important;
  -webkit-text-fill-color: #123053 !important;
}

.auth-subscription-price-note {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #486383 !important;
  -webkit-text-fill-color: #486383 !important;
}

.auth-subscription-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-subscription-option {
  margin: 0;
  border: 1px solid #cddff2;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.auth-subscription-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-subscription-option.is-selected {
  border-color: #2a6da1;
  background: #eff7ff;
  box-shadow: inset 0 0 0 1px rgba(42, 109, 161, 0.18);
}

.auth-subscription-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-subscription-option-head strong {
  font-size: 17px;
  font-weight: 800;
  color: #163656 !important;
  -webkit-text-fill-color: #163656 !important;
}

.auth-subscription-option-head span {
  font-size: 15px;
  font-weight: 700;
  color: #1a5a8f !important;
  -webkit-text-fill-color: #1a5a8f !important;
}

.auth-subscription-option-meta {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4f6b89 !important;
  -webkit-text-fill-color: #4f6b89 !important;
}

.auth-subscription-price {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #123053 !important;
  -webkit-text-fill-color: #123053 !important;
}

.auth-subscription-price small {
  font-size: 14px;
  font-weight: 600;
  color: #486383 !important;
  -webkit-text-fill-color: #486383 !important;
}

.auth-subscription-benefits {
  margin: 12px 0 0;
  padding-left: 18px;
}

.auth-subscription-benefits li {
  margin: 0 0 7px;
  line-height: 1.5;
  color: #264261 !important;
  -webkit-text-fill-color: #264261 !important;
}

.auth-subscription-status {
  margin-top: 14px;
  border: 1px solid #d4e2f1;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-subscription-status h2 {
  margin: 0 0 10px;
  font-size: 17px;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-subscription-status-grid {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 8px 10px;
  margin: 0;
}

.auth-subscription-status-grid dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #54708f !important;
  -webkit-text-fill-color: #54708f !important;
}

.auth-subscription-status-grid dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-subscription-highlight {
  font-weight: 800;
  color: #0f4f82 !important;
  -webkit-text-fill-color: #0f4f82 !important;
}

.auth-subscription-row {
  margin-top: 14px;
}

.auth-profile-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #dce8f5;
}

.auth-device-panel {
  margin-top: 12px;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  background: #f7fbff;
  padding: 12px;
}

.auth-device-panel h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-device-grid {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 7px 10px;
  margin: 0;
}

.auth-device-grid dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #54708f !important;
  -webkit-text-fill-color: #54708f !important;
}

.auth-device-grid dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-device-list-title {
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: #385572 !important;
  -webkit-text-fill-color: #385572 !important;
}

.auth-device-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  max-height: 128px;
  overflow: auto;
}

.auth-device-list li {
  border: 1px solid #d4e2f1;
  border-radius: 8px;
  background: #fff;
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-device-list li.is-active {
  border-color: #1f6698;
  box-shadow: inset 0 0 0 1px rgba(31, 102, 152, 0.16);
}

.auth-device-list li.is-empty {
  text-align: center;
  color: #54708f !important;
  -webkit-text-fill-color: #54708f !important;
}

.auth-device-item-title {
  font-weight: 700;
}

.auth-device-item-badge {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #e8f3ff;
  color: #1e4f7a !important;
  -webkit-text-fill-color: #1e4f7a !important;
}

.auth-device-item-meta {
  margin-top: 4px;
  font-size: 11px;
  color: #5f738b !important;
  -webkit-text-fill-color: #5f738b !important;
}

.auth-device-note {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #54708f !important;
  -webkit-text-fill-color: #54708f !important;
}

.auth-preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.auth-preference-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-preference-check input {
  width: 18px;
  height: 18px;
  accent-color: #1f6698;
}

.auth-danger-zone {
  margin-top: 14px;
  border: 1px solid #f0c4cc;
  border-radius: 12px;
  background: #fff7f8;
  padding: 12px;
}

.auth-danger-zone h3 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 900;
  color: #8a1b2f !important;
  -webkit-text-fill-color: #8a1b2f !important;
}

.auth-danger-zone p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.55;
  color: #6f3340 !important;
  -webkit-text-fill-color: #6f3340 !important;
}

.auth-btn-danger {
  border-color: #bf1f3d !important;
  background: #bf1f3d !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.auth-btn-danger:hover,
.auth-btn-danger:focus-visible {
  border-color: #92162d !important;
  background: #92162d !important;
}

.auth-subscription-complete-detail {
  margin-top: 6px;
  font-size: 14px;
  color: #0a5a2a !important;
  -webkit-text-fill-color: #0a5a2a !important;
}

.auth-point-help {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dce8f4;
  border-radius: 12px;
  background: #f8fbff;
  color: #456281 !important;
  -webkit-text-fill-color: #456281 !important;
  font-size: 14px;
  line-height: 1.6;
}

.auth-point-plan-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-point-plan-card {
  border: 1px solid #d4e2f1;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.auth-point-custom-card {
  grid-column: 1 / -1;
}

.auth-point-plan-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #143654 !important;
  -webkit-text-fill-color: #143654 !important;
}

.auth-point-plan-meta {
  margin-top: 6px;
  font-size: 14px;
  color: #597495 !important;
  -webkit-text-fill-color: #597495 !important;
}

.auth-point-plan-price {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-point-plan-price strong {
  color: #0e4f83 !important;
  -webkit-text-fill-color: #0e4f83 !important;
  font-size: 21px;
}

.auth-point-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8f3ff;
  border: 1px solid #bdd5f0;
  color: #1a5f96 !important;
  -webkit-text-fill-color: #1a5f96 !important;
  font-size: 12px;
  font-weight: 700;
}

.auth-point-custom-input-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.auth-point-custom-input-row label {
  margin: 0;
  color: #456281 !important;
  -webkit-text-fill-color: #456281 !important;
  font-size: 14px;
  font-weight: 700;
}

.auth-point-custom-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd9e7;
  border-radius: 10px;
  padding: 0 12px;
  background: #f8fbff;
  color: #143654 !important;
  -webkit-text-fill-color: #143654 !important;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.auth-point-custom-input:focus {
  outline: 2px solid rgba(25, 118, 210, 0.2);
  border-color: #4f93cf;
  background: #fff;
}

.auth-point-custom-summary {
  margin: 8px 0 0;
  color: #597495 !important;
  -webkit-text-fill-color: #597495 !important;
  font-size: 13px;
  line-height: 1.5;
}

.auth-point-plan-card .auth-btn {
  width: 100%;
  margin-top: 12px;
}

.auth-point-history-wrap {
  margin-top: 14px;
  border: 1px solid #d4e2f1;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.auth-point-history-table {
  width: 100%;
  border-collapse: collapse;
}

.auth-point-history-table th,
.auth-point-history-table td {
  border-bottom: 1px solid #e8eff7;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.auth-point-history-table th {
  background: #f8fbff;
  color: #4d6685 !important;
  -webkit-text-fill-color: #4d6685 !important;
  font-weight: 700;
}

.auth-point-history-table td {
  color: #18334f !important;
  -webkit-text-fill-color: #18334f !important;
}

.auth-point-history-table tbody tr:last-child td {
  border-bottom: 0;
}

.auth-point-history-table .is-empty {
  text-align: center;
  color: #7089a6 !important;
  -webkit-text-fill-color: #7089a6 !important;
  padding: 26px 14px;
}

.auth-point-history-status {
  font-weight: 700;
  color: #0f4f82 !important;
  -webkit-text-fill-color: #0f4f82 !important;
}

.auth-shell.auth-shell-inquiry {
  max-width: 1120px;
}

.auth-inquiry-summary {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.auth-inquiry-summary-card {
  border: 1px solid #d7e3f0;
  border-radius: 12px;
  background: #f8fbff;
  padding: 12px;
}

.auth-inquiry-summary-card h3 {
  margin: 0;
  font-size: 14px;
  color: #4f6b89 !important;
  -webkit-text-fill-color: #4f6b89 !important;
}

.auth-inquiry-summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  color: #153b5d !important;
  -webkit-text-fill-color: #153b5d !important;
}

.auth-inquiry-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.auth-inquiry-box {
  border: 1px solid #d7e3f0;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.auth-inquiry-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.auth-inquiry-box-head h2 {
  margin: 0;
  font-size: 19px;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-inquiry-create-box .auth-form {
  margin-top: 0;
}

#inquiry-draft-clear {
  margin-left: auto;
}

.auth-inquiry-textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--auth-text);
  background: #fff;
  resize: vertical;
  min-height: 180px;
  line-height: 1.55;
}

.auth-inquiry-textarea:focus {
  outline: 2px solid rgba(29, 95, 143, 0.25);
  border-color: var(--auth-primary);
}

.auth-inquiry-counter {
  margin-top: 8px;
  font-size: 12px;
  color: #617a95 !important;
  -webkit-text-fill-color: #617a95 !important;
}

.auth-inquiry-attachment-field {
  margin-top: 12px;
}

.auth-inquiry-attachment-note {
  margin-top: -4px;
  font-size: 12px;
  color: #617a95 !important;
  -webkit-text-fill-color: #617a95 !important;
}

.auth-inquiry-attachment-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}

.auth-inquiry-attachment-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #d9e5f2;
  border-radius: 8px;
  background: #f8fbff;
  padding: 8px 10px;
  font-size: 13px;
  color: #1c3855 !important;
  -webkit-text-fill-color: #1c3855 !important;
}

.auth-inquiry-attachment-list a {
  color: #1e5f8f !important;
  -webkit-text-fill-color: #1e5f8f !important;
  font-weight: 700;
}

.auth-inquiry-filter {
  display: grid;
  grid-template-columns: 160px 170px minmax(0, 1fr) 96px;
  gap: 8px;
  align-items: end;
}

.auth-inquiry-filter label {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1f3550 !important;
  -webkit-text-fill-color: #1f3550 !important;
}

.auth-inquiry-filter input,
.auth-inquiry-filter select {
  width: 100%;
  height: 40px;
  border: 1px solid #c7d7e7;
  border-radius: 8px;
  background: #fff;
  color: #1f3550;
  padding: 0 10px;
  font-size: 14px;
}

.auth-inquiry-filter input:focus,
.auth-inquiry-filter select:focus {
  outline: 2px solid rgba(27, 73, 101, 0.2);
  border-color: #2b5f85;
}

.auth-inquiry-filter .auth-btn {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.auth-inquiry-table-wrap {
  margin-top: 10px;
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  background: #fff;
  overflow: auto;
  max-height: 440px;
}

.auth-inquiry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.auth-inquiry-table th,
.auth-inquiry-table td {
  border-bottom: 1px solid #e8eef5;
  padding: 9px 8px;
  text-align: left;
  vertical-align: top;
}

.auth-inquiry-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fbff;
  color: #4b6685 !important;
  -webkit-text-fill-color: #4b6685 !important;
}

.auth-inquiry-table tr.is-selected td {
  background: #f2f8ff;
}

.auth-inquiry-table td.is-empty {
  text-align: center;
  color: #6e87a3 !important;
  -webkit-text-fill-color: #6e87a3 !important;
  padding: 24px 10px;
}

.auth-inquiry-title-btn {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: #1b5f93 !important;
  -webkit-text-fill-color: #1b5f93 !important;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.auth-inquiry-title-btn:hover,
.auth-inquiry-title-btn:focus-visible {
  text-decoration: underline;
  outline: none;
}

.auth-inquiry-answer-state {
  font-weight: 700;
  color: #5b6f87 !important;
  -webkit-text-fill-color: #5b6f87 !important;
}

.auth-inquiry-answer-state.is-ready {
  color: #1a5e8f !important;
  -webkit-text-fill-color: #1a5e8f !important;
}

.auth-inquiry-answer-state.is-unread {
  color: #176b3b !important;
  -webkit-text-fill-color: #176b3b !important;
}

.auth-inquiry-detail {
  margin-top: 14px;
  border: 1px solid #d7e3f0;
  border-radius: 14px;
  background: #f9fcff;
  padding: 14px;
}

.auth-inquiry-detail-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 10px;
}

.auth-inquiry-detail-grid dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #4f6b89 !important;
  -webkit-text-fill-color: #4f6b89 !important;
}

.auth-inquiry-detail-grid dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #193350 !important;
  -webkit-text-fill-color: #193350 !important;
}

.auth-inquiry-pre {
  white-space: pre-wrap;
}

.auth-inquiry-answer {
  margin-top: 12px;
  border-top: 1px dashed #c8d8ea;
  padding-top: 12px;
}

.auth-inquiry-answer h3 {
  margin: 0;
  font-size: 18px;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-inquiry-answer-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #5b7692 !important;
  -webkit-text-fill-color: #5b7692 !important;
}

.auth-inquiry-answer-subject {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #17324e !important;
  -webkit-text-fill-color: #17324e !important;
}

.auth-inquiry-answer-body {
  margin-top: 8px;
  border: 1px solid #d5e2f0;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #1e3753 !important;
  -webkit-text-fill-color: #1e3753 !important;
  white-space: pre-wrap;
}

.auth-inquiry-answer-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .auth-main {
    padding-top: 112px;
  }

  .auth-card {
    border-radius: 14px;
    padding: 22px 16px;
  }

  .auth-card h1 {
    font-size: 25px;
  }

  .auth-inline-row {
    grid-template-columns: 1fr;
  }

  .auth-birthdate-row {
    grid-template-columns: 1fr;
  }

  .auth-btn {
    width: 100%;
  }

  .auth-subscription-status-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .auth-preference-row {
    grid-template-columns: 1fr;
  }

  .auth-device-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .auth-subscription-option-list {
    grid-template-columns: 1fr;
  }

  .auth-point-plan-list {
    grid-template-columns: 1fr;
  }

  .auth-point-history-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .auth-inquiry-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-inquiry-layout {
    grid-template-columns: 1fr;
  }

  .auth-inquiry-filter {
    grid-template-columns: 1fr;
  }

  .auth-inquiry-filter .auth-btn {
    width: 100%;
  }

  .auth-inquiry-detail-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
