/* Cascade continuation of landing-reference-transfer.css; exact values and order retained. */




.demo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.demo-panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-panel-title svg { width: 14px; height: 14px; color: var(--gold); }
.demo-panel-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; font-weight: 400; }
.demo-table-wrap { overflow: hidden; margin: 0 -20px; padding: 0 20px; }
.demo-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  min-width: 100%;
}
.demo-table thead th {
  padding: 8px 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
  background: var(--landing-reference-76);
  text-align: left;
  white-space: nowrap;
}
.demo-table thead th:last-child { text-align: right; }
.demo-table thead th:nth-child(4),
.demo-table thead th:nth-child(5) { text-align: right; }
.demo-table tbody td {
  padding: 11px 10px;
  border-bottom: var(--landing-reference-77);
  vertical-align: middle;
  overflow: hidden;
}
.demo-table tbody td:nth-child(4),
.demo-table tbody td:nth-child(5) { text-align: right; }
.demo-table tbody tr:last-child td { border-bottom: none; }
.demo-table th:nth-child(1) { width: 78px; }
.demo-table th:nth-child(2) { width: 74px; }
.demo-table th:nth-child(3) { width: auto; }
.demo-table th:nth-child(4) { width: 74px; }
.demo-table th:nth-child(5) { width: 132px; }
.demo-table tbody td:nth-child(5) { padding-left: 6px; padding-right: 8px; text-align: right; }
.demo-table tbody td:nth-child(5) .demo-pill { width: 100%; justify-content: center; }
.demo-order-id-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-bright);
  font-weight: 500;
}
.demo-order-product-cell {
  color: var(--text-2);
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-order-amount-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text);
  font-weight: 500;
}
.demo-platform {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--landing-reference-5);
  white-space: nowrap;
}
.demo-platform.yandex { background: var(--landing-reference-104); color: var(--landing-reference-105); border: var(--landing-reference-106); }
.demo-platform.ozon { background: var(--landing-reference-107); color: var(--landing-reference-108); border: var(--landing-reference-109); }
.demo-platform.wb { background: var(--landing-reference-110); color: var(--landing-reference-111); border: var(--landing-reference-112); }
.demo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px 8px;
  min-width: 0;
  border-radius: var(--landing-reference-33);
  font-size: 10px;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
  line-height: 1.2;
  transition: all 0.4s var(--ease);
}
.demo-pill::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.4s;
}
.demo-pill.created { background: var(--landing-reference-78); color: var(--text-2); border-color: var(--border); }
.demo-pill.created::before { background: var(--text-3); }
.demo-pill.processing { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-border); animation: glowAmber 2.5s ease-in-out infinite; }
.demo-pill.processing::before { background: var(--amber); animation: dotPulse 2s infinite; }
.demo-pill.awaiting { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-border); animation: glowBlue 2.5s ease-in-out infinite; }
.demo-pill.awaiting::before { background: var(--blue); animation: dotPulse 2s infinite; }
.demo-pill.issued { background: var(--green-bg); color: var(--green); border-color: var(--green-border); animation: glowGreen 2.5s ease-in-out infinite; }
.demo-pill.issued::before { background: var(--green); animation: dotPulse 2s infinite; }
.demo-pill.cancelled { background: var(--red-bg); color: var(--red); border-color: var(--red-border); animation: glowRed 2s ease-in-out infinite; }
.demo-pill.cancelled::before { background: var(--red); animation: dotPulse 1.5s infinite; }
.demo-pill.error { background: var(--red-bg); color: var(--red); border-color: var(--red-border); animation: glowRed 2s ease-in-out infinite; }
.demo-pill.error::before { background: var(--red); animation: dotPulse 1.5s infinite; }
.demo-pill.changing { animation: pillChange 0.5s ease-out; }
/* Скелетоны */
.demo-skeleton-row td {
  padding: 11px 10px;
  border-bottom: var(--landing-reference-77);
}
.sk {
  display: block;
  height: 10px;
  border-radius: var(--landing-reference-102);
  background: var(--landing-reference-113);
  background-size: 400px 100%;
  animation: shimmer 1.4s linear infinite;
}
.sk.w40 { width: 40%; }
.sk.w60 { width: 60%; }
.sk.w80 { width: 80%; }
.sk.w100 { width: 100%; }
.sk.pill { width: 78px; height: 18px; border-radius: var(--landing-reference-33); }
.demo-ledger-list { display: flex; flex-direction: column; gap: 0; }
.demo-ledger-row {
  display: grid;
  grid-template-columns: 76px 65px 1fr 75px;
  gap: 8px;
  padding: 10px 0;
  border-bottom: var(--landing-reference-114);
  align-items: center;
  font-size: 11.5px;
}
.demo-ledger-row:last-child { border-bottom: none; }
.demo-ledger-date { color: var(--text-3); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; }
.demo-ledger-type { color: var(--text-2); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; }
.demo-ledger-desc { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.demo-ledger-amount { font-family: 'JetBrains Mono', monospace; font-weight: 600; text-align: right; font-size: 11px; }
.demo-ledger-amount.plus { color: var(--green); }
.demo-ledger-amount.minus { color: var(--red); }
.demo-ledger-amount.zero { color: var(--text-3); }
.demo-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  min-height: 36px;
  border-radius: var(--landing-reference-94);
  font-size: 11px;
  font-weight: 550;
  border: 1px solid var(--border-strong);
  background: var(--landing-reference-115);
  color: var(--text);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.demo-btn-sm:hover { background: var(--landing-reference-116); border-color: var(--border-gold); }
/* Static reference style attributes externalized for CSP. */
[data-landing-inline="0"]{background:var(--gold-grad);color:var(--landing-reference-9);border:none;font-weight:600;}
[data-landing-inline="1"]{padding:6px 10px;font-size:10px;}
[data-landing-inline="2"]{padding:6px 10px;font-size:10px;}
/* Progressive enhancement: no-JavaScript content stays visible. */
[data-saas-public] .reveal { opacity:1; transform:none; }
.landing-motion-ready .reveal:not(.in) { opacity:0; transform:translateY(24px); }
[data-landing-demo] { margin-top:0; }
[data-landing-demo] .demo-frame { animation:float 8s ease-in-out infinite; transform:rotateX(4deg); }
[data-landing-demo] .demo-frame:hover { animation-play-state:paused; transform:rotateX(0deg); }
[data-landing-demo].demo-paused *,[data-landing-demo].demo-paused ::before { animation-play-state:paused; }
[data-landing-demo] .demo-example-note { max-width:calc(100% - 24px); overflow-wrap:anywhere; }
[data-landing-demo] .demo-side-logo .adk-brand-image { max-width:100%; object-fit:contain; }
[data-landing-demo] .demo-content,[data-landing-demo] .demo-panel,[data-landing-demo] .demo-kpi { min-width:0; }
[data-landing-demo] .demo-table-wrap { overflow-x:auto; }
[data-landing-demo] .demo-controls { padding:16px 0; }
[data-landing-demo] .demo-ledger-details .demo-ledger-desc { white-space:normal; overflow-wrap:anywhere; }
[data-landing-demo] .demo-row-enter { animation:rowIn .4s var(--ease-out),rowGlow 1.6s ease-out; }
[data-saas-palette][data-theme="light"] .demo-side { background:var(--surface); }
[data-saas-palette][data-theme="light"] .demo-panel { background:linear-gradient(var(--surface-2),var(--surface)); }
[data-saas-palette][data-theme="light"] .demo-topbar { background:var(--surface); }
[data-saas-palette][data-theme="light"] .demo-bar { background:var(--surface-3); }
@media(max-width:1024px) { .demo-kpis { grid-template-columns:repeat(2,1fr); } .demo-layout-2.two { grid-template-columns:1fr; } }
@media(max-width:900px) { .demo-body { grid-template-columns:1fr; min-height:auto; } .demo-side { display:none; } .demo-topbar { padding:0 16px; height:48px; } .demo-kpis { gap:10px; } .demo-kpi { padding:14px; } .demo-kpi-value { font-size:17px; } }
@media(max-width:768px) {
 [data-landing-demo] .demo-frame,[data-landing-demo] .demo-frame:hover { transform:none; animation:none; }
 [data-landing-demo] .demo-period-tab,[data-landing-demo] .demo-btn-sm { min-width:44px; min-height:44px; }
 [data-landing-demo] .demo-topbar { height:auto; min-height:56px; padding:12px 16px; flex-wrap:wrap; }
 [data-landing-demo] .demo-topbar-right { flex-wrap:wrap; gap:8px; }
 [data-landing-demo] .demo-period-tab { white-space:normal; }
 .demo-ledger-row { grid-template-columns:65px 1fr 70px; }
 .demo-ledger-row > :nth-child(2) { display:none; }
}
@media(max-width:480px) { .demo-kpis { grid-template-columns:1fr; } .demo-layout-2 { gap:12px; } .demo-kpi-value { font-size:17px; } }
@media(prefers-reduced-motion:reduce) {
 [data-landing-demo] .demo-frame,[data-landing-demo] .demo-frame:hover,[data-landing-demo] *,[data-landing-demo] ::before { animation:none; transition:none; transform:none; }
 .landing-motion-ready .reveal:not(.in),[data-saas-public] .reveal { opacity:1; transform:none; transition:none; }
}
/* Stable demo rows retain their current status while entering/leaving. */
@keyframes demoRowLeave { to { opacity:0; transform:translateY(6px); } }
@keyframes demoBadgeBump { 0%,100% { transform:scale(1); } 45% { transform:scale(1.2); } }
[data-landing-demo] .demo-row-leave { animation:demoRowLeave 350ms var(--ease-out) forwards; pointer-events:none; }
[data-landing-demo] .demo-badge-bump { animation:demoBadgeBump 500ms var(--ease-out); }
@media(prefers-reduced-motion:reduce) {
 [data-landing-demo] .demo-row-leave,[data-landing-demo] .demo-badge-bump { animation:none; }
}
