.document-chat .citations{gap:10px;align-items:center;margin-top:18px}
.document-chat .citations button.citation-link{display:inline-flex;align-items:center;gap:12px;border:1px solid #c9d9f4;border-radius:999px;background:#f4f8ff;color:#123a75;padding:9px 14px;min-height:44px;box-shadow:none;line-height:1.3;text-align:left}
.document-chat .citation-link .citation-label{font-size:13px;font-weight:750}
.document-chat .citation-link .citation-action{font-size:13px;font-weight:550;border-left:1px solid #c9d9f4;padding-left:12px;color:#245baf}
.document-chat .citations button.citation-link:hover{background:#eaf2ff;border-color:#7ca3e3}
.document-chat .citation-link:focus-visible,.document-chat .citation-original summary:focus-visible{outline:3px solid #648fe5;outline-offset:3px}
.document-chat .citation-evidence{margin:18px 0 20px;border:1px solid #d4e3f2;border-radius:16px;background:#f8fbff;padding:20px 22px}
.document-chat .citation-evidence-title{margin:0 0 12px;color:#153c67;font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.document-chat .citation-evidence .excerpt{margin:0;border:0;border-left:3px solid #568bcc;border-radius:0;background:transparent;padding:4px 0 4px 16px;color:#506177;font-size:16px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:none}
.document-chat .citation-evidence mark{color:#142d49;background:#fff0aa;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:2px 1px;border-radius:3px}
.document-chat .citation-evidence-note{margin:12px 0 0;color:#657890;font-size:12px;line-height:1.5}
.document-chat .citation-original{margin-top:14px;border-top:1px solid #dce5ef;padding-top:14px}
.document-chat .citation-original summary{cursor:pointer;color:#245baf;font-size:14px;font-weight:650;padding:8px 0}
.document-chat .excerpt-dialog{max-height:90dvh;overflow-y:auto}
@media(max-width:600px){.document-chat .citation-evidence{padding:15px 14px}.document-chat .citation-evidence .excerpt{font-size:15px;padding-left:12px}.document-chat .excerpt-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:18px;box-sizing:border-box}.document-chat .citations button.citation-link{max-width:100%}}

/* Menú lateral v2 · Ordenatec · 29/09/2026 — blanco, plegable y con radar (ajuste 7) */
.oxs{--ow:256px;--w:var(--ow);--iw:calc(var(--ow) - 24px);--ease:cubic-bezier(.3,.7,.2,1);
  --tx:#3a4a66;--ic:#5b6b85;--tx-h:#13233d;--hov:#f1f5fd;--grp:#7a889e;--word:#13233d;--word2:#52627a;--sep:#edf1f7;
  --card:#f5f8fd;--card-bd:#e3eaf5;--card-h:#eef3fc;--ib:#f1f5fb;--ib-ic:#52627a;--ib-h:#e3ecff;--focus:#175cff;
  position:relative;z-index:40;flex:0 0 auto;width:var(--w);height:calc(100vh - 32px);height:calc(100dvh - 32px);margin:16px 0 16px 16px;
  display:flex;overflow:hidden;border-radius:26px;background:#fff;border:1px solid #e3eaf5;box-shadow:0 20px 50px rgba(14,37,77,.08);
  color:var(--tx);font-family:inherit;-webkit-font-smoothing:antialiased;
  transition:width .32s var(--ease),margin-right .32s var(--ease),box-shadow .32s,border-radius .32s}
.app-shell.home-mode .oxs{--ow:246px;height:calc(100vh - 20px);height:calc(100dvh - 20px);margin:10px 0 10px 10px}
.oxs.is-folded{--w:76px;border-radius:24px}
.oxs.is-folded.is-peek{--w:var(--ow);margin-right:calc(76px - var(--ow));border-radius:26px;box-shadow:0 30px 80px rgba(14,37,77,.24)}
.oxs *{box-sizing:border-box}
/* El interior mide siempre lo mismo: al plegar solo se recorta y los iconos no se mueven */
.oxs-in{position:relative;z-index:1;display:flex;flex-direction:column;width:var(--ow);flex:0 0 var(--ow);min-height:0;padding:16px 12px 14px}
.oxs-brand{display:flex;align-items:center;gap:12px;padding:6px 2px 18px;min-height:82px;flex:0 0 auto}
.oxs-logo{position:relative;display:block;width:48px;height:48px;flex:0 0 48px;border-radius:50%;overflow:hidden;box-shadow:0 8px 18px rgba(14,37,77,.18)}
.oxs-logo img{position:absolute;left:-7px;top:-7px;width:62px;height:62px;max-width:none;display:block}
.oxs-word{display:flex;flex-direction:column;min-width:0;white-space:nowrap}
.oxs-word b{font-size:17px;font-weight:800;letter-spacing:-.02em;color:var(--word);line-height:1.1}
.oxs-word span{font-size:12.5px;font-weight:500;color:var(--word2);margin-top:3px}
.oxs-fold{margin-left:auto;width:32px;height:32px;flex:0 0 32px;border-radius:10px;border:0;padding:0;background:var(--ib);color:var(--ib-ic);display:grid;place-items:center;cursor:pointer}
.oxs-fold:hover{background:var(--ib-h);color:var(--tx-h)}
.oxs-fold .oxs-ic{width:18px;height:18px;flex-basis:18px}

.oxs-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 -6px;padding:0 6px;scrollbar-width:thin;scrollbar-color:rgba(127,149,196,.35) transparent;overscroll-behavior:contain}
.oxs-nav{position:relative;display:flex;flex-direction:column;gap:2px;padding-bottom:10px}
.oxs-ind{position:absolute;left:0;top:0;width:var(--iw);height:42px;border-radius:13px;background:linear-gradient(135deg,#175cff,#3b7bff);box-shadow:0 10px 24px rgba(23,92,255,.32);z-index:0;opacity:0;pointer-events:none;transition:opacity .2s,width .32s var(--ease)}
.oxs-item,.oxs-ghead{position:relative;z-index:1;display:flex;align-items:center;gap:12px;width:var(--iw);height:42px;padding:0 12px 0 16px;border-radius:13px;color:var(--tx);text-decoration:none;font-size:14px;font-weight:600;line-height:1.2;letter-spacing:0;text-transform:none;white-space:nowrap;overflow:hidden;transition:background .18s,color .2s,width .32s var(--ease)}
.oxs-item:hover{background:var(--hov);color:var(--tx-h)}
.oxs-item.is-active,.oxs-item.is-active:hover{background:transparent;color:#fff;transition:color .2s .12s,width .32s var(--ease)}
.oxs-ic{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
.oxs-item .oxs-ic{color:var(--ic);transition:color .2s}
.oxs-item:hover .oxs-ic{color:var(--tx-h)}
.oxs-item.is-active .oxs-ic{color:#fff;transition:color .2s .12s}
.oxs-item.oxs-pop .oxs-ic{animation:oxs-pop .42s cubic-bezier(.3,1.6,.5,1)}
@keyframes oxs-pop{0%{transform:scale(1)}40%{transform:scale(1.22)}100%{transform:scale(1)}}
.oxs-lb{overflow:hidden;text-overflow:ellipsis}

.oxs-admin{position:relative;margin-top:14px;padding-top:10px}
.oxs-ghead{height:36px;border:0;background:none;cursor:pointer;color:var(--grp);font:inherit;font-size:12.5px;font-weight:600;padding-left:17px;text-align:left}
.oxs-ghead .oxs-ic{width:18px;height:18px;flex-basis:18px}
.oxs-ghead:hover{color:var(--tx-h);background:var(--hov)}
.oxs-ghead.is-target,.oxs-ghead.is-target:hover{color:#fff;background:transparent}
.oxs-chevw{margin-left:auto;display:grid}
.oxs-chev{width:16px;height:16px;flex-basis:16px;transition:transform .25s}
.oxs-admin[data-open="false"] .oxs-chev{transform:rotate(-90deg)}
.oxs-gbody{display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s var(--ease)}
.oxs-admin[data-open="false"] .oxs-gbody{grid-template-rows:0fr}
.oxs-ginner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:2px}
.oxs-ginner>*{flex-shrink:0}

.oxs-foot{position:relative;display:flex;align-items:center;gap:6px;padding-top:12px;margin-top:4px;flex:0 0 auto}
.oxs-admin:before,.oxs-foot:before{content:"";position:absolute;left:0;top:0;width:var(--iw);height:1px;background:var(--sep);transition:width .32s var(--ease)}
.oxs-user{flex:none;width:calc(var(--ow) - 108px);display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:14px;background:var(--card);border:1px solid var(--card-bd);text-decoration:none;color:var(--word);overflow:hidden;white-space:nowrap;transition:background .18s,box-shadow .2s,width .32s var(--ease)}
.oxs-user:hover{background:var(--card-h)}
.oxs-user.is-active{box-shadow:inset 0 0 0 2px var(--focus)}
.oxs-av{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(135deg,#3b7bff,#0d3ea8);box-shadow:0 0 0 2px #fff}
.oxs-un{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.oxs-un b{font-size:13.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis}
.oxs-un small{font-size:12px;color:var(--word2);font-weight:500}
.oxs-ib{width:36px;height:36px;flex:0 0 36px;border-radius:12px;border:0;padding:0;background:var(--ib);color:var(--ib-ic);display:grid;place-items:center;cursor:pointer;text-decoration:none;transition:background .18s,color .18s,opacity .24s}
.oxs-ib:hover{background:var(--ib-h);color:var(--tx-h)}
.oxs-ib .oxs-ic{width:19px;height:19px;flex-basis:19px}
.oxs a:focus-visible,.oxs button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}

/* Textos que aparecen al desplegar, de arriba abajo, al paso del barrido */
.oxs-fade{transition:opacity .24s calc(.05s + var(--i,0) * 22ms),visibility 0s}
.oxs.is-folded:not(.is-peek) .oxs-fade{opacity:0;visibility:hidden;transition:opacity .12s,visibility 0s .12s}
.oxs.is-folded:not(.is-peek) :is(.oxs-item,.oxs-ghead,.oxs-ind){width:52px}
.oxs.is-folded:not(.is-peek) .oxs-user{width:52px}
.oxs.is-folded:not(.is-peek) :is(.oxs-admin,.oxs-foot):before{width:52px}

/* Radar: anillos fijos y barrido al desplegar, al cambiar de sección y al pasar por el logo */
.oxs-radar-layer{position:absolute;left:0;top:0;right:0;height:210px;pointer-events:none;overflow:hidden;-webkit-mask-image:linear-gradient(#000 52%,transparent);mask-image:linear-gradient(#000 52%,transparent)}
.oxs-radar{position:absolute;width:420px;height:420px;left:-172px;top:-164px;transform:scale(.9);-webkit-mask-image:radial-gradient(circle,#000 16%,rgba(0,0,0,.6) 40%,transparent 70%);mask-image:radial-gradient(circle,#000 16%,rgba(0,0,0,.6) 40%,transparent 70%)}
.oxs-rings{position:absolute;inset:0;width:100%;height:100%}
.oxs-rings circle{fill:none;stroke:rgba(23,92,255,.14);stroke-width:1}
.oxs-rings line{stroke:rgba(23,92,255,.07);stroke-width:1}
.oxs-sweep{position:absolute;inset:0;border-radius:50%;opacity:0;background:conic-gradient(from 0deg,rgba(23,92,255,0) 0deg,rgba(23,92,255,0) 285deg,rgba(23,92,255,.07) 330deg,rgba(59,123,255,.3) 359.4deg,rgba(59,123,255,0) 360deg)}
.oxs-scan .oxs-sweep{animation:oxs-sweep 1.9s linear 1}
@keyframes oxs-sweep{0%{transform:rotate(0);opacity:0}8%{opacity:1}86%{opacity:1}100%{transform:rotate(360deg);opacity:0}}
.oxs-blip{position:absolute;left:calc(50% + var(--x));top:calc(50% + var(--y));width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#175cff;box-shadow:0 0 10px 3px rgba(23,92,255,.35);opacity:0}
.oxs-scan .oxs-blip{animation:oxs-blip 1.2s ease-out var(--d) 1 both}
@keyframes oxs-blip{0%{opacity:0;transform:scale(.3)}12%{opacity:1;transform:scale(1.3)}100%{opacity:0;transform:scale(1)}}

/* Pantallas bajas: filas algo más compactas */
@media (min-width:981px) and (max-height:820px){
  .oxs-brand{min-height:70px;padding-bottom:12px}
  .oxs-item{height:38px}
  .oxs-ind{height:38px}
  .oxs-admin{margin-top:10px;padding-top:8px}
}

/* Móvil y tableta: cajón deslizante, siempre abierto por dentro */
@media (max-width:980px){
  .oxs,.app-shell.home-mode .oxs{--ow:min(86vw,300px);--iw:100%;position:fixed;top:0;left:0;z-index:2500;width:var(--ow);height:100vh;height:100dvh;margin:0;border-radius:0 26px 26px 0;border-left:0;
    transform:translateX(-105%);transition:transform .25s ease;box-shadow:0 24px 60px rgba(14,37,77,.22)}
  .oxs.is-open,.app-shell.home-mode .oxs.is-open{transform:none}
  .oxs-in{width:100%;flex:1 1 auto;padding:calc(14px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))}
  .oxs-fold{display:none}
  .oxs-brand{padding-left:56px}
  .oxs-user{flex:1 1 auto;width:auto}
  .oxs-admin:before,.oxs-foot:before{width:100%}
}

@media (prefers-reduced-motion:reduce){
  .oxs,.oxs *{transition:none!important;animation:none!important}
}

/* Fichas de licitaciones con reloj de plazo · Ordenatec · 29/09/2026 (ajuste 8) */
.oxc-wrap{margin-top:12px;color:#13233d;font-family:inherit;-webkit-font-smoothing:antialiased}
.oxc-wrap *{box-sizing:border-box}
.oxc-list{display:flex;flex-direction:column;gap:10px}
.oxc-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:start;gap:18px;padding:16px 16px 16px 14px;border:1px solid #e6edf7;border-radius:18px;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.oxc-card:hover,.oxc-card:focus-within{border-color:#c9d8f5;box-shadow:0 10px 26px rgba(14,37,77,.07);transform:translateY(-1px)}

.oxc-dial{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.oxc-ring{position:relative;width:56px;height:56px}
.oxc-ring svg{width:56px;height:56px;transform:rotate(-90deg);display:block}
.oxc-ring circle{fill:none;stroke-width:5}
.oxc-ring .oxc-bg{stroke:#eef2f8}
.oxc-ring .oxc-fg{stroke-linecap:round;animation:oxc-fill 1s cubic-bezier(.2,.7,.2,1) both}
@keyframes oxc-fill{from{stroke-dashoffset:var(--c)}}
.oxc-g .oxc-fg{stroke:#1e8e5a}.oxc-a .oxc-fg{stroke:#e0a412}.oxc-r .oxc-fg{stroke:#d63a2f}.oxc-c .oxc-fg,.oxc-n .oxc-fg{stroke:#b6c2d4}
.oxc-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.oxc-center b{font-size:17px;font-weight:800;color:#13233d;font-variant-numeric:tabular-nums}
.oxc-center small{font-size:9.5px;font-weight:600;color:#52627a;margin-top:2px}
.oxc-center .oxc-closed{width:20px;height:20px;color:#7a889e}
.oxc-center .oxc-dash{color:#7a889e}
.oxc-r .oxc-ring::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid #d63a2f;animation:oxc-pulse 1.8s ease-out infinite;opacity:0}
@keyframes oxc-pulse{0%{transform:scale(.9);opacity:.5}100%{transform:scale(1.25);opacity:0}}
.oxc-date{font-size:11.5px;line-height:1.3;color:#2c3c57;font-weight:600;font-variant-numeric:tabular-nums}
.oxc-date small{display:block;font-weight:500;color:#52627a}
.oxc-c .oxc-date small{color:#9b231b}

.oxc-body{min-width:0}
.oxc-exp{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#52627a;margin-bottom:5px;overflow-wrap:anywhere}
.oxc-exp .oxc-ic{width:13px;height:13px;flex:none}
.oxc-title{display:block;color:#13233d;text-decoration:none;font-size:15px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.oxc-card:hover .oxc-title{color:#0d3ea8}
.oxc-title:hover{text-decoration:underline}
.oxc-facts{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;font-size:13px;color:#2c3c57;line-height:1.4}
.oxc-facts>span{display:inline-flex;align-items:flex-start;gap:6px;min-width:0;overflow-wrap:anywhere}
.oxc-facts .oxc-ic{width:15px;height:15px;flex:none;margin-top:2px;stroke:#7a889e}
.oxc-nif{color:#52627a}
.oxc-ic{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.oxc-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:170px}
.oxc-amt{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right}
.oxc-v{font-size:17px;font-weight:750;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.2}
.oxc-line+.oxc-line .oxc-v{font-size:14px;font-weight:650}
.oxc-l{font-size:11.5px;color:#7a889e;font-weight:500;margin-top:2px}
.oxc-acts{display:flex;align-items:center;gap:4px}
.oxc-tram{border:1px solid #c7daf5;background:#f4f8fe;color:#0757b9;border-radius:9px;padding:6px 11px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.oxc-tram:hover{background:#eaf3ff;border-color:#8db7ed}
.oxc-ib{border:1px solid transparent;background:none;padding:6px;border-radius:9px;color:#7a889e;cursor:pointer;line-height:0}
.oxc-ib .oxc-ic{width:18px;height:18px;stroke-width:1.6}
.oxc-ib:hover:not(:disabled){background:#eef2f8;color:#13233d}
.oxc-ib:disabled{opacity:.45;cursor:not-allowed}
.oxc-desc.is-on{color:#9b231b;background:#fde4e1}
.oxc-fav.is-on{color:#e0a412}
.oxc-fav.is-on .oxc-ic{fill:currentColor}
.oxc-fav:hover:not(:disabled){color:#e0a412;background:#fff7e0}
.oxc-fav.is-on .oxc-ic{animation:oxc-pop .4s cubic-bezier(.3,1.6,.5,1)}
@keyframes oxc-pop{0%{transform:scale(1)}40%{transform:scale(1.35)}100%{transform:scale(1)}}
.oxc-title:focus-visible,.oxc-tram:focus-visible,.oxc-ib:focus-visible{outline:2px solid #175cff;outline-offset:2px}

.oxc-empty{padding:34px 12px;text-align:center;color:#607089;font-weight:600;border:1px dashed #dbe6f4;border-radius:18px}
.oxc-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:12px 6px 4px;margin-top:10px;border-top:1px dashed #eef3f9;font-size:11.5px;color:#607089}
.oxc-legend>span{display:inline-flex;align-items:center;gap:7px}
.oxc-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.oxc-dot-r{background:#d63a2f}.oxc-dot-a{background:#e0a412}.oxc-dot-g{background:#1e8e5a}.oxc-dot-c{background:#9aa8bd}

@media (max-width:760px){
  .oxc-card{grid-template-columns:64px minmax(0,1fr);gap:12px 14px;padding:14px 12px}
  .oxc-side{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center;min-width:0}
  .oxc-amt{align-items:flex-start;text-align:left}
}
@media (prefers-reduced-motion:reduce){
  .oxc-card,.oxc-card *{animation:none!important;transition:none!important}
}

/* Cabecera de la ficha con reloj de plazo y título acotado (ajuste 9, 29/09/2026).
   Selectores con .oxd-hero / .oxd-* para no depender del orden frente a los estilos con ámbito de la vista (data-v-e1adf604).
   La distribución depende del ancho real de la cabecera (consultas de contenedor), no del de la ventana, porque el menú lateral
   plegado o desplegado cambia el espacio disponible. Sin soporte de consultas de contenedor queda la versión apilada. */
section.detail-hero.oxd-hero{--oxd-r:21px;display:flex;flex-wrap:wrap;align-items:stretch;overflow:visible;background:#fff;box-shadow:0 14px 34px #07172f0b;container:oxd-hero / inline-size}
@media (max-width:680px){section.detail-hero.oxd-hero{--oxd-r:15px}}
.detail-hero.oxd-hero .oxd-copy{flex:1 1 100%;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:18px}
.detail-hero.oxd-hero .detail-hero-aside{flex:1 1 100%;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:14px;min-width:0;padding:18px;background:linear-gradient(160deg,#f8fbff,#eef4ff);border-left:0;border-top:1px solid #e3eaf5;border-radius:0 0 var(--oxd-r) var(--oxd-r)}
.detail-hero.oxd-hero .presentation-cta-wrap,.detail-hero.oxd-hero .detail-hero-actions{margin-top:0}
.detail-hero.oxd-hero .detail-hero-actions:empty{display:none}
.detail-hero.oxd-hero .detail-hero-actions .hero-secondary-action{flex:1 1 auto}

.oxd-ic{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Expediente, fuente, estado y acciones */
.oxd-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.oxd-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;max-width:100%;padding:3px 10px;border-radius:999px;background:#f5f8fd;border:1px solid #e3eaf5;color:#2c3c57;font-size:12px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.oxd-chip .oxd-ic{width:14px;height:14px;color:#7a889e}
.oxd-src b{font-weight:700;color:#07566b}
.oxd-src b+span::before{content:"· ";color:#7a889e}
.oxd-st-green{background:#e3f4ea;border-color:#cdebd8;color:#16704a}
.oxd-st-blue{background:#eaf1ff;border-color:#d3e2ff;color:#0d3ea8}
.oxd-st-red{background:#fdecea;border-color:#f7d0cb;color:#b42318}
.oxd-st-gray{background:#f2f5f9;border-color:#e3eaf5;color:#607089}
.oxd-sp{flex:1}
.oxd-ib{border:1px solid transparent;background:none;padding:6px;border-radius:9px;color:#7a889e;cursor:pointer;line-height:0;transition:background .15s,color .15s}
.oxd-ib .oxd-ic{width:19px;height:19px;stroke-width:1.6}
.oxd-ib:hover{background:#eef2f8;color:#13233d}
.oxd-desc.is-on{color:#9b231b;background:#fde4e1}
.oxd-fav:hover{color:#e0a412;background:#fff7e0}
.oxd-fav.is-on{color:#e0a412}
.oxd-fav.is-on .oxd-ic{fill:currentColor;animation:oxd-pop .4s cubic-bezier(.3,1.6,.5,1)}
@keyframes oxd-pop{0%{transform:scale(1)}40%{transform:scale(1.35)}100%{transform:scale(1)}}

/* Título acotado: letra según longitud, tres líneas como mucho, completo al pasar el ratón o con «Ver título completo» */
.oxd-tbox{position:relative;margin-top:16px}
.oxd-ttl{margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#0b1b33;font-weight:800;line-height:1.22;letter-spacing:-.025em;overflow-wrap:break-word;transition:font-size .2s}
.oxd-tbox.is-open .oxd-ttl{display:block;-webkit-line-clamp:unset;overflow:visible}
.oxd-s1{font-size:24px}.oxd-s2{font-size:22px}.oxd-s3{font-size:20px}.oxd-s4{font-size:19px}
.oxd-tpop{display:none}
.oxd-tmore{display:inline-block;margin-top:6px;padding:2px 0;border:0;background:none;color:#0757b9;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.oxd-tmore:hover{text-decoration:underline}
@media (hover:hover){
  .oxd-tpop{display:block;position:absolute;left:-14px;top:-12px;z-index:5;width:calc(100% + 28px);padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #cfe0fb;box-shadow:0 18px 44px rgba(14,37,77,.18);opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .16s,transform .16s,visibility 0s .16s;pointer-events:none}
  .oxd-tpop p{margin:0;color:#0b1b33;font-weight:800;line-height:1.22;letter-spacing:-.025em;overflow-wrap:break-word}
  .oxd-tbox.is-cut .oxd-ttl:hover~.oxd-tpop,.oxd-tbox.is-cut .oxd-ttl:focus-visible~.oxd-tpop{opacity:1;visibility:visible;transform:none;transition:opacity .16s .25s,transform .16s .25s,visibility 0s .25s}
}

/* Organismo y lugar */
.oxd-facts{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:16px;color:#2c3c57;font-size:13.5px;line-height:1.45}
.oxd-facts>span{display:inline-flex;align-items:flex-start;gap:7px;min-width:0;overflow-wrap:anywhere}
.oxd-facts .oxd-ic{margin-top:2px;color:#7a889e}

/* Reloj de plazo (misma escala y colores que las fichas de la lista) */
.oxd-top2{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.oxd-dial{display:flex;align-items:center;gap:14px;flex:0 0 auto;max-width:100%}
.oxd-ring{position:relative;width:76px;height:76px;flex:none}
.oxd-ring svg{display:block;width:76px;height:76px;transform:rotate(-90deg)}
.oxd-ring circle{fill:none;stroke-width:7}
.oxd-ring .oxd-bg{stroke:#e6edf7}
.oxd-ring .oxd-fg{stroke-linecap:round;animation:oxd-fill 1.1s cubic-bezier(.2,.7,.2,1) both}
@keyframes oxd-fill{from{stroke-dashoffset:var(--c)}}
.oxd-g .oxd-fg{stroke:#1e8e5a}.oxd-a .oxd-fg{stroke:#e0a412}.oxd-r .oxd-fg{stroke:#d63a2f}.oxd-c .oxd-fg,.oxd-n .oxd-fg{stroke:#b6c2d4}
.oxd-r.oxd-ring::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid #d63a2f;opacity:0;animation:oxd-pulse 1.8s ease-out infinite}
@keyframes oxd-pulse{0%{transform:scale(.9);opacity:.5}100%{transform:scale(1.2);opacity:0}}
.oxd-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.oxd-center b{color:#13233d;font-size:26px;font-weight:800;font-variant-numeric:tabular-nums}
.oxd-center small{margin-top:3px;color:#52627a;font-size:11px;font-weight:600}
.oxd-center .oxd-closed{width:26px;height:26px;color:#7a889e}
.oxd-center .oxd-dash{color:#7a889e}
.oxd-dtext{min-width:0;max-width:150px}
.oxd-k{color:#7a889e;font-size:11.5px;font-weight:600}
.oxd-d{color:#13233d;font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}
.oxd-w{color:#52627a;font-size:12.5px;font-weight:500;line-height:1.35}
.oxd-w-c{color:#9b231b;font-weight:600}

/* Presupuesto base y valor estimado: al lado del reloj si caben; si no, debajo */
.oxd-money{flex:1 1 0;padding-left:18px;border-left:1px solid #dfe7f3}
.oxd-amt{display:block;color:#07172f;font-weight:800;line-height:1.1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:break-word}
.oxd-a1{font-size:28px}.oxd-a2{font-size:24px}.oxd-a3{font-size:21px}.oxd-a4{font-size:18px}
.oxd-lbl{margin-top:2px;color:#7a889e;font-size:11.5px;font-weight:600;line-height:1.35}
.oxd-est-v{margin-top:10px;color:#13233d;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:break-word}

/* Herramientas */
.oxd-toolswrap{margin:0 0 14px;container:oxd-tools / inline-size}
.oxd-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.oxd-tool{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;min-width:0;padding:16px 18px;border:1px solid #e3eaf5;border-radius:16px;background:#fff;outline:none}
.oxd-tool:focus-visible{box-shadow:0 0 0 3px rgba(23,92,255,.25)}
.oxd-ti{align-self:start;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f2f6ff;color:#175cff}
.oxd-ti .oxd-ic{width:21px;height:21px}
.oxd-doc .oxd-ti{background:#ecfafd;color:#0e9bb8}
.oxd-ask .oxd-ti{background:#f3f0ff;color:#6a4ff0}
.oxd-tbody{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.oxd-tstate{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#52627a;font-size:12px;font-weight:600}
.oxd-okdot,.oxd-busydot{width:7px;height:7px;border-radius:50%;background:#16a371;flex:none}
.oxd-busydot{background:#175cff;animation:oxd-blink 1.2s ease-in-out infinite}
@keyframes oxd-blink{50%{opacity:.25}}
.oxd-ready{color:#0f7a58}
.oxd-ready::before{content:"· ";color:#7a889e}
.oxd-ttext strong{display:block;margin-top:1px;color:#13233d;font-size:15px}
.oxd-ttext small{display:block;margin-top:3px;color:#52627a;font-size:12px;line-height:1.45}
.oxd-caps{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.oxd-caps span{padding:5px 8px;border:1px solid #d9e6f7;border-radius:999px;background:#ffffffc2;color:#4c6483;font-size:10px;font-weight:700}
.oxd-go{padding:8px 12px;border:1px solid #c7daf5;border-radius:10px;background:#f4f8fe;color:#0757b9;font:inherit;font-size:12.5px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.oxd-go:hover:not(:disabled){background:#e8f0fd;border-color:#9dbcf8}
.oxd-go:disabled{background:#f6f8fb;border-color:#e3eaf5;color:#9aa9bb;cursor:not-allowed}
.oxd-sum{background:linear-gradient(145deg,#f4f8ff,#fff 60%);border-color:#cfe0fb}
.oxd-sum.is-ready{border-color:#bfe3d3}
.oxd-sum .oxd-go{align-self:stretch;background:linear-gradient(135deg,#175cff,#3b82ff);border-color:transparent;color:#fff}
.oxd-sum .oxd-go:hover:not(:disabled){background:linear-gradient(135deg,#0f4fe6,#2f74f5);box-shadow:0 8px 18px rgba(23,92,255,.25)}
.oxd-sum .oxd-go:disabled{background:#94a8c5;color:#ffffffd9}
.oxd-tool.is-disabled{opacity:.62}

.oxd-ib:focus-visible,.oxd-tmore:focus-visible,.oxd-go:focus-visible,.oxd-ttl:focus-visible{outline:2px solid #175cff;outline-offset:2px;border-radius:6px}

/* Cabecera a partir de 560 px: letra del título de escritorio */
@container oxd-hero (min-width:560px){
  .detail-hero.oxd-hero .oxd-copy{padding:24px 26px}
  .detail-hero.oxd-hero .detail-hero-aside{gap:16px;padding:22px 26px}
  .oxd-s1{font-size:30px}.oxd-s2{font-size:26px}.oxd-s3{font-size:23px}.oxd-s4{font-size:21px}
}
/* 730-1039 px: el lateral pasa a ser una franja bajo el texto, con el reloj y los importes a la izquierda y las acciones a la derecha */
@container oxd-hero (min-width:730px) and (max-width:1039.98px){
  .detail-hero.oxd-hero .detail-hero-aside{display:grid;grid-template-columns:minmax(410px,1fr) minmax(240px,340px);align-items:center;gap:12px 24px}
  .detail-hero.oxd-hero .oxd-top2{grid-column:1;grid-row:1 / span 2}
  .detail-hero.oxd-hero .presentation-cta-wrap,.detail-hero.oxd-hero .detail-hero-actions{grid-column:2}
}
/* 1040 px o más: dos columnas, como en la maqueta aprobada (el texto conserva al menos 590 px) */
@container oxd-hero (min-width:1040px){
  .detail-hero.oxd-hero .oxd-copy{flex:1 1 0;padding:26px 28px}
  .detail-hero.oxd-hero .detail-hero-aside{flex:0 0 450px;padding:24px;border-top:0;border-left:1px solid #e3eaf5;border-radius:0 var(--oxd-r) var(--oxd-r) 0}
}
@container oxd-tools (min-width:600px){
  .oxd-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .oxd-sum{grid-column:1 / -1}
  .oxd-sum .oxd-go{align-self:flex-start}
}
@container oxd-tools (min-width:980px){
  .oxd-tools{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr))}
  .oxd-sum{grid-column:auto}
}
@media (max-width:680px){.oxd-facts{flex-direction:column;gap:8px}}
@media (prefers-reduced-motion:reduce){.oxd-hero *,.oxd-toolswrap *{animation:none!important;transition:none!important}}
@media print{
  .oxd-hero .no-print,.oxd-toolswrap{display:none!important}
  .oxd-ttl{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  .oxd-tpop{display:none!important}
  .oxd-ring .oxd-fg,.oxd-r.oxd-ring::after{animation:none!important}
}

.tender-sort{display:flex;flex-direction:column;gap:5px;max-width:100%;min-width:0}.tender-sort-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:650;color:#334155;white-space:nowrap}.tender-sort select{font:inherit;color:#17334b;padding:10px 32px 10px 12px;border:1px solid #dbe6f4;border-radius:11px;background:#fff;min-height:40px;max-width:100%;cursor:pointer}.tender-sort select:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.tender-sort-note{font-size:11px;color:#64748b;white-space:normal;max-width:310px}.toolbar .actions:has(.tender-sort){flex-wrap:wrap;align-items:center;gap:12px}@media(max-width:640px){.toolbar:has(.tender-sort){flex-wrap:wrap}.toolbar .actions:has(.tender-sort){width:100%}.tender-sort{flex:1 1 230px}.tender-sort-label{flex-wrap:wrap;gap:6px}.tender-sort select{flex:1;min-width:0}}

