:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #30352f;
  background: #f4f2ec;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #30352f;
  --muted: #7b7e75;
  --line: #e3e4dc;
  --accent: #dc5a32;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .34; }
button, input, summary, a, [tabindex] { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
button svg, .address-icon, .preview-symbol, .notice svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.app { height: 100vh; height: 100dvh; min-height: 380px; display: flex; flex-direction: column; padding: 20px 28px; }
.browser { display: flex; flex-direction: column; flex: 1; min-height: 0; border: 1px solid #d9dbd1; border-radius: 13px; overflow: hidden; background: #fff; box-shadow: 0 5px 25px #373d2910, 0 1px 2px #373d2906; }
.address-toolbar { display: flex; align-items: center; gap: 15px; padding: 14px 17px; background: #fafbf7; }
.navigation { display: flex; gap: 3px; }
.icon-button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 5px; color: #6b7363; }
.icon-button:hover:not(:disabled) { background: #e8ebe1; color: var(--ink); }
.address-form { display: flex; gap: 10px; width: 100%; min-width: 0; }
.address-field { height: 41px; display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding: 0 12px; border: 1px solid #dbdfd1; border-radius: 6px; background: #fff; box-shadow: inset 0 1px 2px #343d2803; }
.address-field:focus-within { border-color: #da956e; box-shadow: 0 0 0 2px #dc5a3210; }
.address-icon { color: #929988; width: 17px; height: 17px; }
.address-field input { color: #454c3d; min-width: 0; width: 100%; border: 0; padding: 0; outline: 0; background: transparent; font-family: var(--mono); font-size: 12px; }
.address-field input::placeholder { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #969c8c; letter-spacing: .1px; }
.address-shortcut { color: #acb1a4; border: 1px solid #e9ece2; border-radius: 3px; font-size: 13px; padding: 0 4px; line-height: 20px; }
.load-button { border: 1px solid #c94f2a; background: var(--accent); color: #fff; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 15px; font-size: 12px; font-weight: 550; white-space: nowrap; box-shadow: 0 1px 1px #58301a12; }
.load-button:hover { background: #c94e2a; }
.load-arrow { width: 16px; height: 16px; }
.button-spinner { width: 13px; height: 13px; border: 1.5px solid #ffffff66; border-top-color: white; border-radius: 100%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.request-bar { background: #fafbf7; min-height: 33px; display: flex; align-items: center; gap: 10px; padding: 0 19px 11px; border-bottom: 1px solid var(--line); font-size: 10px; color: #929888; }
.request-details { margin-left: auto; flex-shrink: 0; position: relative; }
.request-details summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 5px; color: #7c8670; font-size: 10px; }
.request-details summary::-webkit-details-marker { display: none; }
.request-details summary svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.request-details[open] summary svg { transform: rotate(180deg); }
.details-popover { position: absolute; top: 27px; right: -2px; width: 380px; max-width: calc(100vw - 45px); max-height: min(480px, calc(100dvh - 250px)); overflow: auto; overscroll-behavior: contain; padding: 20px; background: #fff; z-index: 6; border: 1px solid #dfe3d6; border-radius: 8px; box-shadow: 0 8px 30px #39403020; color: #6f7963; font-size: 12px; line-height: 1.6; }
.details-title { color: #37422e; font-weight: 650; font-size: 13px; }
.details-section { margin-top: 16px; padding-top: 14px; border-top: 1px solid #edf0e7; }
.details-section-title { margin: 0 0 10px; color: #57664a; font-size: 11px; font-weight: 650; letter-spacing: .1px; }
.details-popover dl { margin: 0; display: grid; grid-template-columns: 93px minmax(0,1fr); gap: 8px 12px; font-size: 11px; }
.details-popover dt { color: #8a9480; }
.details-popover dd { margin: 0; color: #4c5942; overflow-wrap: anywhere; }
.notice { display: flex; align-items: flex-start; gap: 9px; padding: 10px 18px; background: #fff5e2; border-bottom: 1px solid #f0dbb2; color: #80601f; font-size: 12px; line-height: 1.5; }
.notice[data-kind="error"] { color: #993f31; background: #fff0ec; border-bottom-color: #efd5cb; }
.notice svg { width: 16px; height: 16px; margin-top: 1px; }
.notice p { margin: 0; flex: 1; }
.notice button { border: 0; background: transparent; color: inherit; font-size: 19px; line-height: 16px; padding: 0 2px; }
.workspace { display: grid; grid-template-columns: minmax(0,var(--source-share,1fr)) 9px minmax(0,var(--preview-share,1fr)); flex: 1; min-height: 0; position: relative; }
.pane { display: flex; flex-direction: column; overflow: hidden; min-width: 0; min-height: 0; }
.source-pane { background: #fafbf8; }
.preview-pane { background: #fff; }
.pane-toolbar { min-height: 50px; height: 50px; flex-shrink: 0; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e9ece3; gap: 8px; }
.pane-title { display: flex; gap: 8px; align-items: center; min-width: 0; }
.pane-title h1, .pane-title h2 { font-size: 12px; font-weight: 600; margin: 0; }
.pane-symbol { font-family: var(--mono); font-size: 13px; font-weight: 600; color: #89947b; }
.preview-symbol { width: 16px; height: 16px; color: #87967a; }
.pane-subtitle { font-size: 10px; color: #a0a798; margin-left: 4px; white-space: nowrap; }
.pane-actions { display: flex; gap: 2px; }
.pane-actions .icon-button { width: 28px; height: 28px; color: #839078; }
.pane-actions svg { width: 15px; height: 15px; }
.preview-mode { color: #85947a; font-size: 9px; border: 1px solid #e6ebe0; padding: 3px 7px; border-radius: 4px; }
.pane-body { flex: 1; overflow: auto; overscroll-behavior: contain; min-height: 0; scrollbar-color: #cbd1c1 transparent; scrollbar-width: thin; }
.empty-state { max-width: 395px; padding: 43px 22px 28px; margin: auto; }
.empty-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px; color: #9aa58d; margin-bottom: 27px; }
.source-illustration { display: flex; flex-direction: column; gap: 13px; font-family: var(--mono); font-size: 11px; line-height: 1.65; padding: 19px 18px 17px; background: #f0f2eb; border: 1px solid #e4e8db; border-radius: 6px; min-height: 182px; overflow: hidden; color: #68765b; }
.source-illustration span { white-space: nowrap; }
.source-illustration b { font-weight: 500; color: #d47651; }
.source-illustration .illustration-muted { font-size: 10px; color: #a1ab96; }
.source-illustration em { font-style: normal; color: #8c9c7c; }
.empty-state h2 { margin: 28px 0 10px; color: #424d38; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(23px,2.2vw,29px); letter-spacing: -.6px; line-height: 1.2; }
.empty-state p { max-width: 305px; margin: 0; font-size: 12px; color: #909a85; line-height: 1.8; }
.preview-illustration { position: relative; border: 1px solid #e5e9dd; border-radius: 5px; background: #fff; padding: 21px 23px 19px; min-height: 182px; box-shadow: 2px 4px 0 #f2f4ee; overflow: hidden; }
.paper-corner { position: absolute; top: -1px; right: -1px; width: 19px; height: 19px; background: linear-gradient(45deg, #f3f5ef 49%, #e5e9dd 50%, #fff 55%); border-radius: 0 0 0 3px; }
.paper-heading { color: #5c6b4f; font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: -.4px; display: block; margin-bottom: 15px; white-space: nowrap; }
.paper-line { height: 4px; display: block; width: 91%; background: #edf0e7; border-radius: 2px; margin: 7px 0; }
.paper-line.short { width: 61%; }
.paper-line.medium { width: 77%; }
.paper-rule { height: 1px; background: #eff2e9; margin: 17px 0 13px; }
.paper-subheading { font-size: 11px; font-weight: 600; color: #859478; display: block; margin-bottom: 10px; }
.sample-button { padding: 0 0 4px; margin-top: 24px; background: none; color: #c76a44; border: 0; border-bottom: 1px solid #eacbbb; font-size: 11px; font-weight: 500; }
.sample-button:hover { color: #a84322; border-bottom-color: currentColor; }
.sample-button span { margin-left: 10px; }
.source-code { font-family: var(--mono); font-size: 12px; line-height: 1.85; white-space: pre; tab-size: 2; margin: 0; padding: 24px; min-width: 100%; width: max-content; color: #647255; }
.source-body { background-image: linear-gradient(to right, #edf0e6 1px, transparent 1px); background-size: 1px 100%; background-position: 13px 0; background-repeat: no-repeat; }
.source-body:has(.source-code:not([hidden])) { background-position: 12px 0; }
.pane-footer { height: 32px; min-height: 32px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e8ece0; gap: 12px; font-size: 9px; color: #97a08c; white-space: nowrap; }
.pane-footer > span { overflow: hidden; text-overflow: ellipsis; }
.format-label { font-family: var(--mono); font-size: 8px; letter-spacing: .7px; }
.render-note { font-size: 9px; }
.render-note > span { margin-right: 3px; }
.splitter { width: 9px; display: flex; align-items: center; justify-content: center; background: #f4f5f0; border-left: 1px solid #e2e6da; border-right: 1px solid #e2e6da; cursor: col-resize; touch-action: none; z-index: 2; transition: background-color .15s; }
.splitter > span { width: 3px; height: 31px; border-radius: 2px; background: #c4ccb9; box-shadow: 0 1px 0 #fff; }
.splitter:hover, .splitter:focus-visible, .resizing .splitter { background: #f9e5da; }
.splitter:hover > span, .splitter:focus-visible > span, .resizing .splitter > span { background: #d88662; }
.splitter:focus-visible { outline: 2px solid #dc5a32; outline-offset: -2px; }
.resizing { cursor: col-resize; user-select: none; }
.unavailable-state { margin: 70px auto; max-width: 370px; padding: 0 30px; text-align: center; }
.unavailable-symbol { font-family: var(--mono); font-size: 30px; color: #a7b397; }
.unavailable-state h2 { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; line-height: 1.25; color: #5a674d; margin: 22px 0 12px; }
.unavailable-state p { font-size: 12px; line-height: 1.7; color: #89967c; }
.markdown-body { padding: 25px 32px 55px; font-size: 14px; line-height: 1.8; color: #46513c; overflow-wrap: anywhere; }
.markdown-body > :first-child { margin-top: 0; }
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { color: #303d27; line-height: 1.3; margin: 1.6em 0 .65em; font-weight: 650; letter-spacing: -.025em; }
.markdown-body h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 32px; margin-top: 0; padding-bottom: .5em; border-bottom: 1px solid #e8ecdf; }
.markdown-body h2 { font-size: 23px; }
.markdown-body h3 { font-size: 18px; }
.markdown-body h4 { font-size: 16px; }
.markdown-body h5, .markdown-body h6 { font-size: 14px; }
.markdown-body p { margin: 0 0 1.1em; }
.markdown-body a { color: #c16139; text-underline-offset: 3px; text-decoration-color: #e7bfac; }
.markdown-body a:hover { color: #a43f1c; text-decoration-color: currentColor; }
.markdown-body ul, .markdown-body ol { padding-left: 1.6em; margin: .8em 0 1.2em; }
.markdown-body li { padding-left: .2em; margin: .25em 0; }
.markdown-body li > p { margin: .45em 0; }
.markdown-body blockquote { margin: 1.2em 0; padding: .5em 1.1em; border-left: 3px solid #c7d3b8; color: #7a876c; background: #f7f9f2; }
.markdown-body blockquote > :last-child { margin-bottom: 0; }
.markdown-body code, .markdown-body kbd { font-family: var(--mono); font-size: .85em; background: #f0f3e9; border-radius: 3px; padding: .15em .35em; color: #65784f; }
.markdown-body pre { overflow: auto; padding: 16px 18px; border: 1px solid #e5eadd; background: #f6f8f1; border-radius: 6px; line-height: 1.65; margin: 1.2em 0; }
.markdown-body pre code { padding: 0; background: none; border-radius: 0; white-space: pre; overflow-wrap: normal; font-size: 11px; }
.markdown-body img { max-width: 100%; height: auto; border-radius: 5px; }
.markdown-body table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; font-size: 12px; margin: 1.2em 0; }
.markdown-body th, .markdown-body td { border: 1px solid #e2e7d8; padding: 8px 12px; text-align: left; }
.markdown-body th { background: #f1f4e9; font-weight: 600; }
.markdown-body hr { border: 0; height: 1px; background: #e4e9db; margin: 2em 0; }
.markdown-body details { border: 1px solid #e4e9db; border-radius: 4px; padding: 10px 14px; margin: 1em 0; }
.markdown-body summary { cursor: pointer; font-weight: 600; }
.markdown-body .page-metadata { font-size: 12px; color: #7a876c; }
.markdown-body .page-metadata pre { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; font-size: 11px; }
@media (min-width: 1550px) { .empty-state { max-width: 440px; padding-top: 65px; } }
@media (max-width: 900px) {
  .app { padding: 16px; }
  .pane-subtitle { display: none; }
  .empty-state { padding: 30px 24px; }
  .source-illustration { padding: 17px 13px; font-size: 10px; }
  .source-illustration .illustration-muted { font-size: 9px; }
  .paper-heading { font-size: 19px; }
  .paper-subheading { font-size: 10px; }
  .preview-illustration { padding: 21px 16px 19px; }
  .pane-footer { padding: 0 14px; }
  .render-note { display: none; }
  .markdown-body { padding: 24px; }
}
@media (max-width: 620px) {
  .app { padding: 7px; }
  .browser { border-radius: 9px; }
  .address-toolbar { padding: 9px; gap: 7px; flex-wrap: wrap; }
  .navigation { gap: 1px; }
  .navigation .icon-button { height: 26px; width: 26px; }
  .navigation .icon-button svg { width: 16px; height: 16px; }
  .address-form { flex: 1; gap: 6px; }
  .address-field { height: 35px; padding: 0 8px; gap: 5px; }
  .address-field input { font-size: 16px; }
  .address-field input::placeholder { font-size: 10px; }
  .address-icon, .address-shortcut, .load-arrow { display: none; }
  .load-button { font-size: 10px; padding: 0 9px; gap: 5px; }
  .request-bar { padding: 1px 11px 9px; gap: 6px; min-height: 29px; }
  .request-details summary { font-size: 9px; }
  .pane-toolbar { height: 43px; min-height: 43px; padding: 0 10px; gap: 4px; }
  .pane-title { gap: 5px; }
  .pane-title h1, .pane-title h2 { font-size: 11px; }
  .pane-symbol { font-size: 11px; }
  .preview-symbol { width: 14px; height: 14px; }
  .pane-actions { gap: 0; }
  .pane-actions .icon-button { width: 24px; height: 27px; }
  .pane-actions svg { width: 13px; height: 13px; }
  .preview-mode { display: none; }
  .empty-state { padding: 29px 16px; }
  .empty-eyebrow { font-size: 7px; letter-spacing: .6px; margin-bottom: 24px; }
  .source-illustration, .preview-illustration { height: 138px; min-height: 138px; }
  .source-illustration { padding: 12px 9px; gap: 9px; font-size: 8px; }
  .source-illustration .illustration-muted { font-size: 7px; }
  .preview-illustration { padding: 16px 10px; }
  .paper-heading { font-size: 12px; margin-bottom: 11px; }
  .paper-rule { margin: 11px 0; }
  .paper-line { height: 3px; margin: 6px 0; }
  .paper-subheading { font-size: 8px; }
  .empty-state h2 { font-size: 22px; margin-top: 23px; }
  .empty-state p { font-size: 11px; line-height: 1.75; }
  .sample-button { font-size: 10px; line-height: 1.7; text-align: left; }
  .sample-button span { margin-left: 4px; }
  .pane-footer { height: 28px; min-height: 28px; padding: 0 10px; font-size: 8px; }
  .format-label { display: none; }
  .source-code { font-size: 10px; padding: 16px; }
  .markdown-body { padding: 19px 16px 35px; font-size: 12px; }
  .markdown-body h1 { font-size: 25px; }
  .markdown-body h2 { font-size: 19px; }
  .markdown-body h3 { font-size: 16px; }
  .markdown-body pre { padding: 12px; }
  .markdown-body pre code { font-size: 10px; }
  .unavailable-state { margin-top: 40px; padding: 0 15px; }
  .unavailable-state h2 { font-size: 21px; }
  .unavailable-state p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } .button-spinner { animation-duration: 1.5s; } }
