/* Newsworks Assistant. Uses the theme's font; the accent colour is set in Settings. */
/* Colours are defaults; Settings overrides them via inline styles on <html>. */
:root { --nwa-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; --nwa-ink: #0d2940; --nwa-accent: #fad13d; --nwa-on-accent: #0d2940; }
.nwa-root, .nwa-inline, .nwa-search {
	--nwa-muted: #5f6368;
	--nwa-line: #e3e3e3;
	--nwa-soft: #f5f5f4;
	--nwa-bg: #ffffff;
	--nwa-radius: 14px;
	font-family: var(--nwa-font);
	color: var(--nwa-ink);
	line-height: 1.5;
	box-sizing: border-box;
}
.nwa-root *, .nwa-inline *, .nwa-search * { box-sizing: border-box; font-family: var(--nwa-font); }
.nwa-root button, .nwa-inline button, .nwa-search button {
	font: inherit; letter-spacing: normal; text-transform: none; margin: 0; box-shadow: none;
}

/* Launcher */
.nwa-root { position: fixed; right: 20px; bottom: 48px; z-index: 99999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.nwa-launcher {
	position: relative; display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 20px 0 16px;
	border: 0; border-radius: 26px 26px 6px 26px; background: var(--nwa-ink); color: #fff; cursor: pointer;
	font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 24px rgba(13,41,64,.25); transition: transform .15s ease, filter .15s ease;
}
/* Speech-bubble tail */
.nwa-launcher::after {
	content: ""; position: absolute; right: 0; bottom: -9px; width: 18px; height: 12px;
	background: var(--nwa-ink); clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.nwa-launcher__icon { display: inline-flex; color: var(--nwa-accent); }
.nwa-launcher__close { display: none; }
.nwa-launcher:hover { filter: brightness(1.2); transform: translateY(-1px); }
.nwa-launcher:focus-visible, .nwa-root button:focus-visible, .nwa-search button:focus-visible, .nwa-inline button:focus-visible { outline: 3px solid var(--nwa-accent); outline-offset: 2px; }
.nwa-root.is-open .nwa-launcher__label, .nwa-root.is-open .nwa-launcher__icon { display: none; }
.nwa-root.is-open .nwa-launcher__close { display: inline-flex; }
.nwa-root.is-open .nwa-launcher { width: 52px; padding: 0; justify-content: center; border-radius: 26px; }
.nwa-root.is-open .nwa-launcher::after { display: none; }

/* Panel */
.nwa-panel {
	width: 400px; height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column;
	background: var(--nwa-bg); border-radius: var(--nwa-radius); overflow: hidden;
	box-shadow: 0 18px 60px rgba(13,41,64,.28), 0 0 0 1px rgba(0,0,0,.06);
}
.nwa-panel[hidden] { display: none; }
.nwa-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 14px 18px; background: var(--nwa-ink); color: #fff; border-bottom: 3px solid var(--nwa-accent); }
.nwa-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nwa-title strong { font-size: 16px; }
.nwa-tagline { font-size: 12px; font-weight: 500; opacity: .8; }
.nwa-actions { display: flex; align-items: center; gap: 4px; }
.nwa-icon-btn { background: transparent; border: 0; color: inherit; padding: 6px; border-radius: 8px; cursor: pointer; display: inline-flex; }
.nwa-icon-btn:hover { background: rgba(255,255,255,.12); }
.nwa-header .nwa-text-btn { color: #fff; }
.nwa-badge { display: inline-block; width: fit-content; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 10px; background: #fff3cd; color: #6b4e00; }
.nwa-panel-body { flex: 1; min-height: 0; display: flex; }

/* Chat */
.nwa-chat { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; }
.nwa-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 14px; background: var(--nwa-soft); }
.nwa-msg { display: flex; flex-direction: column; max-width: 92%; }
.nwa-msg--user { align-self: flex-end; }
.nwa-msg--assistant { align-self: flex-start; }
.nwa-bubble { padding: 10px 14px; border-radius: 14px; font-size: 15px; overflow-wrap: anywhere; }
.nwa-msg--user .nwa-bubble { background: var(--nwa-ink); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.nwa-msg--assistant .nwa-bubble { background: var(--nwa-bg); border: 1px solid var(--nwa-line); border-bottom-left-radius: 4px; }
.nwa-msg--error .nwa-bubble { border-color: #f1c0c0; }
.nwa-bubble p { margin: 0 0 8px; } .nwa-bubble p:last-child { margin-bottom: 0; }
.nwa-bubble ul { margin: 4px 0 8px; padding-left: 20px; } .nwa-bubble li { margin: 2px 0; }
.nwa-bubble strong { font-weight: 700; }
.nwa-cite { line-height: 0; margin-left: 1px; }
.nwa-cite a { display: inline-block; min-width: 16px; padding: 0 4px; border-radius: 8px; background: var(--nwa-accent); color: var(--nwa-on-accent, #fff) !important; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; text-decoration: none !important; vertical-align: 2px; }

.nwa-suggestions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.nwa-chip { background: var(--nwa-bg); border: 1px solid var(--nwa-line); border-radius: 18px; padding: 7px 14px; font-size: 14px; color: var(--nwa-ink); cursor: pointer; text-align: left; }
.nwa-chip:hover { border-color: var(--nwa-accent); background: var(--nwa-accent); color: var(--nwa-on-accent, #fff); }

/* Sources */
.nwa-sources-wrap { margin-top: 8px; }
.nwa-sources-label { font-size: 12px; font-weight: 600; color: var(--nwa-muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px 2px; }
.nwa-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nwa-source a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; background: var(--nwa-bg); border: 1px solid var(--nwa-line); border-radius: 10px; text-decoration: none !important; color: var(--nwa-ink) !important; }
.nwa-source a:hover { border-color: var(--nwa-accent); }
.nwa-source__n { flex: none; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--nwa-soft); color: var(--nwa-muted); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.nwa-source__body { display: flex; flex-direction: column; min-width: 0; }
.nwa-source__title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.nwa-source__meta { font-size: 12px; color: var(--nwa-muted); }
.nwa-source--stat a { border-left: 4px solid var(--nwa-accent); }
.nwa-source--stat .nwa-source__title { font-size: 15px; }

/* Typing */
.nwa-typing .nwa-bubble { display: flex; gap: 4px; padding: 14px; }
.nwa-typing span, .nwa-skeleton span { display: block; }
.nwa-typing .nwa-bubble span { width: 7px; height: 7px; border-radius: 50%; background: #b5b5b5; animation: nwa-bounce 1.2s infinite ease-in-out; }
.nwa-typing .nwa-bubble span:nth-child(2) { animation-delay: .15s; } .nwa-typing .nwa-bubble span:nth-child(3) { animation-delay: .3s; }
@keyframes nwa-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }

/* Input */
.nwa-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--nwa-line); background: var(--nwa-bg); }
.nwa-input { flex: 1; resize: none; border: 1px solid var(--nwa-line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; line-height: 1.4; max-height: 120px; color: var(--nwa-ink); background: var(--nwa-bg); margin: 0; }
.nwa-input:focus { outline: none; border-color: var(--nwa-ink); }
.nwa-send { flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--nwa-accent); color: var(--nwa-on-accent, #fff); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.nwa-send:disabled { opacity: .5; cursor: default; }
.nwa-disclaimer { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--nwa-muted); background: var(--nwa-bg); }
.nwa-text-btn { background: none; border: 0; padding: 4px 6px; color: var(--nwa-accent-text, var(--nwa-accent)); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.nwa-text-btn:hover { text-decoration: underline; }

/* Inline (shortcode) */
.nwa-inline { border: 1px solid var(--nwa-line); border-radius: var(--nwa-radius); overflow: hidden; height: 600px; display: flex; margin: 24px 0; }

/* Search results page */
.nwa-search { border: 1px solid var(--nwa-line); border-left: 4px solid var(--nwa-accent); border-radius: 10px; padding: 18px 20px; margin: 0 0 28px; background: var(--nwa-bg); }
.nwa-search--compact { padding: 10px 14px; border-left-width: 1px; }
.nwa-search__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.nwa-search__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nwa-accent-text, var(--nwa-accent)); }
.nwa-search__answer { font-size: 16px; }
.nwa-search__answer p { margin: 0 0 10px; }
.nwa-search__answer ul { margin: 0 0 10px; padding-left: 22px; }
.nwa-search .nwa-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.nwa-search .nwa-disclaimer { padding: 8px 0 0; background: transparent; }
.nwa-skeleton { display: flex; flex-direction: column; gap: 8px; }
.nwa-skeleton span { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eee 25%, #f7f7f7 50%, #eee 75%); background-size: 200% 100%; animation: nwa-shimmer 1.2s infinite; }
.nwa-skeleton span:nth-child(2) { width: 92%; } .nwa-skeleton span:nth-child(3) { width: 60%; }
@keyframes nwa-shimmer { to { background-position: -200% 0; } }

@media (max-width: 520px) {
	.nwa-root { right: 12px; bottom: 12px; }
	.nwa-root.is-open { inset: 0; right: 0; bottom: 0; }
	.nwa-root.is-open .nwa-panel { width: 100vw; height: 100dvh; border-radius: 0; }
	.nwa-root.is-open .nwa-launcher { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nwa-typing .nwa-bubble span, .nwa-skeleton span { animation: none; }
	.nwa-launcher { transition: none; }
}

/* Logo */
.nwa-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nwa-logo { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: transparent; }

/* Compact source links under chat replies */
.nwa-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; }
.nwa-chips__label { color: var(--nwa-muted); font-weight: 600; margin-right: 2px; }
.nwa-chip-link { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 12px; background: var(--nwa-bg); border: 1px solid var(--nwa-line); color: var(--nwa-ink) !important; text-decoration: none !important; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nwa-chip-link:hover { border-color: var(--nwa-accent); background: var(--nwa-accent); color: var(--nwa-on-accent, var(--nwa-ink)) !important; }

/* Copy a stat with its source */
.nwa-stat { position: relative; }
.nwa-copy { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin: 0 0 0 4px; padding: 0; vertical-align: -5px; border: 1px solid var(--nwa-line); border-radius: 6px; background: var(--nwa-bg); color: var(--nwa-muted); cursor: pointer; position: relative; }
.nwa-copy:hover { color: var(--nwa-ink); border-color: var(--nwa-accent); background: var(--nwa-accent); }
.nwa-copy.is-copied { color: var(--nwa-on-accent, var(--nwa-ink)); background: var(--nwa-accent); border-color: var(--nwa-accent); }
.nwa-copy[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: var(--nwa-ink); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; pointer-events: none; }

/* Feedback */
.nwa-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--nwa-muted); }
.nwa-thumb { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 26px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--nwa-muted); cursor: pointer; }
.nwa-thumb:hover { background: var(--nwa-bg); border-color: var(--nwa-line); color: var(--nwa-ink); }
.nwa-thumb--down svg { transform: scaleY(-1); }
.nwa-thumb.is-on { background: var(--nwa-accent); border-color: var(--nwa-accent); color: var(--nwa-on-accent, var(--nwa-ink)); }
.nwa-feedback__thanks { margin-left: 4px; }
.nwa-feedback__form { display: flex; gap: 6px; flex-basis: 100%; margin-top: 4px; }
.nwa-feedback__input { flex: 1; min-width: 0; border: 1px solid var(--nwa-line); border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--nwa-ink); background: var(--nwa-bg); margin: 0; }
.nwa-feedback__input:focus { outline: none; border-color: var(--nwa-ink); }

/* Talk to the team */
.nwa-handoff { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 14px; border-radius: 18px; background: var(--nwa-accent); color: var(--nwa-on-accent, var(--nwa-ink)) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; width: fit-content; }
.nwa-handoff:hover { filter: brightness(0.95); }
.nwa-footer-link { color: var(--nwa-ink) !important; font-weight: 600; text-decoration: underline !important; }
.nwa-bubble a[href^="mailto:"] { color: var(--nwa-ink); font-weight: 600; text-decoration: underline; }

/* Scoop, the character */
.nwa-scoop { display: block; overflow: visible; }
.nwa-scoop * { transform-box: fill-box; }
.nwa-scoop__eyes { transform-origin: center; animation: nwa-blink 5s infinite; }
.nwa-scoop__mouth { transform-origin: 50% 0; }
.nwa-scoop__fold { transform-origin: 0% 100%; }
.nwa-scoop__body { transform-origin: 50% 100%; }

/* Reading: eyes skim, the page lines flicker */
.nwa-scoop--reading .nwa-scoop__eyes { animation: nwa-read 1.4s ease-in-out infinite; }
.nwa-scoop--reading .nwa-scoop__lines { animation: nwa-lines 1.4s ease-in-out infinite; }
/* Talking while the answer types out */
.nwa-scoop--talking .nwa-scoop__mouth { animation: nwa-talk .32s ease-in-out infinite alternate; }
/* Waves hello (greeting) and says hello with a little jump when the chat opens */
.nwa-scoop--wave .nwa-scoop__fold { animation: nwa-flick 1.2s ease-in-out .4s 2; }
.nwa-scoop--hello .nwa-scoop__body { animation: nwa-jump .7s ease-out .15s 1; }
.nwa-scoop--hello .nwa-scoop__fold { animation: nwa-flick 1s ease-in-out .5s 1; }

/* On the bubble: hop and wave every so often, wiggle and wave on hover */
.nwa-launcher.has-mascot { padding-left: 8px; }
.nwa-launcher.has-mascot .nwa-launcher__icon { transform-origin: 50% 90%; animation: nwa-hop 10s ease-in-out 4s infinite; }
.nwa-launcher.has-mascot .nwa-scoop__fold { animation: nwa-flick-idle 10s ease-in-out 4s infinite; }
.nwa-launcher.has-mascot:hover .nwa-launcher__icon { animation: nwa-wiggle .7s ease-in-out; }
.nwa-launcher.has-mascot:hover .nwa-scoop__fold { animation: nwa-flick 1s ease-in-out infinite; }
.nwa-launcher.has-mascot:hover .nwa-scoop__mouth { animation: nwa-talk .3s ease-in-out 4 alternate; }

.nwa-logo--scoop { display: inline-flex; flex-shrink: 0; }
.nwa-msg--assistant.has-avatar { position: relative; padding-left: 36px; }
.nwa-avatar { position: absolute; left: 0; top: 2px; width: 28px; height: 28px; }
.nwa-msg { animation: nwa-msg-in .28s ease-out both; }

@keyframes nwa-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes nwa-read { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes nwa-lines { 0%, 100% { opacity: .35; transform: scaleX(1); } 50% { opacity: .7; transform: scaleX(.6); } }
@keyframes nwa-talk { from { transform: scaleY(1); fill-opacity: 0; } to { transform: scaleY(1.9); fill-opacity: 1; } }
@keyframes nwa-flick { 0%, 100% { transform: scale(1) rotate(0); } 25% { transform: scale(1.35) rotate(-18deg); } 50% { transform: scale(1) rotate(0); } 75% { transform: scale(1.25) rotate(-12deg); } }
@keyframes nwa-flick-idle { 0%, 84%, 100% { transform: scale(1) rotate(0); } 88% { transform: scale(1.35) rotate(-18deg); } 92% { transform: scale(1) rotate(0); } 95% { transform: scale(1.2) rotate(-10deg); } }
@keyframes nwa-jump { 0% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(0) scale(1.08, .9); } 60% { transform: translateY(-9px) scale(.96, 1.05); } 100% { transform: translateY(0) scale(1, 1); } }
@keyframes nwa-hop { 0%, 86%, 100% { transform: translateY(0) rotate(0); } 89% { transform: translateY(-7px) rotate(-8deg); } 92% { transform: translateY(0) rotate(5deg); } 95% { transform: translateY(-2px) rotate(-2deg); } }
@keyframes nwa-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } }
@keyframes nwa-msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.nwa-scoop *, .nwa-launcher.has-mascot .nwa-launcher__icon, .nwa-msg { animation: none !important; }
}

/* Copy all stats */
.nwa-copy.nwa-copy-all { width: auto; height: auto; margin: 8px 0 0; padding: 5px 10px; gap: 6px; vertical-align: baseline; align-self: flex-start; font: inherit; font-size: 13px; font-weight: 700; color: var(--nwa-ink); }
.nwa-copy.nwa-copy-all[data-tip]::after { left: 0; transform: none; }

/* Page-aware opening line (no second Scoop beside it) */
.nwa-msg--assistant.nwa-intro.has-avatar { padding-left: 36px; }

/* "Ask Scoop about this report" on research pages */
.nwa-ask-report { margin: 12px 0 20px; }
.nwa-ask-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 18px 7px 8px; border: 0; border-radius: 26px; background: var(--nwa-ink, #0d2940); color: #fff; font-family: var(--nwa-font); font-size: 15px; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: normal; cursor: pointer; box-shadow: 0 4px 14px rgba(13,41,64,.18); transition: filter .15s ease, transform .15s ease; }
.nwa-ask-btn:hover { filter: brightness(1.2); transform: translateY(-1px); }
.nwa-ask-btn:focus-visible { outline: 3px solid var(--nwa-accent); outline-offset: 2px; }
.nwa-ask-btn:hover .nwa-scoop__body { animation: nwa-jump .6s ease-out 1; }

/* The nudge above the chat button */
.nwa-nudge { position: relative; display: flex; align-items: flex-start; gap: 4px; max-width: 260px; padding: 12px 8px 12px 16px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--nwa-ink); box-shadow: 0 8px 28px rgba(13,41,64,.2); font-family: var(--nwa-font); animation: nwa-nudge-in .35s cubic-bezier(.2,1.4,.4,1) both; }
.nwa-nudge.is-leaving { animation: nwa-nudge-out .25s ease-in both; }
.nwa-nudge__text { flex: 1; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.35; text-align: left; cursor: pointer; }
.nwa-nudge__text:hover { text-decoration: underline; text-decoration-color: var(--nwa-accent); text-decoration-thickness: 3px; }
.nwa-nudge__close { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -4px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--nwa-muted, #4a5a68); cursor: pointer; }
.nwa-nudge__close:hover { background: var(--nwa-bg, #f1f3f5); color: var(--nwa-ink); }
.nwa-root.is-open .nwa-nudge { display: none; }
@keyframes nwa-nudge-in { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes nwa-nudge-out { to { opacity: 0; transform: translateY(6px) scale(.96); } }

/* Reactions */
.nwa-scoop--happy .nwa-scoop__body { animation: nwa-jump .6s ease-out 2; }
.nwa-scoop--happy .nwa-scoop__eyes { animation: none; transform: scaleY(.45); }
.nwa-scoop--happy .nwa-scoop__fold { animation: nwa-flick 1s ease-in-out .2s 1; }
.nwa-scoop--sad .nwa-scoop__eyes { animation: none; transform: translateY(3px); }
.nwa-scoop--sad .nwa-scoop__mouth { transform-origin: 50% 50%; transform: translateY(6px) scaleY(-.6); transition: transform .3s ease; }
.nwa-scoop--sad .nwa-scoop__body { transform: translateY(2px); transition: transform .3s ease; }

@media (prefers-reduced-motion: reduce) {
	.nwa-nudge, .nwa-nudge.is-leaving, .nwa-ask-btn:hover .nwa-scoop__body { animation: none !important; }
}

/* Always Manrope, at Scoop's own weights and sizes, whatever the theme sets for buttons and body text */
.nwa-root, .nwa-inline, .nwa-search, .nwa-ask-report { font-family: var(--nwa-font) !important; font-weight: 400; }
.nwa-root :is(button, input, textarea, a, p, span, strong, div, li),
.nwa-inline :is(button, input, textarea, a, p, span, strong, div, li),
.nwa-search :is(button, input, textarea, a, p, span, strong, div, li),
.nwa-ask-report :is(button, span) { font-family: var(--nwa-font) !important; letter-spacing: normal !important; text-transform: none !important; }
.nwa-root .nwa-bubble, .nwa-inline .nwa-bubble { font-weight: 400 !important; }
.nwa-root .nwa-bubble strong, .nwa-inline .nwa-bubble strong { font-weight: 800 !important; }
.nwa-root .nwa-launcher__label { font-size: 16px !important; font-weight: 500 !important; }
.nwa-root .nwa-title strong { font-weight: 800 !important; }
.nwa-root .nwa-text-btn, .nwa-inline .nwa-text-btn, .nwa-search .nwa-text-btn { font-size: 14px !important; font-weight: 600 !important; }
.nwa-root .nwa-chip, .nwa-inline .nwa-chip { font-size: 14px !important; font-weight: 500 !important; }
.nwa-root .nwa-input, .nwa-inline .nwa-input { font-size: 15px !important; font-weight: 400 !important; }
.nwa-root .nwa-disclaimer, .nwa-inline .nwa-disclaimer, .nwa-search .nwa-disclaimer { font-size: 11px !important; font-weight: 400 !important; }
.nwa-root .nwa-nudge__text { font-size: 16px !important; font-weight: 400 !important; line-height: 1.45 !important; }
.nwa-root .nwa-copy-all, .nwa-inline .nwa-copy-all { font-size: 13px !important; font-weight: 700 !important; }
.nwa-root .nwa-feedback__input, .nwa-inline .nwa-feedback__input { font-size: 13px !important; font-weight: 400 !important; }
.nwa-ask-report .nwa-ask-btn { font-size: 15px !important; font-weight: 700 !important; }

/* Graduation cap on the Academy pages */
.nwa-scoop__tassel { transform-origin: 2% 2%; animation: nwa-tassel 4s ease-in-out infinite; }
@keyframes nwa-tassel { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(8deg); } 86% { transform: rotate(-5deg); } 93% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .nwa-scoop__tassel { animation: none !important; } }

/* Trophy and confetti on the awards pages */
.nwa-scoop__confetti > * { animation: nwa-confetti 2.8s ease-in-out infinite; }
.nwa-scoop__confetti > :nth-child(2) { animation-delay: -.5s; }
.nwa-scoop__confetti > :nth-child(3) { animation-delay: -1.1s; }
.nwa-scoop__confetti > :nth-child(4) { animation-delay: -1.7s; }
.nwa-scoop__confetti > :nth-child(5) { animation-delay: -2.2s; }
.nwa-scoop__confetti > :nth-child(6) { animation-delay: -.8s; }
.nwa-scoop__star { transform-origin: center; animation: nwa-star 2.4s ease-in-out infinite; }
@keyframes nwa-confetti { 0%, 100% { translate: 0 0; } 50% { translate: 0 2.5px; } }
.nwa-scoop--trophy .nwa-scoop__mouth { fill-opacity: 1; }
@keyframes nwa-star { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .nwa-scoop__confetti > *, .nwa-scoop__star { animation: none !important; } }
/* Pieces drawn with their own rotation keep the drawing's coordinates */
.nwa-scoop .nwa-scoop__cap, .nwa-scoop .nwa-scoop__confetti > * { transform-box: view-box; }
