/* Native HTML Form A reconstructed from the user-supplied HTML template. */
.fa98-doc{
  --fa98-border:#151515;
  --fa98-text:#111;
  --fa98-fill:#223d33;
  color:var(--fa98-text);
  font-family:Arial,"Segoe UI",sans-serif;
}
.fa98-sheet{
  width:210mm;
  min-height:297mm;
  box-sizing:border-box;
  margin:0 auto 14px;
  padding:8mm 8mm 7mm;
  background:#fff;
  box-shadow:0 4px 20px rgba(20,40,55,.12);
  page-break-after:always;
  break-after:page;
  overflow:hidden;
}
.fa98-sheet:last-child{page-break-after:auto;break-after:auto}
.fa98-copy{
  text-align:right;
  font-size:8px;
  line-height:1;
  color:#6a747a;
  font-weight:700;
  margin-bottom:2px;
}
.fa98-form-tag{
  text-align:right;
  font-weight:700;
  font-size:10px;
  margin:0 0 3px;
}
.fa98-corp{
  text-align:center;
  font-weight:800;
  font-size:12.4px;
  line-height:1.18;
  text-transform:uppercase;
  margin:0;
}
.fa98-title{
  text-align:center;
  font-weight:800;
  font-size:11.6px;
  margin:5px 0 1px;
}
.fa98-copies{
  text-align:center;
  font-weight:700;
  font-size:9px;
  color:#385774;
  margin-bottom:7px;
}
.fa98-meta{
  font-size:9.4px;
  line-height:1.35;
  margin-top:2px;
}
.fa98-meta-row{
  display:grid;
  align-items:end;
  gap:5px;
  margin:4px 0;
}
.fa98-meta-row.year{grid-template-columns:1fr auto 82px}
.fa98-meta-row.two{grid-template-columns:auto minmax(90px,1fr) auto minmax(90px,.8fr)}
.fa98-meta-row.four{grid-template-columns:auto minmax(80px,.8fr) auto minmax(60px,.45fr) auto minmax(90px,.8fr)}
.fa98-meta-row.one{grid-template-columns:auto 1fr}
.fa98-label{white-space:nowrap}
.fa98-fill{
  min-width:0;
  border-bottom:1px solid #222;
  padding:0 3px 1px;
  min-height:14px;
  font-weight:600;
  color:var(--fa98-fill);
  overflow-wrap:anywhere;
}
.fa98-fill.center{text-align:center}
.fa98-table-wrap{
  width:100%;
  margin-top:8px;
  overflow:hidden;
}
table.fa98-grid{
  width:100%;
  max-width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  margin:0;
  font-size:6.7px;
}
.fa98-grid th,.fa98-grid td{
  border:1px solid var(--fa98-border);
  padding:2px 2px;
  box-sizing:border-box;
  min-width:0;
  overflow:hidden;
  overflow-wrap:anywhere;
  word-break:normal;
  white-space:normal;
  vertical-align:middle;
}
.fa98-grid th{
  text-align:center;
  font-weight:800;
  line-height:1.12;
  height:32px;
  background:#f4f6f6;
}
.fa98-grid td{
  height:27px;
  line-height:1.13;
  color:var(--fa98-fill);
  font-weight:600;
}
.fa98-grid td.center{text-align:center}
.fa98-grid td.money{text-align:right;white-space:nowrap}
.fa98-grid td.serial{text-align:center;color:#111}
.fa98-grid tr.total td{
  font-weight:800;
  color:#111;
  height:21px;
  background:#f8f7f1;
}
.fa98-grid col:nth-child(1){width:4.44%}
.fa98-grid col:nth-child(2){width:12.30%}
.fa98-grid col:nth-child(3){width:11.12%}
.fa98-grid col:nth-child(4){width:11.59%}
.fa98-grid col:nth-child(5){width:4.40%}
.fa98-grid col:nth-child(6){width:8.93%}
.fa98-grid col:nth-child(7){width:6.23%}
.fa98-grid col:nth-child(8){width:7.76%}
.fa98-grid col:nth-child(9){width:7.61%}
.fa98-grid col:nth-child(10){width:6.23%}
.fa98-grid col:nth-child(11){width:6.25%}
.fa98-grid col:nth-child(12){width:6.30%}
.fa98-grid col:nth-child(13){width:6.84%}

.fa98-memo{
  font-size:9px;
  line-height:1.42;
  margin-top:8px;
}
.fa98-memo-head{
  display:grid;
  grid-template-columns:auto 1fr auto 130px;
  gap:5px;
  align-items:end;
  margin-bottom:7px;
}
.fa98-line{
  display:inline-block;
  border-bottom:1px solid #222;
  min-width:80px;
  padding:0 3px 1px;
  font-weight:600;
  color:var(--fa98-fill);
  overflow-wrap:anywhere;
}
.fa98-line.wide{min-width:180px}
.fa98-sign{
  width:43%;
  margin-left:auto;
  margin-top:28px;
  text-align:center;
  font-size:8.5px;
  line-height:1.4;
}
.fa98-sign-line{border-top:1px solid #333;padding-top:4px}
.fa98-section-rule{
  border-top:2px solid #111;
  border-bottom:1px solid #111;
  text-align:center;
  font-weight:800;
  font-size:10px;
  padding:2px 0;
  margin:9px 0 8px;
}
.fa98-sanction-text{
  font-size:9.2px;
  line-height:1.55;
}
.fa98-two-sign{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  margin-top:44px;
  text-align:center;
  font-size:8.8px;
  line-height:1.35;
}
.fa98-two-sign .box{border-top:1px solid #333;padding-top:5px}
.fa98-small{font-size:8px}
.fa98-muted{color:#66737b}
.fa98-value{font-weight:600;color:var(--fa98-fill)}
.fa98-strike{text-decoration:line-through;text-decoration-thickness:1.5px;color:#9b2626!important}
.fa98-nowrap{white-space:nowrap}
#formAPrint{background:#eef2f4;padding:12px}
@media(max-width:950px){
  #formAPrint{overflow:auto}
}
@media print{
  @page{size:A4 portrait;margin:0}
  #formAPrint{padding:0!important;background:#fff!important}
  .fa98-sheet{
    width:210mm!important;
    height:297mm!important;
    min-height:297mm!important;
    margin:0!important;
    padding:8mm 8mm 7mm!important;
    box-shadow:none!important;
    page-break-after:always!important;
    break-after:page!important
  }
  .fa98-sheet:last-child{page-break-after:auto!important;break-after:auto!important}
}
