/* Shared D extensions: same facts, equal card height, independent interactions. */
.variant{letter-spacing:-.02em;line-height:1.55}.variant [hidden]{display:none!important}
.variant-review a[aria-current]{color:#fff;background:#ffffff18;border-radius:4px;padding:2px 8px}
.variant .first-title h1{font-size:40px}.variant .first-title{margin:4px 0 19px}
.variant .landing-header{padding:10px 0}.variant .first-reset-grid,.variant .history-grid{align-items:stretch}
.variant .first-reset{min-width:0}.variant .first-body{min-height:111px}
.variant .first-fact p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.variant .first-fact h3{font-size:22px}.variant .first-fact{min-width:0}
.interactive-heat button{appearance:none;border:0;min-width:0;min-height:0;width:100%;padding:0;border-radius:3px;aspect-ratio:1;background:rgba(132,221,192,calc(.25 + var(--intensity)*.75));transition:box-shadow .18s,filter .18s;cursor:pointer}
.claude .interactive-heat button{background:rgba(242,180,133,calc(.25 + var(--intensity)*.75))}
.interactive-heat button:hover,.interactive-heat button:focus-visible{box-shadow:0 0 14px #b5eedd99;filter:brightness(1.7);outline:1px solid #fff;outline-offset:2px}
.variant .heatmap i{aspect-ratio:1}.variant .heatmap{grid-template-rows:repeat(7,1fr)}
#day-dialog,#command-dialog{background:#101a23;color:#edf4f6;border:1px solid #7aa0ac55;border-radius:16px;width:min(620px,calc(100% - 32px));padding:25px;max-height:80dvh;box-shadow:0 30px 100px #0008}
#day-dialog::backdrop,#command-dialog::backdrop{background:#03080dc9;backdrop-filter:blur(6px)}
#day-dialog h2{font-size:23px;margin:16px 0 8px}.day-note{color:#a5b5be;font-size:12px}.day-record{display:flex;width:100%;text-align:left;flex-direction:column;gap:9px;border:1px solid #ffffff19;padding:18px;margin-top:15px;border-radius:9px;background:#ffffff04}.day-record:hover{background:#b5eedd10}.day-record span{font-size:10px;color:#a8c8c5;text-transform:uppercase}.day-record strong{font-size:17px}.day-record small{font-size:12px;color:#a7b5c1}.day-record b{font-size:11px;color:#b7e9d5;font-weight:500}
#close-day{font-size:20px;min-width:36px;min-height:36px}
/* D1: a spatial observatory. Focus changes emphasis without removing facts. */
.d1 .cosmic-field{background:radial-gradient(ellipse at 50% 25%,#20515055,transparent 60%),radial-gradient(ellipse at 90% 40%,#69472a2a,transparent 55%)}
.d1 .cosmic-horizon{display:none}.orbital-system{position:absolute;left:50%;top:200px;width:850px;height:510px;transform:translateX(-50%) perspective(900px) rotateY(var(--orbit-x,0deg)) rotateX(var(--orbit-y,0deg));transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.orbital-system i{position:absolute;inset:0;border:1px solid #a7e1d756;border-radius:50%;box-shadow:0 0 25px #72c1b314,inset 0 0 25px #72c1b314;transform:rotate(-24deg) scaleY(.6)}
.orbital-system i:nth-child(2){inset:-80px 50px;transform:rotate(44deg) scaleY(.67);border-style:dashed;border-color:#f6d6a62c}
.orbital-system i:nth-child(3){inset:-90px 110px;transform:rotate(88deg) scaleY(.66);border-color:#d2e8fe26}
.orbital-system b{position:absolute;inset:0;transform:rotate(-24deg) scaleY(.6);border-radius:50%;animation:orbit-revolve 35s linear infinite}.orbital-system b:before{content:'';position:absolute;left:50%;top:-3px;width:7px;height:7px;border-radius:50%;background:#d6f9ed;box-shadow:0 0 15px 5px #a0eacf55}
@keyframes orbit-revolve{to{transform:rotate(336deg) scaleY(.6)}}
.orbit-focus{display:flex;align-items:center;border:1px solid #acdaca33;border-radius:30px;padding:4px;gap:2px;background:#0c1a22b3;font-size:10px;white-space:nowrap}.orbit-focus>span{padding:0 10px;color:#88a7ad;font-size:8px;letter-spacing:.1em}.orbit-focus button{padding:8px 12px;border-radius:20px;min-height:32px;color:#a6b6bf}.orbit-focus button[aria-pressed=true]{background:#c3ead9;color:#102c29}
.d1 .first-reset{border-radius:20px;background:linear-gradient(130deg,#143b3bdd,#091923e8);box-shadow:0 20px 65px #0003,inset 0 0 45px #75b7a608}
.d1 .first-reset.first-claude{background:linear-gradient(130deg,#392d29df,#141921ed)}
.d1 .first-elapsed{position:relative;min-width:146px;text-align:center;padding:9px 0}.d1 .first-elapsed:before,.d1 .first-elapsed:after{content:'';pointer-events:none;position:absolute;width:120px;height:120px;border:1px solid rgba(var(--glow),.15);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.d1 .first-elapsed:after{width:134px;height:134px;border:1px dashed rgba(var(--glow),.2);animation:meter-orbit 50s linear infinite}.d1 .first-elapsed strong{position:relative;font-size:43px}.d1 .first-elapsed>span{position:relative;margin-right:auto;max-width:115px;font-size:8px}.d1 .first-body{padding:20px 0;min-height:137px}
@keyframes meter-orbit{to{transform:translate(-50%,-50%) rotate(360deg)}}
.d1[data-focus=codex] .first-codex,.d1[data-focus=claude] .first-claude{border-color:rgba(var(--glow),.85);box-shadow:0 0 50px rgba(var(--glow),.17),inset 0 0 30px rgba(var(--glow),.04)}
.d1[data-focus=codex] .first-claude,.d1[data-focus=claude] .first-codex{border-color:#ffffff18}
.d1 .history-panel{border-radius:16px}.d1 .first-reset:before{height:2px;left:18%;right:18%}
/* D2: timeline controls are the hero; motion describes the time axis. */
.d2{--ink:#e8f0f4;background:#080d16}.d2 #starfield{opacity:.38}.d2 .cosmic-field{background:radial-gradient(ellipse at 50% 20%,#244d7850,transparent 65%)}
.time-grid{position:absolute;inset:0;background-image:linear-gradient(#aad3ff08 1px,transparent 1px),linear-gradient(90deg,#aad3ff08 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(transparent,#000,transparent)}
.time-sweep{position:absolute;left:0;top:200px;width:100%;height:1px;background:linear-gradient(90deg,transparent,#9fd8ff66,transparent);box-shadow:0 0 25px #7fcbff33;animation:time-scan 12s ease-in-out infinite alternate}@keyframes time-scan{to{transform:translateY(650px);opacity:.25}}
.d2 .first-title h1 span{background-image:linear-gradient(100deg,#c0dfff,#f2e5cf)}.d2 .first-title{margin-bottom:13px}.time-console{border:1px solid #a7ccea32;border-radius:10px;background:#101e2dd9;margin-bottom:15px;padding:10px 17px 7px;box-shadow:inset 0 1px 0 #bce2ff12}
.time-console-top{display:flex;align-items:center;gap:18px;font-size:9px;color:#91afc5}.time-console-top i{display:inline-block;width:5px;height:5px;background:#bce6ff;border-radius:50%;box-shadow:0 0 10px #bce6ff;margin-right:4px}.time-console-top strong{font-size:8px;font-weight:500;letter-spacing:.08em}.time-console-top output{font-size:16px;color:#e9f5fe;font-variant-numeric:tabular-nums;font-weight:600}.time-console-top button{margin-left:auto;font-size:10px;min-height:25px;color:#b2d5f3}.time-console-track{display:flex;align-items:center;gap:12px}.time-console-track button{font-size:18px;width:26px;height:26px;flex:none;color:#b6d8ed}.time-console-track button:disabled{opacity:.25;cursor:default}.time-console-track input{appearance:none;width:100%;height:4px;padding:0;border:0;border-radius:10px;cursor:ew-resize;background:linear-gradient(90deg,#bad8f1 var(--progress,100%),#334355 var(--progress,100%));accent-color:#cfecff}.time-console-track input::-webkit-slider-thumb{appearance:none;width:13px;height:20px;background:#e3f3ff;border:3px solid #719bb4;border-radius:3px;box-shadow:0 0 20px #92cdff55}.time-scale{display:flex;justify-content:space-between;font-size:7px;letter-spacing:.03em;color:#8399af;padding:0 38px}.time-scale span:nth-child(2){color:#9aafbf}.d2 .first-reset,.d2 .first-reset.first-claude{border-radius:8px;background:linear-gradient(120deg,#192c3beb,#101922f2);border-color:#aacfe938;padding-top:15px}.d2 .first-mark{background:#9abed714;color:#d8eafa;border:1px solid #b5d7e622;border-radius:4px}.d2 .first-body{min-height:98px;padding:10px 0}.d2 .first-elapsed strong{font-size:44px;color:#d6edf9}.d2 .first-claude .first-elapsed strong{color:#f5ddba}.d2 .reset-dates{padding:10px 0}.d2 .first-reset:before{left:0;right:0;background:linear-gradient(90deg,#acdff0,transparent);height:2px}.d2 .first-claude:before{background:linear-gradient(90deg,#eac997,transparent)}
.time-console-track input{min-height:28px;height:28px;background:transparent}
.time-console-track button{min-height:28px}
.time-console-track input::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,#bad8f1 var(--progress,100%),#334355 var(--progress,100%))}
.time-console-track input::-webkit-slider-thumb{margin-top:-8px}
.time-console-track input::-moz-range-track{height:4px;background:#719bb4}
.d2.is-past .time-console{border-color:#dfba7466}.d2.is-past #time-mode{color:#f2d297}.d2 .after-cutoff{opacity:.25}.d2 .at-cutoff{outline:2px solid #eff9ff;outline-offset:2px;box-shadow:0 0 15px #fff8}.d2 .first-evidence button:disabled{opacity:.4;cursor:default}.d2 .first-fact h3{font-size:20px}
/* D3: a compact working desk, search and an evidence drawer. */
.d3{background:#0e1115}.d3 #starfield{opacity:.18}.d3 .cosmic-field{background:radial-gradient(ellipse at 80% 10%,#716a5530,transparent 55%)}.desk-grid{position:absolute;inset:100px 0 0;background-image:radial-gradient(#ccd3dd23 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(transparent,#000,transparent)}
.d3 .first-title h1{font-size:36px}.d3 .first-title h1 span{background-image:linear-gradient(100deg,#faf1db,#b7afa1)}.d3 .first-independent{font-size:10px}.desk-tools{display:flex;gap:18px;align-items:center;margin-bottom:16px}.desk-tools>#open-command{display:flex;align-items:center;gap:12px;text-align:left;width:min(430px,65%);border:1px solid #fff2;padding:8px 14px;border-radius:6px;background:#1b2027d9;color:#bbc5cf;font-size:11px;min-height:38px}.search-glyph{font-size:22px;line-height:1}kbd{font-family:inherit;letter-spacing:0;font-size:9px;color:#919fae;border:1px solid #ffffff1c;border-radius:4px;padding:2px 6px;margin-left:auto}.density-control{display:flex;align-items:center;gap:13px;margin-left:auto;font-size:9px;color:#929da6}.density-control button{font-size:10px;color:#d3dce5;border:1px solid #fff2;border-radius:5px;min-height:32px;padding:3px 12px}.density-control button[aria-pressed=true]{background:#e6d4ae;color:#1b2026}
.d3 .first-reset,.d3 .first-reset.first-claude{background:#181e25ee;border:1px solid #ffffff20;border-radius:7px;padding:18px 22px 0;box-shadow:0 10px 30px #0002}.d3 .first-reset:before{left:0;right:auto;width:3px;height:100%;background:#a2d3bf}.d3 .first-reset.first-claude:before{background:#ebbd89}.d3 .first-identity{gap:10px}.d3 .first-mark{border-radius:5px;width:34px;height:34px;font-size:22px}.d3 .first-identity h2{font-size:23px}.d3 .first-body{min-height:96px;padding:10px 0}.d3 .first-fact h3{font-size:21px}.d3 .first-elapsed strong{font-size:42px;text-shadow:none}.d3 .reset-dates{padding:12px 0;background:linear-gradient(90deg,#ffffff03,transparent)}.d3 .date-previous{border-left:1px dashed #ffffff22}.d3 .first-evidence button{background:#ffffff06;border-color:#ffffff20}.d3 .history-panel{background:#171c22e8;border-radius:7px}.d3 .landing-section-title{align-items:end}.chart-switch{display:inline-flex;gap:3px;margin-top:10px;padding:3px;border:1px solid #ffffff19;border-radius:5px}.chart-switch button{font-size:9px;padding:4px 10px;min-height:26px;border-radius:3px;color:#a2acb7}.chart-switch button[aria-pressed=true]{background:#e6d6b9;color:#161d23}
.weekly-chart{display:flex;align-items:stretch;gap:5px;height:105px;padding:17px 0 0}.weekly-chart>button{position:relative;flex:1;min-width:0;border:0;padding:0;height:100%;background:none;display:flex;align-items:end;cursor:pointer}.weekly-chart i{width:100%;height:var(--bar);background:linear-gradient(#b0d6c3,#4e796c);border-radius:3px 3px 0 0;transition:filter .2s;animation:bar-grow .5s ease both;transform-origin:bottom}.claude .weekly-chart i{background:linear-gradient(#e9c39a,#876a52)}.weekly-chart span{position:absolute;bottom:calc(var(--bar) + 2px);width:100%;font-size:8px;color:#b4c1ca}.weekly-chart button:disabled{cursor:default;opacity:.2}.weekly-chart button:hover i{filter:brightness(1.5)}@keyframes bar-grow{from{transform:scaleY(.1);opacity:.3}to{transform:scaleY(1);opacity:1}}
.d3 #evidence-dialog{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(540px,94vw);max-width:94vw;border-radius:0;border-left:1px solid #ffffff30;animation:drawer-in .25s ease-out;background:#171d25}.d3 #evidence-dialog::backdrop{background:#04080b80;backdrop-filter:blur(3px)}@keyframes drawer-in{from{transform:translateX(45px);opacity:.5}to{transform:translateX(0);opacity:1}}
#command-dialog{padding:0;overflow:hidden;width:min(700px,calc(100% - 28px));border-color:#e7d5b646}.command-heading{display:flex;align-items:center;padding:21px 22px 12px}.command-heading h2{font-size:21px}.command-heading button{margin-left:auto;border:1px solid #ffffff25;border-radius:5px;font-size:10px;padding:3px 8px;min-height:28px}#command-search{display:block;width:calc(100% - 44px);margin:0 22px;padding:13px 0;border:0;border-bottom:1px solid #ffffff30;border-radius:0;background:none;color:#e8eef4;font-size:18px;outline-offset:3px}.command-meta{display:flex;justify-content:space-between;padding:14px 22px 10px;font-size:9px;color:#9cabb8}#command-results{max-height:48dvh;overflow:auto;padding:0 10px 12px}.command-result{width:100%;display:flex;text-align:left;align-items:center;gap:13px;padding:12px;border:1px solid transparent;border-radius:6px}.command-result:hover,.command-result.selected{background:#f3d6a210;border-color:#ebd6b222}.result-provider{font-size:17px;background:#fff1;border-radius:5px;padding:5px 8px}.command-result strong{font-size:12px;font-weight:500;display:block}.command-result small{font-size:9px;color:#9dabba;display:block;margin-top:4px}.command-result b{margin-left:auto;color:#e7d3af}.command-empty{padding:20px;color:#9dabba;font-size:13px}
.d3.desk-compact .first-body{min-height:75px;padding:5px 0}.d3.desk-compact .first-reset{padding-top:12px}.d3.desk-compact .first-fact p{display:none}.d3.desk-compact .first-elapsed strong{font-size:35px}.d3.desk-compact .reset-dates{padding:8px 0}.d3.desk-compact .history-panel{padding-top:13px;padding-bottom:13px}.d3.desk-compact .stat-row{padding:8px 0;margin:8px 0}
.variant.motion-paused *,.variant.motion-paused *:before,.variant.motion-paused *:after{animation-play-state:paused!important}
.variant.motion-paused .weekly-chart i,.variant.motion-paused #evidence-dialog{animation:none!important}
@media(prefers-reduced-motion:reduce){.variant *,.variant *:before,.variant *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.orbital-system{transform:translateX(-50%)!important}}
@media(max-width:1100px){.variant .first-title h1{font-size:32px}.d1 .first-elapsed{min-width:124px}.d1 .first-elapsed strong{font-size:35px}.d1 .first-elapsed:before{width:102px;height:102px}.d1 .first-elapsed:after{width:115px;height:115px}.orbit-focus button{padding:6px 9px}.variant .first-fact h3{font-size:19px}.d2 .first-elapsed strong,.d3 .first-elapsed strong{font-size:37px}}
@media(max-width:700px){.variant .first-title h1{font-size:25px}.variant .first-title{margin:3px 0 12px}.variant .first-reset-grid{gap:10px}.variant .first-body{min-height:74px}.variant .first-fact h3{font-size:17px}.variant .first-fact p{font-size:9px}.variant .first-reset,.variant .first-reset.first-claude{padding:12px 15px 0}.variant-review{gap:10px}.variant-review>strong{display:none}.variant-review>span{font-size:8px}.d1 .first-title{flex-wrap:wrap;gap:10px}.orbit-focus{padding:2px;font-size:9px}.orbit-focus>span{font-size:7px}.orbit-focus button{min-height:26px;padding:3px 10px}.d1 .first-body{padding:13px 0;min-height:95px}.d1 .first-elapsed{min-width:115px;padding:5px 0}.d1 .first-elapsed strong{font-size:32px}.d1 .first-elapsed:before{width:86px;height:86px}.d1 .first-elapsed:after{width:98px;height:98px}.d1 .first-elapsed>span{font-size:6px;max-width:85px}.orbital-system{width:550px;top:290px}.d2 .time-console{padding:8px 9px 5px;margin-bottom:11px}.time-console-top{gap:7px}.time-console-top strong{font-size:6px}.time-console-top output{font-size:12px}.time-console-top button{font-size:8px}.time-scale{font-size:6px;padding:0 31px}.time-scale span:nth-child(2){display:none}.d2 .first-body{padding:8px 0;min-height:73px}.d2 .first-elapsed strong,.d3 .first-elapsed strong{font-size:32px}.d2 .first-elapsed>span{max-width:90px}.d2 .first-fact h3{font-size:16px}.d2 .reset-dates{padding:8px 0}.d3 .first-identity h2{font-size:21px}.d3 .first-body{min-height:73px;padding:8px 0}.desk-tools{gap:8px;margin-bottom:12px}.desk-tools>#open-command{font-size:9px;width:auto;flex:1;min-width:0;gap:7px;padding:7px 10px}.desk-tools kbd{display:none}.density-control{gap:0}.density-control>span{display:none}.density-control button{padding:4px 8px;font-size:9px}.d3 .reset-dates{padding:8px 0}.d3 .first-title h1{font-size:24px}.chart-switch{margin-top:6px}.chart-switch button{font-size:8px}.weekly-chart{gap:4px}.command-meta span:last-child{display:none}.command-result strong{font-size:11px}#day-dialog h2{font-size:18px}.day-record{padding:13px}.day-record strong{font-size:14px}}
@media(max-width:700px){.variant .landing-header{padding:6px 0;gap:5px}.variant .landing-header nav{padding-top:2px}.variant .landing-header nav a{min-height:28px}.variant .first-title h1{font-size:22px}.d2 .time-console-top button{padding:0;min-height:25px}.d2 .time-console-track button{min-height:28px;height:28px;padding:0}.d2 .time-console-track input{min-height:28px}.d2 .time-console{padding-top:6px;padding-bottom:5px}.d1 .first-body{min-height:88px;padding:10px 0}}
@media(max-width:360px){.variant .first-title h1{font-size:21px}.variant .first-reset,.variant .first-reset.first-claude{padding-left:12px;padding-right:12px}.variant .first-fact h3{font-size:15px}.d1 .first-elapsed{min-width:95px}.d1 .first-elapsed strong{font-size:28px}.d1 .first-elapsed:after{width:90px;height:90px}.d1 .first-elapsed:before{width:80px;height:80px}.d2 .first-elapsed strong,.d3 .first-elapsed strong{font-size:28px}}
/* Korean comparison gallery, generated with the same renderer. */
.expansion-gallery{margin:45px 0 35px;padding:32px;background:#101820;color:#edf1f4;border-radius:16px;letter-spacing:-.02em;line-height:1.55}.expansion-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:24px}.expansion-heading>div>span{font-size:10px;color:#b6d3c7;letter-spacing:.1em}.expansion-heading h2{font-size:32px;line-height:1.2;margin-top:10px}.expansion-heading p{font-size:12px;color:#a7b7c2;line-height:1.8}.expansion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.expansion-grid article{min-width:0;border:1px solid #ffffff1e;background:#18232d;border-radius:10px;overflow:hidden}.expansion-art{position:relative;height:200px;overflow:hidden;display:flex;align-items:end;padding:22px;background:radial-gradient(ellipse at 50% 50%,#31514a,#0a141e 70%);color:#e5f4ed}.art-label{position:absolute;left:20px;top:18px;font-size:8px;letter-spacing:.1em;color:#a5b8bf}.expansion-art>strong{position:relative;font-size:27px;font-weight:500;z-index:1}.art-num{position:absolute;bottom:24px;right:20px;font-size:11px;color:#a2b2bc}.art-shape{position:absolute;inset:0;pointer-events:none}.art-orbit .art-shape i{position:absolute;width:180px;height:95px;border:1px solid #b5efce65;border-radius:50%;left:calc(50% - 90px);top:36px;transform:rotate(-27deg)}.art-orbit .art-shape i:nth-child(2){transform:rotate(32deg)}.art-orbit .art-shape i:nth-child(3){transform:rotate(90deg)}.art-time{background:linear-gradient(130deg,#1c3449,#0f1722)}.art-time .art-shape{background:repeating-linear-gradient(90deg,transparent 0 29px,#d7e8fc15 30px 31px);inset:45px 20px 80px}.art-time .art-shape:before{content:'MAR ————————— SEP';position:absolute;top:0;left:0;right:0;color:#7fa3bb;font-size:9px}.art-time .art-shape:after{content:'';position:absolute;left:65%;width:4px;height:58px;background:#bad7ef;box-shadow:0 0 30px #77b3e077;top:13px}.art-desk{background:#181b21}.art-desk .art-shape{inset:45px 22px 70px;border:1px solid #b9b9ad44;border-radius:5px;background:#ffffff05}.art-desk .art-shape:before{content:'⌕  Find the evidence';position:absolute;left:13px;top:9px;color:#b7b6ae;font-size:12px}.art-desk .art-shape:after{content:'CODEX    ↗        CLAUDE    ↗';position:absolute;left:13px;bottom:10px;color:#89959d;font-size:9px}.expansion-info{padding:20px}.expansion-info>span{font-size:9px;color:#cbd7b3}.expansion-info h3{font-size:21px;margin:5px 0 10px}.expansion-info p{font-size:11px;color:#c6d0d8;min-height:36px}.expansion-info small{display:block;font-size:10px;color:#92a6b4;min-height:42px;line-height:1.7}.expansion-info>a{display:flex;justify-content:space-between;font-size:12px;border-top:1px solid #ffffff20;margin-top:15px;padding-top:14px;color:#d9efe4}.expansion-original{display:inline-block;margin-top:22px;font-size:12px;color:#b9c5cf}.expansion-art:hover .art-shape{filter:brightness(1.3)}
@media(max-width:800px){.expansion-grid{grid-template-columns:1fr}.expansion-heading{display:block}.expansion-heading p{margin-top:16px}.expansion-gallery{padding:22px}.expansion-art{height:190px}.expansion-info p,.expansion-info small{min-height:0}.expansion-info small{margin-top:12px}}
