/* TAMANDUÁ BASKET · ASAMBLEAS PÚBLICAS
   Hoja independiente: no modifica la estética del panel de gestión.
   Paleta / tipografías alineadas con public_html/index.php.
*/
:root {
  --sky: #28c3ff;
  --sky-light: #78ddff;
  --sky-dark: #0494d1;
  --ink: #020914;
  --navy: #061426;
  --navy-2: #0a1d31;
  --white: #f5fbff;
  --muted: #a9bccc;
  --line: rgba(85,202,255,.22);
  --soft-line: rgba(255,255,255,.12);
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --container: 1240px;
  --header-h: 86px;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 20px)}
body {margin:0;min-width:320px;color:var(--white);background:linear-gradient(180deg,#020914 0%,#061426 55%,#020914 100%);font-family:var(--body);overflow-x:hidden}
body.menu-open {overflow:hidden}
a {text-decoration:none;color:inherit}
button,a {-webkit-tap-highlight-color:transparent}
button {font:inherit}
img {display:block;max-width:100%}
::selection {background:var(--sky);color:var(--ink)}
:focus-visible {outline:3px solid var(--sky-light);outline-offset:4px}
.container {width:min(var(--container), calc(100% - 48px));margin-inline:auto}
.skip-link {position:fixed;z-index:9999;top:12px;left:12px;padding:12px 16px;background:var(--sky);color:var(--ink);font-weight:800;transform:translateY(-160%)}
.skip-link:focus {transform:translateY(0)}
/* Igual que el encabezado de la web principal */
.site-header {position:fixed;inset:0 0 auto;height:var(--header-h);z-index:1000;background:rgba(2,9,20,.84);border-bottom:1px solid rgba(63,192,245,.15);backdrop-filter:blur(18px);transition:background .25s,box-shadow .25s}
.site-header.scrolled {background:rgba(2,9,20,.97);box-shadow:0 12px 40px rgba(0,0,0,.28)}
.nav-shell {height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand {display:inline-flex;align-items:center;gap:12px;flex:0 0 auto}
.brand-mark {width:62px;height:62px;display:grid;place-items:center;border:2px solid rgba(120,221,255,.78);border-radius:50%;background:#061426;box-shadow:0 0 0 5px rgba(40,195,255,.08);font-family:var(--display);font-size:1.5rem;font-weight:900;overflow:hidden}
.brand-mark img {width:100%;height:100%;object-fit:contain}
.brand-copy {display:grid;line-height:1}
.brand-copy strong {font-family:var(--display);font-size:1.42rem;letter-spacing:.02em;text-transform:uppercase}
.brand-copy small {margin-top:5px;color:var(--sky-light);font-weight:900;font-size:.65rem;letter-spacing:.16em;text-transform:uppercase}
.nav-menu {display:flex;align-items:center;justify-content:flex-end;gap:clamp(13px,1.8vw,29px);margin-left:auto}
.nav-link {position:relative;display:inline-block;padding:12px 0;color:rgba(245,251,255,.78);font-size:.88rem;font-weight:700;transition:color .2s;white-space:nowrap}
.nav-link:after {content:"";position:absolute;bottom:5px;left:50%;right:50%;height:2px;background:var(--sky);transition:left .2s,right .2s}
.nav-link:hover,.nav-link.active {color:var(--sky-light)}
.nav-link:hover:after,.nav-link.active:after {left:0;right:0}
.login-link {min-height:48px;min-width:132px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:10px 20px;border:1px solid var(--sky);color:var(--sky-light);font-size:.88rem;font-weight:900;white-space:nowrap;background:rgba(4,148,209,.07);clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px);transition:color .2s,background .2s}
.login-link:hover {background:var(--sky);color:var(--ink)}
.menu-button {display:none;width:48px;height:48px;place-items:center;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.04);color:var(--white);cursor:pointer}
.menu-bars,.menu-bars:before,.menu-bars:after {width:22px;height:2px;display:block;position:relative;background:currentColor;border-radius:4px;transition:transform .2s}
.menu-bars:before,.menu-bars:after {content:"";position:absolute;left:0}.menu-bars:before {top:-7px}.menu-bars:after {top:7px}
.menu-button[aria-expanded="true"] .menu-bars {background:transparent}
.menu-button[aria-expanded="true"] .menu-bars:before {transform:translateY(7px) rotate(45deg)}
.menu-button[aria-expanded="true"] .menu-bars:after {transform:translateY(-7px) rotate(-45deg)}
/* Hero con la misma estética deportiva de la portada */
.page-hero {min-height:510px;padding-top:var(--header-h);position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 12% 40%,rgba(40,195,255,.13),transparent 34rem),linear-gradient(115deg,#020914,#061426 63%,#0a2b44)}
.hero-photo {position:absolute;z-index:-3;top:var(--header-h);right:0;bottom:0;width:65%;opacity:.57;clip-path:polygon(22% 0,100% 0,100% 100%,0 100%)}
.hero-photo img {width:100%;height:100%;object-fit:cover;object-position:center 30%}
.page-hero:after {content:"";position:absolute;z-index:-2;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(2,9,20,1) 0%,rgba(2,9,20,.93) 34%,rgba(2,9,20,.50) 68%,rgba(2,9,20,.35)),linear-gradient(0deg,rgba(2,9,20,.9),transparent 50%)}
.hero-grid {position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.35;background-image:linear-gradient(rgba(40,195,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(40,195,255,.08) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(90deg,#000,transparent 70%)}
.hero-inner {min-height:400px;display:flex;align-items:center;padding-top:55px;padding-bottom:52px}
.hero-copy {max-width:770px}
.eyebrow {display:inline-flex;align-items:center;gap:12px;margin-bottom:25px;color:var(--sky-light);font-size:.74rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.eyebrow:before {content:"";width:42px;height:2px;background:var(--sky)}
.page-hero h1 {margin:0;font-family:var(--display);font-style:italic;font-weight:900;letter-spacing:-.035em;font-size:clamp(4.1rem,7.7vw,7.7rem);line-height:.79;text-transform:uppercase;text-wrap:balance}
.page-hero h1 span {display:block;color:var(--sky);margin-top:.12em}
.hero-rule {width:min(430px,80%);height:10px;margin:25px 0 19px;border-top:2px solid var(--sky);background:repeating-linear-gradient(120deg,transparent 0 10px,rgba(40,195,255,.3) 10px 15px);clip-path:polygon(0 0,96% 0,100% 100%,0 100%)}
.hero-copy p {max-width:625px;margin:0 0 24px;color:#c3d2e1;font-size:clamp(.96rem,1.4vw,1.12rem);line-height:1.68}
.hero-actions {display:flex;flex-wrap:wrap;gap:12px}
.btn {min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:13px 23px;border:1px solid transparent;color:var(--white);font-family:var(--display);font-weight:900;font-size:1rem;letter-spacing:.075em;text-transform:uppercase;text-align:center;cursor:pointer;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px);transition:transform .2s,background .2s,color .2s}
.btn:hover {transform:translateY(-2px)}
.btn-primary {color:var(--ink);background:linear-gradient(135deg,var(--sky-light),var(--sky));box-shadow:0 14px 35px rgba(40,195,255,.16)}
.btn-outline {border-color:var(--sky);color:var(--sky-light);background:rgba(2,9,20,.64)}
.btn-outline:hover {background:var(--sky);color:var(--ink)}
.btn.small {min-height:44px;padding:10px 16px;font-size:.87rem}
.hero-signature {position:relative;z-index:2;border-top:1px solid rgba(40,195,255,.16);background:rgba(2,9,20,.72)}
.hero-signature .container {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 0;color:#b2d4e6;font-size:.64rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.hero-signature strong {color:var(--sky-light)}
/* Contenido */
.section-content {padding:94px 0 105px;background:radial-gradient(circle at 90% 20%,rgba(40,195,255,.07),transparent 31rem),#061426}
.section-heading {display:grid;grid-template-columns:1fr minmax(220px,420px);align-items:end;gap:28px;margin-bottom:37px}
.section-kicker {display:block;color:var(--sky);font-size:.69rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.section-heading h2 {margin:8px 0 0;font-family:var(--display);font-size:clamp(3rem,5.1vw,5.6rem);font-style:italic;line-height:.88;letter-spacing:-.025em;text-transform:uppercase}
.section-heading h2 span {color:var(--sky)}
.section-heading p {margin:0;color:var(--muted);line-height:1.75;font-size:.97rem}
.content-grid {display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}
.assembly-card,.side-card {border:1px solid var(--soft-line);background:linear-gradient(145deg,rgba(13,36,57,.98),rgba(4,16,30,.98));box-shadow:0 20px 52px rgba(0,0,0,.18)}
.assembly-card {min-width:0;padding:clamp(24px,3.2vw,42px);clip-path:polygon(17px 0,100% 0,100% calc(100% - 17px),calc(100% - 17px) 100%,0 100%,0 17px)}
.assembly-top {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.status-tag {display:inline-flex;align-items:center;gap:9px;padding:8px 11px;border:1px solid rgba(40,195,255,.35);background:rgba(40,195,255,.08);color:var(--sky-light);font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.status-dot {width:7px;height:7px;border-radius:50%;background:var(--sky);box-shadow:0 0 0 4px rgba(40,195,255,.14)}
.status-tag.is-history {border-color:var(--soft-line);background:rgba(255,255,255,.035);color:#c3d1dd}
.status-tag.is-history .status-dot {background:#95a4b1;box-shadow:none}
.assembly-count {color:var(--muted);font-size:.78rem}
.assembly-heading {display:flex;align-items:center;gap:22px;margin:28px 0 26px}
.date-square {flex:0 0 100px;min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--sky);color:var(--ink);clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
.date-square strong {font-family:var(--display);font-size:3.7rem;line-height:.75;font-weight:900}
.date-square small {margin-top:8px;font-size:.82rem;letter-spacing:.2em;font-weight:900}
.assembly-heading h3 {margin:8px 0 0;font-family:var(--display);font-size:clamp(2.4rem,3.8vw,3.9rem);font-style:italic;font-weight:900;line-height:.93;text-transform:uppercase;letter-spacing:-.02em}
.facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 17px;padding:23px 0;border-block:1px solid var(--soft-line)}
.fact {display:flex;align-items:flex-start;gap:11px;min-width:0}
.fact:nth-child(2) {grid-column:auto}
.fact:last-child {grid-column:1/-1}
.fact-icon {flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(40,195,255,.23);background:rgba(40,195,255,.07);display:grid;place-items:center;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.fact-icon svg {width:21px;height:21px;stroke:var(--sky);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fact small {display:block;color:#92a9be;font-size:.72rem;margin:2px 0 5px}
.fact strong {display:block;font-size:.9rem;line-height:1.55;font-weight:700;overflow-wrap:anywhere}
.summary {margin-top:24px;padding:19px 22px;background:rgba(40,195,255,.045);border-left:3px solid var(--sky);color:#c3d5e3;line-height:1.7}
.summary-kicker {display:block;margin-bottom:7px;font-size:.65rem;letter-spacing:.12em;color:var(--sky-light);font-weight:900}
.summary p {margin:0;font-size:.86rem}
.content-heading {display:flex;align-items:center;gap:14px;margin:42px 0 17px}
.content-number {color:var(--sky);font-family:var(--display);font-size:1.4rem;font-weight:900}
.content-heading h4 {margin:0;font-family:var(--display);font-size:2rem;line-height:.9;font-weight:850;text-transform:uppercase}
.order-text {padding:22px 24px;background:rgba(2,9,20,.5);border:1px solid var(--soft-line);color:#d8e5ee;font-size:.9rem;line-height:1.95;overflow-wrap:anywhere}
.docs-heading {margin-top:40px}
.docs-intro {margin:0 0 17px;color:#a6bac9;font-size:.85rem;line-height:1.65}
.document-list {display:grid;gap:11px}
.document-item {display:flex;align-items:center;gap:15px;min-width:0;padding:16px;border:1px solid var(--soft-line);background:rgba(1,12,25,.52);transition:border-color .2s,background .2s}
.document-item:hover {border-color:rgba(40,195,255,.5);background:rgba(40,195,255,.05)}
.document-icon {flex:0 0 48px;width:48px;height:50px;display:grid;place-items:center;background:rgba(40,195,255,.08);border:1px solid rgba(40,195,255,.22);color:var(--sky)}
.document-icon svg {width:24px;height:24px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.document-detail {flex:1;min-width:0;overflow-wrap:anywhere}
.document-detail span {display:block;font-size:.64rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--sky)}
.document-detail strong {display:block;margin:5px 0;color:var(--white);font-size:.88rem;line-height:1.35}
.document-detail small {color:#91a6b8;font-size:.72rem}
.document-actions {display:flex;align-items:center;gap:10px;flex:0 0 auto}
.document-actions a {padding:8px 10px;border:1px solid rgba(40,195,255,.26);color:var(--sky-light);font-size:.75rem;font-weight:800;white-space:nowrap}
.document-actions a:hover {background:var(--sky);color:var(--ink)}
.docs-empty,.archive-empty {padding:23px;background:rgba(2,9,20,.38);border:1px dashed rgba(40,195,255,.24);color:var(--muted);font-size:.85rem;line-height:1.6}
.share-section {display:flex;align-items:center;justify-content:space-between;gap:23px;margin-top:33px;padding:25px 0 0;border-top:1px solid var(--soft-line)}
.share-section strong {display:block;margin-top:7px;font-size:1.05rem}
.share-section p {color:var(--muted);font-size:.79rem;line-height:1.6;margin:7px 0 0}
.share-actions {display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}
.empty-card {min-height:360px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:18px}
.empty-card h3 {font-family:var(--display);font-weight:900;font-style:italic;line-height:.9;font-size:clamp(2.5rem,5vw,4rem);text-transform:uppercase;margin:0}
.empty-card p {max-width:550px;margin:0;color:var(--muted);line-height:1.75}
/* Sidebar */
.sidebar {min-width:0}
.side-card {padding:27px 24px;clip-path:polygon(13px 0,100% 0,100% calc(100% - 13px),calc(100% - 13px) 100%,0 100%,0 13px)}
.side-card h3 {margin:11px 0;font-family:var(--display);font-size:2.35rem;font-style:italic;line-height:.9;font-weight:900;text-transform:uppercase}
.side-card h3 span {color:var(--sky)}
.side-card p {margin:15px 0 22px;color:var(--muted);font-size:.8rem;line-height:1.72}
.archive-list {display:grid;gap:7px}
.archive-item {display:flex;align-items:center;gap:11px;padding:12px 9px;border:1px solid transparent;transition:border-color .2s,background .2s}
.archive-item:hover,.archive-item.selected {background:rgba(40,195,255,.055);border-color:rgba(40,195,255,.22)}
.archive-year {flex:0 0 53px;min-height:44px;display:grid;place-items:center;background:rgba(40,195,255,.1);color:var(--sky-light);font-family:var(--display);font-weight:900;font-size:1.3rem}
.archive-text {flex:1;min-width:0}
.archive-text strong {display:block;font-size:.78rem;line-height:1.4;overflow-wrap:anywhere}
.archive-text small {display:block;margin-top:4px;color:var(--muted);font-size:.68rem;line-height:1.4}
.archive-arrow {color:var(--sky);font-weight:900}
.identity-card {margin-top:20px;background:linear-gradient(145deg,rgba(10,48,73,.96),rgba(3,19,34,.97));border-color:rgba(40,195,255,.23)}
.identity-card>strong {display:block;margin-top:15px;font-family:var(--display);font-size:1.6rem;line-height:1.06;font-weight:900}
.identity-card p {margin:10px 0 19px}
.identity-rule {height:2px;width:58px;background:var(--sky)}
.identity-card small {display:block;margin-top:16px;font-size:.73rem;line-height:1.5;color:#c0d9e5;font-weight:700}
.back-home {display:inline-flex;align-items:center;padding:20px 6px;color:var(--sky-light);font-size:.79rem;font-weight:800}
.back-home:hover {text-decoration:underline}
/* Footer */
.site-footer {border-top:1px solid var(--soft-line);background:#01060d}
.footer-main {min-height:165px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding-block:32px}
.footer-brand {display:flex;align-items:center;gap:16px}
.footer-brand strong {display:block;font-family:var(--display);font-size:1.65rem;font-weight:900}
.footer-brand small {display:block;color:var(--muted);font-size:.77rem;line-height:1.5;margin-top:5px}
.footer-nav {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:17px;color:#aebdcc;font-size:.79rem;font-weight:750}
.footer-nav a:hover {color:var(--sky-light)}
.footer-bottom {border-top:1px solid rgba(255,255,255,.07);padding:19px 0;color:#75899c;font-size:.74rem;text-align:center}
/* Breakpoints */
@media(max-width:1120px) {
  :root {--header-h:76px}
  .brand-mark {width:54px;height:54px}
  .brand-copy {display:none}
  .content-grid {grid-template-columns:minmax(0,1fr) 300px}
  .nav-menu {gap:16px}
  .nav-link {font-size:.83rem}
}
@media(max-width:1000px) {
  .menu-button {display:grid}
  .nav-menu {position:fixed;top:var(--header-h);right:0;left:0;display:grid;align-content:start;gap:0;max-height:calc(100dvh - var(--header-h));padding:16px 24px 28px;overflow-y:auto;background:rgba(2,9,20,.99);border-bottom:1px solid var(--line);box-shadow:0 24px 60px rgba(0,0,0,.45);opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .2s,visibility .2s,transform .2s}
  .nav-menu.open {opacity:1;visibility:visible;transform:translateY(0)}
  .nav-link {padding:15px 8px;border-bottom:1px solid rgba(255,255,255,.07);font-size:1rem}
  .nav-link:after {display:none}
  .login-link {margin-top:16px;width:100%}
  .section-heading {grid-template-columns:1fr}
  .section-heading p {max-width:650px}
  .content-grid {grid-template-columns:1fr}
  .sidebar {display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:16px;align-items:start}
  .identity-card {margin-top:0}
  .back-home {grid-column:1/-1}
}
@media(max-width:650px) {
  :root {--header-h:70px}
  .container {width:min(var(--container),calc(100% - 26px))}
  .brand-mark {width:48px;height:48px}
  .menu-button {width:46px;height:46px}
  .page-hero {min-height:0}
  .hero-photo {width:100%;clip-path:none;opacity:.38}
  .page-hero:after {background:linear-gradient(90deg,rgba(2,9,20,.93),rgba(2,9,20,.72)),linear-gradient(0deg,rgba(2,9,20,.9),transparent)}
  .hero-inner {min-height:435px;padding-top:56px;padding-bottom:47px}
  .eyebrow {font-size:.63rem;line-height:1.5;letter-spacing:.13em}
  .eyebrow:before {width:27px;flex:0 0 27px}
  .page-hero h1 {font-size:clamp(3.55rem,13.4vw,5.6rem)}
  .page-hero h1 span {font-size:.67em;letter-spacing:-.025em}
  .hero-copy p {font-size:.93rem}
  .hero-actions {display:grid;grid-template-columns:1fr}
  .btn {width:100%;min-height:51px}
  .hero-signature .container {padding:12px 0;font-size:.58rem}
  .section-content {padding:65px 0 70px}
  .section-heading {margin-bottom:25px}
  .section-heading h2 {font-size:clamp(2.2rem,8.8vw,3.7rem)}
  .section-heading p {font-size:.88rem}
  .assembly-card {padding:23px 18px;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
  .assembly-heading {gap:14px;margin:22px 0}
  .date-square {flex-basis:77px;min-height:82px}
  .date-square strong {font-size:2.9rem}
  .date-square small {font-size:.7rem;margin-top:6px}
  .assembly-heading h3 {font-size:clamp(2.15rem,9vw,3rem)}
  .facts {grid-template-columns:1fr;gap:16px}
  .fact:last-child {grid-column:auto}
  .content-heading {margin-top:30px}
  .content-heading h4 {font-size:1.75rem}
  .order-text {padding:17px 15px;font-size:.84rem;line-height:1.85}
  .document-item {align-items:flex-start;flex-wrap:wrap;gap:11px;padding:13px}
  .document-icon {width:43px;height:45px;flex-basis:43px}
  .document-detail {flex-basis:calc(100% - 58px)}
  .document-actions {flex:1 1 100%;justify-content:stretch}
  .document-actions a {flex:1;text-align:center;padding:10px 8px}
  .share-section {align-items:stretch;flex-direction:column}
  .share-actions {justify-content:stretch;display:grid;grid-template-columns:1fr 1fr}
  .share-actions .btn {font-size:.8rem;padding:10px 8px}
  .sidebar {grid-template-columns:1fr}
  .back-home {grid-column:auto}
  .footer-main {flex-direction:column;align-items:stretch;gap:23px}
  .footer-nav {justify-content:flex-start}
}
@media(max-width:390px) {
  .page-hero h1 {font-size:3.3rem}
  .page-hero h1 span {font-size:.65em}
  .assembly-heading h3 {font-size:1.94rem}
  .date-square {flex-basis:69px}
  .assembly-count {font-size:.7rem}
  .status-tag {font-size:.66rem}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* =============================================================
   ASAMBLEAS PÚBLICAS · ESTILO INSTITUCIONAL CLARO · 04/11/2026
   Sobrescribe colores y detalles de estilos-publicos.css,
   sin cambiar la lectura de base de datos ni los documentos.
   ============================================================= */
:root {
  --sky:#087eaf;--sky-light:#086e9f;--sky-dark:#045e89;
  --ink:#10283e;--navy:#193a55;--navy-2:#e6f2f8;
  --white:#19374d;--muted:#5f7385;
  --line:rgba(5,107,157,.24);--soft-line:rgba(30,86,122,.14);
}
body {color:#18364b;background:linear-gradient(180deg,#f7fbfd,#eef5fa)}
.site-header,.site-header.scrolled {background:rgba(255,255,255,.96);border-color:#d9e5ee;box-shadow:0 4px 22px rgba(29,70,105,.07)}
.brand-mark {background:#073755;color:#fff;border-color:#7ac5e1;box-shadow:0 0 0 4px rgba(21,130,183,.07)}
.brand-copy strong {color:#15364d}
.brand-copy small {color:#0879a8}
.nav-link {color:#3a566b}
.nav-link:hover,.nav-link.active {color:#056b99}
.login-link {background:#f0f9fd;color:#076b9a;border-color:#8fc8e0;clip-path:none;border-radius:8px}
.login-link:hover {background:#087eaf;color:#fff}
.menu-button {color:#14384e;border-color:#cbdfe9;background:#eff7fb}
/* Presentación luminosa con la fotografía institucional a la derecha */
.page-hero {min-height:515px;background:radial-gradient(circle at 9% 30%,rgba(139,202,231,.25),transparent 32rem),linear-gradient(115deg,#fff,#e8f3fa 62%,#d2e7f3)}
.hero-photo {opacity:.91}
.page-hero:after {background:linear-gradient(90deg,#fbfdff 0%,rgba(248,252,255,.98) 31%,rgba(245,250,253,.86) 48%,rgba(239,247,252,.32) 76%,rgba(235,246,252,.1) 100%)}
.hero-grid {opacity:.15}
.eyebrow {color:#08709a}
.eyebrow:before {background:#097caf}
.page-hero h1 {color:#15364d;font-style:normal;font-size:clamp(3.9rem,6.5vw,6.7rem);line-height:.87}
.page-hero h1 span {color:#0985b8}
.hero-copy p {color:#546d80}
.hero-rule {border-top-color:#0685ba}
.btn {clip-path:none;border-radius:8px;letter-spacing:.045em}
.btn-primary {color:#fff;background:linear-gradient(135deg,#0b83b4,#075d8b);box-shadow:0 12px 28px rgba(8,101,149,.15)}
.btn-primary:hover {background:#075e8c;color:#fff}
.btn-outline {background:rgba(255,255,255,.9);color:#076e9e;border-color:#9ecddd}
.btn-outline:hover {background:#087eaf;color:#fff}
.hero-signature {background:rgba(255,255,255,.88);border-top-color:#d5e5ed}
.hero-signature .container {color:#526b80}
.hero-signature strong {color:#0b6d96}
/* Documentación y paneles, lectura estilo institucional */
.section-content {background:linear-gradient(180deg,#f2f8fc,#fff 78%)}
.section-kicker {color:#087cac}
.section-heading h2 {color:#16384f;font-style:normal;line-height:.98}
.section-heading h2 span {color:#087fae}
.section-heading p {color:#5e7283}
.assembly-card,.side-card {background:#fff;border:1px solid #dce7ed;box-shadow:0 14px 35px rgba(28,73,103,.07);clip-path:none;border-radius:14px}
.status-tag {background:#e7f6fc;color:#076b96;border-color:#c6e4f0;border-radius:5px}
.status-tag.is-history {background:#f0f4f7;color:#4f6878;border-color:#dce5ea}
.assembly-count {color:#617889}
.date-square {background:#e8f6fc;color:#087ba8;clip-path:none;border-radius:9px;border:1px solid #c5e5f2}
.assembly-heading h3 {color:#173951;font-style:normal;line-height:1}
.facts {border-block-color:#dce7ed}
.fact-icon {background:#e9f5fb;border-color:#c8e3f0;clip-path:none;border-radius:8px}
.fact-icon svg {stroke:#087eaf}
.fact small {color:#6b8293}
.fact strong {color:#214058}
.summary {background:#ecf7fc;border-left-color:#0a82b6;color:#49697f;border-radius:0 7px 7px 0}
.summary-kicker {color:#0a729d}
.content-heading h4 {color:#1a3b52}
.content-number {color:#087dad}
.order-text {background:#f7fbfe;border:1px solid #dcebf3;color:#27475c;border-radius:8px}
.docs-intro {color:#63788a}
.document-item {background:#fafdff;border-color:#dce8ee;border-radius:9px}
.document-item:hover {background:#f1faff;border-color:#8cc9e0}
.document-icon {background:#eaf6fc;border-color:#c7e3f0;color:#087eaf;border-radius:7px}
.document-detail span {color:#0a729c}
.document-detail strong {color:#1e3d55}
.document-detail small {color:#6c8292}
.document-actions a {color:#086e9c;border-color:#b6d8e7;border-radius:6px}
.document-actions a:hover {background:#087dad;color:#fff}
.docs-empty,.archive-empty {background:#f4f9fc;color:#5f7585;border-color:#bdd8e6;border-radius:7px}
.share-section {border-top-color:#e0eaf1}
.share-section strong {color:#1d4057}
.share-section p {color:#607689}
.empty-card h3 {color:#1e4059;font-style:normal}
.empty-card p {color:#607689}
/* Historial y datos del club */
.side-card h3 {color:#1a3b52;font-style:normal;line-height:1}
.side-card h3 span {color:#0881b2}
.side-card p {color:#63798b}
.archive-item {border-radius:8px}
.archive-item:hover,.archive-item.selected {background:#eaf7fc;border-color:#c0deed}
.archive-year {background:#e3f3fb;color:#076f9b;border-radius:6px}
.archive-text strong {color:#214057}
.archive-text small {color:#6a8091}
.archive-arrow {color:#0879a6}
.identity-card {background:linear-gradient(145deg,#e7f4fb,#f8fcff);border-color:#c9e3f0}
.identity-card>strong {color:#1a3e56}
.identity-card small {color:#4f7187}
.back-home {color:#086e9d}
/* Pie de página blanco azulado */
.site-footer {background:#e7f1f7;border-top-color:#d5e6ee}
.footer-brand strong {color:#15384f}
.footer-brand small {color:#597285}
.footer-nav {color:#5c7282}
.footer-nav a:hover {color:#0676a6}
.footer-bottom {background:#dfebf3;color:#5f7788;border-top-color:#d4e3ec}
@media(max-width:1000px) {
 .nav-menu {background:rgba(255,255,255,.99);border-color:#d7e5ee;box-shadow:0 24px 55px rgba(20,63,95,.12)}
 .nav-link {border-bottom-color:#e5edf2}
}
@media(max-width:650px) {
 .hero-photo {opacity:.28}
 .page-hero:after {background:linear-gradient(90deg,rgba(250,253,255,.97),rgba(250,253,255,.88)),linear-gradient(0deg,rgba(250,253,255,.9),transparent)}
 .page-hero h1 {font-size:clamp(3.1rem,12.2vw,5.1rem)}
 .page-hero h1 span {font-size:.68em}
 .hero-copy p {color:#526c80}
}


/* =============================================================
   ACTUALIZACION INSTITUCIONAL · ANCHO COMPLETO Y RESPONSIVE
   Solo afecta /asambleas/. No se modifican los estilos del index principal.
   ============================================================= */
:root {
  --page-gutter: clamp(16px, 3.2vw, 76px);
  --institutional-border: #d9e5ed;
  --institutional-blue: #176b94;
}
/* Ocupar efectivamente el 100% del ancho disponible: sin max-width de 1240px. */
.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--page-gutter);
}
.site-header .nav-shell {
  max-width:none;
}
/* Preservar la cabecera de la página principal como punto común de identidad. */
.site-header, .site-header.scrolled {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--institutional-border);
}
.brand-copy small {letter-spacing:.09em}

/* Encabezado formal, más compacto y menos publicitario. */
.page-hero.page-hero-formal {
  min-height:0;
  background: linear-gradient(120deg,#fff 0%,#f7fbfd 60%,#e9f4fa 100%);
  border-bottom: 1px solid var(--institutional-border);
}
.page-hero-formal .hero-inner {
  min-height:0;
  padding-top: 57px;
  padding-bottom: 63px;
  display:block;
}
.page-hero-formal .hero-copy {max-width: 1100px; width: min(100%,1100px)}
.page-hero-formal .hero-photo {
  top:var(--header-h);
  width:40%;
  opacity:.17;
  clip-path:none;
  filter:grayscale(.25) saturate(.5);
}
.page-hero-formal::after {
  background: linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.97) 45%,rgba(255,255,255,.82) 70%,rgba(255,255,255,.58) 100%);
}
.page-hero-formal .hero-grid {display:none}
.page-hero-formal .eyebrow {
  margin:0 0 18px;
  color:#41708c;
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:none;
}
.page-hero-formal .eyebrow::before {width:28px;height:2px;flex:0 0 28px;background:#1684b3}
.page-hero-formal h1 {
  max-width:1050px;
  color:#193a50;
  font-family:var(--display);
  font-weight:800;
  font-style:normal;
  text-transform:none;
  text-wrap:pretty;
  font-size:clamp(2.65rem,4.2vw,4.75rem);
  line-height:1.04;
  letter-spacing:-.014em;
}
.page-hero-formal h1 span {
  display:inline;
  color:#167fa8;
  font-size:inherit;
  font-weight:700;
  letter-spacing:inherit;
  margin:0;
}
.page-hero-formal .hero-rule {
  background:none;
  clip-path:none;
  width:74px;
  height:0;
  margin:24px 0 20px;
  border-top:3px solid #1585b5;
}
.page-hero-formal .hero-copy p {
  max-width:850px;
  color:#567285;
  font-size:clamp(.97rem,1.15vw,1.08rem);
  line-height:1.76;
  margin-bottom:25px;
}
.page-hero-formal .btn {
  min-height:45px;
  padding:10px 18px;
  font-family:var(--body);
  font-size:.84rem;
  font-weight:750;
  letter-spacing:0;
  text-transform:none;
  border-radius:7px;
}
.hero-signature {background:#f3f8fb;border-top:1px solid #dce9f0}
.hero-signature .container {
  padding:14px var(--page-gutter);
  color:#5c7585;
  font-size:.68rem;
  letter-spacing:.06em;
  font-weight:700;
}
.hero-signature strong {color:#266b8c}

/* Grilla de consulta: usa toda la pantalla, con un índice lateral proporcional. */
.section-content {
  background:#f6f9fb;
  padding:52px 0 78px;
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:25px;
  padding-bottom:23px;
  border-bottom:1px solid #dce7ed;
}
.section-kicker {
  color:#327b9e;
  font-size:.72rem;
  letter-spacing:.075em;
  font-weight:800;
  text-transform:none;
}
.section-heading h2 {
  margin-top:9px;
  font-size:clamp(1.95rem,2.7vw,3.2rem);
  line-height:1.1;
  letter-spacing:-.01em;
  font-style:normal;
  text-transform:none;
  font-weight:800;
}
.section-heading h2 span {color:#167eaa}
.section-heading p {max-width:510px;color:#61788b;font-size:.9rem;line-height:1.65}
.content-grid {
  grid-template-columns:minmax(0,1fr) minmax(290px,28%);
  gap:clamp(15px,2vw,33px);
  align-items:start;
  width:100%;
}
.primary-content,.sidebar {min-width:0}
.assembly-card,.side-card {
  background:#fff;
  border:1px solid var(--institutional-border);
  border-radius:11px;
  box-shadow:0 7px 26px rgba(21,67,99,.045);
  clip-path:none;
}
.assembly-card {padding:clamp(25px,2.3vw,48px)}
.assembly-heading {margin:25px 0 22px}
.assembly-heading h3 {
  color:#1d4057;
  font-family:var(--display);
  font-style:normal;
  font-weight:800;
  font-size:clamp(1.95rem,2.6vw,3.3rem);
  text-transform:none;
  line-height:1.08;
}
.date-square {border:1px solid #cce4ee;background:#edf7fb;color:#147ea8}
.status-tag {text-transform:none;letter-spacing:0;font-weight:750}
.facts {gap:clamp(10px,1.4vw,27px)}
.fact strong {font-size:.9rem;font-weight:700}
.fact small {font-size:.77rem}
.summary {background:#f1f8fc;border-radius:6px}
.summary-kicker {letter-spacing:.05em;text-transform:none}
.content-heading {margin:37px 0 16px;gap:13px}
.content-heading h4 {
  font-family:var(--body);
  font-size:clamp(1.15rem,1.4vw,1.4rem);
  font-weight:800;
  text-transform:none;
  line-height:1.25;
  color:#20455d;
}
.content-number {font-family:var(--body);font-size:.85rem;color:#267ca5;font-weight:850}
.order-text {
  background:#fbfdfe;
  border:1px solid #dce9ef;
  color:#24475f;
  font-size:.93rem;
  line-height:1.9;
  border-radius:7px;
  padding:clamp(17px,2vw,29px);
}
.docs-intro {font-size:.87rem;line-height:1.65}
.document-item {background:#fff;border-color:#dbe8ef;border-radius:7px;gap:16px}
.document-detail strong {font-size:.9rem;font-weight:750}
.document-actions a {font-size:.8rem}
.share-section {flex-wrap:wrap}
.share-actions .btn {font-family:var(--body);letter-spacing:0;text-transform:none;font-size:.82rem}
.side-card {padding:clamp(19px,1.9vw,31px)}
.side-card h3 {
  color:#1d4057;
  font-family:var(--display);
  font-style:normal;
  font-size:clamp(1.7rem,2vw,2.2rem);
  font-weight:800;
  text-transform:none;
  line-height:1.08;
}
.archive-item {padding:12px 9px;border-radius:7px}
.archive-text strong {font-size:.83rem}
.identity-card {background:linear-gradient(120deg,#edf7fc,#fff)}
.identity-card > strong {font-size:1.42rem;font-weight:800}
.site-footer {background:#f0f6fa}

/* Pantallas intermedias: sin desbordes horizontales. */
@media (max-width:1100px) {
  .content-grid {grid-template-columns:minmax(0,1fr) minmax(265px,31%)}
}
@media (max-width:980px) {
  .content-grid {grid-template-columns:minmax(0,1fr)}
  .sidebar {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
  .identity-card {margin-top:0}
  .back-home {grid-column:1/-1}
  .section-heading {align-items:start;flex-direction:column;gap:10px}
  .section-heading p {max-width:750px}
}
@media (max-width:700px) {
  :root {--page-gutter:18px}
  .page-hero-formal .hero-inner {padding-top:36px;padding-bottom:43px}
  .page-hero-formal h1 {font-size:clamp(2.25rem,7.5vw,3.4rem);line-height:1.08}
  .page-hero-formal .eyebrow {font-size:.72rem;line-height:1.45}
  .page-hero-formal .hero-photo {width:100%;opacity:.07}
  .page-hero-formal::after {background:linear-gradient(90deg,rgba(255,255,255,.99),rgba(255,255,255,.94))}
  .page-hero-formal .hero-copy p {font-size:.93rem;line-height:1.65}
  .hero-signature .container {align-items:flex-start;gap:5px}
  .section-content {padding:34px 0 57px}
  .section-heading {margin-bottom:20px;padding-bottom:19px}
  .section-heading h2 {font-size:clamp(1.85rem,6.5vw,2.55rem)}
  .assembly-card {padding:22px 18px}
  .assembly-heading {gap:13px}
  .assembly-heading h3 {font-size:clamp(1.8rem,6.7vw,2.45rem)}
  .facts {grid-template-columns:1fr}
  .fact:last-child {grid-column:auto}
  .sidebar {grid-template-columns:1fr}
  .back-home {grid-column:auto}
  .order-text {font-size:.88rem}
}
@media (max-width:420px) {
  :root {--page-gutter:13px}
  .page-hero-formal h1 {font-size:clamp(2rem,8.5vw,2.4rem)}
  .page-hero-formal .hero-actions {grid-template-columns:1fr}
  .page-hero-formal .btn {width:100%;font-size:.84rem}
  .date-square {flex-basis:66px;min-height:72px}
  .date-square strong {font-size:2.5rem}
  .assembly-heading h3 {font-size:1.74rem}
  .assembly-card {padding:19px 14px}
  .share-actions {grid-template-columns:1fr}
}


/* ================================================================
   CABECERA INSTITUCIONAL COMPACTA: MÁS INFORMACIÓN EN MENOS SCROLL
   Mantiene el estilo claro y no afecta la web principal.
   ================================================================ */
.page-hero.page-hero-formal {
  padding-top: var(--header-h);
  min-height: 0;
  background: linear-gradient(110deg,#fff 0%,#f8fbfd 58%,#eff7fb 100%);
}
.page-hero-formal .hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(340px,.82fr);
  align-items: center;
  gap: clamp(22px,3.4vw,68px);
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 25px;
}
.page-hero-formal .hero-copy {
  width: 100%;
  max-width: none;
  min-width: 0;
}
.page-hero-formal .eyebrow {
  margin-bottom: 9px;
  font-size: clamp(.67rem,.73vw,.79rem);
  line-height: 1.45;
  letter-spacing:.025em;
}
.page-hero-formal h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.15rem,3.05vw,3.35rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.page-hero-formal h1 span {display:inline}
.page-hero-formal .hero-copy p {
  max-width: 730px;
  margin: 12px 0 10px;
  font-size: .93rem;
  line-height: 1.52;
}
.page-hero-formal .hero-photo, .page-hero-formal .hero-grid,
.page-hero-formal .hero-rule, .page-hero-formal .hero-signature {
  display: none;
}
.page-hero-formal::after {display:none}
.hero-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0875a2;
  font-size: .83rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-archive-link:hover, .hero-document-link:hover {color: #064966}
.hero-feature {
  min-width: 0;
  padding: 17px 19px;
  background: #fff;
  border: 1px solid #d9e8ef;
  border-left: 4px solid #1288b5;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(24,85,121,.045);
}
.hero-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.hero-feature-label {
  display: inline-flex;
  color: #096c99;
  font-weight: 850;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-feature-year {color: #728a99;font-weight: 800;font-size: .73rem}
.hero-feature-details {display:flex;align-items:center;gap:14px;min-width:0}
.hero-feature-date {
  min-width: 65px;
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #eff8fc;
  border: 1px solid #cae5f1;
  border-radius: 7px;
  color: #0a7faa;
  flex: 0 0 65px;
}
.hero-feature-date strong {font-family: var(--display);font-size: 2.5rem;line-height: .95}
.hero-feature-date small {font-size: .7rem;letter-spacing:.14em;font-weight:850}
.hero-feature-info {min-width: 0}
.hero-feature-info > strong, .hero-feature-empty strong {
  display:block;
  font-size: clamp(.95rem,1vw,1.08rem);
  font-weight:850;
  color: #173950;
  line-height: 1.35;
}
.hero-feature-info p, .hero-feature-empty p {
  margin:4px 0 0;
  color: #637a89;
  font-size:.79rem;
  line-height:1.44;
  overflow-wrap: anywhere;
}
.hero-feature-actions {display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:13px}
.hero-feature-actions .btn, .hero-feature>.btn {
  min-height:37px;
  padding:8px 14px;
  border-radius:6px;
  clip-path:none;
  font-family: var(--body);
  font-size:.78rem;
  font-weight:800;
  line-height:1.25;
  letter-spacing:0;
  text-transform:none;
  background:#0b80ac;
  color:#fff;
}
.hero-feature-actions .btn:hover {background:#09638c}
.hero-document-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#0875a2;
  font-size:.79rem;
  font-weight:800;
}
.hero-feature-empty {margin:12px 0 15px}
.section-content {padding-top:22px}
.section-heading {
  align-items: center;
  padding-bottom:12px;
  margin-bottom:16px;
  gap:18px;
}
.section-heading h2 {font-size:clamp(1.55rem,2.1vw,2.15rem);margin-top:3px;line-height:1.08}
.section-heading .section-kicker {font-size:.65rem}
.section-heading p {font-size:.82rem;line-height:1.45;max-width:460px}
#documentacion {scroll-margin-top:calc(var(--header-h) + 18px)}

@media(max-width:1080px) {
  .page-hero-formal .hero-inner {grid-template-columns:minmax(0,1fr) minmax(290px,.88fr);gap:22px}
  .page-hero-formal h1 {font-size:clamp(2.05rem,3.55vw,2.8rem)}
}
@media(max-width:850px) {
  .page-hero-formal .hero-inner {grid-template-columns:minmax(0,1fr);padding-block:19px;gap:16px}
  .page-hero-formal h1 {font-size:clamp(2rem,5vw,2.65rem)}
  .page-hero-formal .hero-copy p {margin:10px 0 6px}
  .hero-feature {padding:13px 15px}
  .section-heading {flex-direction:row;align-items:center;gap:14px}
}
@media(max-width:650px) {
  .page-hero-formal .hero-inner {padding-top:15px;padding-bottom:17px;gap:12px}
  .page-hero-formal h1 {font-size:clamp(1.88rem,7.1vw,2.6rem)}
  .page-hero-formal .eyebrow {margin-bottom:6px;font-size:.68rem}
  .page-hero-formal .hero-copy p {font-size:.83rem;line-height:1.45;margin:8px 0 6px}
  .hero-archive-link {font-size:.78rem}
  .hero-feature-details {gap:10px}
  .hero-feature-date {min-width:55px;flex-basis:55px;height:62px}
  .hero-feature-date strong {font-size:2.1rem}
  .hero-feature-info>strong {font-size:.89rem}
  .hero-feature-info p {font-size:.72rem}
  .hero-feature-actions {gap:12px}
  .hero-feature-actions .btn {min-height:35px}
  .hero-document-link {font-size:.76rem}
  .section-content {padding-top:16px}
  .section-heading {align-items:flex-start;gap:6px;padding-bottom:10px;margin-bottom:12px}
  .section-heading h2 {font-size:1.48rem}
  .section-heading p {display:none}
}
@media(max-width:420px) {
  .page-hero-formal .hero-inner {padding-top:14px}
  .page-hero-formal h1 {font-size:clamp(1.78rem,8vw,2.1rem)}
  .hero-feature {padding:12px}
  .hero-feature-actions {display:grid;grid-template-columns:1fr;justify-items:start;gap:9px}
  .hero-feature-actions .btn {width:auto}
}


/* =============================================================
   RETOQUE INSTITUCIONAL SOBRIO — Noviembre 2026
   Solo color, tipografía, bordes y detalles de acabado.
   NO cambia la grilla, alturas de secciones ni funcionalidad.
   El color arena-dorado se reserva para detalles documentales.
   ============================================================= */
:root {
  --tb-formal-navy:#193a50;
  --tb-formal-blue:#126f97;
  --tb-formal-blue-dark:#105575;
  --tb-formal-steel:#607889;
  --tb-formal-gold:#b39a69;
  --tb-formal-gold-light:#e9dcc4;
  --tb-formal-stroke:#d8e1e6;
  --tb-formal-paper:#ffffff;
  --tb-formal-ground:#f5f7f8;
}
body {color:var(--tb-formal-navy);background:var(--tb-formal-ground)}
/* Menú alineado con el club: acento menos brillante y divisoria delicada. */
.site-header,.site-header.scrolled {
  background:rgba(255,255,255,.985);
  border-bottom:1px solid #d8e2e8;
  box-shadow:0 3px 14px rgba(24,53,74,.045);
}
.nav-link {color:#3f5869}
.nav-link.active,.nav-link:hover {color:var(--tb-formal-blue-dark)}
.nav-link:after {background:var(--tb-formal-blue)}
.login-link {background:#f8fbfd;color:var(--tb-formal-blue-dark);border-color:#b7d2e0}
.login-link:hover {background:var(--tb-formal-blue-dark);color:#fff}
.brand-copy strong {color:var(--tb-formal-navy)}
.brand-copy small {color:#4b7d98}
/* Cabecera: neutros más cálidos y detalles finos; se conserva su compacidad. */
.page-hero.page-hero-formal {
  background:linear-gradient(112deg,#fff 0%,#fbfcfc 56%,#edf4f7 100%);
  border-bottom:1px solid #dbe5ea;
}
.page-hero-formal .eyebrow {color:#547083;font-weight:750}
.page-hero-formal .eyebrow::before {background:var(--tb-formal-gold);height:2px}
.page-hero-formal h1 {color:var(--tb-formal-navy);font-weight:800}
.page-hero-formal h1 span {color:#197a9f}
.page-hero-formal .hero-copy p {color:#596f7e}
.hero-archive-link,.hero-document-link {color:var(--tb-formal-blue-dark);text-decoration-color:#aec7d3}
.hero-feature {
  background:var(--tb-formal-paper);
  border:1px solid #d5e0e6;
  border-left:4px solid var(--tb-formal-navy);
  box-shadow:0 7px 24px rgba(33,63,83,.055);
  position:relative;
}
.hero-feature::before {
  content:"";position:absolute;top:0;right:0;width:72px;height:2px;
  background:var(--tb-formal-gold);
  border-radius:0 8px 0 0;
}
.hero-feature-label {color:var(--tb-formal-blue-dark);letter-spacing:.055em}
.hero-feature-year {color:#738593}
.hero-feature-date {
  color:var(--tb-formal-blue-dark);
  background:#f2f7fa;border-color:#d4e5ec;
}
.hero-feature-info > strong,.hero-feature-empty strong {color:var(--tb-formal-navy)}
.hero-feature-info p,.hero-feature-empty p {color:var(--tb-formal-steel)}
.hero-feature-actions .btn,.hero-feature>.btn {
  background:var(--tb-formal-blue-dark);color:#fff;
  border:1px solid var(--tb-formal-blue-dark);
  box-shadow:none;
}
.hero-feature-actions .btn:hover,.hero-feature>.btn:hover {background:#123c55;border-color:#123c55}
/* Zona documental: sensación de papel oficial sobre gris claro. */
.section-content {background:var(--tb-formal-ground)}
.section-heading {border-bottom-color:#d9e1e6}
.section-heading .section-kicker {color:#667e8b;letter-spacing:.06em}
.section-heading h2 {color:var(--tb-formal-navy)}
.section-heading h2 span {color:#197a9f}
.section-heading p {color:#657988}
.assembly-card,.side-card {
  background:var(--tb-formal-paper);
  border:1px solid var(--tb-formal-stroke);
  box-shadow:0 8px 26px rgba(22,57,78,.055);
}
.assembly-card {border-top:3px solid var(--tb-formal-navy)}
.assembly-heading h3,.side-card h3 {color:var(--tb-formal-navy)}
.status-tag {background:#eef5f8;color:#175b79;border-color:#d2e3e9}
.status-tag.is-history {background:#f1f3f5;color:#60717d;border-color:#e0e5e8}
.status-dot {background:#2f7798}
.date-square {background:#f0f6f9;color:var(--tb-formal-blue-dark);border-color:#d2e4eb}
.fact-icon {background:#f2f8fa;border-color:#d6e7ee}
.fact-icon svg {stroke:var(--tb-formal-blue)}
.fact small,.assembly-count,.document-detail small {color:#6c8090}
.fact strong,.document-detail strong {color:#234257}
.summary {background:#f5f9fb;border-left-color:#648fa6;color:#4a6577}
.summary-kicker,.section-kicker {color:var(--tb-formal-blue-dark)}
.content-number {color:#866f46}
.content-heading h4 {color:var(--tb-formal-navy)}
.order-text {background:#fcfdfd;border-color:#dce5ea;color:#254358}
.docs-intro {color:#607788}
.document-item {background:#fff;border-color:#dbe4e9}
.document-item:hover {background:#f8fbfc;border-color:#a8c9d8}
.document-icon {background:#f2f7fa;border-color:#d8e6ec;color:var(--tb-formal-blue-dark)}
.document-detail span {color:#39728e}
.document-actions a {color:var(--tb-formal-blue-dark);border-color:#c4d8e2;background:#fff}
.document-actions a:hover {background:var(--tb-formal-blue-dark);color:#fff}
.btn-primary {background:var(--tb-formal-blue-dark);color:#fff;box-shadow:0 6px 18px rgba(16,85,117,.1)}
.btn-primary:hover {background:#123c55}
.btn-outline {color:var(--tb-formal-blue-dark);border-color:#bbd5e2;background:#fff}
.btn-outline:hover {background:#eaf4f8;color:var(--tb-formal-blue-dark)}
.side-card h3 span {color:var(--tb-formal-blue)}
.archive-year {background:#f0f6f9;color:var(--tb-formal-blue-dark)}
.archive-item:hover,.archive-item.selected {background:#f0f7fa;border-color:#c9dee9}
.archive-item.selected {box-shadow:inset 3px 0 0 var(--tb-formal-blue)}
.identity-card {background:linear-gradient(125deg,#f6fafc,#edf4f8);border-color:#d6e4ec}
.identity-card > strong {color:var(--tb-formal-navy)}
.identity-rule {background:var(--tb-formal-gold)}
.identity-card small {color:#5f7889}
.back-home {color:var(--tb-formal-blue-dark)}
.site-footer {background:#eef3f6;border-top:1px solid #d8e3e9}
.footer-brand strong {color:var(--tb-formal-navy)}
.footer-bottom {background:#e7eff3;border-top-color:#d5e1e8;color:#687f8d}
@media (max-width:1000px) {
  .nav-menu {background:rgba(255,255,255,.99);border-bottom-color:#d6e2e9}
}
@media (prefers-reduced-motion:reduce) {
  .hero-feature,.assembly-card,.document-item {transition:none}
}


/* ==========================================================
   MINIATURAS DE ARCHIVOS — ASAMBLEAS TAMANDUÁ · 2026
   Conserva el diseño sobrio. Vistas previas de imágenes y PDF.
   ========================================================== */
.document-item.document-item-preview {
  display:grid;
  grid-template-columns:108px minmax(0, 1fr) auto;
  align-items:center;
  gap:18px;
  padding:13px 17px;
  background:#fff;
  border:1px solid #dbe4e9;
  border-radius:9px;
  min-width:0;
}
.document-thumbnail {
  appearance:none; -webkit-appearance:none;
  position:relative;
  display:grid;
  place-items:center;
  width:108px;
  height:126px;
  margin:0;
  padding:5px;
  overflow:hidden;
  border:1px solid #d0dee5;
  border-radius:6px;
  background:#f1f5f7;
  cursor:zoom-in;
  box-shadow:0 2px 6px rgba(17,51,70,.055);
}
.document-thumbnail:hover,
.document-thumbnail:focus-visible {border-color:#558ca7;box-shadow:0 0 0 3px #dfeef4}
.document-thumbnail img {
  display:block;width:100%;height:100%;
  object-fit:contain;object-position:center;
  border-radius:2px;
  background:#fff;
}
.document-preview-placeholder {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:9px;color:#41667a;font-size:.82rem;font-weight:850;
}
.document-preview-placeholder svg {
  width:37px;height:46px;stroke:currentColor;stroke-width:2;stroke-linejoin:round;
}
.document-thumbnail-pdf .document-pdf-canvas {
  display:none;
  max-width:100%;max-height:100%;
  width:auto;height:auto;
  background:#fff;
  box-shadow:0 0 0 1px #dee6ea;
}
.document-thumbnail-pdf.preview-ready .document-pdf-canvas {display:block}
.document-thumbnail-pdf.preview-ready .document-preview-placeholder {display:none}
.document-zoom-hint {
  position:absolute;right:5px;bottom:5px;
  display:grid;place-items:center;
  width:22px;height:22px;border-radius:4px;
  color:#fff;background:rgba(25,58,80,.82);
  font-size:.9rem;line-height:1;
  pointer-events:none;
}
.document-item-preview .document-detail {min-width:0;flex:none;overflow-wrap:anywhere}
.document-item-preview .document-detail strong {font-size:.97rem;line-height:1.4}
.document-item-preview .document-preview-help {
  margin-top:9px;color:#718596;
  font-size:.69rem;font-weight:500;letter-spacing:0;text-transform:none;
}
.document-item-preview .document-actions {display:flex;gap:8px;flex-wrap:wrap;justify-content:end}
.document-item-preview .document-actions a {border-radius:6px;padding:9px 12px}

.document-preview-dialog {
  width:min(900px,calc(100vw - 28px));
  max-height:calc(100dvh - 24px);
  margin:auto;padding:0;
  color:#193a50;background:#fff;
  border:1px solid #cbdbe4;border-radius:12px;
  box-shadow:0 25px 70px rgba(5,33,52,.22);
  overflow:hidden;
}
.document-preview-dialog::backdrop {background:rgba(9,29,45,.72);backdrop-filter:blur(3px)}
.document-dialog-head {
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:14px 20px;border-bottom:1px solid #e0e8ec;
}
.document-dialog-head h2 {margin:5px 0 0;font-size:1.05rem;font-weight:800;line-height:1.25}
.document-dialog-close {
  width:39px;height:39px;border-radius:8px;
  border:1px solid #d2e2ea;background:#f7fafb;
  color:#1d4a65;font-size:1.6rem;cursor:pointer;
}
.document-dialog-body {
  display:grid;place-items:center;
  min-height:180px;
  height:min(67dvh,720px);
  overflow:auto;
  background:#eef3f6;
}
.document-dialog-body img {display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.document-dialog-body iframe {width:100%;height:100%;border:0;background:#fff}
.document-dialog-actions {
  display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;
  padding:12px 18px;border-top:1px solid #e0e8ec;background:#fff;
}
.document-dialog-actions a {
  padding:10px 14px;border:1px solid #bed4e1;border-radius:6px;
  color:#175b79;background:#f9fcfd;
  font-size:.78rem;font-weight:800;text-decoration:none;
}
.document-dialog-actions a:hover {background:#e9f5fa}
@media (max-width:780px) {
  .document-item.document-item-preview {grid-template-columns:94px minmax(0,1fr);gap:13px;padding:12px}
  .document-thumbnail {width:94px;height:116px}
  .document-item-preview .document-actions {grid-column:1/-1;justify-content:stretch;gap:9px}
  .document-item-preview .document-actions a {flex:1;text-align:center}
}
@media (max-width:420px) {
  .document-item.document-item-preview {grid-template-columns:78px minmax(0,1fr);gap:10px}
  .document-thumbnail {width:78px;height:100px}
  .document-item-preview .document-detail strong {font-size:.88rem}
  .document-item-preview .document-preview-help {font-size:.64rem}
  .document-dialog-head {padding:12px}
  .document-dialog-actions {padding:10px}
  .document-dialog-actions a {flex:1;text-align:center}
  .document-dialog-body {height:60dvh}
}
