.sgudoc-browser {
  --sgu-navy: #0b172b;
  --sgu-blue: #1499c4;
  --sgu-cyan: #45b9dc;
  --sgu-mist: #eaf8fc;
  --sgu-line: #dfe7ef;
  --sgu-muted: #66758a;
  overflow: hidden;
  border: 1px solid var(--sgu-line);
  border-radius: 18px;
  background: #fff;
  color: #122238;
  box-shadow: 0 12px 38px rgba(17,35,61,.06);
}

.sgudoc-toolbar {
  display: grid;
  grid-template-columns: minmax(220px,1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid #e4eaf0;
  background: #f7f9fb;
}

.sgudoc-toolbar label { margin: 0; }

.sgudoc-search {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d5dee8;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #122238;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.sgudoc-search:focus { border-color: var(--sgu-blue); box-shadow: 0 0 0 3px rgba(20,153,196,.12); }
.sgudoc-filters { display: flex; flex-wrap: wrap; gap: 7px; }

.sgudoc-filter {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--sgu-line);
  border-radius: 9px;
  background: #fff;
  color: var(--sgu-navy);
  cursor: pointer;
  font-size: .73rem;
  font-weight: 750;
}

.sgudoc-filter:hover { border-color: #b9c8d7; }
.sgudoc-filter.is-active { border-color: var(--sgu-navy); background: var(--sgu-navy); color: #fff; }
.sgudoc-grid { display: grid; grid-template-columns: 1fr; gap: 0; }

.sgudoc-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 0;
  border-bottom: 1px solid #e8edf2;
  border-radius: 0;
  background: #fff;
  transition: background .16s ease;
}

.sgudoc-card:last-child { border-bottom: 0; }
.sgudoc-card[hidden] { display: none; }
.sgudoc-card:hover { background: #f8fbfd; }

.sgudoc-card__format {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 11px;
  background: var(--sgu-mist);
  color: #147fa4;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .03em;
}

.sgudoc-card__title { margin: 5px 0; color: #122238; font-size: .98rem; letter-spacing: -.02em; line-height: 1.35; }
.sgudoc-card__meta { color: var(--sgu-muted); font-size: .7rem; }

.sgudoc-card__download {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: var(--sgu-navy);
  color: #fff;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}

.sgudoc-card__download:hover { transform: translateY(-1px); background: var(--sgu-blue); color: #fff; }
.sgudoc-no-results,.sgudoc-empty { grid-column: 1/-1; margin: 20px; padding: 35px; border: 1px dashed var(--sgu-cyan); border-radius: 12px; color: var(--sgu-muted); text-align: center; }
.screen-reader-text { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media(max-width:800px) { .sgudoc-toolbar { grid-template-columns:1fr; } }
@media(max-width:500px) {
  .sgudoc-toolbar { padding: 14px; }
  .sgudoc-card { padding: 17px 14px; gap: 13px; }
  .sgudoc-card__format { width: 44px; height: 44px; }
}

.jednaki-contact-card {
  --sgu-navy: #0b172b;
  --sgu-blue: #1499c4;
  --sgu-cyan: #45b9dc;
  padding: 26px;
  background: #fff;
}
.jednaki-contact-notice { margin-bottom: 20px; padding: 13px 15px; border: 1px solid; border-radius: 10px; font-size: .84rem; }
.jednaki-contact-notice.is-success { border-color: #a9decf; background: #e8f8f2; color: #106a56; }
.jednaki-contact-notice.is-error { border-color: #edb9c0; background: #fff0f2; color: #a22b3c; }
.jednaki-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.jednaki-contact-form label { display: flex; flex-direction: column; gap: 7px; color: #435269; font-size: .78rem; font-weight: 750; }
.jednaki-contact-form input:not([type="checkbox"]), .jednaki-contact-form select, .jednaki-contact-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d2dce7; border-radius: 9px; outline: 0; background: #fff; color: #122238; transition: border-color .16s ease, box-shadow .16s ease; }
.jednaki-contact-form textarea { resize: vertical; }
.jednaki-contact-form input:focus, .jednaki-contact-form select:focus, .jednaki-contact-form textarea:focus { border-color: var(--sgu-blue); box-shadow: 0 0 0 3px rgba(20,153,196,.12); }
.jednaki-contact-span { grid-column: 1/-1; }
.jednaki-contact-consent { align-items: flex-start; flex-direction: row!important; gap: 9px!important; font-weight: 500!important; line-height: 1.5; }
.jednaki-contact-consent input { margin-top: 4px; }
.jednaki-contact-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 22px;
  border: 1px solid #0b172b;
  border-radius: 11px;
  background: linear-gradient(135deg, #0b172b, #183757);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11,23,43,.18);
  cursor: pointer;
  font-weight: 800;
  opacity: 1;
  visibility: visible;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.jednaki-contact-submit:hover { transform: translateY(-1px); border-color: #1499c4; background: linear-gradient(135deg, #1499c4, #45b9dc); box-shadow: 0 15px 30px rgba(20,153,196,.23); }
.jednaki-contact-submit:focus-visible { outline: 3px solid rgba(69,185,220,.42); outline-offset: 3px; }
.jednaki-contact-submit:active { transform: translateY(0); }
.jednaki-honeypot { position: absolute!important; left: -9999px!important; width: 1px; height: 1px; overflow: hidden; }
@media(max-width:600px) { .jednaki-contact-card { padding: 20px 16px; } .jednaki-contact-grid { grid-template-columns:1fr; } .jednaki-contact-span { grid-column:auto; } }
