:root {
  --ink: #24334a;
  --muted: #596b80;
  --brand: #29236b;
  --blue: #007bae;
  --line: #dce4ee;
  --canvas: #f5f7fb;
  --header-height: 86px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font:
    15px/1.55 Arial,
    sans-serif;
}
a {
  color: #006e9d;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #4da5ce;
  outline-offset: 3px;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #bdcbdc;
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #65788b;
}
input[type="checkbox"] {
  width: auto;
  accent-color: var(--brand);
  flex-shrink: 0;
}
textarea {
  resize: vertical;
  min-height: 112px;
}
h1,
h2,
h3 {
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px;
}
h1 {
  font-size: 28px;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 17px;
}
p {
  margin: 0 0 16px;
}
[hidden] {
  display: none !important;
}
.ui-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.top {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand img {
  display: block;
  width: 176px;
  height: auto;
}
.back-site {
  font-size: 13px;
  color: var(--muted);
}
.top #account-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 14px;
}
.account-name {
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  background: #211c59;
  text-decoration: none;
}
.button.secondary {
  background: #fff;
  border-color: #bdcbdc;
  color: var(--ink);
}
.button.secondary:hover {
  background: #f0f4fa;
}
.button.small {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
}
.text-button {
  min-height: 36px;
  padding: 6px 4px;
  background: none;
  color: #006e9d;
}
.shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  max-width: 1480px;
  min-height: calc(100dvh - var(--header-height));
  margin: auto;
}
.side {
  padding: 26px 14px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.side nav {
  display: grid;
  gap: 6px;
  position: sticky;
  top: 20px;
}
.side nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.side nav a:hover {
  background: #f3f4fa;
  text-decoration: none;
}
.side nav a.active {
  background: #eeedf8;
  color: var(--brand);
}
.side-help {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 14px;
  font-size: 12px;
}
.side-help a {
  color: var(--muted);
}
.nav-badge {
  margin-left: auto;
  background: var(--brand);
  color: #fff;
  padding: 1px 6px;
  border-radius: 20px;
  font-size: 11px;
}
main {
  min-width: 0;
  padding: 30px 36px 40px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.page-head > div {
  min-width: 0;
}
.page-head h1 {
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.page-head p {
  margin-bottom: 0;
}
.page-head > .button {
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
}
.card {
  margin-bottom: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.card > :last-child {
  margin-bottom: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.grid .card {
  margin-bottom: 0;
}
.order-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.overview-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.overview-item strong {
  font-size: 25px;
  line-height: 1.25;
  color: var(--brand);
}
.overview-item span {
  color: var(--muted);
  font-size: 13px;
}
.overview-item.attention strong {
  color: #986300;
}
.order-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  color: inherit;
  transition: border-color 0.15s;
}
.order-card:hover {
  border-color: #8882b8;
  text-decoration: none;
}
.order-card h2 {
  margin-top: 18px;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.card-top > .muted {
  font-size: 12px;
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 4px 9px;
  background: #eeedf8;
  color: #393477;
  font-size: 12px;
  font-weight: 600;
}
.status-progress {
  background: #eaf3fa;
  color: #185d88;
}
.status-attention {
  background: #fff1d3;
  color: #855300;
}
.status-review {
  background: #eeedf8;
  color: #4c3b8a;
}
.status-success {
  background: #e8f5ed;
  color: #24633d;
}
.status-neutral {
  background: #f0f2f5;
  color: #596675;
}
.unread-indicator {
  color: #006c9c;
  font-size: 13px;
  font-weight: 600;
}
.unread-indicator::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}
.order-card .summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid #eaf0f5;
  font-size: 13px;
}
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.filters input {
  flex: 1;
}
.filters select {
  width: 200px;
}
.empty {
  max-width: 720px;
  margin: 20px auto;
  padding: 44px 24px;
  text-align: center;
}
.empty > .ui-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 12px;
  background: #eeedf8;
  color: var(--brand);
  margin-bottom: 18px;
}
.empty p {
  max-width: 450px;
  margin: 0 auto 24px;
  color: var(--muted);
}
.empty .actions {
  justify-content: center;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.tabs {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tabs a {
  padding: 10px 18px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.tabs a.active {
  border-color: var(--brand);
  color: var(--brand);
}
.back-orders {
  display: inline-block;
  font-size: 13px;
  margin-bottom: 12px;
}
.back-orders::before {
  content: "‹";
  margin-right: 7px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.fact strong {
  display: block;
  font-size: 17px;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.hint {
  border: 1px solid #d2e6f1;
  border-radius: 10px;
  background: #ecf5fa;
  padding: 20px;
  margin-bottom: 20px;
}
.hint p:last-child {
  margin-bottom: 0;
}
.next-step {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.next-step > div {
  max-width: 660px;
}
.next-step p {
  font-size: 14px;
  margin-bottom: 0;
}
.next-step h3 {
  margin-bottom: 7px;
}
.next-step .button {
  flex-shrink: 0;
}
.form-grid {
  display: grid;
  gap: 18px;
}
.field > span,
.field > label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
.checkbox {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 14px;
}
.checkbox input {
  margin-top: 5px;
}
.error {
  padding: 12px 14px;
  margin: 12px 0;
  border-radius: 8px;
  background: #fff0f0;
  color: #a02727;
  font-size: 14px;
}
.login {
  max-width: 480px;
  margin: 6vh auto;
  padding: 36px;
  border-top: 4px solid var(--brand);
  box-shadow: 0 10px 35px #29236b08;
}
.login-mode main {
  padding-top: 40px;
}
.login h1 {
  font-size: 27px;
}
.login .intro {
  color: var(--muted);
  font-size: 15px;
}
.login .button {
  width: 100%;
}
.code-input {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 8px;
}
.note {
  color: var(--muted);
  font-size: 12px;
}
.chat-mode .shell main {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-height));
  padding-top: 22px;
  padding-bottom: 22px;
}
.chat-mode .page-head,
.chat-mode .back-orders {
  flex-shrink: 0;
}
.chat-mode .page-head {
  margin-bottom: 18px;
}
.chat-mode .page-head h1 {
  font-size: 25px;
}
.chat-mode .tabs {
  margin-bottom: 16px;
}
.chat-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  flex: 1;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
}
.chat-toolbar {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.chat-toolbar select {
  flex: 1;
}
.chat-toolbar input {
  width: 280px;
}
.chat-log {
  flex: 1;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fafbfe;
}
.message {
  max-width: 85%;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 11px 11px 11px 3px;
  padding: 12px 16px;
  background: #fff;
}
.message.mine {
  align-self: end;
  background: #eeedf8;
  border-color: #dddaf0;
  border-radius: 11px 11px 3px 11px;
}
.message .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.message .meta strong {
  color: var(--ink);
  font-size: 12px;
}
.message .body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message .file {
  display: block;
  padding: 9px 12px;
  margin-top: 8px;
  border-radius: 7px;
  background: #f4f7fb;
  border: 1px solid #e0e6ef;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.message.mine .file {
  background: #ffffffa6;
}
.message .topic {
  display: block;
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.chat-empty {
  margin: auto;
  padding: 30px;
  text-align: center;
}
.composer {
  flex-shrink: 0;
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.composer .field {
  display: block;
  margin-bottom: 10px;
}
.composer .field > span {
  font-size: 12px;
  margin-bottom: 5px;
}
.composer textarea {
  height: 68px;
  min-height: 54px;
  max-height: 140px;
}
.composer > .muted {
  font-size: 12px;
  margin-bottom: 6px;
}
.composer .actions {
  margin-top: 8px;
}
.composer .actions .button {
  margin-left: auto;
  order: 2;
}
.composer .checkbox {
  font-size: 12px;
  margin: 6px 0;
}
.file-chooser {
  display: flex;
  align-items: center;
  gap: 12px;
}
.file-list {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  max-height: 120px;
  overflow: auto;
}
.file-list:empty {
  display: none;
}
.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 7px;
  background: #f3f5fa;
  font-size: 12px;
}
.file-chip span {
  overflow-wrap: anywhere;
}
.file-chip button {
  flex-shrink: 0;
}
.upload-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.upload-help summary {
  cursor: pointer;
}
.upload-help p {
  margin: 6px 0;
}
.upload-progress {
  width: 100%;
  margin: 8px 0;
}
.older {
  align-self: center;
}
.release-current {
  border-left: 4px solid var(--brand);
}
.release-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.release-head h2 {
  margin-bottom: 7px;
}
.files-grid {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.file-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}
.file-row > :first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.file-row > .muted {
  white-space: nowrap;
  font-size: 12px;
}
.release-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.release-previous {
  margin-bottom: 20px;
}
.release-previous > summary {
  cursor: pointer;
  padding: 15px 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
}
.release-previous > .card {
  margin-top: 10px;
}
.profile {
  max-width: 760px;
}
.review {
  border-left: 3px solid #9db7cf;
  padding-left: 15px;
  margin-bottom: 16px;
}
.code-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid #a8bfd3;
  border-radius: 8px;
  background: #f6f9fc;
  padding: 14px;
  margin-bottom: 10px;
}
.code-box code {
  font-size: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.operator-box {
  box-shadow: none;
  border-style: dashed;
}
.operator-box summary {
  cursor: pointer;
  font-weight: 600;
}
.operator-box .form-grid {
  margin-top: 20px;
}
.operator-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
}
.operator-tools .text-button {
  min-height: 28px;
  padding: 2px;
}
.loading {
  color: var(--muted);
}
.skip {
  position: fixed;
  z-index: 50;
  top: -100px;
  left: 20px;
  padding: 10px;
  background: #fff;
}
.skip:focus {
  top: 10px;
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: 420px;
  padding: 14px 20px;
  color: #fff;
  background: #24334a;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
#toast.show {
  opacity: 1;
}
dialog {
  width: calc(100% - 32px);
  max-width: 600px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  color: var(--ink);
}
dialog::backdrop {
  background: #1a254a70;
}
dialog p,
.wide-text {
  overflow-wrap: anywhere;
}
dialog .body {
  white-space: pre-wrap;
}
.dialog-title {
  font-size: 21px;
  margin-bottom: 20px;
}
.app-error {
  max-width: 700px;
  margin: 30px auto;
}
ul.plain {
  padding-left: 20px;
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  main {
    padding: 26px 24px;
  }
  .side {
    padding: 24px 10px;
  }
  .side nav a {
    padding: 12px 10px;
    font-size: 13px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .next-step {
    flex-wrap: wrap;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-overview {
    gap: 10px;
  }
  .overview-item {
    padding: 14px;
  }
  .overview-item span {
    font-size: 12px;
  }
  .chat-toolbar {
    flex-wrap: wrap;
  }
  .chat-toolbar input {
    width: 100%;
  }
}
@media (max-width: 600px) {
  :root {
    --header-height: 72px;
  }
  .top {
    padding: 12px 16px;
    gap: 12px;
  }
  .brand img {
    width: 145px;
  }
  .back-site,
  .account-name {
    display: none;
  }
  .top #account-menu {
    gap: 8px;
  }
  .shell {
    display: block;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .side {
    position: fixed;
    z-index: 20;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
    border-right: 0;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .side nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .side nav a {
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    padding: 8px 3px;
    min-height: 62px;
  }
  .side nav .ui-icon {
    width: 21px;
    height: 21px;
  }
  .side-help {
    display: none;
  }
  .nav-badge {
    position: absolute;
    right: 10px;
    top: 4px;
  }
  .shell main {
    padding: 24px 16px;
  }
  h1 {
    font-size: 23px;
  }
  h2 {
    font-size: 19px;
  }
  .page-head {
    flex-wrap: wrap;
    align-items: start;
    gap: 14px;
    margin-bottom: 20px;
  }
  .page-head > .button {
    min-height: 42px;
    font-size: 14px;
  }
  .card {
    padding: 20px;
  }
  .order-overview {
    gap: 8px;
    margin-bottom: 20px;
  }
  .overview-item {
    padding: 12px 10px;
  }
  .overview-item strong {
    font-size: 23px;
  }
  .overview-item span {
    font-size: 11px;
  }
  .filters {
    flex-wrap: wrap;
    gap: 10px;
  }
  .filters select {
    width: 100%;
  }
  .order-card {
    min-height: 190px;
  }
  .card-top {
    flex-wrap: wrap;
  }
  .order-card h2 {
    margin-top: 14px;
    font-size: 18px;
  }
  .facts {
    gap: 18px;
  }
  .fact strong {
    font-size: 16px;
  }
  .next-step {
    align-items: start;
  }
  .hint {
    padding: 18px;
  }
  .tabs {
    gap: 2px;
  }
  .tabs a {
    padding: 10px 14px;
    font-size: 14px;
  }
  .login-mode main {
    padding: 24px 16px;
  }
  .login {
    margin: 24px auto;
    padding: 26px 22px;
  }
  .login h1 {
    font-size: 24px;
  }
  .empty {
    padding: 30px 20px;
  }
  .empty .button {
    width: 100%;
  }
  .chat-mode .shell main {
    height: calc(
      100dvh - var(--header-height) - 76px - env(safe-area-inset-bottom)
    );
    padding: 12px;
  }
  .chat-mode .page-head {
    margin-bottom: 10px;
  }
  .chat-mode .page-head h1 {
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .chat-mode .page-head p {
    font-size: 12px;
  }
  .chat-mode .back-orders {
    margin-bottom: 7px;
  }
  .chat-mode .tabs {
    margin-bottom: 10px;
  }
  .chat-card {
    min-height: 240px;
    padding: 0;
  }
  .chat-toolbar {
    padding: 9px 12px;
    gap: 8px;
  }
  .chat-toolbar select,
  .chat-toolbar input {
    padding: 8px 10px;
    font-size: 13px;
  }
  .chat-log {
    padding: 12px;
    min-height: 100px;
    gap: 12px;
  }
  .message {
    max-width: 95%;
    padding: 10px 12px;
    font-size: 14px;
  }
  .message .meta {
    gap: 5px 9px;
  }
  .composer {
    padding: 10px 12px;
  }
  .composer .field {
    margin-bottom: 8px;
  }
  .composer .field:has(textarea) > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .composer textarea {
    height: 58px;
    min-height: 52px;
    font-size: 16px;
  }
  .composer .file-chooser .button {
    min-height: 34px;
    padding: 5px 10px;
    font-size: 12px;
  }
  .composer .actions .note {
    max-width: 130px;
    font-size: 11px;
  }
  .composer .actions .button {
    min-height: 40px;
    padding: 8px 16px;
  }
  .composer > .field:has(select) span {
    margin-bottom: 3px;
  }
  .composer select {
    font-size: 13px;
    padding: 7px 10px;
  }
  .release-head {
    flex-wrap: wrap;
  }
  .release-head .badge {
    order: -1;
  }
  .release-actions .button {
    width: 100%;
  }
  .file-row {
    align-items: start;
  }
  .code-box code {
    font-size: 16px;
  }
  #toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 16px;
    right: 16px;
    font-size: 14px;
  }
  dialog {
    padding: 22px;
  }
  .login-mode #toast {
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.thread-context {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
}
.message-scope {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.message-scope span {
  border: 1px solid #d6dde7;
  border-radius: 4px;
  padding: 2px 6px;
}

.connect-actions {
  margin: 18px 0;
}
/* Operator-only behavior view uses ordinary cabinet components. */
.behavior-table { overflow-x: auto; max-width: 100%; margin: 16px 0; }
.behavior-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.behavior-table th,.behavior-table td { padding: 10px; text-align: left; border-bottom: 1px solid #dbe4e9; vertical-align: top; }
.behavior-table td { min-width: 90px; overflow-wrap: anywhere; }
.behavior-table th { color: #153851; }
.behavior-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 12px 0; }
.behavior-kpis div { border: 1px solid #dbe4e9; border-radius: 12px; padding: 14px; }
.behavior-kpis span { display: block; color: #52667a; font-size: 13px; }
.behavior-kpis strong { display: block; color: #153851; font-size: 25px; margin-top: 7px; overflow-wrap: anywhere; }
@media(max-width: 700px) { .behavior-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } }
