:root {
  --bg-main: #f5f6f8;
  --bg-card: #ffffff;
  --border-subtle: #e5e7eb;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --accent: #3cb371;
  --accent-dark: #2f8d5a;
  --error: #e11d48;
  --success: #15803d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

.layout {
  width: 100%;
  max-width: 1100px;
  padding: 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

.brand-text-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 16px;
}

.brand-text-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--accent);
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 24px;
  align-items: stretch;
}

.card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 22px 20px;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.12);
}

.card-header-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
  background-color: #f9fafb;
}

.pill.accent {
  border-color: rgba(60, 179, 113, 0.8);
  background-color: #ecfdf5;
  color: var(--accent-dark);
}

ul.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

ul.feature-list li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

ul.feature-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}

/* FORM */

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #f9fafb;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(60, 179, 113, 0.4);
  background-color: #ffffff;
}

.form-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.btn-primary {
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  cursor: pointer;
}

.btn-secondary {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 500;
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.text-error {
  font-size: 13px;
  color: var(--error);
  margin-bottom: 8px;
}

.text-success {
  font-size: 13px;
  color: var(--success);
  margin-bottom: 8px;
}

/* Otros estilos */

.section-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.section-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
  background-color: #f9fafb;
}

/* Responsive */

@media (max-width: 900px) {
  .layout {
    max-width: 640px;
  }

  .main-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .nav-links {
    font-size: 13px;
  }
}


.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background-color: #ffffff;
}

.table th,
.table td {
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 6px;
  text-align: left;
}

.table th {
  font-weight: 600;
  color: var(--text-muted);
}

.table tr:last-child td {
  border-bottom: none;
}


/* Accesibilidad, contraste y adaptación móvil */
:focus-visible{outline:3px solid #29bfae;outline-offset:3px}input,button{font:inherit}body{line-height:1.55}@media(max-width:680px){.layout{width:100%;max-width:100%;padding:12px}.header{flex-wrap:wrap}}

/* IVCTF — CommWave v3: network operations skin, deliberately distinct from ISN industrial. */
:root{--bg-main:#070e19;--bg-card:#121e30;--border-subtle:#30405a;--text-main:#e7f1ff;--text-muted:#95a9c3;--accent:#6fd5ff;--accent-dark:#84e3ff;--error:#ff718c;--success:#68e5ac}
body{background:radial-gradient(ellipse at 18% 0%,#183c58,#0a1222 45%,#070e19 95%);color:#e7f1ff;display:block;font-family:"Segoe UI",Arial,sans-serif}
.layout{max-width:1220px;margin:0 auto;padding:45px 30px}.header{border-bottom:1px solid #30445c;padding:18px 0 26px}.brand-logo{background:#0f4257;border:1px solid #468da6;color:#75def9;border-radius:8px}.brand-text-title{color:#e9f7ff;font-size:18px}.brand-text-subtitle{color:#82a3bb;letter-spacing:.05em}.nav-links a{color:#9db5ca;font-weight:600}.nav-links a:hover{color:#91e9ff}.card{background:linear-gradient(155deg,#14253a,#0e1829);border:1px solid #314b65;box-shadow:0 22px 65px #020b1670;border-radius:11px;padding:32px}.card-header-eyebrow{color:#74d2ed;letter-spacing:.19em;font-weight:800}.card-title{color:#f4f9ff;font-weight:720;letter-spacing:-.04em}.card-subtitle,.section-text,.feature-list li{color:#a2b6cf}.pill{background:#1b3044;border:1px solid #3d6074;color:#b7d5e9}.pill.accent{background:#0c514f;border:1px solid #168f8d;color:#a0ffdb}.badge{background:#142f40;color:#a3e4fb}.form-label{color:#c7d7e7}.form-input{background:#091929;color:#eaf9ff;border:1px solid #37506b;border-radius:5px;padding:13px}.form-input:focus{outline:2px solid #3485aa}.btn-primary{background:#1f9ac0;color:#031727;border-radius:5px;font-weight:800}.btn-primary:hover{background:#59c8e7}.btn-secondary{border:1px solid #3a6783;color:#bceaff;background:#1a3042;border-radius:5px}.main-grid{gap:22px}.card:first-child{background:linear-gradient(148deg,#16273e,#101a2a)}.card:last-child{border-top:3px solid #48a9cf}.pill-row{gap:7px}.text-error{color:#ff95a8}.success{color:#7af2b5}.header:after{content:'NETWORK / ACCESS CONTROL';display:block;position:absolute;right:22px;top:6px;color:#4e7694;font:10px monospace;letter-spacing:.13em}.header{position:relative}@media(max-width:700px){.layout{padding:25px 14px}.card{padding:20px}}
