html:has(body.is-admin-app) {
  height: 100%;
  overflow: hidden;
}
body.is-admin-app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: env(safe-area-inset-top) 0 0;
}
body.is-admin-app .banner,
body.is-admin-app .app-week {
  flex: 0 0 auto;
}
body.is-admin-app main {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  padding-bottom: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
body.is-admin-app .view,
body.is-admin-app .hist-layout,
body.is-admin-app .hist-main,
body.is-admin-app #acc-kassa-ui,
body.is-admin-app .kassa-exp-form,
body.is-admin-app .office-deal-block {
  min-width: 0;
  max-width: 100%;
}
body.is-admin-app .kassa-exp-form input[name="title"],
body.is-admin-app .kassa-exp-form input[name="amount"],
body.is-admin-app .kassa-exp-form input[name="day"] {
  flex: 1 1 7em;
  width: auto;
  min-width: 0;
  max-width: 100%;
}
body.is-admin-app .acc-pay-row {
  width: auto;
  max-width: 100%;
  flex-wrap: wrap;
}
body.is-admin-app .top { display: none; }
body.is-admin-app .roles { display: none; }
body.is-admin-app .shift-acts,
body.is-admin-app #logout-btn { display: none; }
body.is-admin-app .top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  padding-top: calc(8px + env(safe-area-inset-top));
}
body.is-admin-app .top,
body.is-admin-app main,
body.is-admin-app .banner {
  padding-left: 20px;
  padding-right: 20px;
}
body.is-admin-app .who-account {
  max-width: none;
  font-size: 16px;
}
body.is-admin-app .toolbar h2,
body.is-admin-app .hist-head { margin-top: 0; }
body.is-admin-app #office-list-title {
  display: none !important;
}
body.is-admin-app #office-guide { display: none !important; }
body.is-admin-app .hist-layout,
body.is-admin-app .split,
body.is-admin-app .card-cols {
  display: block;
}
body.is-admin-app .table-wrap { overflow: auto; }
body.is-admin-app .office-deal-counts,
body.is-phone-acc .office-deal-counts {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow-x: visible;
}
body.is-admin-app .office-deal-block,
body.is-phone-acc .office-deal-block {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}
body.is-admin-app .office-deal-block > .journal.office-pay-form,
body.is-phone-acc .office-deal-block > .journal.office-pay-form {
  width: 100%;
  max-width: 100%;
  table-layout: auto;
}
body.is-admin-app .office-deal-sales,
body.is-phone-acc .office-deal-sales {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
}
body.is-admin-app .office-deal-sales > .journal.office-deal-table,
body.is-phone-acc .office-deal-sales > .journal.office-deal-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  table-layout: auto;
  font-size: 11px;
}
body.is-admin-app .journal.office-deal-table th,
body.is-admin-app .journal.office-deal-table td,
body.is-phone-acc .journal.office-deal-table th,
body.is-phone-acc .journal.office-deal-table td,
body.is-admin-app .journal.office-pay-form th,
body.is-admin-app .journal.office-pay-form td,
body.is-phone-acc .journal.office-pay-form th,
body.is-phone-acc .journal.office-pay-form td {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}
body.is-admin-app .office-deal-sales > .journal.office-deal-table th,
body.is-admin-app .office-deal-sales > .journal.office-deal-table td,
body.is-phone-acc .office-deal-sales > .journal.office-deal-table th,
body.is-phone-acc .office-deal-sales > .journal.office-deal-table td {
  padding-left: 2px;
  padding-right: 2px;
}
body.is-admin-app .cal-panel {
  position: static;
  top: auto;
  z-index: auto;
}
body.is-admin-app #hist-status-chips {
  flex-direction: row;
  flex-wrap: wrap;
}
body.is-admin-app #hist-status-chips .chip {
  width: auto;
  flex: 1 1 calc(50% - 6px);
}
body.is-admin-app .card { margin-bottom: 10px; max-width: 100%; min-width: 0; }
body.is-admin-app .edit-grid,
body.is-admin-app .edit-choice,
body.is-admin-app .edit-money,
body.is-admin-app .item-pickup-wrap,
body.is-admin-app .item-pickup-head,
body.is-admin-app .card-cols,
body.is-admin-app .card-fields { max-width: 100%; min-width: 0; }
body.is-admin-app .item-pickup-wrap {
  position: relative;
  padding-right: 40px;
  overflow: visible;
}
body.is-admin-app .item-pickup-wrap.is-bare {
  padding-right: 0;
}
body.is-admin-app .item-pickup-head {
  display: block;
  width: 100%;
  min-width: 0;
}
body.is-admin-app .item-fold {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  width: 36px;
  height: 36px;
}
body.is-admin-app .item-pickup-head .choice-table,
body.is-admin-app .item-pickup-head .choice-stack,
body.is-admin-app .item-pickup-wrap > .choice-table,
body.is-admin-app .item-pickup-wrap > .choice-stack,
body.is-admin-app .edit-grid > .choice-table,
body.is-admin-app .edit-grid > .choice-stack {
  width: 100%;
  max-width: 100%;
}
body.is-admin-app .choice-grid {
  grid-template-columns: 3.9em minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 2px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.is-admin-app .choice-grid > .pay-mark {
  justify-content: center;
  width: 100%;
}
/* телефон: без «откуда/сборка», только стрелка — список ниже, не поверх */
body.is-admin-app .item-pickup-head .choice-stack {
  display: none;
}
body.is-admin-app .item-pickup-wrap:not(.is-bare) {
  margin: 2px 0 4px;
  padding-right: 0;
  min-height: 0;
}
body.is-admin-app .item-pickup-wrap.is-bare {
  display: none;
}
body.is-admin-app .item-pickup-wrap,
body.is-admin-app .item-pickup-head {
  overflow-x: hidden;
}
body.is-admin-app .item-pickup-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 36px;
  height: 36px;
  position: relative;
  z-index: 2;
}
body.is-admin-app .item-fold {
  position: static;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0;
}
body.is-admin-app .item-pickup-list {
  position: relative;
  z-index: 0;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 0;
}
body.is-admin-app .edit-grid label,
body.is-admin-app .edit-grid .edit-row {
  grid-template-columns: minmax(0, 6.2em) minmax(0, 1fr);
  min-width: 0;
  width: 100%;
}
body.is-admin-app .edit-grid input,
body.is-admin-app .edit-grid select,
body.is-admin-app .edit-grid textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body.is-admin-app .wh-marks {
  width: 100%;
  min-width: 0;
}
body.is-admin-app .wh-trio {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 8px;
}
body.is-admin-app .wh-marks > .wh-assembled {
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
}
body.is-admin-app .edit-grid label.wh-assembled,
body.is-admin-app .edit-money label.wh-assembled {
  display: inline-flex !important;
  grid-template-columns: none !important;
  width: auto !important;
  margin: 0;
}
body.is-admin-app .edit-money label.hide-prices,
body.is-admin-app .edit-grid label.hide-prices {
  display: inline-flex !important;
  grid-template-columns: none !important;
  width: max-content !important;
  max-width: 100%;
  min-width: 0;
  justify-self: start;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  white-space: normal;
  overflow: visible;
  box-sizing: border-box;
}
body.is-admin-app .edit-money label.hide-prices input,
body.is-admin-app .edit-grid label.hide-prices input {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
body.is-admin-app .edit-grid .edit-choice .edit-row {
  grid-template-columns: 9em minmax(0, 1fr);
}
body.is-admin-app #office-form .money-line.pickup-line {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: none;
  width: auto;
  max-width: 100%;
  min-width: 0;
  column-gap: 8px;
  row-gap: 6px;
}
body.is-admin-app .choice-table .pay-mark { gap: 4px; }
body.is-admin-app .edit-money > .pay-kinds { display: none; }
/* К оплате / Оплачено: одна сетка 1fr | 1fr — вертикальное выравнивание */
body.is-admin-app .edit-money .money-line,
body.is-admin-app .edit-money .paid-line,
body.is-admin-app .edit-money .remainder-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
}
body.is-admin-app .edit-money .money-line > input,
body.is-admin-app .edit-money .paid-line > input,
body.is-admin-app .edit-money .remainder-line > input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 5px 8px;
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  max-height: none;
  line-height: normal;
}
body.is-admin-app .edit-money .money-line > input,
body.is-admin-app .edit-money .paid-line > input:not([type="date"]),
body.is-admin-app .edit-money .remainder-line > input {
  grid-column: 1;
}
body.is-admin-app .edit-money .paid-line > input[type="date"],
body.is-admin-app .edit-money .money-line > .app-pay-mark:not(:empty),
body.is-admin-app .edit-money .money-line > [data-card-name-wrap]:not([hidden]),
body.is-admin-app .edit-money .money-line > .acc-card-name:not([hidden]),
body.is-admin-app .edit-money .remainder-line > .collect-client {
  grid-column: 2;
}
body.is-admin-app .edit-money .money-line:has([data-card-name-wrap]:not([hidden])) > .app-pay-mark {
  display: none !important;
}
body.is-admin-app .edit-money .money-line > [data-card-name-wrap]:not([hidden]),
body.is-admin-app .edit-money .money-line > .acc-card-name:not([hidden]) {
  display: flex !important;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  grid-template-columns: none !important;
}
body.is-admin-app .edit-money .money-line > [data-card-name-wrap][hidden],
body.is-admin-app .edit-money .money-line > .acc-card-name[hidden] {
  display: none !important;
}
body.is-admin-app .edit-money .money-line [data-field="payCardName"] {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
}
body.is-admin-app .edit-money .paid-line > input[type="date"] {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  padding: 0 8px;
  box-sizing: border-box;
  line-height: 28px;
  field-sizing: fixed;
  -webkit-appearance: none;
  appearance: none;
}
body.is-admin-app .edit-money .remainder-line > .collect-client {
  width: auto;
  margin: 0;
  white-space: nowrap;
  justify-self: start;
  align-self: center;
}
body.is-admin-app .edit-grid label.collect-client[hidden],
body.is-admin-app .edit-money label.collect-client[hidden] {
  display: none !important;
}
.app-pay-mark { display: none; }
body.is-admin-app .app-pay-mark:not(:empty) {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
body.is-admin-app .money-line .pay-kinds {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  gap: 8px;
}
body.is-admin-app .money-line .pay-box {
  border: 0;
  background: transparent;
  padding: 0;
  gap: 0;
}
body.is-admin-app .money-line .pay-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
}
body.is-admin-app .money-line .pay-kinds:has(input:checked) .pay-box:not(:has(input:checked)) {
  display: none;
}
body.is-admin-app .edit-grid .edit-choice .pay-mark { width: auto; }
body.is-admin-app #print-new,
body.is-admin-app #print-picked {
  width: 100%;
}
.office-fold-line { display: none; }
.office-fold { display: none; }
body.is-admin-app #office-form > .office-fold-line {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0 0 14px;
}
/* С телефона админ накладные не создаёт — только чипы и календарь */
body.is-admin-app #office-form > .office-fold-line > .office-fold {
  display: none !important;
}
body.is-admin-app #office-form > :not(.office-fold-line):not(#office-day-chips) {
  display: none !important;
}
body.is-admin-app #office-form > #office-day-chips {
  display: flex !important;
  margin-top: 0;
}
body.is-admin-app .office-fold-chips {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body.is-admin-app #office-dup-mobile:not([hidden]),
body.is-admin-app #office-queue-mobile,
body.is-admin-app #office-reminders-mobile,
body.is-admin-app #office-tasks-mobile {
  display: inline-flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 4px 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
}
body.is-admin-app .office-fold-ico {
  display: flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: inherit;
}
body.is-admin-app .office-fold-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
body.is-admin-app .office-fold-lab {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
body.is-admin-app #office-tasks-mobile.has-task-beacon {
  z-index: 1;
}
body.is-admin-app #office-tasks-mobile.has-task-beacon::after {
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
}
body.is-admin-app #office-dup-mobile.is-on,
body.is-admin-app #office-queue-mobile.is-on,
body.is-admin-app #office-reminders-mobile.is-on,
body.is-admin-app #office-tasks-mobile.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
body.is-admin-app #office-queue-btn,
body.is-admin-app #office-reminders-btn,
body.is-admin-app #office-tasks-btn { display: none; }
body.is-admin-app #office-form > .office-fold-line { margin-bottom: 0; }
body.is-admin-app .office-cal-range { font-size: 17px; font-weight: 700; color: var(--ink); }
body.is-admin-app .card .actions {
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  overflow: hidden;
}
body.is-admin-app .card .actions:has(.asm-done-row) {
  flex-wrap: wrap;
  gap: 4px;
}
body.is-admin-app .card .actions:has(.asm-done-row) > .btn {
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 7px;
  font-size: 12px;
  text-align: center;
}
body.is-admin-app .card .actions .btn {
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 7px;
  font-size: 12px;
  white-space: nowrap;
}
body.is-admin-app .card .actions .asm-done-row {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  font-size: 12px;
  gap: 4px;
  padding: 0 8px;
  justify-content: flex-start;
}
body.is-admin-app .card .actions .asm-done-row .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  white-space: nowrap;
  text-align: left;
  line-height: 1.25;
}

.app-footer {
  position: relative;
  flex: 0 0 auto;
  z-index: 40;
  display: flex;
  width: 100%;
  gap: 4px;
  margin: 0;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: #1c1917;
  border-top: 0;
}
.app-footer button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 6px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}
.app-footer button.is-on {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
}

.app-more {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 41;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.16);
}
.app-more button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.app-more button:active { background: #f3efe6; }

.pulse-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 12px;
}
.pulse-head h2 { margin: 0; font-size: 22px; }
.pulse-head span { color: var(--muted); font-size: 13px; }
.pulse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pulse-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 84px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
}
.pulse-card span { color: var(--muted); font-size: 13px; font-weight: 650; }
.pulse-card b { font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.pulse-card.is-wide { grid-column: 1 / -1; }
.pulse-card b.is-minus { color: #b91c1c; }
.pulse-block { margin-top: 16px; }
.pulse-block h3 { margin: 0 0 8px; font-size: 15px; }
.pulse-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  align-items: end;
  min-height: 108px;
}
.pulse-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
.pulse-bar i {
  display: block;
  width: 100%;
  max-width: 28px;
  height: 72px;
  border-radius: 8px 8px 4px 4px;
  background: #efe8da;
  position: relative;
  overflow: hidden;
}
.pulse-bar i span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--stamp);
  border-radius: 8px 8px 0 0;
}
.pulse-bar b { font-size: 12px; font-variant-numeric: tabular-nums; }
.pulse-bar small { color: var(--muted); font-size: 11px; }
.pulse-list { display: grid; gap: 8px; }
.pulse-row {
  display: grid;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
}
.pulse-row b { font-size: 15px; }
.pulse-row span { color: var(--muted); font-size: 13px; }
.pulse-install {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
body.is-admin-app .modal-card {
  width: min(960px, 100%);
  margin: 0;
  min-height: 100%;
  border-radius: 0;
}
body.is-admin-app .app-week {
  position: sticky;
  top: env(safe-area-inset-top);
  z-index: 25;
  background: var(--paper);
  padding: 6px 12px 8px;
  touch-action: pan-y;
}
body.is-admin-app .app-month {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: 100%;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  gap: 8px;
}
body.is-admin-app .app-month-name {
  justify-self: start;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  text-transform: lowercase;
}
body.is-admin-app .app-period {
  justify-self: center;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
body.is-admin-app .app-month > span {
  justify-self: end;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
body.is-admin-app .app-month span.is-up { transform: rotate(180deg); }
body.is-admin-app .app-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin-top: 6px;
}
body.is-admin-app .app-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font: inherit;
}
body.is-admin-app .app-day small { color: var(--muted); font-size: 11px; }
body.is-admin-app .app-day b { font-size: 15px; font-weight: 650; }
body.is-admin-app .app-day.is-in { background: #e7e1d4; }
body.is-admin-app .app-day.is-on { background: var(--ink); color: var(--paper); }
body.is-admin-app .app-day.is-on small { color: var(--paper); }
body.is-admin-app .app-day.has-beacon,
body.is-admin-app .app-day.has-beacon-blue {
  position: relative;
}
body.is-admin-app .app-day.has-beacon::after,
body.is-admin-app .app-day.has-beacon-blue::before {
  content: "";
  position: absolute;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}
/* синий — без даты обещания (слева), красный — просрочка обещания (справа) */
body.is-admin-app .app-day.has-beacon-blue::before {
  left: 6px;
  background: #2563eb;
}
body.is-admin-app .app-day.has-beacon::after {
  right: 6px;
  background: #b91c1c;
}
body.is-admin-app .app-day.is-on.has-beacon::after {
  box-shadow: 0 0 0 2px var(--ink);
  background: #fca5a5;
}
body.is-admin-app .app-day.is-on.has-beacon-blue::before {
  box-shadow: 0 0 0 2px var(--ink);
  background: #93c5fd;
}
body.is-admin-app .app-doc-filters {
  display: grid;
  grid-template-columns: repeat(3, 2.75rem) minmax(0, 1fr);
  gap: 4px;
  margin: 0 0 8px;
  align-items: stretch;
}
body.is-admin-app .app-doc-filters .chip {
  justify-content: center;
  min-height: 32px;
  padding: 6px 4px;
  font-size: 12px;
}
body.is-admin-app .app-doc-filters .app-doc-chip {
  width: 100%;
  min-width: 0;
  padding: 6px 0;
}
body.is-admin-app .app-doc-filters .app-mgr-btn {
  min-width: 0;
  padding: 6px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.is-admin-app .app-mgr-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: -4px 0 8px;
}
body.is-admin-app .app-mgr-pick .chip {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
}
body.is-admin-app .app-day-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(28, 25, 23, 0.45);
}
body.is-admin-app .app-day-modal-card {
  width: min(320px, 100%);
  padding: 18px 16px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
body.is-admin-app .app-day-modal-card.kp-edit-card {
  width: min(1180px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
}
body.is-admin-app .app-day-modal-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}
body.is-admin-app .app-day-modal-field {
  display: block;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}
body.is-admin-app .app-day-modal-field input {
  margin-top: 6px;
  min-height: 42px;
  font-size: 16px;
}
body.is-admin-app .app-day-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
body.is-admin-app .app-day-modal-actions.kp-edit-actions {
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
}
body.is-admin-app .app-day-btn {
  min-height: 42px;
  width: 100%;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f5f4;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
}
body.is-admin-app .app-day-btn.is-ok {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
body.is-admin-app .app-day-clear {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 8px;
  border: 0;
  background: none;
  color: #b91c1c;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
body.is-admin-app .app-jobs { display: flex; flex-direction: column; gap: 8px; }
body.is-admin-app .app-inv {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr;
  gap: 2px 8px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: left;
}
body.is-admin-app .app-inv span:nth-child(3),
body.is-admin-app .app-inv span:nth-child(6) { text-align: right; }
body.is-admin-app .app-inv span:nth-child(2),
body.is-admin-app .app-inv span:nth-child(5) { text-align: center; }
body.is-admin-app .app-sum {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
body.is-admin-app .app-sum small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
}
body.is-admin-app .app-rest {
  font-weight: 400;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
body.is-admin-app .app-rest.is-set {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
body.is-admin-app .app-rest small {
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
}
body.is-admin-app .app-rest.has-promise { color: #9a3412; }
body.is-admin-app .app-rest.is-minus { color: #b91c1c; }
body.is-admin-app .app-goods {
  margin: -4px 0 4px;
  padding: 8px 12px 10px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
  font-size: 13px;
}
body.is-admin-app .app-inv.is-open { border-radius: 12px 12px 0 0; }
body.is-admin-app .app-goods-head,
body.is-admin-app .app-goods-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px 72px;
  gap: 8px;
}
body.is-admin-app .app-goods-head { color: var(--muted); margin-bottom: 4px; }
body.is-admin-app .app-goods-row span:nth-child(2),
body.is-admin-app .app-goods-row span:nth-child(3),
body.is-admin-app .app-goods-head span:nth-child(2),
body.is-admin-app .app-goods-head span:nth-child(3) { text-align: right; }
body.is-admin-app .app-money {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
body.is-admin-app .app-money:not(.kassa-dash) div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
body.is-admin-app .app-money.kassa-dash {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
body.is-admin-app .app-money.kassa-dash .kassa-dash-side {
  padding: 8px;
}
body.is-admin-app .app-money.kassa-dash .kassa-fact-edit input {
  text-align: left;
}
body.is-admin-app .app-money span { color: var(--muted); }
body.is-admin-app .app-money b { font-variant-numeric: tabular-nums; }
body.is-admin-app .app-money span.is-minus { color: #b91c1c; }
body.is-admin-app .app-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px 52px 52px;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 6px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
}
body.is-admin-app .app-shift b { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
body.is-admin-app .app-shift.is-on { background: #f3efe6; }
body.is-admin-app #view-schedule .app-sheet {
  position: static;
  top: auto;
  z-index: auto;
  margin-top: 16px;
  padding: 0;
  background: transparent;
}
body.is-admin-app #view-schedule .app-day em {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ok);
}
body.is-admin-app #view-schedule .app-day em.is-off,
body.is-admin-app #view-schedule .app-day em.is-away { color: var(--muted); }
body.is-admin-app #view-schedule .app-day.is-on em { color: var(--paper); }
body.is-admin-app .app-person { display: flex; flex-direction: column; gap: 10px; }
body.is-admin-app .app-person h2 { margin: 0; font-size: 18px; }
body.is-admin-app .app-person label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
body.is-admin-app .app-person label span { flex: 0 0 auto; }
body.is-admin-app .app-person input {
  display: block;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: right;
}
body.is-admin-app .app-person input[data-app-pass] {
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
}
body.is-admin-app .app-back,
body.is-admin-app .app-save,
body.is-admin-app .app-del {
  height: 36px;
  border-radius: 10px;
  font: inherit;
}
body.is-admin-app .app-back { align-self: flex-start; border: 0; background: none; color: var(--ink); padding: 0; }
body.is-admin-app .app-save { border: 0; background: var(--ink); color: var(--paper); }
body.is-admin-app .app-del { border: 1px solid #b91c1c; background: #fff; color: #b91c1c; }
body.is-admin-app .app-ask { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.is-admin-app .app-warn { margin: 0; color: #b91c1c; font-size: 13px; }
body.is-admin-app .app-cash {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
body.is-admin-app .app-cash td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
body.is-admin-app .app-cash-mgr { width: 34%; line-height: 1.25; }
body.is-admin-app .app-cash-mgr span { display: block; }
body.is-admin-app .app-cash-org { width: 38%; text-align: center; }
body.is-admin-app .app-cash-sum {
  width: 28%;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
body.is-admin-app .app-cash-sum.is-minus { color: #b91c1c; }
body.is-admin-app .app-empty { margin: 8px 0; color: var(--muted); font-size: 13px; }

body.is-phone-acc #view-accountant .hist-layout,
body.is-phone-acc #view-accountant .hist-main,
body.is-phone-acc #view-accountant #acc-invoices-ui,
body.is-phone-acc #view-accountant #acc-cal {
  display: contents;
}
body.is-phone-acc #view-accountant .hist-layout {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 8px 10px;
}
body.is-phone-acc #view-accountant .toolbar,
body.is-phone-acc #view-accountant #acc-invoices-ui > .hint { display: none; }
body.is-phone-acc #view-accountant .cal-nav { order: 1; flex: 1 1 auto; min-width: 0; margin: 0; }
body.is-phone-acc #view-accountant #acc-count { order: 1; flex: 0 0 auto; margin: 0; white-space: nowrap; }
body.is-phone-acc #view-accountant .calendar { order: 2; flex: 1 1 100%; }
body.is-phone-acc #view-accountant .acc-chip-row { order: 3; flex: 1 1 100%; margin: 0; }
body.is-phone-acc #view-accountant .acc-chip-row #acc-filter-chips,
body.is-phone-acc #view-accountant .acc-chip-row #acc-doc-chips { order: 0; flex: 0 0 auto; width: auto; }
body.is-phone-acc #view-accountant .hist-bar { order: 4; flex: 1 1 100%; margin: 0; }
body.is-phone-acc #view-accountant #acc-pane-chips { order: 5; flex: 1 1 100%; }
body.is-phone-acc #view-accountant #acc-stage-links { order: 6; flex: 1 1 100%; }
body.is-phone-acc #view-accountant #acc-manager-chips { order: 7; flex: 1 1 100%; }
body.is-phone-acc #view-accountant #acc-sum-links { order: 8; flex: 1 1 100%; }
body.is-phone-acc #view-accountant #acc-table { order: 9; flex: 1 1 100%; }
body.is-phone-acc #acc-cal:not(.is-open) .calendar,
body.is-phone-acc #acc-cal:not(.is-open) .cal-nav .btn,
body.is-phone-acc #acc-cal:not(.is-open) #acc-manager-chips,
body.is-phone-acc #acc-cal:not(.is-open) #acc-sum-links,
body.is-phone-acc:not(:has(#acc-cal.is-open)) #acc-stage-links { display: none; }
body.is-phone-acc .cal-title { cursor: pointer; text-align: left; font-size: 16px; }
body.is-phone-acc .cal-title::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  vertical-align: 2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
body.is-phone-acc #acc-cal.is-open .cal-title { text-align: center; }
body.is-phone-acc #acc-cal.is-open .cal-title::after { transform: rotate(180deg); }
body.is-phone-acc #acc-cal.is-open .cal-nav .btn { display: inline-flex; }
body.is-phone-acc #view-accountant .cal-panel {
  position: static;
  border: 0;
  background: transparent;
  padding: 0;
}
body.is-phone-acc #acc-filter-chips,
body.is-phone-acc #acc-pane-chips,
body.is-phone-acc #acc-stage-links,
body.is-phone-acc #acc-manager-chips,
body.is-phone-acc #acc-sum-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
body.is-phone-acc #acc-filter-chips .chip,
body.is-phone-acc #acc-pane-chips .chip,
body.is-phone-acc #acc-manager-chips .chip {
  flex: 0 0 auto;
  width: auto;
  flex-direction: row;
  white-space: nowrap;
  padding: 7px 10px;
}
body.is-phone-acc #acc-stage-links { grid-template-columns: none; }
body.is-phone-acc #acc-sum-links { display: block; overflow: visible; flex-wrap: unset; }
body.is-phone-acc #acc-stage-links .acc-sum-link { flex: 0 0 auto; }
body.is-phone-acc #acc-q { width: 100%; height: 40px; margin: 0; }
body.is-phone-acc #acc-table {
  background: transparent;
  border: 0;
  overflow: visible;
}
body.is-phone-acc .acc-phone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
body.is-phone-acc .acc-phone-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: baseline;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
body.is-phone-acc .acc-phone-head b { font-weight: 700; }
body.is-phone-acc .acc-phone-head span { color: var(--muted); font-size: 12px; }
body.is-phone-acc .acc-phone-head em {
  grid-column: 1;
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.is-phone-acc .acc-phone-head strong {
  font-weight: 650;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
body.is-phone-acc .acc-phone .acc-pay-act { margin: 0; }
body.is-phone-acc .acc-phone-body {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}
body.is-phone-acc .acc-phone-body .acc-pay-col,
body.is-phone-acc .acc-phone-body .acc-pay-row,
body.is-phone-acc .acc-phone-body .acc-pay-totals { width: 100%; max-width: 100%; min-width: 0; }
body.is-phone-acc .acc-phone-body .acc-pay-totals { flex-wrap: wrap; }
body.is-phone-acc .acc-phone-body .acc-pay-row {
  display: grid;
  grid-template-columns: 5.6em minmax(0, 1fr) 6.6em;
  align-items: center;
  gap: 6px;
}
body.is-phone-acc .acc-phone-body .acc-pay-row select,
body.is-phone-acc .acc-phone-body .acc-pay-row [data-pay-sum],
body.is-phone-acc .acc-phone-body .acc-pay-row .pay-day-box {
  width: 100%;
  min-width: 0;
}
body.is-phone-acc .acc-phone-body .acc-pay-row .acc-pay-acts {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.is-admin-app #acc-pane-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.is-admin-app #acc-pane-chips .chip {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 7px 12px;
}
body.is-phone-asm #view-accountant .cal-panel {
  position: static;
  border: 0;
  background: transparent;
  padding: 0;
}
body.is-phone-asm #acc-cal:not(.is-open) .calendar,
body.is-phone-asm #acc-cal:not(.is-open) .cal-nav .btn { display: none; }
body.is-phone-asm .cal-title { cursor: pointer; text-align: left; font-size: 16px; }
body.is-phone-asm .cal-title::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  vertical-align: 2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
body.is-phone-asm #acc-cal.is-open .cal-title::after { transform: rotate(180deg); }
body.is-phone-asm #acc-cal.is-open .cal-nav .btn { display: inline-flex; }
body.is-phone-asm #acc-count { margin: 4px 0 10px; }
body.is-phone-asm #acc-table {
  background: transparent;
  border: 0;
  overflow: visible;
}
body.is-phone-asm .asm-phone {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
body.is-phone-asm .asm-phone.is-on { background: #f3efe6; }
body.is-phone-asm .asm-phone-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
body.is-phone-asm .asm-phone-head b { font-size: 16px; font-weight: 700; }
body.is-phone-asm .asm-phone-head span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  white-space: pre-line;
}
body.is-phone-asm .asm-phone-head i {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
body.is-phone-asm .asm-phone-empty {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
body.is-phone-asm .asm-phone-job {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 2px 10px;
  margin-top: 10px;
  font-size: 13px;
}
body.is-phone-asm .asm-phone-job b { font-weight: 700; }
body.is-phone-asm .asm-phone-job em {
  grid-column: 1 / -1;
  font-style: normal;
  color: var(--muted);
}
body.is-phone-asm .asm-phone-job em:first-of-type {
  color: var(--ink);
  font-weight: 600;
  white-space: pre-line;
}
body.is-phone-asm .asm-phone-job em.is-addr {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-phone-sheet #view-accountant .toolbar { display: none; }
body.is-phone-sheet #view-accountant .cal-panel {
  position: static;
  border: 0;
  background: transparent;
  padding: 0;
}
body.is-phone-sheet #acc-cal:not(.is-open) .calendar,
body.is-phone-sheet #acc-cal:not(.is-open) .cal-nav .btn { display: none; }
body.is-phone-sheet .cal-title { cursor: pointer; text-align: left; font-size: 16px; }
body.is-phone-sheet .cal-title::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  vertical-align: 2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
body.is-phone-sheet #acc-cal.is-open .cal-title::after { transform: rotate(180deg); }
body.is-phone-sheet #acc-cal.is-open .cal-nav .btn { display: inline-flex; }
body.is-phone-sheet #acc-totals { margin: 8px 0 12px; }
body.is-phone-sheet #acc-shift-stats { display: none; }
body.is-phone-sheet #acc-table {
  background: transparent;
  border: 0;
  overflow: visible;
}
body.is-phone-sheet .sheet-phone {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
body.is-phone-sheet .sheet-phone-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
body.is-phone-sheet .sheet-phone-head b {
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
}
body.is-phone-sheet .sheet-phone-head span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
body.is-phone-sheet .sheet-phone.is-open { background: #f3efe6; }
body.is-phone-sheet .sheet-phone-slot > #acc-schedule {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.is-phone-sheet .sheet-phone-slot > #acc-schedule > b { display: none; }
body.is-phone-sheet .shift-week { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
body.is-phone-sheet .shift-time { justify-content: space-between; }
body.is-phone-sheet .shift-time input { width: 96px; }
body.is-phone-sheet .sheet-phone-days {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
body.is-phone-sheet .sheet-phone-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
body.is-phone-sheet .sheet-phone-day b { font-weight: 600; font-size: 14px; }
body.is-phone-sheet .sheet-phone-day span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
body.is-phone-sheet .sheet-phone-day span.is-open { color: var(--ok); font-weight: 600; }
body.is-phone-sheet .sheet-phone-day span.is-late { color: var(--stamp); font-weight: 600; }
body.is-phone-sheet .sheet-phone-day span.is-off { color: #b91c1c; }
body.is-phone-sheet .sheet-phone-day.is-on { background: #e7f0e4; }
body.is-phone-sheet .sheet-phone-head span.is-open { color: var(--ok); }
body.is-phone-sheet .sheet-phone-head span.is-off { color: #b91c1c; }


body.is-phone-kassa #view-accountant .hist-layout,
body.is-phone-kassa #view-accountant .hist-main,
body.is-phone-kassa #view-accountant #acc-kassa-ui,
body.is-phone-kassa #view-accountant #acc-cal {
  min-width: 0;
  max-width: 100%;
}
body.is-phone-kassa #view-accountant .hist-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.is-phone-kassa #view-accountant .toolbar { display: none; }
body.is-phone-kassa #view-accountant .cal-panel {
  position: static;
  order: 1;
}
body.is-phone-kassa #acc-cal:not(.is-open) .calendar,
body.is-phone-kassa #acc-cal:not(.is-open) .cal-nav .btn,
body.is-phone-kassa #acc-cal:not(.is-open) #acc-manager-chips { display: none; }
body.is-phone-kassa .cal-title { cursor: pointer; text-align: left; font-size: 16px; }
body.is-phone-kassa .cal-title::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 0.15em;
}
body.is-phone-kassa #acc-cal.is-open .cal-title { text-align: center; }
body.is-phone-kassa #acc-cal.is-open .cal-title::after { transform: rotate(225deg); vertical-align: -0.05em; }
body.is-phone-kassa #acc-cal.is-open .cal-nav .btn { display: inline-flex; }
body.is-phone-kassa #acc-kassa-ui { order: 2; }
body.is-phone-kassa #acc-manager-chips { order: 3; }
body.is-phone-kassa #acc-table {
  order: 4;
  background: transparent;
  border: 0;
  overflow: visible;
  padding: 0;
}
body.is-phone-kassa #acc-totals { order: 0; }
body.is-phone-kassa .kassa-exp-form {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
body.is-phone-kassa .kassa-exp-form input[name="title"],
body.is-phone-kassa .kassa-exp-form input[name="amount"],
body.is-phone-kassa .kassa-exp-form input[name="day"] {
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
}
body.is-phone-kassa .kassa-exp-form .btn { width: 100%; }
body.is-phone-kassa .kassa-phone-totals { grid-template-columns: 1fr; }
body.is-phone-kassa .kassa-dash {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
