/* AMOY result atelier. Presentation only: no inferred priorities or action states. */
.assistant-result{--result-ink:#f4f0eb;--result-muted:#c0c7d6;--result-line:#ffffff21;--result-accent:#d5c2ee;color:var(--result-ink)}
.conversation-screen.result-open .conversation-inner{width:min(1040px,100%)}
.conversation-screen.result-open .assistant-result{position:relative;isolation:isolate;background:linear-gradient(140deg,#1a2337,#111b2d 64%);border:1px solid #6d64844d;border-radius:24px;padding:clamp(22px,4vw,42px);box-shadow:0 18px 65px #00000024}
.conversation-screen.result-open .assistant-result:before{content:"";position:absolute;pointer-events:none;inset:0 12% auto;height:1px;background:linear-gradient(90deg,transparent,#d9c6df90,transparent)}
.result-view-header{padding:8px 2px 14px;font-size:12px;letter-spacing:.08em}
.result-view-header>span{text-transform:uppercase;color:#cbc3d8}
.result-view-header button{letter-spacing:0;border-color:#69647d70;background:#1a2334;font-size:13px}
.assistant-result .assistant-result-head{gap:24px;margin-bottom:22px}
.assistant-result .assistant-result-kicker{font-size:10px;line-height:1.6;letter-spacing:.16em;font-weight:700;color:#d6c1e6}
.assistant-result .assistant-result-head h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(29px,4vw,44px);line-height:1.14;letter-spacing:-.025em;color:#fff1e4;margin:12px 0 0;max-width:26ch;overflow-wrap:anywhere;text-wrap:balance}
.result-brief-head>div{min-width:0}
.result-brief-mark{flex:none;color:#ddcbe8a8;font:italic 40px/1 Georgia,serif;padding-top:4px;user-select:none}
.result-evidence-strip{display:flex;gap:8px 16px;flex-wrap:wrap;align-items:center;padding:0 0 20px;margin-bottom:22px;border-bottom:1px solid var(--result-line);color:var(--result-muted);font-size:12px;line-height:1.4}
.result-evidence-strip>span:first-child{color:#d8c9e9}
.result-evidence-strip>span+span:before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:#858196;vertical-align:middle;margin-right:16px}
.assistant-result .assistant-result-text{color:#e6e9f1;line-height:1.75;font-size:16px;margin-top:0;white-space:normal}
.assistant-result .answer-structured{max-width:none}
.assistant-result .answer-structured>p{max-width:75ch;margin:1em 0}
.assistant-result .answer-structured>p:first-child{font-size:1.08em;line-height:1.7;color:#f4f0eb}
.assistant-result .answer-structured :is(h3,h4,h5,h6){margin:1.8em 0 .7em;letter-spacing:-.01em;font-size:1.1em;color:#f7eee5}
.assistant-result .answer-structured>ul{padding:0;list-style:none;display:grid;gap:10px;margin:20px 0}
.assistant-result .answer-structured>ul>li{position:relative;margin:0;padding:16px 18px 16px 32px;border:1px solid var(--result-line);background:#ffffff04;border-radius:14px;line-height:1.65}
.assistant-result .answer-structured>ul>li:before{content:"";position:absolute;top:26px;left:17px;width:4px;height:4px;border-radius:50%;background:#c4a9db}
.assistant-result .answer-structured>ol{padding-left:1.8em;margin:22px 0}
.assistant-result .answer-structured>ol>li{padding:7px 0 13px 9px;border-bottom:1px solid #ffffff12}
.assistant-result .answer-structured>ol>li::marker{color:#d5c2ee;font-weight:700}
.assistant-result .answer-table-scroll{margin:26px 0;border-color:var(--result-line);border-radius:16px;background:#0c15232e}
.assistant-result .answer-table{font-size:.92em;line-height:1.55}
.assistant-result .answer-table th{background:#d3bce80c;color:#e4d4ef;font-size:.8em;text-transform:uppercase;letter-spacing:.09em;padding:17px 18px}
.assistant-result .answer-table td{padding:19px 18px;border-color:#ffffff16}
.assistant-result .answer-table tr:nth-child(even){background:#ffffff03}
.assistant-result .answer-table td:first-child{font-weight:650;color:#faf1e8}
.answer-comparison-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:16px;margin:26px 0}
.answer-option-card{min-width:0;border:1px solid #b7a1cd35;border-radius:18px;background:linear-gradient(150deg,#d2bce80b,#ffffff02);padding:22px;overflow-wrap:anywhere}
.answer-option-heading{display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid var(--result-line);padding-bottom:19px;margin-bottom:18px}
.answer-option-number{flex:none;color:#d7c3e5;font:400 15px/1.4 Georgia,serif;padding-top:2px}
.answer-option-label{font-size:10px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:#b9b1c6;display:block;margin-bottom:5px}
.assistant-result .answer-option-card h3{font:400 25px/1.2 Georgia,'Times New Roman',serif;color:#fff1e4;margin:0;letter-spacing:-.02em}
.answer-option-card dl{display:grid;gap:17px;margin:0}
.answer-option-card dt{font-size:11px;line-height:1.5;font-weight:650;color:#b7c1d4;margin:0 0 4px}
.answer-option-card dd{font-size:14px;line-height:1.65;color:#ececf3;margin:0}
.assistant-result .assistant-result-sources{list-style:decimal;padding:0 0 0 22px;margin:12px 0 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px 32px}
.assistant-result .assistant-result-sources li{padding:11px 0;margin:0;min-width:0;line-height:1.55;font-size:13px}
.assistant-result .assistant-result-sources li::marker{color:#aaa0bc;font-size:11px}
.result-source-domain{display:block;color:#b4bdd0;font-size:10px;letter-spacing:.06em;margin-bottom:5px;overflow-wrap:anywhere}
.assistant-result :is(.assistant-result-sources a,.assistant-result-text a){color:#d7c6f1;text-decoration-color:#d7c6f178;text-underline-offset:3px}
.assistant-result :is(.assistant-result-sources a,.assistant-result-text a):hover{color:#fff;text-decoration-color:currentColor}
.assistant-result .reply-source-details{border-top:1px solid var(--result-line);margin-top:26px;padding-top:6px}
.assistant-result .reply-source-details>summary{min-height:48px;font-size:13px;color:#ddd3e9;gap:10px}
.assistant-result .reply-source-details>summary:after{content:"+";margin-left:auto;font:20px/1 Georgia,serif;color:#c9b7dc}
.assistant-result .reply-source-details[open]>summary:after{content:"−"}
.assistant-result .result-freshness{display:block;margin-top:12px;color:#aebbd0;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.result-coverage{font-size:12px;color:#bdc7db;margin:14px 0}
.result-coverage>summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.result-coverage>summary:before{content:"+";margin-right:9px;color:#d5c2ee}
.result-coverage[open]>summary:before{content:"−"}
.assistant-result .assistant-result-missing{border:1px solid #d3b87940;border-radius:16px;background:#d6ad5c09;color:#e9d9ba;padding:18px 20px;margin-top:24px;font-size:13px;line-height:1.65}
.result-next-step-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#f1dfbd}
.result-next-step-head>b{font-size:14px}
.result-next-step-head>span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;border:1px solid #d3b87940;border-radius:6px;padding:3px 7px}
.result-next-step p{margin:10px 0 0}
.result-needed-details{margin:12px 0 0;padding-left:18px}
.result-needed-details li{padding:2px 0}
.assistant-result .assistant-result-actions{gap:10px;margin-top:24px;align-items:center}
.assistant-result .assistant-result-actions :is(button,a){min-height:44px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;font:650 12px/1.35 'DM Sans',sans-serif;border:1px solid #9385ab60;border-radius:10px;background:#ffffff05;color:#e5dcee;cursor:pointer;text-align:center;overflow-wrap:anywhere}
.assistant-result .assistant-result-actions .primary{background:#d5c0e7;color:#171b2b;border-color:#d5c0e7}
.assistant-result .assistant-result-actions :is(button,a):hover{border-color:#d5c0e7;background:#ffffff0d}
.assistant-result .assistant-result-actions .primary:hover{background:#e2d1ef;color:#171b2b}
.assistant-result :is(button,a,summary,[tabindex]):focus-visible{outline:2px solid #e6cafb;outline-offset:4px}
.assistant-result .assistant-result-summary{color:#d9dfec;font-size:16px;line-height:1.7}
.assistant-result .assistant-result-list{gap:12px;margin-top:26px}
.assistant-result .assistant-result-item{background:#ffffff04;border:1px solid var(--result-line);border-radius:15px;padding:17px;gap:16px;min-width:0}
.assistant-result .assistant-result-item b{font-size:15px;color:#f3eee9;line-height:1.4}
.assistant-result .assistant-result-item small{color:#bdc7db;font-size:12px;line-height:1.6;margin-top:6px}
.assistant-result .assistant-result-check{border:1px solid #ac92c759;background:#c8acdf0e;color:#d7c2e9;border-radius:10px;min-height:44px;min-width:44px;font-size:14px}
.assistant-result .assistant-result-count{border:1px solid #bcacd03b;background:#ffffff04;color:#d5c8e0;font-size:11px;line-height:1.5;padding:7px 10px;border-radius:9px}
.assistant-result .assistant-result-lock{color:#e8d0a0;border-color:#d3b87940;background:#d6ad5c09}
.assistant-result .photo-result-grid{gap:18px;margin-top:24px}
.assistant-result .photo-result-grid figure{border:1px solid var(--result-line);border-radius:16px;overflow:hidden;background:#ffffff03}
.assistant-result .photo-result-grid img{border-radius:0}
.assistant-result .photo-result-grid figcaption{padding:16px;font-size:12px;line-height:1.6}
.assistant-result .weather-answer{padding:clamp(18px,3vw,28px);border:1px solid #aec8ec30;background:radial-gradient(ellipse at 90% 0,#6f8c9f30,transparent 60%),linear-gradient(140deg,#1c374d,#14283d);border-radius:18px}
.assistant-result .weather-answer .assistant-result-head h2{color:#f5f3ed;font-size:clamp(27px,4vw,38px)}
.assistant-result .weather-answer-now>strong{font-family:Georgia,serif;font-weight:400;font-size:64px;letter-spacing:-.05em}
.assistant-result :is(.weather-day,.weather-hour){background:#ffffff05;border-color:#cfddf225;border-radius:13px;gap:10px;padding:16px 10px}
.assistant-result :is(.weather-day,.weather-hour)>b{font-size:12px}
.assistant-result :is(.weather-day,.weather-hour)>strong{font-weight:500}
@media(min-width:900px){.assistant-result .answer-comparison-cards:has(>.answer-option-card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.conversation-screen.result-open .assistant-result{padding:23px 18px;border-radius:19px}.assistant-result .assistant-result-head{gap:12px;margin-bottom:19px}.result-brief-mark{font-size:30px}.assistant-result .assistant-result-head h2{font-size:30px;line-height:1.18}.assistant-result .assistant-result-text{font-size:15px}.result-evidence-strip{margin-bottom:19px;padding-bottom:17px}.answer-comparison-cards{grid-template-columns:1fr;gap:12px;margin:22px 0}.answer-option-card{padding:20px}.answer-option-card dl{grid-template-columns:1fr;gap:13px}.assistant-result .assistant-result-sources{grid-template-columns:1fr;gap:0}.assistant-result .assistant-result-actions :is(button,a){flex:1;min-width:120px}.assistant-result .assistant-result-item{padding:14px;gap:12px;grid-template-columns:44px minmax(0,1fr)}.assistant-result .assistant-result-missing{padding:16px}.assistant-result .weather-answer-now>strong{font-size:53px}.assistant-result .weather-answer .assistant-result-head{display:grid}.assistant-result .weather-answer-now{justify-content:start}.assistant-result .answer-structured>ul>li{padding:14px 14px 14px 29px}.assistant-result .answer-structured>ul>li:before{left:15px;top:24px}}
@media(prefers-reduced-motion:reduce){.assistant-result-updated{animation:none!important}.assistant-result *{scroll-behavior:auto!important}}
html.large-text .assistant-result .assistant-result-text{font-size:1.25rem}
html.high-contrast .assistant-result{--result-ink:#fff;--result-muted:#fff;--result-line:#fff;--result-accent:#fff}
html.high-contrast .conversation-screen.result-open .assistant-result,html.high-contrast .assistant-result :is(.answer-option-card,.assistant-result-missing,.assistant-result-item,.weather-answer,.weather-day,.weather-hour,.assistant-result-actions button,.assistant-result-actions a){background:#000;border:2px solid #fff;color:#fff}
html.high-contrast .assistant-result :is(h2,h3,p,small,span,a,dt,dd,summary,b,strong,li){color:#fff}
html.high-contrast .assistant-result :is(button,a,summary,[tabindex]):focus-visible{outline-color:#ff0}
@media(forced-colors:active){.assistant-result :is(.answer-option-card,.assistant-result-missing,.assistant-result-item,.weather-answer){border:1px solid CanvasText}.result-brief-mark{display:none}}

/* A responsibility brief is an actionable record, not a completion claim. */
.responsibility-card{padding:24px;border:1px solid #c9b5dd30;border-radius:18px;background:linear-gradient(145deg,#1b273d,#142035);margin-bottom:14px;color:#eef0f6;min-width:0;overflow-wrap:anywhere}
.responsibility-card-top,.responsibility-brief-status{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:11px;color:#bec6d6}
.responsibility-kind{text-transform:uppercase;letter-spacing:.14em;font-weight:650}
.responsibility-state{font:600 11px/1.5 'DM Sans',sans-serif;padding:4px 9px;border:1px solid #a4b4c644;border-radius:6px;color:#d2deec;background:#bacde508}
.responsibility-state.needs-attention{color:#f5dbac;border-color:#dbb98055;background:#d8ab4d09}
.responsibility-card h3{font:400 25px/1.25 Georgia,serif;color:#fff0e3;margin:17px 0 9px;letter-spacing:-.02em}
.responsibility-when{color:#e5d5f4;font-size:14px;font-weight:650;line-height:1.6;margin:0 0 9px}
.responsibility-why{font-size:14px;line-height:1.7;color:#c4cddd;margin:12px 0}
.responsibility-pause{border-left:2px solid #d4b9e9;padding:7px 12px;color:#dbcce8;font-size:12px;line-height:1.7}
.responsibility-card-foot{border-top:1px solid #ffffff15;margin-top:18px;padding-top:17px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.responsibility-card-foot>span{font-size:11px;color:#b4c1d4;line-height:1.5}
.responsibility-card-foot>div,.responsibility-next-actions{display:flex;flex-wrap:wrap;gap:9px}
.responsibility-card button,.responsibility-next-actions button,.responsibility-delivery-note button{min-height:44px;padding:10px 14px;font:650 12px/1.4 'DM Sans',sans-serif;border:1px solid #c4acd64a;border-radius:9px;background:#ffffff04;color:#e4d4f1;cursor:pointer}
.responsibility-card .responsibility-primary,.responsibility-next-actions .primary{background:#d9c3e8;color:#181b29;border-color:#d9c3e8}
.responsibility-card.is-closed{background:#1b2334;border-color:#ffffff18}
.responsibility-card.is-closed h3{color:#d3d9e6}
.responsibility-receipt{padding:13px 16px;border:1px solid #a4c5c83d;background:#172b34;border-radius:10px;color:#c4dfd9;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.responsibility-receipt:empty{display:none}
#detailDialog{width:min(760px,calc(100% - 28px));max-width:760px;border:1px solid #c6afd34d;background:#131d30;color:#eef0f5;padding:0;border-radius:22px;box-shadow:0 30px 100px #0009}
#detailDialog form{padding:32px;gap:0;display:block;max-width:none}
.responsibility-dialog-head{display:flex;align-items:flex-start;gap:18px;justify-content:space-between}
#detailDialogTitle{font:400 32px/1.18 Georgia,serif;color:#fff0e2;letter-spacing:-.03em;margin:10px 0 0;overflow-wrap:anywhere}
.responsibility-dialog-head .eyebrow{color:#c3a6da;font-size:10px;letter-spacing:.18em}
#detailDialog .responsibility-close{min-width:44px;min-height:44px;background:#ffffff05;border:1px solid #ffffff20;border-radius:50%;color:#e3d2ed;font-size:24px;line-height:1;cursor:pointer}
#detailDialog .detail-countdown{text-align:left;display:block;background:none;border:0;border-bottom:1px solid #ffffff1c;padding:24px 0;margin:0 0 20px;border-radius:0}
#detailDialog .detail-countdown small{display:block;color:#b2bdd0;font-size:10px;letter-spacing:.14em;margin-bottom:7px}
#detailDialog .detail-countdown strong{display:block;color:#e9d9f5;font:500 21px/1.45 'DM Sans',sans-serif}
.responsibility-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0;overflow-wrap:anywhere}
.responsibility-facts .wide{grid-column:1/-1}
.responsibility-facts dt{font-size:11px;font-weight:650;color:#abbad0;margin-bottom:5px}
.responsibility-facts dd{font-size:14px;line-height:1.7;margin:0;color:#edf0f5;white-space:pre-wrap}
.responsibility-source{display:inline-flex;min-height:44px;align-items:center;color:#dfc8f0;font-size:13px;text-underline-offset:4px}
.responsibility-boundary,.responsibility-delivery-note{font-size:12px;line-height:1.7;color:#b5c0d3;margin:14px 0 20px}
.responsibility-next-actions{margin:22px 0 12px}
.responsibility-delivery-note button{border:0;text-decoration:underline;text-underline-offset:3px;padding:0 5px;min-height:44px;background:none}
#responsibilityEditor{margin-top:20px;border-top:1px solid #ffffff25;padding-top:7px}
#responsibilityEditor>summary{cursor:pointer;min-height:52px;align-content:center;font-size:14px;font-weight:650;color:#dfc8ed}
#responsibilityEditor>label,#responsibilityEditor .form-grid{margin-top:15px}
#responsibilityEditor label{color:#bcc9dc;font-size:12px;line-height:1.6}
#responsibilityEditor :is(input,select){background:#0c1527;color:#eff1f7;border:1px solid #a8b6cd40;min-height:44px;padding:12px;border-radius:9px}
#responsibilityEditor .detail-actions{border-top:1px solid #ffffff20;padding-top:18px;margin-top:20px}
:is(.responsibility-card,#detailDialog) :is(button,a,input,summary,select):focus-visible{outline:2px solid #edc8ff;outline-offset:4px}
#detailDialog button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:600px){.responsibility-card{padding:19px}.responsibility-card h3{font-size:23px}.responsibility-card-foot>div{width:100%}.responsibility-card-foot button{flex:1}#detailDialog form{padding:23px}#detailDialogTitle{font-size:28px}.responsibility-facts{grid-template-columns:1fr}.responsibility-next-actions>button{flex:1 1 140px}#responsibilityEditor .form-grid{grid-template-columns:1fr}}
.high-contrast :is(.responsibility-card,#detailDialog){background:#080e1a;border-color:#e2c5f2}.high-contrast :is(.responsibility-why,.responsibility-boundary,.responsibility-delivery-note,.responsibility-card-foot>span){color:#fff}
@media(forced-colors:active){.responsibility-card,#detailDialog,.responsibility-state{border:1px solid CanvasText}.responsibility-primary{border:2px solid ButtonText}}

/* Spoken reminder controls share the existing voice preference and lifecycle. */
#detailDialog .responsibility-voice{border:1px solid #d9c3e833;border-radius:16px;padding:12px 14px;margin:12px 0 18px;background:#1c2940}
#detailDialog .responsibility-voice>div{display:flex;flex-wrap:wrap;gap:8px}
#detailDialog .responsibility-voice button{min-height:44px;border:1px solid #d9c3e85c;border-radius:11px;background:transparent;color:#eee6f5;padding:9px 15px;font:inherit;font-weight:750}
#detailDialog #responsibilityListen{background:#d9c3e8;color:#182035;border-color:#d9c3e8}
#detailDialog .responsibility-voice button:disabled{opacity:.6;cursor:wait}
#detailDialog .responsibility-voice p{font-size:13px;line-height:1.5;color:#c0cadd;margin:9px 0 0}
#detailDialog .responsibility-voice [hidden]{display:none!important}
