@import url('./consent.css');
:root {
  --bg-a: #fff7ef;
  --bg-b: #edf5ff;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --ink: #1a2738;
  --muted: #56637a;
  --line: #cfdced;
  --brand: #0b4f94;
  --brand-deep: #093a6b;
  --accent: #f26d21;
  --shadow-sm: 0 10px 24px rgba(11, 32, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 34, 65, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Trebuchet MS", "Lucida Grande", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 640px at -12% -10%, #ffe8d6 0%, rgba(255, 232, 214, 0) 72%),
    radial-gradient(980px 680px at 115% 0%, #dcecff 0%, rgba(220, 236, 255, 0) 70%),
    linear-gradient(165deg, var(--bg-a), var(--bg-b) 58%, #f3f8ff);
}

.prez {
  padding: 20px 0 36px;
}

.prez-wrap {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.prez-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(130deg, #ffffff 0%, var(--panel-soft) 54%, #f0f6ff 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}

.prez-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.prez-brand img {
  display: block;
  width: 125px;
  height: 124px;
  object-fit: cover;
  border-radius: 16px;
}

.prez-intro {
  display: grid;
  gap: 10px;
  align-content: center;
}

.prez-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand);
}

.prez-heading {
  margin: 0;
  font-family: "Franklin Gothic Demi", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.08;
  color: var(--brand-deep);
}

.prez-lead {
  margin: 0;
  max-width: 65ch;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}

.prez-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.prez-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.14s ease, box-shadow 0.18s ease, background-color 0.2s ease, color 0.2s ease;
}

.prez-btn:hover,
.prez-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.prez-btn-primary {
  background: linear-gradient(140deg, var(--brand) 0%, #1370cc 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 95, 179, 0.26);
}

.prez-btn-primary:hover,
.prez-btn-primary:focus-visible {
  box-shadow: 0 12px 22px rgba(10, 95, 179, 0.32);
}

.prez-btn-secondary {
  background: #fff;
  color: var(--brand-deep);
  border-color: #b7cadf;
}

.prez-btn-secondary:hover,
.prez-btn-secondary:focus-visible {
  background: #f4f9ff;
}

.prez-btn-danger {
  background: linear-gradient(140deg, #c53030 0%, #e15454 100%);
  color: #fff;
  border-color: #c53030;
  box-shadow: 0 8px 20px rgba(197, 48, 48, 0.26);
}

.prez-btn-danger:hover,
.prez-btn-danger:focus-visible {
  background: linear-gradient(140deg, #a62626 0%, #cf4444 100%);
  box-shadow: 0 12px 22px rgba(166, 38, 38, 0.32);
}

.prez-panel {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.prez-search-group {
  display: grid;
  gap: 6px;
  flex: 1 1 340px;
}

.prez-search-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
}

.prez-search {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #b8cce3;
  background: #fff;
  color: var(--ink);
  font: 600 15px/1.2 "Trebuchet MS", "Lucida Grande", "Segoe UI", sans-serif;
}

.prez-search::placeholder {
  color: #7688a5;
  font-weight: 500;
}

.prez-search:focus {
  border-color: #1f72c2;
  box-shadow: 0 0 0 4px rgba(31, 114, 194, 0.15);
  outline: none;
}

.prez-counter {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 4px;
}

.prez-help {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #ffffff, var(--panel-soft));
}

.prez-help-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.prez-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  counter-reset: step;
}

.prez-steps li {
  position: relative;
  margin: 0;
  padding: 10px 10px 10px 42px;
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  color: #33425c;
  line-height: 1.35;
  font-size: 14px;
}

.prez-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(140deg, var(--accent), #f08a37);
}

.prez-products {
  padding-top: 4px;
}

.prez-subheading {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: "Franklin Gothic Demi", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  color: var(--brand-deep);
}

.prez-grid {
  display: grid;
  gap: 12px;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
}

.prez-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--panel-soft));
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 0 rgba(230, 238, 248, 0.95), 0 8px 18px rgba(16, 39, 72, 0.08);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.prez-tile::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #d9e7f8 0%, #f5d5bc 50%, #e6effb 100%);
}

.prez-tile:hover,
.prez-tile:focus-visible {
  transform: translateY(-3px);
  border-color: #adc4df;
  box-shadow: 0 3px 0 rgba(223, 233, 245, 0.9), 0 14px 24px rgba(16, 39, 72, 0.14);
  outline: none;
}

.prez-tile:active {
  transform: translateY(-1px);
}

.prez-tile-soon {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.62;
  background: linear-gradient(180deg, #f6f8fb, #eef2f7);
  border-color: #d8e0eb;
  box-shadow: none;
}

.prez-tile-soon::before {
  background: linear-gradient(90deg, #e4e9f0 0%, #d9e0ea 50%, #e4e9f0 100%);
}

.prez-tile-soon:hover,
.prez-tile-soon:focus-visible,
.prez-tile-soon:active {
  transform: none;
  border-color: #d8e0eb;
  box-shadow: none;
}

.prez-tile-soon .prez-ico {
  border-color: #d9e1ec;
  background: linear-gradient(180deg, #f4f7fb, #e9eef5);
}

.prez-tile-soon .prez-title {
  color: #5f6f86;
}

.prez-tile-soon .prez-title::after {
  content: "Wkrotce";
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 800;
  color: #6a7d9b;
  background: #edf2f9;
  border: 1px solid #ccd7e7;
  border-radius: 999px;
  padding: 2px 7px;
}

.prez-tile[hidden] {
  display: none !important;
}

.prez-ico {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 1px solid #d8e2ef;
  background: linear-gradient(180deg, #f9fbff, #eff4fb);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prez-ico img {
  max-width: 62px;
  max-height: 62px;
  width: 100%;
  height: auto;
  display: block;
}

.prez-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  margin-top: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #22324a;
  line-height: 1.2;
}

.prez-title::after {
  content: "->";
  font-size: 11px;
  color: #6783a6;
  font-weight: 900;
}

.prez-empty {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed #c5d6eb;
  background: #f8fbff;
  font-weight: 700;
  color: #3f5272;
  text-align: center;
}

.prez-projects {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.prez-projectsPanel {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.prez-projectsLead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.prez-projectsForm {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
}

.prez-projectsLabel {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
}

.prez-projectsActions {
  grid-column: 2;
  display: flex;
  justify-content: flex-start;
}

.prez-projectsStatus {
  margin: 12px 0 0;
  font-size: 13px;
  color: #3f5272;
  font-weight: 700;
}

.prez-projectsGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.prez-projectCard {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(170deg, #fff, #f8fbff);
  padding: 10px;
  box-shadow: 0 8px 18px rgba(16, 39, 72, 0.08);
}

.prez-projectMedia {
  width: 108px;
  height: 108px;
  border-radius: 12px;
  border: 1px solid #d8e2ef;
  background: #f4f8ff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prez-projectMedia img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.prez-projectPlaceholder {
  padding: 0 8px;
  text-align: center;
  font-size: 12px;
  color: #6f819e;
  font-weight: 700;
}

.prez-projectBody {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.prez-projectTitle {
  margin: 0;
  font-size: 16px;
  color: var(--brand-deep);
}

.prez-projectMeta {
  margin: 0;
  color: #475a77;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.prez-projectActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prez-projectActions .prez-btn {
  min-height: 36px;
  padding: 0 14px;
}

@media (max-width: 920px) {
  .prez-wrap {
    width: calc(100% - 20px);
  }

  .prez-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 16px;
  }

  .prez-intro {
    justify-items: center;
  }

  .prez-lead {
    max-width: 60ch;
  }

  .prez-panel {
    align-items: flex-start;
  }

  .prez-counter {
    padding-bottom: 0;
  }

  .prez-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prez-projectsForm {
    grid-template-columns: 1fr;
  }

  .prez-projectsActions {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .prez {
    padding: 14px 0 24px;
  }

  .prez-hero,
  .prez-panel,
  .prez-help {
    border-radius: 16px;
  }

  .prez-heading {
    font-size: clamp(26px, 8vw, 34px);
  }

  .prez-lead {
    font-size: 15px;
  }

  .prez-steps {
    grid-template-columns: 1fr;
  }

  .prez-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prez-projectCard {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .prez-projectMedia {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 430px) {
  .prez-wrap {
    width: calc(100% - 14px);
  }

  .prez-brand {
    width: 132px;
  }

  .prez-brand img {
    width: 112px;
    height: 111px;
  }

  .prez-tile {
    padding: 12px 10px 14px;
    border-radius: 14px;
  }

  .prez-ico {
    width: 76px;
    height: 76px;
  }
}
