:root{ --navy:#0f2a43; --teal:#14808a; --saffron:#f0a030; --cream:#fbf7ef; --ink:#1d2a36; --mute:#5c6b78; --line:#c9d1d7; }
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{ margin:0; font-family:"Helvetica Neue",Arial,sans-serif; color:var(--ink); background:#eef1f4; line-height:1.55; font-size:16px; }
.wrap{ max-width:880px; margin:0 auto; padding:0 16px; }
h1,h2,h3{ font-family:Georgia,"Times New Roman",serif; color:var(--navy); line-height:1.2; }
h1{ font-size:clamp(28px,6vw,44px); margin:14px 0 10px; color:#fff; }
h2{ font-size:clamp(22px,4.5vw,28px); margin:10px 0 12px; }
h3{ font-size:18px; margin:22px 0 8px; }
h3 small{ font-weight:normal; font-size:14px; color:var(--mute); }
.hero{ background:var(--navy); color:#fff; padding:42px 0 36px; border-bottom:6px solid var(--saffron); }
.hero .kicker{ letter-spacing:3px; font-size:12px; color:var(--saffron); text-transform:uppercase; }
.hero .sub{ color:#cfe3ea; font-size:18px; max-width:640px; }
.hero blockquote{ margin:22px 0; border-left:3px solid var(--saffron); padding-left:16px; font-family:Georgia,serif; font-style:italic; font-size:19px; max-width:620px; }
.hero .byline{ color:#cfe3ea; font-size:14px; }
.hero .byline b{ color:#fff; }
main{ padding-top:20px; padding-bottom:40px; }
.card{ background:#fff; border-radius:10px; padding:22px 20px; margin:18px 0; box-shadow:0 1px 3px rgba(15,42,67,.08); }
.tag{ display:inline-block; background:var(--teal); color:#fff; font-size:11px; letter-spacing:2px; text-transform:uppercase; padding:4px 10px; border-radius:3px; }
p{ margin:0 0 12px; }
.note{ color:var(--mute); font-size:14px; }
.hint{ display:block; color:var(--mute); font-size:13px; font-style:italic; font-weight:normal; margin:2px 0 4px; }
.box{ background:var(--cream); border-left:4px solid var(--saffron); padding:14px 16px; margin:14px 0; }
.box.teal{ background:#eef7f8; border-left-color:var(--teal); }
.box ol,.box ul{ margin:0; padding-left:20px; } .box li{ margin-bottom:8px; }
ol,ul{ padding-left:22px; }
.tablewrap{ overflow-x:auto; margin:10px 0; }
table{ width:100%; border-collapse:collapse; }
th{ background:var(--navy); color:#fff; font-weight:normal; font-size:13px; text-align:left; padding:8px 10px; }
td{ border:1px solid var(--line); padding:8px 10px; vertical-align:top; font-size:14px; }
td textarea,td input{ width:100%; }
label{ display:block; font-size:14px; font-weight:bold; color:var(--navy); }
label.q{ font-weight:normal; margin:18px 0 0; font-size:16px; }
label.q b{ color:var(--navy); }
input[type=text],input[type=tel],input[type=email],input[type=number],select,textarea{ font:inherit; font-size:16px; color:var(--ink); border:1px solid #aeb9c2; border-radius:6px; padding:9px 10px; background:#fff; width:100%; margin-top:5px; }
textarea{ resize:vertical; min-height:44px; overflow:hidden; line-height:1.45; }
input:focus,textarea:focus,select:focus{ outline:2px solid var(--teal); outline-offset:1px; }
.score{ text-align:center; max-width:90px; margin:0 auto; display:block; }
.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:14px 0; }
.check{ display:flex; gap:10px; align-items:flex-start; font-weight:normal; font-size:14px; margin-top:6px; }
.check input{ width:20px; height:20px; margin-top:2px; flex:none; }
.hp{ position:absolute; left:-9999px; top:-9999px; height:0; overflow:hidden; }
.total{ font-size:18px; margin-top:14px; }
.bandtxt{ display:inline-block; margin-left:8px; background:var(--cream); border:1px solid var(--saffron); padding:2px 10px; border-radius:20px; font-size:13px; }
.bandtxt:empty{ display:none; }
.bands li{ margin-bottom:6px; }
.meta{ border-left:3px solid #d8dee3; padding-left:14px; margin:18px 0; }
.meta .mt{ font-weight:bold; color:var(--navy); margin-bottom:6px; }
.meta .mt i{ font-weight:normal; color:var(--mute); }
.log td{ padding:4px 6px; } .log input,.log select{ margin:0; padding:6px; font-size:15px; }
.submit{ border:2px solid var(--saffron); }
.actions{ display:flex; gap:12px; flex-wrap:wrap; margin:14px 0 6px; }
button{ font:inherit; font-weight:bold; border:0; border-radius:8px; padding:13px 22px; cursor:pointer; }
button.primary{ background:var(--saffron); color:var(--navy); }
button.secondary{ background:var(--navy); color:#fff; }
button[disabled]{ opacity:.55; cursor:wait; }
.msg{ font-weight:bold; min-height:22px; } .msg.ok{ color:#13795b; } .msg.err{ color:#b3261e; }
.foot{ text-align:center; color:var(--mute); font-size:13px; padding:10px 0 30px; }
.err-field{ border-color:#b3261e !important; background:#fff6f5; }
a{ color:var(--teal); }

@media (max-width:700px){
  .grid3{ grid-template-columns:1fr; }
  table.stack,table.stack tbody,table.stack tr,table.stack td{ display:block; width:100%; }
  table.stack tr:first-child{ display:none; }
  table.stack tr{ border:1px solid var(--line); border-radius:8px; margin-bottom:14px; padding:6px; }
  table.stack td{ border:0; padding:6px 4px; }
  table.stack td::before{ content:attr(data-l); display:block; font-size:12px; font-weight:bold; color:var(--teal); text-transform:uppercase; letter-spacing:.5px; margin-bottom:2px; }
  .score{ margin:0; max-width:120px; }
  .log{ min-width:560px; }
}

@media print{
  @page{ size:A4; margin:14mm; }
  body{ background:#fff; font-size:11pt; }
  .noprint,.hp{ display:none !important; }
  .hero{ padding:18px 0; } .wrap{ max-width:none; padding:0; }
  .card{ box-shadow:none; padding:10px 0; margin:10px 0; break-inside:auto; }
  textarea,input,select{ border:0 !important; border-bottom:1px solid #999 !important; border-radius:0; padding:2px 0; background:transparent !important; overflow:visible; }
  textarea{ resize:none; }
  .tablewrap{ overflow:visible; }
  table.stack,table.stack tbody,table.stack tr,table.stack td{ display:revert; width:auto; }
  table.stack tr:first-child{ display:table-row; }
  table.stack td::before{ content:none; }
  td,th{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .hero,th,.tag{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  tr{ break-inside:avoid; }
}
