/* Senova — Taste · additive, on-brand with the demo tokens (chrome = :root) */

/* 5th tab button — matches the demo's .tabs button look */
.taste-tabbtn { flex: 1; border: 0; background: none; font: 600 12px var(--sans); color: var(--ink-2); padding: 7px 0; border-radius: 8px; cursor: pointer; }
.taste-tabbtn.on { background: var(--cream-2); color: var(--ink); }

/* the "No score. On purpose." seal in the toolbar */
.taste-seal { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 11px; padding: 5px 12px 5px 9px; cursor: pointer; transition: .14s; }
.taste-seal:hover { border-color: var(--clay-soft); background: var(--cream); }
.taste-seal .ts-mk { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--clay), var(--clay-deep)); color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }
.taste-seal .ts-txt { display: flex; flex-direction: column; line-height: 1.15; }
.taste-seal .ts-txt b { font: 700 11.5px var(--sans); color: var(--ink); }
.taste-seal .ts-txt i { font: 500 10px var(--sans); font-style: normal; color: #a8977f; }

/* Taste tab body (renders into #pages) */
.ta-wrap { padding: 4px 10px 20px; }
.ta-lat { margin: 4px 2px 12px; }
.ta-lat-lbl { font: 700 9.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #a8977f; margin: 0 2px 6px; }
.ta-lat-seg { display: flex; gap: 3px; background: var(--cream-2); border-radius: 9px; padding: 3px; }
.ta-lat-seg button { flex: 1; border: 0; background: none; font: 600 11.5px var(--sans); color: var(--ink-2); padding: 6px 4px; border-radius: 7px; cursor: pointer; }
.ta-lat-seg button.on { background: var(--paper); color: var(--clay); box-shadow: var(--shadow-sm); }
.ta-lat-note { font-size: 10.5px; color: #b3a288; margin: 6px 2px 0; line-height: 1.4; }

.ta-arts { display: flex; flex-direction: column; gap: 7px; }
.ta-art { border: 1px solid var(--line); border-radius: 11px; padding: 10px 11px; background: var(--paper); }
.ta-art-h { display: flex; align-items: center; gap: 8px; }
.ta-art-h .ta-n { width: 18px; height: 18px; border-radius: 6px; background: var(--clay-wash); color: var(--clay); font: 700 10px var(--sans); display: grid; place-items: center; flex: none; }
.ta-art-h b { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.ta-art-d { font-size: 11.5px; color: var(--ink-2); line-height: 1.5; margin: 6px 0 8px; }
.ta-art-r { display: flex; align-items: center; gap: 8px; }
.ta-sw { width: 22px; height: 22px; border-radius: 6px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.ta-hx { font: 600 10.5px var(--sans); color: #b3a288; text-transform: uppercase; letter-spacing: .02em; }
.ta-type { font-size: 20px; color: var(--ink); line-height: 1; }
.ta-type2 { font-size: 15px; color: var(--ink-2); line-height: 1; }
.ta-rd { width: 26px; height: 20px; background: var(--clay-wash); border: 1.5px solid var(--clay-soft); flex: none; }
.ta-note { font: 600 11px var(--sans); color: var(--clay); background: var(--clay-wash); padding: 3px 9px; border-radius: 12px; }

.ta-try { margin: 14px 2px 0; border-top: 1px solid var(--line); padding-top: 14px; }
.ta-try-h { font: 700 9.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #a8977f; margin-bottom: 7px; }
.ta-try-row { display: flex; gap: 6px; }
.ta-try-row input { flex: 1; min-width: 0; font: 600 12.5px var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; text-transform: uppercase; }
.ta-try-row input:focus { outline: none; border-color: var(--clay); }
.ta-try-row button { border: 0; background: var(--clay); color: #fff; font: 600 12px var(--sans); padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.ta-try-row button:hover { background: var(--clay-deep); }
.ta-try-out { font-size: 11.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; min-height: 16px; }
.ta-tag { font: 700 9.5px var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 10px; }
.ta-tag.snap { color: #fff; background: var(--clay); }
.ta-tag.pass { color: #256b46; background: #e4f2ea; }

.ta-break { width: 100%; margin: 16px 2px 0; border: 1px dashed var(--clay-soft); background: none; color: var(--clay); font: 600 12px var(--sans); padding: 9px; border-radius: 10px; cursor: pointer; }
.ta-break:hover { background: var(--clay-wash); border-style: solid; }
.ta-break-out { margin: 10px 2px 0; }
.ta-break-score { font-size: 12px; color: var(--ink); line-height: 1.5; }
.ta-break-score b { font-family: var(--serif); font-size: 17px; color: var(--clay); }
.ta-break-log { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ta-break-log span { display: inline-flex; align-items: center; gap: 3px; font: 600 9.5px var(--sans); color: #a8977f; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 3px 7px; }
.ta-break-log i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* receipts chip */
#taste-chip { position: fixed; right: 22px; bottom: 22px; z-index: 90; max-width: 300px; display: none; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--ink); color: #fff; font: 600 12px var(--sans); padding: 10px 12px; border-radius: 13px; box-shadow: 0 14px 40px rgba(30, 20, 12, .34); }
#taste-chip.show { display: flex; animation: tcin .3s cubic-bezier(.22, 1, .36, 1); }
@keyframes tcin { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
#taste-chip .tc-dot { width: 16px; height: 16px; border-radius: 5px; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
#taste-chip .tc-main { flex: 1; }
#taste-chip .tc-main b { color: #fff; }
#taste-chip .tc-why, #taste-chip .tc-keep { border: 0; border-radius: 8px; font: 600 11px var(--sans); padding: 5px 9px; cursor: pointer; }
#taste-chip .tc-why { background: rgba(255, 255, 255, .16); color: #fff; }
#taste-chip .tc-keep { background: #fff; color: var(--ink); }
#taste-chip .tc-why-body { display: none; flex-basis: 100%; font-weight: 500; font-size: 11px; color: #d9cfc4; line-height: 1.5; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 8px; }
#taste-chip .tc-why-body b { color: #fff; }
#taste-chip.open .tc-why-body { display: block; }
