:root { --ink: #10182B; --muted: #5F6B7E; --coral: #C83743; --canvas: #F7F4EE; --line: #E7E2D8; }
    * { box-sizing: border-box; }
    body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
    .top { max-width: 820px; margin: 0 auto; padding: 28px 20px 8px; }
    .top a { color: var(--ink); font-weight: 800; text-decoration: none; }
    .top h1 { margin: 18px 0 6px; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
    .top p { margin: 0 0 8px; color: var(--muted); }
    .note { margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: #FFF1DC; color: #7A4A12; font-size: 14.5px; }
    .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
    button { font: 700 15px system-ui, sans-serif; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; }
    .primary { background: #FF5A5F; color: #fff; }
    .secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
    .sheet { max-width: 820px; margin: 0 auto 60px; padding: 56px 64px; background: #fff; border: 1px solid var(--line); border-radius: 18px; font-family: Georgia, "Times New Roman", serif; font-size: 16.5px; line-height: 1.9; }
    .sheet h2 { text-align: center; font-size: 22px; letter-spacing: 0.08em; margin: 0 0 32px; }
    .field { display: inline-block; min-width: 180px; border-bottom: 1px solid #999; padding: 0 6px; font-family: system-ui, sans-serif; font-size: 15px; outline: none; }
    .field:empty::before { content: attr(data-placeholder); color: #A0A6B2; }
    .field.wide { min-width: 340px; }
    .signatures { display: flex; justify-content: space-between; gap: 40px; margin-top: 90px; }
    .signatures div { flex: 1; text-align: center; border-top: 1px solid var(--ink); padding-top: 8px; font-size: 14px; }
    .foot { max-width: 820px; margin: -40px auto 40px; padding: 0 20px; color: var(--muted); font-size: 13px; }
    @media (max-width: 640px) { .sheet { padding: 32px 22px; border-radius: 0; } .field, .field.wide { min-width: 140px; } .signatures { flex-direction: column; gap: 70px; } }
    @media print { body { background: #fff; } .top, .foot, .actions, .note { display: none; } .sheet { border: 0; margin: 0; padding: 0; max-width: none; } .field { border-bottom-color: #000; } .field:empty::before { color: transparent; } }
.field.full { min-width: 100%; }
