@font-face {
  font-family: "Recipe Serif";
  src: url("type/recipe-serif.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
body:has(dialog.rd-modal[open]) { overflow: hidden; }
.rd-modal {
  --rd-ink: #222f27;
  --rd-muted: #4e5b51;
  --rd-line: #d6ddd3;
  --rd-accent: #365344;
  --rd-paper: #f8faf4;
  --rd-gutter: clamp(24px, 4vw, 54px);
  --rd-display: "Recipe Serif", "AppleMyungjo", Batang, Georgia, serif;
  width: min(1100px, calc(100% - 48px));
  max-width: none;
  max-height: none;
  padding: 0;
  margin: auto;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: var(--rd-ink);
  background: var(--rd-paper);
  box-shadow: 0 18px 80px #111b173e;
  font: 400 1rem/1.55 var(--sans, -apple-system, BlinkMacSystemFont, "Noto Sans CJK KR", "Malgun Gothic", sans-serif);
  text-align: left;
}
.rd-modal::backdrop { background: rgb(15 21 18 / 57%); backdrop-filter: blur(3px); }
.rd-modal *, .rd-modal *::before, .rd-modal *::after { box-sizing: border-box; }
.rd-modal [hidden] { display: none !important; }
.rd-modal :is(button, input) { font: inherit; }
.rd-modal button { cursor: pointer; }
.rd-modal svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.rd-modal :is(button, a, summary, input):focus-visible { outline: 3px solid var(--rd-accent); outline-offset: 3px; }
.rd-frame { display: flex; flex-direction: column; max-height: min(90vh, 940px); max-height: min(90dvh, 940px); }
.rd-bar, .rd-cook-bar { display: flex; justify-content: space-between; align-items: center; flex: none; gap: 12px; border-bottom: 1px solid var(--rd-line); padding: 7px var(--rd-gutter); background: var(--rd-paper); }
.rd-bar-title, .rd-controls { display: flex; align-items: center; gap: 9px; }
.rd-bar-title { font: 700 .9375rem/1.35 var(--rd-display); }
.rd-controls { gap: 3px; }
.rd-icon-button { height: 44px; width: 44px; padding: 0; display: grid; place-items: center; background: transparent; color: var(--rd-ink); border: 0; border-radius: 8px; }
.rd-modal .rd-icon-button:focus-visible { outline: 2px solid var(--rd-accent); outline-offset: -4px; }
.rd-name:focus { outline: none; }
.rd-icon-button:hover { background: #f1f4f1; }
.rd-icon-button[aria-pressed=true] svg { fill: var(--rd-ink); }
.rd-feedback { color: var(--rd-accent); font-size: 13px; }
.rd-modal .rd-remove-button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 5px 9px; border: 0; border-radius: 9px; color: #99452c; background: transparent; font-size: 14px; font-weight: 660; }
.rd-remove-button svg { width: 16px; height: 16px; }
.rd-remove-button:hover { background: #fff2ed; }
.rd-removal { width: min(400px, calc(100% - 32px)); max-height: 90dvh; overflow-y: auto; margin: auto; padding: 23px; border: 0; border-radius: 17px; background: #fff; color: var(--rd-ink); box-shadow: 0 15px 70px #19171840; }
.rd-removal::backdrop { background: #171c1999; }
.rd-removal h2 { font: 750 21px/1.4 var(--sans); margin: 0; letter-spacing: -.045em; }
.rd-removal-title { margin: 5px 0 17px; color: var(--rd-muted); font-weight: 600; overflow-wrap: anywhere; }
.rd-remove-choices { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.rd-remove-choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--rd-line); border-radius: 10px; cursor: pointer; }
.rd-remove-choice:has(input:checked) { border-color: #909b81; background: #f5f8ed; }
.rd-remove-choice input { width: 17px; height: 17px; margin: 4px 0 0; flex: none; accent-color: #283325; }
.rd-remove-choice strong, .rd-remove-choice span span, .rd-remove-choice small { display: block; overflow-wrap: anywhere; }
.rd-remove-choice span span, .rd-remove-choice small, .rd-remove-note { margin-top: 3px; color: var(--rd-muted); font-size: 14px; }
.rd-remove-choice small { font-size: 13px; }
.rd-removal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.rd-removal-actions button:disabled { opacity: .6; }
.rd-remove-error, .rd-removal-status { color: #9d331d; font-size: 14px; margin: 8px 0 0; }
.rd-removal-status { color: #495c34; }
.rd-remove-error:empty, .rd-removal-status:empty { display: none; }
.rd-scroll, .rd-cook-reading { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bfc7c2 transparent; }
.rd-scroll { padding: clamp(16px, 3vw, 32px) var(--rd-gutter) clamp(28px, 5vw, 54px); }
.rd-hero { display: grid; align-items: start; gap: clamp(18px, 2.5vw, 26px) clamp(28px, 5vw, 66px); }
.rd-hero:has(> .rd-cover:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(205px, .43fr); }
.rd-intro, .rd-ingredients { grid-column: 1; min-width: 0; }
.rd-cover { grid-column: 2; grid-row: 1 / span 2; min-width: 0; margin: 0; }
.rd-hero:has(> .rd-variants) > .rd-cover { grid-row: 1; }
.rd-hero:has(> .rd-variants) > .rd-ingredients, .rd-variants { grid-column: 1 / -1; }
.rd-variants { min-width: 0; padding-top: 12px; border-top: 1px solid var(--rd-line); }
.rd-variants-title { margin: 0 0 8px; color: var(--rd-ink); font-size: 1rem; line-height: 1.4; }
.rd-variant-options { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-modal .rd-variant {
  min-height: 44px; max-width: 100%; padding: 6px 12px; border: 1px solid #bac8b8; border-radius: 7px;
  background: #fffefa; color: var(--rd-ink); font-size: .875rem; font-weight: 650; text-align: left;
  word-break: keep-all; overflow-wrap: anywhere;
}
.rd-modal .rd-variant:hover { background: #eaf0e6; }
.rd-modal .rd-variant[aria-pressed="true"] { border-color: var(--rd-accent); background: var(--rd-accent); color: #fff; }
.rd-cover img { display: block; width: 100%; height: auto; max-height: min(45dvh, 360px); object-fit: contain; background: #edf1eb; }
.rd-cover figcaption { margin-top: 4px; }
.rd-category { color: var(--rd-accent); font-size: .875rem; font-weight: 690; }
.rd-name, .rd-heading, .rd-step-title, .rd-cook-heading { color: var(--rd-ink); font-family: inherit; font-weight: 780; word-break: keep-all; overflow-wrap: anywhere; }
.rd-name { margin: 0; font: 700 clamp(2.15rem, 4.4vw, 3.75rem)/1.23 var(--rd-display); letter-spacing: -.065em; }
.rd-description { margin: 12px 0 0; color: #49504d; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.rd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; color: var(--rd-muted); font-size: .875rem; font-weight: 550; }
.rd-meta span, .rd-download { display: inline-flex; align-items: center; gap: 5px; }
.rd-meta svg { width: 16px; height: 16px; }
.rd-book-link, .rd-method-jump { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--rd-accent); font-weight: 700; text-underline-offset: .23em; }
.rd-book-reference { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; margin: 28px 0 0; padding-top: 8px; border-top: 1px solid var(--rd-line); color: var(--rd-muted); font-size: .875rem; }
.rd-book-reference svg { width: 17px; height: 17px; }
.rd-group-title { margin: 17px 0 0; padding-bottom: 4px; color: var(--rd-accent); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.rd-book-notes { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 20px; margin: 26px 0 22px; border-left: 3px solid var(--rd-accent); background: #e5ece2; padding: 13px 16px; }
.rd-book-notes h3 { margin: 0; font-size: 1rem; }
.rd-book-notes p { margin: 0; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.rd-book-notes p + p { margin-top: 6px; }
.rd-guidance-link { display: inline-block; color: inherit; font-size: 14px; margin-top: 4px; text-underline-offset: 3px; }
.rd-launch { display: grid; justify-items: end; }
.rd-method .rd-heading { scroll-margin-top: 16px; outline: none; }
.rd-modal button.rd-primary, .rd-modal button.rd-secondary, .rd-modal button.rd-exit {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 46px; border: 0; border-radius: 12px; padding: 9px 19px;
  color: white; background: #293e2f; font-size: 16px; font-weight: 740; line-height: 1.35;
}
.rd-modal button.rd-primary:hover { background: #3a5240; }
.rd-modal button.rd-start { min-width: 130px; min-height: 48px; }
.rd-modal button.rd-secondary, .rd-modal button.rd-exit { color: var(--rd-ink); background: #edf0ee; }
.rd-modal button.rd-secondary:hover, .rd-modal button.rd-exit:hover { background: #e2e7e3; }
.rd-modal button.rd-secondary:disabled { color: #707672; background: #f1f3f1; cursor: default; }
.rd-modal button.rd-exit { padding: 8px 13px; font-size: 14px; min-height: 44px; flex: none; border-radius: 9px; }
.rd-completed { color: #41531b; font-size: 14px; font-weight: 650; }
.rd-completed:not(:empty) { margin-top: 4px; }
.rd-heading { margin: 0; font-size: 23px; line-height: 1.3; letter-spacing: -.06em; }
.rd-section-head { display: flex; gap: 8px; justify-content: space-between; align-items: baseline; padding-bottom: 9px; border-bottom: 1px solid var(--rd-line); }
.rd-ingredients > .rd-section-head { padding-top: 12px; border-top: 1px solid var(--rd-line); border-bottom: 0; }
.rd-method { margin-top: clamp(24px, 4.6vw, 45px); padding-top: clamp(17px, 2.5vw, 26px); border-top: 1px solid var(--rd-line); }
.rd-method .rd-heading { font: 700 clamp(1.55rem, 3.3vw, 2.35rem)/1.3 var(--rd-display); letter-spacing: -.05em; }
.rd-method .rd-section-head { align-items: center; flex-wrap: wrap; gap: 9px 14px; border: 0; }
.rd-method-meta { display: flex; align-items: center; flex-wrap: wrap; column-gap: 11px; }
.rd-modal .rd-method-meta button { padding: 0 2px; min-height: 32px; border: 0; background: transparent; color: var(--rd-accent); font-size: .8125rem; text-decoration: underline; text-underline-offset: .24em; }
.rd-modal .rd-method-meta button:hover, .rd-modal .rd-method-meta button[aria-pressed=true] { color: var(--rd-ink); text-decoration-thickness: 2px; }
.rd-counter { color: var(--rd-muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rd-checklist, .rd-steps { margin: 0; padding: 0; list-style: none; }
.rd-check-label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 1px; min-height: 36px; cursor: pointer; overflow-wrap: anywhere; }
.rd-checkbox { accent-color: var(--rd-ink); flex: 0 0 16px; width: 16px; height: 16px; margin: 4px 0 0; cursor: pointer; }
.rd-ingredient-entry { flex: 1; min-width: 0; word-break: keep-all; }
.rd-ingredient-entry:has(.rd-ingredient-amount) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; }
.rd-ingredient-amount { color: var(--rd-muted); text-align: right; font-variant-numeric: tabular-nums; }
.rd-ingredient-note { grid-column: 1 / -1; font-size: .875rem; line-height: 1.5; color: var(--rd-muted); }
.rd-measure-note { margin: 0 0 16px; color: var(--rd-muted); font-size: .875rem; line-height: 1.6; word-break: keep-all; }
.rd-checkbox:checked + span { text-decoration: line-through; color: var(--rd-muted); }
.rd-step { display: grid; align-items: center; min-width: 0; gap: 13px clamp(24px, 3.7vw, 48px); padding: clamp(16px, 2.5vw, 27px) 0; }
.rd-step:focus { outline: none; }
.rd-step + .rd-step { border-top: 1px solid var(--rd-line); }
.rd-step:has(> .rd-step-figure) { grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); }
.rd-step-copy { min-width: 0; }
.rd-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rd-step-number { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--rd-accent); color: white; font-size: .9375rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.rd-step-title { font-size: clamp(1.125rem, 2.3vw, 1.375rem); letter-spacing: -.045em; line-height: 1.4; margin: 0; }
.rd-step-figure { margin: 0; min-width: 0; }
.rd-step-figure img { display: block; width: 100%; height: auto; object-fit: contain; background: #edf1eb; }
.rd-step > .rd-step-figure img { max-height: min(53dvh, 420px); }
.rd-step-figure figcaption { margin-top: 3px; }
.rd-photo-caption { color: var(--rd-muted); font-size: .8125rem; line-height: 1.5; }
.rd-photo-hint { margin: 10px 0 0; color: var(--rd-muted); font-size: .875rem; }
.rd-photo-editor { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.rd-modal button.rd-photo-button {
  min-height: 44px; padding: 4px 10px; border: 1px solid var(--rd-line); border-radius: 7px;
  background: white; color: var(--rd-ink); font-size: .875rem; font-weight: 650;
}
.rd-modal button.rd-photo-button:hover { background: #ebf1e7; border-color: #8ea088; }
.rd-modal button.rd-photo-remove { background: transparent; border-color: transparent; color: var(--rd-muted); }
.rd-modal button.rd-photo-button:disabled { opacity: .65; cursor: wait; }
.rd-photo-feedback { flex-basis: 100%; margin: 4px 0 0; color: #415549; font-size: .875rem; }
.rd-photo-feedback:empty { display: none; }
.rd-photo-error { color: #9d331d; }
.rd-step-action, .rd-cue p { margin: 0; line-height: 1.62; word-break: keep-all; overflow-wrap: anywhere; }
.rd-step-action { font-size: clamp(1rem, 1.45vw, 1.125rem); line-height: 1.68; }
.rd-quantity { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.rd-cue { display: flex; align-items: flex-start; gap: 8px; background: #f3f7e5; color: #35412d; border-radius: 9px; padding: 10px 12px; margin-top: 10px; }
.rd-cue svg { width: 17px; height: 17px; margin-top: 2px; }
.rd-cue-label { display: block; font-size: 13px; font-weight: 720; }
.rd-cue p { margin-top: 2px; font-size: 14px; }
.rd-original { margin: 20px 0 0; border: 1px solid var(--rd-line); border-radius: 8px; }
.rd-original summary { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 12px 16px; list-style: none; font-weight: 680; cursor: pointer; }
.rd-original summary::-webkit-details-marker { display: none; }
.rd-original summary::after { content: ''; width: 7px; height: 7px; margin-left: auto; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.rd-original[open] summary::after { transform: rotate(225deg); }
.rd-original-content { padding: 15px; border-top: 1px solid var(--rd-line); }
.rd-attachment-image { display: block; max-width: 100%; max-height: 360px; width: auto; height: auto; margin: 0 auto 14px; border-radius: 6px; }
.rd-file-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rd-filename, .rd-raw-text, .rd-empty { overflow-wrap: anywhere; }
.rd-download { min-height: 44px; color: var(--rd-ink); font-size: 14px; font-weight: 670; text-underline-offset: 3px; }
.rd-download svg { width: 17px; height: 17px; }
.rd-raw-text { margin: 0; line-height: 1.65; white-space: pre-wrap; }
.rd-file-row + .rd-raw-text { margin-top: 12px; }
.rd-empty { margin: 20px 0 0; color: var(--rd-muted); }
.rd-cook-panel { display: flex; flex-direction: column; min-height: 0; height: min(77vh, 650px); height: min(77dvh, 650px); }
.rd-cook-bar { padding: 9px 19px 9px 30px; }
.rd-cook-name { font-size: 16px; font-weight: 720; letter-spacing: -.035em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rd-cook-reading { flex: auto; }
.rd-cook-page { width: 100%; max-width: 720px; padding: clamp(24px, 5vw, 54px) 32px; margin: 0 auto; }
.rd-position { color: var(--rd-accent); font-size: 15px; font-weight: 720; font-variant-numeric: tabular-nums; }
.rd-progress { display: block; width: 100%; height: 6px; margin: 10px 0 30px; border: 0; border-radius: 4px; appearance: none; background: #e9ece9; color: var(--rd-accent); overflow: hidden; }
.rd-progress::-webkit-progress-bar { background: #e9ece9; border-radius: 4px; }
.rd-progress::-webkit-progress-value { background: var(--rd-accent); border-radius: 4px; }
.rd-progress::-moz-progress-bar { background: var(--rd-accent); border-radius: 4px; }
.rd-cook-heading { margin: 0; outline: 0; font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -.07em; line-height: 1.25; }
.rd-cook-photos:has(.rd-step-figure) { margin-top: 15px; }
.rd-cook-photos .rd-step-figure img { max-height: 360px; max-height: min(42dvh, 360px); }
.rd-cook-text { margin: 18px 0 0; font-size: clamp(19px, 2.55vw, 26px); line-height: 1.68; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere; white-space: pre-line; }
.rd-cook-cue .rd-cue { padding: 14px 15px; margin-top: 23px; }
.rd-cook-cue .rd-cue p { font-size: 16px; }
.rd-cook-nav { flex: none; display: flex; gap: 10px; justify-content: center; border-top: 1px solid var(--rd-line); padding: 13px 24px max(13px, env(safe-area-inset-bottom)); }
.rd-cook-nav button { flex: 1; max-width: 310px; }
@media (max-width: 670px) {
  .rd-modal { --rd-gutter: clamp(15px, 4.4vw, 24px); position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: 100%; border-radius: 0; margin: 0; }
  .rd-frame { height: 100%; max-height: none; }
  .rd-bar, .rd-cook-bar { padding: 4px 8px 4px var(--rd-gutter); }
  .rd-scroll { padding-bottom: max(42px, env(safe-area-inset-bottom)); }
  .rd-hero { gap: 18px 13px; }
  .rd-hero:has(> .rd-cover:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(93px, min(34%, 164px)); }
  .rd-cover { grid-row: 1; align-self: start; }
  .rd-cover img { max-height: min(24dvh, 160px); }
  .rd-ingredients { grid-column: 1 / -1; }
  .rd-name { font-size: clamp(1.55rem, 6.8vw, 2.55rem); }
  .rd-description { margin-top: 8px; }
  .rd-meta { margin-top: 11px; }
  .rd-heading { font-size: 22px; }
  .rd-modal button.rd-start { min-width: 105px; min-height: 44px; padding-inline: 13px; font-size: .9375rem; }
  .rd-step:has(> .rd-step-figure) { grid-template-columns: minmax(0, 1fr); }
  .rd-step > .rd-step-figure img { max-height: min(54dvh, 440px); }
  .rd-book-notes { grid-template-columns: minmax(0, 1fr); }
  .rd-cook-panel { height: 100%; }
  .rd-cook-page { padding: 28px 21px; }
  .rd-cook-photos .rd-step-figure img { max-height: min(45dvh, 300px); }
  .rd-cook-photos:has(.rd-step-figure) + .rd-cook-text { margin-top: 13px; }
  .rd-cook-nav { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
}
@media (max-height: 470px) {
  .rd-frame { max-height: 100vh; max-height: 100dvh; }
  .rd-cook-panel { height: 100vh; height: 100dvh; }
  .rd-cook-page { padding-top: 17px; padding-bottom: 17px; }
  .rd-cook-photos .rd-step-figure img { max-height: 135px; }
  .rd-progress { margin-bottom: 14px; }
  .rd-cook-nav { padding-top: 5px; padding-bottom: max(5px, env(safe-area-inset-bottom)); }
}
.rd-taxonomy { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 9px; }
.rd-taxonomy:empty { display: none; }
.rd-previous,.rd-save-filing {
  min-height: 40px; border: 1px solid #cbc8bc; border-radius: 7px; background: #fff;
  color: #413a2a; padding: 6px 12px; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer;
}
.rd-related,.rd-refile { margin: 12px 0 0; border: 1px solid var(--rd-line); border-radius: 8px; }
.rd-related summary,.rd-refile summary { cursor: pointer; padding: 10px 13px; min-height: 42px; color: #55462d; font-weight: 670; }
.rd-related-count { margin-left: 7px; color: var(--rd-muted); font-size: .84rem; font-weight: 500; }
.rd-related-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; list-style: none; padding: 9px; margin: 0; border-top: 1px solid var(--rd-line); }
.rd-related-link {
  width: 100%; min-height: 44px; height: 100%; padding: 8px 10px; display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; border: 1px solid transparent; border-radius: 6px; text-align: left; font: inherit; font-size: .94rem;
  background: #f6f5ef; color: #363126; cursor: pointer; word-break: keep-all; overflow-wrap: anywhere;
}
.rd-related-link:hover { border-color: #b8ad90; }
.rd-related-link small { flex: none; color: #716957; font-size: .81rem; }
.rd-refile form { padding: 0 13px 12px; }
.rd-filing-feedback { color: var(--rd-muted); margin-left: 8px; }
.rd-related + .rd-original,.rd-refile + .rd-original { margin-top: 13px; }
@media (max-width:670px) {
  .rd-related-list { grid-template-columns: minmax(0,1fr); }
}
