/* sheet.css - trang so va giay in gia chu */
.sheet {
  direction: rtl;
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 26px;
  background: #f3d51e;
  color: #000;
  border: 2px solid #b89a00;
  min-height: 300px;
}
.grp {
  display: flex;
  gap: 7px;
}
.col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sheet i {
  font:
    700 15px/1.3 "Times New Roman",
    "Noto Serif CJK SC",
    SimSun,
    serif;
  font-style: normal;
  direction: ltr;
  display: block;
  white-space: nowrap;
}
.sheetfit {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0;
}
.sheetfit label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 12px;
  color: var(--mut);
}
.sheetfit input {
  width: auto;
  padding: 4px 6px;
}
.sheetfit input[type="number"] {
  width: 64px;
}
.big i {
  font-size: 26px;
}
.pd {
  padding-top: 3em;
}
.giatop {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #7a4a21;
  color: #f7ead2;
  padding: 10px 14px;
  border-radius: 10px 10px 0 0;
}
.giatop b {
  flex: 1;
  text-align: center;
  font:
    700 17px "Times New Roman",
    Georgia,
    serif;
  color: #f7ead2;
}
.giatop button {
  background: #fffdf9;
  color: #2b2118;
  border: 1px solid #e0d5c6;
}
.giawrap {
  background: #f6f1ea;
  padding: 18px 14px 30px;
  display: flex;
  justify-content: center;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.giapaper {
  background: #fff;
  color: #14100b;
  width: 100%;
  max-width: 800px;
  min-height: 1000px;
  padding: 52px 48px;
  box-shadow: 0 10px 30px #0002;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
}
.giatitle {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
}
.giayear {
  margin: 10px 0;
  break-inside: avoid;
}
.giayear .gl {
  font-weight: 700;
}
.giasec {
  margin-top: 20px;
  break-inside: auto;
}
.giasec h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #7a4a21;
  border-bottom: 1px solid #d9bd93;
  padding-bottom: 4px;
}
.giarow {
  display: flex;
  gap: 10px;
  margin: 6px 0;
  break-inside: avoid;
}
.giarow .gl {
  flex: 0 0 140px;
  font-weight: 700;
}
.giarow .gv {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.giablock {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 6px 0;
  break-inside: avoid;
}
.giaperson {
  margin: 6px 0;
  break-inside: avoid;
}
.giatable {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 2px;
  font-size: 16px;
}
.giatable th,
.giatable td {
  border: 1px solid #d9c7a8;
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}
.giatable thead th {
  background: #f3e7d3;
  font-weight: 700;
}
.giatable .c-stt {
  width: 44px;
  text-align: center;
}
.giatable tbody tr {
  break-inside: avoid;
}
@media (max-width: 600px) {
  .giawrap {
    padding: 10px 8px 20px;
  }
  .giapaper {
    padding: 28px 20px;
    font-size: 16px;
  }
  .giarow .gl {
    flex-basis: 110px;
  }
}
