.header {
  height: auto;
  min-height: 105px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  padding: 24px 0;
}
.header nav {
  justify-self: center;
  gap: 26px;
  font-size: 14px;
}
.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
}
.account-link:hover {
  border-color: var(--blue);
  background: var(--pale);
}
.lead {
  font-size: 15px;
}
.intro {
  min-height: 340px;
}
.tools-section {
  margin: 4px 0 48px;
}
.tools-section > h2 {
  margin-bottom: 24px;
}
.tool-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.tool-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  align-items: center;
  padding: 29px 30px;
  transition: background 0.15s;
}
.tool-choice + .tool-choice {
  border-top: 1px solid var(--line);
}
.tool-choice:hover {
  background: #f1f5ff;
  color: var(--ink);
}
.tool-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--pale);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.tool-icon .icon {
  width: 30px;
  height: 30px;
}
.tool-label {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}
.tool-choice h3 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 4px 0 8px;
}
.tool-choice p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 670px;
}
.choice-action {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  padding-left: 20px;
}
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 42px 0 60px;
}
.value-strip h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.value-strip p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.value-strip > div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.workbench-side h2 {
  font-size: 28px;
}
.button {
  font-size: 14px;
}
.drop-zone > span:not(.upload-symbol) {
  font-size: 14px;
}
.drop-zone .file-spec {
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.2px;
}
.privacy-hint {
  font-size: 13px;
}
.report-label {
  line-height: 1.7;
}
.report-section {
  margin-top: 44px;
}
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}
.action-status {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.action-status:empty {
  display: none;
}
.share-dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 570px;
  width: calc(100% - 32px);
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
}
.share-dialog::backdrop {
  background: #16233380;
}
.share-dialog h2 {
  font-size: 24px;
}
.share-dialog p {
  font-size: 14px;
  color: var(--muted);
}
.dialog-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0;
}
.dialog-choice input {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  margin: 0;
}
.dialog-choice label {
  font-size: 14px;
  line-height: 1.6;
}
.share-url {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  font-size: 14px;
  margin-top: 8px;
}
.share-dialog > label {
  font-size: 14px;
}
.button-danger {
  background: var(--red);
  color: #fff;
}
.account-page,
.install-page,
.public-report {
  padding: 55px 0 65px;
  min-height: 70vh;
}
.account-page h1,
.public-report h1 {
  font-size: 42px;
  letter-spacing: -1.5px;
}
.login-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px;
  border-radius: 8px;
  margin: 30px 0;
}
.login-panel h2 {
  font-size: 23px;
}
.login-panel p {
  font-size: 14px;
  color: var(--muted);
}
.login-yandex {
  background: #24272a;
  color: #fff;
  min-width: 200px;
}
.login-yandex:hover {
  background: #090b0c;
  color: #fff;
}
.login-vk {
  background: #0068de;
  color: #fff;
  min-width: 200px;
}
.login-vk:hover {
  background: #005ac2;
  color: #fff;
}
.button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}
.saved-section {
  margin-top: 40px;
}
.empty-state {
  padding: 25px 0;
  color: var(--muted);
  font-size: 15px;
}
.report-details {
  margin: 25px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.report-details h3 {
  font-size: 18px;
  margin: 0 0 14px;
}
.report-details dl {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px 22px;
  margin: 0;
}
.report-details dt {
  font-size: 14px;
  color: var(--muted);
}
.report-details dd {
  font-size: 14px;
  overflow-wrap: anywhere;
  margin: 0;
}
.report-details li {
  font-size: 14px;
  line-height: 1.8;
  margin: 7px 0;
}
.report-details ul {
  margin: 0;
  padding-left: 22px;
}
.analysis-symbol {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--line);
  border-radius: 16px;
  color: var(--blue);
}
.analysis-symbol .icon {
  width: 38px;
  height: 38px;
}
.findings-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.finding {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.finding > .icon {
  color: var(--muted);
  margin-top: 3px;
}
.finding.warning {
  border-left: 3px solid #9c6800;
}
.finding.warning > .icon {
  color: #865900;
}
.finding h3 {
  font-size: 16px;
  margin: 0 0 5px;
}
.finding p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.install-page h1 span {
  color: var(--blue);
}
.install-page > .button {
  margin-top: 25px;
}
.install-instructions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  margin: 44px 0 28px;
}
.install-instructions h2 {
  font-size: 24px;
}
.install-instructions ol {
  font-size: 15px;
  line-height: 1.9;
  padding-left: 22px;
  color: var(--muted);
}
.install-invite {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  max-width: 600px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border: 1px solid #b5c7ff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 8px 35px #19232920;
}
.install-invite strong {
  font-size: 15px;
}
.install-invite p {
  font-size: 13px;
  color: var(--muted);
  margin: 3px 0 0;
}
.install-invite .button {
  margin-left: auto;
  font-size: 13px;
  padding: 11px 14px;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 6px;
  display: grid;
  place-items: center;
}
.footer > div {
  flex-wrap: wrap;
}
.footer a {
  font-size: 13px;
}
.public-report .report-summary {
  margin-top: 28px;
}
.engine-table {
  overflow-x: auto;
}
.engine-table table {
  min-width: 560px;
}
.engine-table th {
  text-transform: none;
}
.small-note {
  line-height: 1.8;
}
.text-button {
  font-size: 13px;
}
.consent-row {
  font-size: 14px;
}
.consent-copy p {
  font-size: 13px;
}
.file-spec {
  color: var(--muted);
}
@media (max-width: 1050px) {
  .header {
    gap: 22px;
  }
  .header nav {
    gap: 20px;
  }
  .tool-choice {
    padding: 26px;
    gap: 20px;
  }
  .tool-choice h3 {
    font-size: 22px;
  }
  .footer p {
    display: none;
  }
}
@media (max-width: 760px) {
  .header {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 22px 0;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: start;
    gap: 25px;
    font-size: 14px;
  }
  .header nav a:nth-child(2) {
    display: inline;
  }
  .header nav a {
    font-size: 14px;
  }
  .account-link {
    font-size: 13px;
    padding: 9px 14px;
    max-width: 120px;
  }
  .intro {
    min-height: auto;
  }
  .lead {
    font-size: 14px;
  }
  .tool-choice {
    grid-template-columns: 45px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }
  .tool-icon {
    width: 45px;
    height: 45px;
    border-radius: 9px;
  }
  .tool-icon .icon {
    width: 25px;
    height: 25px;
  }
  .tool-choice h3 {
    font-size: 21px;
    line-height: 1.35;
  }
  .tool-choice p {
    font-size: 14px;
  }
  .choice-action {
    grid-column: 2;
    padding: 0;
    font-size: 14px;
    margin-top: 2px;
  }
  .tool-label {
    font-size: 13px;
  }
  .value-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 32px 0 42px;
  }
  .value-strip > div {
    padding-top: 16px;
  }
  .tool-list {
    margin-top: 22px;
  }
  .tools-section > h2 {
    margin-bottom: 0;
  }
  .button {
    font-size: 14px;
  }
  .drop-zone > span:not(.upload-symbol) {
    font-size: 13px;
  }
  .drop-zone .file-spec {
    font-size: 13px;
  }
  .workbench-side .provider-mark {
    font-size: 13px;
  }
  .workbench-side .quota-block > span {
    font-size: 13px;
  }
  .account-page,
  .install-page,
  .public-report {
    padding: 36px 0 45px;
  }
  .account-page h1,
  .public-report h1 {
    font-size: 33px;
  }
  .login-panel {
    padding: 21px;
  }
  .login-panel .button {
    width: 100%;
  }
  .section-header {
    gap: 14px;
  }
  .section-header > a {
    font-size: 13px;
  }
  .report-details {
    padding: 19px;
  }
  .report-details dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .report-details dd {
    margin-bottom: 10px;
  }
  .report-details dt {
    font-weight: 600;
    color: var(--ink);
  }
  .analysis-symbol {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
  .analysis-symbol .icon {
    width: 29px;
    height: 29px;
  }
  .report-summary p {
    font-size: 14px;
  }
  .report-summary h3 {
    font-size: 19px;
  }
  .report-meta span {
    font-size: 13px;
  }
  .install-instructions {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 32px;
  }
  .install-invite {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .install-invite .button {
    min-width: 0;
  }
  .install-invite p {
    font-size: 13px;
  }
  .share-dialog {
    padding: 23px;
  }
  .share-dialog .report-actions .button {
    width: 100%;
  }
  .report-actions > .button {
    font-size: 13px;
  }
  .footer > div {
    margin-left: 0;
    gap: 14px 20px;
  }
  .footer {
    gap: 20px;
    align-items: flex-start;
  }
  .footer > .wordmark {
    width: 100%;
  }
}
.caution-code {
  display: none;
}

