:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #16344a;
  background: #f4f7f9;
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1000px; margin: auto; padding: 32px 24px 64px; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 72px;
}
.brand {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -1px;
  color: #075777;
  text-decoration: none;
}
.brand span { display: block; font-size: 10px; letter-spacing: 2px; color: #57717f; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: #527485; }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -1.5px; margin: 14px 0; }
h2 { font-size: 23px; margin-top: 0; }
.intro { line-height: 1.7; color: #526a78; max-width: 720px; }
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card, .login {
  padding: 28px;
  background: #fff;
  border: 1px solid #dce6ec;
  border-radius: 18px;
  box-shadow: 0 8px 30px #19354505;
}
.login { margin-top: 32px; max-width: 480px; }
.tag {
  display: inline-block;
  border-radius: 6px;
  background: #edf4f7;
  font-size: 12px;
  padding: 6px 9px;
  font-weight: 650;
}
.muted, .meta { color: #607682; font-size: 13px; line-height: 1.6; }
.meta { overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
button {
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  border-radius: 9px;
  padding: 12px 18px;
  border: 1px solid #075777;
  background: #075777;
  color: white;
  cursor: pointer;
  min-height: 44px;
}
button:hover:not(:disabled) { background: #06465f; }
button.secondary { background: white; color: #075777; border-color: #bfced6; }
button.secondary:hover:not(:disabled) { background: #edf4f7; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, a:focus-visible { outline: 3px solid #8ecbd6; outline-offset: 4px; }
#notice {
  line-height: 1.6;
  border-left: 3px solid #88b6c6;
  padding-left: 14px;
  font-size: 14px;
  min-height: 24px;
}
#identity { font-size: 14px; color: #426474; }
footer {
  margin-top: 44px;
  border-top: 1px solid #dce6ec;
  padding-top: 24px;
  font-size: 13px;
  color: #607682;
  line-height: 1.8;
}
.presentation-dialog {
  width: min(960px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  border: 1px solid #dce6ec;
  border-radius: 20px;
  padding: 28px;
  color: #16344a;
  background: #fff;
  overscroll-behavior: contain;
  box-shadow: 0 24px 90px #16344a40;
}
.presentation-dialog::backdrop { background: #0b2338b0; }
.presentation-heading { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; }
.presentation-heading h2 { margin: 0; }
.presentation-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; gap: 8px; margin: 24px 0; }
.presentation-steps li { border-radius: 9px; background: #f1f5f7; padding: 12px; font-size: 12px; color: #607682; }
.presentation-steps li span { display: block; font-weight: 750; font-size: 18px; margin-bottom: 6px; }
.presentation-steps li[aria-current="step"] { background: #dceff4; color: #075777; font-weight: 700; }
.presentation-body { margin: 0; padding: 0; border: 0; min-width: 0; }
.presentation-body h3 { margin: 28px 0 10px; font-size: 21px; }
.presentation-body h4 { margin: 24px 0 10px; font-size: 17px; }
.presentation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.presentation-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; margin: 10px 0; min-width: 0; }
.presentation-field > span { font-weight: 650; }
.presentation-field input, .presentation-field select { font: inherit; font-size: 16px; width: 100%; min-height: 44px; border: 1px solid #b7cbd5; border-radius: 8px; padding: 10px 12px; color: #16344a; background: #fff; }
.presentation-field input:focus-visible, .presentation-field select:focus-visible, .presentation-dialog summary:focus-visible { outline: 3px solid #8ecbd6; outline-offset: 3px; }
.presentation-field [aria-invalid="true"] { border-color: #a5212b; }
.presentation-field small { color: #607682; font-size: 12px; line-height: 1.5; }
.presentation-field small:empty { display: none; }
.presentation-row { border: 1px solid #dce6ec; border-radius: 12px; background: #fafcfd; padding: 16px; margin: 14px 0; }
.presentation-dialog details { border-top: 1px solid #dce6ec; padding: 14px 0; margin-top: 14px; }
.presentation-dialog summary { cursor: pointer; font-size: 14px; font-weight: 650; padding: 4px 0; }
.presentation-callout { border-left: 3px solid #88b6c6; border-radius: 4px; padding: 12px 16px; background: #f0f7f9; font-size: 14px; line-height: 1.7; }
.presentation-error, .presentation-field .presentation-error { color: #a5212b; line-height: 1.6; }
.presentation-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.presentation-preview div { background: #f0f7f9; border-radius: 12px; padding: 16px; }
.presentation-preview dt { font-size: 13px; color: #526a78; }
.presentation-preview dd { font-size: 23px; font-weight: 700; margin: 8px 0 0; overflow-wrap: anywhere; }
.presentation-fashion { margin-top: 28px; border-top: 2px solid #88b6c6; }
.presentation-footer { border-top: 1px solid #dce6ec; padding-top: 20px; margin-top: 28px; }
.presentation-footer .actions { justify-content: flex-end; }
@media (max-width: 600px) {
  .presentation-dialog { padding: 18px; width: calc(100% - 16px); max-height: calc(100svh - 16px); border-radius: 14px; }
  .presentation-heading h2 { font-size: 22px; }
  .presentation-grid, .presentation-preview { grid-template-columns: 1fr; }
  .presentation-steps li { font-size: 10px; padding: 8px; }
  .presentation-heading { gap: 12px; }
}
[hidden] { display: none !important; }
@media (max-width: 540px) {
  main { padding: 24px 18px 40px; }
  header { margin-bottom: 46px; }
  .card, .login { padding: 22px; }
  .actions { flex-direction: column; }
  .actions button { width: 100%; }
}
