* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #172033;
}

a {
    color: inherit;
}

.brand-link {
    display: inline-block;
    color: white;
    text-decoration: none;
}

.brand-link:hover {
    color: white;
    opacity: 0.9;
}

.brand-link h1 {
    margin: 0 0 6px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background: #172033;
    color: white;
}

.topbar h1 {
    margin: 0 0 6px;
}

.topbar p {
    margin: 0;
    color: #b8c1d1;
}

.topbar-actions,
.account-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

button,
.button {
    display: inline-block;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    background: #4f6df5;
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
.button:hover {
    background: #405cdf;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.button-small {
    padding: 10px 14px;
    font-size: 14px;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px 60px;
}

.welcome h2 {
    margin-bottom: 8px;
}

.welcome p,
.section-heading p,
.form-header p {
    color: #667085;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.card,
.summary-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.06);
}

.card span,
.summary-card span {
    display: block;
    color: #667085;
    margin-bottom: 14px;
}

.card strong {
    font-size: 34px;
}

.summary-card strong {
    font-size: 22px;
}

.empty-state {
    margin-top: 30px;
    padding: 50px 20px;
    text-align: center;
    background: white;
    border: 1px dashed #c7ced9;
    border-radius: 12px;
}

.empty-state p {
    color: #667085;
    margin-bottom: 22px;
}

.compact-empty-state {
    margin-top: 0;
    padding: 38px 20px;
}

.projects-section,
.requests-section {
    margin-top: 34px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-heading h3 {
    margin: 0 0 5px;
}

.section-heading p {
    margin: 0;
}

.project-list,
.request-list {
    display: grid;
    gap: 16px;
}

.project-card {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 24px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.04);
}

.project-card-link {
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 32, 51, 0.1);
}

.project-main {
    flex: 1;
}

.project-title-row,
.project-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-title-row h4 {
    margin: 0;
    font-size: 19px;
}

.status-badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: #e8f7ee;
    color: #18794e;
    font-size: 12px;
    font-weight: bold;
}

.client-name,
.project-client {
    margin: 8px 0;
    color: #4f6df5;
    font-weight: bold;
}

.project-description {
    margin: 12px 0 0;
    color: #667085;
    line-height: 1.6;
}

.project-details {
    display: flex;
    align-items: center;
    gap: 34px;
    min-width: 380px;
}

.project-details div {
    min-width: 105px;
}

.project-details span {
    display: block;
    margin-bottom: 7px;
    color: #667085;
    font-size: 13px;
}

.open-project {
    color: #4f6df5;
    font-weight: bold;
}

.form-container {
    max-width: 820px;
    margin: 45px auto;
    padding: 0 20px 60px;
}

.form-header {
    margin-bottom: 24px;
}

.form-header h2 {
    margin: 7px 0 10px;
    font-size: 30px;
}

.eyebrow {
    margin: 0;
    color: #4f6df5 !important;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-form {
    padding: 30px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(18, 32, 51, 0.07);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #cfd6e1;
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    color: #172033;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4f6df5;
    box-shadow: 0 0 0 3px rgba(79, 109, 245, 0.12);
}

.success-message,
.error-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: bold;
}

.success-message {
    border: 1px solid #b7e3c9;
    background: #eaf8ef;
    color: #18794e;
}

.error-message {
    border: 1px solid #f0b9b4;
    background: #fff0ef;
    color: #b42318;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #667085;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding-top: 8px;
    border-top: 1px solid #edf0f4;
}

.text-link {
    color: #667085;
    text-decoration: none;
    font-weight: bold;
}

.text-link:hover {
    color: #172033;
}

.project-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}

.project-page-header h2 {
    margin: 7px 0;
    font-size: 32px;
}

.project-heading-row h2 {
    margin-right: 3px;
}

.project-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.scope-panel {
    margin-top: 24px;
    padding: 28px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.04);
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f4;
}

.panel-heading h3 {
    margin: 7px 0 0;
}

.baseline-badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef1ff;
    color: #405cdf;
    font-size: 12px;
    font-weight: bold;
}

.scope-description,
.request-description {
    color: #455066;
    line-height: 1.7;
    white-space: pre-line;
}

.scope-description {
    margin: 22px 0 0;
}

.client-profile-panel {
    margin-top: 24px;
}

.client-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 22px;
}

.client-details-grid span {
    display: block;
    margin-bottom: 7px;
    color: #667085;
    font-size: 13px;
}

.client-details-grid strong {
    overflow-wrap: anywhere;
}

.muted {
    color: #8992a3;
}

.requests-heading {
    margin-bottom: 18px;
}

.request-card {
    padding: 24px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.04);
}

.request-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.request-card h4 {
    margin: 0 0 7px;
    font-size: 18px;
}

.request-meta {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.request-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pending-badge,
.review-badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.pending-badge {
    background: #fff4d8;
    color: #9a6700;
}

.review-badge {
    background: #eef1f5;
    color: #596273;
}

.request-description {
    margin: 18px 0 0;
}

@media (max-width: 700px) {
    .topbar,
    .project-page-header,
    .panel-heading,
    .request-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-actions,
    .account-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .topbar {
        padding: 20px;
    }

    .stats,
    .form-grid,
    .project-summary-grid,
    .client-details-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-details {
        flex-direction: column;
    }

    .project-details {
        align-items: flex-start;
        min-width: 0;
        gap: 18px;
    }

    .project-form {
        padding: 22px;
    }

    .request-badges {
        justify-content: flex-start;
    }
}

.analysis-container {
    max-width: 1000px;
    margin: 45px auto;
    padding: 0 20px 60px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.comparison-card {
    padding: 25px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.04);
}

.request-comparison-card {
    border-top: 4px solid #4f6df5;
}

.comparison-card h3 {
    margin: 8px 0 15px;
}

.comparison-text {
    margin: 0;
    color: #455066;
    line-height: 1.7;
    white-space: pre-line;
}

.analysis-form {
    margin-top: 0;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.decision-option {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    min-height: 115px;
    margin: 0 !important;
    padding: 17px;
    border: 1px solid #cfd6e1;
    border-radius: 10px;
    cursor: pointer;
}

.decision-option:hover {
    border-color: #4f6df5;
    background: #f8f9ff;
}

.decision-option input {
    width: auto;
    margin: 3px 0 0;
}

.decision-option span {
    display: block;
}

.decision-option strong {
    display: block;
    margin-bottom: 7px;
}

.decision-option small {
    margin: 0;
}

.request-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
}

.analysis-summary {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
    padding: 18px;
    background: #f8f9fb;
    border-radius: 10px;
}

.analysis-summary > div:first-child {
    flex: 1;
}

.analysis-summary span {
    display: block;
    margin-bottom: 6px;
    color: #667085;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.analysis-summary p {
    margin: 0;
    color: #455066;
    line-height: 1.6;
}

.analysis-numbers {
    display: flex;
    gap: 28px;
}

.analysis-numbers div {
    min-width: 90px;
}

.assessment-in-scope {
    background: #e8f7ee;
    color: #18794e;
}

.assessment-out-of-scope {
    background: #ffe9e7;
    color: #b42318;
}

.assessment-needs-clarification {
    background: #fff4d8;
    color: #9a6700;
}

@media (max-width: 700px) {
    .comparison-grid,
    .decision-grid {
        grid-template-columns: 1fr;
    }

    .analysis-summary,
    .analysis-numbers {
        flex-direction: column;
    }
}

.button-light {
    background: #eef1f5;
    color: #344054;
}

.button-light:hover {
    background: #dfe4eb;
}

.button-success {
    background: #18794e;
}

.button-success:hover {
    background: #12633f;
}

.button-danger {
    background: #b42318;
}

.button-danger:hover {
    background: #901d14;
}

.request-actions {
    align-items: center;
    gap: 10px;
}

.request-actions form {
    margin: 0;
}

.change-order-container {
    max-width: 980px;
    margin: 45px auto;
    padding: 0 20px 70px;
}

.change-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 24px;
}

.change-order-header h2 {
    margin: 7px 0 10px;
    font-size: 31px;
}

.change-order-header p {
    color: #667085;
}

.change-order-status {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.status-draft {
    background: #eef1f5;
    color: #596273;
}

.status-sent {
    background: #eef1ff;
    color: #405cdf;
}

.status-approved {
    background: #e8f7ee;
    color: #18794e;
}

.status-rejected {
    background: #ffe9e7;
    color: #b42318;
}

.change-order-document {
    padding: 38px;
    background: white;
    border: 1px solid #dfe4eb;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(18, 32, 51, 0.08);
}

.document-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #172033;
}

.document-heading h3 {
    margin: 7px 0 0;
    font-size: 25px;
}

.document-label {
    margin: 0;
    color: #4f6df5;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.document-number {
    text-align: right;
}

.document-number span,
.document-info-grid span,
.change-order-totals span {
    display: block;
    margin-bottom: 7px;
    color: #667085;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.document-number strong {
    font-size: 22px;
}

.document-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #e4e8ef;
}

.document-section {
    padding: 25px 0;
    border-bottom: 1px solid #e4e8ef;
}

.document-section h4,
.approval-note h4 {
    margin: 0 0 12px;
}

.document-section p,
.approval-note p {
    margin: 0;
    color: #455066;
    line-height: 1.75;
    white-space: pre-line;
}

.client-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.client-contact-grid div {
    min-width: 0;
    padding: 14px 16px;
    background: #f8f9fb;
    border-radius: 9px;
}

.client-contact-grid span {
    display: block;
    margin-bottom: 7px;
    color: #667085;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.client-contact-grid strong {
    display: block;
    color: #172033;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.change-order-totals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 25px 0;
}

.change-order-totals div {
    padding: 20px;
    background: #f8f9fb;
    border-radius: 10px;
}

.change-order-totals strong {
    font-size: 22px;
}

.approval-note {
    padding: 22px;
    background: #f4f6ff;
    border-left: 4px solid #4f6df5;
    border-radius: 8px;
}

.change-order-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.change-order-actions form {
    margin: 0;
}

@media (max-width: 700px) {
    .change-order-header,
    .document-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-info-grid,
    .change-order-totals {
        grid-template-columns: 1fr;
    }

    .change-order-document {
        padding: 24px;
    }

    .document-number {
        text-align: left;
    }

    .change-order-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .change-order-actions button,
    .change-order-actions form {
        width: 100%;
    }
}

.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 10px;
}

.page-navigation a {
    color: #4f6df5;
    font-weight: bold;
    text-decoration: none;
}

.page-navigation a:hover {
    text-decoration: underline;
}

.timeline-section {
    margin-top: 40px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin-top: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 10px;
    width: 2px;
    background: #dfe4eb;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 16px;
    padding-bottom: 20px;
}

.timeline-marker {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    margin-top: 18px;
    border: 5px solid #eef1ff;
    border-radius: 50%;
    background: #4f6df5;
}

.timeline-content {
    padding: 18px 20px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.04);
}

.timeline-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.timeline-heading h4 {
    margin: 0;
}

.timeline-heading time {
    color: #667085;
    font-size: 13px;
    white-space: nowrap;
}

.timeline-content p {
    margin: 10px 0;
    color: #455066;
    line-height: 1.6;
}

.timeline-type {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef1f5;
    color: #596273;
    font-size: 11px;
    font-weight: bold;
}

@media (max-width: 700px) {
    .page-navigation,
    .timeline-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .timeline-heading time {
        white-space: normal;
    }
}

.project-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 700px) {
    .project-header-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .project-header-actions .button {
        text-align: center;
    }
}

.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, #eef1ff, transparent 38%),
        #f4f6f8;
}

.auth-container {
    width: min(460px, calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0 70px;
}

.auth-brand {
    margin-bottom: 26px;
    text-align: center;
}

.auth-logo {
    color: #172033;
    font-size: 31px;
    font-weight: bold;
    text-decoration: none;
}

.auth-brand p {
    margin: 8px 0 0;
    color: #667085;
}

.auth-card {
    padding: 34px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(18, 32, 51, 0.09);
}

.auth-card h1 {
    margin: 8px 0 10px;
    font-size: 28px;
}

.auth-subtitle {
    margin: 0 0 25px;
    color: #667085;
    line-height: 1.6;
}

.auth-error {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #f2b8b5;
    border-radius: 8px;
    background: #fff0ef;
    color: #b42318;
    font-weight: bold;
}

.auth-submit {
    width: 100%;
    padding: 13px 18px;
}

.auth-switch {
    margin: 24px 0 0;
    color: #667085;
    text-align: center;
}

.auth-switch a {
    color: #4f6df5;
    font-weight: bold;
    text-decoration: none;
}

.account-container {
    max-width: 900px;
    margin: 45px auto;
    padding: 0 20px 70px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}

.account-header h2 {
    margin: 8px 0;
    font-size: 31px;
}

.account-header p {
    color: #667085;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.account-panel {
    margin-top: 24px;
    padding: 28px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.05);
}

.account-panel h3 {
    margin-top: 0;
}

.account-panel p {
    color: #667085;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .auth-card {
        padding: 25px;
    }

    .account-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }
}

.public-approval-link-panel {
    margin-top: 24px;
    padding: 24px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.05);
}

.public-approval-link-panel h3 {
    margin: 7px 0 8px;
}

.public-approval-link-panel p {
    color: #667085;
    line-height: 1.6;
}

.public-link-box {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.public-link-box input {
    flex: 1;
    min-width: 0;
    border: 1px solid #cfd6e1;
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    color: #455066;
    background: #f8f9fb;
}

.public-approval-body {
    min-height: 100vh;
    background: #f4f6f8;
}

.public-approval-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 38px 20px 70px;
}

.public-brand {
    margin-bottom: 28px;
    text-align: center;
}

.public-brand h1 {
    margin: 0;
    font-size: 31px;
}

.public-brand p {
    margin: 8px 0 0;
    color: #667085;
}

.public-approval-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.public-approval-header h2 {
    margin: 8px 0 10px;
    font-size: 30px;
}

.public-approval-header p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.public-document {
    box-shadow: 0 10px 35px rgba(18, 32, 51, 0.08);
}

.public-decision-panel {
    margin-top: 24px;
    padding: 28px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.05);
}

.public-decision-panel h3 {
    margin-top: 0;
}

.public-decision-panel p {
    color: #667085;
    line-height: 1.6;
}

.public-decision-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.public-decision-actions form {
    margin: 0;
}

.public-result-card {
    max-width: 620px;
    margin: 70px auto;
    padding: 40px;
    text-align: center;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(18, 32, 51, 0.09);
}

.public-result-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.public-result-approved {
    background: #18794e;
}

.public-result-rejected {
    background: #b42318;
}

.public-result-card h2 {
    margin-bottom: 10px;
}

.public-result-card > p {
    color: #667085;
}

.public-result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
    padding: 20px;
    text-align: left;
    background: #f8f9fb;
    border-radius: 10px;
}

.public-result-details span {
    color: #667085;
}

.public-result-details strong {
    text-align: right;
}

.public-close-note {
    margin-top: 25px;
    font-size: 14px;
}

@media (max-width: 700px) {
    .public-link-box,
    .public-approval-header,
    .public-decision-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .client-contact-grid {
        grid-template-columns: 1fr;
    }

    .public-link-box button,
    .public-decision-actions form,
    .public-decision-actions button {
        width: 100%;
    }

    .public-result-card {
        padding: 26px;
    }
}

.page-navigation-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.button-print {
    padding: 9px 14px;
    font-size: 13px;
}

@media print {
    @page {
        size: A4;
        margin: 14mm;
    }

    body {
        background: white;
        color: black;
    }

    .topbar,
    .page-navigation,
    .change-order-header,
    .public-approval-link-panel,
    .change-order-actions {
        display: none !important;
    }

    .change-order-container {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .change-order-document {
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .document-heading,
    .document-info-grid,
    .document-section {
        break-inside: avoid;
    }

    .change-order-totals {
        break-inside: avoid;
    }

    .approval-note {
        break-inside: avoid;
    }

    .document-section p,
    .approval-note p {
        color: #222;
    }
}

@media (max-width: 700px) {
    .page-navigation-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .page-navigation-actions .button {
        width: 100%;
        text-align: center;
    }
}

.public-decision-form {
    margin-top: 22px;
}

.public-decision-form .form-group {
    margin-bottom: 18px;
}

.public-decision-form input,
.public-decision-form textarea {
    width: 100%;
    border: 1px solid #cfd6e1;
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    color: #172033;
    background: white;
}

.public-decision-form input:focus,
.public-decision-form textarea:focus {
    outline: none;
    border-color: #4f6df5;
    box-shadow: 0 0 0 3px rgba(79, 109, 245, 0.12);
}

.optional-label {
    margin-left: 6px;
    color: #8992a3;
    font-size: 12px;
    font-weight: normal;
}

.public-client-note {
    margin-top: 22px;
    padding: 18px;
    text-align: left;
    background: #f8f9fb;
    border-radius: 10px;
}

.public-client-note span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.public-client-note p {
    margin: 0;
    color: #455066;
    line-height: 1.6;
}


.topbar-logout-form {
    margin: 0;
}

.change-password-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.change-password-form label {
    display: grid;
    gap: 8px;
    font-weight: bold;
}

.change-password-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c7ced9;
    border-radius: 8px;
    font: inherit;
}

.change-password-form button {
    justify-self: start;
    align-self: end;
}

@media (max-width: 760px) {
    .change-password-form {
        grid-template-columns: 1fr;
    }
}


.password-settings-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.password-settings-copy p {
    margin-bottom: 0;
}

.change-password-details {
    min-width: 190px;
}

.change-password-details summary {
    list-style: none;
}

.change-password-details summary::-webkit-details-marker {
    display: none;
}

.change-password-toggle {
    cursor: pointer;
    text-align: center;
}

.change-password-details[open] {
    width: 100%;
}

.change-password-details[open] .change-password-toggle {
    width: fit-content;
    margin-left: auto;
}

.change-password-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5ec;
}

.password-policy-note {
    margin: 0;
    color: #59657a;
}

@media (max-width: 760px) {
    .password-settings-panel {
        display: block;
    }

    .change-password-details {
        margin-top: 18px;
        min-width: 0;
    }

    .change-password-toggle {
        width: 100%;
    }
}


/* ScopeGuard public landing page */
.landing-body {
    min-height: 100vh;
    background: #f7f8fb;
    color: #13203a;
}

.landing-nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #13203a;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.landing-brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #4f6df5;
    color: white;
    font-size: 18px;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-text-link {
    margin-right: 6px;
    color: #536079;
    font-weight: 700;
    text-decoration: none;
}

.landing-text-link:hover,
.landing-demo-link:hover {
    color: #4f6df5;
}

.landing-login {
    color: #263550;
    background: white;
    border-color: #d7ddea;
}

.landing-login:hover {
    color: #13203a;
    background: #f1f3f8;
}

.landing-hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 76px 32px 88px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
    align-items: center;
    gap: 72px;
}

.landing-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #4f6df5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.landing-hero h1 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.landing-lead {
    max-width: 620px;
    margin: 26px 0 0;
    color: #59657a;
    font-size: 20px;
    line-height: 1.65;
}

.landing-hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
}

.landing-primary-cta {
    padding: 14px 23px;
    box-shadow: 0 10px 24px rgba(79, 109, 245, 0.24);
}

.landing-demo-link {
    color: #263550;
    font-weight: 800;
    text-decoration: none;
}

.landing-trust-line {
    margin: 26px 0 0;
    color: #7a8497;
    font-size: 14px;
}

.landing-product-preview {
    position: relative;
}

.landing-product-preview::before {
    content: "";
    position: absolute;
    inset: -36px -28px -44px 58px;
    border-radius: 40px;
    background: linear-gradient(145deg, rgba(79, 109, 245, 0.16), rgba(79, 109, 245, 0.03));
    transform: rotate(3deg);
}

.preview-window {
    position: relative;
    overflow: hidden;
    border: 1px solid #dde2ec;
    border-radius: 18px;
    background: white;
    box-shadow: 0 26px 70px rgba(28, 42, 76, 0.16);
}

.preview-window-bar {
    height: 50px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #172033;
    color: white;
}

.preview-window-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.preview-window-bar strong {
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.preview-content {
    padding: 28px;
}

.preview-summary,
.preview-request-head,
.preview-change-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.preview-summary {
    margin-bottom: 18px;
}

.preview-summary small,
.preview-request small,
.preview-change-order small {
    display: block;
    margin-bottom: 6px;
    color: #7b8699;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.preview-summary strong,
.preview-request strong,
.preview-change-order strong {
    color: #172033;
}

.preview-status,
.preview-approved,
.preview-out-scope {
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.preview-status,
.preview-approved {
    background: #e8f7ee;
    color: #18794e;
}

.preview-out-scope {
    background: #fff1e8;
    color: #b45309;
}

.preview-request {
    margin: 20px 0;
    padding: 22px;
    border: 1px solid #e4e8ef;
    border-radius: 13px;
    background: #fbfcfe;
}

.preview-request p {
    margin: 16px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.preview-change-order {
    padding: 18px 20px;
    border-radius: 12px;
    background: #f2f5ff;
}

.landing-proof-strip {
    padding: 20px 32px;
    border-top: 1px solid #e2e6ee;
    border-bottom: 1px solid #e2e6ee;
    background: white;
    text-align: center;
}

.landing-proof-strip p {
    margin: 0;
    color: #59657a;
    font-weight: 700;
}

.landing-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 98px 32px;
}

.landing-section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.landing-section-heading-left {
    margin-left: 0;
    text-align: left;
}

.landing-section-heading h2,
.landing-cta h2 {
    margin: 0;
    color: #13203a;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.landing-section-heading p {
    margin: 18px 0 0;
    color: #667085;
    font-size: 18px;
    line-height: 1.65;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.landing-steps article {
    min-height: 250px;
    padding: 28px;
    border: 1px solid #e1e5ed;
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 28px rgba(20, 34, 61, 0.05);
}

.landing-step-number {
    display: inline-block;
    color: #4f6df5;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.landing-steps h3,
.landing-benefits h3 {
    margin: 34px 0 10px;
    color: #172033;
    font-size: 19px;
}

.landing-steps p,
.landing-benefits p {
    margin: 0;
    color: #667085;
    line-height: 1.65;
}

.landing-benefits-section {
    padding-top: 40px;
}

.landing-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.landing-benefits article {
    display: flex;
    gap: 18px;
    padding: 28px;
    border-top: 1px solid #dce2ec;
}

.landing-benefit-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #edf1ff;
    color: #4f6df5;
    font-size: 17px;
    font-weight: 900;
}

.landing-benefits h3 {
    margin: 3px 0 9px;
}

.landing-cta {
    max-width: 1180px;
    margin: 10px auto 90px;
    padding: 48px 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 20px;
    background: #172033;
    color: white;
    box-shadow: 0 22px 55px rgba(23, 32, 51, 0.2);
}

.landing-cta h2 {
    color: white;
}

.landing-cta p {
    max-width: 650px;
    margin: 14px 0 0;
    color: #bdc6d6;
    font-size: 17px;
    line-height: 1.6;
}

.landing-eyebrow-light {
    color: #9fb0ff;
}

.landing-cta-button {
    flex: 0 0 auto;
    padding: 14px 24px;
}

.landing-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 32px 40px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    border-top: 1px solid #e0e4ec;
}

.landing-footer p {
    margin: 7px 0 0;
    color: #7a8497;
}

.landing-footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #667085;
    font-size: 14px;
}

.landing-footer-links a {
    text-decoration: none;
}

.landing-footer-links a:hover {
    color: #4f6df5;
}

@media (max-width: 960px) {
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 62px;
        padding-top: 52px;
    }

    .landing-hero-copy {
        max-width: 760px;
    }

    .landing-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .landing-nav {
        padding: 18px 20px;
    }

    .landing-text-link,
    .landing-login {
        display: none;
    }

    .landing-hero,
    .landing-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .landing-hero {
        padding-top: 44px;
        padding-bottom: 62px;
        gap: 48px;
    }

    .landing-hero h1 {
        font-size: 44px;
    }

    .landing-lead {
        font-size: 18px;
    }

    .landing-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-product-preview::before {
        inset: -20px -8px -28px 28px;
    }

    .preview-content {
        padding: 20px;
    }

    .preview-change-order {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .landing-steps {
        grid-template-columns: 1fr;
    }

    .landing-steps article {
        min-height: auto;
    }

    .landing-cta {
        margin: 0 20px 64px;
        padding: 36px 28px;
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-footer {
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
    }

    .landing-footer-links {
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}


/* SCOPEGUARD LEGAL PAGES */
.legal-body { background: #f7f8fb; color: #172033; }
.legal-nav { background: rgba(255,255,255,0.96); }
.legal-page { max-width: 900px; margin: 0 auto; padding: 76px 28px 90px; }
.legal-heading { margin-bottom: 30px; }
.legal-heading h1 { margin: 10px 0 10px; color: #172033; font-size: clamp(38px, 6vw, 58px); letter-spacing: -0.04em; }
.legal-heading p { margin: 0; color: #7a8497; }
.legal-card { padding: 44px 50px; border: 1px solid #e2e6ee; border-radius: 20px; background: white; box-shadow: 0 18px 50px rgba(20,34,61,0.07); }
.legal-intro { margin: 0 0 34px; color: #4f5b70; font-size: 18px; line-height: 1.75; }
.legal-card section { padding: 24px 0; border-top: 1px solid #edf0f5; }
.legal-card section:first-of-type { border-top: 0; }
.legal-card h2 { margin: 0 0 10px; color: #172033; font-size: 20px; }
.legal-card p { margin: 0; color: #5f6b7f; line-height: 1.75; }
.legal-notice { margin-top: 30px; padding: 18px 20px; border-radius: 12px; background: #f2f4ff; color: #4d5d83; font-size: 14px; line-height: 1.6; }
.legal-footer { background: transparent; }
@media (max-width: 680px) { .legal-page { padding: 46px 20px 64px; } .legal-card { padding: 28px 22px; } }

/* Compact project detail UI - v8 */
.project-detail-compact {
    max-width: 1180px;
}

.compact-project-header {
    margin-bottom: 20px;
}

.compact-summary-grid .summary-card {
    padding: 20px 22px;
}

.compact-information-stack {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.compact-disclosure,
.compact-request-card {
    overflow: hidden;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(18, 32, 51, 0.04);
}

.compact-disclosure > summary,
.compact-request-card > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.compact-disclosure > summary::-webkit-details-marker,
.compact-request-card > summary::-webkit-details-marker {
    display: none;
}

.compact-disclosure > summary:hover,
.compact-request-card > summary:hover {
    background: #f8f9fc;
}

.disclosure-title {
    display: grid;
    gap: 5px;
}

.disclosure-title strong {
    font-size: 17px;
}

.disclosure-preview {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: #667085;
    font-size: 14px;
}

.disclosure-preview > span:not(.disclosure-action):not(.baseline-badge):not(.section-count) {
    padding-left: 14px;
    border-left: 1px solid #dfe4eb;
}

.disclosure-action {
    color: #4f6df5;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.disclosure-action::after {
    content: " +";
}

.compact-disclosure[open] .disclosure-action::after,
.compact-request-card[open] .disclosure-action::after {
    content: " −";
}

.disclosure-body,
.request-details-body {
    padding: 20px;
    border-top: 1px solid #edf0f4;
}

.disclosure-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.compact-client-grid {
    padding-top: 0;
}

.compact-scope-text {
    max-width: 900px;
    margin-top: 0;
}

.compact-requests-section {
    margin-top: 30px;
}

.section-count {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-left: 7px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef1ff;
    color: #405cdf;
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
}

.compact-request-list {
    display: grid;
    gap: 10px;
}

.request-summary-main {
    min-width: 0;
}

.request-summary-main h4 {
    margin: 0 0 9px;
    font-size: 17px;
}

.compact-badges {
    justify-content: flex-start;
}

.request-summary-numbers {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    min-width: 330px;
}

.request-summary-numbers > div {
    min-width: 92px;
}

.request-summary-numbers span:not(.disclosure-action) {
    display: block;
    margin-bottom: 4px;
    color: #667085;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.request-summary-numbers strong {
    font-size: 15px;
}

.request-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
    gap: 24px;
}

.detail-label {
    display: block;
    margin-bottom: 7px;
    color: #667085;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.request-detail-grid .request-description,
.request-detail-grid .request-meta {
    margin: 0;
}

.compact-analysis-box {
    margin-top: 18px;
    padding: 16px 18px;
    background: #f8f9fb;
    border-radius: 9px;
}

.compact-analysis-box p {
    margin: 0;
    color: #455066;
    line-height: 1.6;
}

.compact-request-actions {
    margin-top: 18px;
    padding-top: 16px;
}

.compact-timeline-section {
    margin-top: 26px;
}

.timeline-disclosure-body {
    padding-top: 14px;
}

.timeline-intro {
    margin: 0 0 14px;
    color: #667085;
}

.timeline-disclosure .timeline {
    margin-top: 0;
}

@media (max-width: 800px) {
    .compact-disclosure > summary,
    .compact-request-card > summary,
    .request-summary-numbers,
    .disclosure-preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .request-summary-numbers {
        min-width: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .request-summary-numbers .disclosure-action {
        grid-column: 1 / -1;
    }

    .request-detail-grid {
        grid-template-columns: 1fr;
    }

    .disclosure-preview {
        justify-content: flex-start;
        gap: 8px;
    }

    .disclosure-preview > span:not(.disclosure-action):not(.baseline-badge):not(.section-count) {
        padding-left: 0;
        border-left: 0;
    }

    .compact-request-actions,
    .disclosure-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .compact-request-actions .button,
    .compact-request-actions form,
    .compact-request-actions form button,
    .disclosure-footer .button {
        width: 100%;
        text-align: center;
    }
}

/* Project value summary refinement - v9 */
.compact-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.total-value-card {
    border-color: #d9e1ff;
    background: #fbfcff;
}

.total-value-card small {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 1050px) and (min-width: 801px) {
    .compact-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Bug fixes and project management refinements - v10 */
.account-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.account-panel-heading h3,
.account-panel-heading p { margin: 0; }
.account-panel-heading p { margin-top: 6px; color: #667085; }
.account-project-list { display: grid; gap: 10px; margin-top: 20px; }
.account-project-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border: 1px solid #e4e8ef;
    border-radius: 10px;
    background: #fbfcfe;
}
.account-project-row div { display: grid; gap: 5px; }
.account-project-row span { color: #667085; font-size: 14px; }
.danger-zone {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #f1c8c4;
    border-radius: 12px;
    background: #fffafa;
}
.danger-zone h3 { margin: 4px 0 8px; }
.danger-zone p { color: #667085; }
.danger-zone form { display: grid; gap: 12px; margin-top: 18px; }
.danger-zone input { width: 100%; }
.danger-zone .button-danger { justify-self: start; }
.danger-eyebrow { color: #b42318; }
@media (max-width: 680px) {
    .account-panel-heading,
    .account-project-row { align-items: stretch; flex-direction: column; }
    .account-panel-heading .button,
    .account-project-row .button { width: 100%; text-align: center; }
    .danger-zone .button-danger { width: 100%; }
}


/* SCOPEGUARD_DELETE_PROJECT_FINAL_FIX */
.danger-zone {
    scroll-margin-top: 24px;
}
.danger-zone:target {
    border-width: 2px;
}
.project-page-actions .button-danger {
    background: #b42318;
    color: #ffffff;
}
.project-page-actions .button-danger:hover {
    background: #912018;
}


/* SCOPEGUARD_SECURE_PROJECT_DELETE_V11 */
.project-header-actions {
    gap: 0;
}

.project-normal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-danger-action {
    display: flex;
    align-items: center;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid #d9dee8;
}

.danger-zone {
    margin-top: 42px;
    padding: 30px;
    border: 2px solid #e7aaa4;
    background: #fff7f6;
}

.danger-zone h3 {
    margin: 7px 0 10px;
    color: #8f1d15;
    font-size: 23px;
}

.danger-zone > div > p:not(.eyebrow) {
    max-width: 700px;
    color: #596273;
    line-height: 1.65;
}

.secure-delete-form {
    display: grid;
    gap: 20px;
    max-width: 650px;
    margin-top: 24px;
}

.danger-form-group {
    display: grid;
    gap: 9px;
}

.danger-form-group label {
    color: #344054;
    font-weight: bold;
}

.danger-form-group input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #c8ced9;
    border-radius: 9px;
    background: white;
    color: #172033;
    font: inherit;
    font-size: 16px;
}

.danger-form-group input:focus {
    outline: none;
    border-color: #b42318;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.danger-form-group small {
    color: #667085;
    line-height: 1.5;
}

.secure-delete-form .button-danger {
    min-height: 48px;
    justify-self: start;
    margin-top: 4px;
    padding: 13px 20px;
}

@media (max-width: 900px) {
    .project-header-actions,
    .project-normal-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .project-danger-action {
        width: 100%;
        margin-top: 18px;
        margin-left: 0;
        padding-top: 18px;
        padding-left: 0;
        border-top: 1px solid #d9dee8;
        border-left: 0;
    }

    .project-header-actions .button,
    .project-normal-actions .button,
    .project-danger-action .button {
        width: 100%;
        text-align: center;
    }
}


/* SCOPEGUARD_DELETE_PAGE_REFINEMENT_V13 */
.delete-project-container {
    width: min(820px, calc(100% - 40px));
    margin: 46px auto 70px;
}

.delete-page-header {
    margin-bottom: 24px;
}

.delete-page-header .eyebrow {
    display: none;
}

.delete-page-header h2 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 30px;
    line-height: 1.2;
}

.delete-page-header p {
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}

.standalone-danger-zone {
    margin-top: 0;
    padding: 32px;
}

.standalone-danger-zone > div:first-child {
    padding-bottom: 22px;
    border-bottom: 1px solid #f0c8c4;
}

.standalone-danger-zone h3 {
    margin: 0 0 10px;
}

.delete-page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

@media (max-width: 680px) {
    .delete-project-container {
        width: min(100% - 28px, 820px);
        margin-top: 28px;
    }

    .standalone-danger-zone {
        padding: 24px 20px;
    }

    .delete-page-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .delete-page-actions .button,
    .delete-page-actions button {
        width: 100%;
        text-align: center;
    }
}
