@media (min-width:1180px) {
  .taskboard-page .board-container {
    margin-left: 256px;
    width: calc(100% - 256px);
    max-width: none;
    padding: 100px 40px 32px 0;
  }
}

@media (min-width:1180px) {
  .login-page.issue-welcome-active {
    background: #2a3647;
  }

  .issue-welcome-active .login-header {
    display: none;
  }

  .issue-welcome-active .page-shell {
    max-width: none;
    min-height: 100vh;
  }

  .issue-welcome-active .login-main {
    min-height: 100vh;
    padding: 0;
  }

  .issue-welcome-active .role-selection-card {
    width: 790px;
    min-height: 400px;
    padding: 58px 72px 54px;
    border-radius: 24px;
    box-shadow: none;
    color: #2a3647;
  }

  .issue-welcome-active .role-selection-card h1 {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .issue-welcome-active .role-selection-card .login-underline {
    width: 118px;
    height: 3px;
    margin: 12px auto 28px;
    background: #177da8;
  }

  .issue-welcome-active .role-selection-card>p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.35;
    text-align: left;
  }

  .issue-welcome-active .role-selection-options {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 58px;
    margin-top: 44px;
  }

  .issue-welcome-active .role-selection-option {
    display: flex;
    min-width: 270px;
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .issue-welcome-active .role-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    white-space: nowrap;
  }

  .issue-welcome-active .role-option-label img {
    width: auto;
    height: 20px;
  }

  .issue-welcome-active .role-selection-option .btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 400;
  }

  .issue-welcome-active #stakeholder-entry {
    width: 194px;
    color: #fff;
    background: #177da8;
  }

  .issue-welcome-active #member-entry {
    width: 166px;
    color: #2a3647;
    background: #fff;
    border: 1px solid #2a3647;
  }

  .issue-welcome-active .login-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 38px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 0;
    color: #d1d1d1;
    font-size: 14px;
  }

  .issue-welcome-active .login-footer a {
    color: #d1d1d1;
    text-decoration: none;
  }

  .issue-welcome-active .login-footer a:hover {
    color: #29abe2;
  }

  .stakeholder-page {
    min-height: 100vh;
    overflow: hidden;
    background: #f6f7f8;
  }

  .stakeholder-shell {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100vh;
    min-height: 760px;
    margin: 0;
    padding: 0;
  }

  .stakeholder-topbar {
    position: static;
  }

  .stakeholder-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 50px;
    height: auto;
  }

  .request-counter {
    position: absolute;
    top: 88px;
    right: max(160px, calc(50% - 560.5px));
    margin: 0;
    color: #177da8;
    font-size: 16px;
  }

  .request-counter strong {
    font-weight: 700;
  }

  .request-limit-reached .request-counter,
  .stakeholder-page[data-request-state="reached"] .request-counter {
    color: #ff5b1a;
  }

  .stakeholder-back {
    position: absolute;
    top: 82px;
    left: max(160px, calc(50% - 560.5px));
    display: block;
    width: 37px;
    height: 37px;
    margin: 0;
    line-height: 0;
    text-decoration: none;
  }

  .stakeholder-back img {
    display: block;
    width: 37px;
    height: 37px;
  }

  .stakeholder-content {
    position: relative;
    width: 968px;
    max-width: none;
    margin: 0 auto;
    padding-top: 204px;
  }

  .stakeholder-back-mobile {
    display: none;
  }

  .stakeholder-heading-row {
    display: block;
  }

  .stakeholder-lead {
    width: 430px;
    margin: 0 0 28px 82px;
    color: #42526a;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
  }

  .stakeholder-content h1 {
    margin: 0 0 44px;
    color: #2a3647;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  .stakeholder-copy {
    width: 430px;
    min-height: 150px;
    margin: 0 0 0 82px;
    gap: 28px;
  }

  .stakeholder-copy h2 {
    margin: 0;
    color: #42526a;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
  }

  .stakeholder-copy p {
    margin: 0;
    color: #42526a;
    font-size: 16px;
    line-height: 1.25;
  }

  #request-normal-copy p+p {
    margin-top: -12px;
  }

  #request-limit-copy>p:first-child {
    padding: 14px 30px;
    border-radius: 6px;
    background: #ffe4e4;
    text-align: center;
  }

  #request-limit-copy>p:first-child strong {
    font-size: 17px;
    font-weight: 500;
  }

  .stakeholder-illustration {
    position: absolute;
    top: 298px;
    right: 0;
    width: 416px;
    height: 280px;
    pointer-events: none;
  }

  .stakeholder-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .stakeholder-illustration-limit {
    display: none;
  }

  .stakeholder-page[data-request-state="reached"] .stakeholder-illustration-normal {
    display: none;
  }

  .stakeholder-page[data-request-state="reached"] .stakeholder-illustration-limit {
    display: block;
  }

  .stakeholder-content #create-email-request {
    position: absolute;
    top: 614px;
    left: 82px;
    width: 293px;
    height: 60px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: #177da8;
    font-size: 18px;
    font-weight: 400;
  }

  .stakeholder-content #create-email-request::after {
    content: " ✓";
  }

  .stakeholder-content #create-email-request:not(:disabled):hover {
    background: #2a3647;
  }

  .stakeholder-content #create-email-request:disabled {
    opacity: 1;
    cursor: not-allowed;
  }

  .stakeholder-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 48px;
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
  }

  .stakeholder-footer a {
    color: #686868;
    font-weight: 400;
    text-decoration: none;
  }

  .stakeholder-footer a:visited {
    color: #686868;
  }

  .summary-page .email-requests-card {
    flex: 0 0 168px;
    width: 168px;
  }

  .summary-page .email-request-number {
    color: #6c63ff;
  }

  .taskboard-page .board-header {
    width: 100%;
    margin-left: 0;
    margin-bottom: 48px;
  }

  .taskboard-page .board {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }

  .taskboard-page .column-header {
    margin-bottom: 14px;
  }

  .taskboard-page .column-header h2 {
    font-size: 18px;
  }

  .taskboard-page .card {
    min-height: 0;
    padding: 16px;
    border-radius: 18px;
    gap: 9px;
  }

  .taskboard-page .badge {
    padding: 4px 12px;
    font-size: 14px;
  }

  .taskboard-page .badge.ai-generated-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border-radius: 0;
    color: #6E52FF;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
  }

  .taskboard-page .ai-generated-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    object-fit: contain;
  }

  .taskboard-page .card-title {
    font-size: 18px;
  }

  .taskboard-page .card-description {
    font-size: 16px;
  }

  .taskboard-page .overlay-card {
    width: 520px;
    padding: 40px;
    border-radius: 24px;
  }

  .taskboard-page .external-creator-section {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    margin: 14px 0;
  }

  .taskboard-page .external-creator-section .section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
  }

  .taskboard-page .external-creator {
    flex-wrap: nowrap;
    gap: 8px;
    font-size: 16px;
  }

  .taskboard-page .external-tag {
    gap: 4px;
    padding: 2px 4px;
    border-radius: 4px;
    color: #000;
    background: #ebfc88;
    font-size: 14px;
    font-weight: 400;
  }

  .taskboard-page .external-tag::before {
    content: "";
    width: 14px;
    height: 14px;
    background: url("../assets/icons/creator-extern-icon.svg") center/contain no-repeat;
    flex: 0 0 14px;
  }

  .taskboard-page .external-email-action {
    margin-left: auto;
    color: #29abe2;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
  }

  .taskboard-page .external-email-action::before {
    content: "";
    width: 18px;
    height: 16px;
    background: url("../assets/img/icons/task-email-icon.svg") center/contain no-repeat;
    flex: 0 0 18px;
  }

  @media (max-width:1320px) {
    .summary-page .dashboard-wrapper {
      align-items: flex-start;
      flex-direction: column-reverse;
      gap: 24px;
    }

    .summary-page .greeting-section {
      flex: 0 0 auto;
      min-width: 0;
    }

    .summary-page aside {
      overflow-y: auto;
    }

    .summary-page aside>img {
      margin-top: 36px;
    }

    .summary-page .sidebar-navigation {
      margin-top: 52px;
    }

    .summary-page .sidebar-legal-links {
      margin-bottom: 28px;
    }
  }

  @media (max-height:700px) {
    .login-page.issue-welcome-active {
      overflow-y: auto;
    }

    .issue-welcome-active .page-shell {
      min-height: 650px;
    }

    .issue-welcome-active .login-main {
      min-height: 540px;
      padding: 32px 0;
    }

    .issue-welcome-active .login-footer {
      position: static;
      margin-top: auto;
      padding: 0 0 24px;
    }

    .stakeholder-page {
      overflow-y: auto;
    }

    .stakeholder-shell {
      height: auto;
      min-height: 760px;
    }
  }
}

.welcome-copy-mobile-break {
  display: none;
}

.internal-tag {
  background: #d1fae5;
  color: #047857;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 12px;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .taskboard-page .column-header h2 {
    font-size: 20px;
  }

  .taskboard-page .badge {
    font-size: 16px;
  }

  .taskboard-page .card-title {
    font-size: 20px;
  }

  .taskboard-page .card-description {
    font-size: 16px;
    line-height: 1.4;
  }

  .taskboard-page .subtask-text {
    font-size: 16px;
  }

  .taskboard-page .detail-title {
    font-size: 44px;
  }

  .taskboard-page .detail-description {
    font-size: 18px;
    line-height: 1.5;
  }

  .taskboard-page .info-label,
  .taskboard-page .info-value,
  .taskboard-page .info-value-prio,
  .taskboard-page .external-creator,
  .taskboard-page .assigned-user-badge-container span,
  .taskboard-page .subtask-row {
    font-size: 17px;
  }

  .taskboard-page .external-creator-section .section-title,
  .taskboard-page .section-title {
    font-size: 17px;
  }

  .taskboard-page .external-tag,
  .taskboard-page .external-email-action {
    font-size: 16px;
  }
}