:root {
  color-scheme: light;
  --ink: #20251f;
  --muted: #777a70;
  --paper: #fffefa;
  --canvas: #f5f4f0;
  --line: #e6e5de;
  --green: #315e46;
  --green-dark: #244a36;
  --mono: "Courier New", monospace;
  --sans: "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.topbar { height: 72px; padding: 0 clamp(22px, 5.4vw, 82px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8e7e1; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -1px; }
.brand-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px 8px 8px 2px; background: var(--green); color: white; font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.brand-period { color: #bd8052; margin-left: -8px; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.save-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.save-dot { width: 7px; height: 7px; border-radius: 50%; background: #6d9b73; }
.studio-nav-link { color: var(--green); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.studio-nav-link:hover { color: var(--green-dark); text-decoration: underline; }
.button { border: 0; border-radius: 6px; min-height: 43px; padding: 0 17px; font-weight: 600; font-size: 13px; transition: background .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button-quiet { color: #666a60; background: transparent; padding: 0 8px; }
.button-quiet:hover { color: var(--ink); }
.layout { display: grid; grid-template-columns: minmax(390px, 1fr) minmax(430px, 0.92fr); gap: clamp(44px, 7vw, 110px); width: min(1250px, 100%); margin: 0 auto; padding: 56px clamp(28px, 6vw, 88px) 72px; }
.editor { max-width: 540px; }
.intro { margin-bottom: 48px; }
.eyebrow, .preview-topline, .items-header, .paper-label, .preview-items-head, .quote-stamp, .paper-footer span:last-child { font-family: var(--mono); letter-spacing: .09em; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 10px; font-weight: 500; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(40px, 4vw, 55px); line-height: 1.08; letter-spacing: -1.9px; font-weight: 600; }
h1 em { color: var(--green); font-weight: 600; }
.intro-copy { max-width: 370px; margin: 17px 0 0; color: #74766e; font-size: 14px; line-height: 1.7; }
.form-section { padding: 0 0 30px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 22px; }
.step { padding-top: 2px; color: #a17a58; font: 11px var(--mono); }
.section-heading h2 { margin: 0; font-size: 16px; letter-spacing: -.3px; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 13px; }
label { display: flex; flex-direction: column; gap: 8px; color: #55584f; font-size: 11px; font-weight: 600; }
input, textarea, select { width: 100%; border: 1px solid #e3e2dc; border-radius: 5px; outline: none; background: rgba(255,255,255,.55); color: var(--ink); font-size: 12px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
input, select { height: 41px; padding: 0 11px; }
textarea { resize: vertical; min-height: 84px; padding: 11px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #a7a79f; }
input:focus, textarea:focus, select:focus { border-color: #66866f; box-shadow: 0 0 0 3px rgba(49,94,70,.08); }
.items-header { display: grid; grid-template-columns: 1fr 105px 28px; gap: 10px; padding: 0 0 9px 1px; color: #9a9b92; font-size: 9px; }
.items-header span:nth-child(2) { grid-column: 2; }
.line-item-row { display: grid; grid-template-columns: 1fr 105px 28px; gap: 10px; align-items: center; margin-bottom: 9px; }
.line-item-row input { background: #fffefa; }
.line-item-row .amount-input { text-align: right; }
.remove-item { width: 28px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: #a7a79f; font-size: 18px; border-radius: 4px; }
.remove-item:hover { background: #f0e9e2; color: #905f4d; }
.add-item { padding: 7px 0; border: 0; background: none; color: var(--green); font-size: 12px; font-weight: 600; }
.add-item span { margin-right: 5px; font-size: 15px; }
.currency-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.currency-row label { display: block; }
.currency-row select { width: 190px; height: 36px; font-size: 11px; }
.notes-label { margin-top: 17px; }
.privacy-note { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; color: #777a70; font-size: 11px; }
.privacy-note span { color: var(--green); font-size: 17px; }
.preview-column { min-width: 0; padding-top: 8px; }
.preview-topline { display: flex; justify-content: space-between; margin: 0 3px 14px; color: #85877e; font-size: 9px; }
.preview-indicator { display: flex; align-items: center; gap: 6px; }
.preview-indicator i { width: 6px; height: 6px; border-radius: 50%; background: #72a07a; }
.quote-paper { min-height: 500px; padding: 38px 40px 24px; background: var(--paper); box-shadow: 0 8px 32px rgba(44,47,37,.07); }
.paper-brand-row { display: flex; justify-content: space-between; align-items: flex-start; }
.paper-label { color: #989990; font-size: 8px; }
.paper-brand-row h2 { margin: 8px 0 3px; font-family: Georgia, serif; font-size: 20px; font-weight: 600; }
.muted { margin: 0; color: #85877e; font-size: 10px; }
.quote-stamp { padding: 7px 9px; border: 1px solid #deded6; color: var(--green); text-align: center; font-size: 8px; line-height: 1.6; }
.paper-rule { height: 1px; margin: 23px 0 20px; background: #e9e8e2; }
.paper-meta { display: flex; justify-content: space-between; gap: 12px; }
.paper-meta p { margin: 7px 0 0; font-size: 10px; line-height: 1.7; }
.paper-meta .strong { font-weight: 700; }
.meta-right { text-align: right; }
.paper-intro { margin: 30px 0 19px; color: #686a62; font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.preview-items-head { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #e9e8e2; color: #989990; font-size: 8px; }
.preview-items { min-height: 62px; }
.preview-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f0efe9; font-size: 10px; }
.preview-item span:first-child { overflow-wrap: anywhere; }
.preview-item span:last-child { white-space: nowrap; }
.paper-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 19px; font-size: 11px; }
.paper-total strong { font-family: Georgia, serif; font-size: 20px; font-weight: 600; }
.paper-note { padding: 13px 14px; background: #f7f6f1; }
.paper-note p { margin: 8px 0 0; color: #666961; font-size: 10px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.paper-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; color: #92938b; font-size: 9px; }
.paper-footer span:last-child { font-size: 7px; }
.preview-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; margin-top: 17px; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-outline { border: 1px solid #dcdcd3; background: transparent; color: #4c5149; }
.button-outline:hover { background: #ecebe5; }
.action-hint { min-height: 15px; margin: 10px 0 0; color: #797c73; text-align: center; font-size: 10px; }
.kit-offer { margin-top: 23px; padding: 22px; border: 1px solid #dedfd5; background: #f1f2eb; }
.kit-offer .eyebrow { margin: 0 0 9px; font-size: 9px; }
.kit-offer h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 21px; font-weight: 600; letter-spacing: -.3px; }
.kit-offer > p:not(.eyebrow):not(.checkout-status):not(.checkout-disclosure) { margin: 0; color: #6d7067; font-size: 11px; line-height: 1.6; }
.kit-price { display: flex; align-items: baseline; gap: 9px; margin: 16px 0 13px; }
.kit-price strong { font-family: Georgia, serif; font-size: 24px; }
.kit-price span { color: #777a70; font-size: 10px; }
#paypal-button-container { max-width: 420px; min-height: 0; }
#paypal-button-container:empty { display: none; }
.account-controls { margin-top: 16px; }
.account-form { display: grid; gap: 12px; }
.account-form label { font-size: 10px; }
.account-form input { background: var(--paper); }
.account-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.account-actions .button, .account-summary .button { min-height: 38px; font-size: 11px; }
.account-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #656a61; font-size: 10px; overflow-wrap: anywhere; }
.account-summary strong { color: var(--ink); }
.checkout-status { margin: 9px 0 0; color: #656a61; font-size: 10px; line-height: 1.5; }
.checkout-disclosure { margin: 8px 0 0; color: #85877e; font-size: 9px; line-height: 1.5; }
.checkout-disclosure a, .site-footer a { color: var(--green); }
.studio-workspace { margin-top: 18px; padding: 24px; border: 1px solid #dedfd5; background: #f1f2eb; }
.studio-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.studio-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 600; }
.studio-heading p { margin: 7px 0 0; color: #6d7067; font-size: 11px; line-height: 1.55; }
.studio-save-status { flex: 0 0 auto; color: #5d6f5f; font-size: 10px; }
.studio-card { margin-top: 14px; padding: 17px; border: 1px solid #e0e1d9; background: var(--paper); }
.studio-card h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 17px; font-weight: 600; }
.studio-checklist { display: grid; gap: 11px; }
.studio-checklist label, .scope-option { display: flex; flex-direction: row; align-items: flex-start; gap: 9px; color: #55584f; font-size: 11px; font-weight: 400; line-height: 1.5; }
.studio-checklist input, .scope-option input { width: 15px; height: 15px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--green); }
.studio-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.studio-pricing-grid label, .proposal-fields label { font-size: 10px; }
.studio-total { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #55584f; font-size: 11px; }
.studio-total strong { color: var(--green); font-family: Georgia, serif; font-size: 19px; }
.studio-scope-list { display: grid; gap: 13px; }
.scope-option strong { display: block; color: var(--ink); font-size: 11px; }
.scope-option span { display: block; color: #777a70; }
.proposal-fields { display: grid; gap: 13px; }
.proposal-fields textarea { min-height: 68px; background: var(--paper); }
.studio-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.studio-actions .button { min-height: 38px; font-size: 11px; }
.studio-email-list { display: grid; gap: 10px; }
.studio-email { padding: 12px; background: #f7f6f1; }
.studio-email h4 { margin: 0 0 7px; font-size: 11px; }
.studio-email p { margin: 0; color: #6d7067; font-size: 10px; line-height: 1.5; white-space: pre-wrap; }
.studio-print { margin-top: 12px; }
.studio-message { min-height: 15px; margin: 8px 0 0; color: #656a61; font-size: 10px; }
.disclaimer { margin: 17px 4px 0; color: #8b8c84; text-align: center; font-size: 9px; line-height: 1.55; }
.site-footer { display: flex; justify-content: space-between; padding: 18px clamp(22px, 5.4vw, 82px); border-top: 1px solid #e8e7e1; color: #898a82; font-size: 10px; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; max-width: 660px; gap: 45px; padding-top: 40px; }
  .editor { max-width: none; }
  .intro { margin-bottom: 38px; }
  .preview-column { padding-top: 0; }
}
@media (max-width: 520px) {
  .topbar { height: 62px; padding: 0 18px; }
  .save-status { font-size: 0; }
  .topbar-right { gap: 9px; }
  .button-quiet { font-size: 11px; padding: 0 3px; }
  .studio-nav-link { max-width: 112px; font-size: 9px; line-height: 1.25; white-space: normal; text-align: center; }
  .layout { padding: 34px 19px 48px; }
  h1 { font-size: 43px; }
  .field-grid { grid-template-columns: 1fr; }
  .quote-paper { padding: 30px 24px 22px; }
  .preview-actions { grid-template-columns: 1fr; }
  .studio-workspace { padding: 17px; }
  .studio-heading { flex-direction: column; }
  .studio-pricing-grid { grid-template-columns: 1fr; }
  .site-footer { gap: 12px; padding: 16px 19px; font-size: 9px; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; }
  .topbar, .editor, .preview-topline, .preview-actions, .action-hint, .kit-offer, .studio-workspace, .disclaimer, .site-footer { display: none !important; }
  .layout { display: block; width: 100%; max-width: none; padding: 0; }
  .preview-column { padding: 0; }
  .quote-paper { min-height: 0; padding: 18mm 14mm 12mm; box-shadow: none; border: 0; }
}
