/* directa. Facturación — application styles.
 * The base is the approved visual spec (mockup-sistema-facturacion-v4.html);
 * the block at the end adds what a live application needs and the static mockup
 * did not: login, flash messages, action menus, empty states and forms. */

:root {
  --red: #e01e25;
  --red-h: #b5161c;
  --green: #1e9e63;
  --bg: #f5f4f2;
  --line: #e4e1dd;
  --line-2: #d6d2cc;
  --t1: #1b1917;
  --t2: #5f5852;
  --t3: #8c847c;
  --side: #1a1817;
  --side-t: #c9c3bc;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--t1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.num {
  font-variant-numeric: tabular-nums;
}
.app {
  display: flex;
  min-height: 100vh;
}
.side {
  width: 236px;
  flex: none;
  background: var(--side);
  color: var(--side-t);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.brand {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex: none;
}
.brand .w {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand .w i {
  font-style: normal;
  color: var(--red);
}
.brand .p {
  font-size: 10.5px;
  color: #8b847d;
  margin-left: auto;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav {
  padding: 8px 8px 14px;
  display: grid;
  gap: 1px;
}
.nav .g {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6862;
  padding: 12px 10px 4px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--side-t);
  position: relative;
  cursor: pointer;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.nav a.on {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.nav a.on::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}
.nav a .c {
  margin-left: auto;
  font-size: 11px;
  color: #6e6862;
}
.nav a.muted {
  color: #6e6862;
  cursor: default;
}
.nav a.muted:hover {
  background: none;
  color: #6e6862;
}
.nav a.muted .c {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.side .foot {
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  color: #8b847d;
  display: grid;
  gap: 3px;
  flex: none;
}
.side .foot b {
  color: #fff;
  font-weight: 600;
}
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.top {
  height: 52px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.sel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.sel small {
  color: var(--t3);
  font-weight: 400;
}
.sel .car {
  color: var(--t3);
  font-size: 10px;
}
.sel.static {
  cursor: default;
}
.env {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #136a43;
  background: #e8f7ef;
  border: 1px solid #cbebd9;
  padding: 3px 8px;
  border-radius: 4px;
}
.env.test {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}
.search {
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  color: var(--t3);
}
.search input {
  border: none;
  background: none;
  outline: none;
  font: inherit;
  color: var(--t1);
  flex: 1;
  min-width: 0;
}
.search kbd {
  margin-left: auto;
}
kbd {
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--t2);
  background: #fff;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 5px;
}
.sp {
  flex: 1;
}
.usr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.usr .av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2f2b28;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.usr small {
  display: block;
  font-weight: 400;
  color: var(--t3);
  font-size: 11px;
  margin-top: -2px;
}
.usr form {
  margin: 0;
}
.usr .lo {
  border: none;
  background: none;
  color: var(--t3);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 4px;
}
.usr .lo:hover {
  background: var(--bg);
  color: var(--t1);
}
.view {
  padding: 20px 24px 40px;
}
.ph {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.ph h1 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ph p {
  color: var(--t3);
  font-size: 12.5px;
}
.ph .r {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 5px;
  border: 1px solid var(--line-2);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--t1);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--bg);
}
.btn.pri {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn.pri:hover {
  background: var(--red-h);
  border-color: var(--red-h);
}
.btn.dark {
  background: var(--t1);
  border-color: var(--t1);
  color: #fff;
}
.btn.dark:hover {
  background: #2f2b28;
}
.btn kbd {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.btn.sm {
  padding: 4px 8px;
  font-size: 12px;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.inp {
  width: 100%;
  font: inherit;
  font-size: 13px;
  color: var(--t1);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 7px 9px;
  outline: none;
}
.inp:focus {
  border-color: var(--t1);
  box-shadow: 0 0 0 3px rgba(27, 25, 23, 0.08);
}
select.inp {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--t3) 50%),
    linear-gradient(135deg, var(--t3) 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 55%,
    calc(100% - 9px) 55%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  padding-right: 24px;
}
label.l {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--t2);
  margin-bottom: 5px;
}
.g {
  display: grid;
  gap: 10px;
}
.g.c2 {
  grid-template-columns: 1fr 1fr;
}
.g.c3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.g.c4 {
  grid-template-columns: repeat(4, 1fr);
}
.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.bar .inp {
  width: auto;
}
.bar .f {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--t2);
  font-size: 12.5px;
}
.bar .f b {
  color: var(--t1);
  font-weight: 500;
}
.bar form {
  display: contents;
}
.per {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}
.per a {
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--t2);
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.per a:last-child {
  border-right: none;
}
.per a:hover {
  background: var(--bg);
}
.per a.on {
  background: #e8f7ef;
  color: #136a43;
  font-weight: 500;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.card.pad {
  padding: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
.tablewrap {
  overflow-x: auto;
}
th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--t3);
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: #faf9f8;
  white-space: nowrap;
}
td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}
tbody tr:hover td {
  background: #fbfaf9;
}
tbody tr:last-child td {
  border-bottom: none;
}
.ta-r {
  text-align: right;
}
td.mono {
  font-weight: 500;
  letter-spacing: 0.01em;
}
td .sub {
  display: block;
  font-size: 11.5px;
  color: var(--t3);
  margin-top: 1px;
}
.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid transparent;
}
.st::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.st.ok {
  color: #136a43;
  background: #e8f7ef;
  border-color: #cbebd9;
}
.st.pend {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}
.st.rej {
  color: #9f1239;
  background: #ffe4e6;
  border-color: #fecdd3;
}
.st.off {
  color: var(--t2);
  background: #efedea;
  border-color: #e4e1dd;
}
.tf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--t3);
  border-top: 1px solid var(--line);
}
.pg {
  display: flex;
  gap: 4px;
}
.pg span,
.pg a {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--t2);
}
.pg span.on {
  background: var(--t1);
  color: #fff;
  border-color: var(--t1);
}
.act {
  color: var(--t3);
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.1em;
  position: relative;
  user-select: none;
}
.card h3 {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card h3 .r {
  margin-left: auto;
  display: flex;
  gap: 6px;
  font-weight: 500;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 16px;
}
.kpi .l2 {
  font-size: 12px;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.kpi .v {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.kpi .d {
  font-size: 11.5px;
  color: var(--t3);
  margin-top: 4px;
}
.kpi .d b {
  font-weight: 500;
}
.kpi .d.up b {
  color: var(--green);
}
.kpi .d.warn b {
  color: #b45309;
}
.kpi .d.down b {
  color: var(--red);
}
.two {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.chart {
  padding: 6px 12px 10px;
}
.chart svg {
  width: 100%;
  height: 170px;
  display: block;
}
.tabs {
  display: inline-flex;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px;
}
.tabs a {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--t2);
  cursor: pointer;
}
.tabs a.on {
  background: #fff;
  color: var(--t1);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
/* emitir */
.emit {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}
.form .sec {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.form .sec:last-child {
  border-bottom: none;
}
.form h2 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form h2 span {
  font-weight: 400;
  color: var(--t3);
  font-size: 12px;
  margin-left: auto;
}
.found {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--t2);
}
.found i {
  font-style: normal;
  color: var(--green);
  font-weight: 600;
}
.newc {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 5px;
}
.newc .m {
  font-size: 12.5px;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.newc .m b {
  font-weight: 600;
}
.items td {
  padding: 6px 8px;
}
.items .inp {
  padding: 5px 8px;
}
.items th:first-child,
.items td:first-child {
  padding-left: 12px;
}
.items tbody tr:hover td {
  background: none;
}
.sum {
  position: sticky;
  top: 68px;
}
.sum .ln {
  display: flex;
  justify-content: space-between;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--t2);
}
.sum .ln b {
  color: var(--t1);
  font-weight: 500;
}
.sum .tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.sum .tot span {
  font-size: 12px;
  color: var(--t3);
  font-weight: 500;
}
.sum .tot b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.sum .meta {
  padding: 10px 14px;
  background: #faf9f8;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--t3);
}
.sum .meta div {
  display: flex;
  justify-content: space-between;
}
.sum .meta b {
  color: var(--t1);
  font-weight: 500;
}
.sum .acts {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.sum .acts .btn {
  width: 100%;
  justify-content: center;
  padding: 9px;
}
.note {
  padding: 9px 12px;
  border-radius: 5px;
  background: #e8f7ef;
  border: 1px solid #cbebd9;
  font-size: 12px;
  color: #136a43;
  margin: 0 14px 12px;
}
.res {
  margin-top: 12px;
}
.res dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 12px;
  font-size: 13px;
}
.res dt {
  color: var(--t3);
}
.res dd {
  font-weight: 500;
}
.veil {
  position: fixed;
  inset: 0;
  background: rgba(27, 25, 23, 0.45);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}
.dlg {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.dlg h4 {
  font-size: 15px;
  font-weight: 600;
  padding: 16px 18px 6px;
}
.dlg p {
  padding: 0 18px 12px;
  color: var(--t2);
  font-size: 13px;
  line-height: 1.5;
}
.dlg .wrapT {
  margin: 0 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.dlg .fo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  gap: 8px;
}
.dlg .fo small {
  color: var(--t3);
  font-size: 11.5px;
}
.dlg .fo .bs {
  display: flex;
  gap: 8px;
}

/* ---- additions beyond the static mockup ---- */
[hidden] {
  display: none !important;
}
.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--t3);
  font-size: 13px;
}
.empty b {
  display: block;
  color: var(--t1);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}
.flash {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 14px;
  border: 1px solid transparent;
}
.flash.ok {
  color: #136a43;
  background: #e8f7ef;
  border-color: #cbebd9;
}
.flash.err {
  color: #9f1239;
  background: #ffe4e6;
  border-color: #fecdd3;
}
.flash.info {
  color: #1e4620;
  background: #eff6f0;
  border-color: #cbebd9;
}
.menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.25);
  min-width: 150px;
  z-index: 20;
  overflow: hidden;
  text-align: left;
}
.menu a,
.menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font: inherit;
  font-size: 12.5px;
  color: var(--t1);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.menu a:hover,
.menu button:hover {
  background: var(--bg);
}
.menu .sepd {
  border-top: 1px solid var(--line);
}
.menu form {
  margin: 0;
}
/* login */
.loginwrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--side);
}
.loginbox {
  width: min(380px, 100%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  padding: 28px;
}
.loginbox .w {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--t1);
  letter-spacing: -0.02em;
  text-align: center;
}
.loginbox .w i {
  font-style: normal;
  color: var(--red);
}
.loginbox .sub {
  text-align: center;
  color: var(--t3);
  font-size: 12.5px;
  margin: 4px 0 20px;
}
.loginbox label.l {
  margin-top: 12px;
}
.loginbox .btn {
  width: 100%;
  justify-content: center;
  padding: 10px;
  margin-top: 18px;
}
.loginbox .hint {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--t3);
  text-align: center;
  line-height: 1.5;
}
.detailgrid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}
/* item description cell with the 🔍 lupa button */
.desccell {
  display: flex;
  gap: 6px;
  align-items: center;
}
.desccell .inp {
  flex: 1;
  min-width: 0;
}
.desccell [data-lupa] {
  flex: none;
  padding: 5px 8px;
  line-height: 1;
}
/* address block */
.geo .m2 {
  font-size: 12px;
  color: var(--t2);
  margin-bottom: 8px;
}
/* product search modal results */
#prodResults tr {
  cursor: pointer;
}
#prodResults tr.sel td {
  background: #e8f7ef;
}
#prodResults td.empty {
  color: var(--t3);
  text-align: center;
  padding: 16px;
}
/* configuration switches (real checkboxes) and collapsible sidebar group */
.tg {
  align-items: flex-start;
  cursor: pointer;
}
.tg input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: none;
  accent-color: var(--green);
}
.tg small {
  display: block;
  font-size: 11.5px;
  color: var(--t3);
}
.nav .grp-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav .grp-toggle .c {
  margin-left: auto;
  font-size: 11px;
}
.nav .grp {
  display: grid;
  gap: 1px;
}
.pane .fs h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---- Modelo de factura (KUDE), from the mockup ---- */
.file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #faf9f8;
  margin: 10px 0;
}
.file .ic {
  width: 34px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: #fff;
  position: relative;
  flex: none;
}
.file .ic::after {
  content: attr(data-ext);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  text-align: center;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--t2);
}
.file b {
  font-weight: 500;
}
.file small {
  display: block;
  color: var(--t3);
  font-size: 11.5px;
}
.drop {
  border: 1.5px dashed var(--line-2);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  color: var(--t3);
  font-size: 12.5px;
  background: #fff;
}
.drop b {
  display: block;
  color: var(--t1);
  font-weight: 500;
  margin-bottom: 3px;
}
.tpl {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
}
.prev {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
}
.prev .l3 {
  font-size: 11.5px;
  color: var(--t3);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.sheet {
  background: #fff;
  border: 1px solid var(--line-2);
  aspect-ratio: 1/1.3;
  padding: 14px;
  font-size: 8px;
  color: #222;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.sheet .h {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #999;
  padding-bottom: 6px;
  margin-bottom: 6px;
}
.sheet .h b {
  font-size: 10px;
}
.sheet .box {
  border: 1px solid #999;
  padding: 4px 6px;
  font-size: 7px;
  text-align: center;
}
.sheet table {
  margin-top: 8px;
}
.sheet th,
.sheet td {
  padding: 2px 3px;
  border-bottom: 1px solid #ddd;
  background: none;
  font-size: 7px;
  white-space: normal;
}
.sheet .tt {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
  font-weight: 600;
}
