* { box-sizing: border-box; }
  body { margin: 0; min-height: 100vh; color: #1d3028; 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; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
  .page { width: min(1120px, calc(100% - 40px)); margin: 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, .help { color: #617067; line-height: 1.6; }
  .workspace { padding: 20px; border: 1px solid #cbd3c8; border-radius: 6px; background: #fffef9; box-shadow: 5px 5px 0 rgba(29,48,40,.09); }
  .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
  .field { min-width: 0; margin-bottom: 16px; }
  .field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
  textarea, input:not([type=checkbox]), select { width: 100%; padding: 12px; border: 1px solid #cbd3c8; border-radius: 4px; background: #fbfcf7; color: #1d3028; font: 13px/1.6 Menlo, Monaco, Consolas, monospace; }
  textarea { min-height: 160px; resize: vertical; }
  textarea:focus, input:focus, select:focus { outline: 2px solid rgba(198,79,53,.35); }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; }
  button { min-height: 40px; padding: 0 16px; border: 1px solid #1d3028; border-radius: 4px; background: transparent; color: #1d3028; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
  button.primary { border-color: #c64f35; background: #c64f35; color: white; }
  button:disabled { opacity: .5; cursor: not-allowed; }
  button:focus-visible, .tool-card:focus-visible { outline: 3px solid rgba(198,79,53,.4); outline-offset: 2px; }
  .toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
  .notice { padding: 12px; border-left: 4px solid #c64f35; background: #fce8e1; color: #762f20; line-height: 1.5; }
  .notice[hidden] { display: none; }
  .privacy-note, .help { font-size: 13px; }
  .privacy-note { color: #256346; }
  .live { font: 700 30px/1.3 Menlo, Monaco, Consolas, monospace; overflow-wrap: anywhere; }
  .result { overflow-wrap: anywhere; white-space: pre-wrap; }
  .tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
  .tool-card { display: block; min-height: 150px; padding: 22px; border: 1px solid #cbd3c8; border-radius: 6px; background: #fffef9; box-shadow: 4px 4px 0 rgba(29,48,40,.08); color: #1d3028; text-decoration: none; }
  .tool-card:hover { border-color: #c64f35; transform: translateY(-2px); }
  .tool-card h2 { margin: 0 0 10px; font: 400 24px Georgia, serif; }
  .tool-card p { margin: 0; color: #617067; font-size: 14px; line-height: 1.55; }
  @media (max-width: 700px) { .page { width: min(100% - 28px, 560px); } main { padding-top: 38px; } h1 { font-size: 36px; } }