:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#192b3d;background:#f2f5f8;font-synthesis:none;--ink:#102c43;--accent:#087f8c;--line:#dce4eb}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{background:#102c43;color:white;padding:18px max(24px,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:14px;align-items:center}.brand img{width:52px;height:52px;border-radius:10px;object-fit:cover;background:white}.brand strong{font-size:19px}.brand small{display:block;color:#aac4d5;margin-top:5px;letter-spacing:1.2px}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}nav a{color:white}nav form{margin:0}main{max-width:1280px;margin:0 auto;padding:35px 24px 64px;min-height:75vh}h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1px;margin:12px 0 18px;line-height:1.15}h2{font-size:24px;margin-top:32px}h3{font-size:20px}p{line-height:1.65;color:#526576}a{color:#086d80;text-decoration:none}a:hover{text-decoration:underline}.eyebrow{font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:1.8px;color:#087f8c;margin-bottom:8px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin:18px 0;box-shadow:0 3px 12px #102c4305}.narrow{max-width:490px;margin:36px auto}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.grid .card{margin:0}.site-card{color:var(--ink);transition:transform .15s}.site-card:hover{transform:translateY(-2px);text-decoration:none;border-color:#087f8c}.site-card h2{margin-top:14px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.qr{width:120px;height:120px;border:8px solid white;border-radius:8px}.toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0}.toolbar label{min-width:150px}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}label{display:block;font-weight:600;font-size:14px;margin:12px 0}input,select{display:block;width:100%;font:inherit;font-weight:400;border:1px solid #bdcbd5;padding:11px 12px;border-radius:7px;background:#fff;color:var(--ink);margin-top:7px}input:focus,select:focus{outline:2px solid #087f8c;outline-offset:1px}small{font-weight:400}button,.button{display:inline-block;border:0;border-radius:7px;padding:11px 18px;background:var(--accent);color:#fff;font:inherit;font-weight:650;cursor:pointer;margin-top:8px;text-decoration:none}button:hover,.button:hover{filter:brightness(.94);text-decoration:none}.secondary{background:#e6eef2;color:#163e54}summary{font-weight:700;font-size:17px;cursor:pointer}.notice{padding:15px 20px;border-left:4px solid #087f8c;background:#e7f1f4;border-radius:5px}.error{background:#fff0ee;border-color:#b83434;color:#872b28}.success{background:#e2f4eb;border-color:#20855a}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;background:#eaf0f4;color:#3b5365;font-size:12px;text-transform:uppercase;letter-spacing:.4px}td,th{padding:14px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}tbody tr:hover{background:#f6fafc}.tag,.tags span{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.5px;padding:6px 9px;border-radius:5px;background:#e5edf3;color:#34546c}.tag.cctv{background:#dce9fb;color:#245895}.tag.data{background:#dbf1e9;color:#14654e}.tags{display:flex;gap:12px;margin-top:30px}.hero{padding:70px 0;max-width:720px}.hero h1{font-size:clamp(42px,7vw,80px)}.hero p{font-size:19px}footer{max-width:1280px;margin:auto;padding:28px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:13px;color:#576b7d}.checkbox{display:inline-flex;align-items:center;gap:8px;margin-right:20px}.checkbox input{width:auto;margin:0}fieldset{border:1px solid var(--line);border-radius:8px;margin:14px 0;padding:16px}.plan-scroll{overflow:auto;background:#dce3e9;border-radius:10px;padding:14px}.plan-stage{position:relative;width:100%;line-height:0}.plan-image{width:100%;display:block;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}.marker{position:absolute;transform:translate(-50%,-50%);margin:0;display:flex;align-items:center;gap:3px;padding:3px 6px;border-radius:6px;border:2px solid white;box-shadow:0 2px 4px #0005;background:#2461a5;color:white;font-size:13px;line-height:1;min-height:28px;z-index:2}.marker.data{background:#138063}.marker svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.leaders line{stroke:#138063;stroke-width:1.5}.marker[hidden]{display:none}.plan-stage .target{position:absolute;pointer-events:none;border:3px solid #d63830;width:20px;height:20px;border-radius:50%;transform:translate(-50%,-50%)}@media(max-width:700px){header{align-items:flex-start;flex-direction:column}main{padding:24px 16px}.card{padding:18px}footer{flex-direction:column}.heading{align-items:flex-start}nav{gap:12px;font-size:13px}.qr{width:90px;height:90px}th,td{padding:10px}.toolbar{gap:9px}.fields{grid-template-columns:1fr}}@media print{header nav,.no-print,button{display:none!important}body{background:white}main{padding:0;max-width:none}.card{box-shadow:none;break-inside:avoid}header{background:white;color:#102c43;padding:0 0 20px}footer{margin-top:30px}thead{display:table-header-group}tr{break-inside:avoid}h1{font-size:28px}table{font-size:10px}td,th{padding:7px}@page{size:A4 landscape;margin:15mm}}

.table-wrap table{min-width:650px}.table-wrap th{white-space:nowrap}.table-wrap td{overflow-wrap:normal}

/* Contacto al pie de las vistas publicas por QR. */
.client-footer{display:block;border-top:0;padding:0 24px 32px;max-width:1280px}
.contact-card{display:flex;align-items:center;gap:28px;padding:28px 32px;background:#f7f8fa;border:1px solid #dce1e7;border-radius:16px;box-shadow:0 2px 6px #102c4308}
.contact-logo{width:136px;height:136px;object-fit:contain;border-radius:12px;background:#fff;flex-shrink:0}
.contact-content{min-width:0}.contact-caption{margin:0 0 10px;font-size:15px;color:#6d7480}
.contact-content h2{margin:0 0 10px;font-size:24px;letter-spacing:.2px;color:#202b35}
.contact-description{margin:0 0 16px;font-size:16px}
.contact-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin-top:12px;font-size:15px;line-height:1.6}
.contact-row strong{color:#26343e}.contact-row a{font-weight:600;overflow-wrap:anywhere}
@media(max-width:700px){.client-footer{padding:0 16px 24px}.contact-card{align-items:flex-start;flex-direction:column;gap:18px;padding:22px}.contact-logo{width:96px;height:96px}.contact-content h2{font-size:21px}.contact-row{align-items:flex-start;flex-direction:column;gap:5px}}
@media print{.contact-card{break-inside:avoid;box-shadow:none}}

/* Identidad del desarrollador en administracion e inicio. */
.app-footer{align-items:center;gap:24px;padding-top:22px;padding-bottom:26px}
.footer-brand{display:flex;align-items:center;gap:14px;flex-shrink:0}
.footer-brand img{width:60px;height:60px;object-fit:contain;background:#fff;border-radius:10px;border:1px solid var(--line)}
.footer-brand .footer-credit{display:block;color:#6d7480;font-size:12px;margin-bottom:5px}
.footer-brand strong{display:block;font-size:17px;color:#192b3d;letter-spacing:.1px}
.app-footer>span{line-height:1.8;overflow-wrap:anywhere}
@media(max-width:700px){.app-footer{align-items:flex-start}.footer-brand{flex-shrink:1}.footer-brand strong{font-size:16px}}

.plan-legend{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding:16px;margin-top:16px;background:#fff;border:1px solid #d5e1e9;border-radius:12px}.plan-legend span{display:inline-flex;align-items:center;gap:8px}.plan-legend svg{width:24px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6}.marker.rack{background:#edf2f6;color:#172c3e;padding:3px 5px;gap:3px}.marker.rack svg{width:24px;height:32px}input[name="location"],input[name="rack_location"]{text-transform:uppercase}

.rack-ports{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.rack-port{display:flex;flex-direction:column;gap:5px;padding:12px;border:2px solid #d4dee5;border-radius:8px;overflow-wrap:anywhere}.rack-port.occupied{border-color:#078698;background:#e9f6f6}

.account-action{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}.account-action select{width:auto;min-width:175px;padding:8px 10px;font-size:14px}.account-action button{padding:8px 12px;font-size:14px}

/* Compact point actions; the confirmation stays available on expansion. */
.point-delete{display:inline-block;margin:0 0 0 12px;vertical-align:top;font-size:14px}
.point-delete>summary{display:inline;list-style:none;font-size:14px;font-weight:400;color:#a34545;cursor:pointer;padding:0}
.point-delete>summary::-webkit-details-marker{display:none}
.point-delete>summary::marker{content:''}
.point-delete>summary:hover{text-decoration:underline;color:#802c2c}
.point-delete>summary:focus-visible{outline:2px solid #078698;outline-offset:4px;border-radius:2px}
.point-delete[open]{display:block;margin:8px 0 0;max-width:230px}
.point-delete[open]>p{font-size:13px;line-height:1.45;margin:8px 0}
.point-delete button{font-size:13px;padding:7px 10px}

.marker.cable-only{background:#fff;color:#b46a00;border:3px dashed #b46a00}.marker.cable-only svg{opacity:.45}.legend-cable{color:#8a5200;font-weight:700}

/* Marcadores de puntos ligeramente más compactos; el rack conserva su tamaño. */
.marker:not(.rack){padding:2px 5px;min-height:24px;font-size:12px}
.marker:not(.rack) svg{width:17px;height:17px}

.rack-port[hidden]{display:none!important}

.data-cluster{min-width:52px;height:48px;justify-content:center;flex-direction:column;gap:1px;border-radius:12px;font-size:16px;padding:4px 7px}.data-cluster small{font-size:9px;font-weight:800;white-space:nowrap;color:white}.data-cluster.cluster-data{background:#138063}.data-cluster.cluster-ap{background:#6740b8}.data-cluster.cluster-mixed{background:linear-gradient(135deg,#138063 0 48%,#6740b8 52% 100%)}.point-identification{max-width:620px}.point-identification h2{margin-top:8px}.point-facts{display:grid;grid-template-columns:minmax(110px,160px) 1fr;margin:0}.point-facts dt,.point-facts dd{padding:10px 0;border-bottom:1px solid var(--line);margin:0}.point-facts dt{font-weight:700;color:#526576}.point-facts dd{color:var(--ink)}



@media(max-width:900px){
 .plan-toolbar{display:grid;grid-template-columns:minmax(105px,1fr) minmax(135px,1.2fr);align-items:end;gap:10px;margin:16px 0}
 .plan-toolbar label{min-width:0;margin:0}
}
@media(max-width:700px){
 header{padding:12px 16px;flex-direction:row;align-items:center}
 .brand{gap:10px}.brand img{width:44px;height:44px}.brand strong{font-size:16px}.brand small{font-size:11px;margin-top:3px}
 main{padding:20px 14px 48px}h1{font-size:30px;margin:10px 0 14px}.heading{gap:12px}
 .plan-scroll{padding:8px}.plan-legend{gap:12px;padding:13px}
}

.brand-logo-link{display:block;border-radius:10px;line-height:0}.brand-logo-link:hover{outline:2px solid #ffffff80;outline-offset:2px}.brand-logo-link:focus-visible{outline:3px solid #5fd4df;outline-offset:4px}


html,body{touch-action:manipulation}.plan-scroll{touch-action:none;overscroll-behavior:contain;cursor:default;user-select:none;-webkit-user-select:none;scroll-behavior:auto}.plan-scroll.is-zoomed{cursor:grab}.plan-scroll.is-dragging{cursor:grabbing}.plan-scroll.is-dragging .marker{pointer-events:none}.viewer-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.viewer-actions button{margin-top:8px}.plan-gesture-help{margin:-6px 0 14px;font-size:13px;color:#617484}.plan-gesture-help::before{content:'⌖';margin-right:7px;color:#087f8c;font-weight:800}
@media(max-width:900px){.plan-toolbar .viewer-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.plan-toolbar .viewer-actions button{grid-column:auto;margin:0;width:100%;min-height:46px}.plan-gesture-help{font-size:12px;line-height:1.45}}
@media(max-width:520px){.plan-toolbar .viewer-actions{grid-template-columns:1fr}.plan-gesture-help{margin-top:-4px}}
@media print{.plan-gesture-help{display:none!important}}

/* Estado visible de los puntos del plano. */
.marker.state-alert{background:#b83a32;color:#fff;border-color:#fff}.marker.state-pending{background:#b36a00;color:#fff}.marker.cable-only{background:#fff;color:#b46a00;border:3px dashed #b46a00}

/* Informe técnico separado por sistema. */
.report-summary p{margin:8px 0}.report-company{display:inline-flex;align-items:center;gap:10px;margin:8px 14px 8px 0}.report-company img{width:90px;height:64px;object-fit:contain;vertical-align:middle}.report-section{margin:30px 0}.report-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.report-heading h2{margin:3px 0 0}.report-count{font-size:13px;font-weight:700;color:#526576;background:#eaf0f4;border-radius:999px;padding:7px 11px;white-space:nowrap}.report-subline{display:block;color:#6a7c8a;margin-top:4px}.report-empty{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px}.status-label{display:inline-block;border-radius:999px;background:#e8eef2;padding:5px 9px;font-size:12px;font-weight:700;white-space:nowrap}@media(max-width:700px){.report-heading{align-items:flex-start}.report-section .table-wrap table{min-width:760px}}@media print{.report-section{break-inside:auto}.report-heading{break-after:avoid}.report-count{border:1px solid #ccd6de}.report-section table{font-size:9px}}
/* Tamaño inicial adaptable de los marcadores del plano. */
.marker:not(.rack):not(.data-cluster){min-height:22px;padding:2px 4px;font-size:11px;border-radius:5px}
.marker:not(.rack):not(.data-cluster) svg{width:15px;height:15px}
.marker.rack{min-height:28px;padding:2px 4px;font-size:11px}
.marker.rack svg{width:20px;height:26px}
.data-cluster{min-width:44px;height:40px;padding:3px 6px;border-radius:10px;font-size:14px}
.data-cluster small{font-size:8px}
@media(max-width:1100px){
 .marker:not(.rack):not(.data-cluster){min-height:21px;padding:2px 4px;font-size:10px}
 .marker:not(.rack):not(.data-cluster) svg{width:14px;height:14px}
 .marker.rack{min-height:26px;font-size:10px}.marker.rack svg{width:18px;height:24px}
 .data-cluster{min-width:40px;height:36px;font-size:13px}.data-cluster small{font-size:8px}
}
@media(max-width:700px){
 .marker:not(.rack):not(.data-cluster){min-height:19px;padding:1px 3px;font-size:9px;border-width:1.5px}
 .marker:not(.rack):not(.data-cluster) svg{width:12px;height:12px;stroke-width:2}
 .marker.rack{min-height:23px;padding:1px 3px;font-size:9px;border-width:1.5px}.marker.rack svg{width:16px;height:21px}
 .data-cluster{min-width:36px;height:33px;padding:2px 4px;border-radius:8px;font-size:12px;border-width:1.5px}.data-cluster small{font-size:7px}
}
@media(max-width:420px){
 .marker:not(.rack):not(.data-cluster){min-height:18px;font-size:8px}.marker:not(.rack):not(.data-cluster) svg{width:11px;height:11px}
 .marker.rack{min-height:21px;font-size:8px}.marker.rack svg{width:14px;height:19px}
 .data-cluster{min-width:33px;height:30px;font-size:11px}.data-cluster small{font-size:7px}
}
