.golden-run-config { display:flex; align-items:center; gap:18px; margin-bottom:14px; }
.golden-run-config > div { flex:1; }
.golden-run-config label { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700; }
.golden-run-config > span { padding:6px 9px; background:#f4f6f9; border-radius:5px; font-size:11px; color:#5c6675; }
.golden-layout { display:grid; grid-template-columns:280px 1fr; gap:14px; margin-bottom:14px; }
.golden-history { padding:0; }
.golden-history > .card-title,
.golden-detail > .card-title,
.golden-cases > .card-title { padding:16px 18px; border-bottom:1px solid #dfe3e8; }
.golden-history > button { width:100%; display:flex; align-items:center; text-align:left; padding:13px 16px; border-top:1px solid #edf0f3; }
.golden-history > button.selected { background:#eef9f3; border-left:3px solid #138c52; }
.golden-history > button span { display:flex; flex:1; flex-direction:column; }
.golden-history > button small { font-size:10px; color:#5c6675; }
.golden-history > button em { font-style:normal; font-size:10px; font-weight:800; }
.golden-detail { padding:0; }
.golden-detail td small { display:block; color:#8f99a8; margin-top:3px; }
.golden-error { max-width:280px; word-break:break-word; color:#c72930; }
.golden-cases { margin-top:14px; }
.golden-cases .card-title { padding:16px 18px; }
.golden-cases.interactive .card-title>span{font-size:11px;color:#138c52;font-weight:800}.golden-case-tools{display:flex;gap:8px;padding:12px 18px;border-bottom:1px solid #e4e8ed;background:#fafbfc}.golden-case-tools label{display:flex;align-items:center;gap:8px;flex:1;border:1px solid #d7dde4;background:#fff;border-radius:7px;padding:0 10px}.golden-case-tools input{width:100%;border:0;outline:0;padding:9px 0}.golden-case-tools select{min-width:180px;border:1px solid #d7dde4;background:#fff;border-radius:7px;padding:9px 10px}.golden-cases.interactive tbody tr{cursor:default}.golden-cases.interactive tbody tr.selected{background:#eef9f3}.golden-cases.interactive td:last-child{text-align:right}.golden-cases.interactive td .secondary{padding:6px 9px}.golden-case-detail{margin-top:14px}.golden-case-detail header{display:flex;align-items:flex-start;border-bottom:1px solid #e4e8ed;padding-bottom:13px;margin-bottom:14px}.golden-case-detail header>div{flex:1}.golden-case-detail header small{font-size:9px;font-weight:800;color:#138c52;letter-spacing:.08em}.golden-case-detail header h3{margin:3px 0 0}.golden-case-detail header button{font-size:11px;color:#687386}.golden-case-detail dl{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0}.golden-case-detail dl>div{padding:11px;border-radius:7px;background:#f7f8fa}.golden-case-detail dt{font-size:10px;color:#687386}.golden-case-detail dd{margin:4px 0 0;font-weight:700}.golden-case-detail details{margin-top:12px;border:1px solid #e1e5ea;border-radius:7px}.golden-case-detail summary{cursor:pointer;padding:10px 12px;font-weight:700}.golden-case-detail pre{margin:0;border-top:1px solid #e1e5ea;padding:12px;white-space:pre-wrap;font-size:11px;background:#f8fafb}.golden-message{margin-bottom:12px}
.golden-case-overlay{z-index:40}.golden-case-backdrop{position:absolute;inset:0;width:100%;height:100%;cursor:default}.golden-case-modal{position:relative;width:min(680px,calc(100vw - 48px));max-height:calc(100vh - 48px);margin:0;padding:0;overflow:hidden;box-shadow:0 24px 80px #0005}.golden-case-modal header{padding:20px 22px 15px;margin:0}.golden-case-modal header button{font-size:24px;line-height:1}.golden-case-modal-body{padding:18px 22px;overflow:auto;max-height:calc(100vh - 180px)}.golden-case-modal footer{display:flex;justify-content:flex-end;padding:14px 22px;border-top:1px solid #e4e8ed}.golden-case-modal footer button{min-width:88px}
.golden-result-modal{width:min(820px,calc(100vw - 48px))}.golden-result-modal header p{margin-top:5px}.golden-generated-reading{padding:20px;border:1px solid #e4e8ed;border-radius:9px;background:#fbfaf7}.golden-generated-reading h4{margin:0 0 12px;font-family:Georgia,serif;font-size:20px}.golden-generated-reading>p{font-size:13px;line-height:1.8;color:#3f454d;white-space:pre-wrap}.golden-generated-reading>b{display:block;margin-top:16px;padding-top:14px;border-top:1px solid #e1ddd4;line-height:1.7}.golden-result-contract{margin-top:14px!important}
@media (max-width:1200px) { .golden-layout { grid-template-columns:1fr; } }

.single-history-layout { display:grid; grid-template-columns:310px 1fr; gap:14px; margin-bottom:14px; }
.single-history-list { padding:0; }
.single-history-list > header,
.single-history-detail > header { display:flex; align-items:flex-start; gap:12px; padding:16px 18px; border-bottom:1px solid #dfe3e8; }
.single-history-list > header > div,
.single-history-detail > header > div { flex:1; }
.single-history-list > button { width:100%; display:flex; align-items:center; gap:10px; padding:13px 16px; text-align:left; border-top:1px solid #edf0f3; }
.single-history-list > button.selected { background:#eef9f3; border-left:3px solid #138c52; }
.single-history-list > button span { display:flex; flex:1; flex-direction:column; min-width:0; }
.single-history-list > button small { color:#5c6675; font-size:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.single-history-list > button em { font-style:normal; font-size:11px; font-weight:800; color:#138c52; }
.single-history-detail { padding:0; }
.single-history-detail dl { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; margin:0; border-bottom:1px solid #dfe3e8; }
.single-history-detail dl div { padding:13px 16px; border-right:1px solid #edf0f3; }
.single-history-detail dt { color:#8f99a8; font-size:10px; }
.single-history-detail dd { margin:4px 0 0; font-size:11px; font-weight:700; overflow-wrap:anywhere; }
.single-history-detail > section { padding:16px 18px; border-bottom:1px solid #edf0f3; }
.single-history-detail h3 { margin:0 0 8px; font-size:12px; }
.single-history-detail h4 { margin:0 0 8px; font-size:15px; }
.single-history-detail section p { color:#343b46; font-size:13px; line-height:1.75; white-space:pre-wrap; }
.single-history-detail section b { display:block; margin-top:12px; line-height:1.7; }
.single-history-actions { display:flex; align-items:flex-end; flex-direction:column; gap:8px; }
.single-history-actions span { color:#687284; font-size:11px; font-weight:700; }
.single-history-follow-ups > div { display:grid; gap:10px; }
.single-history-follow-ups .follow-up-turn { margin:0; }
.compare-history-return { display:flex; align-items:center; gap:12px; margin:0 0 14px; padding:12px 14px; border:1px solid #cfe5d8; border-radius:8px; background:#f2faf5; }
.compare-history-return span { color:#526171; font-size:12px; }
@media (max-width:1200px) { .single-history-layout { grid-template-columns:1fr; } .single-history-detail dl { grid-template-columns:repeat(2,1fr); } }
