:root { --primary: #14284b; --accent: #c9a227; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 "Segoe UI", system-ui, Arial, sans-serif; color: #1c2636; background: #fff; }
main { max-width: 780px; margin: 0 auto; padding: 20px 18px 40px; }
.brand-head { text-align: center; margin: 4px 0 18px; }
.brand-head img { height: 110px; max-width: 100%; object-fit: contain; }
.brand-name { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 22px; letter-spacing: 1px; color: var(--primary); }
h1 { color: var(--primary); font-size: 24px; margin: 0 0 6px; border-bottom: 3px solid var(--accent); padding-bottom: 8px; }
h2 { color: var(--primary); font-size: 17px; margin: 24px 0 10px; }
.desc { color: #4d5a6e; margin-bottom: 14px; white-space: pre-wrap; }
.q { margin-bottom: 14px; }
.q > label, .lbl { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.req { color: #b3261e; }
input, select, textarea { font: inherit; width: 100%; padding: 9px 10px; border: 1px solid #b9c3d1; border-radius: 6px; background: #fff; color: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid #8fb2e6; border-color: #6d97d6; }
input[type=checkbox] { width: auto; margin-right: 6px; }
textarea { min-height: 96px; resize: vertical; }
.bad input, .bad select, .bad textarea { border-color: #b3261e; }
.item { border: 1px solid #dfe4ec; border-radius: 8px; padding: 12px; margin-bottom: 10px; background: #fafbfd; }
.item h3 { margin: 0 0 8px; font-size: 14px; color: var(--primary); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 12px; }
.grid label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
button { font: inherit; cursor: pointer; border-radius: 6px; border: 1px solid #b9c3d1; background: #fff; padding: 7px 13px; }
button.submit { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; padding: 11px 26px; font-size: 16px; margin-top: 8px; }
button:disabled { opacity: .6; cursor: default; }
.remove { float: right; font-size: 12px; padding: 2px 8px; color: #b3261e; }
.filelist { font-size: 13px; color: #39465a; margin-top: 4px; }
.filelist div { padding: 2px 0; }
.err { background: #fbe6e4; color: #b3261e; padding: 10px 12px; border-radius: 6px; margin: 10px 0; }
.thanks { background: #e0f3e8; color: #125c33; padding: 22px; border-radius: 8px; font-size: 16px; white-space: pre-wrap; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.actions .submit { margin-top: 0; }
button.later { padding: 11px 18px; font-size: 15px; }
.saved { background: #e2ecfa; color: #14284b; padding: 10px 12px; border-radius: 6px; margin: 10px 0; overflow-wrap: anywhere; }
.item-photos { margin-top: 10px; }
.item-photos label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }

/* The form opened as its own page: looks like the company's website (owner, 2026-11-20). */
body.full { background: #f4f6f9; }
body.full .wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
header.site { background: #fff; border-bottom: 1px solid #e3e7ee; position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
header.site .logo { margin-right: auto; display: flex; align-items: center; text-decoration: none; }
header.site .logo img { height: 58px; width: auto; display: block; }
header.site .brand-name { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 20px; color: var(--primary); }
header.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
header.site nav a { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px; }
header.site nav a:hover { color: #a77a0c; }
header.site .login { background: var(--primary); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 6px; }
section.banner { background: linear-gradient(160deg, var(--primary) 0%, #0b1b36 100%); color: #d7e0ef; }
section.banner .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: 40px; padding-bottom: 44px; }
section.banner h1 { color: #fff; border: 0; padding: 0; font-size: 38px; line-height: 1.15; margin: 0 0 12px; font-weight: 600; }
section.banner p { margin: 0; font-size: 16px; line-height: 1.6; }
.b-side { font-size: 15px; }
.b-title { color: #fff; font-weight: 600; margin-bottom: 6px; }
.b-side ul { list-style: none; padding: 0; margin: 0 0 12px; }
.b-side li { padding: 3px 0 3px 26px; position: relative; }
.b-side li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--primary); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.b-help { font-size: 14px; color: #c5d0e4; }
body.full main { max-width: 820px; margin: -22px auto 40px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(10,34,74,.06), 0 8px 24px rgba(10,34,74,.08); padding: 28px 32px 36px; position: relative; }
body.full button.submit { background: var(--accent); border-color: var(--accent); color: #0b1b36; }
footer.site { color: #6b7688; font-size: 13px; padding: 10px 0 30px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--primary); }
@media (max-width: 760px) {
  section.banner .wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; padding-bottom: 36px; }
  section.banner h1 { font-size: 30px; }
  header.site nav { order: 3; width: 100%; gap: 12px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  header.site nav a { white-space: nowrap; }
  header.site .logo img { height: 46px; }
  body.full main { margin: -16px 10px 30px; padding: 20px 16px 28px; }
}

/* Sales proposal pages (owner, 2026-11-21): CAF's navy and gold, a wider page, lists, steps, tables, a signature card
   and the "request my plan" box. Printing (or saving as PDF) leaves out the menu, buttons and the request box. */
body.proposal main { max-width: 900px; padding: 34px 44px 40px; }
body.proposal .desc { color: #2c3748; font-size: 15.5px; line-height: 1.7; margin: 0 0 14px; }
body.proposal h2 { font-size: 21px; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #e8ebf1; position: relative; }
body.proposal h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--accent); }
body.proposal h2 + h2 { margin-top: 18px; font-size: 16.5px; border: 0; padding-bottom: 0; color: #0f2a4f; }
body.proposal h2 + h2::after { display: none; }
.b-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.b-btn { display: inline-block; font: inherit; font-weight: 600; font-size: 15px; padding: 11px 22px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: #0b1b36; text-decoration: none; cursor: pointer; }
.b-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
ul.blist { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 10px; }
ul.blist li { position: relative; padding: 12px 14px 12px 46px; background: #f7f8fb; border: 1px solid #e6e9f0; border-radius: 8px; line-height: 1.55; }
ul.blist li::before { content: "\2713"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: var(--accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
ul.blist b { color: var(--primary); }
ol.steps { list-style: none; padding: 0; margin: 6px 0 16px; counter-reset: s; }
ol.steps li { display: flex; gap: 16px; padding: 0 0 18px; position: relative; }
ol.steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: #e1e5ee; }
ol.steps .num { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--accent); }
ol.steps .st { font-weight: 700; color: var(--primary); margin: 6px 0 2px; }
ol.steps li > div { line-height: 1.6; color: #2c3748; }
.tbl { overflow-x: auto; margin: 6px 0 18px; border: 1px solid #dfe3eb; border-radius: 10px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { background: var(--primary); color: #fff; text-align: left; font-weight: 600; padding: 11px 14px; border-bottom: 3px solid var(--accent); }
.tbl td { padding: 10px 14px; border-top: 1px solid #edf0f5; vertical-align: top; }
.tbl tbody tr:nth-child(even) td { background: #f8f9fc; }
.tbl td:not(:first-child), .tbl th:not(:first-child) { white-space: nowrap; }
.tbl td:not(:first-child) { color: #1c2636; font-weight: 600; }
.tbl .yes { color: #11683c; }
.tbl .yes::before { content: "\2713  "; color: var(--accent); }
.sig { margin: 26px 0 8px; }
.sclose { margin-bottom: 12px; color: #2c3748; }
.scard { display: flex; align-items: center; gap: 18px; padding-top: 16px; border-top: 1px solid #e6e9f0; }
.scard img { width: 92px; height: auto; padding-right: 18px; border-right: 3px solid var(--accent); }
.sname { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.srow { font-size: 14px; line-height: 1.7; color: #444; }
.srow .sl { display: inline-block; width: 52px; color: var(--accent); font-weight: 700; }
.srow a { color: var(--primary); text-decoration: none; }
.request { margin: 36px -44px -40px; padding: 26px 44px 34px; background: #f4f6fa; border-top: 4px solid var(--accent); border-radius: 0 0 14px 14px; }
.request h2 { margin-top: 0 !important; }
.request .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 760px) {
  body.proposal main { padding: 22px 18px 28px; }
  .request { margin: 28px -18px -28px; padding: 22px 18px 26px; }
  .tbl td:not(:first-child), .tbl th:not(:first-child) { white-space: normal; }
}
@media print {
  body.full, body.proposal { background: #fff; }
  header.site nav, header.site .login, .b-actions, .request, footer.site { display: none !important; }
  header.site { position: static; border: 0; }
  section.banner, .tbl th, ol.steps .num, ul.blist li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.full main, body.proposal main { box-shadow: none; margin: 0 auto; padding: 18px 0; max-width: none; }
  h2, ol.steps li, ul.blist li, .tbl tr, .sig { break-inside: avoid; }
  h2 { break-after: avoid; }
}
.callout { margin: 6px 0 16px; padding: 16px 20px; background: linear-gradient(90deg, #fbf6e6, #fff); border: 1px solid #ecdfb5; border-left: 5px solid var(--accent); border-radius: 8px; font-size: 17px; color: #0f2a4f; line-height: 1.6; }
.callout b { color: var(--primary); }
.tbl.money td:first-child { font-weight: 700; color: var(--primary); }
.request { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.request > *:not(.q), .request > .q:has(textarea), .request > .q:has(select) { grid-column: 1 / -1; }
@media (max-width: 760px) { .request { grid-template-columns: 1fr; } }
@media print { .callout { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
/* Modern form layout (owner, 2026-11-21: "Continue with the File a Claim page"): short questions side by side, each
   section a numbered step, and a progress bar that stays in view. One column on phones. */
form.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; counter-reset: sec; }
form.cols > * { grid-column: 1 / -1; }
form.cols > .q.half { grid-column: auto; }
form.cols > h2 { counter-increment: sec; display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; padding-bottom: 10px; border-bottom: 1px solid #e8ebf1; font-size: 18px; }
form.cols > h2::before { content: counter(sec); flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--accent); }
form.cols > h2:first-of-type { margin-top: 4px; }
form.cols input, form.cols select, form.cols textarea { padding: 11px 12px; border-radius: 8px; background: #fbfcfe; }
form.cols input:focus, form.cols select:focus, form.cols textarea:focus { background: #fff; outline: 3px solid rgba(201,162,39,.35); border-color: var(--accent); }
form.cols input[type=file] { padding: 14px; border: 2px dashed #c9d2df; background: #f8fafc; cursor: pointer; color: #4d5a6e; }
form.cols input[type=file]:hover { border-color: var(--accent); background: #fffdf5; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; background: var(--primary); color: #fff; border: 0; border-radius: 6px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
form.cols .item { border-radius: 10px; background: #f8fafc; }
form.cols button:not(.submit):not(.later):not(.remove) { border-color: var(--primary); color: var(--primary); font-weight: 600; }
.progress { position: sticky; top: 76px; z-index: 4; margin: -28px -32px 18px; padding: 12px 32px 10px; background: rgba(255,255,255,.96); border-bottom: 1px solid #edf0f5; border-radius: 14px 14px 0 0; backdrop-filter: blur(4px); }
.progress .pt { display: flex; justify-content: space-between; font-size: 13px; color: #4d5a6e; margin-bottom: 6px; }
.progress .pt b { color: var(--primary); }
.progress .bar { height: 8px; border-radius: 99px; background: #e8ebf1; overflow: hidden; }
.progress .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #e0bd4a); border-radius: 99px; transition: width .3s ease; }
@media (max-width: 760px) {
  form.cols { grid-template-columns: 1fr; }
  .progress { top: 104px; margin: -20px -16px 14px; padding: 10px 16px 8px; }
}
@media print { .progress { display: none; } }
.cta { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #e1e5ee; color: #2c3748; }
.cta a { color: var(--primary); font-weight: 700; }
