.beg { --blue: #0a4e76; --orange: #c64b12; --ink: #142b39; --muted: #526775; --line: #d6e2e8; --soft: #f2f7fa; color: var(--ink); }
.beg * { box-sizing: border-box; }
.beg [hidden] { display: none !important; }
.beg .beg-hero { padding: 28px 30px; border-radius: 24px; background: radial-gradient(circle at 100% 0%, #bd703d 0, transparent 45%), linear-gradient(125deg, #062f50, #006b89); color: #fff; margin-bottom: 22px; }
.beg .beg-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--orange); }
.beg .beg-hero .beg-eyebrow { color: #ffdbc2; }
.beg .beg-hero h2 { color: #fff; border: 0; margin: 10px 0; line-height: 1.15; font-size: clamp(26px, 3.5vw, 38px); }
.beg .beg-hero p { color: #f0f7fc; margin-bottom: 14px; }
.beg .beg-hero a { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.beg button { font: inherit; border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 12px; padding: 10px 14px; cursor: pointer; line-height: 1.4; font-weight: 700; }
.beg button:hover { border-color: var(--blue); }
.beg button:disabled { opacity: .5; cursor: default; }
.beg button:focus-visible, .beg summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.beg .beg-primary, .beg button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.beg .beg-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beg .beg-mode button { text-align: left; padding: 16px 18px; }
.beg .beg-mode strong, .beg .beg-mode span { display: block; }
.beg .beg-mode span { font-size: 13px; font-weight: 400; margin-top: 5px; }
.beg .beg-guide-note { color: var(--muted); font-size: 13px; margin: 12px 0 20px; }
.beg .beg-steps { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 24px; }
.beg .beg-steps button { flex: 1 0 85px; font-size: 13px; padding: 10px 5px; }
.beg .beg-steps button[aria-current="step"] { border-color: var(--orange); box-shadow: inset 0 -3px 0 var(--orange); }
.beg .beg-step-number { display: block; font-size: 17px; margin-bottom: 3px; }
.beg h3 { color: var(--ink); border: 0; }
.beg .beg-instructions h4 { margin: 7px 0 10px; font-size: 25px; line-height: 1.25; }
.beg #beg-instructions { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.beg .beg-source-options { margin: 20px 0 24px; }
.beg .beg-source-options h3 { margin: 0 0 5px; color: var(--blue); font-size: 23px; border: 0; }
.beg .beg-source-hint { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.beg .beg-source-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.beg .beg-source-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.beg .beg-source-card:hover { border-color: var(--blue); box-shadow: 0 4px 14px #142b3910; }
.beg .beg-source-card[aria-pressed="true"] { background: #fff7f1; color: var(--ink); border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.beg .beg-source-preview { display: flex; align-items: center; justify-content: center; flex: none; width: 100%; aspect-ratio: 8 / 5; overflow: hidden; background: #f2f7fa; }
.beg .beg-source-art { position: relative; display: block; flex: none; width: 100%; overflow: hidden; background: #f6f8f9; }
.beg .beg-source-art img { position: absolute; max-width: none !important; height: auto; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; user-select: none; }
.beg .beg-source-body { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 14px; gap: 8px; }
.beg .beg-source-name { color: var(--blue); font-size: 16px; line-height: 1.3; }
.beg .beg-source-description { color: var(--muted); font-weight: 400; font-size: 14px; line-height: 1.5; }
.beg .beg-source-badge { display: block; margin-top: auto; padding: 6px 9px; border-radius: 7px; color: var(--blue); background: var(--soft); font-size: 12px; font-weight: 700; }
.beg .beg-source-card[aria-pressed="true"] .beg-source-badge { color: #fff; background: var(--orange); }
.beg .beg-export-example { margin-top: 28px; }
.beg .beg-export-example h3 { margin: 0 0 14px; font-size: 22px; color: var(--blue); }
.beg .beg-result-link { display: block; color: var(--blue); text-decoration: none; }
.beg .beg-result-link:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.beg .beg-result-enlarge { display: block; padding: 10px 14px; background: var(--soft); text-align: right; font-size: 13px; font-weight: 700; }
.beg .beg-result-link:hover .beg-result-enlarge { text-decoration: underline; }
.beg .beg-result-caption { padding: 14px 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.beg .beg-instruction-list { padding-left: 28px; margin: 18px 0 25px; }
.beg .beg-instruction-list li { padding-left: 5px; margin-bottom: 16px; line-height: 1.55; }
.beg .beg-instruction-list li::marker { font-weight: 800; color: var(--orange); }
.beg .beg-instruction-list strong { color: var(--blue); }
.beg .beg-instruction-list p { margin: 3px 0 0; font-size: 15px; }
.beg .beg-step-pairs { container-type: inline-size; }
.beg .beg-step-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.beg .beg-step-pair > * { min-width: 0; }
.beg .beg-step-pair .beg-instruction-list { margin: 0; }
.beg .beg-step-pair .beg-instruction-list li:last-child { margin-bottom: 0; }
.beg .beg-step-pair .beg-screen-card { margin: 0; align-self: start; }
@container (min-width: 640px) {
  .beg .beg-step-pair { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
  .beg .beg-step-pair .beg-instruction-list { position: sticky; top: 60px; }
}
.beg .beg-visual { margin-top: 20px; }
.beg .beg-step-help, .beg .beg-help-library { margin-top: 20px; }
.beg .beg-help-topic { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0; margin: 0; }
.beg .beg-help-topic > summary { cursor: pointer; color: var(--blue); font-size: 15px; font-weight: 600; padding: 14px 0; }
.beg .beg-help-body { padding: 0 0 16px; font-size: 15px; line-height: 1.6; min-width: 0; overflow-wrap: anywhere; }
.beg .beg-help-body figure { margin: 18px 0; }
.beg .beg-help-body .beo-pair figure { margin: 0; }
.beg .beg-help-body figcaption { color: var(--muted); font-size: 13px; }
.beg .beg-help-body img { max-width: 100%; height: auto; }
.beg .beg-help-body table { display: block; max-width: 100%; overflow-x: auto; }
.beg .beg-gallery-title { font-size: 18px; margin: 0 0 12px; }
.beg .beg-screen-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; margin: 0 0 18px; }
.beg .beg-shot-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--soft); padding: 10px 14px; color: var(--muted); font-size: 13px; }
.beg .beg-shot-caption button { flex-shrink: 0; font-size: 13px; padding: 6px 10px; }
.beg .beg-warning-details { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; margin-top: 18px; background: var(--soft); }
.beg .beg-warning-details > summary { cursor: pointer; padding: 15px 0; color: var(--blue); font-weight: 700; }
.beg .beg-warning-details > p { font-size: 14px; }
.beg .beg-visual-head { padding: 13px 17px; background: var(--soft); border-bottom: 1px solid var(--line); }
.beg .beg-visual-head h3 { font-size: 16px; margin: 0; }
.beg .beg-visual-head span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.beg .beg-capture-note { padding: 12px 17px; margin: 0; background: #fff7f1; color: #723900; font-size: 13px; line-height: 1.5; }
.beg .beg-view-tools { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 15px; }
.beg .beg-view-tools button { font-size: 13px; padding: 7px 10px; }
.beg .beg-stage { position: relative; overflow: hidden; background: var(--soft); width: 100%; isolation: isolate; }
.beg .beg-stage img { position: absolute; max-width: none !important; height: auto; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; user-select: none; }
.beg .beg-stage .beg-hotspot { position: absolute; z-index: 2; border: 2px dashed #0a4e76; border-radius: 5px; background: transparent; padding: 0; min-width: 0; }
.beg .beg-stage .beg-hotspot[aria-pressed="true"] { border: 3px solid var(--orange); background: transparent; box-shadow: 0 0 0 5000px #102b3b35; z-index: 1; }
.beg .beg-marker { position: absolute; top: -17px; left: -10px; width: 29px; height: 29px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--blue); color: #fff; font: 700 15px/1 sans-serif; }
.beg .beg-marker[data-side="right"] { left: auto; right: -10px; }
.beg .beg-hotspot[aria-pressed="true"] .beg-marker { background: var(--orange); }
.beg .beg-image-help { color: var(--muted); font-size: 13px; margin: 12px 16px 15px; }
.beg .beg-check { margin-top: 20px; padding: 14px 18px; border-left: 4px solid #006b80; background: #edf7f7; border-radius: 0 12px 12px 0; line-height: 1.55; font-size: 14px; }
.beg .beg-check strong { color: #055963; }
.beg .beg-paging { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0; }
.beg #beg-progress { color: var(--muted); font-size: 13px; }
.beg dialog { width: min(1200px, calc(100vw - 32px)); max-height: 95vh; padding: 16px; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 70px #142b3940; color: var(--ink); background: #fff; overflow: auto; }
.beg dialog::backdrop { background: #142b3977; }
.beg .beg-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.beg .beg-dialog-head h4 { margin: 0; font-size: 18px; }
.beg #beg-zoom-description { font-size: 14px; margin: 14px 4px 0; }
@media (max-width: 540px) {
  .beg .beg-hero { padding: 22px; }
  .beg .beg-mode { grid-template-columns: 1fr; }
  .beg .beg-paging { flex-wrap: wrap; }
  .beg .beg-shot-caption { align-items: flex-start; }
}
@media (max-width: 680px) {
  .beg .beg-source-cards { grid-template-columns: 1fr; }
  .beg .beg-source-card { display: grid; grid-template-columns: minmax(105px, 30%) 1fr; align-items: center; }
  .beg .beg-source-body { padding: 14px 12px; }
}
