/* Things for you (KB 61), existing report surfaces and type. */
.reader.one .top { flex-wrap: nowrap; gap: 8px; }
.reader.one .top .rb, .reader.one .top .av { flex: 0 0 44px; width: 44px; height: 44px; }
.reader.one .top .lockup { flex: 0 1 120px; min-width: 0; margin-inline: 0; }
.reader.one .top .lockup svg { width: 100%; }
.reader.one .rcover .top:has(.tf-bell) .lockup { display: inline-flex; }
.reader.one .top .sp { flex: 1 1 0; min-width: 0; }
.tf-bell { position: relative; }
.reader.one .rcover .top .rb.tf-bell[aria-expanded="true"] { background: #fff; color: #111214; }
.tf-badge { position: absolute; inset-block-start: -4px; inset-inline-end: -5px; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 999px; background: var(--ink); color: var(--panel); font: 600 12px/22px Manrope, sans-serif; text-align: center; pointer-events: none; }

.tf-bell > .ic { transform-origin: 50% 18%; }
.tf-arrival > .ic { animation: tf-ring .9s cubic-bezier(.36,.07,.19,.97) 1; }
.tf-arrival .tf-badge { animation: tf-pop .36s cubic-bezier(.2,.9,.3,1.35) .12s both; }
@keyframes tf-ring { 0%,100% { transform: rotate(0); } 12% { transform: rotate(16deg); } 28% { transform: rotate(-14deg); } 44% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 76% { transform: rotate(3deg); } }
@keyframes tf-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tf-arrival > .ic, .tf-arrival .tf-badge { animation: none; } }

.tf-inline { margin: 14px -18px 10px; animation: tf-open .32s var(--ease-out) both; min-width: 0; }
.tf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px 10px; }
.tf-head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tf-head b { font: 600 16px/22px Manrope, sans-serif; color: var(--ink); }
.tf-head span { font: 400 13px/18px Manrope, sans-serif; color: var(--ink); opacity: 1; }
.tf-fold { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--panel) 62%, transparent); color: var(--ink); }
.tf-track { display: flex; align-items: stretch; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; padding: 2px 18px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.tf-track::-webkit-scrollbar { display: none; }
.tf-card { flex: 0 0 min(76%, 264px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 24px; background: var(--panel); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 8px 22px color-mix(in srgb, var(--ink) 6%, transparent); }
.tf-card h4 { font: 600 16px/22px Manrope, sans-serif; margin: 0; }
.tf-removed-link { margin-inline: 18px; }
@keyframes tf-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) {
  .reader.one .rcover:has(.tf-inline:not([hidden])) { grid-template-areas: "hi top" "things things" "day faces" "verdict faces" "verdict quiet"; }
  .reader.one .rcover.few:has(.tf-inline:not([hidden])) { grid-template-areas: "hi top" "things things" "day day" "verdict verdict" "faces faces" "quiet quiet"; }
  .reader.one .rcover .tf-inline { grid-area: things; margin: 20px 0 28px; }
  .tf-inline .tf-head, .tf-inline .tf-track { padding-inline: 0; }
  .tf-inline .tf-track { scroll-padding-inline: 0; }
  .tf-card { flex-basis: calc((100% - 24px) / 3); }
}
@media (prefers-reduced-motion: reduce) { .tf-inline { animation: none; } }

/* Report chrome stays below the full-screen viewer (39) and sheet scrim (40). */
.tf-mini { position: fixed; inset-block-start: 0; z-index: 37; display: flex; align-items: center; gap: 8px; height: 64px; padding: 10px 18px; box-sizing: border-box; background: color-mix(in srgb, var(--panel) 86%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); transition: transform .28s var(--ease-out); }
.tf-mini.tf-away { transform: translateY(-100%); visibility: hidden; }
.tf-mini .lockup { flex: 0 1 120px; min-width: 0; height: 40px; }
.tf-mini .lockup svg { width: 100%; height: 100%; }
.tf-mini .sp { flex: 1 1 0; min-width: 0; }
.tf-mini .rb, .tf-mini .av { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--page); color: var(--ink); }
.tf-mini .rb .ic { width: 22px; height: 22px; }
.tf-mini .av { background: var(--ink); color: var(--panel); font: 600 15px/1 Manrope, sans-serif; }
.tf-mini .tf-bell[aria-expanded="true"] { background: #fff; color: #111214; }
.tf-mid { position: fixed; inset-block-start: 64px; z-index: 36; height: 0; overflow: hidden; background: color-mix(in srgb, var(--panel) 86%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); transition: height .36s var(--ease-out); }
.tf-mid .tf-section-inner { padding-block: 12px 14px; }
#rbody { transform: translateY(var(--things-push, 0px)); transition: transform .36s var(--ease-out); }
html.tf-mini-on .reader.one .rr-sticky { top: 64px; }
html:has(.tf-mini), html:has(.tf-mini) body, .reader:has(.tf-inline) { overflow-anchor: none; }
@media (min-width: 1024px) { .tf-mini, .tf-mid .tf-head, .tf-mid .tf-track { padding-inline: 32px; } .tf-mid .tf-track { scroll-padding-inline: 32px; } }
@media (prefers-reduced-motion: reduce) { .tf-mini, .tf-mid, #rbody { transition: none; } }

.tf-card { min-height: 252px; }
.tf-card-top { display: flex; align-items: flex-start; justify-content: space-between; min-height: 40px; margin-block-end: 12px; }
.tf-card-top > .brandtile, .tf-logo { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; }
.tf-remove { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin-block-start: -6px; margin-inline-end: -8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); }
.tf-remove .ic { width: 18px; height: 18px; }
.tf-card h4, .tf-line { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tf-line { font: 400 14px/20px Manrope, sans-serif; color: var(--muted); margin: 0; }
.tf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: auto; padding-block-start: 14px; }
.tf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--page); color: var(--ink); font: 500 14px/20px Manrope, sans-serif; }
.tf-btn .ic { width: 16px; height: 16px; flex: none; }
.tf-app { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; }
.tf-app .brandtile { width: 44px; height: 44px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.tf-tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--page); color: var(--ink); }
.tf-tile .ic { width: 20px; height: 20px; }
.tf-tile.orchid { background: var(--orchid-soft); color: var(--orchid); }
.tf-tile.jade { background: var(--jade-soft); color: var(--jade); }
.tf-done { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--jade) 45%, transparent); }
.tf-link { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; color: var(--orchid-ink); font: 500 14px/20px Manrope, sans-serif; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--orchid) 40%, transparent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.tf-link .ic { width: 14px; height: 14px; flex: none; }
.tf-card .tf-link { max-height: 40px; overflow: hidden; }

.tf-email-form { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.tf-email-field { width: 100%; min-width: 0; }
.tf-email-field input { width: 100%; min-width: 0; box-sizing: border-box; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--page); color: var(--ink); font: 400 16px/22px Manrope, sans-serif; }
.tf-email-again { min-height: 40px; padding: 0; border: 0; background: none; color: var(--muted); font: 500 14px/20px Manrope, sans-serif; }
.tf-email-message { width: 100%; margin: 0; color: var(--muted); font: 400 13px/18px Manrope, sans-serif; overflow-wrap: anywhere; }
.tf-email-message:empty { display: none; }
.tf-email-card.tf-done h4 { display: block; overflow: visible; overflow-wrap: anywhere; }

/* A card opens one Settings layer: bottom on a phone, full-height side panel on a desktop. */
.sheet.tf-side .st-page { padding: 12px 0 0; max-width: none; margin: 0; }
.sheet.tf-side .bill-act { position: static; padding: 18px 0 0; box-shadow: none; }
.sheet.tf-side .st-back { display: none; }
@media (min-width: 768px) {
  #sheet.tf-side:not(.open), #sheet.tf-side.open { inset: 0 0 0 auto; width: min(440px, 100vw); max-width: none; height: 100dvh; max-height: 100dvh; border-radius: 0; transform: translateX(100%); margin: 0; transition: transform .32s var(--ease-out); }
  #sheet.tf-side.open { transform: translateX(0); }
  #sheet.tf-side > .handle { display: none; }
}

#sheet.tf-side > .sheethead { padding: 8px 24px 12px; }
