.case-picker-hint{font-size:17px;line-height:1.6;font-weight:500;margin:0 0 12px}
.case-picker-hint strong{color:var(--orange);font-weight:700}
.case-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:650px;gap:12px;padding-bottom:20px;margin-bottom:24px}
.case-tabs button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:112px;padding:13px 10px;border:2px solid #c88d64;border-bottom-width:4px;border-radius:10px;background:#fffaf2;box-shadow:0 2px 0 #d6b48f;color:var(--ink);cursor:pointer;transition:background .18s,transform .18s,box-shadow .18s}
.case-tab-label{font-size:18px;font-weight:700;line-height:1.45;white-space:nowrap}
.case-tab-action{font-size:14px;font-weight:700;line-height:1.3;color:var(--orange);border-bottom:1px solid currentColor;padding-bottom:1px}
.case-tabs button[aria-selected=true]{background:var(--orange);border-color:var(--orange);box-shadow:none}
.case-tabs button[aria-selected=true] .case-tab-action{color:#fffaf2;border-bottom-color:transparent}
.case-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:-12px;left:calc(50% - 8px);width:16px;height:10px;background:var(--orange);clip-path:polygon(0 0,100% 0,50% 100%)}
.case-tabs button:hover{box-shadow:0 3px 0 #c49b73}
.case-tabs button:not([aria-selected=true]):hover{background:#fff0cd}
.case-tabs button:active{transform:translateY(2px);box-shadow:none}
.case-tabs button:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.line-bubble.from-milestone{align-self:center;max-width:100%;padding:5px 13px;margin:6px 0;border-radius:18px;background:#ffffffa6;color:#34485c;font-size:14px;line-height:1.5;text-align:center}
@media(max-width:800px){
  .case-picker-hint{font-size:16px;margin-bottom:12px}
  .case-tabs{gap:8px;padding-bottom:18px;margin-bottom:20px}
  .case-tabs button{padding:11px 5px;min-height:101px;gap:9px;border-radius:8px}
  .case-tab-label{font-size:16px;line-height:1.4}
}
@media(prefers-reduced-motion:reduce){.case-tabs button{transition:none}}
