/* ThesisLink — guest browse page styles */

#guest-sign-in[hidden], .guest-account[hidden] { display: none; }
.guest-account { display: flex; align-items: center; gap: 8px; padding: 4px 7px 4px 5px; border: 1px solid #ffffff40; border-radius: 999px; background: #ffffff20; color: white; }
.guest-account-avatar { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #f28a13; color: white; font-size: .8rem; font-weight: 700; }
.guest-account-profile { display: grid; min-width: 0; line-height: 1.25; }
#guest-profile-name { max-width: 165px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; font-weight: 600; }
.guest-profile-role { color: #dcf0e7; font-size: .7rem; white-space: nowrap; }
#guest-account .guest-account-logout { flex-shrink: 0; padding: 7px 15px !important; border: 0; border-radius: 999px !important; background: white; color: #204f3b; font: 600 .78rem var(--font-sans); white-space: nowrap; }
.guest-account-logout:hover { background: #e8f5ed; }
.guest-account-logout:focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media (max-width: 480px) {
  .guest-account { gap: 7px; padding-right: 6px; }
  #guest-profile-name { max-width: 110px; font-size: .85rem; }
  .guest-profile-role { font-size: .72rem; }
  .guest-account-logout { padding: 9px 12px; font-size: .85rem; }
}

#guest-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background: var(--gbg);
  overflow: hidden;
}

.guest-navbar {
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--nav-green-dark), var(--nav-green));
  border-bottom: 1px solid var(--nav-green-dark);
  min-height: 54px;
  padding: .35rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.guest-navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.guest-navbar-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: 0 1 auto;
}

.guest-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.guest-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white url('/assets/Isu_logo.jpg') center / contain no-repeat;
  color: white;
  font-weight: 900;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  overflow: hidden;
}

.guest-logo-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.01em;
  margin: 0;
}

.guest-logo-subtitle {
  font-size: 0.85rem;
  color: var(--nav-mint);
  margin: 0;
  line-height: 1.3;
}

.guest-navbar-right {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
  margin-left: auto;
}

.guest-btn-signup,
.guest-btn-qr {
  height: 34px;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: .875rem !important;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
              box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.guest-btn-signup {
  min-width: 84px;
  padding: 0 1rem !important;
  border: 1px solid rgba(255,255,255,.8);
  background: var(--wht);
  color: var(--nav-green-dark);
}

.guest-btn-qr {
  width: 34px;
  padding: 0 !important;
  border-color: rgba(255,255,255,.32);
  background: transparent;
  color: var(--wht);
}

.guest-btn-qr i { font-size: 1.2rem; }

.guest-btn-signup:hover {
  background: #f3f7f5;
  border-color: var(--wht);
  color: var(--nav-green-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
  transform: translateY(-1px);
}

.guest-btn-qr:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--wht);
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
  transform: translateY(-1px);
}

.guest-btn-signup:active,
.guest-btn-qr:active { transform: translateY(0); }

.guest-btn-signup:focus-visible,
.guest-btn-qr:focus-visible {
  outline: 3px solid rgba(255,255,255,.42);
  outline-offset: 3px;
}

.guest-scanner[hidden] { display: none; }
.guest-scanner {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.guest-scanner-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, .65);
}
.guest-scanner-panel {
  position: relative;
  width: min(92vw, 520px);
  overflow: hidden;
  border: 1px solid var(--bdr);
  border-radius: 8px;
  background: var(--wht);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.guest-scanner-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem .85rem;
}
.guest-scanner-header h2 { margin: 0; color: var(--gdk); font: 800 1.05rem var(--font-sans); }
.guest-scanner-header p { margin: .2rem 0 0; color: var(--mut); font-size: .82rem; }
.guest-scanner-close {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--bdr);
  border-radius: 50%;
  background: var(--wht);
  color: var(--gdk);
}
.guest-scanner-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #07110c;
}
.guest-scanner-viewport video { width: 100%; height: 100%; object-fit: cover; }
.guest-scanner-frame {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(60%, 240px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 4px;
  box-shadow: 0 0 0 999px rgba(0,0,0,.18);
}
.guest-scanner-help { margin: 0; padding: .8rem 1rem 1rem; color: var(--mut); font-size: .82rem; text-align: center; }

.guest-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.25rem 1.4rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.guest-portal-hero {
  width: 100%;
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem 1.3rem;
  border: 1px solid var(--nav-green-dark);
  border-radius: var(--radius-surface);
  background: linear-gradient(110deg, var(--nav-green-dark), #198744);
  box-shadow: 0 3px 8px rgba(15, 74, 42, .18);
  color: var(--wht);
}

.guest-portal-eyebrow {
  margin-bottom: .2rem;
  color: rgba(255, 255, 255, .7);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .82rem;
  text-transform: uppercase;
}

.guest-portal-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--wht);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
}

.guest-portal-hero h1 span {
  color: #d79b13;
  font-style: italic;
  font-weight: 400;
}

.guest-portal-hero h1 em { font-weight: 600; }

.guest-portal-hero p {
  max-width: 720px;
  margin: .45rem 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.45;
}

.guest-search-section {
  width: 100%;
  margin: 0;
  display: flex;
  gap: .35rem;
  align-items: center;
}

.guest-navbar-search {
  flex: 1 1 560px;
  min-width: 320px;
  max-width: 680px;
}

.guest-filter-toggle {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50% !important;
  background: var(--nav-mint);
  color: var(--nav-green-dark);
  cursor: pointer;
  box-shadow: none;
  transition: background-color .18s ease, box-shadow .18s ease,
              color .18s ease, transform .18s ease;
}

.guest-filter-toggle:hover {
  background: #a9e5bf;
  color: var(--nav-green-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,.14);
}

.guest-filter-toggle:hover { transform: translateY(-1px); }

.guest-filter-toggle.active {
  background: #96dbaf;
  color: var(--nav-green-dark);
  box-shadow: inset 0 0 0 2px rgba(16,74,42,.12);
}

.guest-filter-toggle:active { transform: translateY(0); }

.guest-filter-toggle:focus-visible {
  outline: 3px solid rgba(188,239,207,.3);
  outline-offset: 3px;
}

.guest-search-control {
  height: 32px;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: var(--wht);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.guest-search-control:focus-within {
  border-color: var(--nav-mint);
  box-shadow: 0 0 0 3px rgba(188,239,207,.25), 0 2px 8px rgba(0,0,0,.12);
}

.guest-search-input {
  flex: 1;
  height: 100%;
  min-width: 0;
  padding: 0 .8rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px 0 0 999px !important;
  background: var(--wht);
  color: var(--txt);
  font-size: .76rem;
  font-family: var(--font-sans);
}

.guest-search-input:focus {
  outline: none;
}

.guest-search-clear {
  width: 30px;
  height: 100%;
  flex: 0 0 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--wht);
  color: var(--mut);
  cursor: pointer;
  font-size: .72rem;
}

.guest-search-clear[hidden] { display: none; }
.guest-search-clear:hover { color: var(--nav-green-dark); }
.guest-search-clear:focus-visible {
  outline: 2px solid var(--nav-green);
  outline-offset: -3px;
}

.guest-search-btn {
  width: 42px;
  height: 100%;
  flex: 0 0 42px;
  padding: 0;
  background: var(--nav-green);
  color: var(--wht);
  border: 0;
  border-radius: 0 999px 999px 0 !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.guest-search-btn:hover {
  background: var(--nav-green-dark);
  color: var(--wht);
}

.guest-search-btn:active { background: #0d4329; }
.guest-search-btn i { font-size: 1.1rem; }

.guest-filters {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 1.3fr);
  gap: .4rem;
  width: 100%;
  margin: 0 0 .6rem;
  padding: .4rem .6rem;
  border: 1px solid rgba(227, 227, 230, .8);
  border-radius: var(--radius-surface);
  background: var(--wht);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  align-items: center;
}

.guest-filters.open { display: grid; }
#guest-title-sort .title-sort-control { display: flex; flex-wrap: nowrap; height: 100%; white-space: nowrap; }
#guest-title-sort select { min-width: 0; width: 100%; }

.guest-active-filters {
  display: none;
  flex-wrap: wrap;
  gap: .45rem;
  margin: -.35rem 0 .8rem;
}
.guest-active-filters.has-filters { display: flex; }
.guest-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 30px;
  padding: .25rem .35rem .25rem .7rem;
  border: 1px solid var(--bdr);
  border-radius: var(--radius-surface);
  background: var(--wht);
  color: var(--gdk);
  font-size: .74rem;
}
.guest-filter-pill button {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: var(--radius-surface);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.guest-filter-pill button:hover { background: var(--gbg); }

.guest-filter-dropdown {
  position: relative;
  min-width: 0;
}

.guest-filter-btn {
  width: 100%;
  height: 32px;
  padding: 0 .65rem;
  background: var(--gbg);
  color: var(--gdk);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-surface);
  font-weight: 400;
  cursor: pointer;
  font-size: .76rem;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.guest-filter-btn:hover {
  border-color: #d4d4d8;
  background: #e6e6e9;
}
#guest-title-sort .title-sort-dropdown summary:hover,
#guest-title-sort .title-sort-dropdown[open] summary { border-color: #d4d4d8; background: #e6e6e9; color: var(--gdk); box-shadow: none; }
#guest-title-sort .title-sort-options button:hover,
#guest-title-sort .title-sort-options button:focus-visible,
#guest-title-sort .title-sort-options button[aria-pressed="true"] { background: var(--row-hover); color: var(--nav-green-dark); font-weight: 400 !important; }

.guest-filter-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--wht);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-surface);
  min-width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 50;
  margin-top: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
}

.guest-filter-menu.active {
  display: block;
}

.guest-filter-item {
  padding: .6rem .8rem;
  color: var(--gdk);
  cursor: pointer;
  font-size: .82rem;
  transition: background 0.15s ease;
  border-bottom: 1px solid var(--bdr);
}

.guest-filter-item:last-child {
  border-bottom: none;
}

.guest-filter-item:hover {
  background: var(--row-hover);
  color: var(--nav-green-dark);
  font-weight: 400;
}

@media screen {
  #guest-page > .guest-container {
    max-width: none;
    margin-inline: 0;
    padding-inline: clamp(.5rem, 1%, .75rem);
  }
}

.guest-results-table-container {
  flex: 1;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--bdr);
  border-radius: var(--radius-surface);
  background: var(--wht);
}
.guest-results-table-container.is-empty {
  display: flex;
  border: 1px solid var(--bdr);
  border-radius: var(--radius-surface);
  background: var(--wht);
}
.guest-results-table-container.is-empty > .empty-state {
  flex: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.guest-table-wrap { width: 100%; overflow-x: auto; }
.guest-results-table { width: 100%; min-width: 980px; table-layout: fixed; }
.guest-results-table th { padding: .75rem .8rem; font-size: .7rem; text-align: center; }
.guest-results-table td { padding: .8rem; font-size: .8rem; text-align: center; vertical-align: middle; }
.guest-results-table th,
.guest-results-table td { border-bottom: 1px solid var(--bdr); }
.guest-results-table tbody tr:last-child td { border-bottom: 0; }
.guest-results-table th:first-child,
.guest-results-table td:first-child { width: 31%; text-align: left; }
.guest-results-table th:nth-child(2),
.guest-results-table td:nth-child(2) { width: 20%; text-align: left; }
.guest-results-table th:nth-child(3),
.guest-results-table td:nth-child(3) { width: 18%; text-align: left; }
.guest-results-table th:nth-child(4),
.guest-results-table td:nth-child(4) { width: 11%; }
.guest-results-table th:nth-child(5),
.guest-results-table td:nth-child(5) { width: 9%; }
.guest-results-table th:nth-child(6),
.guest-results-table td:nth-child(6) { width: 11%; }
.guest-results-table tbody tr { cursor: pointer; }
.guest-results-table tbody td { transition: background-color .15s ease; }
.guest-results-table tbody tr:hover td,
.guest-results-table tbody tr:focus td { background: var(--row-hover); }
.guest-table-title { color: var(--gdk); font-weight: 600; line-height: 1.35; }

#thesis-modal .guest-thesis-reading-view {
  width: min(96vw, 1040px);
  max-width: 1040px;
  max-height: 94vh;
}

#thesis-modal .guest-thesis-reading-view .modal-body {
  max-height: calc(94vh - 64px);
  overflow-y: auto;
}

.guest-view-only-label {
  color: var(--mut);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.guest-inline-document {
  overflow: visible;
  background: var(--wht);
}

.guest-inline-pdf {
  display: block;
  width: 100%;
  height: min(72vh, 760px);
  border: 0;
}

.guest-inline-docx {
  overflow: visible;
  background: var(--wht);
}

.guest-document-page {
  max-width: 860px;
  margin: 0;
  padding: .25rem 0 0;
  background: var(--wht);
  color: var(--txt);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .98rem;
  line-height: 1.8;
}

.guest-document-page h1,
.guest-document-page h2,
.guest-document-page h3 { color: var(--gdk); line-height: 1.3; }

.guest-document-page p { margin: 0 0 1rem; text-align: justify; }

.guest-inline-loading,
.guest-inline-unavailable {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 2rem;
  background: var(--wht);
  color: var(--mut);
  text-align: center;
}

.guest-inline-approval {
  margin: 0;
  padding: 0;
  background: var(--wht);
  text-align: left;
}

.guest-inline-approval img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  margin: 0;
  object-fit: contain;
}

.guest-inline-approval figcaption {
  margin-top: .65rem;
  color: var(--mut);
  font-size: .75rem;
}

#thesis-modal .guest-thesis-reading-view {
  -webkit-user-select: none;
  user-select: none;
}

.guest-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: .85rem;
}

.guest-card {
  background: var(--wht);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-surface);
  padding: 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border-color: #037542;
}

.guest-card:hover {
  border-color: var(--gdk);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.guest-card-badge {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-surface);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.guest-card-badge-bsit {
  background: #10b981;
  color: white;
}

.guest-card-badge-bscs {
  background: #3b82f6;
  color: white;
}

.guest-card-badge-bsdsa {
  background: #f97316;
  color: white;
}

.guest-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gdk);
  margin: 0.5rem 0 1rem 0;
  line-height: 1.4;
}

.guest-card-description {
  font-size: 0.9rem;
  color: var(--mut);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guest-card-year {
  font-size: 0.85rem;
  color: var(--mut);
  font-weight: 600;
}

@media (max-width: 1180px) {
  .guest-logo-subtitle { display: none; }
}

@media (max-width: 1024px) {
  .guest-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .guest-navbar-container {
    padding: 0 1.1rem;
  }
  .guest-container {
    padding: 1.1rem;
  }
}

@media (max-width: 768px) {
  .guest-navbar-container {
    flex-direction: column;
    gap: .75rem;
  }
  .guest-navbar-search {
    flex: none;
    min-width: 0;
    width: 100%;
  }
  .guest-navbar-left,
  .guest-navbar-right {
    width: 100%;
    justify-content: space-between;
  }
  .guest-navbar-right { flex-wrap: wrap; }
  .guest-logo {
    gap: 0.75rem;
  }
  .guest-logo-circle {
    width: 38px;
    height: 38px;
  }
  .guest-logo-title {
    font-size: 1.1rem;
  }
  .guest-search-section {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: .45rem;
  }
  .guest-filter-toggle { width: 30px; height: 30px; flex-basis: 30px; }
  .guest-search-control { height: 30px; }
  .guest-search-input { font-size: .8rem; }
  .guest-search-btn {
    width: 42px;
    flex-basis: 42px;
  }
  .guest-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .4rem .6rem;
    border-radius: var(--radius-surface);
  }
  .guest-results-grid {
    grid-template-columns: 1fr;
  }
  .guest-results-table { min-width: 860px; }
  .guest-container {
    padding: 1rem;
    border-color: #037542;
  }
}

@media (max-width: 430px) {
  .guest-btn-signup {
    min-width: 100px;
    padding-inline: .8rem !important;
  }

  .guest-btn-signup,
  .guest-btn-qr { height: 32px; }

  .guest-btn-qr { width: 32px; }

  .guest-search-section {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: .35rem;
  }
  .guest-filter-toggle { width: 30px; height: 30px; flex-basis: 30px; }
  .guest-search-control { height: 30px; }
  .guest-search-input { padding: 0 .7rem; font-size: .76rem; }
  .guest-search-btn { width: 38px; flex-basis: 38px; }
  .guest-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .4rem; }
  .guest-portal-hero { padding: 1rem; }
  .guest-portal-hero h1 { font-size: 1.55rem; }
  .guest-portal-hero p { font-size: .84rem; }
}

/* Compact mobile header: identity and actions, then full-width search. */
@media screen and (max-width: 768px) {
  .guest-navbar { padding-block: .4rem; }
  .guest-navbar-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding-inline: clamp(.5rem, 1%, .75rem);
    gap: .35rem .5rem;
  }
  .guest-navbar-left { grid-area: 1 / 1; width: auto; min-width: 0; }
  .guest-logo { gap: .45rem; }
  .guest-logo-circle { width: 30px; height: 30px; }
  .guest-logo-title { font-size: 1rem; }
  .guest-navbar-right { display: contents; }
  .guest-navbar-right > .guest-btn-signup,
  .guest-navbar-right > .guest-account { grid-area: 1 / 2; justify-self: end; }
  .guest-navbar-right > .guest-btn-signup { min-width: 0; height: 32px; padding-inline: .75rem !important; font-size: .78rem !important; }
  .guest-navbar-right > .guest-btn-qr { grid-area: 1 / 3; justify-self: end; width: 36px; height: 36px; }
  .guest-account { padding: 0; gap: 0; border: 0; background: transparent; }
  .guest-account-avatar { display: none; }
  .guest-account-profile {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #guest-account .guest-account-logout { min-height: 32px; padding: 6px .75rem !important; font-size: .78rem; }
  .guest-navbar-search { grid-area: 2 / 1 / 3 / -1; width: 100%; min-width: 0; grid-template-columns: 36px minmax(0, 1fr); gap: .4rem; }
  .guest-filter-toggle { width: 36px; height: 36px; flex-basis: 36px; }
  .guest-search-control { min-width: 0; height: 36px; }
  .guest-search-input { min-width: 0; font-size: 16px; padding-inline: .5rem; }
  .guest-search-btn { width: 34px; flex-basis: 34px; }
  .guest-container { min-height: 0; }
}
