/* A selected traveler has one primary action; rehearsal controls stay folded. */
.ilju-demo{--demo-paper:#fbf8f0;--demo-ink:#344338;--demo-green:#42634d;box-sizing:border-box;width:min(500px,calc(100% - 32px));max-height:calc(100dvh - 44px);padding:0;border:1px solid #d9ddce;border-radius:15px;background:var(--demo-paper);color:var(--demo-ink);font-family:var(--sans,system-ui,sans-serif);box-shadow:0 24px 100px #151c1c55;overflow:hidden}
.ilju-demo[data-phase=approved]{width:min(720px,calc(100% - 32px))}
.ilju-demo::backdrop{background:#15201fcc;backdrop-filter:blur(5px)}
.ilju-demo *{box-sizing:border-box}
.ilju-demo button{font:inherit;min-height:44px;cursor:pointer;touch-action:manipulation}
.ilju-demo button:focus-visible,.ilju-demo summary:focus-visible{outline:2px solid #50764d;outline-offset:3px}
.ilju-demo button:disabled{cursor:wait;opacity:.6}
.ilju-demo p{word-break:keep-all;overflow-wrap:anywhere}
.ilju-demo[open]{display:flex;flex-direction:column}
.demo-header{display:flex;flex:none;align-items:center;gap:13px;padding:22px 25px 20px;border-bottom:1px solid #e1e3d7;background:var(--demo-paper)}
.demo-person-heading{flex:1;min-width:0}
.demo-person-heading p{margin:0 0 4px;font-size:12px;line-height:1.6;color:#68775d}
.demo-person-heading h2{font-family:var(--serif,serif);font-size:25px;font-weight:500;letter-spacing:-.045em;line-height:1.5;margin:0;overflow-wrap:anywhere}
.demo-portrait{display:grid;place-items:center;height:46px;width:46px;flex:none;border-radius:50%;color:#fff9eb;font-family:var(--serif,serif);font-size:24px;font-weight:400}
.demo-outfit-moon{background:#797c9a}.demo-outfit-plum{background:#a27a8e}.demo-outfit-dawn{background:#ad9263}
.demo-close{padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#67755f;font-size:13px!important;flex:none}
.demo-close:hover{background:#ebeee2}
.demo-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 25px 18px;scrollbar-width:thin;scrollbar-color:#c8cebd transparent}
.demo-request h3{font-family:var(--serif,serif);font-weight:500;font-size:22px;letter-spacing:-.045em;line-height:1.6;margin:0 0 10px}
.demo-request>p:not(.demo-eyebrow){font-size:14px;line-height:1.85;color:#64745b;margin:0 0 20px}
.demo-eyebrow{font-size:11px;line-height:1.7;color:#68775d;margin:0 0 7px}
.demo-request>p.demo-walking-note{margin:-5px 0 12px;padding-left:12px;border-left:2px solid #b9c9a9;color:#587049;font-size:12px;line-height:1.9}
.demo-actions{display:flex;gap:8px;flex-wrap:wrap}
.demo-actions>button{flex:1}
.demo-actions button,.demo-tools button:not(.demo-text-button),.demo-engine-error button,.demo-approved>button,.demo-revoke button{border:1px solid #cbd5bf;border-radius:6px;background:transparent;color:#526d47;padding:11px 16px;font-size:14px}
.ilju-demo .demo-primary{background:var(--demo-green);border-color:var(--demo-green);color:#fffaf0}
.ilju-demo .demo-primary:hover{background:#34543e;border-color:#34543e}
.demo-text-button{padding:8px 0;border:0;background:transparent;color:#65765b;font-size:12px!important;text-decoration:underline;text-underline-offset:4px}
.demo-text-button:hover{color:#415b38}
.demo-secondary-actions{display:flex;justify-content:center;margin-top:7px}
.demo-approach{padding:8px 13px;border:0;border-radius:6px;background:transparent;color:#637657;font-size:12px!important}
.demo-approach:hover{background:#edf0e5}
.demo-disclaimer{margin:18px 0 0;padding:13px 15px;border-radius:7px;background:#eeefe4;color:#68775d;font-size:12px;line-height:1.85}
.demo-tools{margin-top:13px;border-top:1px solid #e1e5d7;color:#64745b}
.demo-tools summary{min-height:44px;padding:13px 2px;font-size:12px;line-height:1.7;cursor:pointer}
.demo-tools>div{padding:0 2px 5px}
.demo-tools p{font-size:12px;line-height:1.85;margin:0 0 12px}
.demo-tools button{font-size:12px!important}
.demo-tools .demo-text-button{display:block;margin-top:5px}
.demo-response-actions{display:flex;flex-wrap:wrap;gap:7px}
.demo-state-note{padding:13px 16px;background:#e8eddf;border:1px solid #d9e2cc;border-radius:7px;color:#516b46!important}
.demo-consent-status{display:flex;align-items:center;gap:9px;color:#57764d;font-size:12px;line-height:1.8;margin:0 0 18px}
.demo-consent-status>span{display:grid;place-items:center;height:19px;width:19px;flex:none;border-radius:50%;background:#dce8d4;color:#4c7240;font-size:12px}
.demo-engine-wait{display:flex;align-items:center;gap:12px;min-height:120px;padding:22px 16px;background:#efeee4;border-radius:9px}
.demo-engine-wait>span{display:block;width:17px;height:17px;border:2px solid #c8d4bb;border-top-color:#6c8b5d;border-radius:50%;animation:demo-engine-turn .9s linear infinite;flex:none}
.demo-engine-wait p{font-size:13px;line-height:1.9;color:#64745b;margin:0}
.demo-engine-error{padding:18px;border:1px solid #e3d6bc;background:#f7f1e6;border-radius:8px}
.demo-engine-error p{font-size:13px;line-height:1.9;color:#806a49;margin:0 0 14px}
.demo-reading{padding:22px 23px 18px;background:#f3f1e7;border:1px solid #dbe0d0;border-radius:9px}.demo-reading-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.demo-reading-heading h3{margin:0 0 5px;font-size:19px;font-weight:500;line-height:1.8;letter-spacing:-.04em}.demo-reading-heading h3 span{margin:0 6px;color:#9ba48e;font-size:16px}.demo-reading-heading p{margin:0;color:#8c9681;font-size:11px;line-height:1.8}.demo-score{display:flex;align-items:baseline;gap:3px;flex:none;color:#527247}.demo-score strong{font-family:var(--serif,serif);font-size:42px;font-weight:500;line-height:1.3}.demo-score span{font-size:11px;color:#80916e}.demo-verdict{margin:18px 0!important;line-height:1.9;font-size:15px;color:#4d6545}.demo-scores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:26px}.demo-scores>div{padding:11px 4px 9px;text-align:center;background:#e8ecdf;border-radius:5px;display:flex;flex-direction:column;gap:5px}.demo-scores span{font-size:10px;color:#859278;line-height:1.6}.demo-scores strong{font-size:17px;color:#58734a;font-weight:500}.demo-reading-section{margin:23px 0 0}.demo-reading-section h4{margin:0 0 11px;padding-bottom:9px;border-bottom:1px solid #d6ddc9;font-size:12px;font-weight:600;color:#7e906e}.demo-reading-section article+article{margin-top:17px}.demo-reading-section h5{margin:0 0 6px;font-size:14px;line-height:1.8;font-weight:600;color:#52684a}.demo-reading-section p{margin:0;font-size:13px;line-height:2;color:#6d7d60}.demo-reading-section p+p{margin-top:9px}.demo-reading-more{margin-top:25px;border-top:1px solid #d6ddc9}.demo-reading-more summary{min-height:47px;line-height:1.8;padding-top:14px;cursor:pointer;font-size:12px;color:#5a744c}.demo-reading-more>.demo-reading-section{margin-top:12px}.demo-result-note{margin:23px 0 0;font-size:11px;color:#8b967d;line-height:1.9}.demo-revoke{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px}.demo-revoke p{margin:0;font-size:11px;line-height:1.8;color:#88937e}.demo-revoke button{font-size:12px;white-space:nowrap;padding:9px 12px;flex:none}
.demo-reading-heading p,.demo-scores span,.demo-result-note,.demo-revoke p{color:#68775d}
.demo-reading-section h4{color:#627b51}.demo-reading-section p{color:#5c7050}
.demo-actions button:not(.demo-primary):hover,.demo-revoke button:hover,.demo-tools button:not(.demo-text-button):hover{border-color:#92aa7c;background:#e9efdf}
@keyframes demo-engine-turn{to{transform:rotate(360deg)}}
@media(max-width:600px){
  .ilju-demo,.ilju-demo[data-phase=approved]{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:12px}
  .demo-header{padding:18px 17px 16px;gap:11px}
  .demo-person-heading h2{font-size:23px}.demo-person-heading p{font-size:11px}
  .demo-portrait{width:42px;height:42px;font-size:22px}.demo-close{padding:8px 6px;font-size:12px!important}
  .demo-body{padding:22px 17px 16px}.demo-request h3{font-size:20px}
  .demo-request>p:not(.demo-eyebrow){font-size:14px}.demo-disclaimer{font-size:12px}
  .demo-reading{padding:18px 15px 16px}.demo-reading-heading h3{font-size:16px}
  .demo-reading-heading h3 span{margin:0 2px}.demo-reading-heading p{font-size:11px}
  .demo-score strong{font-size:36px}.demo-verdict{font-size:14px;line-height:1.95}
  .demo-reading-section h5{font-size:13px}.demo-reading-section p{font-size:13px;line-height:2.05}
  .demo-revoke{gap:10px;align-items:flex-start}.demo-revoke p{font-size:11px;padding-top:7px}
  .demo-revoke button{font-size:12px;padding:9px 10px}.demo-result-note{font-size:11px}
  .demo-scores{gap:5px}.demo-scores span{font-size:11px}
}
@media(max-width:360px){
  .demo-header{gap:8px}.demo-person-heading h2{font-size:21px}
  .demo-reading-heading{gap:8px}.demo-reading-heading h3{font-size:14px}
  .demo-score strong{font-size:32px}.demo-response-actions>button{flex:1;padding:10px 8px}
}
@media(prefers-reduced-motion:reduce){.demo-engine-wait>span{animation:none}}

/* A full reading opens only after the fictional counterpart has approved. */
.ilju-demo[data-phase=approved]{width:min(960px,calc(100% - 32px))}
.demo-approved{max-width:840px;margin:0 auto}.demo-reading{padding:0;border:0;background:transparent}
.demo-reading>.demo-eyebrow{color:#8a674b;letter-spacing:.06em;font-size:11px;margin-bottom:15px}
.demo-reading-heading{padding:22px 24px;border:1px solid #e3d6c4;border-radius:12px;background:linear-gradient(115deg,#f4ecdc,#faf7ef 70%);gap:24px}
.demo-reading-heading h3{font-family:var(--serif,serif);font-size:26px;line-height:1.6;color:#453542}
.demo-reading-heading p{font-size:12px;color:#74664f}
.demo-score{position:relative;display:grid;place-content:center;text-align:center;flex:none;width:120px;height:120px;border-radius:50%;padding:12px;background:conic-gradient(from -90deg,#b87d8b calc(var(--score)*1%),#e8dfd4 0);box-shadow:0 0 0 1px #dfd2be;color:#714654}
.demo-score:before{content:'';position:absolute;inset:8px;border-radius:50%;background:#faf7ee;box-shadow:inset 0 0 0 1px #e8e0d1}
.demo-score strong,.demo-score span{position:relative;z-index:1;display:block;color:inherit}.demo-score strong{font-family:var(--sans,system-ui,sans-serif);font-size:39px;line-height:1.15;font-weight:600;font-variant-numeric:tabular-nums}.demo-score span{font-size:12px;line-height:1.6;color:#806e68}
.demo-verdict{font-family:var(--serif,serif);font-size:20px;line-height:1.8;color:#4f3c4a;margin:22px 0!important}
.demo-result-visuals{margin:26px 0 34px;min-width:0}.demo-reading-section{margin-top:32px}
.demo-reading-section h4{font-size:17px;color:#463a46;border-color:#dfd6c8;padding-bottom:12px}
.demo-reading-section h5{font-size:15px;color:#463a46}.demo-reading-section p{font-size:14px;line-height:1.95;color:#635e55}
.demo-result-note,.demo-revoke p{font-size:12px;color:#716757}.demo-reading-more summary{font-size:14px;color:#5c4c53}
@media(max-width:600px){.ilju-demo[data-phase=approved]{width:calc(100% - 16px);max-height:calc(100dvh - 20px)}.ilju-demo[data-phase=approved] .demo-body{padding:22px 14px 16px}.demo-reading-heading{padding:17px 14px;gap:12px}.demo-reading-heading h3{font-size:20px}.demo-reading-heading p{font-size:11px}.demo-score{width:92px;height:92px}.demo-score strong{font-size:31px}.demo-score span{font-size:11px}.demo-score:before{inset:6px}.demo-verdict{font-size:18px;line-height:1.85}.demo-reading-section h4{font-size:16px}.demo-reading-section h5{font-size:14px}.demo-reading-section p{font-size:13px;line-height:2}.demo-result-note{font-size:12px}.demo-result-visuals{margin:22px 0 28px}}
@media(max-width:360px){.demo-reading-heading{gap:8px;padding:15px 11px}.demo-reading-heading h3{font-size:18px}.demo-score{width:80px;height:80px}.demo-score strong{font-size:27px}}
