/* KAMPUS.ao: product identity; institutional documents keep their own artwork. */
.profile-kampus {
  --midnight: #10171f;
  --navy: #142b45;
  --navy-soft: #203e60;
  --cobalt: #244f7a;
  --gold: #d4ad56;
  --gold-light: #f5d995;
  --brand-red: #992a36;
  --ink: #171c23;
  --muted: #526174;
  --line: #dce4ed;
  --background: #f3f6fa;
  --danger: #a52d35;
  background: var(--background);
  color: var(--ink);
}
.profile-kampus .brand { gap: 10px; }
.profile-kampus .brand strong { color: #f0d28b; font-size: .95rem; }
.profile-kampus .brand small { color: #c5bba7; }
.kampus-symbol {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 54px; flex: 0 0 76px; overflow: hidden;
  border-radius: 9px; background: #fff; border: 1px solid #d6b866;
  box-shadow: 0 2px 10px #d4ad5633;
}
.kampus-symbol img { width: 132px; height: 66px; max-width: none; flex-shrink: 0; object-fit: contain; }
.profile-kampus .commandbar { background: #ffffff; border-bottom: 1px solid var(--line); }
.profile-kampus .org-monogram { background: #142b45; color: #ffffff; }
.profile-kampus .user-avatar { background: #e9f0f8; color: #163b60; }
.profile-kampus .primary-button,
.profile-kampus .cf-form-grid input.primary-button[type="submit"],
.profile-kampus .academic-activation .primary-button,
.profile-kampus .ex-button-bright,
.profile-kampus .ex-button-gold {
  color: #ffffff; background: linear-gradient(135deg, #234d76, #173b62);
  border: 1px solid #1a4168; box-shadow: 0 6px 16px #173b621a;
}
.profile-kampus .primary-button:hover,
.profile-kampus .cf-form-grid input.primary-button[type="submit"]:hover,
.profile-kampus .ex-button-bright:hover { color: #ffffff; background: #142e4b; }
.profile-kampus .secondary-button { border-color: #bacbde; background: #ffffff; color: #23476f; }
.profile-kampus .eyebrow:not(.eyebrow-gold) { color: #315a80; }
.profile-kampus .executive-hero,
.profile-kampus .login-vision,
.profile-kampus .reception-hero,
.profile-kampus .leadership-hero,
.profile-kampus .leadership-detail-hero,
.profile-kampus .command-centre-hero,
.profile-kampus .dispatch-hero,
.profile-kampus .request-detail-hero,
.profile-kampus .ex-hero,
.profile-kampus .cf-hero,
.profile-kampus .cf-detail-hero,
.profile-kampus .cf-public-shell > header {
  background: radial-gradient(ellipse at 90% 0%, #345e8b24, transparent 55%), linear-gradient(130deg, #173453, #10171f);
  color: #e6eef8; border-bottom: 3px solid #ba903f;
}
.profile-kampus .executive-hero h1,
.profile-kampus .login-vision h1,
.profile-kampus .ex-hero h1,
.profile-kampus .cf-hero h1,
.profile-kampus .cf-detail-hero h1,
.profile-kampus .cf-public-shell > header h1 { color: #ffffff; }
.profile-kampus .cf-hero p, .profile-kampus .cf-public-shell > header p { color: #dce8f6; }
.profile-kampus .cf-hero .quiet-button { color: #f3f7fc; }
.profile-kampus .distinction-panel { background: #142b45; color: #edf4fb; }
.profile-kampus .login-vision::after { content: ""; }
.profile-kampus .guest-brand { color: #dceaf9; }
.profile-kampus .kampus-wordmark {
  max-width: 500px; padding: 6px 12px; margin: 25px 0;
  border: 1px solid #c6a052; border-radius: 12px; background: #fff;
}
.profile-kampus .kampus-wordmark img { display: block; width: 100%; height: auto; }
.profile-kampus .login-access { background: #f2f6fb; }
.profile-kampus input:focus-visible,
.profile-kampus select:focus-visible,
.profile-kampus textarea:focus-visible,
.profile-kampus a:focus-visible,
.profile-kampus button:focus-visible { outline: 3px solid #1f609d; outline-offset: 3px; }
.profile-kampus .cf-table-action { background: #1b4b76; color: #fff; }
/* Keep red for destructive actions and retain green for successful states. */
@media (max-width: 640px) {
  .profile-kampus .kampus-wordmark { max-width: 340px; margin: 16px 0; }
  .kampus-symbol { width: 66px; flex-basis: 66px; height: 48px; }
}

/* Executive palette for the Kampus application shell. */
.profile-kampus .sidebar {
  background: #ffffff; border-right-color: #dbe4ee;
  box-shadow: 5px 0 24px #17304c0b;
}
.profile-kampus .brand strong { color: #244868; }
.profile-kampus .brand small, .profile-kampus .nav-label { color: #536477; }
.profile-kampus .navigation a { color: #25374b; }
.profile-kampus .navigation a:hover, .profile-kampus .navigation a:focus-visible {
  background: #e9f1fa; color: #173c60;
}
.profile-kampus .navigation a > span { color: #476787; }
.profile-kampus .sidebar-signature { border-top-color: #dbe4ee; }
.profile-kampus .sidebar-signature strong { color: #25374b; }
.profile-kampus .sidebar-signature small { color: #536477; }
.profile-kampus .org-monogram { background: #e9f1fa; color: #173c60; }
.profile-kampus .executive-hero, .profile-kampus .reception-hero,
.profile-kampus .leadership-hero, .profile-kampus .leadership-detail-hero,
.profile-kampus .command-centre-hero, .profile-kampus .dispatch-hero,
.profile-kampus .request-detail-hero, .profile-kampus .ex-hero,
.profile-kampus .cf-hero, .profile-kampus .cf-detail-hero,
.profile-kampus .cf-public-shell > header {
  background: linear-gradient(125deg, #ffffff, #eef4fa);
  color: #34485e; border: 1px solid #dbe4ee; border-bottom: 3px solid #c5a04c;
  box-shadow: 0 8px 28px #17304c0b, 0 4px 14px #d4ad5614;
}
.profile-kampus .executive-hero h1, .profile-kampus .reception-hero h1,
.profile-kampus .leadership-hero h1, .profile-kampus .leadership-detail-hero h1,
.profile-kampus .command-centre-hero h1, .profile-kampus .dispatch-hero h1,
.profile-kampus .request-detail-hero h1, .profile-kampus .ex-hero h1,
.profile-kampus .cf-hero h1, .profile-kampus .cf-detail-hero h1,
.profile-kampus .cf-public-shell > header h1 { color: #162438; }
.profile-kampus .executive-hero p, .profile-kampus .reception-hero p,
.profile-kampus .leadership-hero p, .profile-kampus .leadership-detail-hero p,
.profile-kampus .command-centre-hero p, .profile-kampus .dispatch-hero p,
.profile-kampus .request-detail-hero p, .profile-kampus .ex-hero p,
.profile-kampus .cf-hero p, .profile-kampus .cf-public-shell > header p { color: #455b71; }
.profile-kampus .eyebrow-gold, .profile-kampus .ex-kicker { color: #305778; }
.profile-kampus .cf-hero .quiet-button { color: #244868; border-color: #bbcede; background: #ffffff; }
.profile-kampus .distinction-panel { background: #f4f7fb; color: #34485e; border: 1px solid #dbe4ee; }
.profile-kampus .distinction-panel h2 { color: #162438; }
.profile-kampus .distinction-panel p:last-child { color: #526174; }
.profile-kampus .login-vision {
  justify-content: center; align-items: center; gap: 30px;
  background: #fff; color: #34485e; border: 0;
}
.profile-kampus .login-vision::after { display: none; }
.profile-kampus .kampus-wordmark {
  display: block; width: 100%; max-width: 700px; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: #fff;
}
.profile-kampus .kampus-login-copy {
  max-width: 520px; margin: 0; color: #455b71; font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.65; text-align: center;
}
.profile-kampus .login-access { background: #f0f5fa; border-left: 1px solid #dce5ef; }
.profile-kampus .cf-event-meta { background: #fff9; color: #34485e; border-color: #dbe4ee; }
.profile-kampus .cf-event-meta strong { color: #23476f; }
@media (max-width: 900px) {
  .profile-kampus .login-vision { min-height: 34vh; gap: 18px; padding: 35px 24px; }
  .profile-kampus .kampus-wordmark { max-width: 520px; }
  .profile-kampus .login-access { border-left: 0; border-top: 1px solid #dce5ef; }
}
.profile-kampus .command-centre-focus { background: #fff9; border-color: #ccdceb; }
.profile-kampus .command-centre-focus small, .profile-kampus .command-centre-focus span { color: #54677b; }
.profile-kampus .command-centre-focus strong, .profile-kampus .command-centre-focus a { color: #1c4e78; }
.profile-kampus .platform-map, .profile-kampus .leadership-principle { background: #ffffff; border: 1px solid #dbe4ee; color: #455b71; }
.profile-kampus .platform-map h2, .profile-kampus .platform-map li strong, .profile-kampus .leadership-principle strong { color: #162438; }
.profile-kampus .platform-map li small, .profile-kampus .leadership-principle small { color: #526479; }
.profile-kampus .platform-map li { border-bottom-color: #dbe4ee; }
.profile-kampus .cf-viewer-shell { color: #162438; background: #eaf0f7; }
.profile-kampus .cf-viewer-header, .profile-kampus .cf-viewer-controls,
.profile-kampus .cf-presenter-notes { background: #ffffff; border-color: #cfdae7; }
.profile-kampus .cf-viewer-header h1, .profile-kampus .cf-presenter-notes h2 { color: #162438; }
.profile-kampus .cf-viewer-header small, .profile-kampus .cf-viewer-controls small,
.profile-kampus .cf-presenter-notes small, .profile-kampus .cf-viewer-message { color: #526479; }
.profile-kampus .cf-viewer-back, .profile-kampus .cf-viewer-actions a,
.profile-kampus .cf-viewer-actions button, .profile-kampus .cf-viewer-controls button,
.profile-kampus .cf-presenter-notes button { color: #1a426a; background: #f1f6fc; border-color: #b3c7db; }
.profile-kampus .cf-presenter-notes textarea { color: #162438; background: #fff; border-color: #bed0df; }
/* More defined controls and category cards, within the signed-in Kampus workspace. */
.app-body.profile-kampus :is(.primary-button,.secondary-button,.quiet-button,.ex-button,.cf-table-action) {
  border-width:1.5px; border-style:solid; border-radius:10px; font-weight:750;
  transition:background .15s,border-color .15s,box-shadow .15s;
}
.app-body.profile-kampus :is(.secondary-button,.quiet-button,.ex-button,.cf-table-action) {
  color:#244868; background:#ffffff; border-color:#b6c9db;
  padding:9px 13px; text-decoration:none;
}
.app-body.profile-kampus :is(.primary-button,.ex-button-gold,.ex-button-bright) {
  color:#ffffff; background:linear-gradient(140deg,#234d76,#173b62); border-color:#1c4167;
  box-shadow:0 3px 0 #203a6018,0 5px 12px #173b6212;
}
.app-body.profile-kampus :is(.secondary-button,.quiet-button,.ex-button,.cf-table-action):hover {
  background:#eaf2fb; border-color:#6d92b7; box-shadow:0 3px 10px #173b6214;
}
.profile-kampus .command-domain-grid { gap:15px; margin:12px 0 28px; }
.profile-kampus .command-domain { min-height:150px; border:1px solid #d7e2ed; border-radius:16px; box-shadow:0 4px 18px #18395310; transition:border-color .15s,box-shadow .15s; }
.profile-kampus .command-domain:hover { border-color:#90acc6; box-shadow:0 8px 25px #1839531b; }
.profile-kampus .command-domain > span { color:#244868; background:#eaf2fa; border:1px solid #cbdced; border-radius:12px; }
.profile-kampus .command-domain small { color:#52677d; }
.profile-kampus .command-domain b { color:#204a70; background:#eaf2fa; }
.profile-kampus .cf-hub-grid { gap:20px; }
.profile-kampus .cf-hub-card { border:1.5px solid #cfdeeb; border-radius:17px; background:#ffffff; box-shadow:0 4px 18px #18395310; }
.profile-kampus .cf-hub-card:hover { border-color:#7c9dbb; box-shadow:0 9px 28px #1839531a; }
.profile-kampus .cf-hub-icon { border:1px solid #cbdced; background:#eaf2fa; color:#244868; }
.workspace-section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin:26px 0 14px; }
.workspace-section-heading h2 { margin:5px 0 0; font-size:1.35rem; }
.workspace-section-heading p:last-child { color:#53677c; font-size:.83rem; }
.activity-management-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 24px; }
.activity-management-card { display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:12px; min-height:96px; padding:16px; border:1.5px solid #d7e2ed; border-radius:13px; background:#ffffff; color:#162438; text-decoration:none; box-shadow:0 3px 14px #1839530b; transition:border-color .15s,box-shadow .15s; }
.activity-management-card:hover { border-color:#7c9dbb; box-shadow:0 7px 20px #18395316; }
.activity-management-card > span { display:grid; place-items:center; width:38px; height:38px; border:1px solid #cbdced; border-radius:11px; background:#eef4fa; color:#2a577f; font-size:1.15rem; }
.activity-management-card strong,.activity-management-card small { display:block; }
.activity-management-card strong { color:#223d59; font-size:.9rem; }
.activity-management-card small { margin-top:5px; color:#53677c; font-size:.73rem; line-height:1.5; }
.activity-management-card > b { color:#456783; }
@media(max-width:1100px){.activity-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.activity-management-grid{grid-template-columns:minmax(0,1fr)}.workspace-section-heading{align-items:start;flex-direction:column;gap:4px}.activity-management-card{min-height:86px}}
@media(prefers-reduced-motion:reduce){.app-body.profile-kampus :is(.primary-button,.secondary-button,.quiet-button,.ex-button,.cf-table-action),.profile-kampus .command-domain,.activity-management-card{transition:none}}
.app-body.profile-kampus .cf-table-action { color:#244868!important; }
.app-body.profile-kampus .cf-form-grid input.primary-button[type="submit"] { border:1.5px solid #1c4167; border-radius:10px; box-shadow:0 3px 0 #203a6018,0 5px 12px #173b6212; }
@media(max-width:720px){.profile-kampus .cf-viewer-actions{flex-wrap:wrap;justify-content:flex-start;overflow:visible}.profile-kampus .cf-viewer-actions button{min-height:35px}}
.profile-kampus .command-domain-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.profile-kampus .command-domain strong { font-size:.95rem; }
.profile-kampus .command-domain p { font-size:.73rem; line-height:1.5; }
@media(max-width:1100px){.profile-kampus .command-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.profile-kampus .command-domain-grid{grid-template-columns:minmax(0,1fr)}}

.profile-kampus .join-header {
  background: #173453;
  border-bottom: 2px solid var(--gold);
}
.profile-kampus .join-header .eyebrow { color: #e4bc70; }
.profile-kampus .auth-card .security-note .status-dot { flex: 0 0 auto; }
.profile-kampus.guest-body { display: flex; flex-direction: column; min-height: 100vh; }
.profile-kampus .guest-page { flex: 1; min-height: 0; }
.profile-kampus .login-stage { min-height: calc(100vh - 4rem); }
.profile-kampus .app-frame { display: flex; flex-direction: column; }
.profile-kampus .app-frame > .page { flex: 1; }

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .65rem 1.5rem;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: .82rem;
}
.legal-footer nav, .legal-tabs { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }
.legal-footer a, .legal-document a { color: #214d76; text-underline-offset: .22em; }
.legal-document {
  max-width: 52rem;
  margin: clamp(1rem, 5vw, 4rem) auto;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.legal-brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.legal-brand .kampus-symbol { flex: 0 0 59px; width: 59px; height: 42px; }
.legal-brand .kampus-symbol img { width: 104px; height: 52px; }
.legal-document h1 { color: #162438; font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.15; }
.legal-document h2 { color: #173b62; font-size: 1.22rem; }
.legal-version { color: var(--muted); font-size: .88rem; }
.legal-tabs { padding-block: .8rem; border-block: 1px solid var(--line); font-size: .88rem; }
.legal-tabs [aria-current="page"] { font-weight: 750; }
.legal-document section { margin-top: 1.6rem; }
.legal-document ul { padding-inline-start: 1.15rem; }
.legal-document li + li { margin-top: .45rem; }
@media (max-width: 760px) {
  .profile-kampus .guest-page > .legal-document { margin-inline: 1rem; }
  .legal-footer { justify-content: flex-start; }
}


.profile-kampus .page .primary-button {
  box-shadow: inset 0 1px 0 #f5d99560, 0 4px 12px #173b6218;
}
.app-body.profile-kampus .platform-delete {
  color: var(--brand-red);
  border-color: #c68a91;
}
.app-body.profile-kampus .platform-delete:hover { background: #fbf1f2; color: #7e1925; }

.curriculum-matrix th,
.curriculum-matrix td {
  min-width: 9rem;
  vertical-align: top;
  white-space: normal;
}
.curriculum-matrix td small {
  display: block;
  margin-top: .2rem;
}
.cf-table .table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.app-body.profile-kampus .table-actions .primary-button {
  background: #234d76;
}
.app-body.profile-kampus .table-actions .primary-button:hover {
  background: #142e4b;
}
.cf-table td details > * + * {
  margin-top: .6rem;
}
.cf-table td details .platform-form {
  min-width: 11rem;
  white-space: normal;
}
.tuition-tariff-form > label {
  flex: 1 1 13rem;
  min-width: 0;
}
.tuition-tariff-form select {
  min-height: 2.6rem;
  padding: .6rem .75rem;
  border: 1px solid #bacbde;
  border-radius: .6rem;
  background: #fff;
  color: inherit;
  font: inherit;
}
#tarifa {
  margin-top: 1rem;
}

.staff-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.staff-sections .cf-table {
  min-width: 0;
}
.staff-sections .cf-table tbody th {
  background: transparent;
  color: #304754;
  font-size: .76rem;
  letter-spacing: normal;
  text-transform: none;
}
.staff-fields {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}
.staff-action {
  margin-top: 1rem;
}
.staff-action summary {
  cursor: pointer;
  color: #173b62;
  font-weight: 750;
}
.staff-action form {
  margin-top: .85rem;
}
.staff-sections .platform-actions select {
  min-height: 2.6rem;
  padding: .6rem .75rem;
  border: 1px solid #bacbde;
  border-radius: .6rem;
  background: #fff;
  color: inherit;
  font: inherit;
}

.directory-types {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.1rem;
}
.staff-sections .platform-form textarea {
  width: 100%;
  min-height: 5rem;
  border: 1px solid #bacbde;
  border-radius: .6rem;
  padding: .6rem .75rem;
  font: inherit;
}
.goods-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr));
  gap: 1rem;
}
.goods-details dt {
  color: #52677d;
  font-size: .85rem;
  font-weight: 650;
}
.goods-details dd {
  margin: .2rem 0 0;
  overflow-wrap: anywhere;
}
.goods-detail-text {
  grid-column: 1 / -1;
}
