[data-lang-copy="ko"] { display: none; }
html[lang="ko"] [data-lang-copy="en"] { display: none; }
html[lang="ko"] [data-lang-copy="ko"] { display: revert; }

.portal-page {
  min-height: 70vh;
  background: var(--fp-bg, #f5f5f7);
  color: var(--fp-ink, #111318);
}

.portal-hero,
.portal-shell {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.portal-hero {
  padding: 112px 0 54px;
}

.portal-hero h1 {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: clamp(46px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.058em;
  font-weight: 610;
}

.portal-hero > p:last-child {
  max-width: 660px;
  margin: 24px 0 0;
  color: #6a717b;
  font-size: 15px;
  line-height: 1.7;
}

.portal-shell {
  padding-bottom: 124px;
}

.portal-card {
  padding: 30px 0;
  border-top: 1px solid #cbd1d8;
}

.portal-card:last-child { border-bottom: 1px solid #cbd1d8; }
.portal-card[hidden] { display: none !important; }

.portal-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 580;
}

.portal-card > p,
.portal-note,
.portal-account-meta,
.portal-status-copy {
  max-width: 680px;
  margin: 12px 0 0;
  color: #6a717b;
  font-size: 13px;
  line-height: 1.7;
}

.portal-form {
  max-width: 640px;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.portal-field {
  display: grid;
  gap: 7px;
}

.portal-field label {
  font-size: 11px;
  font-weight: 620;
  color: #525962;
}

.portal-field input,
.portal-field select,
.portal-field textarea {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid #c7cdd4;
  border-radius: 0;
  background: #fff;
  color: #111318;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
}

.portal-field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.portal-field input:focus,
.portal-field select:focus,
.portal-field textarea:focus {
  outline: 2px solid rgba(29, 95, 190, .18);
  border-color: #1d5fbe;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.portal-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid #111318;
  background: #111318;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.portal-button.secondary {
  background: transparent;
  color: #111318;
  border-color: #c7cdd4;
}

.portal-button:disabled {
  opacity: .45;
  cursor: wait;
}

.portal-message {
  min-height: 18px;
  margin-top: 12px;
  color: #7c5b17;
  font-size: 12px;
  line-height: 1.5;
}

.portal-message.success { color: #356349; }
.portal-message.error { color: #a13b36; }

.portal-account-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.portal-account-email {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 580;
}

.portal-ticket-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d8dde2;
}

.portal-ticket-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #d8dde2;
}

.portal-ticket-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.portal-ticket-meta {
  margin-top: 5px;
  color: #747b85;
  font-size: 11px;
}

.portal-badge {
  align-self: start;
  border: 1px solid #cbd1d8;
  padding: 5px 8px;
  font-size: 10px;
  color: #5d646e;
}

.portal-status-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d8dde2;
}

.portal-status-cell {
  min-height: 96px;
  padding: 18px 22px 18px 0;
  border-bottom: 1px solid #d8dde2;
}

.portal-status-cell:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid #d8dde2;
}

.portal-status-label {
  color: #7a828d;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.portal-status-value {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 590;
}

.portal-sensitive-warning {
  margin-top: 22px;
  padding: 16px 0;
  border-top: 1px solid #d8dde2;
  border-bottom: 1px solid #d8dde2;
  color: #6f4e16;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .portal-hero,
  .portal-shell { width: calc(100% - 36px); }
  .portal-hero { padding-top: 84px; }
  .portal-account-row { align-items: flex-start; flex-direction: column; }
  .portal-status-grid { grid-template-columns: 1fr; }
  .portal-status-cell:nth-child(even) { padding-left: 0; border-left: 0; }
  .portal-ticket-item { grid-template-columns: 1fr; }
}
