:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#10213e;background:#f2f6fb;line-height:1.45;--navy:#193b66;--blue:#1468ff;--border:#d4dfec;--muted:#60718c}*{box-sizing:border-box}body{margin:0}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#f4f7fc,#ecfaf7)}.auth-card{width:min(620px,100%);background:#fff;border:1px solid var(--border);border-radius:22px;padding:48px;box-shadow:0 24px 70px #25466e24}.brand{display:inline-block;padding:10px 16px;border-radius:10px;background:var(--navy);color:#fff;font-size:22px;font-weight:800;letter-spacing:.04em}.eyebrow{margin:28px 0 8px;color:#075ee8;font-size:12px;font-weight:800;letter-spacing:.11em}.auth-card h1,.hero h1{font-size:clamp(30px,5vw,46px);line-height:1.08;margin:0 0 14px}.muted,.hint,.security-note{color:var(--muted)}.security-note{font-size:13px;margin-top:28px}.stack{display:grid;gap:18px;margin-top:28px}label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#40516d}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #cbd7e5;border-radius:9px;background:#fff;color:#14233c;font:inherit}input:focus,select:focus,textarea:focus{outline:3px solid #1468ff20;border-color:var(--blue)}button{border:0;border-radius:9px;padding:11px 16px;font:inherit;font-weight:700;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.primary{background:var(--blue);color:#fff}.secondary{background:#fff;color:#174276;border:1px solid #9fb2c9}.link-button{background:transparent;color:#075ee8}.message{padding:12px 14px;border-radius:9px;background:#eef5ff;color:#174276;font-size:14px}.message.error{background:#fff0f0;color:#b42318;border:1px solid #fac5c5}.message.success{background:#eafbf4;color:#087454;border:1px solid #a9e6d1}.topbar{min-height:72px;padding:14px max(24px,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;align-items:center;background:var(--navy);color:#fff}.topbar>div{display:flex;gap:14px;align-items:center}.topbar span{font-size:13px}.user-area{flex-wrap:wrap;justify-content:flex-end}.container{width:min(1240px,calc(100% - 32px));margin:28px auto 60px}.hero{padding:28px 34px;border-radius:18px;color:#fff;background:linear-gradient(105deg,#1a3c68,#0d938a)}.hero .eyebrow{color:#8edcff;margin-top:0}.hero h1{font-size:34px}.hero p:last-child{margin-bottom:0}.panel{margin-top:22px;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 8px 24px #274c7710}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-bottom:1px solid var(--border)}.panel-title .eyebrow{margin:0 0 4px}.panel-title h2{margin:0;font-size:21px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:15px 18px;text-align:left;border-bottom:1px solid #e2e9f1;font-size:14px;vertical-align:top}th{background:#f7f9fc;color:#52637c;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.empty{padding:16px 24px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:26px}.form-grid.nested{padding:4px 0 0}.span-2{grid-column:1/-1}fieldset{margin:0;border:1px solid var(--border);border-radius:10px;padding:16px}legend{padding:0 6px;color:#40516d;font-size:13px;font-weight:700}.hint{font-size:12px;margin:0 0 12px}.field-help{font-size:11px;font-weight:400;color:var(--muted)}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.check-grid.compact{grid-template-columns:1fr;max-height:220px;overflow:auto}.check-option{display:flex;grid-template-columns:none;align-items:flex-start;gap:10px;padding:12px;border:1px solid #d9e3ef;border-radius:9px}.check-option input{width:auto;margin-top:3px}.check-option span{display:grid;gap:2px}.check-option small{font-weight:400;color:var(--muted)}.calculated{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid var(--border);border-radius:9px;color:#40516d;font-size:13px}.impact-guide{border:1px solid #cfe0f5;border-radius:10px;padding:14px;background:#f7fbff;color:#40516d;font-size:13px}.impact-guide summary{cursor:pointer;font-weight:800;color:#174276}.impact-guide p{margin:8px 0}.impact-guide small{color:var(--muted)}.level,.status{display:inline-block;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.level.pending{background:#edf1f6;color:#62748e}.level.l1,.level.l2{background:#dcf8e7;color:#08733c}.level.l3{background:#fff1b9;color:#895c00}.level.l4{background:#ffe3c4;color:#ad4b00}.level.l5{background:#ffdcdc;color:#b42318}.status.draft{background:#edf1f6;color:#52637c}.status.submitted{background:#e4efff;color:#075ee8}.status.returned{background:#fff1b9;color:#895c00}.status.approved{background:#dcf8e7;color:#08733c}.status.voided{background:#ffdcdc;color:#b42318}.actions{display:flex;justify-content:flex-end;gap:12px}

/* Formulario de activos: estructura y alineación homogénea. */
.version-pill{padding:3px 8px;border:1px solid #ffffff55;border-radius:999px;background:#ffffff18;font-size:11px!important;font-weight:800;letter-spacing:.04em}
.topbar-link{padding:7px 11px;border:1px solid #ffffff55;background:#ffffff12;color:#fff;font-size:12px}
.workspace-hero,.module-hero{display:flex;align-items:center;justify-content:space-between;gap:28px}
.workspace-hero>div:first-child,.module-hero>div:first-child{min-width:0}
.hero-summary{display:grid;grid-template-columns:repeat(2,minmax(135px,1fr));gap:10px;flex:0 1 360px}
.hero-summary span{display:grid;gap:3px;padding:12px 14px;border:1px solid #ffffff35;border-radius:11px;background:#ffffff12;color:#dcefff;font-size:11px}
.hero-summary strong{color:#fff;font-size:15px;overflow-wrap:anywhere}
.module-panel{overflow:visible}
.panel-subtitle{margin:6px 0 0;color:var(--muted);font-size:13px}
.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:24px}
.module-card{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon content" "action action";gap:14px 15px;min-height:205px;padding:20px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 8px 20px #274c770a}
.module-card.is-ready{border-color:#a9c9f8;box-shadow:0 12px 28px #1468ff14}
.module-card-icon{grid-area:icon;display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#e7f0ff;color:#075ee8;font-size:14px;font-weight:900;letter-spacing:.05em}
.module-card.is-ready .module-card-icon{background:linear-gradient(135deg,#1468ff,#0b8f8b);color:#fff}
.module-card-content{grid-area:content;min-width:0}
.module-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.module-card h3{margin:0;color:#15365f;font-size:17px;line-height:1.25}
.module-card p{margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.module-status{flex:none;padding:4px 7px;border-radius:999px;background:#edf1f6;color:#62748e;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.module-status.available{background:#dcf8e7;color:#08733c}
.module-card-action{grid-area:action;align-self:end;width:100%;margin-top:auto}
.module-card-action.pending{border:1px solid #d9e3ef;background:#f3f6fa;color:#708198;cursor:default}
.module-empty{grid-column:1/-1;padding:30px;text-align:center;color:var(--muted)}
.hero-back{flex:none;border:1px solid #ffffff60;background:#ffffff15;color:#fff}
.module-workspace[hidden],#module-home[hidden]{display:none}
#asset-form{gap:20px 18px}
#asset-form>label,.cia-grid label,.form-grid.nested label{align-self:start;align-content:start;grid-auto-rows:max-content;min-width:0}
#asset-form input,#asset-form select{min-height:46px}
#asset-form textarea{resize:vertical;min-height:92px}
.field-help{display:block;min-height:16px;line-height:1.35}
.form-section{display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:16px 0 10px;border-bottom:1px solid #dbe5f0}
.form-section:first-of-type{margin-top:-8px}
.form-section>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;background:var(--navy);color:#fff;font-size:14px;font-weight:800}
.form-section>div{display:grid;gap:2px}
.form-section strong{font-size:16px;color:#16365f}
.form-section small{color:var(--muted);font-size:12px}
.cia-grid,.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.results-grid .calculated{min-height:58px;background:#f8fbff}
.field-placeholder{min-height:1px}
.form-actions{margin:4px -26px -26px;padding:18px 26px;background:#f8fafc;border-top:1px solid var(--border)}

@media(max-width:900px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-hero,.module-hero{align-items:flex-start;flex-direction:column}.hero-summary{width:100%;flex-basis:auto}.hero-back{width:100%}}
@media(max-width:760px){.auth-card{padding:30px 22px}.topbar{align-items:flex-start;gap:12px}.container{width:min(100% - 20px,1240px)}.hero{padding:24px}.form-grid,.check-grid,.cia-grid,.results-grid,.location-grid,.module-grid{grid-template-columns:1fr}.module-grid{padding:16px}.module-card{min-height:185px}.hero-summary{grid-template-columns:1fr}.span-2{grid-column:auto}.panel-title{align-items:flex-start;flex-direction:column}.panel-title button{width:100%}.user-area #company-name{display:none}.field-placeholder{display:none}.form-actions{margin:4px -26px -26px;flex-direction:column}.form-actions button{width:100%}}
