/* Own pages of AI-STUDIO (Start, Board, task notes). Light and dark follow Filament's html.dark. */
:root { --st-card: #fff; --st-line: rgba(15, 23, 42, .08); --st-text: #0f172a; --st-muted: #64748b; --st-col: #eef2f6; --st-accent: #2563eb; --st-warn: #b45309; --st-bad: #b91c1c; }
.dark { --st-card: #18181b; --st-line: rgba(255, 255, 255, .1); --st-text: #f8fafc; --st-muted: #a1a1aa; --st-col: rgba(255, 255, 255, .04); --st-accent: #60a5fa; --st-warn: #fbbf24; --st-bad: #f87171; }

.st-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 1024px) { .st-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-card { display: block; background: var(--st-card); border-radius: .75rem; padding: 1.25rem 1.5rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); outline: 1px solid var(--st-line); color: var(--st-text); }
a.st-card { transition: outline-color .15s, transform .15s; }
a.st-card:hover { outline-color: var(--st-accent); transform: translateY(-1px); }
.st-num { font-size: 2rem; font-weight: 650; line-height: 1.1; }
.st-num.is-warn { color: var(--st-warn); }
.st-num.is-bad { color: var(--st-bad); }
.st-label, .st-sub { color: var(--st-muted); font-size: .875rem; }
.st-h { font-size: 1.125rem; font-weight: 650; color: var(--st-text); }
.st-list { margin-top: .75rem; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--st-line); color: var(--st-text); }
.st-row:hover .st-title { color: var(--st-accent); }
.st-title { font-weight: 550; }
.st-chip { flex-shrink: 0; font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; background: var(--st-col); color: var(--st-muted); white-space: nowrap; }
.st-chip.is-warn { color: var(--st-warn); }
.st-chip.is-bad { color: var(--st-bad); }
.st-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin-top: .75rem; }
.st-empty { color: var(--st-muted); font-size: .875rem; padding: .75rem 0; }

.st-select { border: 1px solid var(--st-line); border-radius: .5rem; background: var(--st-card); color: var(--st-text); padding: .45rem 2rem .45rem .75rem; font-size: .875rem; }
.st-board { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(15rem, 1fr)); overflow-x: auto; align-items: start; }
.st-col { background: var(--st-col); border-radius: .75rem; padding: .75rem; min-height: 8rem; }
.st-col.is-over { outline: 2px dashed var(--st-accent); }
.st-col h2 { font-size: .875rem; font-weight: 650; color: var(--st-text); margin: 0 .25rem .75rem; }
.st-col h2 span { font-weight: 400; color: var(--st-muted); margin-left: .25rem; }
.st-task { background: var(--st-card); border-radius: .5rem; padding: .7rem .8rem; margin-bottom: .5rem; outline: 1px solid var(--st-line); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); cursor: grab; }
.st-task.is-attention { border-left: 3px solid var(--st-warn); }
.st-task a { display: block; font-size: .875rem; font-weight: 550; color: var(--st-text); }
.st-task a:hover { color: var(--st-accent); }
.st-task-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .35rem; font-size: .75rem; color: var(--st-muted); }
.st-move { display: flex; gap: .15rem; }
.st-move button { width: 1.5rem; height: 1.5rem; border-radius: .375rem; color: var(--st-muted); }
.st-move button:hover { background: var(--st-col); color: var(--st-text); }

.st-note { border-top: 1px solid var(--st-line); padding-top: .9rem; margin-top: .9rem; }
.st-note p { white-space: pre-line; font-size: .875rem; color: var(--st-text); margin-top: .2rem; }
