:root {
  color-scheme: light;
  --ink: #272923;
  --muted: #74766b;
  --accent: #b94725;
  --line: #e3e4dc;
  --paper: #f7f7f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
body::before { content: ""; position: fixed; width: 760px; height: 760px; top: -490px; right: -240px; background: #eadac7; border-radius: 50%; filter: blur(110px); opacity: .65; z-index: -1; pointer-events: none; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b94725; outline-offset: 4px; }
.page-shell { max-width: 1200px; padding: 0 48px; margin: 0 auto; }
.site-header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 750; letter-spacing: -.7px; text-decoration: none; }
.brand-light { color: var(--muted); font-weight: 400; }
.brand-icon { display: block; width: 37px; height: 37px; }
.header-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.status-dot { width: 6px; height: 6px; background: #73966b; border-radius: 50%; }
.intro { padding: 58px 0 38px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
h1 { margin: 0; font-weight: 650; font-size: clamp(32px, 4.5vw, 49px); letter-spacing: -2px; line-height: 1.32; }
.mobile-break { display: none; }
.accent { color: var(--accent); }
.intro-copy { font-size: 15px; color: var(--muted); margin: 19px 0 0; line-height: 1.9; }
.workspace { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: stretch; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: #fffefa; box-shadow: 0 10px 26px #252b1810; }
.target-card { background: #f0f1e9; }
.card-kicker { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #64685b; margin-bottom: 27px; }
.step-number { display: inline-grid; place-items: center; border: 1px solid #cdd0c2; width: 23px; height: 23px; border-radius: 50%; font-size: 10px; }
.card-tag { margin-left: auto; border: 1px solid #dddcd0; border-radius: 6px; padding: 1px 7px; font-size: 10px; color: #77786c; }
h2 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.5px; }
.card-description { color: #686d60; font-size: 13px; line-height: 1.9; margin: 11px 0 24px; }
.target-meta { margin: 0 0 24px; padding: 15px 17px; border-radius: 10px; background: #fffefa99; border: 1px solid #e0e2d8; }
.target-meta > div { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; margin: 5px 0; }
dt { color: var(--muted); flex-shrink: 0; }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.mono { font-family: "SFMono-Regular", Consolas, monospace; letter-spacing: 1px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 9px; padding: 11px 17px; font-size: 13px; line-height: 1.5; font-weight: 550; text-decoration: none; transition: background .15s, transform .15s; }
.button:hover { transform: translateY(-1px); }
.primary { background: var(--accent); color: #fffdf8; }
.primary:hover { background: #a23b1d; }
.open-button { width: 100%; min-height: 47px; margin: 0 0 12px; }
.secondary { background: #30362b; color: #fffdf8; width: 100%; justify-content: space-between; margin-top: 8px; min-height: 45px; }
.secondary:hover { background: #454e3d; }
.subtle { border: 1px solid #d9dcd0; background: #fffefa; padding: 10px 12px; white-space: nowrap; font-size: 11px; }
.subtle:hover { background: #eceee3; }
label { display: block; color: #454a40; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
input, textarea { width: 100%; min-width: 0; color: #393f33; background: #fffefa; border: 1px solid #daddd1; border-radius: 8px; padding: 12px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.7; }
input { text-overflow: ellipsis; }
textarea { resize: vertical; min-height: 91px; display: block; }
textarea::placeholder { color: #8d9283; }
textarea[aria-invalid="true"] { border-color: var(--accent); }
.copy-row { display: flex; gap: 8px; }
.copy-row input { font-size: 10px; padding: 10px; }
.micro-note { font-size: 10px; color: #777b6d; line-height: 1.8; margin: 10px 0 0; }
.feedback { margin: 12px 0 0; font-size: 12px; color: #69714f; overflow-wrap: anywhere; }
.feedback:empty { display: none; }
.converter-result { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 19px; }
.auto-open-setting { border-top: 1px solid #dce0d2; margin-top: 23px; padding-top: 18px; }
.auto-open-label { display: flex; align-items: center; gap: 9px; cursor: pointer; margin: 0; }
.auto-open-label input { width: 17px; height: 17px; margin: 0; padding: 0; flex: 0 0 17px; accent-color: var(--accent); cursor: pointer; }
.cancel-close { margin-top: 10px; }
.empty-note { min-height: 161px; padding: 22px; border: 1px dashed #cdd2c0; border-radius: 12px; text-align: center; color: #686e5f; display: flex; align-items: center; justify-content: center; gap: 20px; }
.empty-note p { margin: 0; font-size: 13px; text-align: left; }
.empty-note p span { color: #8a8e81; font-size: 11px; }
.document-symbol { display: grid; place-items: center; font-size: 30px; color: #8b947c; width: 49px; height: 61px; border: 1px solid #bec5b3; border-radius: 5px; }
[data-state="invalid"] { border-color: #d5a795; }
[data-state="invalid"] #target-title { color: #a63b1b; }
.help-section { padding: 39px 0 37px; }
.help-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.help-heading h2 { font-size: 15px; }
.help-heading > span { color: #8b8e81; font-size: 10px; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
details { border-top: 1px solid var(--line); padding: 13px 0; }
summary { cursor: pointer; font-size: 12px; color: #666d5d; }
details p { font-size: 11px; color: var(--muted); line-height: 1.95; margin: 13px 0 0; }
footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 24px 0 36px; font-size: 11px; color: #7c8073; }
footer > span { white-space: nowrap; }
footer p { text-align: right; font-size: 10px; margin: 0; }
footer p span { font-size: 9px; color: #8b8e84; }
.noscript { border: 1px solid #b94725; padding: 16px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .page-shell { padding: 0 23px; }
  .site-header { min-height: 82px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand-icon { width: 31px; height: 31px; }
  .header-note { font-size: 10px; max-width: 92px; line-height: 1.5; }
  .intro { padding: 38px 0 29px; }
  .intro-copy { font-size: 13px; }
  .workspace { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; border-radius: 15px; }
  .card-kicker { margin-bottom: 22px; }
  .help-grid { grid-template-columns: 1fr; gap: 0; }
  .help-heading > span { display: none; }
  .help-section { padding: 30px 0 19px; }
  details { padding: 15px 0; }
  summary { font-size: 13px; }
  details p { font-size: 12px; }
  footer { display: block; padding-top: 20px; }
  footer p { text-align: left; margin-top: 12px; }
}
@media (max-width: 380px) {
  .mobile-break { display: block; }
  .page-shell { padding: 0 17px; }
  .card { padding: 21px; }
  .copy-row { flex-wrap: wrap; }
  .copy-row input { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
