/* Source tools · Pearl: soft white surfaces, system sans, one deep-blue motif. */
.source-tools{max-width:1040px;margin:0 auto;color:var(--ink,#1d1d1f);font-family:var(--app-font,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif);--st-blue:var(--accent,#1046ab);--st-line:var(--line,#e5e6ea);--st-muted:var(--muted,#686b73);padding-bottom:56px;overflow-wrap:anywhere}
.st-heading{margin:0 0 24px}.st-heading h1{margin:0 0 10px;font-size:40px;line-height:1.15;letter-spacing:-.04em}.st-heading p{margin:0;color:var(--st-muted);max-width:640px}
.st-eyebrow{font-size:11px;letter-spacing:.11em;font-weight:650;color:var(--st-blue);margin:0 0 10px}
.source-tools h2{font-size:24px;letter-spacing:-.03em;margin:0 0 6px}.source-tools h3{font-size:18px;letter-spacing:-.02em;margin:0 0 6px;line-height:1.3}.source-tools h4{font-size:16px;margin:0}
.st-tabs{display:flex;gap:6px;padding:4px;border:1px solid var(--st-line);background:#eceef180;border-radius:14px;width:fit-content;max-width:100%;box-sizing:border-box;margin:0 0 24px;overflow-x:auto;scrollbar-width:none}
.st-tabs::-webkit-scrollbar{display:none}
.st-tabs button{min-height:44px;padding:9px 18px;border:0;background:transparent;color:var(--st-muted);font:inherit;font-size:14px;border-radius:10px;white-space:nowrap;cursor:pointer}
.st-tabs button[aria-current=page]{background:#fff;color:var(--st-blue);box-shadow:0 2px 4px #2636520a}
.st-card{padding:24px;margin-bottom:20px;background:var(--pearl-surface,#fff);border:1px solid var(--st-line);border-radius:20px;box-shadow:var(--pearl-shadow,0 8px 28px -24px #20263228);min-width:0}
.st-empty{text-align:center;padding:40px 24px}.st-empty p{color:var(--st-muted);max-width:520px;margin:8px auto 0}
.st-muted{color:var(--st-muted);font-size:14px}.st-status{color:var(--st-muted)}
.st-error{color:var(--danger,#ac343d)}p.st-error{padding:14px 18px;border:1px solid #efd3d5;border-radius:14px;background:#fff8f8}
.st-list{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:12px}
.st-row{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:64px;padding:16px 20px;background:var(--pearl-surface,#fff);border:1px solid var(--st-line);border-radius:16px;text-align:left;font:inherit;color:inherit;cursor:pointer}
.st-row:hover:not(:disabled){border-color:#c9d6ef}.st-row:hover:not(:disabled) strong{color:var(--st-blue)}.st-row:disabled{opacity:.7;cursor:default}
.st-row-main{display:grid;gap:3px;min-width:0}.st-row-main strong{font-size:16px;font-weight:600}.st-row-main>span{font-size:14px;color:#3d4250}
.st-row-meta{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:50%}
.st-pill{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:550;background:#f1f2f4;color:#4a4e57;white-space:normal}
.st-pill.blue{background:var(--accent-soft,#eef3fc);color:var(--st-blue)}.st-pill.gold{background:var(--gold-light,#faf0dc);color:var(--gold,#966323)}.st-pill.gray{background:#f1f2f4;color:#6b6f78}
.st-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border:0;border-radius:999px;background:var(--pearl-action,var(--st-blue));color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.st-button.secondary{background:#fff;color:var(--st-blue);border:1px solid #c9d6ef}.st-button:disabled{opacity:.55;cursor:default}
.st-link{background:none;border:0;padding:8px 0;min-height:44px;color:var(--st-blue);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.st-actions{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-top:10px}
.st-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}.st-item-head small{color:var(--st-muted);font-size:12px}
.st-field{display:grid;gap:6px;margin:0 0 14px;font-size:14px;min-width:0}.st-field>span{font-weight:550}
.st-field input,.st-field select,.st-field textarea{min-height:44px;border:1px solid var(--st-line);border-radius:10px;padding:10px 12px;font:inherit;font-size:16px;background:#fff;color:inherit;min-width:0;width:100%;box-sizing:border-box}
.st-field textarea{min-height:88px;resize:vertical}.st-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-size:14px!important}
.st-field.compact{margin-bottom:10px}
.st-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px}.st-check input{width:22px;height:22px;accent-color:var(--st-blue)}
.st-file{display:grid;gap:4px;padding:20px;border:1.5px dashed #c9d6ef;border-radius:14px;margin:12px 0 14px;background:#fbfcfe;cursor:pointer}.st-file span{font-size:13px;color:var(--st-muted)}.st-file input{margin-top:8px;font-size:14px;max-width:100%}
.st-form-status{font-size:14px;color:var(--st-muted);margin-top:8px;display:block}
.st-tech{margin-top:14px;font-size:14px;color:#3d4250}.st-tech>summary,.st-add>summary,.st-model details>summary,.st-offset details>summary{cursor:pointer;color:var(--st-blue);font-weight:600;min-height:44px;display:flex;align-items:center}
.st-add{margin-top:8px}.st-add>.st-card{margin:12px 0 0;box-shadow:none}
.st-awaiting{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px 18px;border:1px solid var(--st-line);border-radius:16px;background:#fff;margin:0 0 16px}
.st-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Sessions */
.st-session-head .st-audio{width:100%;margin-top:12px}
.st-turns{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.st-turn{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;padding:14px;border:1px solid var(--st-line);border-radius:14px;background:#fff}
.st-turn.verified{border-color:#c9d6ef;background:#fafcff}
.st-turn-time{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-variant-numeric:tabular-nums;font-size:14px}.st-turn-time small{flex-basis:100%;color:var(--st-muted);font-size:12px}
.st-play{width:44px;height:44px;border-radius:50%;border:1px solid #c9d6ef;background:#fff;color:var(--st-blue);font-size:14px;cursor:pointer}
.st-turn-body{min-width:0}.st-transcript{margin:0 0 8px;font-size:15px;line-height:1.5}
.st-turn-fields{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:flex-end}.st-turn-fields .st-field{flex:1 1 200px;margin:0}
.st-sticky{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}
.st-offset{padding:16px 0;border-top:1px solid var(--st-line)}.st-offset:first-of-type{border-top:0;padding-top:0}
.st-big{font-size:22px;font-weight:600;letter-spacing:-.02em;margin:4px 0 6px;font-variant-numeric:tabular-nums}
.st-flag{color:var(--gold,#966323);font-size:14px}.st-note{font-size:14px;background:#f7f8fa;border-radius:10px;padding:10px 12px}
.st-calc{max-width:360px;margin-top:10px}.st-calc output{font-weight:600;color:var(--st-blue);font-variant-numeric:tabular-nums;min-height:20px}
.st-inline{margin-top:10px;padding:14px;border:1px solid var(--st-line);border-radius:14px;background:#fbfbfd}
.st-anchors{border:0;padding:0;margin:0 0 6px}.st-anchors legend{font-weight:600;margin-bottom:8px;font-size:14px}
.st-anchor{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:10px}
.st-table{width:100%;border-collapse:collapse;font-size:14px;margin:6px 0}.st-table th,.st-table td{text-align:left;padding:8px 6px;border-bottom:1px solid var(--st-line);font-variant-numeric:tabular-nums}
/* Workbook */
.st-facts{margin:8px 0 0}.st-facts>div{display:grid;grid-template-columns:200px 1fr;gap:12px;padding:9px 0;border-top:1px solid var(--st-line);font-size:14px}.st-facts dt{color:var(--st-muted)}.st-facts dd{margin:0}
.st-filter{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:0 0 10px}.st-filter .st-field{flex:1 1 240px;margin:0}
.st-legend{display:flex;gap:16px;font-size:12px;color:var(--st-muted);margin:4px 0 10px}.st-legend span::before,.st-legend strong::before{content:"";display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px;background:#d9dde5}.st-legend strong{color:var(--st-blue);font-weight:600}.st-legend strong::before{background:var(--st-blue)}
.st-segments{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.st-segments>li{padding:14px 16px;border:1px solid var(--st-line);border-radius:14px;background:#fff;min-width:0}
.st-seg-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.st-seg-head code{font-size:12px;color:var(--st-muted);margin-left:auto}
.st-seg-times{display:grid;grid-template-columns:1fr 1fr 120px;gap:12px;margin-top:8px}
.st-label{display:block;font-size:12px;color:var(--st-muted);margin-bottom:2px}
.st-cell{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-variant-numeric:tabular-nums;font-size:14px}.st-cell span{color:#4a4e57}.st-cell span:first-child{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--st-muted)}.st-cell strong{color:var(--st-blue)}
.st-issues{margin:8px 0 0;padding-left:18px;color:var(--gold,#966323);font-size:14px}
.st-pager{display:flex;justify-content:space-between;align-items:center;gap:12px}
/* Models */
.st-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.st-model{padding:20px;background:var(--pearl-surface,#fff);border:1px solid var(--st-line);border-radius:18px;min-width:0;display:flex;flex-direction:column;gap:4px}.st-model p{margin:4px 0}.st-model .st-link{margin-top:auto;align-self:flex-start}
.st-elements{list-style:none;margin:6px 0;padding:0;display:grid;gap:8px;font-size:14px;max-height:360px;overflow:auto}.st-elements li{display:grid;gap:2px}.st-elements small{color:var(--st-muted);font-size:12px}.st-elements code,.st-changes code{font-size:12px;color:var(--st-blue)}
.st-callout{border-color:#c9d6ef;background:linear-gradient(155deg,#fff,#f6f9ff)}
.st-changes{list-style:none;margin:0;padding:0;display:grid;gap:0}.st-changes>li{padding:16px 0;border-top:1px solid var(--st-line)}.st-changes>li:first-child{border-top:0;padding-top:0}.st-changes p{margin:4px 0}
.st-impacts{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}.st-impacts>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:start;padding:12px 14px;border:1px solid var(--st-line);border-radius:12px;background:#fff}.st-impacts>li>div{display:grid;gap:2px;font-size:14px}.st-impacts small{color:var(--st-muted)}.st-impacts form{grid-column:1/-1;margin-top:4px}
@media (max-width:900px){.st-models{grid-template-columns:1fr}}
@media (max-width:640px){.st-tabs{width:100%}.st-tabs button{flex:1 1 auto;padding:9px 10px;font-size:13px}.st-heading h1{font-size:32px}.st-card{padding:18px;border-radius:16px}.st-row{flex-direction:column;align-items:flex-start}.st-row-meta{max-width:100%;justify-content:flex-start}.st-turn{grid-template-columns:1fr;gap:8px}.st-anchor{grid-template-columns:1fr 1fr}.st-anchor .st-field:last-child{grid-column:1/-1}.st-seg-times{grid-template-columns:1fr}.st-facts>div{grid-template-columns:1fr;gap:2px}.st-seg-head code{margin-left:0;flex-basis:100%}.st-impacts>li{grid-template-columns:1fr}}
