
:root {
  --bg: #ebeef2;          /* фон страницы — приглушённый серо-голубой, не режет глаза */
  --surface: #fbfcfd;     /* карточки, таблицы, меню — чуть темнее чистого белого */
  --subtle: #f2f4f7;      /* шапки таблиц, итоги */
  --hover: #eaeef3;
  --line: #e4e8ed;        /* тонкие разделители */
  --line-strong: #cfd6de; /* рамки полей */
  --text: #1f2b37;        /* графит логотипа, темнее — для чтения */
  --muted: #5d6c7b;       /* серо-голубой из стрелок логотипа */
  --faint: #95a2b0;
  --accent: #1068b5;      /* синий из стрелки логотипа */
  --accent-hover: #0f4f89;
  --accent-soft: #e8f1fa;
  --brand-teal: #1f9fa0;  /* бирюза из волн логотипа */
  --ok: #13737a;   --ok-bg: #e5f4f3;
  --warn: #8a5a00; --warn-bg: #fdf4e3;
  --bad: #b3261e;  --bad-bg: #fcefee;
  --info: #1068b5; --info-bg: #e8f1fa;
  --neutral: #465566; --neutral-bg: #eff2f5;
  --radius: 8px;
  --radius-sm: 6px;
  --nav-w: 220px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.5 var(--font); color: var(--text); background: var(--bg);
       -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 20px; }
h2 { font-size: 15px; font-weight: 600; margin: 32px 0 12px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* ── меню слева ── */
nav { position: fixed; left: 0; top: 0; bottom: 0; width: var(--nav-w);
      background: var(--surface); border-right: 1px solid var(--line);
      padding: 20px 0 16px; overflow-y: auto; display: flex; flex-direction: column; }
nav { background: linear-gradient(90deg, var(--accent), var(--brand-teal)) top / 100% 3px no-repeat,
                  var(--surface); }
nav .brand { display: flex; align-items: center; gap: 10px; padding: 2px 16px 18px 18px;
             margin-bottom: 6px; border-bottom: 1px solid var(--line); color: var(--text); }
nav .brand:hover { background: none; }
nav .brand .mark { width: 38px; height: auto; flex: none; }
nav .brand .word { display: block; width: 128px; height: auto; }
nav .brand small { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 600;
                   color: var(--muted); letter-spacing: .01em; line-height: 1.3; }
nav a { display: flex; align-items: center; gap: 6px; color: #33475a;
        padding: 6px 12px; margin: 1px 8px; border-radius: var(--radius-sm);
        font-size: 13.5px; line-height: 1.35; }
nav a:hover { background: var(--hover); color: var(--text); text-decoration: none; }
nav a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
nav a .pill { margin-left: auto; min-width: 18px; padding: 0 6px; border-radius: 9px;
              background: var(--bad); color: #fff; font-size: 11px; font-weight: 600;
              text-align: center; line-height: 18px; }
nav a .pill + .pill { margin-left: 0; }
nav a .pill.grey { background: var(--faint); }
nav .sep { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
           letter-spacing: .08em; color: var(--faint); padding: 20px 20px 6px; }
nav .who { margin-top: auto; padding: 16px 20px 0; border-top: 1px solid var(--line);
           font-size: 13px; color: var(--text); }
nav .who small { color: var(--muted); }
nav .who .out { display: inline; margin: 0; padding: 0; color: var(--muted); font-size: 12.5px; }
nav .who .out:hover { color: var(--bad); background: none; }
nav .who button.out { background: none; border: 0; border-radius: 0; font-weight: 400;
                      cursor: pointer; }

main { margin-left: var(--nav-w); padding: 28px 32px 72px; max-width: 1480px; }

/* ── таблицы ── */
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface);
        border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px;
        font-size: 13px; }

.tbl { overflow-x: auto; background: var(--surface); border: 1px solid var(--line);
       border-radius: var(--radius); margin-bottom: 20px; }
.tbl > table { border: 0; border-radius: 0; margin: 0; }
th, td { padding: 8px 10px; text-align: left; vertical-align: middle;
         border-bottom: 1px solid var(--line); }
tr:last-child > td { border-bottom: 0; }
th { background: var(--subtle); font-size: 10.5px; font-weight: 600; color: var(--muted);
     text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
tr:first-child > th:first-child { border-top-left-radius: var(--radius); }
tr:first-child > th:last-child { border-top-right-radius: var(--radius); }
td.r, th.r { text-align: right; }
td.c, th.c { text-align: center; }
td.r { font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover > td, table > tr:hover > td { background: #f4f7fa; }
tfoot td { background: var(--subtle); font-weight: 600; border-top: 1px solid var(--line-strong);
           border-bottom: 0; }
td table { margin: 6px 0 0; font-size: 12.5px; }
td table td { padding: 5px 8px; }
.warnrow > td { background: #fff8f7 !important; }
.warnrow > td:first-child { box-shadow: inset 3px 0 0 var(--bad); }

/* ── поля и кнопки ── */
input, select, textarea { font: inherit; font-size: 13.5px; color: var(--text);
    padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--surface); transition: border-color .12s, box-shadow .12s; }
input:not([type=checkbox]):not([type=radio]), select { height: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, .12); }
input:disabled, select:disabled { background: var(--subtle); color: var(--muted); }
input[type=number], input[type=date] { width: 150px; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
textarea { line-height: 1.45; }
button, .btn { font: inherit; font-size: 13.5px; font-weight: 500; padding: 7px 16px;
    border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent);
    color: #fff; cursor: pointer; display: inline-block; line-height: 1.4;
    transition: background .12s, border-color .12s; }
button:hover, .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover);
    text-decoration: none; }
button.ghost, .btn.ghost { background: var(--surface); color: var(--text);
    border-color: var(--line-strong); }
button.ghost:hover, .btn.ghost:hover { background: var(--hover); border-color: var(--line-strong); }
button.danger { background: var(--bad); border-color: var(--bad); }
td button.ghost { padding: 3px 10px; font-size: 12.5px; }

label { display: block; margin-bottom: 10px; font-size: 13px; }
label span { display: block; color: var(--muted); font-size: 12px; font-weight: 500;
             margin-bottom: 4px; }
label small.hint { display: block; font-size: 11.5px; margin-top: 3px; min-height: 14px; }
.row { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: flex-end; }
.row > label { margin-bottom: 0; }
.card .row + .row { margin-top: 12px; }
details > summary { cursor: pointer; }

/* ── поверхности ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 18px 20px; margin-bottom: 20px; }
.card > .row > div { color: var(--text); }
.card b { font-weight: 600; }

.card > .row > div > b:first-child { font-weight: 500; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        gap: 12px; margin-bottom: 8px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
       padding: 14px 16px; }
.kpi .v { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
          font-variant-numeric: tabular-nums; line-height: 1.25; }
.kpi .l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.kpi .sub { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.kpi .v.neg { color: var(--bad); }
.kpi .v.pos { color: var(--ok); }

/* ── сообщения ── */
.msg { padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 16px;
       border: 1px solid transparent; border-left-width: 3px; font-size: 13.5px; }
.msg.ok { background: var(--ok-bg); color: var(--ok); border-color: #c4e3e1; border-left-color: var(--ok); }
.msg.err { background: var(--bad-bg); color: var(--bad); border-color: #f3d2cf; border-left-color: var(--bad); }
.msg.warn { background: var(--warn-bg); color: var(--warn); border-color: #f1e0bb; border-left-color: #c98a1e; }
.msg .btn { margin-left: 8px; }

/* ── статусы: пять тонов, без ярких заливок ── */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px;
         font-weight: 500; line-height: 1.5; white-space: nowrap;
         background: var(--neutral-bg); color: var(--neutral); }
.b-Черновик, .b-Заявка, .b-Не-отгружен, .b-Не-оплачен, .b-Новая, .b-Закрыт,
.b-Отозвано { background: var(--neutral-bg); color: var(--neutral); }
.b-Согласован, .b-Согласована, .b-В-пути, .b-Переплата, .b-Принята-в-работу,
.b-Отправлено, .b-Согласовано-по-другой-цене { background: var(--info-bg); color: var(--info); }
.b-Зарезервирован, .b-Отгружен-частично, .b-Оплачен-частично, .b-В-цехе,
.b-Заказана-у-поставщика, .b-На-согласовании, .b-Выполнена-частично, .b-Истекло,
.b-Принята-частично, .b-Принимается, .b-На-утверждении { background: var(--warn-bg); color: var(--warn); }
.b-Отгружен, .b-Принята, .b-Принята-цех, .b-Оплачен, .b-Закрыта, .b-Выполнена,
.b-Согласовано, .b-Заказ-оформлен, .b-Проведена { background: var(--ok-bg); color: var(--ok); }
.b-Отменён, .b-Отменена, .b-Просрочена, .b-Отклонена,
.b-Отклонено { background: var(--bad-bg); color: var(--bad); }

/* ── вспомогательное ── */
.hint { color: var(--muted); font-size: 12px; }
p.hint { max-width: 900px; line-height: 1.55; }
.neg { color: var(--bad); }
.pos { color: var(--ok); }
.login { max-width: 360px; margin: 9vh auto; padding: 30px 30px 26px;
         background: linear-gradient(90deg, var(--accent), var(--brand-teal)) top / 100% 3px no-repeat,
                     var(--surface); }
.login-logo { display: block; width: 190px; height: auto; margin: 0 auto 20px; }
.login h1 { text-align: center; font-size: 15px; font-weight: 500; color: var(--muted);
            margin-bottom: 20px; }
.login button { margin-top: 6px; padding: 9px 16px; }
main:has(> .login) { margin-left: 0; max-width: none; }

/* вкладки — подчёркиванием */
.tabs { display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 20px;
        border-bottom: 1px solid var(--line); }
.tabs a { color: var(--muted); padding: 8px 0 10px; font-size: 13.5px;
          border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }

/* полосы в дашборде */
.bar { display: flex; align-items: center; gap: 10px; }
.bar .track { flex: 1; min-width: 60px; height: 6px; background: #e6eaef; border-radius: 3px;
              overflow: hidden; }
.bar .fill { display: block; height: 6px; background: var(--accent); border-radius: 3px; }
.bar .fill.warn { background: #c98a1e; }
.bar .fill.bad { background: var(--bad); }
.bar .val { font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }

/* заголовок страницы с кнопкой выгрузки и галочкой коллег */
.h1row { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; flex-wrap: wrap; }
.h1row h1 { margin: 0 8px 0 0; }
.xlsx { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: var(--radius-sm);
        background: var(--surface); color: var(--ok); border: 1px solid var(--line-strong);
        white-space: nowrap; }
.xlsx::before { content: "↓ "; }
.xlsx:hover { background: var(--ok-bg); text-decoration: none; }
.colleagues { margin: 0 0 0 auto; font-size: 13px; color: var(--muted); }
.colleagues label { display: flex; align-items: center; gap: 6px; cursor: pointer; margin: 0; }
.colleagues input { width: auto; margin: 0; }
.decide { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }

/* узкий экран: меню сверху за кнопкой «Меню» */
.navbtn { display: none; }
@media (max-width: 900px) {
  nav { position: sticky; top: 0; width: auto; height: auto; max-height: 100vh; border-right: 0;
        border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap;
        align-items: center; padding: 10px 12px 8px; }
  nav .brand { flex: 1 1 auto; width: auto; padding: 0 4px; margin: 0; border-bottom: 0; }
  nav .brand .mark { width: 32px; }
  nav .brand .word { width: 112px; }
  .navbtn { display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
            color: var(--text); border-color: var(--line-strong); padding: 8px 16px; }
  .navbtn:hover { background: var(--hover); border-color: var(--line-strong); }
  .navbtn.urgent::after { content: ""; width: 8px; height: 8px; border-radius: 50%;
                         background: var(--bad); }
  nav > a, nav > .sep, nav > .who { display: none; }
  nav.open > a { display: flex; width: 100%; margin: 1px 0; padding: 10px 12px; font-size: 15px; }
  nav.open > a:first-of-type { margin-top: 10px; }
  nav.open > .sep { display: block; width: 100%; padding: 14px 12px 4px; }
  nav.open > .who { display: block; width: 100%; margin-top: 10px; padding: 12px 12px 4px; }
  main { margin-left: 0; padding: 18px 14px 48px; }
  h1 { font-size: 20px; }
}
/* телефон: поля и кнопки под палец, без увеличения страницы при вводе */
@media (max-width: 700px) {
  input, select, textarea { font-size: 16px; }
  input:not([type=checkbox]):not([type=radio]), select { height: 42px; }
  button, .btn { padding: 10px 16px; }
  td button.ghost { padding: 6px 10px; }
  .card { padding: 16px 14px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; gap: 18px; white-space: nowrap; }
  .colleagues { margin-left: 0; }
  label { max-width: 100%; }
  select, textarea, input:not([type=checkbox]):not([type=radio]) { max-width: 100%; }
}
td details form.row { flex-direction: column; align-items: stretch; min-width: 170px; }

/* карточка позиции: разделы формы и цены только для просмотра */
.pform .sect { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
               color: var(--muted); margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pform .sect:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.pform .actions { margin-top: 20px; display: flex; gap: 8px; }
.ro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px;
           max-width: 900px; }
.ro-grid > div { background: var(--subtle); border: 1px solid var(--line); border-radius: var(--radius-sm);
                 padding: 8px 12px; }
.ro-grid span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.ro-grid b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

th.grp { text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
tr.sub > th { padding-top: 5px; }
th.nw, td.nw { white-space: nowrap; }

/* ── приветствие после входа ── */
.welcome { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center;
           justify-content: center; background: rgba(235, 238, 242, .72);
           -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
           animation: wl-fade .45s ease-out both; cursor: pointer; }
.welcome.out { animation: wl-fade-out .55s ease-in both; }
.welcome-card { position: relative; overflow: hidden; width: min(440px, calc(100vw - 32px));
                padding: 38px 36px 34px; text-align: center; background: var(--surface);
                border: 1px solid var(--line); border-radius: 16px;
                box-shadow: 0 24px 60px rgba(16, 40, 70, .18), 0 2px 6px rgba(16, 40, 70, .06);
                animation: wl-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.welcome.out .welcome-card { animation: wl-sink .55s ease-in both; }
.welcome-mark { display: block; width: 96px; height: auto; margin: 0 auto 12px;
                animation: wl-spin 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.welcome-word { display: block; width: 190px; height: auto; margin: 0 auto 26px;
                animation: wl-up .6s .25s ease-out both; }
.welcome-hello { font-size: 15px; color: var(--muted); animation: wl-up .6s .4s ease-out both; }
.welcome-name { margin-top: 4px; font-size: 27px; font-weight: 650; line-height: 1.2;
                letter-spacing: -0.01em; color: var(--accent);
                background: linear-gradient(90deg, var(--accent), var(--brand-teal));
                -webkit-background-clip: text; background-clip: text;
                -webkit-text-fill-color: transparent;
                animation: wl-up .6s .5s ease-out both; }
.welcome-day { margin-top: 12px; font-size: 13px; color: var(--muted);
               animation: wl-up .6s .65s ease-out both; }
.welcome-day::first-letter { text-transform: uppercase; }
@keyframes wl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wl-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes wl-rise { from { opacity: 0; transform: translateY(14px) scale(.97); }
                     to { opacity: 1; transform: none; } }
@keyframes wl-sink { to { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes wl-spin { from { opacity: 0; transform: rotate(-120deg) scale(.7); }
                     to { opacity: 1; transform: none; } }
@keyframes wl-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .welcome, .welcome *, .welcome.out, .welcome.out .welcome-card { animation-duration: .01s !important;
                                                                   animation-delay: 0s !important; }
}
@media print { .welcome { display: none; } }

body { background:
         radial-gradient(1100px 620px at 100% 0%, rgba(16, 104, 181, .055), transparent 70%),
         radial-gradient(900px 560px at 20% 100%, rgba(31, 159, 160, .05), transparent 70%),
         var(--bg);
       background-attachment: fixed; }
.wm { position: fixed; z-index: 0; pointer-events: none;
       right: 40px; bottom: 36px; width: min(30vw, 38vh, 420px); aspect-ratio: 800 / 714;
       background: url("logo-bg.png") no-repeat center / contain;
       opacity: .08; transition: opacity .4s ease; }
.wm.off { opacity: 0; }
main { position: relative; z-index: 1; }
nav { z-index: 2; }
.card, .tbl, main > table { box-shadow: 0 1px 2px rgba(16, 40, 70, .04), 0 4px 14px rgba(16, 40, 70, .03); }
@media (max-width: 900px) { .wm { width: 220px; right: 16px; bottom: 16px; } }
@media print { body { background: #fff; } .wm { display: none; } }

/* ── сводка руководителя ── */
h2 .hint { font-weight: 400; margin-left: 6px; }
.alerts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 10px; }
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px;
         background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
         color: var(--text); box-shadow: 0 1px 2px rgba(16, 40, 70, .04); }
.alert:hover { border-color: var(--line-strong); text-decoration: none; background: #fff; }
.alert .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 5px;
              background: var(--faint); }
.alert.bad { border-left: 3px solid var(--bad); }
.alert.bad .dot { background: var(--bad); }
.alert.warn { border-left: 3px solid #c98a1e; }
.alert.warn .dot { background: #c98a1e; }
.alert b { display: block; font-weight: 600; font-size: 13.5px; }
.alert small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.alert .go { margin-left: auto; color: var(--faint); }
.alert:hover .go { color: var(--accent); }
a.kpi.link { display: block; color: inherit; }
a.kpi.link:hover { border-color: var(--line-strong); text-decoration: none; }
.kpi .sub.neg { color: var(--bad); }
.dlt { margin-top: 6px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dlt.up { color: var(--ok); }
.dlt.down { color: var(--bad); }

/* ── кабинет кладовщика ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 28px; }
@media (min-width: 1200px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.rline { padding: 14px 18px; margin-bottom: 10px; }
.rline .row + .row { margin-top: 10px; }
.rline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
              margin-bottom: 10px; }
.rline-out { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--accent);
             font-weight: 600; text-align: right; }
.rline-out.hint { font-weight: 400; color: var(--muted); }
.rline-out.neg { color: var(--bad); }
label.chk { display: flex; align-items: center; gap: 6px; height: 36px; margin-top: auto;
            color: var(--muted); font-size: 12.5px; }
label.chk input { width: auto; height: auto; }
.actions { display: flex; gap: 8px; align-items: center; margin: 14px 0; }

tr.closedrow > td { color: var(--muted); background: var(--subtle); }
tr.pl0 > td { font-weight: 600; background: var(--subtle); }
tr.pl1 > td:first-child { padding-left: 26px; }
tr.pl2 > td { color: var(--muted); font-size: 12.5px; padding-top: 4px; padding-bottom: 4px; }
tr.pl2 > td:first-child { padding-left: 44px; }

/* счётчик электроэнергии на сводке производства */
.powerbox.due { border-left: 3px solid var(--bad); }

/* какая база открыта: пустая для проверки, тестовая и т. п. */
.dbmark { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
          background: #fff4d6; border: 1px solid #e8c766; color: #6f5200; font-size: 12.5px;
          font-weight: 600; letter-spacing: .01em; }
@media print { .dbmark { display: none; } }

/* ── строка-итог, под которой раскрывается список: кто и сколько ── */
button.rowtoggle { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600;
    text-align: left; line-height: inherit; display: inline-flex; align-items: baseline; }
button.rowtoggle:hover { background: none; text-decoration: underline; text-underline-offset: 2px; }
button.rowtoggle .arr { display: inline-block; flex: none; width: 14px; transition: transform .15s; }
button.rowtoggle[aria-expanded="true"] .arr { transform: rotate(90deg); }
tr.sub > td { background: #f6f8fa; font-size: 13px; padding-top: 5px; padding-bottom: 5px; }
tr.sub > td:first-child { padding-left: 32px; }
tr.sub.last > td { border-bottom: 1px solid var(--line-strong); }
