/* Stock A V8.5.3 RC1 · Mesa de Expertos / Expediente Asistido */
:root{--ex-navy:#10354b;--ex-blue:#1f91c6;--ex-cyan:#e9f8ff;--ex-green:#e9f8f0;--ex-amber:#fff6df;--ex-red:#fff0f0;--ex-line:#dce7ef;--ex-muted:#6d8290}
/* La voz/chat ya no flotan encima de contenido */
#vgDock852{display:none!important}
#mirror852,#vgHeaderVoice852{display:none!important}
#assistant,#help,#mirror{display:none!important}

.premiumTop.expert-top{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:9px!important}
.premiumTop.expert-top .searchWrap{width:100%;grid-column:1/-1}
.expert-header-actions{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:8px;width:100%}
.expert-header-actions .topAction{width:100%!important;min-width:0!important;height:66px!important;border:1px solid #e1eaf0!important;background:#fff!important;border-radius:15px!important;box-shadow:0 4px 12px rgba(16,53,75,.06);padding:5px!important}
.expert-header-actions .topAction span{font-size:24px!important}.expert-header-actions .topAction small{font-size:9px!important;color:#26495d!important;display:block!important;line-height:1.15}
.expert-header-actions .primary-soft{background:#edf9fd!important}.expert-header-actions .it-soft{background:#fff6e8!important}.expert-header-actions .install-soft{background:#eefaf5!important}.expert-header-actions .web-soft{background:#fff7f4!important}
.expert-header-actions .wide2{grid-column:span 1}

.expert-side-ai{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.14);display:grid;grid-template-columns:1fr 1fr;gap:6px}
.expert-side-ai button{min-height:38px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.08);color:white;font-weight:800;font-size:10px;cursor:pointer}
.expert-side-ai button:hover{background:rgba(255,255,255,.16)}

.expert-privacy{margin:10px 0;border:1px solid #d9e8ef;background:#f7fbfd;border-radius:14px;padding:10px 12px;font-size:9px;color:#496477;line-height:1.45}
.expert-privacy b{color:#153e55}
.expert-query-field{position:relative}
.expert-query-tools{display:flex;gap:6px;align-items:center;justify-content:flex-end;margin:6px 0 0;flex-wrap:wrap}
.expert-query-tools button{min-height:36px;border:0;border-radius:10px;padding:7px 10px;font-weight:850;cursor:pointer}
.expert-query-tools .mic{background:var(--ex-navy);color:#fff}.expert-query-tools .stop{background:#edf1f4;color:#24465a}
.expert-query-tools .state{font-size:8px;color:var(--ex-muted);margin-right:auto}
#vgReceptionDict852{display:none!important}

.expert-case-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.expert-field label{display:block;font-size:8px;font-weight:850;color:#536b7a;margin-bottom:4px}.expert-field input,.expert-field select,.expert-field textarea{width:100%;min-height:39px;border:1px solid #d6e3eb;border-radius:10px;padding:8px 9px;background:#fff;font:inherit}.expert-field textarea{min-height:78px;resize:vertical}.expert-field.span2{grid-column:span 2}.expert-field.span4{grid-column:1/-1}

.expert-docs{margin-top:11px;border:1px solid var(--ex-line);border-radius:14px;padding:11px;background:#fbfdff}
.expert-docs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.expert-docs h4{margin:0;color:#153d54}.expert-docs p{margin:3px 0 0;font-size:8px;color:#6c8190}.expert-upload{margin-top:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.expert-upload label{display:inline-flex;align-items:center;gap:6px;border:1px solid #bcd7e5;border-radius:10px;padding:8px 10px;background:#eef9fe;font-weight:800;cursor:pointer}.expert-upload input{display:none}.expert-doc-list{display:grid;gap:6px;margin-top:8px}.expert-doc-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid #e1eaf0;border-radius:10px;padding:8px;background:#fff}.expert-doc-row b{font-size:9px}.expert-doc-row small{display:block;font-size:7.5px;color:#718592;margin-top:2px}.expert-doc-row button{border:0;background:#f1f5f7;border-radius:8px;padding:6px 8px;cursor:pointer}.expert-doc-badge{display:inline-block;border-radius:99px;padding:3px 6px;font-size:7px;font-weight:900;background:#eef4f7;color:#4f6b7a}.expert-doc-badge.r2{background:#e8f8ef;color:#16724a}.expert-doc-badge.local{background:#fff4dc;color:#8a6200}

.expert-analysis{display:grid;gap:9px}.expert-analysis-top{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.expert-analysis-card{border:1px solid var(--ex-line);border-radius:13px;padding:10px;background:white}.expert-analysis-card h4{margin:0 0 5px;font-size:10px;color:#173d53}.expert-analysis-card p,.expert-analysis-card li{font-size:9px;line-height:1.45;color:#425f70}.expert-analysis-card ul{margin:4px 0 0;padding-left:18px}.expert-analysis-card.good{background:var(--ex-green)}.expert-analysis-card.warn{background:var(--ex-amber)}.expert-analysis-card.danger{background:var(--ex-red)}.expert-analysis-card.info{background:var(--ex-cyan)}
.expert-source-list{display:grid;gap:5px}.expert-source-list a{font-size:8px;color:#126c99;font-weight:800;text-decoration:none}.expert-source-list a:hover{text-decoration:underline}
.expert-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:7.5px;font-weight:900;margin:2px 4px 2px 0;background:#eaf3f7;color:#315a70}.expert-pill.high{background:#ffe7e7;color:#a72828}.expert-pill.medium{background:#fff0d2;color:#815b00}.expert-pill.low{background:#e8f7ef;color:#187048}

.expert-super-card{border:1px solid #cfe0e9;background:linear-gradient(135deg,#f2fbff,#f9fffb);border-radius:16px;padding:12px;margin:10px 0}.expert-super-card h3{margin:0 0 4px;color:#153e55}.expert-super-card p{font-size:9px;color:#617987}.expert-super-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.expert-super-grid>div{background:white;border:1px solid #dfe9ef;border-radius:11px;padding:8px}.expert-super-grid b{font-size:9px}.expert-super-grid small{display:block;font-size:7.5px;color:#708592;margin-top:2px}

@media(max-width:1200px){.expert-header-actions{grid-template-columns:repeat(4,minmax(90px,1fr))}.expert-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.expert-field.span4{grid-column:1/-1}.expert-analysis-top{grid-template-columns:1fr 1fr}.expert-super-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px) and (orientation:landscape){.expert-header-actions{grid-template-columns:repeat(5,minmax(80px,1fr))}.expert-header-actions .topAction{height:58px!important}.expert-header-actions .topAction span{font-size:20px!important}.expert-header-actions .topAction small{font-size:7.5px!important}.expert-case-grid{grid-template-columns:1fr 1fr}.expert-analysis-top{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.expert-header-actions{grid-template-columns:repeat(2,1fr)}.expert-case-grid{grid-template-columns:1fr}.expert-field.span2,.expert-field.span4{grid-column:1}.expert-analysis-top{grid-template-columns:1fr}.expert-super-grid{grid-template-columns:1fr}}
