/* Agent outcomes in a familiar mail window. */
.outcome-section .shead { display:block; max-width:none; margin-bottom:30px; }
.outcome-section .shead h2 { margin-bottom:16px; }
.outcomes { overflow:hidden; border:1px solid #d5dce6; border-radius:16px; background:#f4f6fa; box-shadow:0 22px 55px rgba(24,42,66,.08); }
.outcomes__chrome { position:relative; display:flex; align-items:center; justify-content:center; padding:16px 22px; background:#fff; border-bottom:1px solid #dde3eb; min-height:56px; color:#47556a; font-size:12px; }
.outcomes__chrome > span { display:flex; align-items:center; gap:8px; font-weight:700; }
.outcomes__dots { position:absolute; left:22px; display:flex; gap:6px; }
.outcomes__dots i { width:8px; height:8px; border-radius:50%; background:#ea796f; }
.outcomes__dots i:nth-child(2) { background:#edbe63; }
.outcomes__dots i:nth-child(3) { background:#78b880; }
.outcomes__layout { display:grid; grid-template-columns:144px 228px minmax(0,1fr); }
.outcomes__sidebar { background:linear-gradient(160deg,#303238,#24262b); color:#fff; padding:28px 12px; font-size:12px; }
.outcomes__owner { display:flex; align-items:center; gap:8px; margin-bottom:30px; padding:0 5px; font-weight:700; }
.outcomes__owner b { display:grid; place-items:center; width:26px; height:26px; border:1px solid #62656d; border-radius:50%; background:#41434a; font-size:12px; }
.outcomes__nav { display:flex; align-items:center; gap:8px; padding:11px 8px; margin-bottom:4px; color:#c9cbd2; border-radius:7px; }
.outcomes__nav svg { width:15px; height:15px; }
.outcomes__nav--active { background:#464951; color:#fff; }
.outcomes__sidebar-note { font-size:12px; line-height:1.6; margin-top:28px; padding:0 8px; color:#c9cbd2; }
.outcomes__list { background:#fff; border-right:1px solid #e0e5ed; padding:20px 12px; min-width:0; }
.outcomes__list-title { margin:0 10px 18px; color:#5c6980; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.outcomes__tab { width:100%; display:flex; align-items:center; gap:10px; min-height:60px; padding:12px 10px; margin-bottom:7px; text-align:left; color:#202b3d; background:transparent; border:1px solid transparent; border-radius:9px; cursor:pointer; font:inherit; transition:background .25s ease,border-color .25s ease; }
.outcomes__tab[aria-selected="true"] { background:#edf3fc; border-color:#d8e4f5; }
.outcomes__tab:hover { background:#f2f5fa; }
.outcomes__tab[aria-selected="true"]:hover { background:#e6effd; }
.outcomes__tab:focus-visible,.outcomes__panel:focus-visible { outline:3px solid #2a5b9f; outline-offset:3px; }
.outcomes__tab-mark { display:grid; place-items:center; flex:none; width:29px; height:29px; border-radius:8px; color:#315c96; background:#eaf0f8; }
.outcomes__tab-mark svg { width:17px; height:17px; }
.outcomes__tab strong { display:block; font-size:12px; line-height:1.4; font-weight:700; }
.outcomes__detail { padding:30px; min-width:0; background:linear-gradient(140deg,#fbfcfe,#f1f4f8); }
.outcomes__panel[hidden] { display:none; }
.outcomes__panel { min-height:360px; }
.outcomes__panel h3 { font-size:clamp(23px,2.25vw,29px); line-height:1.22; letter-spacing:-.025em; color:#182538; margin:0; }
.work-flow { display:grid; grid-template-columns:minmax(0,1fr) 126px minmax(0,1fr); gap:18px; align-items:start; position:relative; margin:42px 0 24px; }
.work-flow::before { content:''; position:absolute; height:0; top:74px; left:15%; right:15%; border-top:2px dashed #cbdaf0; }
.work-node,.work-agent { position:relative; display:flex; flex-direction:column; align-items:center; gap:9px; text-align:center; }
.work-picture { display:grid; place-items:center; height:176px; width:100%; }
.work-agent > span { font-size:12px; line-height:1.4; font-weight:600; color:#51637d; }
.work-agent__orb { margin-top:39px; display:grid; place-items:center; width:72px; height:72px; border-radius:50%; color:#fff; background:linear-gradient(145deg,#4b77c2,#5d68ca); box-shadow:0 0 0 7px #e9effb,0 10px 25px rgba(65,91,160,.14); }
.work-agent__orb > svg { width:33px; height:33px; stroke-width:1.5; }
.scene-receipt,.scene-mail,.scene-confirmation,.scene-draft,.scene-inbox,.scene-deadline { width:100%; max-width:174px; min-height:154px; padding:16px; border:1px solid #dce5f1; border-radius:11px; background:#fff; box-shadow:0 12px 22px rgba(40,69,109,.08); color:#314663; font-size:12px; line-height:1.45; }
.scene-receipt { transform:rotate(-4deg); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.scene-receipt > span { color:#536984; }
.scene-receipt > strong { font-size:32px; font-weight:700; margin:14px 0 8px; color:#223b5b; }
.scene-receipt small { display:block; font-size:12px; font-weight:400; }
.scene-months { display:flex; gap:6px; margin-top:8px; }
.scene-months i { display:block; width:22px; height:6px; background:#bed0e9; border-radius:3px; }
.scene-attachment { display:flex; align-items:center; gap:4px; background:#edf3fc; padding:4px 8px; border-radius:4px; font-size:12px; }
.scene-attachment svg { width:15px; height:15px; }
.scene-mail { text-align:left; transform:rotate(-3deg); display:flex; flex-direction:column; justify-content:center; gap:8px; }
.scene-mail > svg { width:25px; height:25px; color:#5c7da6; }
.scene-avatar { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#e3eefb; color:#315886; }
.scene-mail strong { font-size:14px; }
.scene-mail p { margin:0; font-size:12px; line-height:1.5; }
.scene-mail--suspect { background:#fff8f5; border-color:#eed9cf; }
.scene-mail--suspect > svg { color:#aa5736; }
.scene-fake-link { height:8px; width:68%; border-radius:3px; background:#e4b39c; }
.scene-confirmation { padding:0 12px 14px; display:flex; flex-direction:column; align-items:center; gap:7px; border-color:#cde4d6; }
.scene-browser-bar { align-self:stretch; margin:0 -12px 8px; display:flex; gap:4px; padding:10px; background:#f8fbf9; border-bottom:1px solid #e0ebe3; border-radius:10px 10px 0 0; }
.scene-browser-bar i { width:4px; height:4px; border-radius:50%; background:#bdd0c4; }
.scene-check { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#e4f2e9; color:#2d7651; }
.scene-check svg { width:23px; height:23px; }
.scene-confirmation strong { color:#286548; font-size:16px; }
.scene-confirmation > span:last-child { color:#42624f; }
.scene-draft { text-align:left; display:flex; flex-direction:column; justify-content:space-between; gap:9px; }
.scene-draft > span { color:#536984; }
.scene-draft > p { margin:0; line-height:1.6; font-size:14px; color:#283e5c; }
.scene-draft > b { display:block; border-radius:5px; padding:5px 7px; background:#fff2df; color:#815017; font-size:12px; font-weight:600; }
.scene-folder { position:relative; width:150px; max-width:100%; display:flex; flex-direction:column; align-items:center; gap:4px; color:#355d91; font-size:12px; }
.scene-folder > svg { width:100%; height:100px; }
.scene-folder .scene-check { position:absolute; right:3px; top:66px; border:3px solid #f5f7fb; }
.scene-folder strong { font-size:14px; }
.scene-inbox { padding:12px; text-align:left; }
.scene-inbox > div { display:flex; gap:6px; align-items:center; margin-bottom:9px; }
.scene-inbox svg { width:17px; height:17px; }
.scene-inbox > span { display:block; font-size:12px; padding:7px 0; border-top:1px solid #e5ebf4; }
.scene-inbox > b { display:flex; gap:4px; align-items:center; margin-top:8px; color:#2e6c4b; font-size:12px; font-weight:600; }
.scene-deadline { display:flex; flex-direction:column; align-items:center; padding:0 10px 10px; }
.scene-deadline > div { align-self:stretch; background:#d8e6f7; color:#335784; margin:0 -10px 4px; padding:8px; border-radius:10px 10px 0 0; font-weight:700; }
.scene-deadline > strong { font-size:39px; line-height:1.2; color:#294d7c; }
.scene-deadline > b { margin-top:9px; display:flex; align-items:center; gap:4px; color:#815017; font-size:12px; font-weight:600; }
.scene-deadline svg { width:15px; height:15px; }
.outcomes__resolution { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:28px; padding-top:20px; border-top:1px solid #dde5ef; font-size:13px; line-height:1.5; }
.outcomes__reply { color:#304e77; padding:9px 12px; border:1px solid #d9e4f4; border-radius:9px; background:#eaf1fc; }
.outcomes__next { width:17px; height:17px; color:#7085a3; flex:none; }
.outcomes__confirmed { display:flex; align-items:center; gap:7px; color:#286548; font-weight:600; }
.outcomes__confirmed svg { width:22px; height:22px; padding:3px; border-radius:50%; background:#e4f2e9; flex:none; }
.outcomes__provider { margin:10px 0 0; font-size:12px; line-height:1.5; color:#526780; }
.outcomes__foot { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 22px; background:#fff; border-top:1px solid #dfe5ee; color:#52647e; font-size:12px; line-height:1.6; }
.outcomes__foot a { color:#23477f; font-weight:700; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; min-height:24px; display:inline-flex; align-items:center; }
@media(max-width:1100px) {
 .outcomes__layout { grid-template-columns:204px minmax(0,1fr); }
 .outcomes__sidebar { display:none; }
 .outcomes__detail { padding:26px; }
 .work-flow { gap:12px; grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr); }
 .scene-receipt,.scene-mail,.scene-confirmation,.scene-draft,.scene-inbox,.scene-deadline { padding-left:12px; padding-right:12px; }
}
@media(max-width:760px) {
 .outcome-section .shead { margin-bottom:24px; }
 .outcomes__layout { display:flex; flex-direction:column; }
 .outcomes__list { border-right:0; border-bottom:1px solid #dfe5ee; padding:16px; }
 .outcomes__list-title { margin:0 0 10px; }
 .outcomes__tabs { display:flex; overflow-x:auto; gap:7px; padding:3px 1px 8px; scrollbar-width:thin; }
 .outcomes__tab { flex:0 0 auto; width:auto; margin:0; padding:9px 12px; gap:7px; border-color:#dfe5ee; min-height:47px; }
 .outcomes__tab-mark { width:22px; height:22px; border-radius:6px; }
 .outcomes__tab-mark svg { width:13px; height:13px; }
 .outcomes__detail { padding:23px 14px; }
 .outcomes__panel { min-height:280px; }
 .outcomes__panel h3 { font-size:23px; }
 .outcomes__resolution { display:grid; grid-template-columns:17px minmax(0,1fr); font-size:12px; gap:9px; margin-top:16px; padding-top:16px; }
 .outcomes__reply { grid-column:1/-1; justify-self:start; }
 .outcomes__reply { padding:7px 8px; }
 .work-flow { grid-template-columns:minmax(0,1fr) 74px minmax(0,1fr); gap:8px; margin:28px 0 16px; }
 .work-flow::before { top:57px; }
 .work-picture { height:154px; }
 .work-agent__orb { margin-top:32px; width:50px; height:50px; box-shadow:0 0 0 5px #e9effb,0 8px 20px rgba(65,91,160,.12); }
 .work-agent__orb > svg { width:25px; height:25px; }
 .scene-receipt,.scene-mail,.scene-confirmation,.scene-draft,.scene-inbox,.scene-deadline { padding:10px 8px; min-height:133px; }
 .scene-receipt > strong { font-size:25px; margin:10px 0 6px; }
 .scene-mail strong,.scene-draft > p,.scene-folder strong { font-size:12px; }
 .scene-draft > b { padding:3px 4px; }
 .scene-confirmation { padding-top:0; }
 .scene-browser-bar { margin:0 -8px 3px; }
 .scene-check { width:28px; height:28px; }
 .scene-check svg { width:18px; height:18px; }
 .scene-confirmation strong { font-size:13px; }
 .scene-folder > svg { height:79px; }
 .scene-folder .scene-check { top:53px; right:0; border-width:2px; }
 .scene-inbox > div,.scene-inbox > b { flex-wrap:wrap; gap:3px; }
 .scene-deadline { padding-top:0; }
 .scene-deadline > div { margin:0 -8px 4px; padding:6px; }
 .scene-deadline > strong { font-size:30px; }
 .scene-deadline > b { flex-wrap:wrap; justify-content:center; }
 .outcomes__chrome { padding:15px; }
 .outcomes__dots { left:15px; }
 .outcomes__foot { display:flex; flex-wrap:wrap; gap:9px; padding:16px; }
}
@media(prefers-reduced-motion:no-preference) {
 .outcomes__panel { animation:outcome-in .55s cubic-bezier(.22,1,.36,1) both; }
 @keyframes outcome-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
}
@media(prefers-reduced-motion:reduce) { .outcomes__tab { transition:none; } }
