.st-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(215px, 29%);
  align-items: start;
  gap: 18px;
}
.st-main { min-width: 0; display: grid; gap: 18px; }
.st-card {
  min-width: 0;
  padding: clamp(16px, 2vw, 26px);
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
}
.st-cardhead, .st-readhead, .st-import, .st-tools, .st-tabs, .st-pager {
  display: flex; gap: 10px; align-items: center;
}
.st-cardhead { margin-bottom: 18px; }
.st-cardhead svg { padding: 6px; box-sizing: content-box; background: #f1edff; color: #6e4fbb; border-radius: 9px; }
.st-layout h2 { font-size: 1.12rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.st-card small,.st-muted,.st-entry small { color:#62718a; }
.st-muted { font-size: .91rem; line-height: 1.65; margin: .8em 0; }
.st-file, .st-action, .st-entry, .st-tabs button, .st-link, .st-time, .st-import-options summary, .st-engine summary, .st-details summary, .st-notebook summary { cursor:pointer; }
.st-file, .st-import label { position: relative; }
.st-file input, .st-import label input { position:absolute; width:1px; height:1px; border:0; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); }
.st-file { display:flex; align-items:center; gap:14px; padding:22px; border:1.5px dashed #aabed7; border-radius:12px; background:linear-gradient(120deg,#f5f8ff,#f9fbfe); }
.st-file:hover, .st-file:focus-within { border-color:#637fe1; background:#eff3ff; }
.st-file strong, .st-file small { display: block; }
.st-file strong { font-weight: 650; font-size: .99rem; color: #354a77; }
.st-file small { margin-top:3px; font-size:.78rem; }
.st-file svg { width:26px; height:26px; color:#506bc5; }
.st-engine { color: #455570; font-size: .88rem; background: #f7f9fc; border-radius:10px; margin:12px 0 15px; padding:13px 15px; }
.st-engine p { line-height:1.65; margin:0; }
.st-engine-state { display: flex; align-items: center; gap: 7px; }
.st-engine-state svg { width:16px; height:16px; }
.st-engine details p { padding-block:.4em; }
.st-engine summary, .st-details summary, .st-import-options summary { font-size:.875rem; font-weight:600; color:#435674; line-height:1.6; padding-block:.35em; }
.st-tools,.st-import { flex-wrap:wrap; }
.st-tools { align-items:flex-end; margin-top:.7rem; }
.st-tools label,.st-meta label,.st-insights label,.st-paste label { display:grid; gap:5px; font-weight:580; color:#354665; font-size:.83rem; }
.st-tools select,.st-meta input,.st-insights textarea,.st-paste textarea { width:100%; padding:8px 10px; min-height:36px; color:#21314e; background:#fff; border:1px solid #cfd9e6; border-radius:8px; font:inherit; font-weight:400; }
.st-tools select { padding-inline-end:26px; }
.st-action { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:#fff; color:#334d83; border:1px solid #d0d9e7; border-radius:8px; font-size:.84rem; line-height:1.35; font-weight:620; padding:9px 13px; }
.st-action:hover { background:#f0f4ff; border-color:#9caee6; }
.st-action.main { color:white; background:#3856c7; border-color:#3856c7; }
.st-action.main:hover {background:#2c47ad;}
.st-action svg { width:15px; height:15px; }
.st-action:disabled, .st-file.disabled {cursor:default; opacity:.55;}
.st-action:focus-within {outline:2px solid #6480da; outline-offset:2px;}
.st-link { color:#3b59bd; font-size:.82rem; font-weight:620; padding:3px 0; background:transparent; border:0; text-align:start; }
.st-link:hover {text-decoration:underline;}
.st-fine { font-size:.78rem; }
.st-details { margin-top:14px; border-top:1px solid #e7ecf4; padding-top:10px; }
.st-meta { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:7px; }
.st-meta label:last-child { grid-column:1/-1; }
.st-preview { padding:12px; background:#edf3fa; border:1px solid #dbe5ef; border-radius:12px; margin-bottom:12px; }
.st-preview strong,.st-filename { display:block; font-size:.87rem; margin-bottom:8px; overflow-wrap:anywhere; }
.st-preview audio, .st-preview video { display:block; width:100%; max-height:310px; border-radius:8px; }
.st-preview video { background:#1d2944; }
.st-notice:not(:empty), #st-paste-error:not(:empty) {border-radius:8px; background:#fff5dd; color:#76511b; font-size:.9rem; padding:10px 14px; margin-bottom:10px;}
.st-notice:empty { display:none; }
.st-entry { display:block; width:100%; text-align:start; border:1px solid #e0e6ee; border-radius:10px; padding:11px 12px; margin-top:9px; background:#fff; }
.st-entry strong {display:block; font-size:.87rem; overflow-wrap:anywhere;}
.st-entry small { font-size:.76rem; }
.st-entry[aria-current=true],.st-entry:hover { background:#f0f4ff; border-color:#c5d3f7; }
#st-notebook-list {margin-top:12px; max-height:600px; overflow:auto;}
.st-readhead { justify-content:space-between; flex-wrap:wrap; }
.st-readhead small { font-size:.8rem; }
.st-tabs { border-bottom:1px solid #dce3f0; gap:14px; margin:1rem 0; }
.st-tabs button { border:none; border-bottom:2px solid transparent; padding:6px 0; background:none; font-size:.9rem; color:#62718a; }
.st-tabs button[aria-pressed=true] { border-color:#596ad3; color:#374eac; font-weight:650; }
.st-insights { display:grid; gap:12px; }
.st-insights article { border:1px solid #dce5f3; border-radius:10px; padding:13px; background:#fbfcff; }
.st-insights blockquote { margin:8px 0 15px; padding-inline-start:12px; border-inline-start:3px solid #c5b6e9; line-height:1.65; font-size:.98rem; color:#25334b; overflow-wrap:anywhere; white-space:pre-line; }
.st-passages { padding:0; margin:0; list-style:none; }
.st-passages li { display:grid; grid-template-columns:auto 1fr; gap:3px 12px; padding:11px 0; border-bottom:1px solid #eaf0f5; }
.st-passages p { margin:0; font-size:.96rem; line-height:1.6; white-space:pre-line; overflow-wrap:anywhere; }
.st-passages .st-link {grid-column:2; justify-self:start; }
.st-time {align-self:start; white-space:nowrap; border:0; border-radius:5px; background:#edf1ff; color:#425aab; font-variant-numeric:tabular-nums; padding:3px 6px; font-size:.76rem;}
span.st-time {cursor:default;}
.st-pager { justify-content:space-between; margin-top:15px; }
.st-paste { display:grid; gap:12px; }
.st-paste .st-action {justify-self:start;}
@media(max-width:1000px){.st-layout{grid-template-columns:minmax(0,1fr) minmax(175px,27%);gap:12px}}
@media(max-width:760px){.st-layout{grid-template-columns:1fr}.st-meta{grid-template-columns:1fr}.st-readhead{align-items:flex-start}.st-preview video{max-height:220px}}
.st-application {background:#f0f7f3; color:#385849; margin:10px 0 14px; padding:10px 12px; border-radius:7px;}
.st-application strong {display:block; font-size:.78rem; font-weight:650;}
.st-application p {margin:4px 0 0; line-height:1.6; font-size:.88rem;}
.st-line-actions {display:flex; gap:14px; align-items:center; flex-wrap:wrap; grid-column:2;}
.st-line-actions small {font-size:.72rem; color:#926126;}
.st-curated {margin:10px 0; color:#28314d;}
.st-curated strong {font-size:.78rem; color:#604f86;}
.st-curated p {margin:5px 0; line-height:1.6;}
#st-publisher-video {margin-block:8px 14px;}
#st-publisher-video iframe {display:block; aspect-ratio:16/9; width:100%; border:0; border-radius:12px; background:#1d2944;}
