html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f0f2f5;
  color: #2c2e2f;
  font-family: Arimo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
}

a { color: #2c7be5; text-decoration: none; }
a:hover { text-decoration: underline; }

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c2e3e;
}

.login-shell {
  width: 456px;
  max-width: calc(100% - 32px);
}

.login-logo {
  display: block;
  width: 210px;
  height: 82px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.login-box {
  width: auto;
  max-width: none;
  background: #252634;
  color: #fff;
  padding: 34px 38px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .25);
}

.login-box h1 {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 400;
}

.login-box label { color: #b7bac8; }
.login-box .form-control {
  background: #313344;
  border-color: #3c3f52;
  color: #fff;
}

.layout {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 260px;
  flex: 0 0 260px;
  background: #2c2e3e;
  color: #979aa9;
}

.brand {
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 26px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}

.brand img {
  display: block;
  width: 174px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin-right: 12px;
  background: #68b828;
  color: #fff;
  font-weight: 700;
}

.sidebar-user {
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #3c3f52;
  color: #fff;
  overflow: hidden;
  vertical-align: middle;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user .name { display: inline-block; margin-left: 10px; color: #fff; vertical-align: middle; }
.sidebar-user .role { display: block; margin-top: 3px; color: #979aa9; font-size: 12px; }

.menu { list-style: none; margin: 0; padding: 14px 0; }
.menu a {
  display: block;
  padding: 13px 26px;
  color: #979aa9;
}
.menu a:hover, .menu a.active {
  color: #fff;
  background: #252634;
  text-decoration: none;
}
.menu .icon { display: inline-block; width: 20px; color: #68b828; }

.main {
  min-width: 0;
  flex: 1;
}

.topbar {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid #e6e9ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
}

.topbar-account {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.topbar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-profile .avatar {
  width: 40px;
  height: 40px;
  background: #eef1f6;
  color: #555966;
}

.topbar-user-name {
  color: #2c2e2f;
  line-height: 1.2;
}

.topbar-user-name .role {
  display: block;
  margin-top: 3px;
  color: #8b8f9d;
  font-size: 12px;
}

.logout-link {
  padding-left: 18px;
  border-left: 1px solid #e2e5ea;
}

.content { padding: 28px 30px 40px; }

.page-title {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.page-title h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
}
.page-title p { margin: 6px 0 0; color: #8b8f9d; }

.panel {
  background: #fff;
  border: 1px solid #e6e9ee;
  margin-bottom: 24px;
}
.panel-heading {
  min-height: 54px;
  border-bottom: 1px solid #e6e9ee;
  padding: 17px 20px;
}
.panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: #2c2e2f;
}
.panel-body { padding: 20px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stat {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e6e9ee;
}
.stat .num { font-size: 28px; color: #2c2e2f; }
.stat .label { color: #8b8f9d; margin-top: 4px; }

.form-row { margin-bottom: 16px; }
label { display: block; margin-bottom: 7px; color: #555966; }
.form-control {
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  padding: 8px 12px;
  border: 1px solid #d8dde6;
  background: #fff;
  color: #2c2e2f;
  font: inherit;
}
textarea.form-control { height: auto; min-height: 110px; resize: vertical; }
.help { margin-top: 5px; color: #8b8f9d; font-size: 12px; }

.btn {
  display: inline-block;
  border: 1px solid transparent;
  background: #f5f7fb;
  color: #2c2e2f;
  padding: 9px 14px;
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover {
  text-decoration: none;
  background: #e7ebf2;
  border-color: #d8dde6;
  box-shadow: 0 2px 6px rgba(35, 42, 52, .12);
  transform: translateY(-1px);
}
.btn-primary { background: #2c7be5; color: #fff; border-color: #2c7be5; }
.btn-primary:hover { background: #1a68d1; border-color: #1a68d1; }
.btn-success { background: #68b828; color: #fff; border-color: #68b828; }
.btn-success:hover { background: #56a019; border-color: #56a019; }
.btn-danger { background: #d9534f; color: #fff; border-color: #d9534f; }
.btn-danger:hover { background: #c73f3b; border-color: #c73f3b; }
.btn-info { background: #40bbea; color: #fff; border-color: #40bbea; }
.btn-info:hover { background: #25a8d9; border-color: #25a8d9; }
.btn-pdf { background: #f08b1a; color: #fff; border-color: #f08b1a; }
.btn-pdf:hover { background: #dc7810; border-color: #dc7810; }
.btn-sm { padding: 5px 9px; font-size: 12px; }

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th, td {
  border-bottom: 1px solid #edf0f4;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  color: #555966;
  font-size: 12px;
  font-weight: 700;
  background: #fafbfc;
}

.sortable-heading {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #555966;
}

.sortable-heading:hover {
  color: #2c7be5;
  text-decoration: none;
}

.sort-arrow {
  color: #2c7be5;
  font-size: 9px;
}

.badge {
  display: inline-block;
  padding: 4px 7px;
  font-size: 11px;
  background: #eef1f6;
  color: #555966;
}
.badge-ok { background: #e7f6dc; color: #3c7b12; }
.badge-warn { background: #fff3cd; color: #8a6d1d; }

.profile-panel {
  max-width: 980px;
}

.profile-panel .panel-body {
  padding: 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(300px, 40%) 1fr;
}

.profile-summary {
  padding: 34px;
  border-right: 1px solid #e6e9ee;
  background: #fafbfc;
}

.profile-avatar {
  width: 128px;
  height: 128px;
  border: 4px solid #fff;
  background: #e9edf3;
  color: #555966;
  font-size: 30px;
  box-shadow: 0 3px 14px rgba(35, 42, 52, .13);
}

.profile-identity {
  margin-top: 18px;
}

.profile-identity h2 {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 500;
}

.profile-role {
  color: #7d8490;
}

.profile-data {
  margin: 26px 0 0;
}

.profile-data > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e4e8ed;
}

.profile-data dt {
  color: #8b8f9d;
}

.profile-data dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.profile-photo-section {
  padding: 34px;
}

.profile-photo-section h3 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 500;
}

.profile-file-picker {
  display: block;
  max-width: 420px;
  padding: 28px 20px;
  border: 1px dashed #bfc6d0;
  background: #fafbfc;
  color: #2c7be5;
  text-align: center;
  cursor: pointer;
}

.profile-file-picker:hover {
  border-color: #2c7be5;
  background: #f4f8fd;
}

.profile-file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.profile-photo-section .btn {
  margin-top: 18px;
}

.profile-photo-section .btn:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.account-row {
  cursor: pointer;
}

.account-row:hover {
  background: #f5f7fa;
}

.account-edit-row {
  display: none;
  background: #f8fafc;
}

.account-edit-row > td {
  padding: 18px;
  border-bottom: 2px solid #dfe4eb;
}

.account-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-edit-grid label {
  margin: 0;
}

.account-edit-grid .form-control {
  margin-top: 6px;
}

.account-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #d8dde6;
  background: #fff;
}
.alert-error { border-color: #f1c6c4; background: #fff3f2; color: #9d302c; }
.alert-success { border-color: #cbe8b8; background: #f2faed; color: #3c7b12; }

.deal-item {
  display: grid;
  grid-template-columns: 1fr 110px 42px;
  gap: 10px;
  margin-bottom: 10px;
}

.autocomplete {
  position: relative;
}

.suggestions {
  display: none;
  position: absolute;
  z-index: 20;
  top: 40px;
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d8dde6;
  box-shadow: 0 8px 22px rgba(44, 46, 62, .12);
}

.suggestion-item {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
  padding: 9px 12px;
  text-align: left;
  font: inherit;
  color: #2c2e2f;
  cursor: pointer;
}

.suggestion-item:hover {
  background: #f5f7fb;
}

.per-page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #6f7580;
}

.per-page-label .form-control {
  width: 76px;
}

.nomenclature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.nomenclature-item {
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  border: 1px solid #e1e5eb;
  background: #fafbfc;
  box-shadow: 0 1px 2px rgba(35, 42, 52, .04);
  cursor: pointer;
}

.nomenclature-item:hover {
  border-color: #cfd5de;
  background: #f6f8fa;
}

.nomenclature-view {
  min-width: 0;
  flex: 1;
}

.nomenclature-view strong {
  display: block;
  overflow-wrap: anywhere;
  color: #34383f;
  font-weight: 600;
}

.nomenclature-edit-hint {
  display: block;
  margin-top: 3px;
  color: #a0a6af;
  font-size: 11px;
  opacity: 0;
  transition: opacity .15s ease;
}

.nomenclature-item:hover .nomenclature-edit-hint {
  opacity: 1;
}

.nomenclature-edit {
  display: none;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 6px;
}

.nomenclature-edit .form-control {
  min-width: 0;
  height: 32px;
  padding: 5px 8px;
}

.nomenclature-edit .btn {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  line-height: 28px;
}

.nomenclature-item.is-editing {
  cursor: default;
  border-color: #9fc3f3;
  background: #fff;
}

.nomenclature-item.is-editing .nomenclature-view,
.nomenclature-item.is-editing .nomenclature-delete {
  display: none;
}

.nomenclature-item.is-editing .nomenclature-edit {
  display: flex;
}

.nomenclature-item .nomenclature-delete {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

.deals-table .deal-row-odd {
  background: #fff;
}

.deals-table .deal-row-even {
  background: #f7f8fa;
}

.deals-table .deal-row:hover {
  background: #f0f3f7;
}

.deals-table th:first-child {
  width: 92px;
}

.deals-table th:nth-child(2),
.deals-table th:nth-child(5) {
  width: 130px;
}

.deals-table th:last-child {
  width: 245px;
}

.deal-date {
  white-space: nowrap;
}

.deal-actions {
  white-space: nowrap;
}

.deal-delete {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

.deal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #718096;
  font: inherit;
  cursor: pointer;
}

.deal-toggle:hover {
  color: #2c7be5;
}

.deal-toggle-icon {
  display: inline-flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid #59ad20;
  border-radius: 50%;
  background: #68b828;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(35, 42, 52, .18);
}

.deal-toggle[aria-expanded="true"] .deal-toggle-icon {
  border-color: #cf3f3b;
  background: #d9534f;
}

.deal-details-row {
  display: none;
  background: #fff;
}

.deal-details-row > td {
  padding: 0 10px 12px;
  border-bottom: 1px solid #dfe3e8;
}

.deal-inline-details > div {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f4;
}

.deal-inline-details > div:last-child {
  border-bottom: 0;
}

.deal-inline-details strong {
  color: #6e7480;
  font-weight: 700;
}

.deal-inline-details span {
  color: #555966;
}

.message-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  margin-bottom: 18px;
}
.message-head {
  padding: 16px 18px;
  border-bottom: 1px solid #edf0f4;
}
.message-author { display: flex; align-items: center; gap: 12px; }
.message-avatar { width: 44px; height: 44px; flex: 0 0 44px; background: #eef1f6; color: #555966; }
.message-title { margin: 0 0 5px; font-size: 17px; font-weight: 400; }
.message-meta { color: #8b8f9d; font-size: 12px; }
.message-body { padding: 18px; line-height: 1.55; }
.comments { background: #fafbfc; border-top: 1px solid #edf0f4; padding: 14px 18px; }
.comment { border-bottom: 1px solid #edf0f4; padding: 10px 0; }
.comment:last-child { border-bottom: 0; }
.branch-comment {
  margin-left: 18px;
  padding-left: 14px;
  border-left: 3px solid #d8dde6;
}
.comment-layout { display: flex; align-items: flex-start; gap: 10px; }
.comment-avatar { width: 32px; height: 32px; flex: 0 0 32px; background: #e9edf3; color: #555966; font-size: 11px; }
.comment-text { margin-top: 5px; line-height: 1.45; }

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid #d8dde6;
  border-bottom: 0;
  background: #fafbfc;
}

.editor-toolbar button {
  border: 1px solid #d8dde6;
  background: #fff;
  color: #2c2e2f;
  min-height: 30px;
  padding: 4px 9px;
  font: inherit;
  cursor: pointer;
}

.editor-toolbar button:hover {
  background: #eef1f6;
}

.html-editor {
  min-height: 220px;
  padding: 12px;
  border: 1px solid #d8dde6;
  background: #fff;
  line-height: 1.55;
  outline: none;
}

.html-editor:focus {
  border-color: #2c7be5;
  box-shadow: inset 0 0 0 1px #2c7be5;
}

.email-template-editor {
  min-height: 360px;
}

.html-source-editor {
  display: none;
  width: 100%;
  min-height: 360px;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #d8dde6;
  background: #20242b;
  color: #e8edf4;
  font: 13px/1.55 Consolas, "Courier New", monospace;
  resize: vertical;
  outline: none;
}

.html-source-editor:focus {
  border-color: #2c7be5;
  box-shadow: inset 0 0 0 1px #2c7be5;
}

.editor-toolbar .editor-mode-button {
  margin-left: auto;
}

.editor-toolbar .editor-mode-button.is-active {
  border-color: #2c7be5;
  background: #2c7be5;
  color: #fff;
}

.modal-open {
  overflow: hidden;
}

.deal-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 18px;
  align-items: center;
  justify-content: center;
}

.deal-modal.is-open {
  display: flex;
}

.deal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 27, 32, .58);
}

.deal-modal-dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 18px 55px rgba(18, 22, 29, .24);
}

.deal-modal-x {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #a0a5ad;
  font-size: 27px;
  line-height: 36px;
  cursor: pointer;
}

.deal-modal-x:hover {
  color: #30343b;
}

.deal-modal-header {
  min-height: 98px;
  margin: 0 30px;
  padding: 22px 56px 18px 0;
  border-bottom: 1px solid #dfe2e7;
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  align-items: center;
}

.deal-modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.deal-modal-brand {
  width: 118px;
  height: 54px;
}

.deal-modal-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.deal-modal-body {
  padding: 34px 48px 48px;
}

.deal-detail-rows > div {
  display: grid;
  grid-template-columns: minmax(180px, 28%) 1fr;
  gap: 24px;
  padding: 13px 16px;
  border-bottom: 1px solid #e8eaee;
}

.deal-detail-rows span {
  color: #9298a2;
}

.deal-detail-rows strong {
  font-weight: 400;
  color: #252a31;
}

.deal-items-title {
  margin: 12px 0 18px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.deal-items-table th {
  background: #e5e6e8;
  color: #252a31;
  text-align: center;
}

.deal-items-table td:first-child {
  color: #e14b46;
}

.deal-items-table th:last-child,
.deal-items-table td:last-child {
  width: 28%;
  text-align: center;
}

.deal-terms {
  margin-top: 4px;
}

.deal-modal-footer {
  margin: 0 30px;
  padding: 14px 0 30px;
  border-top: 1px solid #dfe2e7;
  text-align: right;
}

.deal-modal-loading {
  padding: 80px 30px;
  text-align: center;
  color: #7b818b;
}

.export-modal-dialog {
  width: min(760px, 100%);
}

.export-modal-header {
  margin: 0 30px;
  padding: 24px 50px 18px 0;
  border-bottom: 1px solid #dfe2e7;
}

.export-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.export-modal-body {
  padding: 24px 30px 30px;
}

.export-date-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.export-modal-body h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}

.export-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.export-column-row {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px 6px 10px;
  border: 1px solid #e1e5eb;
  background: #fafbfc;
}

.export-column-row label {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  cursor: pointer;
}

.export-column-row label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.export-order-buttons {
  display: flex;
  gap: 3px;
}

.export-order-buttons button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 1px solid #d8dde6;
  background: #fff;
  color: #555966;
  cursor: pointer;
}

.export-order-buttons button:hover {
  border-color: #2c7be5;
  color: #2c7be5;
}

@media (max-width: 1200px) {
  .nomenclature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .layout { display: block; }
  .sidebar { width: auto; }
  .content { padding: 20px 16px; }
  .topbar { padding: 0 16px; }
  .topbar-account { gap: 10px; }
  .topbar-user-name { display: none; }
  .logout-link { padding-left: 10px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-title, .toolbar { display: block; }
  .toolbar .btn, .toolbar .form-control { margin-top: 10px; }
  .per-page-label { margin-top: 10px; }
  .per-page-label .form-control { margin-top: 0; }
  .deal-inline-details > div { grid-template-columns: 1fr; gap: 4px; }
  .account-edit-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-summary { border-right: 0; border-bottom: 1px solid #e6e9ee; }
  .nomenclature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deal-modal { padding: 8px; }
  .deal-modal-dialog { max-height: calc(100vh - 16px); }
  .deal-modal-header {
    min-height: 82px;
    margin: 0 18px;
    grid-template-columns: 74px 1fr;
    padding-right: 42px;
  }
  .deal-modal-brand { width: 72px; height: 40px; }
  .deal-modal-header h2 { font-size: 15px; text-align: left; }
  .deal-modal-body { padding: 20px 18px 30px; }
  .deal-detail-rows > div { grid-template-columns: 1fr; gap: 5px; padding: 11px 4px; }
  .deal-modal-footer { margin: 0 18px; }
  .export-columns { grid-template-columns: 1fr; }
  .export-date-range { grid-template-columns: 1fr; }
  .export-modal-body { padding: 20px 18px 24px; }
  .export-modal-header { margin: 0 18px; }
}

@media (max-width: 680px) {
  .nomenclature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .nomenclature-grid { grid-template-columns: 1fr; }
}

.avatar-large { width: 72px; height: 72px; }
.user-chip { display: flex; align-items: center; gap: 12px; }
.user-chip strong { display: block; }
.user-chip span { color: #8b8f9d; font-size: 12px; }
