@font-face {
  font-family: Plex;
  src: url(/fonts/plex.woff2) format('woff2');
  font-weight: 100 700;
  font-display: swap;
}
:root {
  --paper: #f4f4f1;
  --surface: #fafaf8;
  --ink: #14171c;
  --muted: #4b5662;
  --line: #c7cdcf;
  --blue: #1e3f66;
  --focus: #185c9b;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font:
    100%/1.55 Plex,
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0 auto;
  width: min(100% - 48px, 1160px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body > header,
body > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body > header {
  min-height: 74px;
  border-bottom: 1px solid var(--line);
}
body > footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
footer nav,
.related,
.hero-actions,
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
footer .studio {
  text-decoration: none;
}
main {
  flex: 1;
}
button,
select,
input {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
a {
  color: var(--blue);
  text-underline-offset: 0.23em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
legend {
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.8rem, 5vw, 4.45rem);
  letter-spacing: -0.055em;
  max-width: 13.3ch;
}
h2,
legend {
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}
p {
  max-width: 58ch;
}
button,
.primary,
.secondary,
.text-button {
  border: 0;
  cursor: pointer;
  min-height: 44px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 550;
}
.primary {
  background: var(--blue);
  color: white;
}
.primary:hover {
  background: #152f4d;
}
.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.text-button {
  padding: 0;
  background: none;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.23em;
}
.work {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  padding: clamp(28px, 4vw, 54px) 0;
}
#hero > p:not(.data-note) {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 39ch;
  margin: 1.35rem 0 1.65rem;
}
.hero-actions {
  gap: 1.4rem;
}
.hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.data-note {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 1rem 0;
}
.proof {
  min-width: 0;
}
.mount {
  display: grid;
  place-items: center;
  min-height: 240px;
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 4.1vw, 57px) clamp(14px, 3.7vw, 54px);
  background: linear-gradient(120deg, #dce3e4, #e6e8e6 60%, #ccd4d5);
  border: 1px solid #c6ced0;
}
#preview {
  display: block;
  width: auto;
  height: auto;
  max-inline-size: 100%;
  max-block-size: min(580px, 70vh);
  box-shadow:
    1px 2px 3px #16233135,
    6px 11px 18px #263e4933;
}
.proof figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.6rem 0;
}
#preview-error {
  padding: 1.25rem;
  color: #762b20;
  background: #fff;
  border-left: 3px solid #9d554b;
}
.on-phone {
  display: none;
}
.work.editing {
  align-items: start;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}
.editing .proof {
  position: sticky;
  top: 24px;
}
#inspector h1 {
  font-size: 2.4rem;
}
fieldset {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0 0;
  padding: 1.1rem 0 0.6rem;
  min-width: 0;
}
legend {
  padding: 0 0.65rem 0 0;
  font-size: 1.2rem;
}
label {
  display: grid;
  gap: 4px;
  font-size: 0.95rem;
  min-width: 0;
  margin-bottom: 0.75rem;
}
input:not([type='radio']):not([type='checkbox']),
select:not([data-language]) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #a2abb3;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}
input[type='radio'],
input[type='checkbox'] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mode,
.style-options {
  display: flex;
  gap: 0.4rem 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}
.mode label,
.toggle,
.style-options label {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  margin-bottom: 0;
  cursor: pointer;
}
.style-options {
  gap: 5px;
}
.style-options label {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 7px;
  font-size: 0.85rem;
}
.style-options input {
  position: absolute;
  opacity: 0;
}
.style-options label:has(:checked) {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.style-options label:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.swatch {
  width: 15px;
  height: 18px;
  border: 1px solid #8995a0;
  background: #102236;
}
.swatch.black {
  background: #161616;
}
.swatch.ink {
  background: white;
}
small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding: 0.7rem 0;
  font-weight: 500;
}
.control-group,
.faq details {
  border-top: 1px solid var(--line);
}
#file-actions,
#saved-controls,
#download-help {
  margin-top: 1rem;
}
#file-actions p,
#download-help p {
  margin-top: 0.6rem;
  color: var(--muted);
}
#file-actions h2 {
  font-size: 1.4rem;
  margin: 0.8rem 0;
}
#saved-controls {
  display: grid;
  justify-items: start;
}
#status:not(:empty) {
  background: #e6edf5;
  border-inline-start: 3px solid var(--blue);
  padding: 1rem;
  margin: 1rem 0;
  scroll-margin: 12px;
}
.sky-facts,
.how,
.frames,
.faq,
.related {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}
.sky-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 7vw, 7rem);
}
.sky-facts p,
.how ol,
.frames p,
.faq p {
  margin-top: 0.75rem;
  color: var(--muted);
}
.sky-facts span {
  display: block;
}
.sky-facts a,
.related a,
.frames a,
.info > a:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.how ol {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  list-style-position: inside;
  padding: 0;
  max-width: 100%;
}
.how li {
  max-width: 30ch;
}
.frames p:first-of-type {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.faq {
  max-width: 56rem;
}
.faq h2 {
  margin-bottom: 1rem;
}
.faq p {
  margin: 0 0 1rem;
}
.info {
  max-width: 46rem;
  margin: clamp(36px, 6vw, 82px) auto;
}
.info h1 {
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  max-width: 19ch;
  margin-bottom: 1.4rem;
}
.info h2 {
  margin-top: 1.6rem;
}
.info p,
.info details {
  margin: 1rem 0;
}
.info pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 0.88rem;
  max-width: 70ch;
}
.price-card {
  border-block: 1px solid var(--line);
  padding: 1rem 0 2rem;
}
.amount,
.dialog-price {
  font-size: 2.2rem;
  font-variant-numeric: tabular-nums;
}
dialog {
  color: var(--ink);
  width: min(440px, calc(100% - 32px));
  max-height: 86svh;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}
dialog::backdrop {
  background: #12243465;
}
dialog p {
  margin: 0.9rem 0;
}
@media (max-width: 720px) {
  body {
    width: calc(100% - 32px);
  }
  body > header {
    min-height: 58px;
  }
  .work,
  .work.editing {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 0;
  }
  h1 {
    font-size: clamp(2.6rem, 9.3vw, 3.6rem);
    max-width: 15ch;
  }
  #hero > p:not(.data-note) {
    font-size: 1rem;
    margin: 0.85rem 0 1rem;
  }
  .mount {
    padding: 24px 16px;
  }
  #preview {
    max-height: 460px;
  }
  .editing .proof {
    position: static;
  }
  .on-phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .sky-facts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .how ol {
    display: grid;
    gap: 0.5rem;
  }
  body > footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }
  footer nav {
    gap: 0.1rem 0.85rem;
  }
}
@media print {
  body * {
    display: none !important;
  }
}

@font-face{font-family:Map-sc;src:url('/print-fonts/sc.woff') format('woff');font-display:swap}
@font-face{font-family:Map-jp;src:url('/print-fonts/jp.woff') format('woff');font-display:swap}
@font-face{font-family:Map-kr;src:url('/print-fonts/kr.woff') format('woff');font-display:swap}
@font-face{font-family:Map-sc38;src:url('/print-fonts/sc38.woff') format('woff');font-display:swap}
@font-face{font-family:Map-latin;src:url('/print-fonts/latin.woff') format('woff');font-display:swap}
@font-face{font-family:Map-cyrillic;src:url('/print-fonts/cyrillic.woff') format('woff');font-display:swap}
@font-face{font-family:Map-vi;src:url('/print-fonts/vi.woff') format('woff');font-display:swap}