/* Segunda edición: recorrido y lenguaje visual del sistema J KASG S.A. */
:root{--ink:#193743;--muted:#71808b;--teal:#173f4c;--mint:#e6f0f1;--line:#e3e8ed;--paper:#fff}body{background:#fff}.enterprise-header{background:#0f172a;color:white;padding:16px max(30px,calc((100vw - 1400px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:72px}.company{display:flex;align-items:center;gap:14px;color:#fff;background:transparent;border:0;text-align:left;padding:0}.company:hover{background:transparent;border:0}.company .crane{font-size:33px}.company strong{display:block;font-size:20px;letter-spacing:.2px}.company small{font-size:11px;display:block;color:#c3cddd;margin-top:4px;font-weight:400}.enterprise-user{display:flex;align-items:center;gap:14px;color:#b8c5d7;font-size:12px}.logout{background:#ef4444;color:#fff;border:0;border-radius:8px;font-weight:500;font-size:12px}.logout:hover{background:#dc3636;color:#fff}.enterprise-menu{border-bottom:1px solid #e8edf1;background:#f8fafc;display:flex;align-items:center;padding:7px max(24px,calc((100vw - 1400px)/2));gap:3px;overflow-x:auto}.enterprise-menu button{background:transparent;border:0;border-radius:6px;color:#526879;white-space:nowrap;font-size:11px;padding:10px 13px;font-weight:600;letter-spacing:.2px}.enterprise-menu button.active{background:#e4edf2;color:#153f50}.workspace{max-width:1440px;padding:35px 34px 55px}.project-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px;font-size:12px;color:#6d7f8e}.project-strip select{max-width:460px;font-size:12px;padding:8px 12px;background:#f8fafc}.project-strip .trail{display:flex;align-items:center;gap:10px}.enterprise-footer{text-align:center;border-top:1px solid #e7edf0;padding:22px;color:#83909b;font-size:11px;margin-top:30px}.hero{background:linear-gradient(115deg,#173d4b,#123746);padding:29px 30px;color:white;border-radius:13px;box-shadow:0 9px 20px #173f4c19;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:30px;letter-spacing:.2px;margin:0 0 9px;text-transform:uppercase}.hero p{color:#c7d7de;font-size:12px;line-height:1.7;margin:0;max-width:720px}.hero .eyebrow{color:#8cb4c7;margin-bottom:9px}.hero .primary{background:#fff;color:#173f4c;border-color:#fff}.hero button{border-radius:22px;background:#ffffff10;color:white;border-color:#ffffff30;font-size:12px}.hero button:hover{background:#ffffff25}.hero .primary:hover{background:#e8f1f3}.home-intro{margin:10px 0 30px}.home-intro h1{font-family:Georgia,'Times New Roman',serif;font-size:33px;margin-top:8px;letter-spacing:0}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.module{position:relative;overflow:hidden;padding:36px 30px 30px;min-height:350px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;color:white;border-radius:11px;background:#183c49;box-shadow:0 8px 22px #182b4520}.module:before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#07192bd9,#13283ec2),repeating-linear-gradient(0deg,transparent 0,transparent 24px,#ffffff12 25px,#ffffff12 26px),repeating-linear-gradient(90deg,transparent 0,transparent 24px,#ffffff12 25px,#ffffff12 26px);z-index:0}.module:after{content:'';position:absolute;right:-30px;top:12px;width:220px;height:220px;transform:rotate(-28deg);border:1px solid #ffffff12;box-shadow:-26px -26px 0 -1px #152d3f,-26px -26px 0 0 #ffffff14,-52px -52px 0 -1px #152d3f,-52px -52px 0 0 #ffffff14;pointer-events:none}.module>*{z-index:1;position:relative}.module:nth-child(2):before{background:linear-gradient(135deg,#101f2ae8,#34443de0),repeating-linear-gradient(45deg,transparent 0,transparent 26px,#ffffff09 27px,#ffffff09 28px)}.module:nth-child(3):before{background:linear-gradient(135deg,#132034eb,#293951dd)}.module .eyebrow{color:#86b2dc;font-size:10px;margin-bottom:18px}.module:nth-child(2) .eyebrow{color:#dcb774}.module h2{font-family:Georgia,'Times New Roman',serif;font-size:30px;line-height:1.08;letter-spacing:-.5px;max-width:280px;margin-bottom:18px;color:white}.module p{font-size:12px;line-height:1.9;color:#b9c8d1;max-width:300px;margin-bottom:23px}.module-link{background:transparent;color:#fff;border:1px solid #c5d4db70;border-radius:0;font-size:10px;letter-spacing:1.4px;padding:13px 18px}.module-link:hover{background:#fff;color:#173c4b}.module.small{min-height:270px;margin-top:2px}.module.small h2{font-size:26px}.home-summary{display:flex;gap:30px;padding:23px 4px;flex-wrap:wrap;color:#677d8d;font-size:12px}.home-summary strong{color:#153f50;font-size:16px;margin-right:6px}h2{font-family:Georgia,'Times New Roman',serif;font-size:18px;letter-spacing:.1px}.card{border-radius:11px;background:#fff;box-shadow:0 3px 12px #18324b05;padding:23px}.card.accent{background:#153f4d;border-color:#153f4d}.card.accent .eyebrow{color:#b6cfdb}.module-actions{display:flex;align-items:center;gap:9px}.system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.system-card{border:1px solid #dfe7ee;border-radius:10px;background:#fff;padding:25px 22px;box-shadow:0 5px 15px #182b4508}.system-card h2{font-size:22px;margin-bottom:13px}.system-card .system-tag{font-size:10px;letter-spacing:1.5px;color:#4c8aa0;font-weight:700}.system-card p{font-size:12px;color:#7a8c99;line-height:1.8;margin:18px 0}.system-card .actions{padding-top:15px;border-top:1px solid #eaf0f3}.system-card:nth-child(2){border-top:3px solid #b78c53}.system-card:nth-child(3){border-top:3px solid #509c98}.system-card:nth-child(4){border-top:3px solid #697aaf}.system-card:first-child{border-top:3px solid #5e879d}.system-card.extra{grid-column:span 2;border-top:3px solid #8d779b}.system-card button{font-size:11px}.filters-panel{background:#f8fafc;border:1px solid #e0e8ee;padding:20px 23px;border-radius:11px;margin-bottom:23px}.filters-panel h3{font-family:Georgia,'Times New Roman',serif;font-size:15px;margin-bottom:18px;letter-spacing:.5px;text-transform:uppercase}.filter-fields{display:grid;grid-template-columns:1fr 2fr 1fr;gap:18px;align-items:end}.filter-fields input,.filter-fields select{font-size:12px;background:#fff}.category-heading{color:#254e5c;font-size:16px;letter-spacing:.4px;font-family:Georgia,'Times New Roman',serif;margin:25px 0 14px;padding-left:12px;border-left:3px solid #b8d3dc}.rubro-card{border:1px solid #e4e9ef;border-radius:10px;margin-bottom:12px;box-shadow:0 3px 11px #182b4505;overflow:hidden;background:#fff}.rubro-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:68px;padding:15px 19px}.rubro-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.expand-button{border:0;background:#f1f5f8;border-radius:50%;width:27px;height:27px;flex:none;padding:0;color:#507586;font-size:14px}.rubro-code{font-size:12px;letter-spacing:.2px;padding:5px 9px;border-radius:5px;background:#f5f2ed;color:#8c5427;white-space:nowrap;font-weight:700}.rubro-description{font-size:13px;font-weight:650;line-height:1.55;color:#1d3342;border:none;background:none;text-align:left;padding:0}.rubro-description:hover{background:none;color:#1f6980}.rubro-right{display:flex;gap:9px;align-items:center;flex:none}.unit-badge{font-size:10px;color:#6b8497;background:#f0f5fa;border-radius:18px;padding:6px 10px;white-space:nowrap}.price-badge{background:#def9e7;border:1px solid #b3e4c4;color:#33835b;border-radius:18px;padding:6px 11px;font-size:13px;font-weight:700;white-space:nowrap}.price-badge.blocked{background:#fde9e6;color:#ac4f41;border-color:#f1bdb4}.pencil{border:1px solid #e6b793;color:#bd7d37;background:white;padding:5px 9px;border-radius:6px;white-space:nowrap}.apu-breakdown{background:#101c31;padding:20px;border-top:1px solid #1d3750}.apu-section{background:white;border-radius:7px;overflow:hidden;border:1px solid #cbd9e4;margin-bottom:16px}.apu-section h3{padding:13px 17px;background:#197367;color:white;font-size:12px;font-weight:700;letter-spacing:.3px;margin:0;text-transform:uppercase}.apu-section.labor h3{background:#315a89}.apu-section.material h3{background:#816015}.apu-section.transport h3{background:#5e5289}.apu-section table{font-size:11px}.apu-section th{font-size:9px}.apu-section td{padding:12px 16px}.apu-total{padding:18px;background:#173f4c;color:white;border:1px solid #325669;border-radius:7px;display:flex;justify-content:space-between;gap:15px;font-size:13px;font-weight:700}.apu-source{background:#f5f8fa;color:#57707f;font-size:11px;line-height:1.8;border-radius:6px;padding:13px 16px;margin-top:13px}.apu-source .notice{background:#fff8e9;padding:9px 12px;font-size:11px}.list-footer{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#6c8292;padding:18px 5px;gap:14px}.reference-label{font-size:9px;font-weight:700;color:#8d6423;letter-spacing:.4px;margin-left:7px}.inventory-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.inventory-tabs button{border-radius:7px;font-size:12px;padding:11px 16px;background:#f6f8fb}.inventory-tabs button.active{background:#173f4c;color:white;border-color:#173f4c}.tablewrap th{background:#f6f8fb;color:#7b8b9b;font-size:10px;padding:15px 17px}.tablewrap td{padding:15px 17px}.table-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:20px}.table-heading h2{margin:0}.pill{background:#eef4f8;color:#6b8797}.quote-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:25px}.quote-totals .card{padding:16px}.quote-totals strong{font-size:19px;display:block;margin-bottom:6px}.quote-totals small{font-size:10px;color:#7a8b95}.selection-list .rubro-header{display:grid;grid-template-columns:27px minmax(0,1fr) 70px 110px 110px;gap:13px}.selection-list input[type=number]{padding:7px;width:100px;text-align:right;font-size:12px}.selection-list label{display:block;font-size:13px;color:#2c4353}.selection-list input[type=checkbox]{width:17px;height:17px}.selection-totals{position:sticky;bottom:12px;background:#173f4c;color:white;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:11px;box-shadow:0 8px 30px #142d4c30;z-index:3}.selection-totals .primary{background:white;color:#173f4c}.selection-totals strong{font-size:20px}.selection-totals span{font-size:12px;color:#c2d7df}.crew-row{display:grid;grid-template-columns:1.6fr .6fr 1fr;gap:12px;margin-bottom:12px}.crew-map-row{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:15px;border-bottom:1px solid #e8eef2;padding:10px 0;font-size:12px}.crew-map-row select{font-size:12px}.inventory-note{font-size:11px;color:#8999a7;line-height:1.6}.empty{border-color:#d9e4ec;background:#fbfcfe}.notice{background:#fffaf0;color:#796843;border-color:#c6a360}.notice.danger{color:#9d473b;background:#fff2ef}.auth-story{background:#0f172a}.auth-story h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.6px}.auth-box h2{font-family:Georgia,'Times New Roman',serif}.auth-box .eyebrow{color:#2b667a}.auth-story .brand{font-family:Segoe UI,sans-serif}.demo-banner{border-color:#e5d7b9;background:#fffcf4}.metrics .metric{font-family:Segoe UI,sans-serif}.enterprise-workflow{display:flex;flex-wrap:wrap;gap:12px;padding:19px;background:#f6f9fc;border:1px solid #e2eaf0;border-radius:9px;margin-top:24px;color:#6e8595;font-size:12px}.enterprise-workflow b{color:#234c5d}.summary-message{max-width:800px;margin-bottom:25px}
@media(max-width:1150px){.system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rubro-header{align-items:flex-start}.rubro-right{flex-wrap:wrap;justify-content:flex-end;max-width:230px}.quote-totals{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.enterprise-header{padding:14px 18px}.enterprise-user span{display:none}.company strong{font-size:18px}.company small{font-size:10px}.enterprise-menu{padding:7px 9px}.workspace{padding:23px 16px}.hero{padding:23px 21px;display:block}.hero h1{font-size:24px}.hero .actions{margin-top:18px}.module-grid{grid-template-columns:1fr}.module{min-height:300px}.module.small{min-height:240px}.system-grid{grid-template-columns:1fr}.system-card.extra{grid-column:auto}.project-strip{display:block}.project-strip select{margin-top:12px;max-width:100%}.filter-fields{grid-template-columns:1fr}.rubro-header{display:block}.rubro-right{margin-top:13px;padding-left:38px;max-width:none;justify-content:flex-start}.rubro-code{font-size:10px}.rubro-description{font-size:12px}.apu-breakdown{padding:13px}.apu-section{overflow:auto}.apu-section table{min-width:560px}.selection-list .rubro-header{display:grid;grid-template-columns:24px minmax(0,1fr) 70px}.selection-list .pick-price,.selection-list .pick-unit{display:none}.quote-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.selection-totals{bottom:6px;padding:14px}.selection-totals strong{font-size:17px}.crew-map-row,.crew-row{grid-template-columns:1fr}.enterprise-workflow{display:grid;gap:9px}.home-intro h1{font-size:28px}}
@media print{.enterprise-header,.enterprise-menu,.project-strip,.enterprise-footer,.hero .actions,.pencil,.expand-button,.selection-totals{display:none!important}.workspace{padding:0;max-width:none}.hero{background:white;color:#173f4c;border:1px solid #ddd;box-shadow:none}.hero p,.hero .eyebrow{color:#586c7b}.apu-breakdown{background:white}.rubro-card,.apu-section{break-inside:avoid}.module{background:white;color:black}.apu-total{background:#f2f5f8;color:#173f4c}.module-grid{display:block}}

/* Jerarquía tipográfica: encabezados en mayúsculas; descripciones en tipo oración. */
h1,h2,h3,h4,.apu-section h3,.document-table th{text-transform:uppercase}
.rubro-description,.activity,.component-row input,.document-task strong{text-transform:none}

.commercial-totals{max-width:480px;margin:22px 0 22px auto}.commercial-totals>div{display:flex;justify-content:space-between;gap:22px;padding:12px 16px;border-bottom:1px solid #dce4e9;font-size:13px}.commercial-totals .commercial-grand-total{background:#173f4c;color:white;font-size:18px;border-radius:4px;margin-top:8px}
