/* Identidad MCN para Gestor Judicial. Los colores de estados conservan su significado. */
:root{--ink:#282126;--muted:#746970;--navy:#501d28;--teal:#852838;--green:#f7eeea;--line:#e9e2e1;--canvas:#f6f3f1;--white:#fff;--red:#a6263b;--shadow:0 4px 20px #340f0f05;--radius:14px;--mcn-gold:#e8d49a;--mcn-red:#bd2528}
body{-webkit-font-smoothing:antialiased}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#c09c4a}
.sidebar{background:radial-gradient(ellipse at 0 0,#611d2855,transparent 65%),#21131a;border-right:1px solid #4f3039;color:#f5edf0}
.sidebar,.sidebar nav{scrollbar-width:thin;scrollbar-color:#84636d transparent}
.sidebar::-webkit-scrollbar{width:5px}.sidebar nav::-webkit-scrollbar{height:3px}
.sidebar::-webkit-scrollbar-track,.sidebar nav::-webkit-scrollbar-track{background:transparent}
.sidebar::-webkit-scrollbar-thumb,.sidebar nav::-webkit-scrollbar-thumb{background:#84636d;border-radius:8px}
.table-scroll{scrollbar-width:thin;scrollbar-color:#c2acb4 transparent}
.brand{gap:11px;font-weight:650;letter-spacing:-.035em}
.brand-mark{width:39px;height:39px;border-radius:10px;flex-shrink:0;box-shadow:0 5px 25px #bd25281c}
.brand small{color:#cab498;letter-spacing:.17em;font-size:.52rem}
.studio-label{border-color:#e8d49a25;background:#e8d49a05;color:#eee3e0;font-weight:500;border-radius:10px;margin-top:30px}
.sidebar .mini-tag{color:var(--mcn-gold);font-size:.56rem}
.sidebar .studio-switch select{background:#2c1c25;color:#f7ecef;border-color:#77505c}
.sidebar .text-button{color:var(--mcn-gold)}
.nav-link{color:#c8b6c0;border-radius:8px;font-weight:450;padding-top:11px;padding-bottom:11px}
.nav-link>span{color:#a58c97;display:flex;align-items:center;justify-content:center}
.nav-link svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.nav-link:hover{background:#ffffff08;color:#fff}
.nav-link.active{background:linear-gradient(100deg,#74313c90,#54263260);color:#fff1cf;box-shadow:inset 2px 0 var(--mcn-gold);font-weight:550}
.nav-link.active>span{color:var(--mcn-gold)}
.nav-divider{background:#e8d49a19}
.pilot-note{background:linear-gradient(135deg,#39212b,#2b1b23);border-color:#e8d49a22;border-radius:12px}
.pilot-note .tiny-label{color:var(--mcn-gold);font-weight:550;font-size:.57rem}
.pilot-note p{color:#c3afb9;font-size:.76rem}
.pilot-note a{color:#efdca9}
.profile{border-color:#e8d49a1c}
.avatar{background:#56303b;color:#f0dcaa;border:1px solid #e8d49a30}
.profile small{color:#bfa4b2}
.profile-link{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;border-radius:8px;padding:4px}
.profile-link:hover,.profile-link.active{background:#ffffff08;color:#fff1cf}
.profile-info{display:block;min-width:0}
.profile-link .avatar{flex-shrink:0}
.sidebar-bottom>.nav-link{margin-top:24px;margin-bottom:18px}
.system-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.system-features h3{font-size:.95rem}
.system-features p{font-size:.85rem;color:var(--muted);margin-bottom:10px}
.logout{color:#dac3cd}
.logout:hover{color:var(--mcn-gold)}
.topbar{background:#ffffffd9;border-bottom-color:#e9e1df}
.breadcrumb{color:#81727b}.breadcrumb span{color:#cdbbbf}
.topbar-account{color:#742538}
.demo-banner{background:#f0eae6;border-bottom-color:#e3d7cf;color:#746057}
.page-heading h1{font-weight:600;letter-spacing:-.045em}
.eyebrow{color:#8c4d4c;font-size:.61rem;letter-spacing:.16em}
.button{border-radius:8px;font-weight:550;transition:background .15s,box-shadow .15s}
.button.primary{background:#922e3c;border-color:#a74650;box-shadow:0 4px 14px #9e243018;color:#fff}
.button.primary:hover{background:#782231;box-shadow:0 6px 19px #9e243027}
.button.secondary{border-color:#ded1d5;color:#62404e}
.button.secondary:hover{background:#faf3f2}
.sidebar .mobile-logout .button{background:#ffffff08;border-color:#ffffff25;color:#edddcf}
.stat{border-color:#e7dfe0;border-radius:13px;box-shadow:0 3px 15px #340f0f03}
.stat>span{color:#74636e}.stat strong{font-weight:550;letter-spacing:-.06em}
.stat.accent{border-top-color:#b83946;background:linear-gradient(145deg,#fff,#fbf4f2)}
.stat.accent strong{color:#902c3d}.stat.warning strong{color:#936b24}
.panel-heading{background:linear-gradient(100deg,#fff,#fdfaf9)}
.panel-heading h2{font-weight:600}
.notice-row,.agenda-row,td,.reading-rows>li{border-bottom-color:#f0e9e9}
.notice-row:hover{background:#fdf9f8}
.notice-icon{background:#f8ecea;color:#92384a;border:1px solid #efddd9}
.notice-icon.amber{background:var(--amber-bg);color:var(--amber);border-color:#f0e1c1}
.case-ref,.table-case strong{color:#863747}
.row-top time{color:#85757f}
.notice-row p,.agenda-row p,.timeline-item p{color:#776570}
.date-tile{background:#fbf5ed;border-color:#eee2cf;color:#7c5830}
.agenda-footnote{background:#fbf8f6;color:#81736d}
.tag.neutral{background:#f0eaf0;color:#716173}
th{background:#f9f6f5;color:#82747c;font-size:.68rem;letter-spacing:.02em}
.table-scroll tbody tr:hover{background:#fcf9f8}
.court-cell{color:#796b75}
input,select,textarea{border-color:#ddd2d7;border-radius:8px}
input::placeholder,textarea::placeholder{color:#8e7c85}
input:focus,select:focus,textarea:focus{border-color:#ad8089}
.timeline-item{border-left-color:#e6d7d9}
.timeline-marker{background:#a64052;outline-color:#dcbabf}
.mini-task{border-left-color:#c3a157}
.text-button{color:#846171}
.tabs{border-bottom-color:#e6d8dc}
.tabs a{color:#826e7b}
.case-meta small{color:#82717a}
.reading-book>summary{color:#703042}
.reading-book[open]>summary{background:#faf4f2}
.reading-book>summary:hover{background:#faf4f2}
footer{color:#897b80}
footer a{color:#824153}
.auth-page{background:radial-gradient(ellipse at 15% 20%,#711d2e25,transparent 60%),#f3efed}
.auth-layout{border:1px solid #e5d8d5;box-shadow:0 20px 80px #340f0f12;border-radius:20px;max-width:1050px;min-height:660px}
.auth-intro{position:relative;isolation:isolate;background:radial-gradient(ellipse at 0 0,#8e253447,transparent 65%),linear-gradient(145deg,#340f0f,#20121c);padding:46px;overflow:hidden}
.auth-intro:before{content:"";position:absolute;width:440px;height:440px;right:-280px;bottom:-115px;border:1px solid #e8d49a1c;border-radius:50%;box-shadow:0 0 0 45px #e8d49a04,0 0 0 90px #e8d49a03;z-index:-1}
.auth-intro .brand small{color:#d8c59f;font-size:.49rem}
.auth-intro .brand-mark{width:41px;height:41px;box-shadow:0 0 30px #bd252824}
.auth-intro .eyebrow{color:var(--mcn-gold);font-weight:550}
.auth-intro h1{font-size:3.1rem;font-weight:550;letter-spacing:-.055em;line-height:1.12}
.auth-intro h1 span{color:var(--mcn-gold)}
.auth-intro p:not(.eyebrow){color:#d5bfc7;font-size:.9rem}
.auth-intro>small{color:#c5aaa9;font-size:.7rem}
.auth-intro>div{margin:auto 0}
.auth-card{padding:52px 43px}
.auth-card h2{font-weight:550;letter-spacing:-.03em}
.auth-demo{background:#f4ede7;color:#80674f;border:1px solid #e8dbcb}
.auth-card .tag.amber{background:#f6ebd5;color:#80591e}
.auth-topline{display:flex;align-items:center;gap:10px;margin-bottom:22px;font-size:.65rem;letter-spacing:.16em;color:#9e7a58}
.auth-topline:before{content:"";width:23px;height:2px;background:#c9a763}
@media(min-width:1600px){.sidebar{width:270px}.workspace{margin-left:270px}}
@media(max-width:1150px){.brand-mark{width:33px;height:33px}.brand small{font-size:.46rem}.brand{gap:8px}}
@media(max-width:900px){.sidebar{border-right:0;border-bottom:1px solid #4f3039}.sidebar .brand-mark{width:35px;height:35px}.nav-link>span{display:none}.nav-link.active{box-shadow:inset 0 -2px var(--mcn-gold)}.auth-intro{padding:30px}.auth-intro h1{font-size:2.5rem}.auth-card{padding:35px 28px}.brand small{font-size:.49rem}}
@media(max-width:650px){.auth-layout{border:0;border-radius:0;min-height:100vh}.auth-intro{padding:26px 25px}.auth-card{padding:31px 25px}.auth-intro .brand-mark{width:39px;height:39px}.auth-topline{margin-bottom:16px}.auth-intro .brand small{font-size:.46rem}.auth-card h2{font-size:1.6rem}.sidebar .brand{max-width:calc(100% - 68px)}.sidebar .brand small{font-size:.46rem}.button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.button{transition:none}}
@media(max-width:900px){.sidebar-bottom{display:block}.sidebar-bottom>.nav-link{margin:6px 0 0;width:fit-content}.profile{margin:8px -20px 0;padding:9px 20px}.profile-link{flex:0 1 340px}.profile>form{display:none}.system-features{grid-template-columns:1fr}.system-features>div+div{border-top:1px solid var(--line);padding-top:18px}}
