.abtl, .abtl * { box-sizing: border-box; }
.abtl { --navy:#14263d; --ink:#17283e; --slate:#536579; --gold:#bf9b63; --line:#dfe6eb; --cream:#f6f7f8; color:var(--ink); width:min(1180px, calc(100% - 32px)); max-width:none; margin:36px auto 70px; font:400 15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif; }
.abtl h1,.abtl h2,.abtl h3,.abtl p { margin-top:0; }
.abtl h1 { font:600 clamp(32px,4.2vw,56px)/1.06 Georgia,serif; letter-spacing:-.025em; }
.abtl h2 { font:600 27px/1.18 Georgia,serif; letter-spacing:-.012em; }
.abtl h3 { font-size:18px; }
.abtl a { color:#234b76; text-decoration:none; }
.abtl a:hover { text-decoration:underline; }
.abtl button,.abtl input,.abtl select,.abtl textarea { font:inherit; }
.abtl-hero { position:relative; overflow:hidden; min-height:320px; border-radius:18px; padding:clamp(30px,5vw,66px); color:white; background:#14263d url("hero.webp") center center/cover no-repeat; display:flex; flex-direction:column; justify-content:center; box-shadow:0 20px 42px rgba(19,39,62,.13); }
.abtl-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(16,33,54,.42) 0%,rgba(16,33,54,.1) 67%); pointer-events:none; }
.abtl-hero > * { position:relative; z-index:1; max-width:580px; }
.abtl-hero h1 { margin:10px 0 14px; color:white; }
.abtl-hero p { font-size:17px; color:#f1f5f8; max-width:490px; }
.abtl-eyebrow,.abtl-kicker { display:block; font-size:11px; font-weight:750; letter-spacing:.18em; text-transform:uppercase; }
.abtl-eyebrow { color:#e5c799; }
.abtl-hero-badge { align-self:flex-start; display:inline-block; margin-top:8px; padding:7px 12px; border:1px solid rgba(255,255,255,.48); border-radius:100px; font-size:12px; font-weight:650; color:#f8f8f8; }
.abtl-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:18px 0 27px; }
.abtl-stat { min-height:90px; border:1px solid var(--line); background:white; border-radius:13px; padding:15px 18px; display:flex; flex-direction:column; justify-content:center; box-shadow:0 3px 14px rgba(30,49,71,.035); }
.abtl-stat strong { font-size:27px; line-height:1.2; color:var(--navy); }
.abtl-stat span { font-size:12px; color:var(--slate); margin-top:3px; }
.abtl-stat-note { background:#f7f4ee; border-color:#eee4d3; }
.abtl-stat-note strong { font-size:16px; letter-spacing:.07em; }
.abtl-tabs { display:flex; gap:8px; border-bottom:1px solid var(--line); margin-bottom:20px; overflow-x:auto; }
.abtl .abtl-tab { display:inline-flex; flex:0 0 auto; align-items:center; min-height:48px; padding:0 18px; border-bottom:3px solid transparent; font-weight:700; color:var(--slate); text-decoration:none; }
.abtl .abtl-tab.is-active { border-color:var(--gold); color:var(--navy); }
.abtl .abtl-tab:hover { color:var(--navy); }
.abtl-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:20px; align-items:start; }
.abtl-main,.abtl-sidebar { min-width:0; }
.abtl-panel { border:1px solid var(--line); border-radius:16px; padding:28px; background:#fff; box-shadow:0 5px 25px rgba(30,49,71,.035); }
.abtl-panel-intro { border-bottom:1px solid var(--line); margin-bottom:24px; padding-bottom:20px; }
.abtl-panel-intro h2 { margin:4px 0 7px; color:var(--navy); }
.abtl-panel-intro p { margin:0; color:var(--slate); }
.abtl-kicker { color:#9b7845; }
.abtl-group { border:1px solid #e5eaee; border-radius:12px; margin:0 0 18px; padding:18px 18px 12px; min-width:0; }
.abtl-group[hidden],.abtl-field[hidden] { display:none; }
.abtl-group legend { padding:0 9px; color:var(--navy); font-size:15px; font-weight:750; }
.abtl-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px 17px; }
.abtl-field { display:flex; flex-direction:column; min-width:0; margin:0 0 9px; }
.abtl-field:has(textarea) { grid-column:1/-1; }
.abtl-field label { font-size:13px; font-weight:700; line-height:1.35; color:#243750; margin-bottom:7px; }
.abtl-field input:not([type=checkbox]),.abtl-field select,.abtl-field textarea,.abtl-sources input:not([type=file]) { width:100%; min-width:0; height:auto; min-height:43px; max-width:none; padding:10px 12px; border:1px solid #cbd6df; border-radius:8px; color:var(--ink); background:#fff; box-shadow:none; }
.abtl-field textarea { min-height:78px; resize:vertical; }
.abtl-field input:focus,.abtl-field textarea:focus,.abtl-field select:focus,.abtl-sources input:focus { outline:2px solid #caa36c; outline-offset:1px; border-color:#b9945f; }
.abtl-field input[type=checkbox] { width:19px; height:19px; align-self:flex-start; accent-color:#9f793f; }
.abtl-help { font-size:12px; color:var(--slate); line-height:1.5; }
.abtl .abtl-button { display:inline-flex; justify-content:center; align-items:center; gap:8px; padding:11px 19px; min-height:44px; border:1px solid var(--navy); border-radius:8px; background:var(--navy); color:white; font-weight:700; cursor:pointer; text-decoration:none; transition:background .15s ease,transform .15s ease; }
.abtl .abtl-button:hover { background:#243f60; transform:translateY(-1px); text-decoration:none; }
.abtl .abtl-button-light { background:#fff; color:var(--navy); }
.abtl .abtl-button-light:hover { color:white; }
.abtl-library { position:sticky; top:26px; }
.abtl-library .abtl-panel-intro h2 { font-size:23px; }
.abtl-item { padding:15px 0; border-bottom:1px solid var(--line); }
.abtl-item:last-child { border-bottom:0; }
.abtl-item strong { display:block; line-height:1.3; margin-bottom:4px; overflow-wrap:anywhere; }
.abtl-edit,.abtl-docs summary,.abtl-link-delete { font-size:13px; font-weight:650; }
.abtl-docs { margin-top:9px; }
.abtl-docs summary { color:#2c5680; cursor:pointer; }
.abtl-docs div { display:grid; gap:5px; margin:7px 0 0 10px; }
.abtl-docs a { font-size:13px; }
.abtl-delete { margin:10px 0 0; }
.abtl-link-delete { border:0; padding:0; background:transparent; color:#a13f35; cursor:pointer; }
.abtl-item small { display:block; margin-top:9px; color:var(--slate); overflow-wrap:anywhere; }
.abtl-empty { text-align:center; color:var(--slate); font-size:13px; }
.abtl-empty img { display:block; width:min(180px,75%); margin:0 auto -8px; }
.abtl-aside-note { background:#f7f4ee; border:1px solid #eee4d3; padding:18px 20px; border-radius:12px; margin-top:15px; font-size:13px; color:#4e5965; }
.abtl-aside-note strong { color:var(--navy); }
.abtl-aside-note p { margin:5px 0 0; }
.abtl-end { color:var(--slate); margin-top:22px; text-align:center; font-size:12px; }
.abtl-alert { padding:12px 15px; border-radius:9px; margin:14px 0; border:1px solid transparent; }
.abtl-success { background:#eff8f3; border-color:#b9d9c8; color:#1b5639; }
.abtl-warning { background:#fffbef; border-color:#e9d69a; color:#6c4d1e; }
.abtl-error { background:#fff1f0; border-color:#ebb9b5; color:#8a2c2a; }
.abtl-sources { margin-top:20px; }
.abtl-sources form { margin:16px 0 24px; }
.abtl-sources label { display:block; font-weight:650; }
.abtl-sources input[type=file] { display:block; margin-top:7px; }
.abtl-sources pre { max-height:320px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; background:#f5f7f9; padding:14px; border-radius:8px; font-size:12px; }
.abtl-sources details { margin:8px 0; }
.abtl-login { max-width:980px; }
.abtl-login-card { display:grid; grid-template-columns:42% 1fr; align-items:center; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 18px 38px rgba(18,39,61,.08); }
.abtl-login-card > img { width:100%; height:100%; max-height:600px; object-fit:contain; padding:30px; background:#f6f4f0; }
.abtl-login-card > div { padding:clamp(24px,4vw,56px); }
.abtl-login h1 { color:var(--navy); font-size:clamp(30px,3.7vw,48px); }
.abtl-login p { color:var(--slate); }
.abtl-login form label { display:block; font-weight:650; font-size:13px; }
.abtl-login form input[type=text],.abtl-login form input[type=password] { width:100%; padding:10px; border:1px solid #cbd6df; border-radius:8px; }
.abtl-login form input[type=submit] { background:var(--navy); color:#fff; border:0; border-radius:8px; padding:11px 20px; cursor:pointer; }
.abtl-denied { padding:40px; border-radius:14px; border:1px solid #ead6cf; background:#fff8f5; }
@media(max-width:900px){ .abtl-layout { grid-template-columns:1fr; } .abtl-library { position:static; } .abtl-stats { grid-template-columns:repeat(2,1fr); } }
@supports (container-type:inline-size) { .abtl { container-type:inline-size; } @container (max-width:880px) { .abtl-layout { grid-template-columns:1fr; } .abtl-library { position:static; } } }
@media(max-width:620px){ .abtl { width:calc(100% - 20px); margin:18px auto 42px; } .abtl-hero { min-height:280px; padding:28px 22px; background-position:58% center; } .abtl-stats { gap:8px; } .abtl-stat { min-height:74px; padding:12px; } .abtl-stat strong { font-size:23px; } .abtl-stat-note strong { font-size:12px; } .abtl-panel { padding:18px; } .abtl-fields { grid-template-columns:1fr; } .abtl-group { padding:14px; } .abtl-login-card { grid-template-columns:1fr; } .abtl-login-card > img { max-height:180px; } }
/* v2.1.0 — estado del expediente, avisos y distintivos */
.abtl-info { background:#eef4fb; border-color:#bcd0e8; color:#1f3f66; }
.abtl-missing { margin:8px 0 0 18px; padding:0; }
.abtl-missing li { margin:2px 0; }
.abtl-missing a { color:inherit; text-decoration:underline; }
.abtl-status { margin:0 0 12px; }
.abtl-hint { display:block; margin-top:4px; font-size:12px; line-height:1.4; color:#5b6b7d; }
.abtl-badge { display:inline-block; margin:6px 0 2px; padding:2px 9px; border-radius:999px; font-size:12px; font-weight:600; }
.abtl-badge-ok { background:#e3f3ea; color:#1b5639; }
.abtl-badge-warn { background:#fff1d6; color:#6c4d1e; }
.abtl-due { display:block; margin:4px 0; font-size:12px; line-height:1.4; }
.abtl-due-error { color:#8a2c2a; font-weight:600; }
.abtl-due-warning { color:#6c4d1e; }
/* v2.2.0 — textos genéricos */
.abtl-generic { margin-top:6px; padding:4px 10px; font-size:12px; line-height:1.4; border:1px solid #bcd0e8; border-radius:6px; background:#eef4fb; color:#1f3f66; cursor:pointer; }
.abtl-generic:hover { background:#dfeaf7; }
