/* =========================================================================
   case.css — warning / appeal / verify / submitted screens
   instagram-web visual language: white surfaces, #dbdbdb hairlines,
   12px radii, #0095f6 primary, #262626 text
   ========================================================================= */

@font-face {
  font-family: 'IG Wordmark';
  src: url('/assets/fonts/GrandHotel-latin.woff2') format('woff2');
  font-display: swap;
}

:root {
  --b: #dbdbdb;
  --t: #262626;
  --sub: #737373;
  --muted: #8e8e8e;
  --blue: #0095f6;
  --blue-d: #1877f2;
  --red: #ed4956;
  --green: #1a7f37;
  --green-bg: #eafaf0;
  --field: #fafafa;
  --bg: #fff;
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--t);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  line-height: 1.45;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a { color: #00376b; }

/* ------------------------------------------------------------------ top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid var(--b);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--t);
  min-width: 0;
}
.brand img.glyph { width: 26px; height: 26px; display: block; }
.brand .wordmark {
  width: 92px;
  height: 24px;
  background: url('/assets/wordmark.svg') no-repeat center / contain;
  flex: 0 0 auto;
}
.brand-pill {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--t);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0.2px;
  flex: 0 0 auto;
}
.topbar .secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--sub);
  white-space: nowrap;
}
.topbar .secure svg { width: 12px; height: 12px; }

/* --------------------------------------------------------------- containers */

.page {
  flex: 1 0 auto;
  width: 100%;
  padding: 28px 16px 56px;
}
.wrap { margin: 0 auto; width: 100%; max-width: 620px; }
.wrap--narrow { max-width: 480px; }

.card {
  background: #fff;
  border: 1px solid var(--b);
  border-radius: var(--radius);
  padding: 24px;
}
.card + .card { margin-top: 12px; }

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb .sep { opacity: 0.6; }
.crumb .now { color: var(--t); font-weight: 600; }

/* ---------------------------------------------------------------- typography */

h1 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.2px;
}
h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--sub); }
.small { font-size: 13px; line-height: 1.5; }
.tiny { font-size: 12px; line-height: 1.45; color: var(--muted); }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------- alert */

.alert-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.alert-ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alert-ico svg { width: 22px; height: 22px; color: var(--red); }

.alert-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff5f5;
  border: 1px solid #ffd9dc;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.alert-band .lab {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #b02030;
}
.countdown {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px;
  font-weight: 700;
  color: #b02030;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

/* key/value block */
.kv {
  border: 1px solid var(--b);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 16px;
}
.kv-row {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--b);
  background: #fff;
}
.kv-row:last-child { border-bottom: 0; }
.kv-row:nth-child(odd) { background: #fafafa; }
.kv-row dt {
  flex: 0 0 44%;
  max-width: 44%;
  color: var(--sub);
  margin: 0;
  font-size: 13px;
}
.kv-row dd { margin: 0; flex: 1 1 auto; word-break: break-word; font-weight: 500; }

/* consequences */
.cons {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.cons li {
  position: relative;
  padding: 0 0 9px 26px;
  font-size: 14px;
  color: var(--t);
}
.cons li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff1f2;
  box-shadow: inset 0 0 0 1px #ffc9ce;
}
.cons li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.callout {
  border-left: 3px solid var(--red);
  background: #fffafa;
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  margin: 0 0 18px;
}
.callout strong { color: #b02030; }
.callout--info {
  border-left-color: var(--blue);
  background: #f5fafd;
}
.callout--info strong { color: #0b5c96; }

/* ---------------------------------------------------------------- controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease-out, opacity 0.12s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--blue-d); }
.btn:active { background: #0068c9; }
.btn:disabled { background: var(--blue); opacity: 0.45; cursor: default; }
.btn--wide { width: 100%; }
.btn--ghost {
  background: #fff;
  color: var(--t);
  border: 1px solid var(--b);
  height: 40px;
  font-size: 14px;
}
.btn--ghost:hover { background: #fafafa; }
.btn--sm { height: 34px; font-size: 13px; border-radius: 8px; padding: 0 12px; }
.btn[data-busy='1'] { color: transparent; position: relative; }
.btn[data-busy='1']::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* form fields */
.field { margin-bottom: 14px; }
.field > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sub);
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}
.input, .select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--t);
  background: var(--field);
  border: 1px solid var(--b);
  border-radius: 10px;
  appearance: none;
  transition: border-color 0.12s ease-out, background 0.12s ease-out;
}
.input:focus, .select:focus {
  outline: none;
  border-color: #a8a8a8;
  background: #fff;
}
.input::placeholder { color: #a8a8a8; }
.input[aria-invalid='true'] { border-color: var(--red); background: #fffafa; }
.select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23737373' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }

.err {
  display: none;
  color: var(--red);
  font-size: 12.5px;
  margin: 6px 0 0;
}
.err.is-on { display: block; }

/* step meter */
.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
}
.steps .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
}
.steps .dot.done { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps .dot.now { border-color: var(--t); color: var(--t); }
.steps .bar { flex: 1 1 auto; height: 1px; background: var(--b); }

/* --------------------------------------------------------------- uploads */

.upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  border: 1.5px dashed #c8c8c8;
  border-radius: 12px;
  background: #fafafa;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  overflow: hidden;
}
.upload:hover { border-color: #a8a8a8; background: #f7f7f7; }
.upload.has-img { border-style: solid; border-color: var(--b); background: #000; padding: 0; }
.upload.has-img .upload-empty { display: none; }
.upload-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.upload-empty svg { width: 26px; height: 26px; color: #8e8e8e; }
.upload-empty .t1 { font-size: 14px; font-weight: 600; color: var(--t); }
.upload-empty .t2 { font-size: 12px; color: var(--muted); }
.upload img.preview {
  width: 100%;
  height: 100%;
  min-height: 132px;
  max-height: 220px;
  object-fit: cover;
  display: none;
}
.upload.has-img img.preview { display: block; }
.upload .retake {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  cursor: pointer;
  display: none;
}
.upload.has-img .retake { display: block; }
.upload input[type='file'] { display: none; }

.upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) { .upload-row { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- camera */

.cam {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #000;
  display: none;
  flex-direction: column;
}
.cam.open { display: flex; }
.cam-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}
.cam-close {
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.cam-stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cam-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.cam-stage video.mirror { transform: scaleX(-1); }
.cam-hint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 132px;
  z-index: 4;
  max-width: min(88vw, 420px);
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
}
.cam-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 18px 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.shutter {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25), 0 3px 12px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  position: relative;
}
.shutter:active { transform: scale(0.95); }
.shutter[data-busy='1'] { opacity: 0.5; }
.cam-swap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* face guide */
.face-guide {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -62%);
  width: min(62vw, 280px);
  aspect-ratio: 0.78;
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.9);
  pointer-events: none;
  display: none;
}
.face-guide.on { display: block; }
.face-guide::after {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00e0a1, transparent);
  box-shadow: 0 0 12px 2px rgba(0, 224, 161, 0.8);
  animation: scan 2.1s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes scan {
  0% { top: 4%; opacity: 0.2; }
  50% { opacity: 1; }
  100% { top: 94%; opacity: 0.2; }
}

/* face scan step panel */
.facebox {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--b);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
@media (max-width: 460px) { .facebox { grid-template-columns: 1fr; } }
.facethumb {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--b);
  position: relative;
}
.facethumb img { width: 100%; height: 100%; object-fit: cover; display: none; }
.facethumb.has-img img { display: block; }
.facethumb.has-img .ph { display: none; }
.facethumb .ph { font-size: 12px; color: var(--muted); text-align: center; padding: 10px; }
.facethumb .live {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 999px;
  display: none;
}
.facethumb.has-img .live { display: block; }

.dots { display: flex; gap: 6px; margin-top: 10px; }
.dots .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8d8d8;
}
.dots .d.on { background: var(--blue); }

/* ---------------------------------------------------------------- success */

.success {
  text-align: center;
  padding: 12px 4px 6px;
}
.check {
  width: 74px;
  height: 74px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
.check svg { width: 36px; height: 36px; color: var(--green); }
@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.receipt {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--b);
  border-radius: 10px;
  padding: 12px 22px;
  margin: 4px 0 18px;
  background: #fafafa;
}
.receipt .k { font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.receipt .v { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; font-weight: 700; letter-spacing: 0.5px; }

/* ---------------------------------------------------------------- footer */

.foot {
  flex: 0 0 auto;
  border-top: 1px solid var(--b);
  padding: 18px 16px 26px;
  font-size: 12px;
  color: var(--muted);
}
.foot .row {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ------------------------------------------------- account on the notice */

.card--who { padding: 18px 24px; }

.who-form {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--b);
  background: var(--field);
  border-radius: 10px;
  padding: 3px 4px 3px 12px;
  transition: border-color 0.12s ease-out, background 0.12s ease-out;
}
.who-form:focus-within { border-color: #a8a8a8; background: #fff; }
.who-form .at { color: var(--muted); font-size: 16px; }
.who-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--t);
  outline: none;
}
.who-form input::placeholder { color: #a8a8a8; }
.who-form .btn { flex: 0 0 auto; }

.who-row { display: flex; align-items: center; gap: 14px; }

.avatar {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #efefef;
  border: 1px solid var(--b);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.avatar span {
  font-size: 21px;
  font-weight: 700;
  color: #9a9a9a;
  text-transform: uppercase;
}
.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.avatar.has-img img { display: block; }
.avatar.has-img span { display: none; }
.avatar .badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  display: none;
}
.avatar.verified .badge { display: block; }

.who-name { font-size: 16px; font-weight: 700; line-height: 1.25; word-break: break-word; }
.who-meta { font-size: 13px; color: var(--sub); margin-top: 2px; }
.linkbtn {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--ig-link, #00376b);
  text-decoration: underline;
  cursor: pointer;
}

.notice-for {
  display: inline-block;
  margin: 10px 0 0;
  padding: 5px 10px;
  font-size: 13px;
  color: #b02030;
  background: #fff5f5;
  border: 1px solid #ffd9dc;
  border-radius: 8px;
}
.notice-for[hidden] { display: none; }
.notice-for strong { font-weight: 700; }

/* ------------------------------------------------------------------ misc */

.hr { height: 1px; background: var(--b); border: 0; margin: 18px 0; }
.center { text-align: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack-8 > * + * { margin-top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 520px) {
  .page { padding: 18px 12px 40px; }
  .card { padding: 18px; border-radius: 10px; }
  h1 { font-size: 19px; }
  .topbar { height: 56px; padding: 0 14px; }
  .brand .wordmark { width: 84px; height: 22px; }
  .topbar .secure span { display: none; }
  .kv-row { flex-direction: column; gap: 2px; }
  .kv-row dt { flex: none; max-width: 100%; }
  .countdown { font-size: 17px; }
  .btn { height: 46px; }
}

/* =========================================================================
   gate + document notice - flat support-page styling, hairline rules,
   no alarm colour blocks (that is what reads as fake)
   ========================================================================= */

.top-link { font-size: 14px; color: var(--t); text-decoration: none; white-space: nowrap; }
.top-link:hover { text-decoration: underline; }

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.gate { max-width: 430px; margin: 7vh auto 0; padding: 0 20px; animation: rise 0.4s ease-out both; }
.eyebrow { margin: 0 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.gate-h1 { margin: 0 0 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.45px; line-height: 1.2; }
.gate-lede { margin: 0 0 22px; font-size: 15px; line-height: 1.5; color: #737373; }
.gate-form .who-form { margin-bottom: 12px; }
.gate-note { margin: 20px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.gate-ref { margin: 28px 0 0; font-size: 12px; color: #c7c7c7; }

.wrap--doc { max-width: 660px; animation: rise 0.35s ease-out both; }
.doc-h1 { margin: 0 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.25; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 13px; color: var(--sub); }
.doc-meta .dot { color: #c7c7c7; }
.status { padding: 2px 9px; border: 1px solid #f0dfbc; border-radius: 999px; background: #fff8ea; color: #8a5a00; font-size: 11.5px; font-weight: 600; }
.doc-lede, .doc-body { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--t); }
.doc-h2 { margin: 24px 0 10px; font-size: 14px; font-weight: 600; }
.doc-small { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.doc-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

.acct { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 12px 14px; border: 1px solid var(--b); border-radius: 10px; }
.avatar--sm { width: 38px; height: 38px; }
.avatar--sm span { font-size: 15px; }
.acct-id { flex: 1 1 auto; min-width: 0; }
.acct-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.acct-change { font-size: 12.5px; color: #00376b; text-decoration: none; }
.acct-change:hover { text-decoration: underline; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--b); }
.content-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--b); }
.thumb { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg, #f4f4f4, #e8e8e8); }
.thumb::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(0,0,0,0.05); border-radius: 6px; }
.row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-main strong { font-size: 14px; font-weight: 600; }
.row-sub { font-size: 12.5px; color: var(--muted); }
.row-end { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.disclosure { margin: 18px 0 20px; border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); }
.disclosure summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 600; list-style: none; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: '+'; float: right; font-weight: 400; color: var(--muted); }
.disclosure[open] summary::after { content: '\2212'; }
.plain-list { margin: 0 0 14px; padding-left: 18px; font-size: 14px; line-height: 1.65; color: var(--t); }
.plain-list li { margin-bottom: 2px; }

@media (max-width: 520px) {
  .gate { margin-top: 4vh; }
  .gate-h1 { font-size: 22px; }
  .doc-h1 { font-size: 21px; }
  .row-end { display: none; }
  .btn { height: 46px; }
}
