.main:has(#content[data-screen="institutionalWebsite"]) {
  background: radial-gradient(ellipse at top right, #dbeaff, transparent 54%), #eef4fd;
}
.main:has(#content[data-screen="institutionalWebsite"]) .topbar {
  background:
    radial-gradient(ellipse at 75% -115%, transparent 63%, #88bbf33d 64% 73%, transparent 74%),
    linear-gradient(110deg, #f8faff 15%, #e8f2ff 54%, #cce3fc);
}
#content[data-screen="institutionalWebsite"] {
  padding: clamp(14px, 2vw, 28px);
}
.web-management {
  --web-ink: #0a1d46;
  --web-copy: #243b60;
  --web-border: #c8d9f4;
  display: grid;
  gap: clamp(14px, 1.45vw, 22px);
  color: var(--web-ink);
}
.web-management :is(h3,h4,p,figure,ul) { margin: 0; }
.web-management h3 { font-size: clamp(1.12rem, 1.5vw, 1.42rem); line-height: 1.2; }
.web-management h4 { font-size: 1.14rem; line-height: 1.2; }
.web-management p { color: var(--web-copy); line-height: 1.42; margin-top: 3px; }
.web-panel {
  min-width: 0;
  padding: clamp(14px, 1.4vw, 22px);
  border: 1px solid var(--web-border);
  border-radius: 20px;
  background: linear-gradient(140deg, #fcfdff, #f3f6fd);
  box-shadow: 0 10px 24px #173f7f13;
}
.web-heading { display: flex; align-items: center; gap: clamp(12px, 1.35vw, 22px); }
.web-visibility-heading { margin-bottom: 18px; }
.web-tile {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  color: #124ec8;
  background: linear-gradient(145deg, #ecf4ff, #cfe1fc);
  box-shadow: inset 0 0 0 1px #5992e323, 0 3px 6px #254d7b15;
}
.web-management svg { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
.web-tile svg { width: 32px; height: 32px; }
.web-tile-primary { color: white; background: linear-gradient(135deg, #458bff, #1053fa); }
.web-tile-blue { background: linear-gradient(145deg, #e6f2ff, #bad8fa); }
.web-tile-purple { color: #3f25a7; background: linear-gradient(145deg, #f0ebff, #ded5fb); }
.web-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid #d2c8f9;
  border-radius: 13px;
  background: #ede7ff;
  color: #342084;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
}
.web-actions, .web-middle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.web-middle { grid-template-columns: minmax(0, 1.21fr) minmax(0, 1fr); }
.web-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 24px);
  align-content: start;
  padding: clamp(13px, 1.45vw, 22px);
  border: 1px solid #cbd7ee;
  border-radius: 16px;
  background: linear-gradient(150deg, #f6f8ff, #eaeef9);
}
.web-action-public { border-color: #87b7ff; background: linear-gradient(150deg, #f3f8ff, #dfecfc); }
.web-action .web-tile { width: 64px; height: 64px; }
.web-button {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 15px;
  padding: 10px 16px;
  border: 1px solid #a7bde3;
  border-radius: 11px;
  background: #f2f6ff;
  color: #102e72;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 2px 4px #123b801b;
}
.web-button-primary { border-color: #075fe3; color: white; background: linear-gradient(155deg, #0079f0, #0841bf); }
.web-management a:focus-visible { outline: 3px solid #1468e9; outline-offset: 3px; }
.web-management a:hover { filter: brightness(.96); }
.web-links .web-heading { margin-bottom: 14px; }
.web-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.1vw, 17px);
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #d0dcef;
  border-radius: 12px;
  background: linear-gradient(125deg, #fcfdff, #f1f5fe);
  color: var(--web-ink);
  text-decoration: none;
}
.web-entry + .web-entry { margin-top: 9px; }
.web-entry .web-tile { width: 48px; height: 44px; border-radius: 9px; }
.web-entry .web-tile svg { width: 25px; height: 25px; }
.web-entry small { display: block; margin-top: 2px; color: var(--web-copy); font-size: .87rem; overflow-wrap: anywhere; }
.web-entry > svg { color: #12458e; }
.web-preview { display: grid; align-content: center; gap: 5px; }
.web-thumbnail {
  overflow: hidden;
  border: 5px solid #dfeafa;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 12px #26477a20;
}
.web-thumbnail-header { display: flex; align-items: center; gap: 6px; padding: 5px 7%; font-size: .63rem; }
.web-thumbnail-header img { width: 22px; height: 22px; object-fit: contain; }
.web-thumbnail-hero {
  min-height: clamp(110px, 10vw, 158px);
  display: flex;
  align-items: center;
  padding: 12px 7%;
  background:
    radial-gradient(ellipse at 13% 130%, #147bc6 0 31%, transparent 32%),
    linear-gradient(128deg, #072e5c 0 47%, #0c5aa7e0 48% 50%, transparent 51%),
    url('/static/assets/campus-home-hero.jpg') right center / auto 100% no-repeat,
    #70afe8;
  color: #fff;
}
.web-thumbnail-hero b, .web-thumbnail-hero span { display: block; }
.web-thumbnail-hero b { font-size: clamp(.88rem, 1.25vw, 1.15rem); }
.web-thumbnail-hero span { font-size: clamp(.66rem, .9vw, .85rem); line-height: 1.25; }
.web-preview-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid #c9dcfa;
  border-radius: 11px;
  background: #e6f0ff;
  color: var(--web-ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.web-preview-link span { flex: 1; text-align: center; }
.web-notes { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); align-items: center; gap: 20px; }
.web-notes ul { display: grid; gap: 6px; padding-left: 20px; border-left: 1px solid var(--web-border); list-style: none; }
.web-notes li { display: flex; align-items: flex-start; gap: 9px; color: var(--web-copy); font-size: .88rem; }
.web-notes li svg { padding: 3px; border-radius: 50%; color: white; background: #1360e9; }
@media (max-width: 1150px) {
  .web-visibility-heading { flex-wrap: wrap; }
  .web-status { margin-left: 0; }
}
@media (max-width: 860px) {
  .web-actions, .web-middle, .web-notes { grid-template-columns: minmax(0, 1fr); }
  .web-notes ul { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--web-border); }
}
@media (max-width: 440px) {
  .web-action .web-tile, .web-heading .web-tile { width: 42px; height: 42px; }
  .web-action .web-tile svg, .web-heading .web-tile svg { width: 23px; height: 23px; }
  .web-button { padding-inline: 9px; }
  .web-status { white-space: normal; }
}
