.liwen-portal{--liwen-teal:#009e9a;--liwen-ink:#17212b;--liwen-muted:#64717d;--liwen-line:#dce4e8;color:var(--liwen-ink);font:inherit;max-width:1080px;margin:2rem auto;padding:clamp(1rem,3vw,2rem);border:1px solid var(--liwen-line);border-radius:18px;background:#fff;box-shadow:0 14px 36px rgba(23,33,43,.08)}
.liwen-portal__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.liwen-portal__header h2{margin:.25rem 0;font-size:clamp(1.4rem,3vw,2rem);color:var(--liwen-ink)}.liwen-portal__eyebrow{margin:0;color:var(--liwen-teal);font-size:.72rem;font-weight:800;letter-spacing:.1em}.liwen-portal__badge{padding:.4rem .7rem;border-radius:999px;background:#e4f7f5;color:#006d69;font-size:.8rem;font-weight:700}
.liwen-portal__auth form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:1rem}.liwen-portal label{display:grid;gap:.4rem;font-size:.9rem;font-weight:650}.liwen-portal input{min-height:44px;width:100%;box-sizing:border-box;padding:.65rem .75rem;border:1px solid #aebbc3;border-radius:8px;font:inherit}.liwen-portal button{min-height:42px;padding:.55rem .9rem;border:0;border-radius:8px;background:var(--liwen-teal);color:#fff;font:inherit;font-weight:700;cursor:pointer}.liwen-portal button:hover{background:#007e7a}.liwen-portal button:focus-visible,.liwen-portal input:focus-visible{outline:3px solid #70d5d0;outline-offset:2px}.liwen-portal button:disabled{opacity:.6;cursor:wait}.liwen-portal__status{min-height:1.5rem;margin:1rem 0;color:var(--liwen-muted)}.liwen-portal__content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:1.5rem}.liwen-portal__content section{min-width:0}.liwen-portal__content h3{margin:.25rem 0 1rem}.liwen-portal__content ul{margin:0;padding:0;list-style:none}.liwen-portal__content li{padding:.8rem 0;border-bottom:1px solid var(--liwen-line)}.liwen-portal__client{width:100%;text-align:left;background:#f4f8f9!important;color:var(--liwen-ink)!important}.liwen-portal__contacts p{margin:.35rem 0 0;color:var(--liwen-muted);overflow-wrap:anywhere}.liwen-portal__disabled{margin:1.5rem 0 0;padding:.8rem 1rem;border-left:4px solid #7c8a94;background:#f3f5f6;color:#4e5a63;font-size:.9rem}
@media(max-width:720px){.liwen-portal__auth form,.liwen-portal__content{grid-template-columns:1fr}.liwen-portal__header{align-items:flex-start}.liwen-portal__badge{white-space:nowrap}}
.liwen-documents__form{display:grid;gap:.5rem;max-width:38rem}.liwen-documents__form>div{display:flex;gap:.6rem}.liwen-documents__form input{flex:1;min-width:0;text-transform:uppercase;letter-spacing:.08em}.liwen-documents__form small{color:var(--liwen-muted)}.liwen-documents__list{list-style:none;margin:1rem 0;padding:0}.liwen-documents__item{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--liwen-line);padding:.8rem 0}.liwen-documents__item>div{display:flex;gap:.5rem;flex-wrap:wrap}.liwen-documents [data-document-preview]{margin-top:1.25rem;min-height:55vh}.liwen-documents iframe{width:100%;height:min(72vh,900px);border:1px solid var(--liwen-line);border-radius:10px}.liwen-documents__image{display:block;max-width:100%;max-height:72vh;margin:auto;object-fit:contain}@media(max-width:560px){.liwen-documents__form>div,.liwen-documents__item{align-items:stretch;flex-direction:column}.liwen-documents__item button{flex:1}}
.liwen-documents__logo{display:block;width:clamp(150px,22vw,235px);height:auto;object-fit:contain}


/* LIWEN Verificación 0.4.1 — estilos aislados compatibles con tema FIDEM + LIWEN v1.1 */
.liwen-documents{--liwen-ink:#132e39;--liwen-turquoise:#12afc0;--liwen-deep:#007987;--liwen-pale:#eff8fa;--liwen-line:#d9e8ed;max-width:1132px;margin:28px auto 68px;padding:0!important;overflow:hidden;border:0!important;border-radius:23px!important;background:#fff!important;box-shadow:0 22px 65px rgba(7,37,49,.13)!important;color:var(--liwen-ink);font-family:'DM Sans',Arial,sans-serif}
.liwen-documents *, .liwen-documents *::before, .liwen-documents *::after{box-sizing:border-box}
.liwen-documents [hidden]{display:none!important}
.liwen-documents__topline{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px clamp(20px,3vw,34px);background:#f8fafb;color:#234758;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.liwen-documents__topline span:nth-child(2),.liwen-documents__topline span:nth-child(4){color:#7898a4}
.liwen-documents__topline a{color:#007e8d;text-decoration:none}
.liwen-documents__topline a:hover{text-decoration:underline}
.liwen-documents__hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:32px;padding:clamp(30px,5vw,58px) clamp(25px,5vw,52px);background:linear-gradient(110deg,#00434d 0%,#006f80 58%,#209bad 100%);color:#fff}
.liwen-documents__hero h2{max-width:670px;margin:15px 0 17px;color:#fff!important;font-family:'Manrope','DM Sans',sans-serif;font-size:clamp(27px,3vw,42px);font-weight:800;line-height:1.15;letter-spacing:-.035em}
.liwen-documents__eyebrow,.liwen-documents__step{margin:0;font-size:11px;font-weight:800;letter-spacing:.16em;color:#a8eaf0}
.liwen-documents__lead{max-width:600px;margin:0 0 20px;color:#e6f9fb;font-size:16px;line-height:1.8}
.liwen-documents__hero-chip{display:inline-flex;max-width:100%;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(255,255,255,.13);padding:7px 14px;color:#fff;font-size:12px;font-weight:700;line-height:1.4}
.liwen-documents__hero-brand{display:flex;justify-content:center;align-items:center;min-height:136px;border-radius:18px;background:#fff;padding:20px;box-shadow:0 15px 33px rgba(0,34,42,.16)}
.liwen-documents__logo{width:100%;max-width:205px;max-height:125px;object-fit:contain}
.liwen-documents__layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(265px,1fr);gap:24px;padding:35px clamp(20px,3vw,35px)}
.liwen-documents__primary{min-width:0;display:grid;align-content:start;gap:20px}
.liwen-documents__panel,.liwen-documents__results{min-width:0;background:#fff;border:1px solid var(--liwen-line);border-radius:18px;padding:clamp(20px,3vw,32px)}
.liwen-documents__step{color:#00849a}
.liwen-documents__panel h3,.liwen-documents__results h3,.liwen-documents__aside h3{margin:12px 0 16px;color:var(--liwen-ink);font-family:'Manrope','DM Sans',sans-serif;font-size:20px;font-weight:800;letter-spacing:-.015em}
.liwen-documents__form{max-width:none;gap:7px}
.liwen-documents__form label{color:#173744;font-size:14px;font-weight:800}
.liwen-documents__form-row{display:flex;align-items:stretch;gap:10px}
.liwen-documents__form-row input{flex:1;min-width:0;width:auto;min-height:50px;border:1px solid #aac7d1!important;border-radius:10px!important;background:#fff!important;padding:12px 14px!important;color:#163b47;font-size:14px;letter-spacing:.03em;text-transform:uppercase}
.liwen-documents__form-row input::placeholder{font-size:12px;letter-spacing:0;color:#829fa9}
.liwen-documents__form-row button,.liwen-documents__item button{min-height:48px;background:#007d8b!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:12px 18px;font-size:14px;font-weight:800;white-space:nowrap}
.liwen-documents__form-row button:hover,.liwen-documents__item button:hover{background:#005f6b!important}
.liwen-documents input:focus-visible,.liwen-documents button:focus-visible,.liwen-documents a:focus-visible{outline:3px solid #5be5ed!important;outline-offset:3px}
.liwen-documents__form small{margin-top:4px;color:#597885;font-size:12px;line-height:1.6}
.liwen-documents .liwen-portal__status{min-height:1.5rem;margin:12px 0 0;color:#426575;font-size:13px}
.liwen-documents__aside{background:linear-gradient(180deg,#eef9fb,#fff);border:1px solid #d7e9ee;border-radius:19px;padding:24px;color:#315968}
.liwen-documents__aside-icon{display:flex;align-items:center;justify-content:center;width:49px;height:49px;border-radius:50%;background:#bdf0f3;color:#007985;font-size:24px;font-weight:900}
.liwen-documents__aside h3{margin:24px 0 14px}
.liwen-documents__aside ol{margin:0;padding-left:22px;font-size:14px;line-height:1.65}
.liwen-documents__aside li{padding-left:2px;margin:0 0 12px}
.liwen-documents__aside p{margin:17px 0 0;padding-top:18px;border-top:1px solid #cce3ea;font-size:13px;line-height:1.6}
.liwen-documents__list{list-style:none!important;padding:0!important;margin:15px 0 0!important}
.liwen-documents__item{padding:13px 0;border-bottom:1px solid #e0ebef;gap:14px}
.liwen-documents__item>span{min-width:0;overflow-wrap:anywhere;font-weight:700}
.liwen-documents__item>div{justify-content:flex-end}
.liwen-documents__item button{min-height:40px;font-size:12px;padding:8px 12px}
.liwen-documents__preview{margin:0 clamp(20px,3vw,35px) 32px;padding:25px;background:#f6fafb;border:1px solid #d5e7eb;border-radius:17px}
.liwen-documents__preview iframe{width:100%;height:min(75vh,880px);margin-top:13px;border:1px solid #bfd6df;border-radius:10px;background:white}
.liwen-documents__footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:18px 32px;border-top:1px solid #dfedf0;background:#f8fafb;color:#607f8b;font-size:12px;font-weight:700}
@media(max-width:790px){.liwen-documents__hero{grid-template-columns:1fr}.liwen-documents__hero-brand{justify-self:start;max-width:205px}.liwen-documents__layout{grid-template-columns:1fr}.liwen-documents__aside{padding:25px}}
@media(max-width:520px){.liwen-documents{border-radius:15px!important;margin:15px auto 32px}.liwen-documents__hero{padding:26px 24px}.liwen-documents__hero h2{font-size:27px}.liwen-documents__lead{font-size:14px}.liwen-documents__topline{padding:14px 20px;font-size:10px}.liwen-documents__layout{padding:22px 18px}.liwen-documents__form-row,.liwen-documents__item{flex-direction:column;align-items:stretch}.liwen-documents__form-row input{width:100%}.liwen-documents__form-row button{width:100%}.liwen-documents__item>div{justify-content:stretch}.liwen-documents__item button{flex:1}.liwen-documents__preview{margin:0 18px 20px;padding:18px}.liwen-documents__footer{padding:18px 20px;flex-direction:column;align-items:flex-start}}

/* 0.5.1 responsive safeguards for narrow layouts and theme constraints. */
@media(max-width:560px){.liwen-documents,.liwen-documents *{min-width:0}.liwen-documents{width:calc(100% - 30px);max-width:100%}.liwen-documents__hero>*,.liwen-documents__layout>*,.liwen-documents__panel,.liwen-documents__aside,.liwen-documents__results{max-width:100%;overflow-wrap:anywhere}.liwen-documents__form-row{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.liwen-documents__form-row input,.liwen-documents__form-row button{width:100%;max-width:100%;white-space:normal}.liwen-documents__footer>*{min-width:0;overflow-wrap:anywhere}}
