/* Baruk Ambientes — componentes oficiais Branco + Taupe 2026
   Estrutura compartilhada para páginas, listas, cards, paginação e configurações. */

:root {
  --baruk-page-gap: 14px;
  --baruk-panel-padding: 16px;
  --baruk-record-accent: var(--baruk-context, var(--baruk-primary));
}

html[data-baruk-visual="taupe-2026"] body .baruk-page {
  display: grid;
  gap: var(--baruk-page-gap);
  min-width: 0;
}

html[data-baruk-visual="taupe-2026"] body .baruk-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--baruk-border) !important;
  border-radius: var(--baruk-radius-lg) !important;
  background:
    linear-gradient(135deg, var(--baruk-context-soft), #ffffff 62%) !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-page-hero > div:first-child {
  min-width: 0;
}

html[data-baruk-visual="taupe-2026"] body .baruk-eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--baruk-context) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

html[data-baruk-visual="taupe-2026"] body .baruk-page-hero h1,
html[data-baruk-visual="taupe-2026"] body .baruk-page-hero h2 {
  margin: 0 !important;
  color: var(--baruk-text) !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 720 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-page-hero p {
  max-width: 760px;
  margin: 7px 0 0 !important;
  color: var(--baruk-muted) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-page-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

html[data-baruk-visual="taupe-2026"] body .baruk-page-hero__metrics > span {
  display: grid;
  gap: 2px;
  min-width: 92px;
  padding: 9px 10px;
  border: 1px solid var(--baruk-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--baruk-muted);
  font-size: 7px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}

html[data-baruk-visual="taupe-2026"] body .baruk-page-hero__metrics strong {
  color: var(--baruk-text);
  font-size: 14px;
  font-weight: 750;
}

html[data-baruk-visual="taupe-2026"] body .baruk-master-detail {
  display: grid !important;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;
  min-width: 0;
}

html[data-baruk-visual="taupe-2026"] body .baruk-list-panel,
html[data-baruk-visual="taupe-2026"] body .baruk-detail-panel,
html[data-baruk-visual="taupe-2026"] body .baruk-section-card {
  border: 1px solid var(--baruk-border) !important;
  border-radius: var(--baruk-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-list-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 106px);
  padding: 12px !important;
  overflow: hidden;
}

html[data-baruk-visual="taupe-2026"] body .baruk-list-panel__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 1px 2px 8px !important;
  border-bottom: 1px solid var(--baruk-border);
}

html[data-baruk-visual="taupe-2026"] body .baruk-list-panel__header > div {
  display: grid;
  gap: 1px;
}

html[data-baruk-visual="taupe-2026"] body .baruk-list-panel__header h2,
html[data-baruk-visual="taupe-2026"] body .baruk-list-panel__header h3 {
  margin: 0 !important;
  color: var(--baruk-text) !important;
  font-size: 13px !important;
  font-weight: 720 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-list-panel__header > span {
  color: var(--baruk-muted) !important;
  font-size: 8px !important;
  font-weight: 650;
  white-space: nowrap;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-list {
  display: grid !important;
  gap: 7px !important;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-card {
  position: relative !important;
  display: grid !important;
  gap: 5px !important;
  width: 100% !important;
  min-height: 67px !important;
  padding: 10px 10px 10px 13px !important;
  overflow: hidden !important;
  border: 1px solid var(--baruk-border) !important;
  border-left: 3px solid
    color-mix(in srgb, var(--baruk-record-accent) 72%, var(--baruk-border)) !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: var(--baruk-text) !important;
  box-shadow: none !important;
  text-align: left !important;
  transform: none !important;
}

html[data-baruk-visual="taupe-2026"] body button.baruk-record-card {
  cursor: pointer;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-card:hover {
  border-color:
    color-mix(in srgb, var(--baruk-record-accent) 30%, var(--baruk-border)) !important;
  background:
    color-mix(in srgb, var(--baruk-record-accent) 3%, #ffffff) !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-card.is-selected {
  border-color:
    color-mix(in srgb, var(--baruk-record-accent) 48%, var(--baruk-border)) !important;
  background:
    color-mix(in srgb, var(--baruk-record-accent) 7%, #ffffff) !important;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--baruk-record-accent) 11%, transparent) !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-card--static {
  cursor: default;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-card__main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-card strong {
  overflow: hidden;
  color: var(--baruk-text) !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-baruk-visual="taupe-2026"] body .baruk-record-card span,
html[data-baruk-visual="taupe-2026"] body .baruk-record-card small {
  overflow: hidden;
  color: var(--baruk-muted) !important;
  font-size: 8px !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-baruk-visual="taupe-2026"] body .baruk-detail-panel {
  min-width: 0;
  padding: var(--baruk-panel-padding) !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-detail-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 0 14px !important;
  padding: 0 0 13px !important;
  border-bottom: 1px solid var(--baruk-border) !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-detail-header h2 {
  margin: 0 !important;
  color: var(--baruk-text) !important;
  font-size: 20px !important;
  font-weight: 720 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-detail-header p {
  margin: 5px 0 0 !important;
  color: var(--baruk-muted) !important;
  font-size: 9px !important;
  line-height: 1.45 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-id-box {
  display: grid !important;
  gap: 4px !important;
  min-width: 180px !important;
  padding: 9px 10px !important;
  border: 1px solid var(--baruk-border) !important;
  border-radius: 10px !important;
  background: var(--baruk-surface-soft) !important;
  word-break: break-all;
}

html[data-baruk-visual="taupe-2026"] body .baruk-id-box span {
  color: var(--baruk-muted) !important;
  font-size: 7px !important;
  font-weight: 750 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

html[data-baruk-visual="taupe-2026"] body .baruk-id-box strong {
  color: var(--baruk-text) !important;
  font-size: 8px !important;
  font-weight: 650 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-stat-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-stat-card {
  display: grid !important;
  gap: 4px !important;
  min-width: 0;
  padding: 10px !important;
  border: 1px solid var(--baruk-border) !important;
  border-radius: 11px !important;
  background: var(--baruk-surface-soft) !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-stat-card span {
  color: var(--baruk-muted) !important;
  font-size: 7px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-stat-card strong {
  color: var(--baruk-text) !important;
  font-size: 15px !important;
  font-weight: 740 !important;
  line-height: 1.15 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-detail-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-section-card {
  min-width: 0;
  padding: 13px !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-section-card h2,
html[data-baruk-visual="taupe-2026"] body .baruk-section-card h3,
html[data-baruk-visual="taupe-2026"] body .baruk-section-card h4 {
  margin: 0 0 9px !important;
  color: var(--baruk-text) !important;
  font-size: 12px !important;
  font-weight: 720 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

html[data-baruk-visual="taupe-2026"] body .baruk-section-header > span {
  max-width: 58%;
  color: var(--baruk-muted);
  font-size: 8px;
  line-height: 1.45;
  text-align: right;
}

html[data-baruk-visual="taupe-2026"] body .baruk-data-list {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-data-list > div {
  display: grid !important;
  grid-template-columns: minmax(100px, 0.42fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
  padding: 7px 0 !important;
  border-bottom:
    1px solid color-mix(in srgb, var(--baruk-border) 70%, transparent);
}

html[data-baruk-visual="taupe-2026"] body .baruk-data-list > div:last-child {
  border-bottom: 0;
}

html[data-baruk-visual="taupe-2026"] body .baruk-data-list dt {
  color: var(--baruk-muted) !important;
  font-size: 7px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

html[data-baruk-visual="taupe-2026"] body .baruk-data-list dd {
  min-width: 0;
  margin: 0 !important;
  color: var(--baruk-text) !important;
  font-size: 9px !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}

html[data-baruk-visual="taupe-2026"] body .baruk-empty-state {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  gap: 5px !important;
  min-height: 96px;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px dashed var(--baruk-border-strong) !important;
  border-radius: 11px !important;
  background: var(--baruk-surface-soft) !important;
  color: var(--baruk-muted) !important;
  text-align: center;
}

html[data-baruk-visual="taupe-2026"] body .baruk-empty-state strong {
  color: var(--baruk-text) !important;
  font-size: 10px !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-empty-state span {
  color: var(--baruk-muted) !important;
  font-size: 8px !important;
  line-height: 1.45 !important;
}

/* Paginação compartilhada. */
html[data-baruk-visual="taupe-2026"] body .baruk-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "status size"
    "controls controls";
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid var(--baruk-border);
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination__status {
  grid-area: status;
  align-self: center;
  color: var(--baruk-muted);
  font-size: 7px;
  font-weight: 650;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination__controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination button {
  display: grid !important;
  place-items: center !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 7px !important;
  border: 1px solid var(--baruk-border) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--baruk-muted) !important;
  box-shadow: none !important;
  font-size: 8px !important;
  font-weight: 700 !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination button:hover:not(:disabled),
html[data-baruk-visual="taupe-2026"] body .baruk-pagination button.is-active {
  border-color:
    color-mix(in srgb, var(--baruk-context) 35%, var(--baruk-border)) !important;
  background: var(--baruk-context-soft) !important;
  color: var(--baruk-context) !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination__ellipsis,
html[data-baruk-visual="taupe-2026"] body .baruk-pagination__current {
  color: var(--baruk-muted);
  font-size: 7px;
  font-weight: 650;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination__size {
  grid-area: size;
  display: flex !important;
  align-items: center;
  gap: 5px;
  color: var(--baruk-muted);
  font-size: 7px;
  font-weight: 650;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination__size select {
  width: auto !important;
  min-width: 54px !important;
  min-height: 30px !important;
  padding: 0 7px !important;
  border-radius: 8px !important;
  font-size: 8px !important;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 9px 10px 10px;
}

html[data-baruk-visual="taupe-2026"] body .baruk-pagination--compact .baruk-pagination__controls {
  margin-left: auto;
}

/* Kanban: ações no contexto da página e paginação por etapa. */
html[data-baruk-visual="taupe-2026"] body .kanban-page-hero {
  margin-bottom: 2px;
}

html[data-baruk-visual="taupe-2026"] body .kanban-page-hero__side {
  display: grid;
  justify-items: end;
  gap: 9px;
}

html[data-baruk-visual="taupe-2026"] body .kanban-page-actions,
html[data-baruk-visual="taupe-2026"] body .kanban-floating-actions.kanban-page-actions {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  pointer-events: auto !important;
}

html[data-baruk-visual="taupe-2026"] body .kanban-page-actions .kanban-floating-actions__primary,
html[data-baruk-visual="taupe-2026"] body .kanban-page-actions .kanban-floating-actions__secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 11px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 8px !important;
  font-weight: 720 !important;
}

html[data-baruk-visual="taupe-2026"] body .kanban-page-actions .kanban-floating-actions__primary {
  border-color: transparent !important;
  background: var(--baruk-context) !important;
  color: #ffffff !important;
}

html[data-baruk-visual="taupe-2026"] body .kanban-page-actions .kanban-floating-actions__secondary {
  border-color: var(--baruk-border) !important;
  background: #ffffff !important;
  color: var(--baruk-muted) !important;
}

html[data-baruk-visual="taupe-2026"] body .kanban-column {
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(100vh - 210px) !important;
}

html[data-baruk-visual="taupe-2026"] body .kanban-column__body {
  flex: 1 1 auto;
  align-content: start;
}

html[data-baruk-visual="taupe-2026"] body .kanban-column > .baruk-pagination {
  margin-top: auto;
  border-top: 1px solid var(--kanban-line, var(--baruk-border));
  background: #ffffff;
}

html[data-baruk-visual="taupe-2026"] body .kanban-column > .baruk-pagination .baruk-pagination__status {
  max-width: 105px;
  line-height: 1.3;
}

/* Páginas antigas que ainda não usam as classes estruturais compartilhadas. */
html[data-baruk-visual="taupe-2026"] body :is(
  .projetos-hero,
  .contrato-hero,
  .financeiro-hero,
  .dashboard-hero,
  .levantamento-hero,
  .calendario-hero,
  .assinaturas-hero,
  .backoffice-hero
) {
  border: 1px solid var(--baruk-border) !important;
  border-radius: var(--baruk-radius-lg) !important;
  background:
    linear-gradient(135deg, var(--baruk-context-soft), #ffffff 62%) !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .projetos-list-panel,
  .contrato-list-panel,
  .financeiro-list-panel
) {
  border: 1px solid var(--baruk-border) !important;
  border-radius: var(--baruk-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .projetos-card,
  .contrato-card,
  .financeiro-card
) {
  border: 1px solid var(--baruk-border) !important;
  border-left: 3px solid var(--baruk-context) !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .projetos-card,
  .contrato-card,
  .financeiro-card
).is-selected {
  border-color:
    color-mix(in srgb, var(--baruk-context) 45%, var(--baruk-border)) !important;
  background: var(--baruk-context-soft) !important;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--baruk-context) 11%, transparent) !important;
}

/* Configurações do assinante. */
html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-page,
  .orc-precos-route,
  .pag-fin-route,
  .doc-config-route,
  .team-config,
  .integration-config
) {
  display: grid !important;
  gap: 14px !important;
  color: var(--baruk-text) !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-hero,
  .orc-precos-route__hero,
  .pag-fin-route__hero,
  .doc-config-route__hero,
  .team-config__hero,
  .integration-config__hero
) {
  border: 1px solid var(--baruk-border) !important;
  border-radius: var(--baruk-radius-lg) !important;
  background:
    linear-gradient(135deg, var(--baruk-context-soft), #ffffff 65%) !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-card,
  .orc-precos-route__card,
  .pag-fin-route__card,
  .doc-config-route__card,
  .team-config__card,
  .integration-config__card,
  .integration-config__security
) {
  border-color: var(--baruk-border) !important;
  border-radius: var(--baruk-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-hero,
  .orc-precos-route__hero,
  .pag-fin-route__hero,
  .doc-config-route__hero,
  .team-config__hero,
  .integration-config__hero,
  .assinante-config-card,
  .orc-precos-route__card,
  .pag-fin-route__card,
  .doc-config-route__card,
  .team-config,
  .integration-config
) :is(h2, h3, h4, strong) {
  color: var(--baruk-text) !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-hero,
  .orc-precos-route__hero,
  .pag-fin-route__hero,
  .doc-config-route__hero,
  .team-config__hero,
  .integration-config__hero,
  .assinante-config-card,
  .orc-precos-route__card,
  .pag-fin-route__card,
  .doc-config-route__card,
  .team-config,
  .integration-config
) :is(p, small) {
  color: var(--baruk-muted) !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-hero span,
  .assinante-config-card label > span,
  .orc-precos-route__hero span,
  .orc-precos-route__card label > span,
  .pag-fin-route__hero span,
  .pag-fin-route__card label > span,
  .doc-config-route__hero span,
  .doc-config-route__card label > span,
  .team-config__hero span,
  .team-config label > span,
  .integration-config__hero span,
  .integration-config label > span
) {
  color: var(--baruk-context) !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-actions,
  .orc-precos-route__actions,
  .pag-fin-route__actions,
  .doc-config-route__actions,
  .team-config__actions,
  .integration-config__actions
) {
  border-color: var(--baruk-border) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 -2px 8px rgba(48, 45, 43, 0.05) !important;
  backdrop-filter: blur(10px);
}

html[data-baruk-visual="taupe-2026"] body :is(
  .assinante-config-actions button,
  .orc-precos-route__save,
  .pag-fin-route__button--primary,
  .doc-config-route__button--primary,
  .team-config__button--primary,
  .integration-config__button--primary
) {
  border-color: transparent !important;
  border-radius: var(--baruk-radius-xs) !important;
  background: var(--baruk-primary) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .orc-precos-route__row,
  .pag-fin-route__stage,
  .pag-fin-route__method,
  .pag-fin-route__rate,
  .doc-config-route__check,
  .doc-config-route__clause,
  .doc-config-route__preview,
  .team-config__member,
  .team-config__permission-group,
  .team-config__permission,
  .integration-config__toggle,
  .integration-config__choice
) {
  border-color: var(--baruk-border) !important;
  background: var(--baruk-surface-soft) !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .team-config__member.is-selected,
  .assinante-config-progress .is-active
) {
  border-color:
    color-mix(in srgb, var(--baruk-context) 42%, var(--baruk-border)) !important;
  background: var(--baruk-context-soft) !important;
  color: var(--baruk-context) !important;
  box-shadow: none !important;
}

html[data-baruk-visual="taupe-2026"] body :is(
  .pag-fin-route__note,
  .doc-config-route__note,
  .doc-config-route__protected-note,
  .team-config__owner-note,
  .team-config__security-note,
  .integration-config__connection-note
) {
  border-left-color: var(--baruk-warning) !important;
  background: rgba(200, 138, 54, 0.10) !important;
  color: #7a5520 !important;
}

@media (max-width: 1120px) {
  html[data-baruk-visual="taupe-2026"] body .baruk-master-detail {
    grid-template-columns: minmax(230px, 290px) minmax(0, 1fr) !important;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-stat-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  html[data-baruk-visual="taupe-2026"] body .baruk-page-hero,
  html[data-baruk-visual="taupe-2026"] body .baruk-detail-header {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-page-hero__metrics {
    justify-content: flex-start;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-master-detail {
    grid-template-columns: 1fr !important;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-list-panel {
    position: static;
    max-height: none;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-record-list {
    max-height: 420px;
  }
}

@media (max-width: 680px) {
  html[data-baruk-visual="taupe-2026"] body .baruk-page-hero {
    padding: 14px;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-page-hero__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-page-hero__metrics > span {
    min-width: 0;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-stat-grid,
  html[data-baruk-visual="taupe-2026"] body .baruk-stat-grid--five,
  html[data-baruk-visual="taupe-2026"] body .baruk-detail-grid {
    grid-template-columns: 1fr !important;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-id-box {
    width: 100%;
    min-width: 0 !important;
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-pagination {
    grid-template-columns: 1fr;
    grid-template-areas:
      "status"
      "controls"
      "size";
  }

  html[data-baruk-visual="taupe-2026"] body .baruk-pagination__size {
    justify-content: center;
  }

  html[data-baruk-visual="taupe-2026"] body .kanban-page-hero__side {
    width: 100%;
    justify-items: stretch;
  }

  html[data-baruk-visual="taupe-2026"] body .kanban-page-actions {
    justify-content: stretch !important;
  }

  html[data-baruk-visual="taupe-2026"] body .kanban-page-actions button {
    flex: 1;
  }
}
