/* System fonts keep the application self-contained and preserve native font weights. */
:root {
  --ink: #17192d;
  --muted: #58617a;
  --violet: #6941d9;
  --line: #e6e7f1;
  --canvas: #f6f7fc;
  --sidebar: #111426;
  --radius: 14px;
  --shadow: 0 3px 5px #25225204, 0 8px 24px #25225204;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    PanelSans,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  background: var(--canvas);
}
a {
  color: var(--violet);
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
}
button {
  color: inherit;
}
a,
button,
input,
select {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #a98af0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.25;
  font-weight: 750;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  line-height: 1.3;
}
h3 {
  font-size: 15px;
}
.icon {
  flex-shrink: 0;
  vertical-align: middle;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  width: 246px;
  position: fixed;
  inset: 0 auto 0 0;
  background: linear-gradient(155deg, #15182c, #0f1223);
  color: #d8dbe9;
  display: flex;
  flex-direction: column;
  z-index: 40;
  padding: 30px 18px 16px;
  border-right: 1px solid #25283e;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.3;
}
.brand > span:last-child {
  overflow-wrap: anywhere;
}
.brand small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1px;
  color: #a0a5be;
  margin-top: 6px;
}
.brand-mark {
  background: #7651d9;
  color: #fff;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-mark .icon {
  width: 20px;
  height: 20px;
}
.sidebar-top {
  padding: 0 6px 30px;
}
.nav-label {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: #858ba6;
  margin: 8px 15px 15px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #c2c6d8;
  padding: 13px 15px;
  margin-bottom: 6px;
  border-radius: 9px;
  font-size: 13px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-link .icon {
  width: 20px;
  height: 20px;
  color: #a4abc4;
}
.nav-link:hover {
  background: #ffffff0b;
  color: white;
}
.nav-link.active {
  background: linear-gradient(100deg, #6340c1, #7450d8);
  box-shadow: 0 4px 14px #0002;
  color: white;
}
.nav-link.active .icon {
  color: white;
}
.nav-count {
  margin-left: auto;
  background: #ffffff20;
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 6px 0;
}
.private-label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  background: #ffffff04;
  border: 1px solid #ffffff0c;
  border-radius: 10px;
  padding: 12px;
}
.private-label > .icon {
  width: 17px;
  color: #a795d8;
}
.private-label small {
  display: block;
  font-size: 12px;
  color: #8e95af;
  margin-top: 3px;
}
.private-label .status-dot {
  margin-left: auto;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #44b58b;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.idle {
  background: #a0a5b8;
}
.user-profile {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0 16px;
  font-size: 12px;
  font-weight: 600;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #33324e;
  color: #dcd1ff;
  text-transform: uppercase;
}
.user-profile small {
  display: block;
  color: #8b92ac;
  font-size: 12px;
  font-weight: 400;
}
.logout-form button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  font-size: 12px;
  color: #b1b7cb;
  min-height: 44px;
}
.logout-form button:hover {
  color: #fff;
}
.logout-form .icon {
  width: 17px;
  height: 17px;
}
.workspace {
  margin-left: 246px;
  min-width: 0;
}
.topbar {
  height: 88px;
  background: #ffffffc9;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 16px;
}
.topbar-context {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7b7f94;
  font-size: 12px;
}
.topbar-context strong {
  color: #41465f;
  font-weight: 500;
}
.breadcrumb {
  padding: 0 10px;
  color: #c0c4d3;
}
.secure-badge {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #edf9f3;
  border: 1px solid #d1ecdf;
  padding: 9px 13px;
  border-radius: 10px;
  color: #265d47;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.secure-badge .icon {
  width: 21px;
  height: 21px;
}
.secure-badge small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #52806c;
  margin-top: 2px;
}
.secure-badge .status-dot {
  margin-left: 10px;
}
main#main {
  padding: 31px 36px 18px;
  max-width: 1680px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 27px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #9296aa;
  margin-bottom: 9px;
}
.page-heading p {
  margin-top: 9px;
  font-size: 12px;
}
.today {
  font-size: 12px;
  color: #858a9e;
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 21px 17px 17px;
  border-radius: 14px;
  border: 1px solid;
  min-width: 0;
}
.stat-card h2 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.stat-icon {
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.stat-icon .icon {
  width: 24px;
  height: 24px;
}
.stat-value {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.stat-chip {
  font-size: 11px;
  border-radius: 5px;
  letter-spacing: 0;
  padding: 4px 6px;
  background: #ffffff90;
  color: #6c6489;
  font-weight: 500;
}
.stat-card p {
  font-size: 11px;
  margin-top: 10px;
  line-height: 1.5;
  color: #727288;
}
.violet {
  background: #f0eaff;
  border-color: #e5dbff;
}
.violet .stat-icon {
  background: #e5d9ff;
  color: #7041db;
}
.blue {
  background: #edf2ff;
  border-color: #dfe7fb;
}
.blue .stat-icon {
  background: #dfe9ff;
  color: #416dcc;
}
.amber {
  background: #fbf3e8;
  border-color: #f1e7d8;
}
.amber .stat-icon {
  background: #f7e9d6;
  color: #aa7337;
}
.rose {
  background: #fceef1;
  border-color: #f6dee5;
}
.rose .stat-icon {
  background: #f9dfe7;
  color: #bd5373;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.perfume-card {
  margin-bottom: 22px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  min-width: 0;
}
.section-heading > div {
  min-width: 0;
}
.section-heading p {
  font-size: 12px;
  margin-top: 5px;
}
.section-heading > .button,
.section-heading > .badge,
.section-heading > .text-link {
  margin-left: auto;
  flex-shrink: 0;
}
.section-icon {
  color: var(--violet);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.section-icon .icon {
  width: 26px;
  height: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: white;
  color: var(--violet);
  transition:
    background 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
.button:hover {
  background: #f3effd;
  border-color: #c6b2f2;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: var(--violet);
  color: white;
  border-color: var(--violet);
  min-height: 46px;
  font-size: 13px;
}
.button.primary:hover {
  background: #5631bb;
}
.button.outline {
  background: #fdfcff;
  border-color: #ddd1fa;
}
.button.outline:hover {
  background: #f0e9fc;
}
.button.small {
  min-height: 35px;
  font-size: 12px;
  padding: 6px 9px;
  white-space: nowrap;
}
.button.soft {
  background: #f2edfc;
  border-color: #f0eafa;
}
.full {
  width: 100%;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-x: contain;
  border-radius: 9px;
}
table {
  border-collapse: separate;
  border-spacing: 0 5px;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 12px;
  background: #f0f1f8;
  color: #737a94;
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 12px;
}
th:first-child {
  border-radius: 7px 0 0 7px;
}
th:last-child {
  border-radius: 0 7px 7px 0;
}
td {
  padding: 11px 12px;
  background: #fafbfe;
  border-bottom: 1px solid #f1f2f8;
  vertical-align: middle;
}
td:first-child {
  border-radius: 8px 0 0 8px;
}
td:last-child {
  border-radius: 0 8px 8px 0;
}
.offer-row td {
  background: #eef9f2;
  border-color: #e9f5ee;
}
.product-name {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 170px;
}
.product-name strong {
  font-weight: 650;
  font-size: 12px;
}
.product-placeholder {
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  border-radius: 7px;
  background: #efedf7;
  color: #9284ba;
  flex-shrink: 0;
}
.product-placeholder .icon {
  width: 21px;
  height: 24px;
}
.price {
  font-weight: 700;
  white-space: nowrap;
}
td small {
  display: block;
  font-size: 11px;
  color: #a67b3f;
  font-weight: 400;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  font-weight: 500;
}
.badge .icon {
  width: 12px;
  height: 12px;
}
.badge.success {
  background: #dff5e5;
  color: #31784c;
}
.badge.neutral {
  background: #f0f1f7;
  color: #777d92;
}
.badge.warning {
  background: #fff1d8;
  color: #986a21;
}
.muted {
  color: #8b90a4;
}
.date-cell {
  font-size: 12px;
  color: #7c8297;
  white-space: nowrap;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #f1f1f7;
  font-size: 11px;
  color: #8b90a3;
  flex-wrap: wrap;
}
.source-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dashboard-lower {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.dashboard-lower > .card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.dashboard-lower h2 {
  font-size: 14px;
}
.dashboard-lower .section-heading {
  align-items: flex-start;
  gap: 9px;
}
.dashboard-lower .section-heading p {
  font-size: 12px;
}
.dashboard-lower .section-icon .icon {
  width: 23px;
  height: 23px;
}
.text-link {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
  white-space: nowrap;
}
.text-link .icon {
  width: 12px;
  height: 12px;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 32px 16px;
  flex: 1;
  min-height: 220px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #eeebf7;
  border-radius: 15px;
  background: #f8f6fd;
  color: #a292c8;
  margin-bottom: 16px;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
}
.empty-state h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555a73;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 280px;
  color: #9599aa;
}
.dashboard-lower .empty-state {
  padding: 22px 3px;
  min-height: 210px;
}
.dashboard-lower .empty-state h3 {
  max-width: 200px;
}
.dashboard-lower .card-bottom {
  margin-top: auto;
}
.footnote {
  font-size: 12px;
  line-height: 1.7;
  color: #9398aa;
  margin-top: 15px;
}
.activity-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.activity-list li {
  display: flex;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f2f7;
}
.activity-list li:last-child {
  border: 0;
}
.activity-icon {
  width: 30px;
  height: 30px;
  background: #f1ebfc;
  color: #8b6cc8;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-icon .icon {
  width: 15px;
  height: 15px;
}
.activity-list strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.activity-list p {
  font-size: 12px;
  margin-top: 3px;
}
.activity-list time {
  font-size: 11px;
  color: #9a9fb0;
  display: block;
  margin-top: 4px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #9ba0b2;
  font-size: 12px;
  padding: 24px 1px 7px;
}
.app-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-footer .icon {
  width: 12px;
  height: 12px;
}
.app-footer > span > span {
  padding: 0 7px;
}
.filter-bar,
.future-tools {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 180px;
}
.search-box > .icon {
  position: absolute;
  left: 12px;
  width: 17px;
  color: #989db0;
}
.search-box input {
  padding-left: 38px;
}
input:not([type="checkbox"]),
select {
  border: 1px solid #e1e3ee;
  border-radius: 8px;
  min-height: 44px;
  background: #fff;
  padding: 10px 12px;
  color: #3f455f;
  width: 100%;
  min-width: 0;
  font-size: 12px;
}
input::placeholder {
  color: #a2a6b8;
}
.filter-bar select {
  min-width: 170px;
}
.filter-count {
  color: #9298ac;
  font-size: 12px;
}
.future-tools label {
  font-size: 12px;
  color: #8c91a4;
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 150px;
}
.future-tools input:disabled,
.future-tools select:disabled {
  background: #f8f9fc;
  color: #a0a4b5;
}
.no-results {
  text-align: center;
  padding: 25px;
  font-size: 12px;
}
.history-placeholder {
  margin-top: 22px;
}
.chart-placeholder {
  height: 180px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 43px,
    #f0f1f7 44px,
    #f0f1f7 45px
  );
  display: grid;
  place-items: center;
  border: 1px dashed #e5e2f0;
  border-radius: 9px;
  color: #9a9fb0;
  font-size: 12px;
  text-align: center;
  padding: 20px;
}
.chart-placeholder span {
  background: #fff;
  padding: 10px;
}
.module-card .empty-state {
  min-height: 340px;
}
.module-note {
  font-size: 12px;
  background: #f8f7fc;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  color: #898c9f;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.settings-card form {
  display: grid;
  gap: 12px;
}
.settings-card label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
}
.field-help {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.settings-card .primary {
  justify-self: start;
  margin-top: 10px;
}
.connection-list {
  margin: 4px 0 20px;
}
.connection-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f2f7;
  font-size: 12px;
}
.connection-list dt {
  color: #858b9e;
}
.connection-list dd {
  margin: 0;
  text-align: right;
}
.settings-card > .button {
  margin-top: 20px;
}
.notice {
  background: #edf9f2;
  border: 1px solid #caead8;
  color: #2c7750;
  padding: 12px 16px;
  border-radius: 9px;
  margin-bottom: 18px;
  font-size: 12px;
}
.notice.error {
  background: #fff1f3;
  border-color: #f2d3db;
  color: #9d3b56;
}
.menu-toggle,
.mobile-close,
.bottom-nav {
  display: none;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}
.access-story {
  background: radial-gradient(ellipse at 50% 70%, #322359, #14172a 65%);
  color: white;
  padding: 48px 9%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.access-story > .brand {
  font-size: 20px;
}
.access-story > div {
  padding-top: 60px;
}
.access-story h1 {
  font-size: clamp(30px, 3vw, 49px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 18px 0;
}
.access-story .eyebrow {
  color: #baa6e7;
  font-size: 12px;
}
.access-story p {
  color: #9c9fb6;
  font-size: 14px;
  line-height: 1.9;
}
.access-story > small {
  font-size: 12px;
  color: #757b97;
}
.access-form {
  display: grid;
  place-items: center;
  padding: 48px 30px;
  background: #fbfbfe;
}
.login-box {
  width: 100%;
  max-width: 360px;
}
.login-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #eee8fc;
  color: var(--violet);
  margin-bottom: 25px;
}
.login-box .eyebrow {
  font-size: 11px;
  color: #8e83ad;
}
.login-box h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
}
.login-box > p {
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.8;
}
.login-box form:not(.logout-form) {
  margin-top: 28px;
}
.login-box form > label:not(.checkbox) {
  display: block;
  margin: 17px 0 7px;
  font-size: 12px;
  font-weight: 600;
}
.login-box input:not([type="checkbox"]) {
  background: #fff;
  min-height: 48px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 75px;
}
.password-toggle {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #8a819f;
  font-size: 12px;
  padding: 0 12px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7a7f94;
  margin: 18px 0 23px;
  min-height: 28px;
}
.checkbox input {
  accent-color: var(--violet);
  width: 15px;
  height: 15px;
}
.login-box .login-help {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
}
.login-box .login-help a {
  color: #898298;
}
.access-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-top: 1px solid #e9e8f0;
  margin-top: 34px;
  padding-top: 23px;
  font-size: 12px;
  color: #7d8397;
}
.access-note small {
  font-size: 11px;
  color: #a0a5b7;
}
.access-note .icon {
  width: 17px;
  height: 17px;
}
.login-box .logout-form button {
  color: var(--violet);
  margin-top: 20px;
}
.orbit-art {
  height: 300px;
  position: relative;
  width: 300px;
  margin: 20px auto;
}
.orbit-ring {
  position: absolute;
  inset: 40px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
}
.orbit-ring:before {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
}
.orbit-core {
  position: absolute;
  inset: 115px;
  background: #7044cb;
  box-shadow: 0 10px 70px #a371df22;
  border-radius: 21px;
  display: grid;
  place-items: center;
  transform: rotate(-10deg);
}
.orbit-core .icon {
  width: 34px;
  height: 34px;
}
.orbit-node {
  position: absolute;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #25263e;
  border: 1px solid #ffffff15;
  border-radius: 15px;
  box-shadow: 0 12px 25px #0002;
  color: #c2addf;
}
.orbit-node.one {
  top: 33px;
  left: 57px;
  transform: rotate(-12deg);
}
.orbit-node.two {
  right: 10px;
  top: 115px;
  transform: rotate(10deg);
}
.orbit-node.three {
  bottom: 21px;
  left: 65px;
  transform: rotate(-6deg);
}
@media (min-width: 1600px) {
  .sidebar {
    width: 260px;
  }
  .workspace {
    margin-left: 260px;
  }
  main#main {
    padding: 38px 44px;
  }
  .stat-card {
    padding: 25px;
  }
  .stat-card h2 {
    font-size: 14px;
  }
  .stat-card p {
    font-size: 12px;
  }
  table {
    font-size: 12px;
  }
  .product-name strong {
    font-size: 12px;
  }
  .stat-chip {
    font-size: 12px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 220px;
    padding-inline: 14px;
  }
  .workspace {
    margin-left: 220px;
  }
  .brand {
    font-size: 15px;
  }
  .topbar {
    padding: 0 25px;
  }
  main#main {
    padding: 28px 25px 18px;
  }
  .stat-card {
    gap: 9px;
    padding: 17px 12px;
  }
  .stat-icon {
    width: 31px;
    height: 34px;
  }
  .stat-icon .icon {
    width: 22px;
  }
  .stat-value {
    font-size: 26px;
  }
  .stat-chip {
    font-size: 10px;
  }
  .stat-card h2 {
    font-size: 12px;
  }
  .dashboard-lower {
    grid-template-columns: 1fr 1fr;
  }
  .activity-card {
    grid-column: 1/-1;
  }
  .activity-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .today {
    display: none;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 270px;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
  }
  .workspace {
    margin-left: 0;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .menu-open {
    overflow: hidden;
  }
  .menu-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #11142670;
    border: 0;
    z-index: 35;
  }
  .menu-toggle,
  .mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-close {
    font-size: 27px;
    position: absolute;
    top: 16px;
    right: 8px;
    color: #d0c8e6;
  }
  .sidebar-top {
    padding-right: 24px;
  }
  .sidebar-top .brand-mark {
    display: none;
  }
  .topbar {
    height: 77px;
  }
  .topbar-context {
    margin-left: -10px;
  }
  .stats-grid {
    gap: 13px;
  }
  .stat-card h2 {
    font-size: 12px;
  }
  .settings-grid {
    grid-template-columns: 1fr 1fr;
  }
  .access-story {
    padding: 35px 8%;
  }
  .access-story h1 {
    font-size: 35px;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 13px;
  }
  .topbar {
    height: auto;
    min-height: 76px;
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .topbar-context {
    font-size: 12px;
  }
  .secure-badge {
    padding: 7px 9px;
    font-size: 11px;
    gap: 6px;
  }
  .secure-badge small {
    font-size: 10px;
  }
  .secure-badge .status-dot {
    display: none;
  }
  .secure-badge .icon {
    width: 16px;
  }
  .topbar-context > span {
    display: none;
  }
  .topbar-context:after {
    content: attr(data-panel-title);
    font-size: 13px;
    font-weight: 700;
    color: #292a45;
  }
  .topbar .menu-toggle {
    padding: 8px;
  }
  main#main {
    padding: 25px 17px 100px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 280px;
    line-height: 1.7;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 19px;
  }
  .stat-card {
    padding: 15px 11px;
    gap: 9px;
    border-radius: 12px;
  }
  .stat-card h2 {
    font-size: 12px;
  }
  .stat-card p {
    font-size: 10px;
    margin-top: 7px;
  }
  .stat-icon {
    width: 28px;
    height: 30px;
    background: none !important;
  }
  .stat-icon .icon {
    width: 23px;
    height: 23px;
  }
  .stat-value {
    font-size: 27px;
    gap: 7px;
  }
  .stat-chip {
    font-size: 10px;
    padding: 3px 5px;
  }
  .card {
    padding: 16px;
    border-radius: 13px;
  }
  .section-heading {
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .section-heading > .button {
    font-size: 11px;
    min-height: 35px;
    padding: 6px 9px;
    margin-left: 35px;
  }
  .section-heading > .badge {
    font-size: 10px;
  }
  .section-icon .icon {
    width: 24px;
    height: 24px;
  }
  .perfume-card .section-heading p {
    max-width: 230px;
  }
  .perfume-table {
    min-width: 1030px;
  }
  .table-scroll {
    border: 1px solid #f0f1f7;
  }
  .product-name {
    min-width: 160px;
  }
  .card-bottom {
    font-size: 10px;
    gap: 7px;
  }
  .dashboard-lower {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .activity-card {
    grid-column: auto;
  }
  .dashboard-lower > .card {
    padding: 18px;
  }
  .dashboard-lower h2 {
    font-size: 15px;
  }
  .dashboard-lower .empty-state {
    min-height: 190px;
  }
  .activity-list {
    display: block;
  }
  .app-footer {
    font-size: 10px;
    flex-wrap: wrap;
    line-height: 1.8;
  }
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
    background: #fffffffa;
    border-top: 1px solid #e7e6f0;
    z-index: 30;
    box-shadow: 0 -5px 20px #25225205;
  }
  .bottom-nav a,
  .bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #9397ab;
    background: transparent;
    border: 0;
    font-size: 11px;
    min-height: 48px;
  }
  .bottom-nav .icon {
    width: 21px;
    height: 21px;
  }
  .bottom-nav .active {
    color: var(--violet);
  }
  .bottom-nav .active:before {
    content: "";
    position: absolute;
    top: 0;
    width: 25px;
    height: 2px;
    background: var(--violet);
    border-radius: 0 0 3px 3px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-card .section-heading > .badge {
    margin-left: 0;
  }
  .filter-bar {
    gap: 9px;
  }
  .filter-bar .search-box {
    flex-basis: 100%;
  }
  .filter-bar > label:nth-child(2) {
    flex: 1;
  }
  .filter-bar select {
    font-size: 12px;
  }
  .filter-count {
    font-size: 12px;
  }
  .connection-list > div {
    flex-wrap: wrap;
    gap: 7px;
  }
  .connection-list dd {
    text-align: left;
  }
  .module-card .empty-state {
    min-height: 270px;
  }
  .module-card table {
    min-width: 600px;
  }
  .chart-placeholder {
    font-size: 12px;
  }
  .history-placeholder .section-heading > .badge {
    margin-left: 35px;
  }
  .access-layout {
    grid-template-columns: 1fr;
  }
  .access-story {
    padding: 24px;
  }
  .access-story > .brand {
    font-size: 17px;
  }
  .access-story > div,
  .access-story > small {
    display: none;
  }
  .access-form {
    padding: 38px 25px;
    align-items: start;
  }
  .login-box {
    max-width: 360px;
  }
  .login-box h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.table-scroll {
  position: relative;
}
.stat-card > div {
  min-width: 0;
}
th {
  position: relative;
}

/* Keep existing mobile controls comfortably usable by touch. */
@media (max-width: 700px) {
  .button,
  .button.small,
  .section-heading > .button,
  .text-link {
    min-height: 44px;
  }
  .password-toggle {
    top: 2px;
    min-height: 44px;
  }
}

/* 1.0.2 — Shared readability and density; existing palette and navigation retained. */
.workspace {
  position: relative;
}
.topbar {
  height: 64px;
  padding-inline: 24px;
}
main#main {
  padding: 22px 24px 14px;
}
.page-heading {
  margin-bottom: 18px;
}
.page-heading h1 {
  font-size: 28px;
}
.page-heading p {
  margin-top: 6px;
  font-size: 14px;
}
.eyebrow {
  color: #656e85;
  margin-bottom: 6px;
}
.today,
.breadcrumb {
  color: #687188;
}
.sidebar {
  padding-top: 24px;
}
.sidebar-top {
  padding-bottom: 22px;
}
.nav-label {
  margin-bottom: 10px;
}
.nav-link {
  min-height: 44px;
  padding-block: 10px;
  font-size: 14px;
}
.sidebar-bottom {
  padding-top: 18px;
}
.user-profile {
  margin-block: 16px 10px;
}
.stats-grid {
  gap: 14px;
  margin-bottom: 16px;
}
.stat-card {
  padding: 14px;
  gap: 10px;
}
.stat-card h2 {
  font-size: 14px;
  margin-bottom: 4px;
}
.stat-value {
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}
.stat-icon {
  width: 36px;
  height: 36px;
}
.stat-card p {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
  color: #58617a;
}
.stat-chip {
  font-size: 11px;
  color: #594e73;
}
.card {
  padding: 16px;
}
.perfume-card {
  margin-bottom: 16px;
}
.section-heading {
  gap: 10px;
  margin-bottom: 12px;
}
.section-heading p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.button,
.button.small {
  font-size: 12px;
}
table {
  font-size: 13px;
  border-spacing: 0 4px;
  font-variant-numeric: tabular-nums;
}
th {
  font-size: 12px;
  padding: 8px 10px;
  color: #4e5973;
}
td {
  padding: 8px 10px;
}
.product-name strong {
  font-size: 13px;
}
.product-placeholder {
  height: 32px;
  width: 30px;
  color: #78659f;
}
.badge {
  font-size: 12px;
  padding: 4px 8px;
}
.badge.neutral {
  color: #566078;
}
.muted,
.date-cell,
.card-bottom,
.footnote,
.app-footer,
.filter-count {
  color: #626d85;
}
.date-cell,
.card-bottom,
.footnote,
.app-footer {
  font-size: 12px;
}
.card-bottom {
  padding-top: 10px;
  margin-top: 10px;
}
.app-footer {
  padding-top: 16px;
}
.empty-state {
  padding: 18px 12px;
  min-height: 150px;
}
.empty-state h3 {
  font-size: 14px;
  color: #3e4861;
}
.empty-state p {
  color: #626d85;
  font-size: 13px;
  line-height: 1.5;
}
.empty-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.empty-icon .icon {
  width: 23px;
  height: 23px;
}
.module-card .empty-state {
  min-height: 200px;
}
.module-note {
  color: #626d85;
}
.dashboard-lower {
  gap: 16px;
}
.dashboard-lower > .card {
  padding: 16px;
}
.dashboard-lower h2 {
  font-size: 16px;
}
.dashboard-lower .section-heading p {
  font-size: 12px;
}
.dashboard-lower .empty-state {
  min-height: 125px;
  padding: 10px 0;
}
.dashboard-lower .empty-state h3 {
  max-width: none;
}
.dashboard-lower .empty-state p {
  font-size: 12px;
}
.dashboard-lower .footnote {
  margin-top: 10px;
  font-size: 12px;
}
.text-link {
  font-size: 12px;
}
.activity-list strong {
  font-size: 13px;
}
.activity-list p,
.activity-list time {
  color: #626d85;
  font-size: 12px;
}
.filter-bar {
  gap: 10px;
  margin-bottom: 12px;
}
/* ID specificity keeps the icon gutter intact against the generic input rule. */
#perfume-search {
  padding-inline-start: 42px;
  font-size: 14px;
}
.search-box > .icon {
  left: 13px;
  width: 18px;
  pointer-events: none;
  color: #65708a;
}
input::placeholder {
  color: #727d93;
}
.field-help,
.connection-list dt,
.chart-placeholder {
  color: #626d85;
}
.chart-placeholder {
  height: 130px;
}
.connection-list > div {
  font-size: 13px;
  padding-block: 12px;
}
.settings-card label {
  font-size: 13px;
}
.field-help {
  font-size: 13px;
  line-height: 1.6;
}
.perfume-mobile-list,
.mobile-label {
  display: none;
}
/* The dashboard summary follows the reference; all columns remain on the full list. */
.is-compact :is(th, td):nth-child(2),
.is-compact :is(th, td):nth-child(4),
.is-compact :is(th, td):nth-child(5),
.is-compact :is(th, td):nth-child(8) {
  display: none;
}
.is-compact .product-name strong {
  font-size: 14px;
}
.is-compact .price {
  font-size: 15px;
}
.is-compact .product-placeholder {
  height: 30px;
}
/* Welcome and security status share one header on desktop, as in the reference. */
@media (min-width: 1051px) {
  .view-inicio .topbar {
    height: 0;
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .view-inicio .topbar-context {
    display: none;
  }
  .view-inicio .secure-badge {
    position: absolute;
    top: 20px;
    right: 24px;
  }
  .view-inicio .page-heading {
    padding-right: 295px;
  }
  .view-inicio .page-heading .eyebrow,
  .view-inicio .today {
    display: none;
  }
}
@media (min-width: 1251px) {
  .dashboard-lower {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
@media (min-width: 701px) and (max-width: 1250px) {
  .stat-card {
    padding: 12px;
    gap: 8px;
  }
  .stat-card h2 {
    font-size: 13px;
  }
  .stat-icon {
    width: 28px;
    height: 30px;
  }
  .stat-chip {
    font-size: 10px;
  }
}
/* Login uses the same readable secondary text without changing any form behavior. */
.login-box {
  max-width: 380px;
}
.login-box > p,
.login-box form > label:not(.checkbox) {
  font-size: 14px;
}
.login-box input:not([type="checkbox"]) {
  font-size: 16px;
}
.login-box .login-help,
.checkbox,
.password-toggle {
  font-size: 13px;
  color: #5d6680;
}
.login-box .login-help a {
  color: #65518c;
}
.access-note,
.access-note small {
  color: #626d85;
  font-size: 12px;
}
.access-story > small {
  color: #a5adc9;
}
@media (max-width: 700px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 4px 12px 6px;
    min-height: 0;
    height: auto;
  }
  .topbar-context {
    min-width: 0;
    margin: 0;
    gap: 4px;
  }
  .topbar-context:after {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .secure-badge {
    width: fit-content;
    max-width: 100%;
    padding: 4px 8px;
    font-size: 11px;
    gap: 6px;
  }
  .secure-badge small {
    display: none;
  }
  .secure-badge .icon {
    width: 16px;
    height: 16px;
  }
  main#main {
    padding: 14px 12px 84px;
  }
  .page-heading {
    margin-bottom: 14px;
  }
  .page-heading .eyebrow {
    display: none;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.7px;
  }
  .page-heading p {
    margin-top: 4px;
    max-width: none;
    font-size: 13px;
    line-height: 1.45;
  }
  .stats-grid {
    gap: 8px;
    margin-bottom: 14px;
  }
  .stat-card {
    padding: 10px;
    gap: 7px;
    border-radius: 11px;
    align-items: flex-start;
  }
  .stat-card h2 {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 4px;
  }
  .stat-icon {
    width: 23px;
    height: 25px;
  }
  .stat-icon .icon {
    width: 22px;
    height: 22px;
  }
  .stat-value {
    gap: 6px;
    font-size: 26px;
  }
  .stat-chip {
    font-size: 10px;
    padding: 3px 4px;
  }
  .stat-card p {
    display: none;
  }
  .card,
  .dashboard-lower > .card {
    padding: 12px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .section-heading p,
  .dashboard-lower .section-heading p {
    font-size: 12px;
  }
  .section-heading {
    margin-bottom: 10px;
  }
  .perfume-card .section-heading {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  .perfume-card .section-icon .icon {
    width: 20px;
    height: 23px;
  }
  .perfume-card .section-heading h2 {
    font-size: 15px;
  }
  .perfume-card .section-heading > .button,
  .perfume-card .section-heading > .badge {
    margin: 0;
  }
  .perfume-card .section-heading > .button {
    padding: 7px 9px;
    gap: 5px;
    font-size: 12px;
  }
  .is-compact .section-heading p {
    display: none;
  }
  .desktop-label {
    display: none;
  }
  .mobile-label {
    display: inline;
  }
  .perfume-desktop {
    display: none;
  }
  .perfume-mobile-list {
    display: grid;
    gap: 8px;
  }
  .product-card {
    min-width: 0;
    background: #f8f9fd;
    border: 1px solid #e7eaf3;
    border-radius: 10px;
    padding: 10px 12px;
  }
  .product-card.offer-card {
    background: #eef9f2;
    border-color: #d9eddf;
  }
  .product-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .product-card-head h3 {
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 650;
    overflow-wrap: anywhere;
  }
  .product-card .product-placeholder {
    width: 28px;
    height: 30px;
  }
  .product-card .product-placeholder .icon {
    width: 19px;
    height: 21px;
  }
  .product-card-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 7px;
  }
  .product-card-summary .price {
    font-size: 16px;
    font-variant-numeric: tabular-nums;
  }
  .product-card .badge {
    max-width: 58%;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }
  .data-label {
    display: block;
    color: #5e6a82;
    font-size: 12px;
  }
  .product-details {
    border-top: 1px solid #e2e6f0;
    margin-top: 8px;
  }
  .product-details summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--violet);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .product-details summary::-webkit-details-marker {
    display: none;
  }
  .product-details summary > span {
    font-size: 20px;
    font-weight: 400;
  }
  .product-details[open] summary > span {
    transform: rotate(45deg);
  }
  .product-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 4px 0 12px;
  }
  .product-details dt {
    font-size: 12px;
    color: #5e6a82;
  }
  .product-details dd {
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
  }
  .detail-wide {
    grid-column: 1 / -1;
  }
  .product-no-link {
    font-size: 12px;
    color: #5e6a82;
    padding: 10px 0 3px;
    border-top: 1px solid #e2e6f0;
  }
  .product-card > .button {
    margin-top: 8px;
  }
  .card-bottom {
    font-size: 11px;
    gap: 6px;
  }
  .is-compact .card-bottom > span:last-child {
    font-size: 11px;
  }
  .filter-bar {
    gap: 8px;
    margin-bottom: 12px;
  }
  input:not([type="checkbox"]),
  select,
  #perfume-search {
    font-size: 16px;
    min-height: 44px;
  }
  .filter-bar > label:nth-child(2) {
    min-width: 0;
    flex: 1;
  }
  .filter-bar select {
    font-size: 14px;
    min-width: 0;
  }
  .filter-count {
    font-size: 12px;
  }
  .dashboard-lower {
    gap: 12px;
  }
  .dashboard-lower .section-heading {
    margin-bottom: 6px;
  }
  .dashboard-lower .empty-state {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 10px;
    text-align: left;
    min-height: 0;
    padding: 12px 0;
  }
  .dashboard-lower .empty-icon {
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    margin: 0;
  }
  .dashboard-lower .empty-state h3 {
    max-width: none;
    margin: 0;
    font-size: 14px;
  }
  .dashboard-lower .empty-state p {
    max-width: none;
    font-size: 12px;
  }
  .dashboard-lower .card-bottom {
    margin-top: 8px;
  }
  .module-card .empty-state {
    min-height: 160px;
    padding-block: 20px;
  }
  .module-note {
    text-align: left;
  }
  .history-placeholder {
    margin-top: 14px;
  }
  .history-placeholder .section-heading > .badge {
    margin-left: 0;
  }
  .chart-placeholder {
    height: 110px;
    font-size: 12px;
  }
  .connection-list > div {
    font-size: 13px;
  }
  .connection-list dt,
  .connection-list dd {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .bottom-nav {
    padding-top: 4px;
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
  }
  .bottom-nav a,
  .bottom-nav button {
    font-size: 11px;
    gap: 3px;
  }
  .app-footer {
    font-size: 11px;
    padding-top: 14px;
  }
  .app-footer > span:last-child {
    display: none;
  }
  .access-story {
    padding: 20px 24px;
  }
  .access-form {
    padding: 28px 24px;
  }
  .login-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }
  .login-box .eyebrow {
    font-size: 11px;
  }
  .login-box h2 {
    font-size: 25px;
  }
  .login-box form:not(.logout-form) {
    margin-top: 22px;
  }
  .login-box .login-help {
    margin-top: 16px;
  }
  .access-note {
    margin-top: 24px;
    padding-top: 18px;
  }
}
@media (max-width: 350px) {
  .stat-icon {
    display: none;
  }
  .stat-card h2 {
    font-size: 12px;
  }
  .stat-card > div {
    width: 100%;
  }
  .stat-value {
    flex-wrap: nowrap;
  }
  .perfume-card .section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .perfume-card .section-heading > .section-icon {
    display: none;
  }
  .perfume-card .section-heading h2 {
    font-size: 14px;
  }
  .product-card {
    padding-inline: 10px;
  }
}

/* Compact summaries keep the same records while reducing repeated labels and blank height. */
.is-compact td {
  padding-block: 5px;
}
.is-compact .card-bottom {
  margin-top: 6px;
  padding-top: 8px;
}
.dashboard-lower .empty-state {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 10px;
  text-align: left;
  min-height: 0;
  padding: 12px 0;
}
.dashboard-lower .empty-icon {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  margin: 0;
}
.dashboard-lower .empty-state h3 {
  margin: 0;
}
.dashboard-lower .empty-state p {
  max-width: none;
}
@media (max-width: 700px) {
  .product-card-summary > div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 7px;
  }
  .product-card-summary {
    margin-top: 5px;
  }
  .is-compact .product-card {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 10px;
  }
  .is-compact .product-card-head,
  .is-compact .product-card-summary {
    display: contents;
  }
  .is-compact .product-card-head > .product-placeholder {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
  }
  .is-compact .product-card-head h3 {
    grid-column: 2 / 4;
  }
  .is-compact .product-card-summary > div {
    grid-column: 2;
    align-self: center;
    gap: 4px;
  }
  .is-compact .product-card-summary > .badge {
    grid-column: 3;
    max-width: none;
    font-size: 11px;
  }
  .is-compact .data-label {
    font-size: 11px;
  }
  .is-compact .product-card-summary .price {
    font-size: 14px;
  }
  .is-compact .product-card > .button {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1251px) {
  .view-inicio .app-footer {
    padding-top: 12px;
  }
}

/* All-shop details share desktop and mobile markup; native disclosure avoids extra requests. */
.perfume-sources{margin-top:10px;white-space:normal;min-width:0;font-size:12px;line-height:1.5}
.perfume-sources summary{cursor:pointer;color:var(--purple,#7654cc);font-weight:600;min-height:36px;padding:8px 0;white-space:normal}
.source-help,.source-quote p{margin:5px 0;color:#5e6475;overflow-wrap:anywhere}
.source-pending{padding:10px;background:#fff7e6;color:#76540c;border-radius:8px;white-space:normal}
.source-quote{border:1px solid #e5e3ed;border-radius:10px;padding:12px;margin:8px 0;background:#faf9fd;min-width:0;overflow-wrap:anywhere}
.source-warning{border-color:#e8c990;background:#fffcf4}
.source-status{display:block;color:#595273;font-weight:600}.source-error{color:#8b4e17!important}
.perfume-desktop .perfume-sources{min-width:220px;max-width:290px}
@media(max-width:600px){.source-quote{padding:10px}.perfume-sources summary{min-height:44px;font-size:13px}}

.perfume-desktop .perfume-sources{min-width:0;max-width:none;margin:0}
.perfume-desktop .source-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;align-items:start}
.perfume-table .source-details-row td{padding:0 12px 10px;vertical-align:top}
.source-details-row .perfume-sources summary{padding-left:0}
