/* MYX Analyzer demo card: shared by index.html (#demo) and free-lease-abstraction-tool.html.
   Extracted verbatim from index.html on 2026-09-04; edit here, never inline. */
/* ---- Live demo section ---- */
.demo-live { background: var(--bg-alt); padding: 90px 24px; border-top: 1px solid var(--border); }
.demo-inner { max-width: 1080px; margin: 0 auto; }
.demo-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 34px; margin-top: 34px; }
.demo-drop { border: 2px dashed var(--primary-light); border-radius: var(--radius-lg); background: #f5f9ff; padding: 40px 24px; text-align: center; cursor: pointer; transition: all .2s; }
.demo-drop:hover, .demo-drop.dragover { background: var(--accent-blue); border-color: var(--primary); }
.demo-drop-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-top: 12px; }
.demo-drop-title span { color: var(--primary); }
.demo-drop-sub { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.demo-form { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.demo-form input[type=email] { flex: 1; min-width: 240px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; }
.demo-form input[type=email]:focus { outline: 2px solid var(--primary-light); border-color: var(--primary); }
.demo-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; color: var(--text-muted); line-height: 1.55; cursor: pointer; }
.demo-consent input { margin-top: 3px; }
.demo-error { margin-top: 14px; background: #fee2e2; color: #b91c1c; border-radius: var(--radius-sm); padding: 11px 16px; font-size: 14px; }
.demo-doc-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.demo-doc-name { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: 15px; }
.demo-progress { flex: 1; min-width: 160px; height: 6px; background: var(--border-light); border-radius: 99px; overflow: hidden; }
.demo-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 99px; transition: width .8s ease; }
.demo-doc-status { font-size: 13px; color: var(--text-muted); }
.demo-grid-wrap { overflow-x: auto; overflow-y: auto; max-height: 520px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.demo-grid { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 13.5px; }
.demo-grid thead th { position: sticky; top: 0; background: var(--bg-alt); z-index: 2; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); padding: 10px 14px; border-bottom: 1px solid var(--border); }
.demo-grid td { padding: 9px 14px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.demo-grid tr:hover td { background: #f8faff; }
.dg-field { width: 220px; font-weight: 600; color: var(--navy); }
.dg-conf { width: 110px; } .dg-src { width: 140px; }
.demo-grid td.dg-src { font-size: 12px; color: var(--text-light); white-space: nowrap; }
.dg-chip { display: inline-flex; font-size: 12px; font-weight: 600; border-radius: 99px; padding: 2px 10px; white-space: nowrap; }
.dg-chip.pick-blue { background: #dbeafe; color: #1d4ed8; } .dg-chip.pick-green { background: #d1fae5; color: #047857; }
.dg-chip.pick-amber { background: #fef3c7; color: #b45309; } .dg-chip.pick-purple { background: #ede9fe; color: #6d28d9; }
.dg-chip.pick-gray { background: var(--border-light); color: var(--text-muted); }
.dg-conf-chip { font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 7px; }
.dg-conf-chip.c-high { background: #d1fae5; color: #047857; } .dg-conf-chip.c-medium { background: #fef3c7; color: #b45309; }
.dg-conf-chip.c-low { background: var(--border-light); color: var(--text-muted); }
.dg-skel { display: inline-block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 50%, #eef2f7 75%); background-size: 200% 100%; animation: dg-shimmer 1.4s infinite; }
@keyframes dg-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.demo-done-bar { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.demo-done-bar[hidden] { display: none; }
#demo-run[disabled] { pointer-events: none; }
.demo-run-wrap { display: inline-flex; }
.demo-live input[type="email"] { font-size: 16px; }
.demo-consent input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--primary); }
.demo-drop:focus-visible, .demo-live .btn:focus-visible, .demo-consent input:focus-visible, .demo-live a:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.demo-hint { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
/* row 10: /#demo entry must clear the fixed nav (68px) */
#demo { scroll-margin-top: 84px; }
.demo-form .demo-hint { margin-top: 0; align-self: center; font-size: 13px; font-weight: 500; color: #b45309; }
.demo-form .demo-hint[hidden] { display: none; }
.demo-terms { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }
.demo-tips { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 12.5px; color: var(--text-muted); line-height: 1.55; cursor: pointer; }
.demo-tips input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--primary); }
.demo-progress-fill.is-running { width: 38%; animation: dg-indet 1.6s ease-in-out infinite; }
@keyframes dg-indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(280%); } }
.demo-noscript { margin-top: 14px; background: #fef3c7; color: #b45309; border-radius: var(--radius-sm); padding: 11px 16px; font-size: 14px; }
.demo-noscript a { color: inherit; text-decoration: underline; }
.demo-claim-note { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; }
.demo-plan-note { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; }
.demo-plan-note[hidden] { display: none; }
.demo-capped-inner { text-align: center; padding: 30px 10px; }
.demo-capped-inner h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.demo-capped-btns { display: flex; gap: 14px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.demo-fine { text-align: center; font-size: 12.5px; color: var(--text-light); margin-top: 16px; }
.demo-live .btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--border); }
