@import url("../../packages/ui/styles/index.css");

.ui-v2 .quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  height: 100%;
}

.ui-v2 .quick-actions .primary-btn,
.ui-v2 .quick-actions .ghost-btn {
  width: 100%;
  height: 77px;
}

.ui-v2 .order-table__row--placeholder {
  cursor: default;
  pointer-events: none;
  border-radius: 5px;
  border: 1px dashed rgba(144, 129, 109, 0.50);
  background: #E4D6C3 !important;
}

.ui-v2 .order-table__row--placeholder .order-table__cell {
  color: transparent;
  user-select: none;
  background: transparent !important;
  border: 0 !important;
}

.ui-v2 #dashboardOrdersFeed .order-table__row--placeholder,
.ui-v2 #dashboardOffersFeed .order-table__row--placeholder,
.ui-v2 #dashboardServiceFeed .order-table__row--placeholder,
.ui-v2 #scheduleRows .order-table__row--placeholder {
  border-radius: 5px;
  border: 1px dashed rgba(144, 129, 109, 0.50);
  background: #E4D6C3 !important;
}

.ui-v2 .order-table__row--placeholder:hover,
.ui-v2 .order-table__row--placeholder:focus,
.ui-v2 .order-table__row--placeholder:focus-visible {
  transform: none;
  box-shadow: none;
  outline: none;
  background: #E4D6C3 !important;
}

.ui-v2 .order-table__row--placeholder:hover .order-table__cell,
.ui-v2 .order-table__row--placeholder:focus .order-table__cell,
.ui-v2 .order-table__row--placeholder:focus-visible .order-table__cell {
  color: transparent;
  background: transparent !important;
  border: 0 !important;
}

.ui-v2 #dashboardOrdersFeed .order-table__row--needs-attention {
  position: relative;
}

.ui-v2 #dashboardOrdersFeed .order-table__attention-indicator {
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6.64px;
  height: 6.64px;
  border-radius: 999px;
  background: #E83E01;
  transform: translateY(-50%);
  pointer-events: none;
}

.ui-v2 .data-table-v2__row--needs-attention {
  position: relative;
}

.ui-v2 .data-table-v2__attention-indicator {
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6.64px;
  height: 6.64px;
  border-radius: 999px;
  background: #E83E01;
  transform: translateY(-50%);
  pointer-events: none;
}

.ui-v2 .file-thumbnail__preview--pdf::before {
  content: '';
  width: 32px;
  height: 38px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011c3a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 900px) {
  .ui-v2 .quick-actions {
    grid-template-columns: 1fr;
  }
}

.ui-v2 .kitchen-installers-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: stretch;
}

.ui-v2 .kitchen-installers-form-card,
.ui-v2 .kitchen-installers-list-card {
  margin: 0;
  height: 100%;
}

.ui-v2 #kitchenInstallersView .order-list-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  min-height: 100%;
}

.ui-v2 #kitchenInstallersView .order-list-card > header {
  margin-bottom: var(--space-2);
}

.ui-v2 #kitchenInstallersView .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ui-v2 #kitchenInstallersView .settings-input {
  height: 48px;
  min-height: 48px;
  background: #fbeede;
  border: 1px solid #d7c8b5;
  border-radius: 5px;
  padding: 14px 22px;
  color: #011c3a;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ui-v2 #kitchenInstallersView .settings-input::placeholder {
  color: #a39789;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.05px;
}

.ui-v2 #kitchenInstallersView .settings-input:focus {
  outline: none;
  border-color: #cdbda8;
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-form] {
  gap: var(--space-4);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-name-row .form-group {
  min-width: 0;
}

.ui-v2 #kitchenInstallersView .kitchen-installers-actions {
  margin-top: var(--space-3);
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-search] {
  margin-bottom: var(--space-3);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-save-btn,
.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-reset-btn {
  width: 100%;
  min-height: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-save-btn {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-bg-main);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-save-btn:hover,
.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-save-btn:focus-visible {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-reset-btn {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-reset-btn:hover,
.ui-v2 #kitchenInstallersView .kitchen-installers-actions .kitchen-installers-reset-btn:focus-visible {
  background: rgba(var(--color-primary-rgb), 0.08);
  border-color: var(--color-primary-hover);
  color: var(--color-primary-hover);
}

.ui-v2 [data-kitchen-installer-list] .order-table__row {
  display: grid;
  grid-template-columns: minmax(160px, 1.5fr) minmax(90px, 0.9fr) minmax(110px, 1fr) minmax(190px, 1.4fr) auto;
  gap: var(--space-3);
  align-items: center;
}

.ui-v2 [data-kitchen-installer-list] .order-table__cell {
  min-width: 0;
}

.ui-v2 [data-kitchen-installer-list] .ghost-btn {
  min-width: 86px;
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] .order-table__row {
  min-height: 60px;
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  background: rgba(var(--color-primary-rgb), 0.04);
  cursor: default;
  transform: none;
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] .order-table__row[role="status"] {
  background: transparent;
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] .order-table__row:hover,
.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] .order-table__row:focus,
.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] .order-table__row:focus-visible {
  transform: none;
  box-shadow: none;
}

.ui-v2 #kitchenInstallersView .kitchen-installer-row__name {
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}

.ui-v2 #kitchenInstallersView .kitchen-installer-row__company,
.ui-v2 #kitchenInstallersView .kitchen-installer-row__phone,
.ui-v2 #kitchenInstallersView .kitchen-installer-row__email {
  color: var(--color-text-primary);
  opacity: 0.92;
}

.ui-v2 #kitchenInstallersView .kitchen-installer-row__delete-btn {
  min-width: 92px;
  height: 40px;
  padding: 0 var(--space-3);
  border-width: 1px;
  border-color: var(--color-primary);
  cursor: pointer;
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] .order-table__cell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-v2 #kitchenInstallersView [data-kitchen-installer-list] .order-table__cell:last-child {
  overflow: visible;
}

.ui-v2 .kitchen-installer-delete-modal__panel {
  width: min(560px, 92vw);
  max-width: 560px;
}

.ui-v2 .kitchen-installer-delete-modal__content {
  margin-top: var(--space-4);
}

.ui-v2 .kitchen-installer-delete-modal__content p {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 1.5;
}

.ui-v2 .kitchen-installer-delete-modal__actions {
  margin-top: var(--space-5);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
}

.ui-v2 .kitchen-installer-delete-modal__actions .ghost-btn,
.ui-v2 .kitchen-installer-delete-modal__actions .primary-btn {
  min-width: 120px;
  height: 44px;
}

@media (max-width: 1100px) {
  .ui-v2 .kitchen-installers-layout {
    grid-template-columns: 1fr;
  }

  .ui-v2 #kitchenInstallersView .kitchen-installers-actions {
    grid-template-columns: 1fr;
  }

  .ui-v2 #kitchenInstallersView .kitchen-installers-name-row {
    grid-template-columns: 1fr;
  }

  .ui-v2 .kitchen-installer-delete-modal__actions {
    flex-direction: column-reverse;
  }

  .ui-v2 .kitchen-installer-delete-modal__actions .ghost-btn,
  .ui-v2 .kitchen-installer-delete-modal__actions .primary-btn {
    width: 100%;
    min-width: 0;
  }

  .ui-v2 [data-kitchen-installer-list] .order-table__row {
    grid-template-columns: 1fr;
  }
}
/* LEGACY_CSS_DISABLED: All legacy styles below are kept only for reference and are disabled.
   The consultant app must use shared styles from packages/ui/styles. */
/*
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600&family=Poppins:wght@600&family=Vazirmatn:wght@300&display=swap");

:root {
  font-family: "Space Grotesk", var(--sb-font-sans);
  color: var(--sb-color-ink);
  background-color: #e8edf8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body:not(.ui-v2) {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #f7f9ff 20%, #eff3ff 70%, #e2e8f0);
  color: inherit;
  line-height: 1.5;
}

body:not(.ui-v2)::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.12), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.15), transparent 45%);
  z-index: 0;
  pointer-events: none;
}

body:not(.ui-v2) .consultant-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: clamp(1.5rem, 4vw, 4rem);
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

body:not(.ui-v2) .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

body:not(.ui-v2) .topbar .eyebrow {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.85);
}

body:not(.ui-v2) .topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

body:not(.ui-v2) .topbar-meta {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.9);
}

body:not(.ui-v2) .topbar-right {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body:not(.ui-v2) .topbar .primary-btn {
  background: #fff;
  color: #0f172a;
}

body:not(.ui-v2) .topbar .ghost-btn {
  border-color: rgba(226, 232, 240, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

body:not(.ui-v2) .topbar-menu {
  border-radius: 999px;
}

body:not(.ui-v2) .app-footer {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #475569;
}

body:not(.ui-v2) .app-footer strong {
  margin-right: 0.75rem;
  color: #0f172a;
}

body:not(.ui-v2) .menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.08);
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

body:not(.ui-v2) .menu-panel {
  width: min(1100px, 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(2, 6, 23, 0.25);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

body:not(.ui-v2) .menu-header {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
}

body:not(.ui-v2) .menu-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
}

body:not(.ui-v2) .menu-col {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 1rem;
}

.menu-link {
  width: 100%;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  padding: 0.8rem 0.9rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  margin-top: 0.5rem;
}

.menu-link:hover {
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.menu-muted {
  color: #475569;
  margin: 0.5rem 0 0;
}

.menu-message {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.menu-message label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: #475569;
}

body:not(.ui-v2) .menu-message input,
body:not(.ui-v2) .menu-message textarea {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

@media (max-width: 980px) {
  .menu-body {
    grid-template-columns: 1fr;
  }
}

.hidden {
  display: none !important;
}

body:not(.ui-v2) .consultant-nav {
  display: flex;
  align-items: center;
}

.consultant-nav .order-filters {
  width: 100%;
}

.view {
  display: block;
}

#productNewsView .product-news-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

#productNewsView .product-news-headline {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: var(--leading-product-news-heading);
}

#productNewsView .product-news-intro .product-news-headline {
  font-weight: var(--font-medium);
}

#productNewsView .product-news-intro h1 {
  margin: 0;
}

#productNewsView .product-news-intro p {
  margin: 0;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: var(--font-light);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

#productNewsView .product-news-message {
  width: 100%;
  min-height: var(--size-product-news-message-min-h);
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

#productNewsView .product-news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
}

#productNewsView .product-news-section-stamp {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  white-space: nowrap;
}

#productNewsView .product-news-message-title {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

#productNewsView .product-news-message-body {
  display: block;
}

#productNewsView .product-news-message-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-medium);
}

#productNewsView .product-news-message-paragraph {
  margin: 0;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: var(--font-light);
  line-height: var(--leading-product-news-body);
  letter-spacing: var(--tracking-product-news-body);
}

#productNewsView .product-news-message-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

#productNewsView .product-news-message-product {
  width: 188px;
  background: transparent;
}

#productNewsView .product-card__image {
  border-radius: var(--radius-sm);
}

#productNewsView .product-card__favorite {
  width: 16px;
  height: 15px;
  background-color: var(--color-bg-main);
  cursor: pointer;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2016%2015'%3E%3Cpath%20d%3D'M7.6084%200L9.40451%205.52786H15.2169L10.5146%208.94427L12.3107%2014.4721L7.6084%2011.0557L2.90612%2014.4721L4.70223%208.94427L-5.38826e-05%205.52786H5.81229L7.6084%200Z'%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2016%2015'%3E%3Cpath%20d%3D'M7.6084%200L9.40451%205.52786H15.2169L10.5146%208.94427L12.3107%2014.4721L7.6084%2011.0557L2.90612%2014.4721L4.70223%208.94427L-5.38826e-05%205.52786H5.81229L7.6084%200Z'%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.7;
}

#productNewsView .product-card__favorite path {
  display: none;
}

#productNewsView .product-card__favorite--active {
  opacity: 1;
  background-color: var(--color-favorite-active);
}

#productNewsView .product-news-focus .product-grid,
#productNewsView .product-news-latest .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(188px, 188px));
  column-gap: var(--space-12);
  row-gap: var(--space-8);
  justify-content: start;
  align-items: start;
}

#productNewsView .product-news-focus {
  width: 100%;
  min-height: 0;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

#productNewsView .product-news-focus-title {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

#productNewsView .product-news-focus-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  flex-wrap: wrap;
}

#productNewsView .product-news-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(188px, 188px));
  gap: 16px;
  align-items: start;
}

#productNewsView .product-news-focus-grid .detail-card {
  width: 188px;
  height: 174px;
  overflow: hidden;
}

.order-image-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-image-modal-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.order-image-modal__dialog {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-lg, 12px);
  background: var(--color-bg-main, #e8ddd0);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: var(--spacing-lg, 24px);
  z-index: 1;
}

.order-image-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: var(--text-xl, 24px);
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.order-image-modal__title {
  margin: 0 0 12px;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.order-image-modal__meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.order-image-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2, 8px);
  margin-top: var(--space-3, 12px);
}

.order-image-modal__actions .btn {
  width: 220px;
  min-width: 220px;
  height: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-image-modal__actions .btn.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.order-image-modal__actions .btn.btn--standard {
  background: var(--color-bg-main);
  border: var(--border-thin) solid var(--color-border);
  color: var(--color-text-primary);
}

@media (max-width: 720px) {
  .order-image-modal__actions {
    flex-direction: column;
  }

  .order-image-modal__actions .btn {
    width: 100%;
    min-width: 0;
  }
}

#productNewsView .product-news-latest {
  width: 100%;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  margin-top: var(--space-4);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

#productNewsView hr {
  width: 100%;
  height: 0;
  border: 0;
  border-top: var(--border-medium) solid var(--color-alert-modal-header-line);
  margin: 0;
}

#productNewsView .product-news-latest-title {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

#productNewsView .product-news-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(188px, 188px));
  gap: 16px;
  align-items: start;
}

#productNewsView .product-news-latest-grid .detail-card {
  width: 188px;
  height: 174px;
  overflow: hidden;
}

@media (max-width: 980px) {
  #productNewsView .product-news-message {
    min-height: 0;
    padding: 22px;
  }
  #productNewsView .product-news-message-body {
    grid-template-columns: 1fr;
  }
  #productNewsView .product-news-focus {
    min-height: 0;
    padding: 22px;
  }
  #productNewsView .product-news-latest {
    padding: 22px;
  }
}

#productNewsView .product-news-hero {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: 700px;
}

.product-news-hero-slot {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.product-news-hero-slot.is-1 {
  flex: 745;
}

.product-news-hero-slot.is-2 {
  flex: 345;
}

.product-news-hero-slot.is-3 {
  flex: 317;
}

#productNewsView .product-news-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  #productNewsView .product-news-hero {
    flex-direction: column;
    max-height: none;
  }
  .product-news-hero-slot {
    flex: none;
  }
  #productNewsView .product-news-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

body:not(.ui-v2) .hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sb-space-xl);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.25);
}

.hero .eyebrow {
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
  color: #0f172a;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-actions button {
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-actions .primary-btn {
  background: linear-gradient(135deg, #111827, #1e293b);
  color: #fff;
  border: none;
}

.hero-actions .ghost-btn {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

body:not(.ui-v2) .insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.insights article {
  background: rgba(255, 255, 255, 0.92);
  padding: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.insights [data-route-jump] {
  cursor: pointer;
}

.insights article[data-route-jump]:focus-visible,
.insights .kpi-chart__bar-group[data-route-jump]:focus-visible,
.insights .kpi-chart__x-label[data-route-jump]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.insights article p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: #64748b;
}

.insights strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  color: #0f172a;
}

.insights span {
  color: #475569;
  font-size: 0.95rem;
}

body:not(.ui-v2) .order-board {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.75rem);
}

body:not(.ui-v2) .dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
}

body:not(.ui-v2) .dashboard-left,
body:not(.ui-v2) .dashboard-right {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  height: 100%;
}

.quick-actions button {
  width: 100%;
  height: 77px;
}

@media (max-width: 900px) {
  body:not(.ui-v2) .dashboard-grid {
    grid-template-columns: 1fr;
  }
  body:not(.ui-v2) .quick-actions {
    grid-template-columns: 1fr;
  }
}

body:not(.ui-v2) .order-list-card,
body:not(.ui-v2) .order-detail-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body:not(.ui-v2) .order-detail-card.view-card {
  background: transparent;
}

#productNewsView .order-detail-card.view-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

#productNewsView #productNewsContent {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8);
}

body:not(.ui-v2) .order-list-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

body:not(.ui-v2) .order-table-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

body:not(.ui-v2) .order-legend {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #475569;
}

body:not(.ui-v2) .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

body:not(.ui-v2) .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: rgba(15, 23, 42, 0.35);
}

body:not(.ui-v2) .legend-dot.is-danger {
  background: #ef4444;
}

body:not(.ui-v2) .legend-dot.is-success {
  background: #22c55e;
}

body:not(.ui-v2) .legend-dot.is-info {
  background: #6366f1;
}

body:not(.ui-v2) .order-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

body:not(.ui-v2) .order-sort select {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

body:not(.ui-v2) .order-paging {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
}

body:not(.ui-v2) .order-table {
  width: 100%;
  border-collapse: collapse;
}

body:not(.ui-v2) .order-table__row--placeholder {
  cursor: default;
  pointer-events: none;
  border-radius: 5px;
  border: 1px dashed rgba(144, 129, 109, 0.50);
  background: #E4D6C3 !important;
}

body:not(.ui-v2) .order-table__row--placeholder .order-table__cell {
  color: transparent;
  user-select: none;
  background: transparent !important;
  border: 0 !important;
}

body:not(.ui-v2) #dashboardOrdersFeed .order-table__row--placeholder,
body:not(.ui-v2) #dashboardOffersFeed .order-table__row--placeholder,
body:not(.ui-v2) #dashboardServiceFeed .order-table__row--placeholder,
body:not(.ui-v2) #scheduleRows .order-table__row--placeholder {
  border-radius: 5px;
  border: 1px dashed rgba(144, 129, 109, 0.50);
  background: #E4D6C3 !important;
}

body:not(.ui-v2) .order-table__row--placeholder:hover,
body:not(.ui-v2) .order-table__row--placeholder:focus,
body:not(.ui-v2) .order-table__row--placeholder:focus-visible {
  transform: none;
  box-shadow: none;
  outline: none;
  background: transparent !important;
}

body:not(.ui-v2) .order-table__row--placeholder:hover .order-table__cell,
body:not(.ui-v2) .order-table__row--placeholder:focus .order-table__cell,
body:not(.ui-v2) .order-table__row--placeholder:focus-visible .order-table__cell {
  color: transparent;
  background: transparent !important;
  border: 0 !important;
}

body:not(.ui-v2) .order-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body:not(.ui-v2) .order-table {
  min-width: 900px;
}

body:not(.ui-v2) .order-table th {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.75rem 0.5rem;
}

body:not(.ui-v2) .order-table td {
  padding: 0.85rem 0.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: middle;
}

body:not(.ui-v2) .order-table th.order-status-cell,
body:not(.ui-v2) .order-table td.order-status-cell {
  background: rgba(15, 23, 42, 0.03);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

body:not(.ui-v2) .order-table th.order-status-cell {
  border-top-right-radius: 18px;
}

body:not(.ui-v2) .order-table tbody tr:last-child td.order-status-cell {
  border-bottom-right-radius: 18px;
}

body:not(.ui-v2) .order-row:hover td {
  background: rgba(15, 23, 42, 0.02);
}

body:not(.ui-v2) .order-row:hover td.order-status-cell {
  background: rgba(15, 23, 42, 0.05);
}

body:not(.ui-v2) .order-row-btn {
  width: 100%;
  display: block;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

body:not(.ui-v2) .order-row {
  border-radius: 18px;
}

body:not(.ui-v2) .order-row.is-active td {
  background: rgba(15, 23, 42, 0.04);
}

body:not(.ui-v2) .order-row.is-active td.order-status-cell {
  background: rgba(15, 23, 42, 0.07);
}

body:not(.ui-v2) .order-status-cell {
  text-align: right;
}

body:not(.ui-v2) .order-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body:not(.ui-v2) .order-filters .filter {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

body:not(.ui-v2) .consultant-nav .filter[data-disabled-route] {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}

body:not(.ui-v2) .consultant-nav .filter[data-disabled-route]::after {
  content: "Kommer";
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: #475569;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.ui-v2) .order-filters .filter.active {
  background: linear-gradient(120deg, #0f172a, #1e293b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.3);
}

body:not(.ui-v2) .order-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 600px;
  overflow: auto;
  padding-right: 0.4rem;
}

body:not(.ui-v2) .order-list::-webkit-scrollbar {
  width: 6px;
}

body:not(.ui-v2) .order-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
}

body:not(.ui-v2) .order-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  text-align: left;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body:not(.ui-v2) .order-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

body:not(.ui-v2) .order-item.active {
  border-color: #0f172a;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

body:not(.ui-v2) .order-item__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

body:not(.ui-v2) .order-item__amount {
  font-weight: 600;
  color: #0f172a;
}

.order-detail-card {
  min-height: 620px;
}

.view-card {
  min-height: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: #475569;
}

.form-grid input,
.form-grid textarea {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

.checkbox-row {
  flex-direction: row !important;
  align-items: center;
  gap: 0.6rem !important;
  font-weight: 600;
}

.checkbox-group,
.radio-group {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 0.85rem 1rem;
}

.checkbox-group legend,
.radio-group legend {
  font-weight: 700;
  color: #0f172a;
  padding: 0 0.35rem;
}

.checkbox-group label,
.radio-group label {
  font-weight: 600;
  color: #475569;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

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

.order-detail-empty {
  text-align: center;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 2rem 1rem;
}

.order-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.detail-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#claimConfirmation .detail-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.revision-actions__price-layout {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.revision-actions__price-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.revision-actions__price-col--right {
  justify-content: flex-start;
}

.revision-actions__message-text--single-line {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.revision-action-buttons--price-approval {
  margin-top: 8px;
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  align-self: flex-start;
}

.cdm-content {
  position: relative;
  background: #E9DBC9;
  border-radius: 12px;
  padding: 32px;
  max-width: 600px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.cdm-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #011c3a;
  line-height: 1;
}

.cdm-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: #011c3a;
  letter-spacing: 0.02em;
}

.cdm-section {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.cdm-section__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #011c3a;
  margin-bottom: 10px;
}

.cdm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cdm-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cdm-field__label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cdm-field__value {
  font-size: 14px;
  color: #011c3a;
  font-weight: 500;
}

.cdm-reasons {
  list-style: disc;
  margin: 0 0 0 20px;
  padding: 0;
  font-size: 14px;
  color: #011c3a;
}

.cdm-reasons li {
  margin-bottom: 4px;
}

.cdm-description {
  margin: 0;
  font-size: 14px;
  color: #011c3a;
  line-height: 1.5;
}

.cdm-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cdm-images__thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s ease;
}

.cdm-images__thumb:hover {
  border-color: #011c3a;
}

.cdm-pdf-btn {
  margin-top: 16px;
  width: 100%;
}

.detail-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
}

.detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #0f172a;
}

.detail-card--updated {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.35), rgba(219, 234, 254, 0.75));
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.2);
}

.detail-update-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: #0f172a;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

.order-lines__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.order-lines--updated {
  border-radius: 26px;
  border: 1px solid rgba(14, 165, 233, 0.4);
  padding: 1rem;
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.08), rgba(59, 130, 246, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.order-section {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 26px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-section__header h3 {
  margin: 0;
  color: #0f172a;
}

.order-section__meta {
  margin: 0;
  color: #475569;
}

.order-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.order-actions__price p {
  margin: 0;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.order-actions__price strong {
  font-size: 1.6rem;
  color: #0f172a;
}

.order-actions__buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.order-line__description {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #0f172a;
}

.order-line__tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(239, 108, 0, 0.18);
  color: #9a3412;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 108, 0, 0.32);
}

.order-line__previous {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 0.15rem;
  opacity: 0.9;
}

.order-line--changed {
  background: rgba(239, 108, 0, 0.12);
  border-left: 4px solid rgba(239, 108, 0, 0.85);
  box-shadow: inset 0 0 0 1px rgba(239, 108, 0, 0.28);
}

.order-line--changed td {
  border-bottom-color: rgba(239, 108, 0, 0.28);
  background: rgba(239, 108, 0, 0.08);
}

.ui-v2 .order-line-table tr.order-line--changed td {
  background: rgba(239, 108, 0, 0.12);
}

.order-lines__removed {
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px dashed rgba(239, 68, 68, 0.4);
}

.order-lines__removed ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.order-lines__removed li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7f1d1d;
}

.order-lines__removed strong {
  font-weight: 600;
}

.status-banner {
  margin: 0.5rem 0 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-banner__content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 220px;
}

.status-banner h4 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.status-banner[data-status="REJECTED"] {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: #991b1b;
}

.status-banner[data-status="APPROVED"] {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  color: #1e3a8a;
}

.status-banner p {
  margin: 0;
  color: #475569;
}

.status-update-pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.3);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

.revision-banner {
  margin: 1rem 0;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: linear-gradient(120deg, rgba(249, 115, 22, 0.12), rgba(251, 191, 36, 0.08));
  color: #7c2d12;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.revision-banner h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.revision-banner__detail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(124, 45, 18, 0.12);
}

.revision-banner__detail--message {
  margin-top: 0.2rem;
}

.revision-banner__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(124, 45, 18, 0.82);
}

.revision-banner__message {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #7c2d12;
  white-space: pre-wrap;
}

.revision-meta {
  margin: 0;
  font-size: 0.95rem;
  color: #7c2d12;
}

.revision-note {
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: #7c2d12;
  opacity: 0.9;
}

.revision-actions {
  margin-top: 0;
  margin-bottom: 30px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.revision-actions .eyebrow,
.revision-actions h4,
.revision-actions p {
  margin: 0;
}

.revision-actions__status-card {
  width: 280px;
  height: 134px;
  border-radius: 10px;
  background: #e83e01;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  text-align: center;
}

.revision-actions__status-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbeede;
}

.revision-actions__status-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.revision-actions__status-title {
  margin: 0;
  color: #fbeede;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  text-align: center;
}

.revision-actions__message-card {
  width: auto;
  min-width: 0;
  height: 134px;
  border-radius: 10px;
  background: #e83e01;
  color: #fbeede;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 12px 0 31px;
  box-sizing: border-box;
}

.revision-actions__message-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.revision-actions__reason {
  margin: 0;
  color: #fbeede;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 3px 3px 5.8px #e03b00;
  white-space: normal;
}

.revision-actions__message-text {
  margin: 0;
  color: #fbeede;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.3px;
  text-shadow: 3px 3px 5.8px #e03b00;
  max-width: 41ch;
}

.revision-actions__message-text--single-line {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.revision-actions__price-layout {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(250px, 390px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.revision-actions__price-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.revision-actions__price-col--right {
  justify-content: center;
}

.revision-action-buttons--price-approval {
  margin-top: 8px;
  height: auto;
  align-self: flex-start;
}

.revision-action-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
}

.revision-action-buttons .ghost-btn {
  width: 333px;
  height: 61px;
  align-self: stretch;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  background: #011c3a;
  color: #e9dbc9;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.82px;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
}

.revision-action-buttons .primary-btn {
  width: 333px;
  height: 61px;
  align-self: stretch;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  background: #011c3a;
  color: #e9dbc9;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.82px;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
}

.revision-action-buttons .ghost-btn,
.revision-action-buttons .primary-btn {
  min-height: 61px;
  max-width: 333px;
}

.revision-feedback {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  margin-top: 0.2rem;
}

@media (max-width: 1100px) {
  .revision-actions {
    grid-template-columns: 1fr;
  }

  .revision-actions__status-card,
  .revision-actions__message-card {
    width: 100%;
    height: auto;
  }

  .revision-actions__message-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .revision-actions__message-card--price-approval {
    padding: 16px 20px;
  }

  .revision-actions__price-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .revision-actions__price-layout {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
  }

  .revision-actions__price-col--right {
    width: 100%;
  }

  .revision-action-buttons {
    width: 100%;
    justify-content: flex-start;
    align-self: auto;
  }

  .revision-action-buttons .ghost-btn,
  .revision-action-buttons .primary-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

.form-feedback {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.2rem;
  color: #475569;
}

.form-feedback.error {
  color: #b91c1c;
}

.form-feedback.success {
  color: #15803d;
}

.revision-history {
  margin-top: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 1.25rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.revision-history header h4 {
  margin: 0.2rem 0;
  font-size: 1.1rem;
}

.revision-history header p:last-of-type {
  margin: 0;
  color: #475569;
}

.revision-history__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.revision-history__item {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.revision-history__item--loading,
.revision-history__item--error,
.revision-history__item--empty {
  background: rgba(15, 23, 42, 0.02);
  border-style: dashed;
  color: #475569;
  text-align: center;
}

.revision-history__item--error {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.4);
}

.revision-history__label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.revision-history__meta {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.revision-history__details {
  font-size: 0.9rem;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.status-pill[data-status="SENT_TO_CONTROL"] {
  background: rgba(251, 191, 36, 0.25);
  color: #b45309;
}

.status-pill[data-status="APPROVED"] {
  background: rgba(59, 130, 246, 0.22);
  color: #1d4ed8;
}

.status-pill[data-status="REJECTED"] {
  background: rgba(239, 68, 68, 0.22);
  color: #b91c1c;
}

.status-pill[data-status="COMPLETED"] {
  background: rgba(34, 197, 94, 0.2);
  color: #15803d;
}

.order-line-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1rem;
}

.order-line-table th,
.order-line-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
}

.list-empty {
  border: 1px dashed rgba(15, 23, 42, 0.2);
  border-radius: 18px;
  padding: 1.25rem;
  text-align: center;
  color: #475569;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  z-index: 100;
}

.modal.hidden {
  display: none;
}

.modal-card {
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 50px 90px rgba(2, 6, 23, 0.25);
}

.modal-card label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: #475569;
}

.modal-card input {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 0.85rem 1rem;
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.form-error {
  min-height: 20px;
  color: #dc2626;
  margin: 0;
}
*/

.ui-v2 .od-header {
  margin-bottom: 20px;
}

.ui-v2 .order-data-grid {
  margin-top: 0;
  padding-top: 0;
  width: 100%;
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(54px, auto);
  justify-items: stretch;
  align-items: stretch;
  gap: 10px;
}

.ui-v2 #orderDetail {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: none;
}

.ui-v2 #orderDetail > * {
  width: 100%;
  grid-column: 1 / -1;
  align-self: stretch;
}

.ui-v2 .order-data-grid__cells {
  display: contents;
}

.ui-v2 .order-data-cell {
  position: relative;
  background: #dbcdbb;
  border-radius: 6px;
  padding: 10px 10px 12px;
  min-height: 54px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ui-v2 .order-data-cell .detail-update-tag {
  position: absolute;
  top: 6px;
  right: 8px;
}

.ui-v2 .order-data-cell__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ui-v2 .order-data-cell__value {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #011c3a;
}

.ui-v2 .order-data-cell__input {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(1, 28, 58, 0.18);
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #011c3a;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-v2 .order-data-cell__input:focus {
  outline: none;
  border-color: rgba(239, 108, 0, 0.75);
  box-shadow: 0 0 0 2px rgba(239, 108, 0, 0.12);
}

.ui-v2 .order-data-cell--updated {
  box-shadow: inset 0 0 0 2px rgba(239, 108, 0, 0.7);
}

.ui-v2 .od-summary-bar .btn.is-editing {
  background: #ef6c00;
  border-color: #ef6c00;
  color: #ffffff;
}

.ui-v2 .od-summary-bar .btn.is-editing:hover,
.ui-v2 .od-summary-bar .btn.is-editing:focus-visible {
  background: #d65f00;
  border-color: #d65f00;
  color: #ffffff;
}

.ui-v2 .od-summary-bar .btn[data-action="update-order"]:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(1, 28, 58, 0.22);
  color: rgba(1, 28, 58, 0.42);
  box-shadow: none;
}

.ui-v2 .order-edit-feedback {
  margin: 8px 0 0;
}

.ui-v2 .order-documents {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 0;
  width: 100%;
  grid-column: 1 / -1;
}

.ui-v2 .order-documents__label {
  background: #dbcdbb;
  border-radius: 6px;
  padding: 12px 12px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #011c3a;
}

.ui-v2 .order-documents__content {
  width: 100%;
  min-width: 0;
  gap: 12px;
}

.ui-v2 .order-documents__group {
  width: 100%;
  min-width: 0;
  gap: 8px;
}

.ui-v2 .order-documents__group-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #011c3a;
  margin: 0;
}

.ui-v2 .order-documents .file-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  width: 100%;
  min-width: 0;
  gap: 12px;
  overflow: visible;
}

.ui-v2 .order-documents .file-thumbnail {
  width: 100%;
  max-width: 138px;
}

.ui-v2 .order-documents .file-thumbnails > .file-thumbnail__name:only-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.ui-v2 .order-image-modal__frame {
  display: grid;
  place-items: center;
  min-height: min(62vh, 680px);
  max-height: min(62vh, 680px);
  border-radius: var(--radius-md, 10px);
  border: 1px solid rgba(1, 28, 58, 0.12);
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.ui-v2 .order-image-modal__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ui-v2 .order-image-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2, 8px);
  margin-top: var(--space-3, 12px);
}

.ui-v2 .order-image-modal__actions .btn {
  width: 220px;
  min-width: 220px;
  height: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ui-v2 .order-doc-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  border-style: solid;
  background: transparent;
}

.ui-v2 .order-doc-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(1, 28, 58, 0.12);
  border-radius: 6px;
  padding: 10px;
  min-height: 64px;
}

.ui-v2 .order-doc-item::before {
  content: "";
  width: 100%;
  height: 26px;
  border-radius: 4px;
  background: rgba(1, 28, 58, 0.08);
}

.ui-v2 .order-doc-item span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #011c3a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-v2 .order-summary-actions {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  grid-column: 1 / -1;
}

.ui-v2 .order-summary-actions__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ui-v2 .bench-surfaces {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.ui-v2 .bench-surfaces__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #011c3a;
}

.ui-v2 .bench-surfaces__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-v2 .bench-surface-item {
  background: #dbcdbb;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #011c3a;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ui-v2 .order-summary-total {
  background: #dbcdbb;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #011c3a;
}

.ui-v2 .order-summary-actions__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ui-v2 .order-share {
  margin-top: 0;
  width: 100%;
  grid-column: 1 / -1;
}

.ui-v2 .order-share-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: center;
}

.ui-v2 .order-share-label {
  background: #dbcdbb;
  border-radius: 6px;
  padding: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #011c3a;
}

.ui-v2 .order-share-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ui-v2 .order-share-select {
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(1, 28, 58, 0.2);
  background: rgba(255, 255, 255, 0.55);
  padding: 0 10px;
  width: min(520px, 100%);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 10px;
  color: #011c3a;
}

.ui-v2 .order-history {
  margin-top: 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
  grid-column: 1 / -1;
}

.ui-v2 .order-history__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #011c3a;
  padding-top: 6px;
}

.ui-v2 .order-history__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ui-v2 .order-history__col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-v2 .order-history__col li {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4c4236;
}

.ui-v2 .od-summary-bar,
.ui-v2 .doc-share-wrapper,
.ui-v2 .order-messages {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.ui-v2 .order-messages {
  margin-top: 30px;
  width: 100%;
  grid-column: 1 / -1;
}

.ui-v2 .order-messages-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}

.ui-v2 .order-messages-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-v2 .order-messages-tabs .ghost-btn {
  width: 100%;
  justify-content: flex-start;
}

.ui-v2 [data-view="service"] {
  background: var(--color-bg-main);
  min-height: calc(100vh - var(--size-menu-header-h));
  display: flex;
  flex-direction: column;
}

.ui-v2 [data-view="service"].hidden {
  display: none !important;
}

.ui-v2 [data-view="service-confirmation"].hidden {
  display: none !important;
}

.ui-v2 [data-view="service-confirmation"] {
  background: var(--color-bg-main);
  min-height: calc(100vh - var(--size-menu-header-h));
}

.ui-v2 [data-view="service"] .service-page {
  width: 100%;
  max-width: var(--size-menu-panel-max-w);
  margin: 0 auto;
  padding: var(--space-6) var(--space-7) var(--space-12);
  flex: 1 1 auto;
}

.ui-v2 .service-hero {
  display: flex;
  gap: var(--space-6);
  align-items: stretch;
}

.ui-v2 .service-hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1.3 1 0;
  min-width: 0;
}

.ui-v2 .service-hero-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1 1 0;
  min-width: 0;
}

.ui-v2 .service-hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  max-width: 100%;
}

.ui-v2 .service-hero-copy {
  margin: 0;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: var(--font-light);
  line-height: var(--leading-product-news-body);
  letter-spacing: var(--tracking-product-news-body);
}

.ui-v2 [data-view="service"] .service-info {
  margin-top: var(--space-12);
  margin-bottom: var(--space-16);
}

.ui-v2 .service-info-title {
  margin: 0 0 var(--space-3);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: normal;
  font-weight: var(--font-medium);
}

.ui-v2 .service-info-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.ui-v2 .service-info-text {
  margin: 0;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: var(--font-light);
  line-height: var(--leading-product-news-body);
  letter-spacing: var(--tracking-product-news-body);
}

.ui-v2 .service-form-section {
  margin-top: 0;
}

.ui-v2 .service-section-title {
  margin: 0 0 var(--space-4);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: var(--font-semibold);
}

.ui-v2 .service-section-title span {
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.ui-v2 [data-view="service"] .service-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: stretch;
}

.ui-v2 [data-view="service"] .service-form-left,
.ui-v2 [data-view="service"] .service-form-right {
  background: var(--color-bg-card);
  border: var(--border-thin) solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ui-v2 [data-view="service"] .service-form-left {
  width: 100%;
}

.ui-v2 [data-view="service"] .service-form-right {
  max-width: var(--size-service-form-right-max-w);
}

.ui-v2 [data-view="service"] .service-panel-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ui-v2 [data-view="service"] .service-panel-header h4 {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.ui-v2 [data-view="service"] .service-panel-divider {
  width: 100%;
  height: var(--border-thin);
  background: var(--color-border);
}

.ui-v2 [data-view="service"] .demo-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ui-v2 [data-view="service"] .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ui-v2 [data-view="service"] .service-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: auto;
}

.ui-v2 [data-view="service"] .service-upload-label {
  font-family: var(--font-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 22px;
  letter-spacing: 0.32px;
  color: var(--color-primary);
}

.ui-v2 [data-view="service"] .service-upload-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.ui-v2 [data-view="service"] .service-upload .form-input--upload {
  width: auto;
}

.ui-v2 [data-view="service"] .service-files-label {
  width: 100%;
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-muted);
}


.ui-v2 [data-view="service"] #serviceSubmit {
  width: 100%;
  color: var(--color-bg-main);
  text-align: center;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: 0.98px;
}

.ui-v2 .service-confirmation {
  min-height: calc(100vh - 260px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1rem;
  gap: 30px;
}

.ui-v2 .service-confirmation-icon {
  width: 70px;
  height: 70px;
  background: url("./assets/DASHBOARD/Icon.svg") no-repeat center;
  background-size: 70px 70px;
}

.ui-v2 .service-confirmation h2 {
  margin: 0;
  color: var(--color-primary);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-service-confirm-h2);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: var(--leading-service-confirm-h2);
  letter-spacing: var(--tracking-service-confirm-h2);
}

/* KPI Chart Tooltip */
.kpi-chart__tooltip {
  position: absolute;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kpi-chart__tooltip.hidden {
  display: none;
}

.ui-v2 .service-confirmation p {
  margin: 0;
  max-width: 850px;
  color: var(--color-primary);
  text-align: center;
  font-family: var(--font-product);
  font-size: var(--text-service-confirm-p);
  font-style: normal;
  font-weight: var(--font-light);
  line-height: var(--leading-service-confirm-p);
  letter-spacing: var(--tracking-service-confirm-p);
}

.ui-v2 .service-confirmation-choice {
  margin-top: 0;
  text-transform: uppercase;
  color: var(--color-primary);
  text-align: center;
  font-family: var(--font-primary);
  font-size: var(--text-service-confirm-choice);
  font-style: normal;
  font-weight: var(--font-medium);
  line-height: var(--leading-service-confirm-choice);
  letter-spacing: var(--tracking-service-confirm-choice);
}

@media (max-width: 1100px) {
  .consultant-shell {
    padding: 2rem;
  }

  .order-board {
    grid-template-columns: 1fr;
  }

  .order-detail-card {
    min-height: auto;
  }

  .ui-v2 .order-documents,
  .ui-v2 .order-share-row,
  .ui-v2 .order-history,
  .ui-v2 .order-messages-layout {
    grid-template-columns: 1fr;
  }

  .ui-v2 .order-documents__label {
    height: auto;
    justify-content: flex-start;
  }

  .order-image-modal__actions {
    flex-direction: column;
  }

  .order-image-modal__dialog {
    width: calc(100vw - 24px);
  }

  .order-image-modal__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .ui-v2 .order-doc-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ui-v2 .order-history__columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ui-v2 .service-hero {
    flex-direction: column;
  }

  .ui-v2 .service-info-columns {
    grid-template-columns: 1fr;
  }

  .ui-v2 [data-view="service"] .service-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .insights {
    grid-template-columns: 1fr;
  }
}

.ui-v2 .order-detail-card.view-card {
  background: transparent;
}

.ui-v2 #productNewsView .order-detail-card.view-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.ui-v2 #productNewsView #productNewsContent {
  max-width: var(--size-menu-panel-max-w);
  margin: 0 auto;
  padding: var(--space-8);
}

.ui-v2 #productNewsView .product-news-hero {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: 700px;
  margin-left: calc(0px - var(--space-8));
  margin-right: calc(0px - var(--space-8));
}

.ui-v2 .product-news-hero-slot {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.ui-v2 .product-news-hero-slot.is-1 {
  flex: 745;
}

.ui-v2 .product-news-hero-slot.is-2 {
  flex: 345;
}

.ui-v2 .product-news-hero-slot.is-3 {
  flex: 317;
}

.ui-v2 #productNewsView .product-news-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ui-v2 #productNewsView .product-news-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ui-v2 #productNewsView .product-news-intro h1 {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: var(--leading-product-news-heading);
}

.ui-v2 #productNewsView .paragraph-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ui-v2 #productNewsView .paragraph-text p {
  margin: 0;
}

.ui-v2 #productNewsView .product-news-intro p {
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: var(--font-light);
  line-height: var(--leading-product-news-body);
  letter-spacing: var(--tracking-product-news-body);
}

.ui-v2 #productNewsView .product-news-message,
.ui-v2 #productNewsView .product-news-focus,
.ui-v2 #productNewsView .product-news-latest {
  width: 100%;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ui-v2 #productNewsView .product-news-message {
  min-height: var(--size-product-news-message-min-h);
  margin-top: var(--space-8);
  position: relative;
}

.ui-v2 #productNewsView .product-news-focus,
.ui-v2 #productNewsView .product-news-latest {
  min-height: 0;
  margin-top: var(--space-4);
}

.ui-v2 #productNewsView .product-news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-1);
}

.ui-v2 #productNewsView .product-news-message-title,
.ui-v2 #productNewsView .product-news-focus-title,
.ui-v2 #productNewsView .product-news-latest-title {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.ui-v2 #productNewsView hr {
  width: 100%;
  height: 0;
  border: 0;
  border-top: var(--border-medium) solid var(--color-alert-modal-header-line);
  margin: 0;
}

.ui-v2 #productNewsView .product-news-message-heading {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: normal;
  font-weight: var(--font-medium);
  line-height: var(--leading-product-news-heading);
}

.ui-v2 #productNewsView .product-news-intro .product-news-headline {
  font-weight: var(--font-medium);
}

.ui-v2 #productNewsView .product-news-message-paragraph {
  margin: 0;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: var(--font-light);
  line-height: var(--leading-product-news-body);
  letter-spacing: var(--tracking-product-news-body);
}

.ui-v2 #productNewsView .product-news-message-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ui-v2 #productNewsView .product-news-message-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  margin-right: var(--space-product-news-badge-offset);
  margin-bottom: var(--space-product-news-badge-offset);
  width: var(--size-product-news-message-badge-w);
  height: var(--input-height-sm);
  background: var(--color-bg-main);
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-order-table-header);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.ui-v2 #productNewsView .product-news-message-product {
  width: 188px;
  background: transparent;
  margin-top: auto;
}

.ui-v2 #productNewsView .product-card {
  align-items: center;
}

.ui-v2 #productNewsView .product-card__name,
.ui-v2 #productNewsView .product-card__category {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.ui-v2 #productNewsView .product-card__image {
  border-radius: var(--radius-sm);
}

.ui-v2 #productNewsView .product-card__favorite {
  width: 16px;
  height: 15px;
  background-color: var(--color-bg-main);
  cursor: pointer;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2016%2015'%3E%3Cpath%20d%3D'M7.6084%200L9.40451%205.52786H15.2169L10.5146%208.94427L12.3107%2014.4721L7.6084%2011.0557L2.90612%2014.4721L4.70223%208.94427L-5.38826e-05%205.52786H5.81229L7.6084%200Z'%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2016%2015'%3E%3Cpath%20d%3D'M7.6084%200L9.40451%205.52786H15.2169L10.5146%208.94427L12.3107%2014.4721L7.6084%2011.0557L2.90612%2014.4721L4.70223%208.94427L-5.38826e-05%205.52786H5.81229L7.6084%200Z'%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.7;
}

.ui-v2 #productNewsView .product-card__favorite path {
  display: none;
}

.ui-v2 #productNewsView .product-card__favorite--active {
  opacity: 1;
  background-color: var(--color-favorite-active);
}

.ui-v2 #productNewsView .product-news-focus .product-grid,
.ui-v2 #productNewsView .product-news-latest .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(188px, 188px));
  column-gap: var(--space-12);
  row-gap: var(--space-8);
  justify-content: start;
  align-items: start;
}

.ui-v2 #settingsView #settingsContent {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: var(--space-8);
}

.ui-v2 #settingsView {
  min-height: calc(100vh - 98px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.ui-v2 .consultant-shell.settings-centered {
  min-height: 100vh;
  display: grid;
  grid-template-rows: var(--nav-height) 1fr;
}

.ui-v2 .consultant-shell.settings-centered #settingsView {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ui-v2 #settingsView .order-detail-card.view-card {
  width: 100%;
  display: flex;
  justify-content: center;
}

.ui-v2 #settingsView .settings-grid {
  display: grid;
  grid-template-columns: var(--size-settings-grid-col-left) var(--size-settings-grid-col-right);
  grid-auto-rows: minmax(0, auto);
  gap: var(--space-settings-grid-gap);
  width: 100%;
  max-width: var(--size-menu-panel-max-w);
  margin: 0 auto;
}

.ui-v2 #settingsView .order-detail-card.view-card {
  padding-left: 0;
  padding-right: 0;
}

.ui-v2 #settingsView #settingsContent {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
}

.ui-v2 #settingsView .settings-panel {
  background: var(--color-beige-200);
  border: var(--border-thick) solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ui-v2 #settingsView .settings-container {
  max-width: var(--size-settings-container-max-w);
  background: transparent;
  border: 0;
  padding: 0;
}

.ui-v2 #settingsView .settings-container__title {
  margin: 0 0 var(--space-4);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-stat-card-label);
  font-style: normal;
  font-weight: var(--font-bold);
  line-height: normal;
  letter-spacing: var(--tracking-stat-card-label);
  text-transform: uppercase;
}

.ui-v2 #settingsView .settings-select {
  position: relative;
}

.ui-v2 #settingsView .settings-select__field {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  width: 100%;
  padding: 0;
  margin: 0;
}

.ui-v2 #settingsView .settings-select__field:focus {
  outline: none;
}

.ui-v2 #settingsView .settings-select__field:invalid {
  color: var(--color-text-placeholder);
}

.ui-v2 #settingsView .settings-select__field:valid {
  color: var(--color-text-primary);
}

.ui-v2 #settingsView .settings-input-with-tag {
  position: relative;
}

.ui-v2 #settingsView .settings-input-with-tag .settings-input--with-tag {
  padding-right: 172px;
}

.ui-v2 #settingsView .settings-input-with-tag .settings-input__tag {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.ui-v2 #settingsView .settings-subsection {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.ui-v2 #settingsView .settings-subsection__title {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-tight);
}

.ui-v2 #settingsView .settings-subsection__title span {
  color: var(--color-text-placeholder);
  font-weight: var(--font-medium);
}

.ui-v2 #settingsView .settings-subsection__choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.ui-v2 #settingsView .settings-subsection__choices .checkbox__label {
  color: var(--color-text-primary);
  font-family: var(--font-secondary);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: 22px;
  letter-spacing: var(--tracking-tight);
  text-transform: none;
}

.ui-v2 #settingsView .settings-subsection__meta {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-secondary);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: var(--font-regular);
  line-height: 22px;
  letter-spacing: var(--tracking-tight);
}

.ui-v2 #settingsView .settings-panel__title {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--font-semibold);
  line-height: normal;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.ui-v2 #settingsView .settings-panel__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ui-v2 #settingsView .settings-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-bg-surface);
  border: var(--border-medium) solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: var(--font-regular);
  line-height: normal;
}

.ui-v2 #settingsView .settings-panel__value {
  color: var(--color-text-primary);
  font-weight: var(--font-medium);
}

.ui-v2 #settingsView .settings-panel--empty {
  background: var(--color-beige-200);
  border: var(--border-thick) solid var(--color-border-light);
  border-radius: var(--radius-sm);
}

.ui-v2 .alert-modal-panel {
  width: min(1040px, 94vw);
  max-width: 1040px;
  max-height: min(84vh, 900px);
  padding: 26px 18px 32px;
  align-items: stretch;
  background: #E9DBC9;
}

.ui-v2 .alert-modal-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  width: 100%;
  padding: 0 12px 0 60px;
  box-sizing: border-box;
}

.ui-v2 .alert-modal-header h2 {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  margin: 0;
  color: #011C3A;
  font-family: Akshar, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  text-align: left;
}

.ui-v2 .alert-modal-header::after {
  content: "";
  flex: 1;
  min-width: 0;
  height: 0px;
  background: rgba(1, 28, 58, 0.12);
  transform: translateY(1px);
}

.ui-v2 .alert-modal-close {
  flex: 0 0 auto;
  margin-left: 8px;
}

.ui-v2 .alert-modal-list {
  padding: 8px 0 0;
  gap: 14px;
  width: 100%;
}

.ui-v2 .alert-modal-date-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ui-v2 .alert-modal-date-group__header {
  display: block;
  width: 100%;
  padding: 0px 0px 10px 60px;
  background: transparent;
  box-sizing: border-box;
}

.ui-v2 .alert-modal-date-group__title {
  margin: 0;
  width: 100%;
  color: #011C3A;
  font-family: Akshar, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  text-align: left;
}

.ui-v2 .alert-modal-date-group__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0 28px;
  box-sizing: border-box;
}

.ui-v2 .alert-modal-type-group {
  display: block;
  width: 100%;
}

.ui-v2 .alert-modal-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ui-v2 .alert-modal-entry {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid rgba(144, 129, 109, 0.13);
  background: #DBCDBA;
  width: 100%;
}

.ui-v2 .alert-modal-entry__data {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.ui-v2 .alert-modal-entry__badge {
  white-space: nowrap;
  flex: 0 0 auto;
}

.ui-v2 .alert-modal-entry__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.ui-v2 .alert-modal-entry__order,
.ui-v2 .alert-modal-entry__message {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.ui-v2 .alert-modal-entry__order {
  font-family: Poppins, sans-serif;
  font-size: 13.8px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.966px;
  text-transform: uppercase;
  color: #4C4236;
  opacity: 0.82;
}

.ui-v2 .alert-modal-entry__message {
  color: #4C4236;
  font-family: Poppins, sans-serif;
  font-size: 13.8px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.966px;
  text-transform: uppercase;
}

.ui-v2 .alert-modal-entry__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.ui-v2 .alert-modal-entry__actions .primary-btn {
  width: 168px;
  min-width: 168px;
  height: 38px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

@media (max-width: 760px) {
  .ui-v2 .alert-modal-panel {
    width: min(96vw, 96vw);
    max-height: 88vh;
    padding: 20px 18px 24px;
  }

  .ui-v2 .alert-modal-date-group__header,
  .ui-v2 .alert-modal-date-group__body {
    padding-left: 0;
    padding-right: 0;
  }

  .ui-v2 .alert-modal-entry {
    flex-direction: column;
    gap: 10px;
  }

  .ui-v2 .alert-modal-entry__data {
    align-items: flex-start;
    gap: 10px;
  }

  .ui-v2 .alert-modal-entry__text,
  .ui-v2 .alert-modal-entry__order,
  .ui-v2 .alert-modal-entry__message {
    white-space: normal;
  }

  .ui-v2 .alert-modal-entry__actions .primary-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .ui-v2 #productNewsView .product-news-message {
    min-height: 0;
  }

  .ui-v2 #productNewsView .product-news-message,
  .ui-v2 #productNewsView .product-news-focus,
  .ui-v2 #productNewsView .product-news-latest {
    padding: var(--space-6);
  }

  .ui-v2 #productNewsView .product-news-hero {
    flex-direction: column;
    margin-left: calc(0px - var(--space-6));
    margin-right: calc(0px - var(--space-6));
  }

  .ui-v2 #productNewsView .product-news-hero {
    max-height: none;
  }
  .ui-v2 .product-news-hero-slot {
    flex: none;
  }
  .ui-v2 #productNewsView .product-news-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ===========================================
   REVISION ACTIONS (aktiv CSS utenfor legacy-kommentar)
   =========================================== */

.revision-actions {
  margin-top: 1.5rem;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.revision-actions .eyebrow,
.revision-actions h4,
.revision-actions p {
  margin: 0;
}

.revision-actions__status-card {
  width: 280px;
  height: 134px;
  border-radius: 10px;
  background: #e83e01;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  text-align: center;
}

.revision-actions__status-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbeede;
  flex: 0 0 44px;
}

.revision-actions__status-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.revision-actions__status-title {
  margin: 0;
  color: #fbeede;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  text-align: center;
}

.revision-actions__message-card {
  width: 100%;
  min-width: 0;
  height: 134px;
  border-radius: 10px;
  background: #e83e01;
  color: #fbeede;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 12px 0 31px;
}

.revision-actions__message-card--price-approval {
  min-height: 134px;
  height: auto;
  align-items: flex-start;
  padding-top: 12px;
  padding-bottom: 12px;
}

.revision-actions__message-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.revision-actions__reason {
  margin: 0;
  color: #fbeede;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 3px 3px 5.8px #e03b00;
  white-space: normal;
}

.revision-actions__message-text {
  margin: 0;
  color: #fbeede;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.3px;
  text-shadow: 3px 3px 5.8px #e03b00;
  max-width: 41ch;
}

.revision-action-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  width: min(100%, 560px);
  max-width: 100%;
  height: 100%;
}

.revision-action-buttons .ghost-btn,
.revision-action-buttons .primary-btn {
  width: auto;
  height: 61px;
  min-height: 61px;
  min-width: 180px;
  max-width: 276px;
  flex: 1 1 0;
  align-self: center;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  background: #011c3a;
  color: #e9dbc9;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.82px;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
}

.revision-feedback {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  margin-top: 0.2rem;
}

.form-feedback {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.2rem;
}

.form-feedback.error {
  color: #b91c1c;
}

.form-feedback.success {
  color: var(--color-success);
}

@media (max-width: 1100px) {
  .revision-actions {
    grid-template-columns: 1fr;
  }

  .revision-actions__status-card,
  .revision-actions__message-card {
    width: 100%;
    height: auto;
  }

  .revision-actions__message-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .revision-action-buttons {
    width: 100%;
    justify-content: flex-start;
    align-self: auto;
  }

  .revision-action-buttons .ghost-btn,
  .revision-action-buttons .primary-btn {
    width: 100%;
    max-width: none;
  }
}

.revision-actions__message-card--price-approval .revision-actions__price-layout {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 100%;
  min-width: 0;
  grid-template-columns: minmax(240px, 320px) minmax(260px, 1fr) auto;
  align-items: stretch;
  gap: 20px;
}

.revision-actions__message-card--price-approval {
  min-height: 134px;
  height: auto;
  align-items: stretch;
  padding: 14px 16px 14px 20px;
}

.revision-actions__status-card--price-approval {
  min-height: 134px;
  height: auto;
  align-self: stretch;
  justify-content: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.revision-actions__message-card--price-approval .revision-actions__price-col--left,
.revision-actions__message-card--price-approval .revision-actions__price-col--middle {
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.revision-actions__message-card--price-approval .revision-actions__price-col--left {
  align-self: center;
}

.revision-actions__message-card--price-approval .revision-actions__price-col--right {
  justify-content: center;
  align-items: flex-end;
  justify-self: end;
  align-self: center;
}

.revision-actions__message-card--price-approval .revision-action-buttons--price-approval {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
  max-width: none;
  margin-left: auto;
}

.revision-actions__message-card--price-approval .revision-action-buttons--price-approval .ghost-btn,
.revision-actions__message-card--price-approval .revision-action-buttons--price-approval .primary-btn {
  width: auto;
  min-width: 170px;
  max-width: none;
}

.revision-actions__message-card--price-approval .revision-actions__price-col--middle .revision-actions__message-text--single-line {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 760px) {
  .revision-actions__message-card--price-approval .revision-actions__price-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .revision-actions__message-card--price-approval .revision-actions__price-col--right {
    align-items: flex-start;
  }

  .revision-actions__message-card--price-approval .revision-action-buttons--price-approval {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .revision-actions__message-card--price-approval .revision-action-buttons--price-approval .ghost-btn,
  .revision-actions__message-card--price-approval .revision-action-buttons--price-approval .primary-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ===========================================
   CONSULTANT AUTH (LOGIN + REGISTRERING)
   =========================================== */

.consultant-auth {
  min-height: 100vh;
  background: var(--color-bg-main);
  display: flex;
  flex-direction: column;
}

#loginPage.consultant-auth {
  width: 100%;
  max-width: none;
  padding: 0;
}

.consultant-auth__topband,
.consultant-auth__bottomband,
.consultant-auth__footer {
  background: var(--color-primary);
  width: 100%;
}

.consultant-auth__topband {
  height: 150px;
}

.consultant-auth__logo-badge {
  width: fit-content;
  margin: -72px auto 0;
  border-radius: 10px;
  background: var(--color-bg-main);
  text-align: center;
  padding: 32px 52px 10px;
  box-sizing: border-box;
}

.consultant-auth__logo-image {
  display: block;
  width: 237px;
  min-width: 237px;
  height: auto;
}

.consultant-auth__logo-title {
  display: block;
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  font-size: 45px;
  line-height: 0.85;
  letter-spacing: 0.84px;
  color: var(--color-text-primary);
}

.consultant-auth__logo-sub {
  display: block;
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1.62px;
  color: var(--color-text-primary);
  margin-top: 4px;
}

.consultant-auth__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 16px;
}

.consultant-auth .auth-form {
  width: min(688px, 100%);
}

.auth-form__header--register {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.auth-form__header--register .auth-form__title {
  margin: 0;
  font-size: 24px;
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
  letter-spacing: 0.2px;
  color: var(--color-text-primary);
  line-height: 1.15;
}

.auth-form__header--register .auth-form__subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-weight: var(--font-medium);
  line-height: 1.2;
}

.auth-form__required {
  color: var(--color-accent);
}

#registerPageForm .checkbox {
  align-self: flex-start;
  gap: 8px;
}

#registerPageForm .checkbox__label {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: var(--font-medium);
}

#registerPageForm .checkbox__box {
  border-color: rgba(1, 28, 58, 0.15);
  background: transparent;
}

.auth-success {
  width: min(760px, 100%);
  text-align: center;
  display: grid;
  gap: 16px;
  padding: 16px;
}

.auth-success__eyebrow {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: var(--font-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.consultant-auth [data-auth-screen].hidden {
  display: none !important;
}

body.consultant-authenticated #loginPage {
  display: none !important;
}

.auth-success h2 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: var(--font-semibold);
  line-height: 1.2;
  color: var(--color-text-primary);
  max-width: min(24ch, 100%);
  margin-inline: auto;
  text-wrap: pretty;
}

.auth-success p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 900px;
  margin-inline: auto;
  text-wrap: pretty;
}

.consultant-auth__bottomband,
.consultant-auth__footer {
  height: 89px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.consultant-auth__bottomband strong,
.consultant-auth__footer strong,
.consultant-auth__footer-brand {
  font-family: var(--font-primary);
  font-size: var(--text-page-footer-title);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-page-footer-title);
  color: var(--color-text-light);
}

.consultant-auth__bottomband span,
.consultant-auth__footer span,
.consultant-auth__footer-meta {
  font-family: var(--font-primary);
  font-size: var(--text-page-footer-sub);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-page-footer-sub);
  color: var(--color-text-footer);
}

@media (max-width: 760px) {
  .consultant-auth__topband {
    height: 150px;
  }

  .consultant-auth__logo-badge {
    margin-top: -72px;
    padding: 32px 52px 10px;
  }

  .consultant-auth__logo-title {
    font-size: 36px;
  }

  .consultant-auth .auth-form {
    padding: 28px 20px;
  }

  .auth-form__header--register .auth-form__title {
    font-size: 36px;
  }
}
