/* --- VARIABLES, BASE, LAYOUT, DASHBOARD, MODAL --- */
:root {
  --ink: #111412;
  --muted: #757b77;
  --line: #e7e9e7;
  --soft: #f5f6f4;
  --lime: #d8ff4f;
  --red: #ee5c53;
  --amber: #eaa62c;
  --green: #347c58;
  --sidebar: 232px
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #f7f8f6;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px
}

[hidden] {
  display: none !important
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #0b0d0c;
  color: #fff;
  padding: 22px 14px 16px;
  display: flex;
  flex-direction: column;
  z-index: 10
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -10px -14px 10px -14px;
}

.brand-lockup img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 200px;
}

.brand-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  margin-left: 3px
}

.main-nav {
  display: grid;
  gap: 5px
}

.nav-item {
  border: 0;
  background: transparent;
  color: #9ca19e;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  text-align: left;
  font: 500 13px inherit;
  cursor: pointer;
  transition: .2s
}

.nav-item:hover {
  background: #171a18;
  color: #fff
}

.nav-item.active {
  background: #fff;
  color: #101210
}

.nav-item span {
  flex: 1
}

.nav-item svg {
  width: 17px;
  height: 17px
}

.nav-item b,
.nav-item em {
  background: #232724;
  color: #b9bfba;
  border-radius: 12px;
  font: 600 10px inherit;
  padding: 3px 7px
}

.nav-item.active b {
  background: #e9ece8;
  color: #202320
}

.nav-item b.warn {
  background: #40251f;
  color: #ff8e7f
}

.nav-item em {
  background: var(--lime);
  color: #111;
  font-style: normal
}

.nav-label {
  font: 600 9px "Manrope";
  letter-spacing: 1.7px;
  color: #5e625f;
  margin: 28px 12px 10px
}

.sidebar-foot {
  margin-top: auto
}

.help-card {
  width: 100%;
  background: #151816;
  border: 1px solid #252926;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  cursor: pointer
}

.help-card>span {
  width: 32px;
  height: 32px;
  background: #252925;
  border-radius: 7px;
  display: grid;
  place-items: center;
  grid-row: 1/3
}

.help-card svg {
  width: 16px
}

.help-card strong {
  font-size: 11px
}

.help-card small {
  font-size: 10px;
  color: #777e79
}

.user {
  border-top: 1px solid #232624;
  margin-top: 15px;
  padding: 15px 5px 0;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px
}

.user strong,
.user small {
  display: block
}

.user strong {
  font-size: 11px
}

.user small {
  font-size: 9px;
  color: #747a76;
  margin-top: 2px
}

.user button {
  background: none;
  border: 0;
  color: #777;
  cursor: pointer
}

main {
  grid-column: 2;
  min-width: 0
}

.topbar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 32px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 5
}

.crumb {
  font-size: 12px
}

.crumb span {
  color: #969b97
}

.crumb b {
  color: #d0d2d0;
  margin: 0 9px
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center
}

.search {
  height: 36px;
  width: 250px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  gap: 7px;
  color: #8c918e
}

.search svg {
  width: 15px
}

.search input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  font: 12px inherit
}

.search kbd {
  font: 10px inherit;
  background: #f0f1ef;
  padding: 2px 5px;
  border-radius: 4px
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer
}

.icon-button svg {
  width: 16px
}

.icon-button>span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ec5b4c;
  right: 7px;
  top: 7px
}

.primary-btn,
.secondary-btn {
  border: 0;
  border-radius: 7px;
  background: #111412;
  color: #fff;
  height: 36px;
  padding: 0 15px;
  font: 600 11px inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer
}

.primary-btn span {
  font-size: 16px
}

.content {
  max-width: 1600px;
  margin: auto;
  padding: 34px 34px 50px
}

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 27px
}

.eyebrow {
  font: 700 9px "Manrope";
  letter-spacing: 1.6px;
  color: #919692;
  margin: 0 0 9px
}

.hero-row h1 {
  font: 700 29px "Manrope";
  letter-spacing: -1px;
  margin: 0
}

.subtitle {
  color: #777d79;
  font-size: 12px;
  margin: 6px 0 0
}

.subtitle strong {
  color: #202420
}

.secondary-btn {
  background: #fff;
  color: #111;
  border: 1px solid var(--line)
}

.secondary-btn svg {
  width: 15px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px
}

.stat-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px
}

.stat-card {
  height: 145px;
  padding: 18px 19px;
  position: relative;
  overflow: hidden
}

.stat-card.dark {
  background: #111412;
  color: #fff;
  border-color: #111
}

.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #747a76;
  font-size: 10px
}

.stat-head svg {
  width: 16px
}

.stat-card>strong,
.score-wrap>strong {
  font: 700 31px "Manrope";
  display: block;
  margin-top: 13px;
  letter-spacing: -1px
}

.trend {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 5px;
  font-size: 9px;
  color: #6c726e
}

.trend b {
  color: #d8ff4f
}

.trend.positive b {
  color: var(--green)
}

.trend.danger b {
  color: var(--red)
}

.mini-bars {
  position: absolute;
  right: 16px;
  bottom: 20px;
  height: 28px;
  display: flex;
  align-items: flex-end;
  gap: 3px
}

.mini-bars i {
  width: 4px;
  background: #3a3e3b;
  border-radius: 2px;
  height: 20%
}

.mini-bars i:nth-child(2) {
  height: 38%
}

.mini-bars i:nth-child(3) {
  height: 28%
}

.mini-bars i:nth-child(4) {
  height: 62%
}

.mini-bars i:nth-child(5) {
  height: 50%
}

.mini-bars i:nth-child(6) {
  height: 78%
}

.mini-bars i:nth-child(7) {
  height: 68%
}

.mini-bars i:nth-child(8) {
  height: 100%;
  background: var(--lime)
}

.progress-line {
  height: 3px;
  background: #edf0ec;
  border-radius: 5px;
  margin-top: 15px
}

.progress-line i {
  display: block;
  background: #121513;
  height: 100%
}

.severity-dots {
  display: flex;
  gap: 4px;
  margin-top: 15px
}

.severity-dots i {
  height: 3px;
  flex: 1;
  background: var(--red)
}

.severity-dots .muted {
  background: #eee
}

.score-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.score-wrap small {
  font-size: 14px
}

.ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#151815 92%, #e8eae8 0);
  position: relative
}

.ring:after {
  content: "";
  position: absolute;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff
}

.ring span {
  z-index: 1;
  font-size: 8px
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(270px, .85fr);
  gap: 14px
}

.panel {
  min-width: 0
}

.panel-head {
  padding: 18px 19px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.panel-head h2 {
  font: 700 14px "Manrope";
  margin: 0
}

.panel-head p {
  font-size: 10px;
  color: #8b908c;
  margin: 4px 0 0
}

.text-btn {
  border: 0;
  background: none;
  font: 600 10px inherit;
  cursor: pointer;
  color: #333
}

.text-btn span {
  margin-left: 6px
}

.table-wrap {
  overflow: auto
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 690px
}

th {
  text-align: left;
  color: #9a9f9b;
  font-size: 8px;
  letter-spacing: .8px;
  padding: 8px 15px;
  border-bottom: 1px solid var(--line)
}

td {
  font-size: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid #eff0ef;
  vertical-align: middle;
  color: #4d524f
}

td:first-child {
  display: flex;
  align-items: center;
  gap: 10px
}

td strong,
td small {
  display: block
}

td strong {
  font-size: 10px;
  color: #1f231f
}

td small {
  font-size: 8px;
  color: #939793;
  margin-top: 3px
}

.file-icon {
  width: 28px;
  height: 28px;
  border: 1px solid #dfe2df;
  border-radius: 5px;
  background: #f7f8f7;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  color: #4d534f
}

.table-progress {
  width: 55px;
  height: 3px;
  background: #e9ebe9;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle
}

.table-progress i {
  height: 100%;
  background: #161916;
  display: block
}

.table-progress+small {
  display: inline
}

.status {
  padding: 4px 7px;
  border-radius: 10px;
  font-size: 8px;
  white-space: nowrap
}

.status.review {
  background: #fff3d7;
  color: #956717
}

.status.process {
  background: #e9efff;
  color: #4666a5
}

.status.ready {
  background: #e1f4e8;
  color: #347a54
}

.panel-foot {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #8c918d
}

.panel-foot button {
  border: 1px solid var(--line);
  background: #fff;
  width: 25px;
  height: 23px
}

.deadlines .panel-head {
  border-bottom: 1px solid var(--line)
}

.icon-button.small {
  width: 27px;
  height: 27px
}

.deadline-item {
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid #eff0ef
}

.date-box {
  width: 39px;
  height: 43px;
  border: 1px solid #dde0dd;
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 4px
}

.date-box strong {
  font: 700 15px "Manrope"
}

.date-box small {
  font-size: 7px;
  color: #8b908c
}

.deadline-item>div:nth-child(2) span,
.deadline-item>div:nth-child(2) strong,
.deadline-item>div:nth-child(2) small {
  display: block
}

.deadline-item span {
  font-size: 7px;
  color: #8b908c;
  font-weight: 700
}

.deadline-item strong {
  font-size: 9px;
  margin: 3px 0
}

.deadline-item small {
  font-size: 8px;
  color: #8b908c
}

.deadline-item>b {
  font-size: 9px;
  color: #777
}

.deadline-item.urgent .date-box {
  background: #fff2f0;
  border-color: #f1d1cd
}

.deadline-item.urgent span,
.deadline-item.urgent>b {
  color: var(--red)
}

.calendar-btn {
  margin: 13px 17px;
  width: calc(100% - 34px);
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: 600 9px inherit
}

.calendar-btn span {
  float: right
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px
}

.analysis-panel,
.finding-panel {
  height: 256px
}

.analysis-panel select {
  border: 1px solid var(--line);
  border-radius: 5px;
  font: 9px inherit;
  padding: 6px
}

.chart {
  height: 175px;
  display: grid;
  grid-template-columns: 25px 1fr;
  padding: 0 22px 15px
}

.y-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  color: #a0a5a1;
  padding-bottom: 20px
}

.bars {
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: repeating-linear-gradient(to bottom, #fff, #fff 37px, #f0f1f0 38px);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 13px
}

.bars div {
  height: 100%;
  width: 10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center
}

.bars i {
  width: 13px;
  max-height: 135px;
  background: #181b19;
  border-radius: 2px 2px 0 0
}

.bars div:nth-child(4) i {
  background: var(--lime);
  border: 1px solid #c2e842
}

.bars span {
  font-size: 8px;
  color: #8c918d;
  height: 20px;
  padding-top: 6px
}

.finding {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 31px 1fr 24px;
  gap: 11px;
  padding: 15px 18px;
  align-items: start
}

.finding-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 700
}

.finding-icon.red {
  background: #fff0ed;
  color: var(--red)
}

.finding-icon.amber {
  background: #fff5dc;
  color: var(--amber)
}

.finding strong {
  font-size: 10px
}

.finding p {
  font-size: 9px;
  color: #747a76;
  margin: 4px 0;
  line-height: 1.4
}

.finding small {
  font-size: 8px;
  color: #999
}

.finding small b {
  color: var(--red)
}

.finding button {
  border: 0;
  background: none
}

.mobile-menu {
  display: none
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 8, .68);
  backdrop-filter: blur(4px);
  z-index: 30;
  display: none;
  place-items: center;
  padding: 20px
}

.modal-backdrop.open {
  display: grid
}

.modal {
  width: min(500px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  position: relative;
  box-shadow: 0 25px 70px #0008
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: none;
  font-size: 24px;
  color: #888;
  cursor: pointer
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #111;
  color: var(--lime);
  margin-bottom: 17px
}

.modal-icon svg {
  width: 19px
}

.modal h2 {
  font: 700 22px "Manrope";
  margin: 0 0 8px
}

.modal>p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.6;
  color: #777
}

.dropzone {
  height: 150px;
  border: 1.5px dashed #c9ceca;
  border-radius: 9px;
  background: #f8f9f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 18px 0
}

.dropzone.drag {
  border-color: #111;
  background: #f0f5df
}

.dropzone input {
  display: none
}

.dropzone>span {
  font-size: 23px
}

.dropzone strong {
  font-size: 11px;
  margin: 7px 0 3px
}

.dropzone small {
  font-size: 9px;
  color: #8b908d
}

.upload-list {
  display: grid;
  gap: 6px;
  max-height: 100px;
  overflow: auto
}

.upload-item {
  background: #f5f6f4;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px
}

.upload-item b {
  margin-left: auto;
  color: #777;
  font-weight: 500
}

.modal-action {
  width: 100%;
  justify-content: center;
  margin-top: 16px
}

.modal-action:disabled {
  opacity: .35;
  cursor: not-allowed
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #111;
  color: #fff;
  border-radius: 9px;
  padding: 13px 18px;
  display: flex;
  gap: 11px;
  align-items: center;
  z-index: 50;
  transform: translateY(120px);
  opacity: 0;
  transition: .35s
}

.toast.show {
  transform: none;
  opacity: 1
}

.toast>span {
  color: var(--lime);
  font-size: 18px
}

.toast strong,
.toast small {
  display: block
}

.toast strong {
  font-size: 11px
}

.toast small {
  font-size: 9px;
  color: #9da29e;
  margin-top: 3px
}

.empty-search {
  text-align: center !important;
  padding: 30px !important;
  color: #999 !important
}

@media(max-width:1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .dashboard-grid {
    grid-template-columns: 1fr
  }

  .bottom-grid {
    grid-template-columns: 1fr
  }

  .search {
    display: none
  }
}

@media(max-width:760px) {
  :root {
    --sidebar: 0px
  }

  .app-shell {
    display: block
  }

  .sidebar {
    transform: translateX(-100%);
    width: 230px;
    transition: .25s
  }

  .sidebar.open {
    transform: none
  }

  .topbar {
    padding: 0 16px
  }

  .mobile-menu {
    display: block;
    border: 0;
    background: none;
    font-size: 20px
  }

  .crumb span,
  .crumb b {
    display: none
  }

  .primary-btn {
    font-size: 0
  }

  .primary-btn span {
    font-size: 18px
  }

  .content {
    padding: 24px 16px
  }

  .hero-row {
    align-items: flex-start
  }

  .hero-row .secondary-btn {
    display: none
  }

  .hero-row h1 {
    font-size: 24px
  }

  .stats-grid {
    grid-template-columns: 1fr
  }

  .bottom-grid {
    grid-template-columns: 1fr
  }

  .top-actions {
    gap: 6px
  }

  .dashboard-grid {
    display: block
  }

  .deadlines {
    margin-top: 14px
  }
}

/* --- POLISH, BRANDING, EMPTY STATES, SECURITY UI --- */
.clickable-row {
  cursor: pointer;
  transition: background 0.18s ease;
}

.clickable-row:hover,
.clickable-row:focus {
  background: #f7f9f3;
  outline: none;
}

.row-action {
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s ease;
}

.clickable-row:hover .row-action,
.clickable-row:focus .row-action {
  color: #fff;
  background: #111;
  border-color: #111;
}

.brand-lockup {
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-bottom: 1px solid #222522;
  margin: 0 5px 8px;
}

.brand-lockup img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  object-position: center;
}

.empty-ring {
  background: #eceeec;
}

.product-empty {
  min-height: 250px;
  padding: 38px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid var(--line);
}

.empty-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #151815;
  background: var(--lime);
  border-radius: 10px;
}

.empty-icon svg {
  width: 19px;
}

.product-empty>strong,
.compact-empty strong {
  margin-top: 13px;
  font: 700 12px "Manrope", sans-serif;
}

.product-empty p,
.compact-empty p {
  max-width: 350px;
  margin: 6px 0 16px;
  color: #858b86;
  font-size: 10px;
  line-height: 1.5;
}

.create-first {
  height: 34px;
}

.compact-empty {
  min-height: 222px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.compact-empty>span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #555b57;
  background: #f0f2ef;
  border-radius: 50%;
}

.compact-empty.horizontal {
  min-height: 164px;
  flex-direction: row;
  gap: 13px;
  text-align: left;
}

.compact-empty.horizontal strong {
  display: block;
  margin-top: 0;
}

.compact-empty.horizontal p {
  margin-bottom: 0;
}

.developer-brand {
  margin: 12px 16px 0;
  padding-top: 11px;
  border-top: 1px solid #1d211e;
  text-align: center;
}

.developer-brand span {
  display: block;
  margin-bottom: 7px;
  color: #464c48;
  font: 600 8px "Manrope", sans-serif;
  letter-spacing: 1.2px;
}

.developer-brand img {
  display: block;
  width: 104px;
  height: auto;
  max-height: 14px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.5;
}

.company-card[data-action="edit-company"] {
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.company-card[data-action="edit-company"]:hover,
.company-card[data-action="edit-company"]:focus {
  background: #fafbf8;
  border-color: #cfd4cf;
  box-shadow: 0 6px 18px rgba(17, 20, 18, 0.06);
  outline: none;
}

.company-card[data-action="edit-company"]>button {
  cursor: pointer;
}

.modal-locked {
  overflow: hidden;
}

.upload-item.rejected {
  border-color: #ead2cf;
  background: #fff5f4;
  color: #8d332b;
}

.upload-item.rejected b {
  color: #8d332b;
}

.task-progress {
  min-width: 168px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  display: grid;
  grid-template-columns: 8px 1fr;
  align-content: center;
  column-gap: 9px;
}

.task-progress span {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px #eef8ca;
  grid-row: 1 / 3;
}

.task-progress strong,
.task-progress small {
  display: block;
  line-height: 1.1;
}

.task-progress strong {
  font: 700 10px "Manrope", sans-serif;
}

.task-progress small {
  margin-top: 3px;
  color: #858b86;
  font-size: 8px;
}

.finding-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.finding-summary article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.finding-summary span,
.user-meta small,
.security-note {
  color: #858b86;
  font-size: 9px;
}

.finding-summary strong {
  display: block;
  margin-top: 7px;
  font: 800 24px "Manrope", sans-serif;
}

.user-grid {
  padding: 0 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.user-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.user-card-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

.user-card-head>span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #111;
  color: var(--lime);
}

.user-card-head svg,
.password-form svg {
  width: 16px;
}

.user-card h3 {
  margin: 0;
  font: 700 11px "Manrope", sans-serif;
}

.user-card p {
  margin: 4px 0 0;
  color: #858b86;
  font-size: 9px;
}

.user-meta {
  margin: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.user-meta b {
  font-size: 9px;
}

.password-form {
  display: grid;
  gap: 8px;
}

.password-form label {
  color: #575c58;
  font-size: 9px;
  font-weight: 600;
}

.password-form input,
.password-form select {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid #dfe2df;
  border-radius: 6px;
  background: #fff;
  font: 11px "DM Sans", sans-serif;
}

.password-form button {
  height: 32px;
  justify-content: center;
}

.security-note {
  max-width: 850px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #e6ddc8;
  border-radius: 8px;
  background: #fffaf0;
}

.agency-card {
  grid-template-columns: 42px 1fr minmax(76px, auto) 30px;
}

.agency-card>span {
  padding: 6px 8px;
  border-radius: 12px;
  background: #eef0ed;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 900px) {

  .user-grid,
  .finding-summary {
    grid-template-columns: 1fr;
  }

  .task-progress {
    display: none;
  }
}

/* --- MODULE VIEWS, FORMS, LISTS, FINDINGS --- */
.module-page {
  max-width: 1380px;
  margin: auto;
  padding: 34px
}

.module-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 25px
}

.module-heading h1 {
  margin: 0;
  font: 700 29px "Manrope";
  letter-spacing: -1px
}

.module-heading>div>p:last-child {
  margin: 7px 0 0;
  color: #767c78;
  font-size: 12px
}

.company-form {
  margin-bottom: 16px;
  scroll-margin-top: 82px
}

.company-form[hidden] {
  display: none
}

.close-form {
  border: 0;
  background: transparent;
  font-size: 24px;
  color: #858a86;
  cursor: pointer
}

.company-form form,
.letter-builder form {
  padding: 0 20px 22px
}

.form-section {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 0 13px;
  border-top: 1px solid var(--line)
}

.form-step {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #111;
  color: var(--lime);
  font: 700 9px "Manrope"
}

.form-section h3 {
  margin: 0;
  font: 700 12px "Manrope"
}

.form-section p {
  margin: 3px 0 0;
  color: #888e89;
  font-size: 9px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px
}

.form-grid label {
  color: #575c58;
  font-size: 9px;
  font-weight: 600
}

.form-grid label.wide {
  grid-column: 1/-1
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.member-row input,
.member-row select {
  display: block;
  width: 100%;
  height: 38px;
  margin-top: 6px;
  padding: 0 11px;
  border: 1px solid #dfe2df;
  border-radius: 6px;
  background: #fff;
  font: 11px "DM Sans";
  outline: none
}

.form-grid textarea {
  height: auto;
  padding: 11px;
  resize: vertical
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.member-row input:focus,
.member-row select:focus {
  border-color: #838a84;
  box-shadow: 0 0 0 3px #f0f2ee
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 7px
}

.mini-upload {
  min-height: 92px;
  padding: 16px;
  border: 1px dashed #cdd1cd;
  border-radius: 8px;
  background: #f8f9f7;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease
}

.file-format {
  align-self: flex-start;
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 7px;
  background: #e7ebe5;
  color: #626a63;
  font: 800 9px/1 "Manrope", sans-serif;
  font-style: normal;
  letter-spacing: .3px;
  display: none;
}

.file-format[data-format="PDF"] { background: #ffe1df; color: #a13731; }
.file-format[data-format="DOC"],
.file-format[data-format="DOCX"] { background: #dfeaff; color: #27579f; }
.file-format[data-format="XLS"],
.file-format[data-format="XLSX"] { background: #dff4e5; color: #287047; }
.file-format[data-format="IMG"],
.file-format[data-format="PNG"],
.file-format[data-format="JPG"],
.file-format[data-format="JPEG"] { background: #eee4ff; color: #6841a4; }
.file-format[data-format="MIX"] { background: #fff0c9; color: #8a6514; }

.mini-upload:hover,
.tender-upload:hover {
  border-color: #8d948e;
  background: #f4f7e8
}

.mini-upload.is-selected {
  border-style: solid;
  border-color: #9ac62f;
  background: #f1f8d8;
  animation: file-ready-pop .24s ease-out;
}

@keyframes file-ready-pop {
  0% { transform: scale(.98); }
  100% { transform: scale(1); }
}

.mini-upload.is-selected b {
  color: #3e6619;
}

.mini-upload.is-selected .file-format {
  background: #d8ff4f;
  color: #26350b;
  display: grid;
}

.mini-upload.is-selected span {
  color: #55752e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #ffe1df;
  color: #a13731;
  cursor: pointer;
}

.mini-upload { position: relative; }

.file-remove svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-remove:hover {
  background: #f5b8b2;
}

.mini-upload input,
.tender-upload input {
  display: none
}

.mini-upload b {
  font-size: 12px;
  line-height: 1.2
}

.mini-upload span {
  margin-top: 7px;
  color: #8b908c;
  font-size: 10px;
  line-height: 1.25
}

.member-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr 1fr auto;
  gap: 9px;
  margin-bottom: 8px
}

.member-row input,
.member-row select {
  margin: 0
}

.member-row button {
  width: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #9a4e47;
  font-size: 18px
}

.ghost-btn {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: 600 9px "DM Sans";
  cursor: pointer
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.form-actions button:disabled {
  opacity: .35;
  cursor: not-allowed
}

.company-list {
  min-height: 330px
}

.company-cards,
.tender-cards {
  padding: 0 18px 18px
}

.company-card {
  display: grid;
  grid-template-columns: 42px 1fr auto 30px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px
}

.company-monogram {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #111;
  color: var(--lime);
  font-weight: 700;
  overflow: hidden
}

.member-cv {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 9px;
  border: 1px dashed #cdd1cd;
  border-radius: 6px;
  color: #69716b;
  font-size: 10px;
  cursor: pointer;
  overflow: hidden;
}

.member-cv input { display: none; }
.member-cv-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  margin-right: 7px;
  border-radius: 6px;
  background: #e9efff;
  color: #3f65a8;
}
.member-cv-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.member-cv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-cv:hover .member-cv-icon { background: #d8ff4f; color: #35520b; }
.member-cv.is-selected { border-style: solid; border-color: #9ac62f; background: #f1f8d8; }
.member-cv.is-selected .member-cv-icon { background: #d8ff4f; color: #35520b; }
.member-cv:has(input:not(:placeholder-shown)) { border-color: #9ac62f; }

.company-monogram img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff
}

.company-card h3 {
  margin: 0;
  font: 700 11px "Manrope"
}

.company-card p {
  margin: 3px 0 0;
  color: #858b86;
  font-size: 9px
}

.company-card>span {
  color: #777d79;
  font-size: 9px
}

.company-card>button {
  border: 0;
  background: none;
  font-size: 16px
}

.tender-upload {
  height: 100px;
  border: 1px dashed #cdd1cd;
  border-radius: 8px;
  background: #f8f9f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.tender-upload>span {
  font-size: 20px
}

.tender-upload b {
  font-size: 10px;
  margin: 5px 0
}

.tender-upload small {
  color: #929793;
  font-size: 8px
}

.section-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.section-choices label {
  cursor: pointer
}

.section-choices input {
  position: absolute;
  opacity: 0
}

.section-choices label>span {
  min-height: 105px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 25px 1fr;
  align-content: center;
  column-gap: 8px;
  background: #fff
}

.section-choices svg {
  width: 20px;
  grid-row: 1/3
}

.section-choices b {
  font-size: 10px
}

.section-choices small {
  margin-top: 3px;
  color: #888e89;
  font-size: 8px
}

.section-choices input:checked+span {
  border-color: #111;
  background: #111;
  color: #fff;
  box-shadow: inset 0 -3px var(--lime)
}

.section-choices input:checked+span small {
  color: #a4aaa5
}

.tender-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 8px
}

.tender-card span {
  color: #7c827d;
  font-size: 8px
}

.tender-card h3 {
  margin: 4px 0;
  font: 700 11px "Manrope"
}

.tender-card p {
  margin: 0;
  color: #969b97;
  font-size: 8px
}

.section-tags {
  display: flex;
  gap: 5px
}

.section-tags b {
  padding: 5px 8px;
  border-radius: 10px;
  background: #eef0ed;
  font-size: 7px
}

.tender-card>button {
  border: 0;
  background: none;
  font: 600 9px "DM Sans";
  cursor: pointer
}

.document-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 13px
}

.document-filters button {
  height: 31px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: 600 8px "DM Sans"
}

.document-filters button.active {
  background: #111;
  color: #fff
}

.document-filters label {
  margin-left: auto;
  width: 220px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 9px;
  gap: 7px
}

.document-filters svg {
  width: 14px
}

.document-filters input {
  width: 100%;
  border: 0;
  outline: 0;
  font: 9px "DM Sans"
}

.letter-builder {
  max-width: 900px
}

.form-notice {
  padding: 12px;
  border-radius: 7px;
  background: #fff6df;
  color: #805e1c;
  font-size: 9px
}

.form-notice:before {
  content: "!";
  margin-right: 8px;
  font-weight: 800
}

@media(max-width:900px) {
  .module-page {
    padding: 24px 16px
  }

  .upload-grid,
  .section-choices {
    grid-template-columns: 1fr 1fr
  }

  .member-row {
    grid-template-columns: 1fr
  }

  .module-heading {
    align-items: flex-start
  }

  .module-heading>div>p:last-child {
    max-width: 70%
  }

  .tender-card {
    grid-template-columns: 1fr
  }

  .document-filters {
    flex-wrap: wrap
  }

  .document-filters label {
    margin-left: 0
  }
}

@media(max-width:560px) {

  .form-grid,
  .upload-grid,
  .section-choices {
    grid-template-columns: 1fr
  }

  .form-grid label.wide {
    grid-column: auto
  }

  .module-heading .primary-btn {
    font-size: 0
  }

  .module-heading .primary-btn::first-letter {
    font-size: 16px
  }
}

.findings-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px
}

.finding-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  padding: 0 18px 18px
}

.finding-workspace .product-empty {
  border: 1px solid var(--line);
  border-radius: 8px
}

.finding-guide {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f9f7;
  padding: 20px
}

.finding-guide h3 {
  margin: 0 0 12px;
  font: 700 12px "Manrope", sans-serif
}

.finding-guide ul {
  margin: 0;
  padding-left: 17px;
  color: #717772;
  font-size: 10px;
  line-height: 1.7
}

@media(max-width:900px) {

  .findings-summary,
  .finding-workspace {
    grid-template-columns: 1fr
  }
}

/* --- TENDER DETAIL --- */
.crumb-link,
.back-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer
}

.crumb-link {
  text-decoration: underline;
  text-underline-offset: 3px
}

.back-link {
  padding: 0;
  color: #707772;
  font-size: 10px
}

.back-link:hover,
.crumb-link:hover {
  color: #111
}

.detail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px
}

.detail-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef0ed;
  color: #687069;
  font-size: 8px
}

.tender-detail-grid {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.7fr);
  gap: 16px
}

.tender-context,
.requirement-workspace {
  min-height: 420px
}

.detail-facts {
  margin: 0;
  padding: 0 20px
}

.detail-facts div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line)
}

.detail-facts dt {
  color: #858b86;
  font-size: 8px
}

.detail-facts dd {
  margin: 4px 0 0;
  color: #242825;
  font-size: 11px;
  font-weight: 600
}

.detail-note {
  margin: 20px;
  padding: 13px;
  border-radius: 8px;
  background: #f5f7ea
}

.detail-note strong {
  font-size: 9px
}

.detail-note p {
  margin: 5px 0 0;
  color: #747b74;
  font-size: 9px;
  line-height: 1.45
}

.requirement-list {
  padding: 0 18px 18px;
  display: grid;
  gap: 10px
}

.requirement-card {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px
}

.requirement-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #111;
  color: var(--lime)
}

.requirement-icon svg {
  width: 17px
}

.requirement-card h3 {
  margin: 0;
  font: 700 11px "Manrope"
}

.requirement-card p {
  margin: 4px 0;
  color: #858b86;
  font-size: 9px
}

.requirement-meta {
  display: flex;
  gap: 10px;
  color: #969b97;
  font-size: 8px
}

.requirement-card .ghost-btn {
  white-space: nowrap
}

@media(max-width:900px) {
  .tender-detail-grid {
    grid-template-columns: 1fr
  }

  .detail-toolbar {
    margin-bottom: 16px
  }
}

/* --- AUTHENTICATION --- */
.brand-lockup{position:relative!important;height:100px!important;overflow:hidden!important;padding:0!important}.brand-lockup img{position:static!important;width:200px!important;height:auto!important;max-width:100%!important;max-height:86px!important;object-fit:contain!important;object-position:center!important}
.login-panel {
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  height: 100% !important;
  box-sizing: border-box !important
}

.login-copy {
  text-align: center !important
}

.login-copy>p:last-child {
  margin-left: auto !important;
  margin-right: auto !important
}

.login-screen form {
  width: 100% !important
}

.login-brand {
  position: relative !important;
  align-self: center !important;
  width: 300px !important;
  height: 132px !important;
  overflow: hidden !important;
  margin: 0 auto 26px !important
}

.login-brand img {
  position: absolute !important;
  display: block !important;
  width: 410px !important;
  height: 410px !important;
  max-width: none !important;
  left: -55px !important;
  top: -136px !important;
  margin: 0 !important;
  filter: none !important;
  mix-blend-mode: multiply !important;
  opacity: .92 !important
}

.login-powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: #9aa19a;
  font: 700 8px "Manrope";
  letter-spacing: 1.5px
}

.login-powered img {
  width: 132px;
  height: auto;
  filter: invert(1);
  opacity: .58
}

.login-submit {
  text-align: center !important;
  justify-content: center !important
}

.login-submit-label {
  display: inline-block;
  text-align: center !important
}

.logout-btn {
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #8e958e;
  font: 9px "DM Sans";
  cursor: pointer;
  text-align: left
}

.logout-btn:hover {
  color: #d4e7a4
}

.login-screen {
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(420px, 1.15fr);
  background: #f4f6f1;
  color: var(--ink)
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(430px, calc(100% - 64px));
  margin: auto;
  padding: 42px 0
}

.login-brand {
  text-align: center
}

.login-brand img {
  width: 260px;
  height: auto;
  margin: 0 auto 50px;
  mix-blend-mode: multiply;
  opacity: 0.9
}

.login-copy h1 {
  margin: 8px 0 10px;
  font: 800 29px/1.12 "Manrope";
  letter-spacing: -1px
}

.login-copy>p:last-child {
  max-width: 330px;
  margin: 0 0 30px;
  color: #777e78;
  font-size: 12px;
  line-height: 1.55
}

.login-copy .eyebrow {
  margin: 0;
  color: #899188;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700
}

.login-screen form {
  display: grid;
  gap: 15px
}

.login-screen label {
  display: grid;
  gap: 7px;
  color: #555c56;
  font-size: 10px;
  font-weight: 700
}

.login-screen input {
  height: 45px;
  padding: 0 13px;
  border: 1px solid #dfe4de;
  border-radius: 8px;
  background: #fff;
  color: #202521;
  font: 12px "DM Sans";
  outline: 0;
  transition: border-color .2s, box-shadow .2s
}

.login-screen input:focus {
  border-color: #a0ad82;
  box-shadow: 0 0 0 4px rgba(163, 183, 103, .2)
}

.password-field { position: relative; }
.password-field input { width: 100%; padding-right: 44px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8b948c;
  cursor: pointer;
}
.password-toggle:hover, .password-toggle.is-visible { background: #eef4dc; color: #56701f; }
.password-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.login-submit {
  position: relative;
  width: 100%;
  height: 45px;
  margin-top: 6px
}

.login-submit[aria-busy=true] {
  cursor: wait;
  opacity: .8
}

.login-submit[aria-busy=true] .login-submit-label {
  visibility: hidden
}

.login-spinner {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: login-spin .7s linear infinite
}

.login-submit[aria-busy=true] .login-spinner {
  display: block
}

.login-error {
  min-height: 16px;
  margin: 0;
  color: #a34d45;
  font-size: 10px
}

.login-footnote {
  margin-top: 26px;
  color: #969d96;
  font-size: 9px;
  line-height: 1.5
}

.login-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 44%, #2d352e 0, #111612 42%, #080a09 100%);
  color: #eff4e8
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(203, 220, 182, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(203, 220, 182, .3) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent)
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(204, 225, 164, .3);
  border-radius: 50%;
  transform: rotate(-20deg);
  animation: orbit-float 8s ease-in-out infinite
}

.orbit-one {
  width: 440px;
  height: 180px
}

.orbit-two {
  width: 600px;
  height: 270px;
  animation-delay: -3s
}

.visual-content {
  position: relative;
  text-align: center
}

.visual-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border: 1px solid rgba(214, 237, 175, .5);
  border-radius: 22px;
  color: #d9f49f;
  font: 800 20px "Manrope";
  box-shadow: 0 0 45px rgba(182, 222, 109, .2)
}

.visual-content p {
  margin: 0;
  color: #c0c9bc;
  font: 600 14px/1.6 "Manrope"
}

@keyframes login-spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes orbit-float {
  50% {
    transform: rotate(-14deg) scale(1.04);
    opacity: .7
  }
}

@media(max-width:780px) {
  .login-screen {
    grid-template-columns: 1fr;
    overflow: visible;
    height: auto;
    min-height: 100vh
  }

  .login-visual {
    display: none
  }

  .login-panel {
    width: min(430px, calc(100% - 40px));
    padding: 34px 0
  }

  .login-brand img {
    margin-bottom: 35px
  }
}
