/* Team view and the "Note" button (views/team.js, notes.js). Tokens only. */
.nt-btn { display: inline-flex; gap: 4px; align-items: center; padding: 3px 9px; border-radius: 99px; border: 1px dashed color-mix(in srgb, var(--accent) 60%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent-ink); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; }
.nt-btn:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); transform: translateY(-1px); }
.nt-btn.done { border-style: solid; border-color: var(--pos); background: color-mix(in srgb, var(--pos) 20%, transparent); color: var(--pos-ink); }
.nt-menu { position: fixed; z-index: 400; width: 300px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 44px rgb(0 0 0 / .18); display: grid; gap: 8px; animation: nt-in .16s ease-out; }
@keyframes nt-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.nt-menu > b { font-size: 13px; } .nt-menu > p { margin: 0; font-size: 11.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-menu textarea { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 7px 9px; font: inherit; font-size: 12.5px; resize: vertical; }
.nt-g { display: grid; gap: 4px; } .nt-g small { font-size: 11px; font-weight: 600; color: var(--pos-ink); } .nt-g.neg small { color: var(--neg-ink); }
.nt-g button { text-align: left; padding: 7px 10px; border-radius: 10px; border: 1px solid transparent; background: color-mix(in srgb, var(--pos) 14%, var(--surface)); color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer; }
.nt-g.neg button { background: color-mix(in srgb, var(--neg) 14%, var(--surface)); }
.nt-g button:hover { border-color: var(--accent); }

.tv { display: grid; gap: 18px; }
.tv-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.tv-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tv-days button { flex: none; display: grid; text-align: left; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; font: inherit; cursor: pointer; }
.tv-days button b { font-size: 13px; } .tv-days button small { font-size: 11px; color: var(--muted); }
.tv-days button.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); } .tv-days button.on small { color: inherit; opacity: .75; }
.tv-sum { display: flex; gap: 10px; }
.tv-sum span { display: grid; padding: 10px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-align: center; min-width: 96px; }
.tv-sum b { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; } .tv-sum small { font-size: 11.5px; color: var(--muted); }
.tv-sum .pos b { color: var(--pos-ink); } .tv-sum .neg b { color: var(--neg-ink); }
.tv-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.tv-col { --c: var(--pos); --ink: var(--pos-ink); display: grid; gap: 14px; padding: 18px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 15%, var(--surface)), var(--surface) 260px); }
.tv-col.is-neg { --c: var(--neg); --ink: var(--neg-ink); }
.tv-col > header { display: flex; gap: 12px; align-items: center; } .tv-col > header > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 16px; background: color-mix(in srgb, var(--c) 40%, transparent); color: var(--ink); }
.tv-col h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); } .tv-col > header small { font-size: 12px; color: var(--muted); }
.tv-col > header > b { margin-left: auto; font-size: 40px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.tv-cat { display: grid; gap: 8px; } .tv-cat.empty { opacity: .6; }
.tv-cat h3 { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 13.5px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.tv-cat h3 i { font-style: normal; font-size: 12px; padding: 1px 9px; border-radius: 99px; background: color-mix(in srgb, var(--c) 30%, transparent); color: var(--ink); }
.tv-none { margin: 0; font-size: 12px; color: var(--muted); }
.tv-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: transform .18s, box-shadow .18s; }
.tv-note:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(0 0 0 / .07); } .tv-note.done { opacity: .55; }
.tv-pic { width: 72px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--bg); display: block; } .tv-pic img { width: 100%; height: 100%; object-fit: cover; } .tv-pic.none { display: none; }
.tv-b { min-width: 0; display: grid; gap: 4px; grid-column: auto / -1; }
.tv-h { display: flex; gap: 6px; align-items: center; font-size: 12.5px; flex-wrap: wrap; } .tv-h small { color: var(--muted); font-size: 11.5px; }
.tv-b p { margin: 0; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tv-say { color: var(--accent-ink); font-weight: 500; }
.tv-note footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 2px; } .tv-note footer small { font-size: 11px; color: var(--muted); }
.tv-note footer span { display: flex; gap: 6px; align-items: center; } .tv-note footer a, .tv-note footer button { display: inline-flex; gap: 4px; align-items: center; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: inherit; font: inherit; font-size: 11.5px; text-decoration: none; cursor: pointer; }
.tv-form { display: grid; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--accent); background: var(--surface); margin-bottom: 14px; max-width: 640px; } .tv-form div { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 980px) { .tv-cols, .tv-top { grid-template-columns: 1fr; } .tv-sum { flex-wrap: wrap; } }
.tv-col { align-content: start; } .tv-cat { align-content: start; } .tv-cat h3 { margin: 0 !important; min-height: 0; }
.tv-cat.empty .tv-none { display: none; } .tv-cat.empty h3 { border-bottom: 0; padding-bottom: 0; font-weight: 500; }
.tv-pic { width: 84px; flex: none; }

/* "Make one in this style" (style-copy.js): beside the Note button on video posts; ink, so it reads as an action. */
.sc-btn { display: inline-flex; gap: 4px; align-items: center; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s, border-color .15s; }
.sc-btn:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); transform: translateY(-1px); }
td .sc-btn { margin-top: 4px; }
.sc-form { display: grid; gap: 12px; }
.sc-ref { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2, var(--surface)); }
.sc-ref img, .sc-ref-ph { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; display: grid; place-items: center; background: var(--line-2, var(--line)); color: var(--text-2); }
.sc-ref small { color: var(--text-2); font-size: 11.5px; } .sc-ref p { margin: 2px 0 4px; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .sc-ref a { font-size: 12px; }
.sc-notes { margin: 0; padding: 10px 12px 10px 28px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 7%, transparent); font-size: 12.5px; color: var(--text-2); display: grid; gap: 4px; }
.sc-notes b { color: var(--text); font-weight: 600; }
