.school-nav-logo {
  flex: 0 0 auto; object-fit: contain; border-radius: 7px; background: #fff;
}
.admin-page .school-nav, .admin-page #school-splash { display: none; }
#school-splash {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center;
  justify-items: center; gap: 10px; background: linear-gradient(135deg,#071e1a,#0a4437);
  color: #f1fff8; animation: school-splash-fallback .35s ease 3s forwards;
}
#school-splash img { border-radius: 17px; border: 4px solid #fff; }
#school-splash strong { font-size: 1.28rem; }
#school-splash span { font-size: .87rem; color: #c1e9d9; }
#school-splash i {
  display: block; width: 105px; height: 3px; margin-top: 6px; border-radius: 4px;
  background: linear-gradient(90deg,#2ba479,#a7ffe1,#2ba479); background-size: 200% 100%;
  animation: school-splash-progress 1s linear infinite;
}
@keyframes school-splash-progress { to { background-position: -200% 0; } }
@keyframes school-splash-fallback { to { visibility: hidden; opacity: 0; } }
.school-page { background: #f1f7f4; color: #112d24; }
.school-page .topbar { background: #fafffc; border-bottom-color: #dcebe2; }
.school-page .brand-sub { color: #355b50; }
.school-page nav { background: #e8f3ec; }
.school-page nav a[aria-current] { color: #0d604a; }
.school-page .shell { width: min(1260px, calc(100% - 48px)); }
.school-hero {
  position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  margin: 25px 0 36px; padding: clamp(30px, 5vw, 70px); gap: clamp(20px,4vw,55px);
  min-height: 385px; align-items: center; border-radius: 28px; overflow: hidden;
  background: radial-gradient(ellipse at 96% 11%,#247d5f 0,transparent 46%),
      linear-gradient(129deg,#061e1a 12%,#0a332a 70%,#0c4939);
  color: #f3fff8; box-shadow: 0 16px 50px #123c2836;
}
.school-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(#7be4b925 1px,transparent 1px),linear-gradient(90deg,#7be4b925 1px,transparent 1px);
  background-size: 35px 35px; mask-image: linear-gradient(110deg,transparent 15%,#000);
}
.school-hero-copy,.school-hero-visual { position: relative; min-width: 0; }
.school-identity {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 25px;
  color: #c8f5e5; text-decoration: none; font-weight: 750;
}
.school-identity img { padding: 4px; border-radius: 14px; background: #fff; }
.school-hero h1 { font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: .99; letter-spacing: -.06em; }
.school-hero h1 em { color: #8ff1bc; font-style: normal; }
.school-hero-copy > p { color: #c7e4d8; font-size: clamp(.98rem,1.6vw,1.11rem); margin: 18px 0 22px; line-height: 1.52; max-width: 47ch; }
.school-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.school-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px;
  padding: 10px 15px; border: 1px solid #9aeac2; border-radius: 10px; background: #9aeac2;
  color: #09392a; font-weight: 750; text-decoration: none;
}
.school-button:hover { background: #bcf8db; }
.school-button.outline { color: #e9fff3; background: transparent; border-color: #5caa88; }
.school-button.outline:hover { background: #ffffff18; }
.coding-window {
  border: 1px solid #78d8b064; border-radius: 15px; background: #0b211d; overflow: hidden;
  box-shadow: 0 21px 65px #06150f85; transform: translateY(-2px);
}
.coding-bar { height: 39px; display: flex; gap: 6px; align-items: center; padding: 0 14px; }
.coding-bar i { width: 8px; height: 8px; border-radius: 50%; background: #80cfa9; }
.coding-bar i:nth-child(2) { background: #e7b972; }
.coding-bar i:nth-child(3) { background: #69c9dc; }
.coding-picture {
  aspect-ratio: 1.95; background: linear-gradient(140deg,#08271a31,#09271a72), url('assets/certificate-studio-banner.jpg') center/cover;
}
.coding-caption { border-top: 1px solid #438769; padding: 11px 13px; color: #d4ffea; font: .83rem ui-monospace, monospace; }
.coding-caption b { color: #95e7b9; margin-right: 7px; }
.school-section { scroll-margin-top: 16px; margin-bottom: 28px; }
.school-section-title { margin-bottom: 15px; }
.school-section-title h2 { color: #15372d; font-size: clamp(1.45rem, 2.7vw, 2.15rem); letter-spacing: -.033em; }
.school-gallery, .school-graduates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.school-photo, .school-graduate, .school-project, .school-empty {
  background: #fff; border: 1px solid #dcebe2; border-radius: 14px;
}
.school-photo { margin: 0; overflow: hidden; }
.school-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #dcebe3; }
.school-photo figcaption { padding: 13px; overflow-wrap: anywhere; }
.school-photo p,.graduate-profile { color: #3c5a50; line-height: 1.5; margin-top: 5px; }
.school-graduate { padding: 14px; display: grid; gap: 13px; grid-template-columns: minmax(0,1fr) auto; align-items: start; }
.school-graduate h3 { color: #174734; overflow-wrap: anywhere; }
.school-graduate h3 + p { color: #466259; margin-top: 4px; font-size: .85rem; }
.graduate-score { background: #e3f7ec; color: #0d5740; padding: 7px 9px; border-radius: 10px; text-align: center; }
.graduate-score small,.graduate-score strong { display: block; }
.graduate-score strong { font-size: 1.15rem; }
.graduate-profile { grid-column: 1/-1; overflow-wrap: anywhere; }
.school-project-section { padding: clamp(15px,3vw,26px); background: #e7f3ec; border: 1px solid #d6e8df; border-radius: 20px; }
.school-filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 11px; margin-bottom: 13px; }
.school-project-list { display: grid; gap: 8px; }
.school-project { display: grid; grid-template-columns: minmax(140px,.33fr) minmax(0,1fr); gap: 10px; padding: 12px 14px; overflow-wrap: anywhere; }
.school-project small { display: block; color: #466158; margin-top: 4px; }
.school-project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.school-project-link { display: flex; align-items: center; gap: 10px; color: #104733; background: #e8f9ee; border: 1px solid #c9e9d4; padding: 8px 11px; min-height: 44px; border-radius: 9px; text-decoration: none; font-weight: 750; }
.school-project-link:hover { background: #d0f2dc; }
.school-empty { padding: 15px; color: #3c5a50; grid-column: 1/-1; }
#school-project-more { margin-top: 11px; }
#nilai { scroll-margin-top: 16px; }
.school-page .public-grades { border-color: #dcebe2; }
.school-page .public-filters { background: #e8f4ed; border-color: #d7ebde; }
.school-page .grade-matrix thead tr:first-child th { background: #134a39; }
.school-page .grade-matrix thead tr:nth-child(2) th { background: #def2e6; color: #154938; }
.school-page .primary { background: linear-gradient(135deg,#21865f,#146547); }
.school-page .primary:hover { background: #14543d; }
.reveal-ready { opacity: 0; translate: 0 13px; transition: opacity .48s ease, translate .48s ease; }
.reveal-ready.revealed, .reveal-ready:focus-within { opacity: 1; translate: none; }
#landing-admin-panel { scroll-margin-top: 16px; }
#landing-admin-panel summary { cursor: pointer; padding: 6px 0; }
#landing-admin-body .buttons { justify-content: flex-start; }
@media (max-width: 850px) {
  .school-gallery,.school-graduates { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-page .top-inner { flex-wrap: wrap; padding: 9px 0; gap: 6px; }
  .school-page nav a { padding-inline: 9px; }
}
@media (max-width: 620px) {
  .school-page .shell { width: calc(100% - 20px); }
  .school-page nav { width: 100%; overflow-x: auto; }
  .school-page nav a { flex: 0 0 auto; font-size: .78rem; }
  .school-hero { grid-template-columns: minmax(0,1fr); border-radius: 19px; gap: 18px; padding: 22px 18px; margin-top: 13px; }
  .school-hero-copy > p { margin-block: 12px 15px; }
  .school-identity { margin-bottom: 13px; }
  .school-identity img { width: 43px; height: 43px; }
  .school-filters,.school-project { grid-template-columns: minmax(0,1fr); }
  .school-gallery,.school-graduates { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #school-splash i, .reveal-ready { animation: none; transition: none; }
}

#school-splash.splash-done { animation: school-splash-fallback .22s ease forwards; pointer-events: none; }

/* Separate editorial modules for classroom photographs and alumni stories. */
#galeri, #lulusan { padding: clamp(18px, 3.3vw, 40px); border-radius: 25px; }
#galeri { background: #fff; border: 1px solid #e0ece4; }
#lulusan {
  background: radial-gradient(ellipse at 100% 5%, #24634e, transparent 60%), #0a3027;
  box-shadow: 0 12px 30px #134a2f1e;
}
.school-section-title > p { margin: 6px 0 0; color: #526a60; }
#lulusan .school-section-title h2 { color: #f2fff7; }
#lulusan .school-section-title p { color: #bce2ce; }
#galeri .school-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.school-photo { background: #f6fbf8; border-radius: 16px; box-shadow: 0 6px 16px #103a1110; }
.school-photo.lead-photo { grid-column: span 2; }
.gallery-image-button { position: relative; display: block; border: 0; background: #e1eee7; padding: 0; width: 100%; cursor: zoom-in; overflow: hidden; }
.gallery-image-button img { aspect-ratio: 1.48; transition: transform .32s ease; }
.lead-photo .gallery-image-button img { aspect-ratio: 2.38; }
.gallery-image-button:hover img { transform: scale(1.035); }
.gallery-image-button span { position: absolute; right: 12px; bottom: 12px; border-radius: 50%; background: #0d382edd; color: white; width: 34px; height: 34px; display: grid; place-items: center; }
.school-photo figcaption { padding: 12px 15px; }
.school-gallery-dialog img { max-height: 66vh; width: 100%; object-fit: contain; border-radius: 12px; margin-top: 10px; }
.school-gallery-dialog button { margin-top: 10px; }
#lulusan .school-graduates { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
#lulusan .school-graduate {
  grid-template-columns: minmax(105px,.36fr) minmax(0,1fr); align-items: stretch; gap: 0;
  border: 0; overflow: hidden; padding: 0; border-radius: 17px;
}
.school-graduate:first-child:nth-last-child(1) { grid-column: 1/-1; }
.graduate-portrait { background: #e5f4eb; color: #195e47; display: grid; place-items: center; min-height: 180px; overflow: hidden; }
.graduate-portrait img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; }
.graduate-portrait span { font-size: clamp(1.1rem,3vw,2rem); font-weight: 750; }
.graduate-story { padding: clamp(13px,2.4vw,23px); min-width: 0; }
.graduate-story blockquote { margin: 0 0 12px; color: #174333; font-size: clamp(.98rem,1.5vw,1.15rem); line-height: 1.48; overflow-wrap: anywhere; }
.graduate-story blockquote span { font-size: 1.7em; color: #17734e; line-height: .5; padding-right: 4px; vertical-align: -5px; }
.graduate-story .graduate-score { margin-top: 10px; display: inline-block; }
.school-editorial-empty { min-height: 115px; display: grid; align-content: center; gap: 6px; padding: 20px; background: #f0f8f3; border-style: dashed; }
.school-editorial-empty strong { color: #183f30; font-size: 1rem; }
#lulusan .school-editorial-empty { background: #ffffff18; border-color: #8cceac68; color: #cfeee0; }
#lulusan .school-editorial-empty strong { color: #f1fff6; }
#landing-content-form textarea { width: 100%; padding: 11px; border-radius: 10px; border: 1px solid #cbd8e9; font: inherit; }
@media (max-width: 840px) {
  #galeri .school-gallery, #lulusan .school-graduates { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-photo.lead-photo { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  #galeri .school-gallery, #lulusan .school-graduates { grid-template-columns: minmax(0,1fr); }
  #lulusan .school-graduate { grid-template-columns: minmax(85px,.34fr) minmax(0,1fr); }
  .graduate-portrait { min-height: 130px; }
  .lead-photo .gallery-image-button img { aspect-ratio: 1.56; }
}

/* Bootstrap navigation and the public editorial layout. */
.school-page .topbar { position: sticky; top: 0; z-index: 30; padding: 0; background: #fff; box-shadow: 0 1px 0 #143c2a0d; }
.school-page .top-inner { min-height: 70px; }
.school-page #school-navigation { justify-content: end; }
.school-page nav.navbar-nav { width: auto; padding: 0; gap: 3px; background: transparent; }
.school-page nav .nav-link { padding: 9px 12px; color: #26493e; }
.school-page .admin-nav-link { border: 1px solid #d8eae0; margin-inline-start: 5px; background: #eef8f2; }
.school-page .school-nav-toggle { color: #164b37; }
.admin-page .school-nav-toggle { display: none; }
.admin-page #school-navigation { margin-inline-start: auto; }
.school-page .school-hero {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch; padding: 0; min-height: 455px; gap: 0;
  background: radial-gradient(ellipse at 25% 100%,#126e55 0,transparent 70%), #082b24;
  border-radius: 25px; isolation: isolate;
}
.school-page .school-hero::before { z-index: -1; }
.school-hero-copy { padding: clamp(25px,5vw,65px); align-self: center; }
.school-eyebrow { color: #8ce7bd; font-size: .87rem; font-weight: 750; margin-bottom: 15px; }
.school-hero h1 { max-width: 14ch; text-wrap: balance; font-size: clamp(2.4rem,5vw,4.7rem); }
.school-hero-visual { display: flex; align-items: stretch; position: relative; min-height: 290px; }
.school-hero-photo { width: 100%; position: relative; overflow: hidden; background: #154b3c; }
.school-hero-photo img { width: 100%; height: 100%; display: block; position: absolute; inset: 0; object-fit: cover; }
.school-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#082b2466,transparent 60%),linear-gradient(0deg,#082b24a0,transparent 55%); }
.school-coding-mark {
  position: absolute; right: 23px; bottom: 23px; padding: 10px 14px;
  background: #082b24dd; border: 1px solid #73d1ac90; border-radius: 11px;
  font: 750 1.34rem ui-monospace,monospace; color: #b1ffda;
}
.school-page .school-section, .school-page #nilai { scroll-margin-top: 85px; }
.school-page #galeri,.school-page #lulusan,.school-page #proyek { margin-block: 24px; }
.school-page #galeri { border-radius: 24px; }
.school-page .school-section-title { margin-bottom: 20px; }
.school-page .school-section-title h2 { text-wrap: balance; }
.school-page .school-project-section { background: #fff; }
.school-page .school-filters { background: #eff7f2; padding: 12px; border-radius: 12px; }
.school-page .school-project { background: #fbfdfb; }
.school-page #lulusan { background: linear-gradient(120deg,#09342a,#125141); }
.school-page #nilai { margin-top: 23px; }
@media (max-width: 991.98px) {
  .school-page .top-inner { padding: 8px 0; }
  .school-page #school-navigation { flex-basis: 100%; }
  .school-page nav.navbar-nav { padding: 5px 0 8px; overflow: visible; align-items: stretch; }
  .school-page .admin-nav-link { margin-inline: 0; }
}
@media (max-width: 680px) {
  .school-page .school-hero { grid-template-columns: minmax(0,1fr); min-height: auto; }
  .school-hero-copy { padding: 29px 21px; }
  .school-hero-visual { min-height: 185px; }
  .school-coding-mark { bottom: 12px; right: 12px; padding: 6px 9px; }
  .school-page .nav-link { width: 100%; }
  .school-page .school-hero h1 { font-size: clamp(2.35rem,8vw,3.5rem); }
}
.landing-fields { padding: 11px 13px 15px; border: 1px solid #d9e6f7; border-radius: 12px; }
.landing-fields legend { padding-inline: 5px; color: #173963; font-weight: 750; }

.school-page #nilai { margin-block: 0 28px; }
.school-page #nilai > .panel-heading {
  padding: 2px 0 19px; margin-bottom: 16px; border-bottom: 1px solid #dcece4;
  gap: clamp(10px, 2vw, 15px);
}
.school-page #nilai .grade-section-icon {
  width: clamp(42px, 5vw, 58px); height: clamp(42px, 5vw, 58px);
  flex: 0 0 auto; border-radius: 17px; font-size: 1.38rem;
  color: #c5ffe4; background: linear-gradient(145deg,#0a3b2e,#177356);
  box-shadow: 0 6px 15px #12493626;
}
.school-page #public-grade-title {
  color: #14362b; font-size: clamp(1.4rem, 3vw, 2.15rem);
  font-weight: 800; letter-spacing: -.04em; text-wrap: balance;
}
.school-page #nilai > .panel-heading .muted { color: #41665a; line-height: 1.5; }

.admin-page #app:has(.dashboard-content) > .hero { min-height: 130px; padding-block: 24px; }
.admin-page #app:has(.dashboard-content) > .hero h1 { font-size: clamp(1.9rem,4vw,2.85rem); }
.admin-page #app:has(.dashboard-content) > .hero .hero-art { display: none; }
.dashboard-content h2 { margin-bottom: 13px; }
.dashboard-content-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(185px,1fr)); gap: 10px; }
.admin-page .dashboard-content-link { justify-content: flex-start; align-items: center; text-align: left; min-height: 72px; }
.dashboard-content-link strong,.dashboard-content-link small { display: block; }
.dashboard-content-link small { margin-top: 3px; color: #476286; font-weight: 500; }
.content-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 0; background: transparent; }
.content-tabs button[aria-pressed="true"] { background: #164f9f; color: #fff; border-color: #164f9f; }
#school-banner-slider,.school-hero-photo .carousel-inner,.school-hero-photo .carousel-item { width: 100%; height: 100%; }
.school-hero-photo .carousel-item { min-height: inherit; }
.school-hero-photo:has(.carousel)::after,.school-coding-mark { pointer-events: none; }
.school-hero-photo:has(.carousel)::after { background: none; }
.school-slide-caption { position: absolute; inset: auto 15% 35px; background: #082e24dd; color: #fff; padding: 9px 12px; border-radius: 9px; }
.school-slide-caption strong,.school-slide-caption span { display: block; }
.school-slide-caption span { font-size: .88rem; }
.school-hero-visual:has(.carousel) .school-coding-mark { display: none; }
#school-banner-slider .carousel-indicators [data-bs-target] { background-color: #fff; border: 0; box-shadow: 0 0 0 1px #12362f; }
#school-banner-slider .carousel-control-prev-icon,#school-banner-slider .carousel-control-next-icon {
  padding: 14px; background-color: #073027bd; background-size: 55%; border-radius: 50%;
}
@media (max-width: 540px) {
  .dashboard-content-grid { grid-template-columns: minmax(0,1fr); }
  .school-slide-caption span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
}

#school-banner-slider { position: absolute; inset: 0; }

.school-slider-toggle {
  position: absolute; z-index: 4; top: 13px; right: 13px; min-height: 40px;
  padding: 6px 13px; border: 1px solid #b4eed7ad; border-radius: 9px;
  color: #fff; background: #073027e6; font-size: .84rem; font-weight: 750;
}
.school-slider-toggle:hover { background: #124d3f; }

.school-page {
  background: radial-gradient(ellipse at 90% 5%, #d8f5e6, transparent 38%), #f4f8f5;
}
.school-page .school-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  margin-bottom: clamp(20px, 3vw, 38px);
  border: 1px solid #225d4f;
  background: radial-gradient(ellipse at 12% 100%, #126d57, transparent 72%), #062a23;
}
.school-page .school-hero h1 { line-height: 1.04; overflow-wrap: anywhere; }
.school-eyebrow {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid #8ce7bd55;
  border-radius: 100px;
  background: #85e4b516;
}
.school-hero-visual {
  margin: clamp(12px, 2vw, 24px);
  min-height: 250px;
}
.school-hero-photo {
  border: 1px solid #a0f1cc52;
  border-radius: 19px;
  box-shadow: 0 15px 35px #03171066;
}
.school-page .school-button:not(.outline) {
  background: linear-gradient(115deg, #c1ffd7, #89eac0);
  box-shadow: 0 6px 17px #74f1af26;
}
.school-section-icon svg,.grade-section-icon svg,.school-coding-mark svg,.school-project-icon svg { display: block; }
.school-actions svg,.school-project-link svg,.gallery-image-button svg { width: 17px; height: 17px; flex-shrink: 0; }
.school-coding-mark svg { width: 24px; height: 24px; }

.school-page #nilai,.school-page #galeri,.school-page #lulusan,.school-page #proyek {
  padding: clamp(16px, 3.4vw, 42px);
  border-radius: 24px;
}
.school-page .school-section-title {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 17px);
  margin-bottom: 24px;
}
.school-section-title p { margin: 5px 0 0; color: #41665a; }
.school-section-icon,.school-project-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(42px, 5vw, 58px);
  aspect-ratio: 1;
  border-radius: 17px;
  background: linear-gradient(145deg, #dff7eb, #bdedd6);
  color: #0d5942;
}
.school-section-icon svg,.grade-section-icon svg { width: 25px; height: 25px; }
.school-page #lulusan {
  background: radial-gradient(ellipse at 82% 0, #197b60, transparent 70%), linear-gradient(130deg, #062a23, #104638);
}
.school-page #lulusan .school-section-icon { background: #c0f9d8; }
.school-page .school-project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.school-page .school-project-list > p { grid-column: 1 / -1; }
.school-page .school-project {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  padding: 15px;
  border-color: #d7eae1;
}
.school-project-person { display: flex; align-items: center; gap: 10px; }
.school-project-icon { width: 36px; border-radius: 11px; }
.school-project-icon svg { width: 18px; height: 18px; }
.school-page #school-project-more { margin-top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .school-hero-copy { animation: school-entrance .55s ease-out both; }
  .school-hero-visual { animation: school-entrance .6s .08s ease-out both; }
  .school-page .school-button,.school-page .school-project { transition: transform .2s ease, box-shadow .2s ease; }
  .school-page .school-button:hover,.school-page .school-project:focus-within { transform: translateY(-2px); }
  .school-page .school-project:focus-within { box-shadow: 0 8px 20px #123c2818; }
  @keyframes school-entrance {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 950px) {
  .school-page .school-project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .school-page .school-hero { grid-template-columns: minmax(0, 1fr); }
  .school-hero-visual { min-height: 225px; margin-top: 0; }
}
@media (max-width: 540px) {
  .school-page .school-project-list { grid-template-columns: minmax(0, 1fr); }
}

.landing-preview-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.landing-preview-dialog {
  width: min(1460px, calc(100% - 30px));
  height: min(900px, 94dvh);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #cfdaee;
  border-radius: 18px;
  background: #fff;
  color: #142d52;
  box-shadow: 0 26px 70px #08162d55;
}
.landing-preview-dialog[open] { display: flex; flex-direction: column; }
.landing-preview-dialog::backdrop { background: #0b1935aa; }
.landing-preview-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; padding: clamp(12px, 2vw, 20px);
}
.landing-preview-toolbar h3,.landing-preview-toolbar p { margin: 0; }
.landing-preview-toolbar p { margin-top: 4px; }
.landing-preview-toolbar button[aria-pressed="true"] { background: #173d78; color: white; }
.landing-preview-stage {
  display: grid; flex: 1; min-height: 0; overflow: auto; padding: 8px;
  justify-items: center; background: #e6edf7;
}
.landing-preview-stage iframe {
  width: 100%; height: 100%; min-height: 0; border: 1px solid #cbd9ed;
  border-radius: 10px; background: white;
}
.landing-preview-stage.is-mobile iframe { width: min(390px, 100%); }
