/* Fits the existing Klantflow palette and Xenid typography. */
.sidebar { overflow-y: auto; }
.sidebar > * { flex-shrink: 0; }
.assistant-intro { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: -4px 0 27px; color: #647654; font-size: .78rem; }
.assistant-intro > span { display: inline-flex; align-items: center; gap: 7px; }
.assistant-workspace { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 22px; }
.assistant-workspace > .panel { margin: 0; min-width: 0; }
.assistant-workspace .panel-head { gap: 14px; flex-wrap: wrap; }
.assistant-workspace .panel-head .eyebrow { font-size: .65rem; color: #778460; margin-bottom: 8px; }
.assistant-workspace .panel-head h2 { font-size: 1rem; }
.assistant-workspace .field textarea { resize: vertical; min-height: 240px; }
.assistant-workspace .field small { display: block; margin-top: 8px; }
.assistant-workspace .field label small { display: inline; }
.assistant-workspace .btn:disabled { cursor: not-allowed; }
.assistant-input-note { margin-top: 20px; }
.assistant-context { display: grid; gap: 5px; border: 1px solid #e2e8da; border-radius: 10px; background: #f4f6ef; padding: 17px; margin: 0 0 22px; font-size: .78rem; line-height: 1.65; overflow-wrap: anywhere; }
.assistant-context strong { font-family: var(--font-heading); font-size: .86rem; }
.assistant-context small { color: #6e7b61; font-size: .74rem; margin-top: 5px; }
.assistant-empty { padding: 62px 32px; text-align: center; background: linear-gradient(155deg,#f9fbf6,#edf2e7); border-radius: var(--radius); min-height: 550px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.assistant-empty-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 21px; background: #dfe8d5; color: #40613b; margin-bottom: 26px; transform: rotate(-7deg); }
.assistant-empty-icon .icon { width: 30px; height: 30px; transform: rotate(7deg); }
.assistant-empty .eyebrow { font-size: .65rem; color: #6e815d; margin-bottom: 17px; }
.assistant-empty h2 { font-size: clamp(1.4rem,2.5vw,2rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.assistant-empty > p:not(.eyebrow) { color: #697960; font-size: 1rem; max-width: 350px; }
.assistant-empty ol { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; text-align: left; font-size: .78rem; }
.assistant-empty li { display: flex; gap: 10px; align-items: center; }
.assistant-empty li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: white; color: #577548; font-weight: 700; }
.assistant-result-note { font-size: .74rem; color: #68775d; margin: 0 0 18px; }
.assistant-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.assistant-facts > div { padding: 13px; background: #fbfcf9; }
.assistant-facts > div.is-missing { background: #fcf8f2; }
.assistant-facts dt { font-size: .62rem; color: #6a745f; margin-bottom: 5px; }
.assistant-facts dd { font-size: .76rem; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.assistant-facts .is-missing dd { color: #986039; }
.assistant-questions { padding: 23px 0; }
.assistant-questions h3 { margin-bottom: 12px; }
.assistant-questions ul { margin: 0; padding-left: 19px; display: grid; gap: 8px; font-size: .84rem; line-height: 1.7; }
.assistant-questions li::marker { color: #9baa79; }
.assistant-questions p { font-size: .84rem; color: #68775d; }
.assistant-workspace .assistant-draft-field textarea { min-height: 365px; }
.assistant-approval { background: #f2f5ed; padding: 16px; border-radius: 9px; margin: 18px 0; }
.assistant-result-actions { align-items: stretch; }
#assistant-feedback { margin-top: 14px; }
.assistant-symbol { width: 38px; height: 38px; display: inline-grid; place-items: center; flex-shrink: 0; background: #e6eddc; color: #587448; border-radius: 10px; }
.assistant-card { border-color: #dce5d2; }
.assistant-card .panel-head > div { display: flex; align-items: center; gap: 12px; }
.assistant-card .panel-body > p { font-size: .9rem; color: #69795e; margin-bottom: 17px; }
.assistant-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px 25px; background: #edf2e6; border: 1px solid #dfe7d6; border-radius: var(--radius); margin-bottom: 26px; }
.assistant-teaser > div { flex: 1 1 240px; }
.assistant-teaser h2 { font-size: .9rem; line-height: 1.5; text-transform: none; letter-spacing: normal; }
.assistant-teaser p { font-size: .78rem; color: #687a5c; margin-top: 5px; }
@media(max-width:1180px) { .assistant-workspace { grid-template-columns: 1fr; } .assistant-empty { min-height: 350px; padding: 36px 25px; } }
@media(max-width:760px) { .topbar .breadcrumb { min-width: 0; flex: 1; margin-right: 0; } .topbar .breadcrumb b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topbar .top-actions { flex-shrink: 0; } .assistant-intro { gap: 10px 16px; font-size: .74rem; } .assistant-workspace { gap: 20px; } .assistant-teaser { padding: 20px; gap: 13px; } .assistant-teaser > div { flex-basis: 200px; } .assistant-empty { min-height: 330px; } .assistant-result-actions .btn { flex: 1 1 160px; } .assistant-card .panel-head > div { flex-basis: 100%; } }
@media(max-width:400px) { .assistant-facts { grid-template-columns: 1fr; } .assistant-workspace .actions .btn { flex: 1 1 100%; } }
