:root {
  font-family: Arial, sans-serif;
  color: #24344b;
  background: #f5f7fb;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
}
aside {
  width: 245px;
  background: linear-gradient(160deg, #183555, #0b1b31);
  color: white;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
}
aside h2 {
  font-size: 20px;
  margin: 0 0 36px;
}
nav {
  display: grid;
  gap: 7px;
}
nav button {
  background: transparent;
  color: #dce6f5;
  text-align: left;
  padding: 15px;
  border: 0;
}
nav button.active {
  background: #1766d7;
  color: white;
}
.sidebar-connections {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.sidebar-connections:empty {
  display: none;
}
.account {
  margin-top: auto;
}
.account select {
  margin-top: 9px;
}
main {
  margin-left: 245px;
  width: calc(100% - 245px);
  padding: 24px 30px;
  max-width: 1900px;
}
.notice {
  background: #e9eff8;
  color: #4b617f;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
h1 {
  font-size: 32px;
  margin: 0 0 8px;
}
h2 {
  font-size: 20px;
  margin-top: 0;
}
p {
  color: #63728b;
  line-height: 1.5;
}
header p {
  margin: 0;
}
button {
  cursor: pointer;
  font: inherit;
  border: 1px solid #1968db;
  background: #1968db;
  color: white;
  border-radius: 7px;
  padding: 11px 16px;
}
button.secondary {
  background: white;
  color: #1968db;
  border-color: #c8d6e9;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
input,
select,
textarea {
  font: inherit;
  padding: 11px;
  border: 1px solid #cbd5e3;
  border-radius: 6px;
  background: white;
  color: #24344b;
  width: 100%;
}
textarea {
  min-height: 95px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.card,
.panel {
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 10px;
  padding: 22px;
}
.card .value {
  font-size: 28px;
  font-weight: 700;
  margin: 14px 0 8px;
  color: #163e74;
}
.muted {
  font-size: 14px;
  color: #6b7a91;
}
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.filters > * {
  flex: 1;
  min-width: 0;
}
.tablewrap {
  overflow: auto;
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  margin-bottom: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th {
  text-align: left;
  background: #edf2f9;
  padding: 16px;
  white-space: nowrap;
}
td {
  padding: 15px;
  border-top: 1px solid #e7ecf3;
  vertical-align: middle;
}
tr.click:hover {
  background: #eef5ff;
  cursor: pointer;
}
.num {
  white-space: nowrap;
  text-align: right;
}
.badge {
  display: inline-block;
  border-radius: 16px;
  background: #eaf1fd;
  color: #245696;
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
}
.badge.red {
  background: #fce4e5;
  color: #a82336;
}
.badge.amber {
  background: #fff0d1;
  color: #885400;
}
.good {
  color: #168246;
  font-weight: 700;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wide {
  grid-column: 1/-1;
}
.warning {
  padding: 15px;
  background: #fff5db;
  border: 1px solid #eed391;
  border-radius: 8px;
  margin-bottom: 18px;
}
.empty {
  padding: 35px;
  text-align: center;
  color: #63728b;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.panel {
  margin-bottom: 20px;
}
dialog {
  border: 0;
  border-radius: 12px;
  max-width: 960px;
  width: 90%;
  max-height: 90vh;
  padding: 28px;
  box-shadow: 0 30px 100px #0004;
}
dialog::backdrop {
  background: #0e223477;
}
#close {
  margin-top: 20px;
}
#toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #163555;
  color: white;
  padding: 14px 20px;
  border-radius: 9px;
  display: none;
}
.tag {
  padding: 6px 9px;
  background: #fff0d1;
  color: #845700;
  border-radius: 5px;
  display: inline-block;
  margin: 3px;
}
.upload {
  border: 2px dashed #ccd8e8;
  padding: 35px;
  text-align: center;
  border-radius: 10px;
  margin: 20px 0;
}
.chart {
  height: 15px;
  background: #e8eef7;
  border-radius: 5px;
  overflow: hidden;
}
.chart i {
  display: block;
  height: 100%;
  background: #2569d8;
}
a {
  color: #1766d7;
}
small {
  line-height: 1.6;
}
.history {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}
@media (max-width: 1050px) {
  aside {
    width: 190px;
  }
  main {
    margin-left: 190px;
    width: calc(100% - 190px);
    padding: 20px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  body {
    display: block;
  }
  aside {
    position: static;
    width: auto;
    padding: 15px;
  }
  aside h2 {
    margin-bottom: 15px;
  }
  nav {
    display: flex;
    overflow: auto;
  }
  nav button {
    white-space: nowrap;
  }
  .account {
    margin-top: 15px;
    max-width: 180px;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 16px;
  }
  header {
    align-items: flex-start;
    flex-direction: column;
  }
  .cards,
  .form {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-direction: column;
  }
  h1 {
    font-size: 26px;
  }
}
:root .comparison {
  display: grid;
  gap: 22px;
  margin: 28px 0;
}
.comparison-row {
  display: grid;
  grid-template-columns: 160px minmax(80px, 1fr) 160px;
  align-items: center;
  gap: 20px;
}
.comparison-row b {
  text-align: right;
}
.comparison-track {
  height: 28px;
  border-radius: 5px;
  background: #edf1f7;
  overflow: hidden;
}
.comparison-track i {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: 5px;
}
@media (max-width: 650px) {
  .comparison-row {
    grid-template-columns: 100px minmax(30px, 1fr) 100px;
    gap: 10px;
    font-size: 14px;
  }
}
.period-picker {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.period-control {
  width: 225px;
}
.period-control label {
  color: #65748a;
  font-size: 13px;
  margin-bottom: 7px;
}
.period-control select {
  font-size: 14px;
  padding: 10px 12px;
}
.period-range {
  font-size: 14px;
  min-height: 39px;
}
.calendar-popup {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 330px;
  background: white;
  border: 1px solid #e1e6ee;
  border-radius: 12px;
  padding: 22px;
  z-index: 20;
  box-shadow: 0 14px 38px #172b4826;
}
.calendar-popup[hidden] {
  display: none;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 22px;
}
.calendar-header b {
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}
.calendar-header button {
  background: none;
  border: 0;
  color: #24344b;
  padding: 5px 12px;
  font-size: 25px;
}
.calendar-week,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 3px;
}
.calendar-week {
  font-size: 10px;
  color: #7b8796;
  margin-bottom: 12px;
}
.calendar-days button {
  border: 0;
  background: transparent;
  color: #26374c;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 14px;
}
.calendar-days button:hover {
  background: #edf3fc;
}
.calendar-days button.selected {
  background: #1968db;
  color: white;
}
.calendar-days button.in-range {
  background: #e8f1ff;
  color: #164b94;
}
.calendar-popup p {
  font-size: 13px;
  min-height: 35px;
  margin: 18px 0 12px;
}
.calendar-footer {
  display: flex;
  gap: 10px;
}
.calendar-footer button {
  flex: 1;
  font-size: 14px;
}
.calendar-footer button:disabled {
  background: #e6e6e6;
  border-color: #e6e6e6;
  color: #999;
}
button:focus-visible,
select:focus-visible {
  outline: 3px solid #90bdf7;
  outline-offset: 2px;
}
.metric-compare {
  font-size: 13px;
  margin: 0 0 10px;
  line-height: 1.5;
}
.metric-compare.up {
  color: #177d4c;
}
.metric-compare.down {
  color: #b73649;
}
.metric-compare.neutral {
  color: #718097;
}

.copy-order {
  border: 0;
  background: transparent;
  color: #1766d7;
  padding: 5px 3px;
  white-space: nowrap;
  font-size: inherit;
  text-align: left;
}
.copy-order:hover {
  background: #e1edff;
  text-decoration: underline;
}
.copy-order span {
  opacity: 0.6;
  margin-left: 5px;
}

.occurrence-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #dce3ed;
  margin: 20px 0 24px;
  overflow: auto;
}
.tariff-grid {
  overflow: auto;
  max-height: 48vh;
  border: 1px solid #dce3ed;
  border-radius: 8px;
}
.tariff-grid table {
  margin: 0;
}
.tariff-grid thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eef3fa;
}
.tariff-grid tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: white;
  min-width: 150px;
}
.tariff-grid td input {
  width: 95px;
  min-width: 95px;
  padding: 8px;
  margin: 0;
}
.tariff-grid td {
  padding: 7px;
}
.occurrence-tabs button {
  background: transparent;
  color: #63728b;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  padding: 13px 3px;
}
.occurrence-tabs button[aria-selected="true"] {
  color: #1968db;
  border-bottom-color: #1968db;
  font-weight: bold;
}
.form [hidden] {
  display: none;
}

dialog {
  padding-top: 48px;
}
#close {
  position: absolute;
  right: 14px;
  top: 10px;
  margin: 0;
  border: 0;
  background: transparent;
  color: #63728b;
  font-size: 28px;
  line-height: 1;
  padding: 7px 10px;
  z-index: 2;
}
#close:hover {
  background: #edf2f9;
  color: #183555;
}

.occurrence-date {
  grid-column: 1/-1;
  width: 240px;
  max-width: 100%;
}
.occurrence-date input {
  cursor: pointer;
}
.reputation-switch {
  display: flex;
  align-items: center;
  gap: 18px;
}
.reputation-switch button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  color: #24344b;
  padding: 5px;
}
.switch-track {
  width: 42px;
  height: 24px;
  border-radius: 20px;
  background: #aab6c5;
  position: relative;
}
.switch-track:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 3px;
  left: 3px;
  background: white;
  border-radius: 50%;
}
.reputation-switch [aria-checked="true"] .switch-track {
  background: #1968db;
}
.reputation-switch [aria-checked="true"] .switch-track:after {
  left: 21px;
}

.refund-compact {
  width: 210px;
  max-width: 100%;
}
.percent-input {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e3;
  border-radius: 6px;
  background: white;
}
.percent-input input {
  border: 0;
  width: calc(100% - 32px);
}
.percent-input span {
  padding-right: 12px;
  color: #63728b;
}

.occurrence-top {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.occurrence-top .occurrence-date {
  flex: 0 0 240px;
}
.occurrence-top #complaintProtocolField {
  width: 300px;
  max-width: 100%;
}

.money-input {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e3;
  border-radius: 6px;
  background: white;
}
.money-input > span {
  padding-left: 12px;
  color: #63728b;
}
.money-input input {
  border: 0;
  min-width: 0;
}
.money-input:focus-within {
  outline: 2px solid #90bdf7;
}

.claim-card {
  border: 1px solid #bcd2ef;
  background: #f6f9ff;
  border-radius: 9px;
  padding: 18px;
  margin: 14px 0;
}
.claim-card summary {
  cursor: pointer;
  color: #1766d7;
}

.occurrence-icon {
  border: 0;
  background: transparent;
  padding: 5px;
  font-size: 19px;
}
.occurrence-icon:hover {
  background: #e1edff;
}

.identifier-error {
  color: #b42336;
  font-size: 12px;
  line-height: 1.4;
}
.identifier-error:empty {
  display: none;
}
input[aria-invalid="true"] {
  border-color: #b42336;
}

#occurrenceFilters {
  flex-wrap: wrap;
  margin-top: 18px;
}
#occurrenceFilters[hidden] {
  display: none;
}
#occurrenceFilters label {
  min-width: 170px;
}
#occurrenceCount {
  margin: 18px 0;
}
.claim-card h2 {
  margin: 0;
}

.protocol-kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 18px;
  overflow: auto;
  align-items: start;
}
.kanban-column {
  background: #eaf0f7;
  border-radius: 10px;
  padding: 15px;
  min-height: 300px;
}
.kanban-column > h2 {
  font-size: 17px;
}
.kanban-column .claim-card {
  background: white;
  padding: 15px;
}
.kanban-column .claim-card h2 {
  font-size: 17px;
}
.kanban-column .claim-card button {
  font-size: 13px;
  padding: 8px;
}
.kanban-column .claim-card p {
  font-size: 14px;
}

[data-protocol-id] {
  cursor: grab;
}
[data-protocol-id]:active {
  cursor: grabbing;
}
.dragging {
  opacity: 0.45;
}
.kanban-column.drop-target {
  outline: 2px dashed #1968db;
  background: #dae9ff;
}

.expense-month-picker {
  position: relative;
  margin-bottom: 22px;
}
.month-calendar {
  position: absolute;
  top: 48px;
  left: 0;
  background: white;
  padding: 18px;
  width: 340px;
  max-width: 100%;
  border: 1px solid #dce3ed;
  box-shadow: 0 12px 30px #172b4826;
  border-radius: 10px;
  z-index: 20;
}
.month-calendar[hidden] {
  display: none;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.month-grid button {
  background: #f1f5fb;
  color: #24344b;
  border: 0;
  font-size: 13px;
  padding: 12px 5px;
}
.month-grid button.selected {
  background: #1968db;
  color: white;
}

.marketplace-logo {
  display: block;
  width: 70px;
  height: 30px;
  object-fit: contain;
  margin-left: auto;
}

.audit-change {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #e1e8f1;
}
.audit-change del {
  color: #8a6470;
}
.audit-change strong {
  color: #17623e;
}
.audit-arrow {
  color: #63728b;
  padding: 0 8px;
}
.audit-card > .row {
  justify-content: space-between;
}
@media (max-width: 650px) {
  .audit-change {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

body.saving-workflow {
  cursor: progress;
}
body.saving-workflow main,
body.saving-workflow aside,
body.saving-workflow dialog {
  pointer-events: none;
  opacity: 0.75;
}

body.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f3f6fb;
  padding: 24px;
  box-sizing: border-box;
}
.login-card {
  width: min(100%, 480px);
  margin: auto;
}
.login-card form {
  display: grid;
  gap: 16px;
}
.login-card details {
  margin-top: 22px;
}
.login-card summary {
  cursor: pointer;
}
.login-card input,
.login-card select {
  box-sizing: border-box;
  width: 100%;
}
.login-card .field-error {
  color: #b42318;
}

.password-input {
  position: relative;
  display: flex;
  align-items: center;
}
.login-card .password-input input {
  padding-right: 52px;
}
.login-card .password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 36px;
  padding: 0;
  background: transparent;
  color: #49647f;
  border: 0;
  border-radius: 6px;
  font-size: 20px;
}
.password-toggle:focus-visible {
  outline: 2px solid #1865df;
}
.password-toggle[aria-pressed="true"] {
  background: #e7efff;
}

.password-input input {
  padding-right: 52px;
}
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 36px;
  padding: 0;
  background: transparent;
  color: #49647f;
  border: 0;
  border-radius: 6px;
  font-size: 20px;
}

/* ArtVal dashboard */
.artval {
  color-scheme: dark;
  --canvas: #070f05;
  --surface: #3f2920;
  --inset: #211a13;
  --ink: #e6e2da;
  --muted: #cfc3b3;
  --accent: #a6824a;
  --accent-ink: #070f05;
  --link: #f2ce94;
  --line: #927a66;
  --hover: #50382b;
  --positive: #aed9ae;
  --negative: #ffb5ae;
  color: var(--ink);
  background: var(--canvas);
  font-family: Goodly, "Segoe UI", sans-serif;
}
.artval[data-theme="light"] {
  color-scheme: light;
  --canvas: #e6e2da;
  --surface: #fffaf0;
  --inset: #f2ebdf;
  --ink: #070f05;
  --muted: #58483c;
  --link: #624520;
  --line: #8a725e;
  --hover: #eadcc5;
  --positive: #285930;
  --negative: #9a2636;
}
.artval h1, .artval h2, .artval h3, .artval .brand strong {
  font-family: Qurova, Goodly, "Segoe UI", sans-serif;
}
.artval .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.artval .brand svg {
  flex: 0 0 46px;
  width: 46px;
  fill: currentColor;
}
.artval .brand-accent { fill: var(--accent); }
.artval .brand strong { display: block; font-size: 23px; }
.artval .brand span, .artval .theme-control {
  font-family: "Leo Rounded Pro", Goodly, "Segoe UI", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.artval .brand span { color: var(--muted); }
.artval .theme-control { margin-bottom: 16px; }
.artval .theme-control select { margin-top: 4px; }
.artval .test-banner {
  position: sticky;
  top: 0;
  z-index: 2;
  grid-column: 1 / -1;
  padding: 7px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.artval body {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
}
.artval aside {
  position: sticky;
  inset: auto;
  top: 32px;
  max-height: calc(100dvh - 32px);
  background: var(--surface);
  color: var(--ink);
  border-right: 1px solid var(--line);
}
.artval aside > * { flex-shrink: 0; }
.artval .account { padding-top: 16px; }
.artval main { margin: 0; width: auto; min-width: 0; }
.artval main header { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.artval nav button { color: var(--ink); background: transparent; }
.artval nav button:hover { background: var(--hover); }
.artval nav button.active, .artval button:not(.secondary, .copy-order, #close) {
  border-color: var(--accent);
}
.artval nav button.active, .artval header > button,
.artval dialog form button:not(.secondary, [role], [type="button"]),
.artval .calendar-days button.selected, .artval .calendar-footer button:not(.secondary) {
  background: var(--accent);
  color: var(--accent-ink);
}
.artval .card, .artval .panel, .artval .tablewrap, .artval dialog,
.artval .calendar-popup, .artval .claim-card {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}
.artval .card .value { color: var(--ink); font-variant-numeric: tabular-nums; }
.artval p, .artval .muted, .artval .empty, .artval .period-control label,
.artval .calendar-week, .artval .metric-compare.neutral,
.artval .money-input > span, .artval .percent-input span { color: var(--muted); }
.artval input, .artval select, .artval textarea, .artval button.secondary,
.artval th, .artval .notice, .artval .comparison-track, .artval #close {
  color: var(--ink);
  background: var(--inset);
  border-color: var(--line);
}
.artval input::placeholder { color: var(--muted); opacity: 1; }
.artval td, .artval .history, .artval .occurrence-tabs { border-color: var(--line); }
.artval tr.click:hover, .artval .copy-order:hover,
.artval .calendar-days button:hover { background: var(--hover); }
.artval .calendar-header button, .artval .calendar-days button,
.artval .occurrence-tabs button, .artval .reputation-switch button { color: var(--ink); }
.artval a, .artval .copy-order, .artval .claim-card summary,
.artval .occurrence-tabs button[aria-selected="true"] { color: var(--link); }
.artval .metric-compare.up, .artval .good { color: var(--positive); }
.artval .metric-compare.down, .artval .identifier-error { color: var(--negative); }
.artval :focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.artval .tablewrap { max-width: 100%; }
.artval .filters { flex-wrap: wrap; }
.artval .filters > * { min-width: min(100%, 160px); }

@media (max-width: 1050px) {
  .artval body { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .artval body { display: block; }
  .artval .test-banner { position: static; }
  .artval aside { position: static; max-height: none; border-right: 0; }
  .artval nav { padding: 3px; }
  .artval nav button { min-height: 44px; }
  .artval .theme-control { width: 135px; }
  .artval dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
}

.artval .warning, .artval .notice {
  background: var(--inset);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.artval .chart { background: var(--inset); }
.artval .chart i { background: var(--accent); }
.artval .badge:not(.red, .amber) { background: var(--inset); color: var(--ink); }
.artval .calendar-days button.in-range { background: var(--hover); color: var(--ink); }
.artval .calendar-days button.selected:hover { background: var(--accent); color: var(--accent-ink); }
.artval #detail button:not(.secondary, [role], #close),
.artval .calendar-footer button:not(.secondary) {
  background: var(--accent);
  color: var(--accent-ink);
}
.artval .calendar-footer button:disabled { opacity: .55; }
.artval #ordersTable td, .artval #ordersTable th { padding: 10px 9px; }
.artval .theme-control select { font-size: 0.875rem; }
@media (max-width: 650px) {
  .artval .sidebar-connections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artval .sidebar-connections button { padding-inline: 6px; font-size: 0.8rem; }
  .artval .account { display: flex; align-items: end; gap: 8px; max-width: none; padding-top: 0; }
  .artval .account label { max-width: 180px; }
}

/* Ícones da lista de pedidos. */
.modality-icon,
.division-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: #785636;
}
.modality-icon {
  width: 32px;
  height: 32px;
}
.modality-icon svg,
.division-icon svg {
  width: 26px;
  height: 26px;
}
#ordersTable .division-icon {
  margin-left: 5px;
  padding: 4px;
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #785636;
}
#ordersTable .division-icon:hover {
  background: var(--hover, #eddfc7);
}
.modality-icon:focus-visible,
#ordersTable .division-icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.artval .modality-icon,
.artval #ordersTable .division-icon {
  color: var(--ink);
}
