:root {
  --gis-blue: #3aabe1;
  --gis-charcoal: #5e5e60;
  --gis-background: #f7f9fb;
  --gis-surface: #ffffff;
  --gis-border: #d9e2ea;

  --gis-success: #2e8b57;
  --gis-warning: #f4a300;
  --gis-danger: #c73b3b;

  --gis-text-primary: #2f3a43;
  --gis-text-secondary: #6f7a85;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gis-blue);
}

.brand-mark img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.brand-name {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--gis-charcoal);
}

.brand-subtitle {
  color: var(--gis-text-secondary);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar {
  width: 250px;
  min-width: 250px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 16px;
  background: #1f3440;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gis-blue);
}

.brand-mark img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 0.76rem;
  line-height: 1.25;
  color: #c7d5dc;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #dbe7ec;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.nav-item:hover {
  background: rgba(58, 171, 225, 0.16);
  color: #ffffff;
}

.nav-item.active {
  background: var(--gis-blue);
  color: #ffffff;
}

.nav-icon,
.sidebar-action-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-item.active .nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-section,
.client-workspace-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sidebar-section-label {
  padding: 0 10px 4px;
  color: #9fb5c0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-action {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(58, 171, 225, 0.32);
  border-radius: 10px;
  background: rgba(58, 171, 225, 0.1);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.sidebar-action:hover {
  background: rgba(58, 171, 225, 0.2);
}

.sidebar-count {
  min-width: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--gis-blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.section-link {
  width: 100%;
  padding: 9px 12px 9px 46px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cbd9df;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}
.client-workspace-nav .sidebar-section-label {
  padding: 0 12px 5px;
  color: rgba(255, 255, 255, 0.9);
}

.client-workspace-nav .section-link {
  padding: 8px 12px 8px 20px;
  color: #ffffff;
}

.client-workspace-nav .section-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.section-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .sidebar {
    width: 210px;
    min-width: 210px;
  }

  .brand-subtitle {
    display: none;
  }
}
.blue-folder-workspace {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.blue-folder-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.blue-folder-header h2 {
  margin: 4px 0 8px;
}

.blue-folder-header p {
  margin: 0;
  max-width: 760px;
  color: var(--gis-text-secondary);
}

.blue-folder-summary-count {
  min-width: 120px;
  padding: 16px;
  border-radius: 14px;
  background: #e9f7fd;
  text-align: center;
}

.blue-folder-summary-count span {
  display: block;
  color: var(--gis-text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blue-folder-summary-count strong {
  display: block;
  margin-top: 4px;
  font-family: "PT Serif", Georgia, serif;
  font-size: 2rem;
  color: var(--gis-blue);
}

.blue-folder-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blue-folder-column {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--gis-border);
  border-radius: 16px;
  background: #f7f9fb;
}

.blue-folder-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blue-folder-column-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.blue-folder-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blue-folder-card {
  padding: 16px;
  border: 1px solid var(--gis-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(40, 62, 80, 0.06);
}

.blue-folder-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.blue-folder-card h4 {
  margin: 0;
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.05rem;
}

.blue-folder-card p {
  margin: 4px 0 0;
  color: var(--gis-text-secondary);
  font-size: 0.84rem;
}

.blue-folder-owner {
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf2f5;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.blue-folder-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.blue-folder-details div {
  min-width: 0;
}

.blue-folder-details dt {
  color: var(--gis-text-secondary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blue-folder-details dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.blue-folder-issue {
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 10px;
  background: #fff6e7;
  color: #7d5600;
  font-size: 0.86rem;
}

@media (max-width: 1100px) {
  .blue-folder-columns {
    grid-template-columns: 1fr;
  }
}
.client-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.client-search-results[hidden],
.client-profile-placeholder[hidden],
#clientProfile[hidden] {
  display: none;
}

.client-search-results .client-row {
  width: 100%;
  text-align: left;
}

.client-search-empty {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.client-profile-placeholder {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  text-align: center;
}

.client-placeholder-logo {
  width: clamp(180px, 24vw, 300px);
  max-height: 260px;
  object-fit: contain;
  opacity: 0.22;
  filter: grayscale(0.2);
}
.client-header {
  position: relative;
  padding-right: 52px;
}

.client-profile-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  line-height: 1;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--gis-background);
}

.login-card {
  width: min(100%, 420px);
  padding: 36px;
  border: 1px solid var(--gis-border);
  border-radius: 18px;
  background: var(--gis-surface);
  box-shadow: 0 18px 48px rgba(47, 58, 67, 0.12);
}

.login-logo {
  display: block;
  width: 150px;
  max-height: 90px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.login-heading {
  margin-bottom: 24px;
  text-align: center;
}

.login-heading h1 {
  margin: 0 0 6px;
  color: var(--gis-text-primary);
}

.login-heading p {
  margin: 0;
  color: var(--gis-text-secondary);
}

.login-form {
  display: grid;
  gap: 10px;
}

.login-form input {
  width: 100%;
  margin-bottom: 8px;
}

.login-form button {
  width: 100%;
  margin-top: 8px;
}

.login-message {
  margin: 0;
  color: var(--gis-danger);
  font-size: 0.9rem;
  text-align: center;
}
.signed-in-user {
  display: grid;
  gap: 2px;
  min-width: 130px;
  text-align: right;
}

#signedInUserName {
  color: var(--gis-text-primary);
  font-weight: 700;
}

#signedInUserRole {
  color: var(--gis-text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}