/* Pequeños ajustes para que el archivo estático conserve la plantilla original. */
.aviso-archivo,
.nota-estatica {
  color: #555;
  background: #f1f7e7;
  border-left: 3px solid #7ebf41;
  padding: 9px 11px;
  line-height: 1.45;
}
.archivo-shell { margin-top: 20px !important; text-align: left; }
.logo-archivo { max-width: 190px; max-height: 90px; object-fit: contain; border: 0; }
.archivo-shell a img.logo-archivo,
.archivo-shell a:hover img.logo-archivo,
.archivo-shell a img.logo-archivo:hover { border: 0 !important; outline: 0; box-shadow: none; }
a img[src*="logo_krikri"], a:hover img[src*="logo_krikri"], a img[src*="logo_krikri"]:hover { border: 0 !important; outline: 0; box-shadow: none; }
.archivo-nav { margin: 0 0 12px; padding: 9px 12px; background: #fff; border: 1px solid #d1d1d1; }
.archivo-nav a { display: inline-block; margin-right: 17px; font-weight: bold; }
.archivo-nav a.activo { color: #333; }
.archivo-shell #content { box-sizing: border-box; width: 580px; }
.archivo-shell #content-cos { overflow-wrap: anywhere; }
.archivo-shell #content-cos h1 { margin: 0 0 14px; }
.archivo-shell #content-cos h2 { font-size: 16px; margin: 16px 0 10px; }
.archivo-shell #sidebar { margin-top: 0; background: transparent; }
.archivo-shell #sidebar-cap, .archivo-shell #sidebar-peu { display: none; }
.archivo-shell #sidebar-cos { background: #fff; border: 1px solid #d5d5d5; border-radius: 8px; padding: 16px 18px; }
.archivo-shell #sidebar-cos h2 { font-size: 16px; margin: 0 0 12px; padding: 0 0 8px; border-bottom: 2px solid #cde5ac; }
.archivo-shell #sidebar-cos p { font-size: 12px; line-height: 1.5; margin: 0 0 12px; }
.archivo-shell .stream-row { min-height: 48px; }
.archivo-shell .td-avatar { width: 45px; }
.avatar-archivo { display: block; width: 40px; height: 40px; object-fit: cover; border: 1px solid #ddd; border-radius: 2px; }
.archivo-shell .td-mensaje { box-sizing: border-box; width: calc(100% - 70px); }
.archivo-shell .mensaje { overflow-wrap: anywhere; }
.demo-notice { margin-bottom: 12px; }
.demo-composer { box-sizing: border-box; margin: 0 0 10px; padding: 12px; background: #fff; border: 1px solid #d5d5d5; }
.demo-composer label { display: block; margin-bottom: 7px; color: #555; font-weight: bold; }
.demo-composer textarea { display: block; box-sizing: border-box; width: 100% !important; height: 110px; min-height: 110px; padding: 10px; resize: none; background: #f7f7f7; border: 1px solid #ccc; color: #777; font: inherit; }
.demo-composer-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 6px; color: #888; font-size: 11px; }
.demo-composer-footer button, .demo-suggestions button { padding: 4px 10px; border: 1px solid #aaa; border-radius: 3px; background: #ddd; color: #777; font: inherit; cursor: not-allowed; }
.demo-post { background: #fff; }
.demo-tag { display: inline-block; margin-left: 5px; padding: 1px 5px; border-radius: 3px; background: #f1f7e7; color: #618e34; font-size: 9px; font-weight: normal; text-transform: uppercase; vertical-align: 1px; }
.demo-reply { color: #888; }
.demo-action { color: #999; }
.demo-suggestions { display: flex; flex-direction: column; list-style: none !important; margin: 8px 0 12px; padding: 0 !important; }
.demo-suggestions li { box-sizing: border-box; display: grid; grid-template-columns: 28px minmax(0, 1fr) 66px; align-items: center; gap: 7px; width: 100%; min-width: 0; padding: 8px 0; border-bottom: 1px dotted #ddd; font-size: 11px; }
.demo-suggestions .demo-avatar { display: block; box-sizing: border-box; width: 28px !important; height: 28px !important; max-width: 28px; max-height: 28px; object-fit: cover; border: 1px solid #ddd; border-radius: 50%; }
.demo-suggestions li > span { display: block; min-width: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.2; }
.demo-suggestions small { display: block; color: #888; font-size: 9px; }
.demo-suggestions button { box-sizing: border-box; width: 66px; padding: 4px 3px; white-space: nowrap; font-size: 10px; }
.demo-post .demo-avatar { width: 40px; height: 40px; object-fit: cover; border-radius: 3px; }
.demo-sidebar-note { color: #666; }
.archivo-shell .paginacion { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 12px; border-top: 1px dotted #ccc; font-size: 12px; }
.archivo-shell .paginacion span { color: #777; }
.directorio-perfiles { columns: 2; padding-left: 20px; line-height: 1.8; }
.muted { color: #888; font-size: 11px; }
.perfil-resumen { min-height: 115px; }
.perfil-resumen p { line-height: 1.5; margin: 7px 0; }
.perfil-avatar { float: left; width: 100px; height: 100px; object-fit: cover; margin: 0 14px 12px 0; border: 1px solid #ddd; }
.perfil-bio { white-space: pre-line; }
.perfil-web { overflow-wrap: anywhere; }
.metricas-historicas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.metricas-historicas div { padding: 12px; background: #f7f7f7; border-left: 3px solid #7ebf41; }
.metricas-historicas dt { color: #666; font-size: 12px; }
.metricas-historicas dd { margin: 4px 0 0; color: #333; font-size: 23px; font-weight: bold; }
.cta-historico { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.boton-archivo { display: inline-block; padding: 9px 14px; background: #7ebf41; color: #fff; border-radius: 4px; font-weight: bold; }
.boton-archivo:hover { background: #689f35; color: #fff; text-decoration: none; }
.archivo-footer { clear: both; padding: 12px 0 22px; color: #777; font-size: 11px; text-align: center; }
.aviso-archivo { margin: 0 0 18px; font-size: 13px; }
.nota-estatica { clear: both; margin: 12px 0; font-size: 12px; }
.limpiar { clear: both; }
.centrado { text-align: center; }
.volver { margin-top: 20px; font-size: 12px; }
#formulari form { box-sizing: border-box; width: 100%; }
#formulari input:disabled,
#formulari textarea:disabled { opacity: .8; cursor: not-allowed; }

@media (max-width: 850px) {
  .archivo-shell { box-sizing: border-box; width: calc(100% - 20px) !important; margin: 14px auto 0 !important; }
  .archivo-shell #cabecera { box-sizing: border-box; width: 100%; height: 74px; }
  .archivo-shell .logo-archivo { max-height: 65px; }
  .archivo-nav a { margin: 0 10px 5px 0; font-size: 12px; }
  .archivo-shell #content, .archivo-shell #sidebar { box-sizing: border-box; float: none; width: 100%; }
  .archivo-shell #content-cos { padding: 14px 18px; }
  .archivo-shell #sidebar { margin-top: 14px; }
  .archivo-shell .td-avatar { margin-left: 0; margin-right: 8px; }
  .archivo-shell .td-mensaje { width: calc(100% - 55px); }
  .directorio-perfiles { columns: 1; }
  .metricas-historicas { grid-template-columns: 1fr 1fr; gap: 7px; }
  .metricas-historicas div { padding: 9px; }
  .metricas-historicas dd { font-size: 19px; }
  .archivo-shell .paginacion { font-size: 11px; }
  #contenido-form { box-sizing: border-box; width: calc(100% - 24px); margin-top: 24px; }
  #content { box-sizing: border-box; width: 100%; }
  #content-cap, #content-peu { width: 100%; background-size: 100% 100%; }
  #content-cos { box-sizing: border-box; padding: 14px 18px; }
  #formulari, #formulari-perfil { box-sizing: border-box; width: 100%; float: none; }
  #info { box-sizing: border-box; width: 100%; float: none; text-align: left; margin-top: 20px; }
  #info img { max-width: 130px; height: auto; }
  #QueEs p { line-height: 1.5; }
}
