@charset "UTF-8";
/* Litis Aliado 1.0 · recursos locales, mejora progresiva */
:root {
  --navy:#101f35; --navy-soft:#1e334e; --gold:#b99658; --gold-ink:#765a28;
  --canvas:#f7f6f2; --surface:#fff; --ink:#172b43; --muted:#566579;
  --emerald:#207563; --blue-soft:#eaf0f6; --line:#dee3e8; --control-border:#8390a0;
  --danger:#a42e3e; --danger-soft:#fcecef; --warning:#81541c; --warning-soft:#fbf3e3;
  --success-soft:#e9f4ef; --focus:#2369aa; --radius:14px; --shadow:0 3px 14px #101f3505;
  --serif:Georgia,'Times New Roman',serif; --sans:'Segoe UI',system-ui,-apple-system,Arial,sans-serif;
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s6:24px; --s8:32px; --s10:40px;
}
* { box-sizing:border-box }
[hidden] { display:none!important }
html { scroll-padding-top:24px }
body { margin:0; background:var(--canvas); color:var(--ink); font:14px/1.55 var(--sans) }
a { color:var(--emerald); text-decoration:none; text-underline-offset:4px }
a:hover { text-decoration:underline }
button,input,select,textarea { font:inherit }
button,a,input,select,summary { -webkit-tap-highlight-color:transparent }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px }
.main:focus { outline:none }
button { cursor:pointer }
button:disabled { cursor:not-allowed; opacity:.65 }
button,.primary,.secondary,summary { touch-action:manipulation }
h1,h2,h3,p { margin:0 }
h1 { color:var(--navy); font:38px/1.18 var(--serif); letter-spacing:-.8px }
h2 { font-size:17px; font-weight:650; letter-spacing:-.2px; line-height:1.4 }
h3 { font-size:14px; font-weight:650; margin:4px 0; line-height:1.5 }
p { margin:8px 0 }
small { font-size:12px; color:var(--muted) }
.muted { color:var(--muted) }
.eyebrow { font-size:11px; font-weight:700; letter-spacing:1.5px; color:var(--gold-ink); margin:0 0 10px }
.icon { width:20px; height:20px; flex-shrink:0; vertical-align:middle }
.grow { flex:1; min-width:0 }
.sr-only { position:absolute;width:1px!important;min-width:0!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0 }
.skip-link { position:fixed; top:12px; left:12px; z-index:20; padding:12px 20px; background:white; border:2px solid var(--focus); border-radius:8px; transform:translateY(-200%) }
.skip-link:focus { transform:translateY(0) }
.sidebar { width:252px; position:fixed; inset:0 auto 0 0; padding:32px 18px 20px; background:var(--navy); color:#e4ebf5; display:flex; flex-direction:column; overflow-y:auto; z-index:10 }
.brand { display:block; color:white; font:30px/1.2 var(--serif); letter-spacing:-.6px; padding:0 14px }
.brand span { color:#d7bb88 }
.brand small { display:block; color:#b7c4d5; font:10px/1.5 var(--sans); letter-spacing:2px; margin-top:8px }
.brand:hover { text-decoration:none }
.workspace { display:flex; align-items:center; gap:12px; background:#ffffff06; border:1px solid #ffffff26; padding:14px 12px; border-radius:10px; margin:28px 0; font-size:12px }
.workspace strong { font-weight:600; display:block; overflow-wrap:anywhere }
.workspace .icon { color:#d7bb88 }
.workspace small { color:#b7c4d5; font-size:11px; display:block; margin-top:5px }
.nav-label { color:#aabbd0; font-size:10px; font-weight:600; letter-spacing:1.3px; margin:0 12px 10px }
.nav-section { margin-top:26px }
.sidebar nav a { display:flex; align-items:center; gap:12px; padding:12px 14px; min-height:46px; color:#c9d4e4; font-size:13px; border-radius:8px; margin:4px 0; border:1px solid transparent }
.sidebar nav a:hover { text-decoration:none; background:#ffffff0d; color:white }
.sidebar nav a.active { color:#f4e6ca; background:#b996581a; border-color:#b996583b; box-shadow:inset 3px 0 var(--gold); font-weight:600 }
.sidebar :focus-visible { outline-color:#d7bb88 }
.sidebar-bottom { margin-top:auto; padding:30px 12px 0 }
.pilot-label { color:#bdccdb; display:flex; align-items:center; gap:8px; font-size:11px }
.pilot-label .icon { width:16px; height:16px; color:#d7bb88 }
.profile { display:flex; align-items:center; gap:10px; margin-top:22px; padding-top:20px; border-top:1px solid #ffffff26; font-size:12px }
.profile>div { min-width:0 }
.profile strong { font-weight:600; overflow-wrap:anywhere }
.profile small { display:block; color:#b7c4d5; margin-top:2px; font-size:11px }
.avatar,.mini-avatar { display:inline-grid; place-items:center; flex-shrink:0; background:var(--blue-soft); color:var(--navy); font-weight:600; border-radius:50%; height:32px; width:32px }
.avatar { background:#e8d9bc; width:36px; height:36px }
.mini-avatar { height:26px; width:26px; font-size:11px }
.logout { display:flex; align-items:center; gap:8px; min-height:44px; color:#c9d4e4; border:0; background:none; padding:8px 0; margin-top:6px; font-size:12px }
.logout:hover { color:white }
.nav-toggle,.mobile-logout { display:none }
.main { margin-left:252px; min-height:100vh; display:flex; flex-direction:column }
.topbar { min-height:70px; padding:12px 36px; background:#ffffffb8; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:12px }
.breadcrumb,.topbar-end { display:flex; align-items:center; flex-wrap:wrap; gap:12px }
.breadcrumb>span { color:var(--muted) }
.breadcrumb strong { font-weight:600 }
.timezone { color:var(--muted); font-size:11px }
.mode { display:inline-flex; align-items:center; background:var(--blue-soft); border:1px solid #cbd7e3; color:#39516d; border-radius:6px; padding:5px 9px; font-size:11px; font-weight:600 }
.mode.demo { color:var(--gold-ink); background:#f9f3e7; border-color:#e1d5ba }
.content { width:100%; max-width:1620px; margin:0 auto; padding:32px 36px 44px; flex:1 }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 26px }
.page-heading .muted { margin:10px 0 0; font-size:13px }
.primary,.secondary,.danger,.quiet { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 16px; border:1px solid transparent; border-radius:8px; font-size:13px; font-weight:600; line-height:1.4; text-align:center; transition:background-color .15s,border-color .15s }
.primary { background:var(--navy); color:white; box-shadow:0 2px 3px #101f3510 }
.primary:hover { background:var(--navy-soft); color:white; text-decoration:none }
.secondary { border-color:var(--control-border); background:white; color:var(--ink) }
.secondary:hover { background:var(--blue-soft); text-decoration:none }
.danger { color:var(--danger); border-color:#c97984; background:white }
.danger:hover { background:var(--danger-soft); text-decoration:none }
.quiet { color:var(--emerald); background:transparent }
.quiet:hover { background:var(--success-soft); text-decoration:none }
.full { width:100% }
.notice { display:flex; align-items:flex-start; gap:12px; padding:15px 18px; background:var(--blue-soft); border:1px solid #d0dce7; color:#37506b; border-radius:10px; margin-bottom:24px; font-size:12px }
.notice>.icon { margin-top:1px }
.notice strong { color:var(--navy); font-size:13px }
.notice p { margin:3px 0 0 }
.notice.warning { background:var(--warning-soft); border-color:#e7d2ac; color:var(--warning) }
.notice.warning strong { color:#6d4618 }
.stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:24px }
.stats article { border:1px solid var(--line); border-radius:var(--radius); background:white; padding:18px 20px; box-shadow:var(--shadow) }
.stat-label { display:flex; justify-content:space-between; align-items:center; gap:6px; color:var(--muted); font-size:12px }
.stat-label .icon { color:var(--gold-ink); width:18px;height:18px }
.stats strong { font-size:34px; font-weight:600; line-height:1.2; display:block; margin:12px 0 8px; font-variant-numeric:tabular-nums; letter-spacing:-1px }
.stats small,.stats a { font-size:12px }
.stats .stat-total { font-size:16px; font-weight:400; color:var(--muted); letter-spacing:0 }
.filter-fields { display:flex; gap:12px; flex-wrap:wrap }
.list-search { max-width:320px; margin:0!important }
.document-title { display:flex; align-items:center; gap:10px }
.document-title .icon { color:var(--muted) }
.audit-detail { margin:0; padding:0; border:0 }
.stats .attention-stat { border-top:3px solid var(--gold); padding-top:16px }
.panel { background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); min-width:0; overflow:hidden }
.panel-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 24px }
.panel-head p { font-size:12px; margin:4px 0 0 }
.panel-head>a { flex-shrink:0; font-size:12px; font-weight:600; display:inline-flex; align-items:center; min-height:36px }
.panel-head h2 { display:flex; align-items:center; flex-wrap:wrap; gap:8px }
.count { display:inline-grid; place-items:center; min-width:26px; min-height:24px; border-radius:6px; padding:2px 7px; color:var(--muted); background:var(--blue-soft); font:600 12px var(--sans) }
.focus-grid { display:grid; grid-template-columns:1.15fr 1fr; gap:20px; margin-bottom:24px }
.focus-row { display:flex; align-items:center; gap:12px; padding:14px 24px; border-top:1px solid var(--line); min-width:0 }
.focus-row>.icon { color:var(--gold-ink) }
.focus-row .grow>strong { font-size:13px; display:block }
.focus-row small { display:block; margin-top:4px }
.focus-row .radicado { font-size:12px }
.focus-row p { margin:3px 0; font-size:12px }
.focus-row>a { flex-shrink:0 }
.attention-copy { color:var(--warning); font-size:12px }
.panel-foot { padding:13px 24px; font-size:12px; color:var(--muted); background:#fafbfcd9; border-top:1px solid var(--line) }
.table-wrap { position:relative; overflow-x:auto; overscroll-behavior-x:contain }
table { width:100%; border-collapse:collapse; text-align:left }
th { padding:12px 20px; border-block:1px solid var(--line); background:#f6f8fa; font-size:11px; color:#526177; font-weight:650; letter-spacing:.6px; text-transform:uppercase; white-space:nowrap }
td { padding:17px 20px; border-bottom:1px solid #e9edf1; vertical-align:middle; font-size:13px; overflow-wrap:anywhere }
tr:last-child td { border-bottom:0 }
tbody tr:hover { background:#fafbfd }
td small { display:block; margin-top:5px; max-width:390px; font-size:12px }
td>.badge { max-width:215px }
.radicado { font-family:Consolas,'Courier New',monospace; font-size:13px; font-weight:600; letter-spacing:-.3px; white-space:nowrap; color:#1d5264; font-variant-numeric:tabular-nums }
.person { display:flex; align-items:center; gap:7px; min-width:130px }
.arrow { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:8px; color:var(--emerald) }
.arrow:hover { background:var(--success-soft); text-decoration:none }
.badge { display:inline-flex; align-items:center; gap:6px; font-size:11px; line-height:1.4; font-weight:600; border:1px solid transparent; border-radius:6px; padding:5px 8px; background:var(--blue-soft); color:#42566e; white-space:normal }
.badge .icon { width:14px; height:14px }
.badge.baseline,.badge.success_unchanged,.badge.available,.badge.reviewed,.badge.done { background:var(--success-soft); color:#17624f }
.badge.success_changes,.badge.new,.badge.modified { background:#edf0fc; color:#4c5090 }
.badge.human_pending,.badge.partial,.badge.unavailable,.badge.source_issue,.badge.pending { background:var(--warning-soft); color:var(--warning) }
.badge.restricted,.badge.technical_error,.badge.invalid,.badge.failed { background:var(--danger-soft); color:var(--danger) }
.table-toolbar { padding:0 24px 18px; display:flex; flex-wrap:wrap; align-items:end; gap:12px }
.table-toolbar label { margin:0; min-width:150px }
.table-toolbar .search { margin-left:auto }
.search { position:relative; display:flex; border:1px solid var(--control-border); border-radius:8px; background:white; width:320px; min-width:0 }
.search:focus-within { outline:3px solid var(--focus); outline-offset:2px }
.search input { border:0; min-width:0; flex:1; margin:0; font-size:12px; background:transparent; outline:none; box-shadow:none }
.search button { border:0; border-left:1px solid var(--line); background:transparent; color:var(--ink); padding:9px 12px; border-radius:0 8px 8px 0; min-height:44px }
.search button:focus-visible { outline-offset:-4px }
.search input:not([type=hidden]) { border:0; margin:0; border-radius:8px 0 0 8px; outline:none; box-shadow:none; background:transparent }
.back-icon { transform:rotate(180deg); margin-right:8px; width:16px;height:16px }
.section-nav { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; border-bottom:1px solid var(--line); padding-bottom:12px }
.section-nav a { display:inline-flex; min-height:40px; align-items:center; padding:8px 14px; border-radius:7px; color:var(--ink); font-size:12px; background:white; border:1px solid var(--line) }
.section-nav a:hover { background:var(--blue-soft); text-decoration:none }
.table-sort { font:inherit; color:inherit; text-align:left; border:0; padding:7px 0; background:transparent; display:flex; align-items:center; gap:7px; min-height:32px; text-transform:inherit; letter-spacing:inherit }
.table-sort::after { content:'↕'; font-size:14px }
th[aria-sort=ascending] .table-sort::after { content:'↑' }
th[aria-sort=descending] .table-sort::after { content:'↓' }
.pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 24px; border-top:1px solid var(--line); font-size:12px; color:var(--muted) }
.pagination-controls { display:flex; align-items:center; gap:8px }
.pagination button { min-height:36px; padding:7px 12px; font-size:12px }
.filter-chips { display:flex; flex-wrap:wrap; gap:8px }
.filter-chips button { min-height:40px; font-size:12px }
.filter-chips button[aria-pressed=true] { background:var(--navy); border-color:var(--navy); color:white }
.list-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:20px }
.list-toolbar small { font-size:12px }
.bottom-grid { display:grid; grid-template-columns:1.15fr 1fr; gap:20px; margin-top:24px }
.compact { padding:24px }
.compact>.muted { font-size:13px }
.compact>small { display:block; margin-top:12px }
.inline-form { display:flex; align-items:flex-end; gap:12px; margin-top:16px }
.inline-form label { margin:0 }
label { display:block; font-size:12px; font-weight:600; color:#42546a; margin:16px 0 }
label small { display:block; font-weight:400; margin-top:6px }
input:not([type=hidden]),select,textarea { display:block; width:100%; margin-top:7px; min-height:44px; border:1px solid var(--control-border); border-radius:8px; background:white; color:var(--ink); padding:10px 12px; font-size:13px; line-height:1.5 }
input::placeholder { color:#637184; opacity:1 }
input:focus-visible,select:focus-visible,textarea:focus-visible { border-color:var(--focus) }
input[readonly] { background:#f6f8fa }
.check { display:flex; align-items:flex-start; gap:10px; font-weight:400; line-height:1.6; cursor:pointer; min-height:28px }
.check input[type=checkbox] { height:18px; width:18px; min-height:18px; margin:2px 0 0; accent-color:var(--emerald); flex-shrink:0 }
input[type=file] { padding:8px; max-width:100%; font-size:12px }
input::file-selector-button { border:0; background:var(--blue-soft); border-radius:4px; color:var(--ink); padding:5px 8px; margin-right:8px; cursor:pointer }
footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:22px 36px; border-top:1px solid var(--line); color:var(--muted); font-size:11px }
footer strong { color:var(--ink); font-weight:600 }
.back { display:inline-flex; align-items:center; min-height:40px; font-size:12px; margin-bottom:12px }
.case-number { font:30px/1.4 Consolas,monospace; letter-spacing:-.7px; overflow-wrap:anywhere }
.detail-meta { display:flex; flex-wrap:wrap; align-items:center; gap:16px; font-size:12px; margin-bottom:24px }
.detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 302px; gap:24px; align-items:start }
.detail-layout>*,.detail-aside { min-width:0 }
.section-gap { margin-top:24px }
.timeline { padding:0 24px 24px }
.timeline-item { position:relative; padding:4px 0 28px 24px; margin-left:6px; border-left:1px solid #c8d5df }
.timeline-item:last-child { padding-bottom:4px }
.timeline-dot { position:absolute; left:-5px; top:9px; height:9px; width:9px; background:var(--gold); border-radius:50%; box-shadow:0 0 0 4px white }
.act-top { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:12px; flex-wrap:wrap }
.act-top .eyebrow { margin:0; font-size:11px; color:var(--muted) }
.timeline h3 { margin:10px 0 6px; font-size:15px }
.annotation { font-size:13px; color:#41536a; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.75; margin:10px 0 }
.ai-note { padding:10px 12px; font-size:12px; color:var(--muted); background:#f4f6f9; border:1px solid #e1e7ee; border-radius:7px; margin:12px 0 }
.source-term { font-size:12px; color:var(--warning); background:var(--warning-soft); border-radius:7px; padding:10px }
.hash { display:block; font-size:11px; overflow-wrap:anywhere; margin:8px 0 }
.document-row { display:flex; align-items:flex-start; gap:16px; padding:20px 24px; border-top:1px solid var(--line); font-size:13px }
.document-row>div { min-width:0 }
.file-icon { flex-shrink:0; padding:15px 9px; background:var(--blue-soft); color:#3b536e; border:1px solid #cfdae6; border-radius:8px; font-size:10px; font-weight:700 }
.document-row small { font-size:12px }
.job { padding-top:14px; margin-top:14px; border-top:1px solid var(--line); font-size:12px }
.job p { margin-bottom:0 }
.alert-row { display:flex; align-items:flex-start; gap:16px; padding:22px 24px; border-bottom:1px solid var(--line) }
.alert-row:last-child { border-bottom:0 }
.alert-icon { display:grid; place-items:center; flex-shrink:0; width:36px; height:36px; border-radius:10px; background:var(--warning-soft); color:var(--gold-ink) }
.alert-row h3 { font-size:15px; margin:10px 0 6px }
.alert-row small { display:block; margin-top:6px }
.alert-row.read { background:#fafcfa }
.alert-row.read .alert-icon { background:var(--success-soft); color:var(--emerald) }
.reviewed { font-size:12px; color:var(--emerald); margin-top:12px }
.empty { text-align:center; padding:32px 24px; color:var(--muted); font-size:13px }
.empty>.icon { width:30px;height:30px; color:#6e7e90; margin-bottom:10px }
.empty h3 { color:var(--ink); font-size:15px }
.empty p { max-width:460px; margin:6px auto 0 }
.flash { display:flex; align-items:flex-start; gap:10px; padding:14px 18px; background:var(--success-soft); border:1px solid #adcfbd; border-radius:9px; color:#175440; font-size:13px; margin-bottom:22px }
.flash.error { background:var(--danger-soft); border-color:#dfadb5; color:var(--danger) }
details { margin-top:20px; border-top:1px solid var(--line); padding-top:14px; font-size:12px }
summary { min-height:32px; padding:4px 0; cursor:pointer; font-weight:600; color:var(--emerald) }
details p { overflow-wrap:anywhere }
details[open]>summary { margin-bottom:12px }
code { font-family:Consolas,monospace; font-size:12px }
.account-panel { padding:24px; margin-top:24px }
.account-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 24px; margin-top:16px; max-width:900px }
.account-form label { margin:6px 0 }
.account-form button { justify-self:start; align-self:end; margin-top:12px }
.account-actions { display:flex; flex-wrap:wrap; gap:8px }
.account-actions button { font-size:12px }
.notice.account-notice { display:block }
.account-note { margin:18px 0 24px; font-size:12px }
.account-activation { max-width:520px; margin:5vh auto; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow) }
.account-activation h1 { font-size:32px }
.login-main { min-height:100vh }
.login-main .content { max-width:1160px; padding:64px 32px 36px }
.login-grid { display:grid; grid-template-columns:1.04fr 1fr; border:1px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:0 12px 54px #101f350d }
.login-story { padding:48px; background:var(--navy); color:white; display:flex; flex-direction:column; position:relative; overflow:hidden }
.login-story .brand { padding:0; margin-bottom:56px; position:relative; z-index:1 }
.login-story .eyebrow { color:#d7bb88 }
.login-story h1 { color:white; font-size:44px; line-height:1.15 }
.login-story>p:not(.eyebrow) { color:#c1cfdf; font-size:14px; line-height:1.8; margin:24px 0; max-width:350px }
.login-points { display:grid; gap:14px; margin:12px 0 40px; font-size:13px; color:#e1e8f2 }
.login-points span { display:flex; align-items:center; gap:12px }
.login-points .icon { color:#d7bb88; width:17px; height:17px }
.login-story>small { color:#b7c4d5; margin-top:auto; font-size:11px }
.login-card { padding:58px 48px; background:white }
.login-card h2 { font:32px var(--serif) }
.login-card form { margin-top:28px }
.login-card button { margin-top:8px }
.login-card>.muted { font-size:13px }
.login-main footer { max-width:1096px; margin:auto; border:0 }
.error-card { max-width:720px; margin:7vh auto; padding:40px }
.error-card h1 { font-size:32px }
.error-card>p { margin:16px 0 24px }
.dialog-body { padding:28px }
dialog { border:1px solid var(--line); padding:0; max-width:460px; width:calc(100% - 40px); border-radius:16px; color:var(--ink); box-shadow:0 24px 80px #101f3530 }
dialog::backdrop { background:#101f3580 }
.dialog-body>.icon { color:var(--gold-ink); width:28px; height:28px; margin-bottom:12px }
.dialog-body p { margin:12px 0 24px; color:var(--muted) }
.dialog-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px }
form[aria-busy=true] { opacity:.8 }
.submit-status { display:block; font-size:12px; color:var(--muted); margin-top:8px }
@media(min-width:1600px) { .content { padding:40px 48px } }
@media(max-width:1200px) {
  .sidebar { width:222px;padding:28px 14px 18px }
  .main { margin-left:222px }
  .brand { font-size:27px }
  .topbar { padding-inline:24px }
  .content { padding:28px 24px }
  .stats { gap:12px }.stats article { padding:16px }.stats .attention-stat { padding-top:14px }
  .detail-layout { grid-template-columns:minmax(0,1fr) 275px; gap:18px }
  td,th { padding-inline:16px }
  h1 { font-size:33px }
  .case-number { font-size:26px }
  .focus-row,.panel-head { padding-inline:20px }
}
@media(max-width:960px) {
  .focus-grid,.bottom-grid { grid-template-columns:1fr }
  .detail-layout { grid-template-columns:1fr }
  .detail-aside { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start }
  .detail-aside .section-gap { margin:0 }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .page-heading { align-items:flex-start }
}
@media(max-width:800px) {
  .sidebar { position:static; width:100%; padding:20px; overflow:visible; display:block }
  .sidebar-heading { display:flex; justify-content:space-between; align-items:center; gap:16px }
  .brand { padding:0; font-size:27px }.brand small { font-size:9px; margin-top:5px }
  .workspace,.sidebar-bottom { display:none }
  .nav-label { margin-top:20px }
  .nav-section { margin-top:16px }
  .sidebar nav { display:grid; grid-template-columns:1fr 1fr; gap:3px 10px }
  .sidebar nav a { margin:0 }
  .nav-toggle:not([hidden]) { display:inline-flex; background:#ffffff0b; color:white; border-color:#8c9bb0; font-size:12px }
  .main { margin-left:0 }
  .topbar { padding:12px 20px; min-height:64px }
  .timezone { display:none }
  .mobile-logout { display:block }.mobile-logout .secondary { padding:8px; min-width:40px; min-height:40px }
  .content { padding:24px 20px 32px }
  .topbar-end { gap:8px }
  .login-story,.login-card { padding:32px }
  .login-story h1 { font-size:37px }
  .login-main .content { padding:30px 20px }
  footer { padding:20px }
}
@media(max-width:560px) {
  h1 { font-size:30px;letter-spacing:-.5px }
  .page-heading { flex-direction:column; gap:16px; margin-bottom:22px }
  .page-heading .primary { width:100% }
  .content { padding:24px 16px 32px }
  .eyebrow { font-size:10px;letter-spacing:1.3px }
  .notice { padding:14px;gap:10px;font-size:12px }
  .notice strong { font-size:12px }
  .stats { gap:10px; margin-bottom:20px }
  .stats article { padding:15px 12px }.stats .attention-stat { padding-top:13px }
  .stat-label { font-size:11px;align-items:flex-start }.stat-label .icon { width:16px;height:16px }
  .stats strong { font-size:30px;margin:10px 0 6px }
  .stats small,.stats a { font-size:11px }
  .panel-head { padding:18px;flex-wrap:wrap;gap:8px }
  .panel-head h2 { font-size:16px }
  .focus-row { padding:14px 18px }
  .focus-row .radicado { font-size:12px }
  .focus-grid,.bottom-grid { gap:20px }
  .table-toolbar { padding:0 18px 18px;gap:10px }
  .table-toolbar label,.table-toolbar .search { width:100%;margin:0 }
  .table-wrap table { min-width:650px }
  .table-wrap { border-radius:0 }
  .table-hint { display:block; padding:0 18px 12px; font-size:11px;color:var(--muted) }
  .compact,.account-panel { padding:20px }
  .inline-form { flex-direction:column; align-items:stretch }
  .inline-form .grow { width:100% }
  .detail-aside,.account-form { grid-template-columns:1fr }
  .case-number { font-size:23px; letter-spacing:-.8px }
  .detail-meta { gap:12px }
  .detail-meta>span:not(.badge) { flex-basis:100% }
  .alert-row { padding:18px;gap:12px;flex-wrap:wrap }
  .alert-row .grow { flex-basis:calc(100% - 48px) }
  .alert-row>form { margin-left:48px }
  .alert-row .radicado { font-size:12px }
  .alert-row h3 { font-size:14px }
  .timeline { padding:0 18px 20px }.timeline-item { padding-left:18px }
  .document-row { padding:18px;gap:12px }
  .document-row .file-icon { display:none }
  .breadcrumb { gap:7px;font-size:11px }.breadcrumb>span:first-child { display:none }
  .breadcrumb>span:nth-child(2) { display:none }
  .topbar { gap:8px;padding-inline:16px }.mode { font-size:10px }
  .login-grid { grid-template-columns:1fr }
  .login-story,.login-card { padding:28px }
  .login-story .brand { margin-bottom:30px }.login-story h1 { font-size:34px }
  .login-points,.login-story>small { display:none }
  .login-story>p:not(.eyebrow) { margin:16px 0 0;font-size:13px }
  .login-main .content { padding:20px 12px }
  .login-card form { margin-top:22px }
  .error-card { padding:28px;margin:24px 0 }
}
@media(min-width:561px) { .table-hint { display:none } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important;scroll-behavior:auto!important;animation:none!important } }
@media print { .sidebar,.topbar,form,button,.pagination,dialog,footer { display:none!important }.main { margin:0 }.content { padding:0 }.panel { box-shadow:none;break-inside:avoid }.table-wrap { overflow:visible } body { background:white } }
.report-panel>p { margin:14px 24px; }
.report-panel td,.report-panel th { padding:10px 20px; }
.preference-panel { padding:24px; }
.preference-panel form { display:grid; gap:14px; max-width:600px; }
.preference-panel input[type=checkbox] { width:auto; margin-right:8px; }
@media(max-width:560px) { .report-panel>p { margin:14px 18px; }.report-panel table { min-width:0; }.report-panel th { white-space:normal; }.report-panel td,.report-panel th { padding:10px 12px; }.preference-panel { padding:18px; } }
.password-input-wrap { display:block;position:relative; }
.password-input-wrap>input { padding-right:48px!important; }
.password-visibility-toggle { position:absolute;right:5px;top:calc(50% + 3px);transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:7px;border:0;border-radius:7px;background:transparent;color:#42546a; }
.password-visibility-toggle:hover { background:#edf2f7;color:var(--navy); }
.password-visibility-toggle svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.capture-grid,.capture-acts { display:grid;gap:12px;margin:12px 0 20px; }
.capture-page-row,.capture-act-row { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;border:1px solid var(--line,#d9e1e8);border-radius:10px; }
.capture-act-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
.capture-act-row legend { font-weight:700;padding:0 6px; }
.capture-act-row label:last-child { grid-column:1/-1; }
@media(max-width:640px) { .capture-page-row,.capture-act-row { grid-template-columns:1fr; }.capture-act-row label:last-child { grid-column:auto; } }

/* Portal 5098: clear hierarchy and mobile case cards, no judicial state changes. */
.page-heading h1{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.15}
.stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.stats article{border-top:3px solid var(--gold);box-shadow:0 4px 18px #101f3508}
.stats strong{font-variant-numeric:tabular-nums}
.case-collection .radicado,.case-number{overflow-wrap:anywhere}
.report-shortcut{display:flex;gap:24px;align-items:center;margin:24px 0;padding:24px}
.report-shortcut>div{flex:1}.report-shortcut h2{margin:0}
.case-summary{border-left:4px solid var(--gold);padding:24px}
.detail-layout>div,.detail-aside{min-width:0}
@media(max-width:1100px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stats article:last-child{grid-column:1/-1}
 .report-shortcut{align-items:stretch;flex-direction:column;gap:12px}
 .case-collection table,.case-collection tbody,.case-collection tr,.case-collection td{display:block;width:100%;min-width:0}
 .case-collection thead{display:none}
 .case-collection tr{border-bottom:1px solid var(--line);padding:12px 0}
 .case-collection td{border:0;padding:8px 18px;white-space:normal}
 .case-collection td[data-label]:before{content:attr(data-label);display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:4px}
 .case-collection .table-hint{display:none}
 .section-nav{flex-wrap:wrap}.case-summary{padding:18px}
}
