.ut {
  --ut-green: #1d6f42;          
  --ut-head: #eef2ef;           
  --ut-grid: #d9dfdb;           
  --ut-pick: #e6f4ec;           
  --ut-ink-green: #155232;
  max-width: 1080px; margin: 0 auto; padding: 10px 16px 28px; display: grid; gap: 14px;
}
:root[data-theme="dark"] .ut { --ut-head: #1c2622; --ut-grid: #2c3833; --ut-pick: #173527; --ut-ink-green: #8fd9ad; }
.ut-fx { display: flex; align-items: stretch; height: 30px; border: 1px solid var(--ut-grid); border-radius: 6px; background: var(--surface); overflow: hidden; font-size: var(--fs-sm); }
.ut-ref { flex: none; width: 56px; display: grid; place-items: center; border-right: 1px solid var(--ut-grid); font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-2); background: var(--ut-head); }
.ut-fxl { flex: none; display: grid; place-items: center; padding: 0 10px; border-right: 1px solid var(--ut-grid); font-style: italic; font-family: Georgia, "Times New Roman", serif; color: var(--ink-3); }
.ut-fxv { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 10px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ut-head h1 { margin: 0; font-size: var(--fs-xl); letter-spacing: -.02em; }
.ut-head p { margin: 4px 0 0; color: var(--ink-2); font-size: var(--fs-sm); max-width: 62ch; }
.ut-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.ut-main, .ut-side { display: grid; gap: 14px; min-width: 0; }
.ut-main > *, .ut-side > * { min-width: 0; }
.ut td, .ut th { white-space: normal; }   
.ut-sec { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--ut-grid); border-radius: 8px; background: var(--surface); }
.ut-sec h2, .ut-sum h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-md); }
.ut-no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: var(--ut-green); color: #fff; font-size: 11px; font-weight: 700; font-family: var(--mono); }
.ut-hint { margin: -4px 0 0; color: var(--ink-3); font-size: var(--fs-xs); }
.ut-sheetwrap { overflow-x: auto; border: 1px solid var(--ut-grid); border-radius: 6px; }
.ut-sheet { width: 100%; min-width: 0; border-collapse: collapse; font-size: var(--fs-sm); }   
.ut-sheet th, .ut-sheet td { border-right: 1px solid var(--ut-grid); border-bottom: 1px solid var(--ut-grid); padding: 0; text-align: left; vertical-align: middle; }
.ut-sheet tr > :last-child { border-right: 0; }
.ut-sheet tbody tr:last-child > * { border-bottom: 0; }
.ut-letters th { height: 22px; background: var(--ut-head); color: var(--ink-3); font-weight: 400; font-size: 11px; text-align: center; }
.ut-hd th { height: 30px; padding: 0 10px; background: var(--ut-head); color: var(--ink-2); font-weight: 600; font-size: var(--fs-xs); }
.ut-hd th:nth-child(n+3) { text-align: right; }
.ut-rn { width: 34px; background: var(--ut-head); color: var(--ink-3); font-weight: 400 !important; font-size: 11px; text-align: center !important; font-variant-numeric: tabular-nums; }
.ut-name { padding: 10px 12px !important; }
.ut-name b { display: block; font-size: var(--fs-md); }
.ut-name small { color: var(--ink-3); font-size: var(--fs-xs); }
.ut-pc { width: 30%; }
.ut-na { display: block; padding: 0 12px; text-align: right; color: var(--ink-3); }
.ut-cell { position: relative; display: grid; justify-items: end; gap: 1px; padding: 10px 12px; cursor: pointer; text-align: right; }
.ut-cell input { position: absolute; opacity: 0; pointer-events: none; }
.ut-cell b { font-size: var(--fs-md); color: var(--ink); }
.ut-cell small { color: var(--ink-3); font-size: var(--fs-xs); }
.ut-cell small em { font-style: normal; color: var(--ut-ink-green); font-weight: 700; }
.ut-cell:hover { background: color-mix(in srgb, var(--ut-pick) 60%, transparent); }
.ut-cell.on { background: var(--ut-pick); box-shadow: inset 0 0 0 2px var(--ut-green); }
.ut-cell.on::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 6px; height: 6px; background: var(--ut-green); border: 1px solid var(--surface); }   
.ut-cell:has(input:focus-visible) { outline: 2px solid var(--focus, var(--ut-green)); outline-offset: -4px; }
.ut-paym { display: flex; flex-wrap: wrap; gap: 6px; }
.ut .ut-paym label { position: relative; display: inline-flex; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; min-height: 0; border-radius: 0; }   
.ut .ut-paym label[hidden] { display: none; }
.ut-paym input, .ut-docs input { position: absolute; opacity: 0; pointer-events: none; }
.ut-paym span, .ut-docs span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink-2); font-size: var(--fs-sm); cursor: pointer; }
.ut-docs span { height: 30px; padding: 0 11px; font-size: var(--fs-xs); }
.ut-paym input:checked + span, .ut-docs input:checked + span { border-color: var(--ut-green); background: var(--ut-pick); color: var(--ut-ink-green); font-weight: 700; box-shadow: inset 0 0 0 1px var(--ut-green); }
.ut-paym input:focus-visible + span, .ut-docs input:focus-visible + span { outline: 2px solid var(--focus, var(--ut-green)); outline-offset: 2px; }
.ut-kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); border: 1px solid var(--ut-grid); border-radius: 6px; overflow: hidden; }
.ut-kv[hidden] { display: none; }
#bank-fields { display: grid; gap: 10px; }
#bank-fields[hidden] { display: none; }
.ut-k { display: flex; align-items: center; padding: 8px 10px; background: var(--ut-head); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; border-bottom: 1px solid var(--ut-grid); }
.ut-v { display: grid; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--ut-grid); min-width: 0; }
.ut-kv > :nth-last-child(-n+2) { border-bottom: 0; }
.ut-v input[type=text], .ut-v input[type=email] { width: 100%; height: 32px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); }
.ut-v small { color: var(--ink-3); font-size: var(--fs-xs); }
.ut-docs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ut-docs small { flex-basis: 100%; }
.ut-sum { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--ut-grid); border-radius: 8px; background: var(--surface); }
.ut-side { position: sticky; top: 10px; }
.ut-dl { margin: 0; display: grid; border: 1px solid var(--ut-grid); border-radius: 6px; overflow: hidden; }
.ut-dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); border-bottom: 1px solid var(--ut-grid); }
.ut-dl div:last-child { border-bottom: 0; }
.ut-dl dt { padding: 7px 9px; background: var(--ut-head); color: var(--ink-3); font-size: var(--fs-xs); }
.ut-dl dd { margin: 0; padding: 7px 9px; font-size: var(--fs-sm); color: var(--ink); overflow-wrap: anywhere; }
.ut-coupons { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.ut-coupons legend { padding: 0 0 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.ut-coupons label { display: flex; gap: 8px; align-items: baseline; font-size: var(--fs-sm); }
.ut-coupons small { color: var(--ink-3); }
.ut-total { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 12px; border-radius: 6px; background: var(--ut-pick); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ut-green) 35%, transparent); }
.ut-total span { color: var(--ut-ink-green); font-weight: 700; font-size: var(--fs-sm); }
.ut-total strong { font-size: var(--fs-xl); color: var(--ink); letter-spacing: -.02em; }
.ut-off { margin: -6px 0 0; text-align: right; color: var(--ink-3); font-size: var(--fs-xs); }
.ut-agree { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.55; }
.ut-agree input { margin-top: 3px; accent-color: var(--ut-green); }
.ut-go { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border: 0; border-radius: 8px; background: var(--ut-green); color: #fff; font: inherit; font-size: var(--fs-md); font-weight: 700; cursor: pointer; text-decoration: none; }
.ut-go:hover { filter: brightness(1.08); text-decoration: none; }
.ut-go:disabled { opacity: .6; cursor: wait; }
.ut-note { margin: 0; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.55; }
.ut-policy { padding: 10px 12px; border: 1px solid var(--ut-grid); border-radius: 8px; background: var(--surface); font-size: var(--fs-xs); color: var(--ink-2); }
.ut-policy summary { cursor: pointer; font-weight: 600; }
@media (max-width: 860px) {
  .ut-grid { grid-template-columns: 1fr; }
  .ut-side { position: static; }
}
.ut-mlab { display: none; }
@media (max-width: 560px) {   
  .ut-sheetwrap { overflow: visible; }
  .ut-sheet thead { display: none; }
  .ut-sheet, .ut-sheet tbody { display: block; width: 100%; }
  .ut-sheet tbody tr { display: grid; grid-template-columns: 30px 1fr 1fr; }
  .ut-sheet tbody td, .ut-sheet tbody th { display: block; }
  .ut-sheet tbody .ut-rn { grid-row: 1 / 3; display: grid; place-items: center; border-bottom: 0; }
  .ut-sheet tbody .ut-name { grid-column: 2 / 4; border-right: 0; }
  .ut-sheet tbody .ut-pc { width: auto; }
  .ut-sheet tbody tr:last-child .ut-name { border-bottom: 1px solid var(--ut-grid); }
  .ut-mlab { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); }
}
@media (max-width: 480px) {
  .ut { padding-inline: 12px; }
  .ut-kv { grid-template-columns: 96px minmax(0, 1fr); }
  .ut-cell b { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: reduce) { .ut * { transition: none !important; } }
.ut-terms { width: min(720px, calc(100vw - 24px)); height: min(80vh, 760px); padding: 0; border: 0; border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.ut-terms[open] { display: grid; grid-template-rows: auto 1fr; }
.ut-terms::backdrop { background: rgba(8, 20, 14, .45); }
.ut-terms-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--ut-grid, var(--line)); }
.ut-terms-x { width: 30px; height: 30px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); font-size: 16px; cursor: pointer; }
.ut-terms iframe { width: 100%; height: 100%; border: 0; }
