/* Case-first presentation: a stable product frame, concrete requests and results. */
.case-section { background:#fff; overflow:hidden; }
.case-heading { text-align:center; max-width:none; margin:0 auto 48px; }
.case-heading>h2 { max-width:none; }
.case-showcase { max-width:1040px; margin:auto; }
.case-showcase .v3-search-demo { margin:0; border-radius:24px; border:1px solid #e4e8ed; background:#fff; box-shadow:0 24px 64px -24px #20365126,0 2px 8px #20365105; overflow:hidden; }
.case-appbar { height:64px; display:flex; align-items:center; justify-content:space-between; padding:0 32px; border-bottom:1px solid #eef0f4; background:#fbfcfe; color:#8b95a1; font-size:12px; }
.case-app-brand { display:flex; gap:8px; align-items:center; color:#202329; font-size:17px; }
.case-app-brand strong { font-weight:650; }
.case-showcase .v3-search-body { display:grid; padding:32px 36px 36px; }
.case-showcase [role="tabpanel"] { grid-area:1/1; min-width:0; }
.case-showcase [role="tabpanel"]:not([hidden]) { animation:case-appear .35s ease both; }
.case-showcase [role="tabpanel"][hidden] { display:block !important; visibility:hidden; pointer-events:none; }
.case-showcase .v3-question { max-width:690px; width:fit-content; margin:0 0 0 auto; padding:14px 20px; color:#1c4a86; background:#eaf2ff; border-radius:18px 18px 5px 18px; border:0; font-size:17px; font-weight:500; line-height:1.55; }
.case-showcase .v3-answer-grid { margin-top:26px; grid-template-columns:minmax(0,1fr) 238px; gap:32px; }
.case-showcase .v3-answer-brand { margin-bottom:14px; }
.case-showcase .v3-answer>p { font-size:16px; line-height:1.65; }
.case-showcase .v3-answer>p.v3-answer-detail { font-size:14px; line-height:1.6; color:#737981; margin-top:16px; }
.case-showcase .v3-table-scroll { margin-top:20px; }
.case-showcase .v3-table-scroll th,.case-showcase .v3-table-scroll td { padding:12px 14px; font-size:14px; line-height:1.5; }
.case-showcase .v3-sources { border-left:1px solid #eef0f4; padding-left:24px; }
.case-showcase .v3-sources h3 { font-size:12px; color:#8b95a1; }
.case-showcase .v3-sources button { box-shadow:none; border-radius:12px; padding:13px 14px; background:#f7f9fc; border:1px solid #edf0f5; }
.case-showcase .v3-sources strong { font-size:14px; }
.case-showcase .v3-sources small,.case-showcase .v3-sources button>span { font-size:12px; }
.case-controls { display:flex; align-items:center; gap:12px; margin-top:30px; }
.case-controls .v3-tabs { flex:1; min-width:0; justify-content:center; gap:10px; padding:0; border:0; overflow-x:auto; scrollbar-width:none; }
.case-controls .v3-tabs::-webkit-scrollbar { display:none; }
.case-controls .v3-tabs button { isolation:isolate; flex:none; display:flex; align-items:center; justify-content:center; gap:8px; position:relative; overflow:hidden; padding:15px 18px; border:1px solid #e9edf2; background:#f7f8fa; border-radius:100px; font-size:16px; color:#737981; font-weight:600; line-height:1.4; white-space:nowrap; transition:color .2s,background .2s,box-shadow .2s; }
.case-controls .v3-tabs button::after { display:none; }
.case-controls .v3-tabs button svg { width:21px; height:21px; color:currentColor; flex:none; }
.case-controls .v3-tabs button[aria-selected="true"] { color:#245cae; background:#fff; border-color:#dce6f4; box-shadow:0 4px 12px #2449760c; }
.case-controls .v3-tabs button>i { position:absolute; inset:0; z-index:-1; background:#eaf2ff; transform:scaleX(var(--case-progress,0)); transform-origin:left; pointer-events:none; }
.case-pause { display:grid; place-items:center; flex:none; width:48px; height:48px; padding:0; color:#737981; border:1px solid #e9edf2; border-radius:50%; background:#fff; cursor:pointer; }
.case-pause:hover { color:#245cae; background:#f2f6fd; }
.case-pause svg { width:18px; height:18px; stroke-width:2.5!important; }
.case-pause[aria-pressed="true"] svg { display:none; }
.case-pause[aria-pressed="true"]::before { content:''; width:0; height:0; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:9px solid currentColor; margin-left:3px; }
.case-controls button:focus-visible { outline:3px solid #91bcff; outline-offset:3px; }
@media(prefers-reduced-motion:no-preference) {
  .case-showcase [role="tabpanel"]:not([hidden]) .v3-question { animation:case-rise .45s cubic-bezier(.2,.8,.2,1) both; }
  .case-showcase [role="tabpanel"]:not([hidden]) .v3-answer-brand,
  .case-showcase [role="tabpanel"]:not([hidden]) .v3-answer>p:first-of-type { animation:case-rise .55s .55s cubic-bezier(.2,.8,.2,1) both; }
  .case-showcase [role="tabpanel"]:not([hidden]) .v3-table-scroll { animation:case-rise .55s 1s cubic-bezier(.2,.8,.2,1) both; }
  .case-showcase [role="tabpanel"]:not([hidden]) .v3-answer-detail,
  .case-showcase [role="tabpanel"]:not([hidden]) .v3-sources { animation:case-rise .55s 1.35s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes case-appear { from { opacity:0; } to { opacity:1; } }
@keyframes case-rise { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:900px) {
  .case-controls .v3-tabs { justify-content:flex-start; }
  .case-controls .v3-tabs button { font-size:14px; padding:14px; }
  .case-showcase .v3-search-body { padding:28px; }
  .case-showcase .v3-answer-grid { grid-template-columns:minmax(0,1fr) 210px; gap:24px; }
  .case-showcase .v3-sources { padding-left:20px; }
}
@media(max-width:760px) {
  .case-heading { margin-bottom:32px; }
  .case-showcase .v3-answer-grid { grid-template-columns:1fr; gap:24px; }
  .case-showcase .v3-sources { border-left:0; border-top:1px solid #eef0f4; padding:18px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .case-showcase .v3-sources h3 { grid-column:1/-1; margin:0 0 2px; }
  .case-showcase .v3-sources .inline-action { grid-column:1/-1; }
}
@media(max-width:560px) {
  .case-section .container { width:calc(100% - 32px); }
  .case-heading>h2 { font-size:29px; letter-spacing:-.025em; }
  .case-heading>.eyebrow { font-size:13px; margin-bottom:16px; }
  .case-showcase .v3-search-demo { border-radius:18px; }
  .case-appbar { padding:0 20px; height:54px; }
  .case-app-brand { font-size:16px; }
  .case-app-brand img { width:22px; height:22px; }
  .case-showcase .v3-search-body { padding:22px 20px 26px; }
  .case-showcase .v3-question { font-size:15px; padding:12px 15px; max-width:100%; border-radius:16px 16px 4px 16px; }
  .case-showcase .v3-answer>p { font-size:15px; line-height:1.65; }
  .case-showcase .v3-answer>p.v3-answer-detail { font-size:13px; }
  .case-showcase .v3-table-scroll th,.case-showcase .v3-table-scroll td { font-size:12px; padding:10px 8px; }
  .case-showcase .v3-table-scroll td:first-child { font-size:11px; }
  .case-showcase .v3-sources button { padding:12px; }
  .case-showcase .v3-sources strong { font-size:13px; }
  .case-showcase .v3-sources small { font-size:11px; }
  .case-controls { margin-top:22px; gap:8px; }
  .case-controls .v3-tabs { gap:8px; padding:3px 0; }
  .case-controls .v3-tabs button { font-size:14px; padding:12px 14px; }
  .case-controls .v3-tabs button svg { width:18px; height:18px; }
  .case-pause { width:42px; height:42px; }
}
@media(prefers-reduced-motion:reduce) {
  .case-showcase * { animation:none!important; transition:none!important; }
}
