:root { color-scheme: light; --ink: #1d3028; --muted: #617067; --line: #cbd3c8; --accent: #c64f35; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
    * { box-sizing: border-box; }
    body { min-height: 100vh; margin: 0; color: var(--ink); background-color: #f3f5ec; background-image: linear-gradient(rgba(29, 48, 40, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 48, 40, .045) 1px, transparent 1px); background-size: 28px 28px; }
    .page { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
    main { padding: 54px 0 42px; }
    .intro { max-width: 750px; margin-bottom: 28px; }
    .eyebrow { color: #9f3825; font-size: 12px; font-weight: 800; text-transform: uppercase; }
    h1 { margin: 10px 0 8px; font: 400 44px/1.08 Georgia, "Times New Roman", serif; }
    .intro p { margin: 0; color: var(--muted); line-height: 1.6; }
    .workspace { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fffef9; box-shadow: 5px 5px 0 rgba(29, 48, 40, .09); }
    .editors { display: grid; grid-template-columns: 1fr 1fr; }
    .editor { min-width: 0; padding: 18px; }
    .editor + .editor { border-left: 1px solid var(--line); }
    .editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
    label { font-size: 13px; font-weight: 800; }
    .state { color: var(--muted); font-size: 11px; }
    textarea { display: block; width: 100%; min-height: 310px; resize: vertical; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #fbfcf7; color: var(--ink); font: 13px/1.65 Menlo, Monaco, Consolas, monospace; }
    textarea:focus { outline: 2px solid rgba(198, 79, 53, .35); border-color: var(--accent); }
    .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: #f7f8f2; }
    button { min-height: 40px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
    button.primary { border-color: var(--accent); background: var(--accent); color: white; }
    button.copy { min-height: 32px; padding: 0 10px; font-size: 12px; }
    button:disabled { border-color: var(--line); background: #eef2ec; color: #8a958e; cursor: not-allowed; }
    button:focus-visible { outline: 3px solid rgba(198, 79, 53, .3); outline-offset: 2px; }
    .hint { margin-left: auto; color: var(--muted); font-size: 12px; }
    .error { margin: 14px 18px 0; padding: 14px; border-left: 4px solid var(--accent); border-radius: 4px; background: #fce8e1; color: #762f20; font-size: 13px; }
    .details { color: var(--muted); font-size: 13px; line-height: 1.6; }
    @media (max-width: 700px) { .page { width: min(100% - 28px, 560px); } main { padding-top: 38px; } h1 { font-size: 36px; } .editors { grid-template-columns: 1fr; } .editor + .editor { border-top: 1px solid var(--line); border-left: 0; } textarea { min-height: 230px; } .hint { width: 100%; margin: 2px 0 0; } }