.si-portal {
    --si-green: #00432e;
    --si-accent: #226a4c;
    --si-bg: #f3f7f4;
    --si-text: #10251d;
    box-sizing: border-box;
    background: var(--si-bg);
    color: var(--si-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    min-height: 70vh;
    position: relative;
    width: min(1360px, calc(100vw - 48px));
    margin-left: calc(50% - 50vw + 24px);
    padding: 32px 44px;
    overflow-x: hidden;
}
.schlatter-intake-portal-page {
    overflow-x: hidden;
}
.schlatter-intake-portal-page .wp-block-post-title {
    display: none;
}
.si-portal *,
.si-portal *::before,
.si-portal *::after {
    box-sizing: inherit;
}
.si-portal-shell {
    max-width: 1240px;
    margin: 0 auto;
    min-width: 0;
}
.si-portal-header,
.si-project-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    min-width: 0;
}
.si-portal-header > *,
.si-project-head > *,
.si-status-hero > *,
.si-status-layout > *,
.si-flow-step > *,
.si-row > * {
    min-width: 0;
}
.si-portal-brand img {
    width: 210px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
}
.si-kicker {
    margin: 0 0 4px;
    color: var(--si-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0;
}
.si-portal h1,
.si-portal h2,
.si-portal h3 {
    margin-top: 0;
    overflow-wrap: normal;
}
.si-portal-brand h1 {
    margin-bottom: 0;
    color: var(--si-text);
    font-size: 38px;
    line-height: 1.1;
    font-weight: 650;
}
.si-save-state {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.si-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border: 1px solid #c8d8ce;
    background: #fff;
    color: var(--si-green);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
}
.si-status-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding: 34px 0 28px;
    border-bottom: 1px solid #cfe0d5;
    animation: si-rise .34s ease-out both;
}
.si-status-hero h2 {
    color: var(--si-green);
    font-size: 42px;
    line-height: 1.12;
    max-width: 100%;
    margin-bottom: 10px;
    white-space: nowrap;
}
.si-current-step {
    border-left: 0;
    border-top: 3px solid var(--si-green);
    padding: 16px 0 0;
    max-width: 100%;
}
.si-current-step span,
.si-current-step small,
.si-muted {
    color: #5b7068;
}
.si-current-step strong {
    display: block;
    color: var(--si-green);
    font-size: 20px;
    line-height: 1.15;
    margin: 4px 0 8px;
}
.si-status-cta {
    display: flex;
    align-items: center;
    min-width: 0;
}
.si-status-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px 0 0;
    min-width: 0;
}
.si-flow-panel {
    max-width: 960px;
}
.si-flow-intro {
    max-width: 820px;
    margin-bottom: 22px;
}
.si-flow-intro h3 {
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 10px;
}
.si-flow-intro p {
    color: #375449;
    font-size: 16px;
    overflow-wrap: anywhere;
}
.si-flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.si-flow-steps::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 10px;
    bottom: 12px;
    width: 2px;
    background: #cfe0d5;
}
.si-flow-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    position: relative;
    padding: 0 0 22px;
    animation: si-rise .34s ease-out both;
}
.si-flow-marker {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #cfe0d5;
    background: var(--si-bg);
    color: #5b7068;
    font-weight: 700;
}
.si-flow-step strong {
    display: block;
    color: #163329;
    font-size: 17px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.si-flow-step span:not(.si-flow-marker) {
    display: block;
    color: var(--si-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.si-flow-step p {
    margin: 6px 0 0;
    color: #526960;
    font-size: 15px;
    overflow-wrap: anywhere;
}
.si-flow-step.is-done .si-flow-marker {
    background: var(--si-green);
    color: #fff;
    border-color: var(--si-green);
}
.si-flow-step.is-current .si-flow-marker {
    background: #fff;
    color: var(--si-green);
    border-color: var(--si-green);
    box-shadow: 0 0 0 5px rgba(0, 67, 46, .12);
}
.si-flow-step.is-current strong {
    color: var(--si-green);
}
.si-todo-panel {
    position: static;
    top: auto;
    max-width: 960px;
    border-left: 0;
    border-top: 1px solid #cfe0d5;
    padding: 24px 0 0;
    min-width: 0;
}
.si-todo-panel h3 {
    font-size: 26px;
    color: var(--si-green);
    margin-bottom: 18px;
}
.si-todo-item {
    display: grid;
    gap: 16px;
    border: 1px solid #d9e5dd;
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 12px;
}
.si-todo-item strong {
    display: block;
    color: #163329;
    font-size: 19px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.si-todo-item p {
    color: #526960;
    margin: 6px 0 8px;
    overflow-wrap: anywhere;
}
.si-todo-item small {
    display: block;
    color: #687c74;
    margin-bottom: 8px;
}
.si-todo-item.is-blocked {
    border-top-color: #c05c42;
}
.si-todo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.si-status-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    min-width: 0;
}
.si-text-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--si-green);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
}
.si-text-btn:hover {
    text-decoration: underline;
}
.si-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 960px;
}
.si-block-card,
.si-panel,
.si-conflict {
    background: #fff;
    border: 1px solid #d9e5dd;
    border-radius: 8px;
    padding: 16px;
    min-width: 0;
}
.si-block-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    text-align: left;
    color: inherit;
    width: 100%;
    min-height: 76px;
}
.si-block-card:hover {
    border-color: var(--si-accent);
}
.si-block-card strong {
    display: block;
    color: var(--si-green);
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.si-block-card p {
    display: none;
}
.si-block-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 6px;
    min-width: 126px;
    border: 1px solid #c8d8ce;
    background: #fff;
    color: var(--si-green);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.2;
}
.si-block-status.is-started {
    border-color: #9fbda9;
    background: #e7f2eb;
}
.si-block-status.is-complete {
    border-color: var(--si-green);
    background: var(--si-green);
    color: #fff;
}
.si-block-card.is-started {
    border-color: #9fbda9;
}
.si-block-card.is-complete {
    border-color: var(--si-green);
}
.si-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    min-width: 0;
}
.si-btn {
    appearance: none;
    border: 1px solid var(--si-green);
    background: var(--si-green);
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    max-width: 100%;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}
.si-btn.secondary {
    background: #fff;
    color: var(--si-green);
}
.si-btn-primary-large {
    min-width: min(100%, 300px);
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(0, 67, 46, .16);
}
.si-btn-primary-large:hover {
    background: #063925;
    border-color: #063925;
}
.si-btn:focus-visible,
.si-text-btn:focus-visible,
.si-block-card:focus-visible {
    outline: 3px solid rgba(34, 106, 76, .32);
    outline-offset: 3px;
}
.si-section {
    margin-bottom: 22px;
}
.si-panel h2 {
    font-size: 32px;
    line-height: 1.18;
}
.si-section h3 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 18px;
}
.si-row {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 14px 20px;
    align-items: start;
    border-top: 1px solid #e5eee8;
    padding: 16px 0;
    min-width: 0;
}
.si-row.has-upload {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) minmax(160px, 220px);
}
.si-row label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 650;
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.si-row-label-text {
    min-width: 0;
}
.si-help {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}
.si-help-trigger {
    appearance: none;
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #9fbda9;
    border-radius: 999px;
    background: #fff;
    color: var(--si-green);
    cursor: help;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
}
.si-help-popover {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: calc(100% + 8px);
    width: min(280px, calc(100vw - 48px));
    transform: translateX(-50%);
    border: 1px solid #c8d8ce;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 67, 46, .16);
    color: #10251d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    opacity: 0;
    overflow-wrap: anywhere;
    padding: 10px;
    pointer-events: none;
    visibility: hidden;
}
.si-help-popover::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-bottom: 1px solid #c8d8ce;
    border-right: 1px solid #c8d8ce;
    transform: translate(-50%, -5px) rotate(45deg);
}
.si-help:hover .si-help-popover,
.si-help:focus-within .si-help-popover {
    opacity: 1;
    visibility: visible;
}
.si-row textarea,
.si-row input[type="text"],
.si-row input[type="file"] {
    width: 100%;
    min-width: 0;
    border: 1px solid #c8d8ce;
    border-radius: 6px;
    padding: 8px;
    font: inherit;
}
.si-row textarea {
    min-height: 72px;
    resize: vertical;
}
.si-file-field {
    display: grid;
    gap: 6px;
    color: #5b7068;
    font-size: 13px;
}
.si-file-field input {
    background: #fff;
}
.si-desc {
    white-space: pre-line;
    color: #375449;
    overflow-wrap: anywhere;
}
.si-error {
    background: #fff1f0;
    border: 1px solid #e2b4ae;
    padding: 12px;
    border-radius: 6px;
}
.si-conflict {
    border-color: #c05c42;
    margin: 12px 0;
}
.si-comment {
    border-top: 1px solid #e5eee8;
    padding: 12px 0;
}
.si-comment textarea {
    width: 100%;
    min-width: 0;
    min-height: 72px;
    border: 1px solid #c8d8ce;
    border-radius: 6px;
    padding: 8px;
    font: inherit;
    margin-bottom: 8px;
}
@media (max-width: 1020px) {
    .si-status-hero h2 {
        white-space: normal;
    }
    .si-row,
    .si-row.has-upload {
        grid-template-columns: 1fr;
    }
    .si-row textarea,
    .si-row input[type="file"],
    .si-file-field {
        width: 100%;
    }
}
@media (min-width: 1408px) {
    .si-portal {
        margin-left: calc(50% - 680px);
    }
}
@media (max-width: 840px) {
    .si-portal-header,
    .si-project-head {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .si-status-hero h2 {
        font-size: 36px;
    }
}
@media (max-width: 520px) {
    .si-portal {
        width: min(100vw, 100%);
        left: auto;
        margin-left: 0;
        padding: 16px;
    }
    .si-portal-brand h1,
    .si-status-hero h2 {
        font-size: 30px;
    }
    .si-toolbar,
    .si-status-actions,
    .si-status-cta {
        display: grid;
        grid-template-columns: 1fr;
    }
    .si-btn {
        width: 100%;
    }
    .si-block-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .si-block-status {
        min-width: 0;
        max-width: 100%;
    }
}
@keyframes si-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
