
:root{
  --hf-blue:#0d3b75;
  --hf-blue-dark:#08264d;
  --hf-blue-light:#e8f0fb;
  --hf-green:#18a34a;
  --hf-green-soft:#e8f7ed;
  --hf-slate:#f4f7fa;
  --hf-border:#d8e0ea;
  --hf-text:#1f2937;
  --hf-shadow:0 8px 24px rgba(8,38,77,.08);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Segoe UI',Arial,sans-serif;
  background:linear-gradient(180deg,#f6f8fb 0%,#eef3f8 100%);
  color:var(--hf-text);
}
.topbar{
  background:linear-gradient(90deg,var(--hf-blue-dark),var(--hf-blue));
  color:#fff;
  padding:18px 24px;
  font-size:24px;
  font-weight:700;
  letter-spacing:.3px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand-sub{
  font-size:12px;
  font-weight:600;
  opacity:.9;
  text-transform:uppercase;
  letter-spacing:1px;
}
.wrap{
  max-width:1480px;
  margin:0 auto;
  padding:20px;
}
.hero{
  display:flex;
  gap:16px;
  align-items:stretch;
  margin-bottom:16px;
}
.hero-card{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--hf-shadow);
  padding:18px;
  flex:1;
  border:1px solid rgba(13,59,117,.08);
}
.hero-number{
  font-size:30px;
  font-weight:800;
  color:var(--hf-blue);
}
.hero-label{
  font-size:13px;
  color:#5b6775;
  text-transform:uppercase;
  letter-spacing:.7px;
  font-weight:700;
}
.card{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--hf-shadow);
  padding:20px;
  margin-bottom:18px;
  border:1px solid rgba(13,59,117,.08);
}
.section-title{
  font-size:19px;
  font-weight:800;
  color:var(--hf-blue-dark);
  margin:0 0 14px;
}
.grid{display:grid;gap:14px}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
label{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  font-weight:700;
  color:#344153;
}
input,select,textarea,button{
  font:inherit;
}
input,select,textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--hf-border);
  border-radius:12px;
  background:#fff;
  font-size:15px;
}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--hf-blue);
  box-shadow:0 0 0 3px rgba(13,59,117,.12);
}
textarea{min-height:96px;resize:vertical}
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
button{
  border:0;
  border-radius:12px;
  padding:13px 18px;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.2px;
  transition:.18s ease;
}
button:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(180deg,#1db954,var(--hf-green));
  color:#fff;
}
.btn-secondary{
  background:linear-gradient(180deg,#1b4c8f,var(--hf-blue));
  color:#fff;
}
.btn-light{
  background:#edf2f7;
  color:#243142;
}
.small-note{
  color:#617083;
  font-size:13px;
  line-height:1.45;
}
.table-scroll{overflow:auto}
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}
th{
  background:linear-gradient(180deg,var(--hf-blue),var(--hf-blue-dark));
  color:#fff;
  padding:11px 10px;
  font-size:13px;
  border-right:1px solid rgba(255,255,255,.12);
  white-space:nowrap;
}
th:first-child{border-top-left-radius:12px}
th:last-child{border-top-right-radius:12px;border-right:0}
td{
  padding:10px;
  border-bottom:1px solid #e5ebf2;
  font-size:14px;
  text-align:center;
  background:#fff;
}
td.left{text-align:left}
.row-green td{background:var(--hf-green-soft)}
.row-blue td{background:var(--hf-blue-light)}
.badge{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}
.badge-green{background:#d9f4e3;color:#0e6a30}
.badge-blue{background:#deecff;color:#184f95}
.link-btn{
  color:var(--hf-blue);
  text-decoration:none;
  font-weight:700;
}
.print-shell{
  width:210mm;
  min-height:297mm;
  padding:7mm;
  margin:0 auto;
  background:#fff;
}
.print-title{
  text-align:center;
  font-weight:800;
  font-size:22px;
  margin-bottom:3px;
}
.print-sub{
  text-align:center;
  font-weight:700;
  margin-bottom:8px;
}
.print-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 2fr 2fr 1.4fr 1.4fr;
  border:1px solid #222;
}
.print-grid > div{
  border-right:1px solid #222;
  border-bottom:1px solid #222;
  min-height:34px;
  padding:6px;
  font-size:12px;
}
.print-grid > div:nth-child(7n){border-right:0}
.mono-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
.mono-table th,.mono-table td{
  border:1px solid #222;
  padding:3px 4px;
  font-size:11px;
  height:26px;
}
.mono-table th{background:#efefef;color:#111}
.temp-band{background:#9c9c9c}
.footer-grid{
  display:grid;
  grid-template-columns:35% 30% 35%;
  gap:8px;
  margin-top:8px;
}
.box{
  border:1px solid #222;
  min-height:90px;
  padding:6px;
  font-size:12px;
}
.meta-footer{
  width:100%;
  border-collapse:collapse;
  margin-top:8px;
}
.meta-footer td{
  border:1px solid #222;
  font-size:11px;
  padding:4px;
}
.print-toolbar{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin:12px auto;
  width:210mm;
}
@media (max-width: 980px){
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  .hero{flex-direction:column}
}
@media print{
  body{background:#fff}
  .no-print{display:none !important}
  .wrap{padding:0;max-width:none}
  .card{box-shadow:none;border-radius:0;padding:0;margin:0;border:0}
}
