.art-frame{--art-accent:#2856e8;--art-tint:#e9eeff;--art-ink:#142441;position:relative;isolation:isolate;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:var(--art-tint);color:var(--art-ink);font-family:inherit;line-height:1.35}
.art-frame,.art-frame *{box-sizing:border-box}
.art-repo{--art-accent:#137656;--art-tint:#e4f1e9;--art-ink:#10372d}
.art-invest{--art-accent:#7550a6;--art-tint:#f3edf8;--art-ink:#3c2e4a}
.art-frame:before{position:absolute;inset:0;z-index:-1;content:"";background-image:radial-gradient(currentColor .7px,transparent .7px);background-size:15px 15px;opacity:.075}
.art-scene{position:absolute;inset:0;min-width:0;max-width:480px;margin:auto}
.art-caption{position:absolute;left:7%;right:7%;top:7%;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;font-weight:700;letter-spacing:.13em;color:var(--art-accent)}
.art-caption .art-icon{width:23px;height:23px;opacity:.8}
.art-icon{display:block;flex:0 0 auto;width:20px;height:20px}
.art-background-glyph{position:absolute;bottom:6%;right:2%;font-size:240px;line-height:.9;font-family:ui-monospace,monospace;font-weight:400;opacity:.07;color:var(--art-accent);user-select:none}
.art-stack-paper,.art-repo-sheet,.art-invest-sheet{position:absolute;left:17%;top:23%;width:69%;height:62%;border:1px solid color-mix(in srgb,var(--art-accent) 24%,transparent);border-radius:9px;background:color-mix(in srgb,var(--art-tint) 80%,white);transform:rotate(7deg)}
.art-stack-paper-back{left:14%;top:21%;transform:rotate(-5deg);background:transparent}
.art-flow-window,.art-repo-window,.art-invest-window{position:absolute;left:8%;right:8%;top:24%;border:1px solid #28354b;border-radius:8px;background:#172235;box-shadow:0 18px 35px -18px #101a3059;overflow:hidden;color:#edf2fb}
.art-windowbar{height:34px;padding:0 12px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff13;color:#aab6c9;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;letter-spacing:.01em}
.art-windowdots{display:flex;gap:4px;flex:0 0 auto}
.art-windowdots i{height:4px;width:4px;border-radius:50%;background:#64728a}
.art-windowmark{margin-left:auto;color:#8190a8;font-size:13px}
.art-flow-content{padding:15px 17px 18px}
.art-flow-step{display:flex;align-items:center;gap:10px;min-height:38px;border:1px solid #ffffff13;border-radius:4px;padding:7px 10px;font-size:12px;font-weight:600}
.art-step-icon{display:grid;place-items:center;width:23px;height:23px;color:#b8c3d6}
.art-step-icon .art-icon{width:19px;height:19px}
.art-flow-step em{margin-left:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;letter-spacing:.06em;font-style:normal;color:#8494b0}
.art-flow-active{background:#2c57dc;border-color:#4975ff;color:#fff;box-shadow:0 3px 10px #0b153e30}
.art-flow-active .art-step-icon,.art-flow-active em{color:#dbe5ff}
.art-flow-connector{height:10px;width:1px;margin-left:21px;background:#70829b6b}
.art-stamp{position:absolute;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:5px;background:#fff;color:var(--art-ink);box-shadow:0 5px 18px #1c354b12;font-size:11px;font-weight:600;border:1px solid color-mix(in srgb,var(--art-accent) 14%,white)}
.art-stack-stamp{right:6%;bottom:8%;transform:rotate(-3deg)}
.art-stack-stamp>.art-icon{width:16px;height:16px;color:var(--art-accent)}
.art-repo-glyph{font-size:175px;right:3%;bottom:14%;letter-spacing:-.13em}
.art-repo-sheet{top:27%;left:13%;height:58%;transform:rotate(-6deg)}
.art-repo-window{top:25%;left:6%;right:6%;background:#122d27;border-color:#244238}
.art-repo .art-windowbar{color:#a8c2b8}
.art-repo .art-windowdots i{background:#56796b}
.art-repo-editor{display:grid;grid-template-columns:35% 1fr;min-height:166px}
.art-repo-tree{padding:13px 9px;border-right:1px solid #ffffff0e;display:flex;flex-direction:column;gap:9px;font-size:10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#b4cdc3}
.art-repo-tree>span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.art-repo-tree .art-icon{width:12px;height:12px}
.art-tree-heading{font-size:7px;letter-spacing:.12em;color:#71988a;margin-bottom:2px}
.art-tree-child{padding-left:19px;color:#75998c}
.art-tree-selected{color:#e6faf2;background:#3e7a5b38;margin:-4px -5px;padding:4px 5px;border-radius:3px}
.art-code-body{min-width:0;padding:14px 12px;display:flex;flex-direction:column;gap:7px}
.art-code-heading{font-size:9px;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#95d7b5}
.art-code-rule{height:1px;width:100%;background:#ffffff14;margin:2px 0 4px}
.art-code-line{height:3px;border-radius:3px;background:#5b80736b;max-width:100%}
.art-code-line-long{width:96%}
.art-code-line-medium{width:78%}
.art-code-line-short{width:60%}
.art-code-space{height:5px}
.art-code-subheading{color:#d3e8de}
.art-code-snippet{display:flex;flex-direction:column;gap:6px;font-size:8px;background:#ffffff06;border:1px solid #ffffff0c;padding:9px 7px;margin-bottom:3px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;color:#abc2b7}
.art-code-snippet b{font-weight:400;color:#6bad8c;margin-right:5px}
.art-repo-stamp{right:4%;bottom:7%;padding:11px 13px;transform:rotate(3deg)}
.art-stamp-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e6f4ec;color:#16734d}
.art-stamp-icon .art-icon{width:16px;height:16px}
.art-stamp b{font-weight:650;display:block}
.art-stamp small{display:block;font-size:9px;margin-top:3px;color:#769084;font-weight:400}
.art-invest-glyph{font-size:220px;right:0;bottom:10%;font-weight:300}
.art-invest-sheet{top:23%;left:15%;height:60%;transform:rotate(6deg)}
.art-invest-window{top:22%;left:7%;right:7%;background:#2c2437;border-color:#47394f}
.art-invest .art-windowbar{color:#c4b7d3;border-color:#ffffff12}
.art-invest .art-windowdots i{background:#84718f}
.art-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px 0;font-size:12px;font-weight:600}
.art-chart-heading em{font-size:8px;letter-spacing:.02em;font-weight:400;font-style:normal;color:#c3afd7;border:1px solid #ffffff20;padding:3px 5px;border-radius:3px}
.art-price-chart{display:block;width:calc(100% - 30px);height:132px;margin:4px auto 0}
.art-chart-grid{stroke:#ffffff0a;stroke-width:1}
.art-chart-reference{stroke:#bba4d0;stroke-width:.8;stroke-dasharray:3 5;opacity:.2}
.art-candle{stroke:#c5a4e5;fill:#c5a4e5;stroke-width:1.2}
.art-candle-down{stroke:#85728e;fill:#85728e}
.art-chart-legend{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 15px 13px;font-size:8px;color:#a99ab5}
.art-chart-legend>span{display:flex;gap:5px;align-items:center}
.art-chart-legend i{display:inline-block;width:6px;height:6px;border-radius:1px;background:#c5a4e5}
.art-assumption-strip{position:absolute;left:10%;right:4%;bottom:9%;display:flex;align-items:center;gap:7px;min-height:37px;padding:7px 11px;box-shadow:0 5px 18px #33203f12;background:#fbf7ff;border:1px solid #d9c8e8;border-radius:5px;transform:rotate(-3deg);font-size:9px;color:#715584}
.art-assumption-strip>span:first-child{margin-right:auto;display:flex;align-items:center;gap:5px;font-weight:600;font-size:10px;color:#624674}
.art-assumption-strip .art-icon{width:16px;height:16px}
.art-assumption-strip>span:not(:first-child){background:#e9dfee;padding:4px 5px;border-radius:3px;white-space:nowrap}
.art-compact{min-height:190px}
.art-compact .art-caption{top:8%;left:7%;right:7%;font-size:9px}
.art-compact .art-caption .art-icon{width:19px;height:19px}
.art-compact .art-background-glyph{font-size:190px;bottom:1%}
.art-compact .art-flow-window{top:27%;left:15%;right:15%}
.art-compact .art-windowbar{height:25px;padding:0 10px;font-size:8px}
.art-compact .art-windowmark{font-size:11px}
.art-compact .art-flow-content{padding:9px 11px 12px}
.art-compact .art-flow-step{min-height:26px;padding:3px 7px;font-size:10px;gap:6px}
.art-compact .art-step-icon{width:17px;height:17px}
.art-compact .art-step-icon .art-icon{width:15px;height:15px}
.art-compact .art-flow-step em{font-size:7px}
.art-compact .art-flow-connector{height:5px;margin-left:15px}
.art-compact .art-stack-paper{left:23%;width:60%;top:24%;height:66%}
.art-compact .art-stack-paper-back{left:18%;top:22%}
.art-compact .art-stack-stamp{display:none}
.art-compact .art-repo-window{top:25%;left:12%;right:12%}
.art-compact .art-repo-editor{min-height:120px}
.art-compact .art-repo-tree{padding:8px 8px;font-size:8px;gap:6px}
.art-compact .art-repo-tree .art-icon{width:10px;height:10px}
.art-compact .art-tree-heading{font-size:6px;letter-spacing:.07em}
.art-compact .art-tree-child{padding-left:16px}
.art-compact .art-code-body{padding:9px 9px;gap:5px}
.art-compact .art-code-heading{font-size:7px}
.art-compact .art-code-snippet{font-size:6px;padding:6px;gap:4px}
.art-compact .art-code-space{height:2px}
.art-compact .art-repo-stamp{display:none}
.art-compact .art-stamp small{font-size:8px;margin-top:2px}
.art-compact .art-stamp-icon{width:23px;height:23px}
.art-compact .art-invest-window{top:23%;left:13%;right:13%}
.art-compact .art-chart-heading{padding:8px 12px 0;font-size:10px}
.art-compact .art-chart-heading em{font-size:7px}
.art-compact .art-price-chart{height:74px;margin-top:0}
.art-compact .art-chart-legend{font-size:6px;padding:0 12px 8px}
.art-compact .art-assumption-strip{display:none}
.art-compact .art-assumption-strip>span:first-child{font-size:8px}
.art-compact .art-assumption-strip .art-icon{width:13px;height:13px}
.art-compact .art-assumption-strip>span:not(:first-child){padding:3px 4px}
/* The page owns illustration height: 230px on phones, 300–390px on larger layouts. */
.feature-art .art-frame,.article-cover .art-frame{height:100%;min-height:0;align-self:stretch}
@media (max-width:600px){
  .art-frame:not(.art-compact) .art-caption{top:6%;font-size:9px}
  .art-frame:not(.art-compact) .art-caption .art-icon{width:19px;height:19px}
  .art-frame:not(.art-compact) .art-windowbar{height:25px;font-size:9px}
  .art-frame:not(.art-compact) .art-flow-window{top:20%;left:9%;right:9%}
  .art-frame:not(.art-compact) .art-flow-content{padding:10px 12px}
  .art-frame:not(.art-compact) .art-flow-step{min-height:30px;padding:4px 8px;font-size:11px;gap:7px}
  .art-frame:not(.art-compact) .art-step-icon{width:19px;height:19px}
  .art-frame:not(.art-compact) .art-step-icon .art-icon{width:16px;height:16px}
  .art-frame:not(.art-compact) .art-flow-step em{font-size:7px}
  .art-frame:not(.art-compact) .art-flow-connector{height:6px;margin-left:18px}
  .art-frame:not(.art-compact) .art-stack-stamp{bottom:5%;padding:7px 11px;font-size:10px}
  .art-frame:not(.art-compact) .art-stack-paper{top:21%;height:64%}
  .art-frame:not(.art-compact) .art-repo-window{top:21%;left:8%;right:8%}
  .art-frame:not(.art-compact) .art-repo-editor{min-height:133px}
  .art-frame:not(.art-compact) .art-repo-tree{padding:9px;gap:6px;font-size:9px}
  .art-frame:not(.art-compact) .art-tree-heading{font-size:7px}
  .art-frame:not(.art-compact) .art-repo-tree .art-icon{width:11px;height:11px}
  .art-frame:not(.art-compact) .art-code-body{padding:10px;gap:6px}
  .art-frame:not(.art-compact) .art-code-heading{font-size:8px}
  .art-frame:not(.art-compact) .art-code-space{height:0}
  .art-frame:not(.art-compact) .art-code-snippet{font-size:7px;padding:7px;gap:4px}
  .art-frame:not(.art-compact) .art-repo-stamp{bottom:5%;padding:7px 10px;font-size:10px}
  .art-frame:not(.art-compact) .art-stamp-icon{width:23px;height:23px}
  .art-frame:not(.art-compact) .art-stamp small{font-size:8px}
  .art-frame:not(.art-compact) .art-invest-window{top:20%;left:9%;right:9%}
  .art-frame:not(.art-compact) .art-chart-heading{padding:8px 12px 0;font-size:11px}
  .art-frame:not(.art-compact) .art-chart-heading em{font-size:9px;padding:2px 4px}
  .art-frame:not(.art-compact) .art-price-chart{height:68px;margin-top:1px}
  .art-frame:not(.art-compact) .art-chart-legend{font-size:8px;padding:0 12px 10px}
  .art-frame:not(.art-compact) .art-assumption-strip{bottom:5%;min-height:29px;padding:5px 9px;font-size:8px}
  .art-frame:not(.art-compact) .art-assumption-strip>span:first-child{font-size:9px}
  .art-frame:not(.art-compact) .art-assumption-strip .art-icon{width:14px;height:14px}
  .art-frame:not(.art-compact) .art-background-glyph{font-size:190px}
}

/* A list thumbnail keeps the original composition on a small, centered canvas.
   The page owns --thumb-scale so thumbnail dimensions can change independently. */
.article-list .card-image .art-frame{height:100%;min-height:0}
.article-list .card-image .art-scene{inset:auto;left:50%;top:50%;width:340px;height:190px;max-width:none;margin:0;transform:translate(-50%,-50%) scale(var(--thumb-scale,.58));transform-origin:center;transition:none}
.article-list .art-caption,.article-list .art-windowmark,.article-list .art-flow-step em,.article-list .art-tree-heading{display:none}
.article-list .art-windowbar{height:23px}
.article-list .art-windowbar>span:not(.art-windowdots){visibility:hidden}
.article-list .art-flow-step>span:not(.art-step-icon){font-size:0;flex:1}
.article-list .art-flow-step>span:not(.art-step-icon)::after{content:"";display:block;width:64%;height:4px;border-radius:2px;background:currentColor;opacity:.55}
.article-list .art-chart-heading{padding-top:7px}
.article-list .art-chart-heading>span{font-size:0}
.article-list .art-chart-heading>span::after{content:"";display:block;width:82px;height:4px;border-radius:2px;background:currentColor;opacity:.5}
@media (max-width:600px){
  .article-list .art-chart-heading em,.article-list .art-chart-legend{visibility:hidden}
  .article-list .art-code-snippet{font-size:0}
  .article-list .art-code-snippet span{height:7px}
  .article-list .art-code-snippet span::after{content:"";display:block;width:74%;height:3px;border-radius:2px;background:#789c88;opacity:.7}
}
