body.ostl-public-page {
    background: linear-gradient(180deg, #eef3fb 0%, #f8fbff 100%);
    color: #12233f;
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
}

.ostl-shell {
    margin: 0 auto;
    max-width: 1380px;
    padding: 32px 20px 48px;
}

.ostl-shell--narrow {
    max-width: 1180px;
}

.ostl-hero,
.ostl-step-strip,
.ostl-flow-shell,
.ostl-confirmation-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(18, 61, 130, 0.11);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(8, 36, 79, 0.08);
}

.ostl-hero {
    overflow: hidden;
}

.ostl-hero-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    padding: 28px;
}

.ostl-brand-row {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ostl-brand-lockup,
.ostl-partner-lockup {
    align-items: center;
    display: flex;
    gap: 12px;
}

.ostl-brand-lockup img,
.ostl-partner-lockup img,
.ostl-confirmation-logo img {
    max-height: 62px;
    max-width: 160px;
    width: auto;
}

.ostl-brand-title {
    color: #0d2b5b;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.ostl-partner-lockup {
    color: #61708f;
    font-size: 13px;
    font-weight: 700;
    flex-direction: column;
    align-items: flex-start;
}

.ostl-support-pill {
    background: rgba(24, 114, 70, 0.11);
    border-radius: 999px;
    color: #187246;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    margin: 16px 0 10px;
    padding: 8px 14px;
}

.ostl-hero h1 {
    color: #102349;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.04;
    margin: 0 0 14px;
}

.ostl-hero h1 span {
    color: #af2e2a;
}

.ostl-hero p {
    color: #566785;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    max-width: 650px;
}

.ostl-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.ostl-action-button,
.ostl-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ostl-action-button:hover,
.ostl-button:hover {
    box-shadow: 0 10px 24px rgba(8, 36, 79, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.ostl-action-button.is-primary,
.ostl-button.is-primary {
    background: #0f2d61;
    color: #fff;
}

.ostl-action-button.is-secondary {
    background: #187246;
    color: #fff;
}

.ostl-action-button.is-soft,
.ostl-button.is-secondary {
    background: #fff;
    border-color: #d8e2f0;
    color: #12233f;
}

.ostl-button.is-secondary {
    border-color: #d8e2f0;
}

.ostl-hero-visual {
    display: flex;
    align-items: stretch;
}

.ostl-hero-image-card {
    background: linear-gradient(135deg, #f6efe4 0%, #fff7ef 55%, #ead9bf 100%);
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
}

.ostl-hero-image-card img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ostl-step-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
    padding: 18px;
}

.ostl-step-card {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.ostl-step-card strong {
    color: #12233f;
    font-size: 16px;
}

.ostl-step-card span {
    color: #647594;
    font-size: 14px;
    line-height: 1.6;
}

.ostl-step-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 999px;
    color: #0f2d61;
    display: inline-flex;
    font-size: 20px;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.ostl-step-icon.is-coffee {
    background: #f2e2d1;
    color: #7b4d1a;
}

.ostl-step-icon.is-stay {
    background: #e4f3e8;
    color: #187246;
}

.ostl-flow-shell {
    margin-top: 18px;
    padding: 24px;
}

.ostl-flow-header {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ostl-flow-header h2,
.ostl-panel-header h3,
.ostl-confirmation-card h3 {
    color: #12233f;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
}

.ostl-flow-header p,
.ostl-panel-header p,
.ostl-empty-state p,
.ostl-transition-panel p,
.ostl-account-copy,
.ostl-muted-copy {
    color: #61708f;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.ostl-flow-state {
    background: #eff4ff;
    border-radius: 999px;
    color: #123d82;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 14px;
    white-space: nowrap;
}

.ostl-panel-grid {
    position: relative;
}

.ostl-panel {
    display: none;
}

.ostl-panel.is-active {
    display: block;
}

.ostl-empty-state,
.ostl-transition-panel {
    align-items: center;
    background: linear-gradient(180deg, #f9fbff 0%, #f3f8ff 100%);
    border: 1px dashed rgba(18, 61, 130, 0.18);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
    padding: 32px 26px;
    text-align: center;
}

.ostl-empty-icon,
.ostl-transition-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 999px;
    color: #123d82;
    display: inline-flex;
    font-size: 26px;
    height: 72px;
    justify-content: center;
    margin-bottom: 16px;
    width: 72px;
}

.ostl-empty-state h3,
.ostl-transition-panel h3 {
    color: #12233f;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
}

.ostl-compose-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
}

.ostl-card-preview {
    background: linear-gradient(135deg, #ead4b0 0%, #f8edd9 55%, #e2c695 100%);
    border-radius: 22px;
    min-height: 360px;
    position: relative;
}

.ostl-card-preview:before {
    background: linear-gradient(135deg, #0f2d61 0%, #214d94 100%);
    border-bottom-right-radius: 26px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    content: "";
    height: 88px;
    left: 0;
    position: absolute;
    top: 0;
    width: 108px;
}

.ostl-card-preview-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.ostl-card-badge {
    color: rgba(77, 51, 22, 0.74);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ostl-card-preview blockquote {
    color: #4c3414;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-style: italic;
    line-height: 1.24;
    margin: 24px 0 0;
}

.ostl-card-meta {
    color: rgba(77, 51, 22, 0.7);
    font-size: 14px;
    font-weight: 700;
}

.ostl-compose-fields,
.ostl-confirmation-card,
.ostl-panel {
    background: #fff;
    border: 1px solid #e0e8f4;
    border-radius: 22px;
    padding: 22px;
}

.ostl-label {
    color: #12233f;
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ostl-input,
.ostl-textarea {
    background: #f8fbff;
    border: 1px solid #d8e2f0;
    border-radius: 14px;
    color: #12233f;
    font-size: 15px;
    outline: none;
    padding: 14px 16px;
    width: 100%;
}

.ostl-textarea {
    min-height: 180px;
    resize: vertical;
}

.ostl-character-count {
    color: #61708f;
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
    text-align: right;
}

.ostl-field-row {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.ostl-field--check {
    align-items: flex-end;
    display: flex;
}

.ostl-check {
    align-items: center;
    color: #12233f;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 10px;
    margin: 0;
}

.ostl-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.ostl-button-row--center {
    justify-content: center;
}

.ostl-amount-grid,
.ostl-confirmation-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ostl-amount-button {
    background: #fff;
    border: 1px solid #d8e2f0;
    border-radius: 18px;
    cursor: pointer;
    min-height: 118px;
    padding: 18px 14px;
    text-align: center;
}

.ostl-amount-button strong {
    color: #12233f;
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.ostl-amount-button span {
    color: #61708f;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-top: 8px;
}

.ostl-amount-button.is-active {
    background: #123d82;
    border-color: #123d82;
}

.ostl-amount-button.is-active strong,
.ostl-amount-button.is-active span {
    color: #fff;
}

.ostl-custom-amount {
    margin-top: 18px;
    max-width: 360px;
}

.ostl-impact-note,
.ostl-impact-summary-card {
    background: #f8f3ea;
    border-radius: 18px;
    margin-top: 18px;
    padding: 16px 18px;
}

.ostl-impact-note {
    align-items: center;
    color: #6b5423;
    display: flex;
    font-size: 15px;
    font-weight: 800;
    gap: 10px;
}

.ostl-account-copy {
    background: #eff4ff;
    border-radius: 16px;
    margin-top: 12px;
    padding: 14px 16px;
}

.ostl-reassurance {
    color: #123d82;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.ostl-reassurance > div {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(18, 61, 130, 0.09);
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    padding: 16px 18px;
}

.ostl-reassurance i {
    margin-right: 8px;
}

.ostl-hero--compact .ostl-confirmation-head {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 24px 28px 28px;
}

.ostl-hero--compact h1 {
    font-size: 44px;
}

.ostl-confirmation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.ostl-status-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ostl-status-list li {
    align-items: flex-start;
    color: #12233f;
    display: flex;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    padding: 12px 0;
}

.ostl-status-list li + li {
    border-top: 1px solid #edf2f8;
}

.ostl-status-list li.is-complete i {
    color: #187246;
}

.ostl-status-list li.is-muted {
    color: #6f809e;
}

.ostl-status-list li.is-muted i {
    color: #9aacbf;
}

.ostl-impact-summary-card {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ostl-impact-metric span,
.ostl-message-recap span,
.ostl-order-summary-head span {
    color: #61708f;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ostl-impact-metric strong {
    color: #12233f;
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-top: 6px;
}

.ostl-message-recap {
    margin-top: 18px;
}

.ostl-message-recap blockquote {
    background: #f8fbff;
    border-left: 4px solid #123d82;
    border-radius: 0 14px 14px 0;
    color: #12233f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-style: italic;
    line-height: 1.5;
    margin: 10px 0 0;
    padding: 18px 20px;
}

.ostl-order-summary-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ostl-order-table th {
    border-top: 0;
    color: #61708f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ostl-order-table td {
    vertical-align: middle;
}

@media (max-width: 1199px) {
    .ostl-hero-grid,
    .ostl-compose-grid,
    .ostl-confirmation-grid {
        grid-template-columns: 1fr;
    }

    .ostl-amount-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ostl-impact-summary-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ostl-shell {
        padding: 16px 12px 28px;
    }

    .ostl-hero-grid,
    .ostl-flow-shell,
    .ostl-confirmation-card,
    .ostl-step-strip {
        padding: 18px;
    }

    .ostl-brand-row,
    .ostl-flow-header,
    .ostl-hero--compact .ostl-confirmation-head,
    .ostl-order-summary-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ostl-hero h1 {
        font-size: 40px;
    }

    .ostl-step-strip,
    .ostl-reassurance,
    .ostl-field-row,
    .ostl-amount-grid {
        grid-template-columns: 1fr;
    }

    .ostl-button-row,
    .ostl-action-row {
        flex-direction: column;
    }

    .ostl-action-button,
    .ostl-button {
        width: 100%;
    }
}

/* Compact public poster layout for Operation Share The Love landing page. */
.ostl-public-page--poster {
    background:
        radial-gradient(circle at 12% 6%, rgba(255, 255, 255, 0.95), rgba(240, 246, 255, 0.5) 38%, transparent 60%),
        linear-gradient(180deg, #edf4fb 0%, #f7fbff 100%);
    color: #0f2448;
    overflow-x: hidden;
}

.ostl-poster-shell {
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
}

.ostl-poster-card {
    background: #fffdf9;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
}

.ostl-poster-hero {
    display: grid;
    
   
}

.ostl-poster-copy {
    padding: 20px clamp(24px, 3.4vw, 54px) 16px;
    position: relative;
    z-index: 2;
}

.ostl-poster-topline {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ostl-poster-brand,
.ostl-poster-partner {
    align-items: center;
    display: flex;
    gap: 9px;
}

.ostl-poster-brand img {
    max-height: 38px;
    width: auto;
}

.ostl-poster-brand span {
    color: #0b316f;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 0.95;
    text-transform: uppercase;
}

.ostl-poster-partner {
    color: #1c2d49;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.ostl-poster-partner img {
    max-height: 38px;
    max-width: 96px;
    object-fit: contain;
}

.ostl-poster-support-pill {
    background: #e5f3eb;
    border-radius: 999px;
    color: #007943;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 5px;
    padding: 5px 13px;
}

.ostl-poster-copy h1 {
    color: #15264c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.05vw, 48px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.94;
    margin: 0 0 8px;
}

.ostl-poster-copy h1 span {
    color: #b52f2d;
}

.ostl-poster-copy p {
    color: #1f3158;
    font-size: clamp(13px, 1.05vw, 16px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    max-width: 760px;
}

.ostl-poster-scene {
    background: linear-gradient(90deg, rgba(255, 253, 249, 0.62), rgba(255, 253, 249, 0.05));
    min-height: 236px;
    overflow: hidden;
    position: relative;
}

.ostl-poster-scene > img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}



.ostl-poster-cup {
    bottom: 22px;
    filter: drop-shadow(0 14px 20px rgba(16, 21, 27, 0.3));
    left: 44%;
    position: absolute;
    width: 92px;
    z-index: 2;
}

.ostl-poster-cup img {
    display: block;
    width: 100%;
}

.ostl-poster-steps {
    border-bottom: 1px solid #dce4ef;
    border-top: 1px solid #dce4ef;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fffdf9;
}

.ostl-poster-step {
    align-items: center;
    background: #fffdf9;
    border: 0;
    border-right: 1px solid #dce4ef;
    color: #10264b;
    cursor: pointer;
    display: grid;
    gap: 2px 12px;
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 68px;
    padding: 9px clamp(16px, 2.6vw, 42px);
    text-align: left;
}

.ostl-poster-step:last-child {
    border-right: 0;
}

.ostl-poster-step > span,
.ostl-poster-panel-head > span {
    align-items: center;
    background: #1c5ca8;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 18px;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.ostl-poster-step > span.is-coffee,
.ostl-poster-panel-head > span.is-coffee {
    background: #805420;
}

.ostl-poster-step > span.is-stay {
    background: #225f35;
}

.ostl-poster-step strong {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.ostl-poster-step small {
    color: #31405e;
    font-size: 10px;
    font-weight: 700;
    grid-column: 2;
    line-height: 1.25;
}

.ostl-poster-step.is-active {
    background: #f5f9ff;
}

.ostl-poster-form {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.96fr);
    padding: 14px clamp(20px, 3.4vw, 54px) 10px;
}

.ostl-poster-panel {
    background: #fff;
    border: 1px solid #ccd9ea;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(13, 38, 79, 0.06);
    padding: 12px 14px;
}

.ostl-poster-panel-head {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 9px;
}

.ostl-poster-panel-head > span {
    flex: 0 0 auto;
    height: 32px;
    width: 32px;
}

.ostl-poster-panel-head h2 {
    color: #10264b;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 4px;
}

.ostl-poster-panel-head p {
    color: #31405e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.ostl-card-template-carousel {
    margin-bottom: 8px;
}

.ostl-card-template-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ostl-card-template-head label,
.ostl-message-fields label,
.ostl-donation-row label {
    color: #10264b;
    font-size: 11px;
    font-weight: 900;
    margin: 0;
}

.ostl-card-template-controls {
    display: flex;
    gap: 5px;
}

.ostl-card-template-controls button {
    align-items: center;
    background: #f5f8fc;
    border: 1px solid #ccd9ea;
    border-radius: 50%;
    color: #10264b;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.ostl-card-template-track {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ostl-card-template {
    background: #fff;
    border: 1px solid #ccd9ea;
    border-radius: 7px;
    color: #10264b;
    cursor: pointer;
    min-width: 0;
    padding: 6px;
    text-align: left;
}

.ostl-card-template.is-active {
    border-color: #1c5ca8;
    box-shadow: 0 0 0 2px rgba(28, 92, 168, 0.12);
}

.ostl-card-template strong {
    display: block;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ostl-template-thumb {
    align-items: center;
    border-radius: 5px;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    line-height: 1;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.ostl-template-thumb.is-template-thank-you {
    background: linear-gradient(135deg, #fff7e9, #e8c99a);
    color: #5d3920;
}

.ostl-template-thumb.is-template-service {
    background: linear-gradient(135deg, #eaf1ff, #1c5ca8);
    color: #fff;
}

.ostl-template-thumb.is-template-coffee {
    background: linear-gradient(135deg, #f4e7d6, #805420);
    color: #fff;
}

.ostl-compose-layout {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(126px, 155px) minmax(0, 1fr);
}

.ostl-mini-card {
    background: #f2e4d0;
    border: 1px solid #d0baa0;
    border-radius: 8px;
    min-height: 126px;
    padding: 7px 7px 28px;
    position: relative;
}

.ostl-mini-card-art {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(235, 217, 188, 0.78)),
        url("../img/ostl_images/marines-1.png") center bottom / 82% auto no-repeat;
    border: 1px solid rgba(98, 69, 37, 0.25);
    border-radius: 6px;
    color: #5d3920;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    height: 100%;
    justify-content: center;
    line-height: 1.22;
    min-height: 110px;
    padding: 8px;
    text-align: center;
}

.ostl-mini-card.is-template-service .ostl-mini-card-art {
    background:
        linear-gradient(135deg, rgba(11, 43, 91, 0.84), rgba(28, 92, 168, 0.62)),
        url("../img/ostl_images/us-army.png") center bottom / 76% auto no-repeat;
    border-color: rgba(14, 52, 108, 0.4);
    color: #fff;
}

.ostl-mini-card.is-template-coffee .ostl-mini-card-art {
    background:
        linear-gradient(135deg, rgba(255, 247, 235, 0.82), rgba(128, 84, 32, 0.68)),
        url("../img/ostl_images/ostl-cup-1.png") center bottom / 56% auto no-repeat;
    border-color: rgba(128, 84, 32, 0.38);
    color: #4a2a12;
}

.ostl-mini-card.is-template-service .ostl-mini-card-meta {
    color: rgba(255, 255, 255, 0.8);
}

.ostl-mini-card-meta {
    bottom: 29px;
    color: rgba(93, 57, 32, 0.75);
    font-size: 9px;
    font-weight: 800;
    left: 12px;
    position: absolute;
    right: 12px;
    text-align: center;
}

.ostl-card-slide-arrow {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(16, 38, 75, 0.2);
    border-radius: 50%;
    color: #10264b;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    height: 26px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    z-index: 3;
}

.ostl-card-slide-arrow.is-prev {
    left: 10px;
}

.ostl-card-slide-arrow.is-next {
    right: 10px;
}

.ostl-card-slide-footer {
    align-items: center;
    bottom: 6px;
    display: flex;
    justify-content: space-between;
    left: 10px;
    position: absolute;
    right: 10px;
    z-index: 2;
}

.ostl-card-slide-footer strong {
    color: rgba(93, 57, 32, 0.85);
    font-size: 9px;
    font-weight: 900;
}

.ostl-card-slide-dots {
    display: flex;
    gap: 4px;
}

.ostl-card-slide-dots button {
    background: rgba(93, 57, 32, 0.24);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 6px;
    padding: 0;
    width: 6px;
}

.ostl-card-slide-dots button.is-active {
    background: #1c5ca8;
    transform: scale(1.2);
}

.ostl-mini-card.is-template-service .ostl-card-slide-footer strong {
    color: rgba(255, 255, 255, 0.85);
}

.ostl-mini-card.is-template-service .ostl-card-slide-dots button {
    background: rgba(255, 255, 255, 0.4);
}

.ostl-mini-card.is-template-service .ostl-card-slide-dots button.is-active {
    background: #fff;
}

.ostl-message-fields textarea,
.ostl-message-fields input,
.ostl-quantity-control input {
    background: #fff;
    border: 1px solid #ccd9ea;
    border-radius: 6px;
    color: #10264b;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    width: 100%;
}

.ostl-message-fields textarea {
    line-height: 1.4;
    min-height: 86px;
    padding: 9px;
    resize: vertical;
}

.ostl-message-fields input {
    height: 30px;
    margin-top: 6px;
    padding: 0 10px;
}

.ostl-optional-card-fields {
    align-items: center;
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(150px, 1.2fr) minmax(80px, 1fr) 48px;
    margin-top: 6px;
}

.ostl-inline-check {
    align-items: center;
    color: #10264b;
    display: flex;
    font-size: 10px;
    font-weight: 800;
    gap: 6px;
    margin: 0;
}

.ostl-inline-check input {
    height: auto;
    margin: 0;
    width: auto;
}

.ostl-message-fields .ostl-character-count {
    font-size: 10px;
    margin-top: 3px;
}

.ostl-amount-grid--poster {
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ostl-amount-grid--poster .ostl-amount-button {
    border-radius: 7px;
    min-height: 58px;
    padding: 8px 6px;
    position: relative;
}

.ostl-amount-grid--poster .ostl-amount-button em {
    background: #df6f20;
    border-radius: 999px;
    color: #fff;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
    left: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.ostl-amount-grid--poster .ostl-amount-button strong {
    font-size: 22px;
}

.ostl-amount-grid--poster .ostl-amount-button span {
    font-size: 10px;
    margin-top: 4px;
}

.ostl-donation-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 92px 1fr auto;
    margin-top: 11px;
}

.ostl-quantity-control {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
}

.ostl-quantity-control button {
    background: #fbf4eb;
    border: 1px solid #d7c0a4;
    color: #7b4d1a;
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    height: 30px;
}

.ostl-quantity-control button:first-child {
    border-radius: 7px 0 0 7px;
}

.ostl-quantity-control button:last-child {
    border-radius: 0 7px 7px 0;
}

.ostl-quantity-control input {
    -moz-appearance: textfield;
    border: 0;
    border-radius: 0;
    flex: 0 0 7ch;
    height: 30px;
    padding: 0 0 0 3px;
    text-align: left;
    width: 7ch;
}

.ostl-quantity-control input::-webkit-inner-spin-button,
.ostl-quantity-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ostl-amount-input-wrap {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ccd9ea;
    border-top: 1px solid #ccd9ea;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.ostl-amount-input-wrap > span {
    color: #10264b;
    font-size: 14px;
    font-weight: 900;
    pointer-events: none;
}

.ostl-donation-row > strong {
    color: #10264b;
    font-size: 12px;
    font-weight: 900;
}

.ostl-impact-note--poster {
    background: transparent;
    border-top: 1px solid #e1e8f1;
    border-radius: 0;
    justify-content: center;
    margin-top: 9px;
    padding: 8px 0 0;
}

.ostl-impact-note--poster span {
    color: #596882;
    font-size: 12px;
}

.ostl-impact-note--poster strong {
    color: #184d2c;
    font-size: 16px;
}

.ostl-submit-bar {
    margin: -2px auto 0;
    max-width: 760px;
    padding: 0 18px 10px;
    text-align: center;
}

.ostl-main-submit {
    align-items: center;
    background: #082d63;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 7px 14px rgba(8, 45, 99, 0.22);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    min-height: 36px;
    text-transform: uppercase;
    width: 100%;
}

.ostl-secondary-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 5px;
}

.ostl-secondary-actions button {
    background: #fff;
    border: 1px solid #c7d3e4;
    border-radius: 5px;
    color: #10264b;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    min-height: 24px;
}

.ostl-poster-reassurance {
    border-top: 1px solid #dce4ef;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ostl-poster-reassurance div {
    align-items: center;
    color: #1d3157;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    line-height: 1.25;
    min-height: 36px;
    padding: 6px 14px;
    text-align: center;
}

.ostl-poster-reassurance div + div {
    border-left: 1px solid #dce4ef;
}

.ostl-poster-reassurance i {
    color: #082d63;
    font-size: 18px;
}

.ostl-panel-continue,
.ostl-panel-back,
.ostl-guided-primary,
.ostl-guided-secondary {
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    min-height: 30px;
    padding: 0 18px;
}

.ostl-panel-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.ostl-panel-continue {
    background: #082d63;
    border: 0;
    color: #fff;
    display: none;
}

.ostl-panel-back {
    background: #fff;
    border: 1px solid #c7d3e4;
    color: #10264b;
    display: none;
}

.ostl-guided-panel {
    background: #fff;
    border: 1px solid #ccd9ea;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(13, 38, 79, 0.06);
    display: none;
    margin: 14px auto 10px;
    max-width: 760px;
    padding: 18px;
    text-align: center;
}

.ostl-guided-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 50%;
    color: #1c5ca8;
    display: inline-flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    margin-bottom: 8px;
    width: 42px;
}

.ostl-guided-icon.is-stay {
    background: #e4f3e8;
    color: #225f35;
}

.ostl-guided-panel h2 {
    color: #10264b;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 7px;
}

.ostl-guided-panel p {
    color: #31405e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 auto 12px;
    max-width: 560px;
}

.ostl-guided-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.ostl-guided-primary {
    background: #082d63;
    border: 1px solid #082d63;
    color: #fff;
}

.ostl-guided-secondary {
    background: #fff;
    border: 1px solid #c7d3e4;
    color: #10264b;
}

.ostl-account-fields {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    margin: 0 auto 12px;
    max-width: 600px;
}

.ostl-account-fields input {
    border: 1px solid #ccd9ea;
    border-radius: 6px;
    color: #10264b;
    font-size: 13px;
    font-weight: 700;
    height: 36px;
    padding: 0 12px;
    width: 100%;
}

.ostl-poster-card.is-guided-flow .ostl-submit-bar {
    display: none;
}

.ostl-poster-card.is-guided-flow .ostl-poster-form {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.ostl-poster-card.is-guided-flow .ostl-poster-form .js-guided-panel {
    display: none;
}

.ostl-poster-card.is-guided-flow .ostl-poster-form .js-guided-panel.is-guided-active {
    display: block;
}

.ostl-poster-card.is-guided-flow .ostl-guided-panel.is-guided-active {
    display: block;
}

.ostl-poster-card.is-guided-flow .ostl-panel-continue,
.ostl-poster-card.is-guided-flow .ostl-panel-back {
    display: inline-flex;
}

@media (max-width: 991px) {
    .ostl-poster-hero,
    .ostl-poster-form {
        grid-template-columns: 1fr;
    }

    .ostl-poster-scene {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .ostl-poster-shell {
        padding: 10px;
    }

    .ostl-poster-copy {
        padding: 18px;
    }

    .ostl-poster-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .ostl-poster-copy h1 {
        font-size: 34px;
    }

    .ostl-poster-steps,
    .ostl-compose-layout,
    .ostl-card-template-track,
    .ostl-poster-reassurance,
    .ostl-secondary-actions {
        grid-template-columns: 1fr;
    }

    .ostl-poster-step {
        border-right: 0;
        border-bottom: 1px solid #dce4ef;
    }

    .ostl-poster-reassurance div + div {
        border-left: 0;
        border-top: 1px solid #dce4ef;
    }

    .ostl-donation-row {
        grid-template-columns: 1fr;
    }
}

/* Reference-style OSTL card layout. Keep this block last so it overrides the earlier poster sizing. */
.ostl-public-page--poster {
    background: #eef3fb;
}

.ostl-poster-shell {
    /* max-width: 1180px; */
    margin: 0 auto;
    padding: 8px;
}

.ostl-poster-card {
    background: #fffdf9;
    border: 1px solid #cfd9e6;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(13, 38, 79, 0.12);
    overflow: hidden;
}

.ostl-poster-hero {  
    min-height: 330px;
    position: relative;
}

.ostl-poster-copy {
    background: linear-gradient(90deg, #fffdf9 0%, #fffdf9 76%, rgba(255, 253, 249, 0.66) 100%);
    padding: 20px 32px 16px 38px;
}

.ostl-poster-topline {
    margin-bottom: 10px;
}

.ostl-poster-brand img {
    max-height: 46px;
}

.ostl-poster-brand span {
    font-size: 18px;
}

.ostl-poster-support-pill {
    display: none;
}

.ostl-poster-copy h1 {
    font-size: 42px;
    line-height: 0.97;
    margin: 6px 0 10px;
}

.ostl-poster-copy p {
    color: #162a4f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    max-width: 390px;
}

.ostl-poster-scene {
    min-height: 252px;
}

.ostl-poster-scene > img {
    object-position: center center;
}

.ostl-poster-scene:before {
   
    content: "";
    inset: 0;
    opacity: 0.45;
    position: absolute;
    z-index: 1;
}



.ostl-poster-partner {
    align-items: center;
    color: #1c2d49;
    display: grid;
    gap: 3px 10px;
    grid-template-columns: minmax(180px, 240px) auto;
    position: absolute;
    right: clamp(150px, 10vw, 210px);
    top: 34px;
    text-align: left;
    width: 400px;
    z-index: 3;
}

.ostl-poster-partner span {
    color: #111;
    display: block;
    font-size: 12px;
    font-weight: 900;
    grid-column: 1;
    grid-row: 1;
}

.ostl-poster-partner strong {
    color: #062656;
    display: block;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
    max-width: 240px;
    overflow-wrap: normal;
    white-space: nowrap;
    grid-column: 1;
    grid-row: 2;
}

.ostl-poster-partner img {
    background: transparent;
    grid-column: 2;
    grid-row: 1 / span 2;
    max-height: 72px;
    max-width: 150px;
    mix-blend-mode: multiply;
    object-fit: contain;
    padding: 0;
}

.ostl-poster-cup {
    bottom: 42px;
    left: 43%;
    width: 138px;
    z-index: 3;
}

.ostl-poster-steps {
    border-color: #d7d7d7;
}

.ostl-poster-step {
    background: #fffdf9;
    gap: 2px 18px;
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 88px;
    padding: 6px 38px;
}

.ostl-poster-step.is-active {
    background: #f5f9ff;
}

.ostl-poster-step > span {
    font-size: 26px;
    height: 62px;
    width: 62px;
}

.ostl-poster-step strong {
    font-size: 15px;
}

.ostl-poster-step small {
    font-size: 12px;
    max-width: 230px;
}

.ostl-poster-form {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    padding: 8px 22px 4px;
}

.ostl-poster-panel {
    border: 1px solid #d1d1d1;
    border-radius: 7px;
    box-shadow: none;
    min-height: 282px;
    padding: 12px 16px;
}

.ostl-poster-panel-head {
    margin-bottom: 8px;
}

.ostl-poster-panel-head > span {
    background: transparent;
    border-radius: 0;
    color: #092d63;
    font-size: 25px;
    height: auto;
    width: 32px;
}

.ostl-poster-panel-head > span.is-coffee {
    background: transparent;
    color: #092d63;
}

.ostl-poster-panel-head h2 {
    font-size: 22px;
}

.ostl-poster-panel-head p {
    font-size: 12px;
    max-width: 430px;
}

.ostl-compose-layout {
    gap: 16px;
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
}

.ostl-mini-card {
    min-height: 172px;
    padding: 7px 7px 24px;
}

.ostl-mini-card-art {
    font-size: 15px;
    min-height: 148px;
}

.ostl-message-fields textarea {
    min-height: 122px;
}

.ostl-optional-card-fields {
    display: none;
}

.ostl-amount-grid--poster {
    gap: 12px;
    margin-top: 30px;
}

.ostl-amount-grid--poster .ostl-amount-button {
    min-height: 72px;
}

.ostl-amount-grid--poster .ostl-amount-button strong {
    font-size: 24px;
}

.ostl-amount-grid--poster .ostl-amount-button span {
    font-size: 12px;
}

.ostl-donation-row {
    grid-template-columns: 92px minmax(0, 1fr) 86px;
    margin-top: 14px;
}

.ostl-impact-note--poster strong {
    font-size: 20px;
}

.ostl-submit-bar {
    max-width: 690px;
    padding-bottom: 8px;
}

.ostl-main-submit {
    border-radius: 5px;
    font-size: 20px;
    min-height: 48px;
}

.ostl-secondary-actions button {
    min-height: 30px;
}

.ostl-poster-reassurance {
    background: #f7fbff;
}

.ostl-poster-reassurance div {
    font-size: 12px;
    min-height: 58px;
}

@media (max-width: 991px) {
    .ostl-poster-shell {
        padding: 8px;
    }

    .ostl-poster-hero {
        grid-template-columns: 1fr;
    }

    .ostl-poster-scene {
        min-height: 230px;
    }

    .ostl-poster-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ostl-poster-card {
        border-radius: 8px;
    }

    .ostl-poster-copy {
        padding: 18px;
    }

    .ostl-poster-copy h1 {
        font-size: 34px;
    }

    .ostl-poster-step {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 12px 16px;
    }

    .ostl-poster-step > span {
        height: 52px;
        width: 52px;
    }

    .ostl-compose-layout,
    .ostl-poster-reassurance,
    .ostl-secondary-actions {
        grid-template-columns: 1fr;
    }
}

/* Mobile responsiveness for OSTL public landing page. */
.ostl-public-page--poster,
.ostl-public-page--poster * {
    box-sizing: border-box;
}

.ostl-public-page--poster {
    overflow-x: hidden;
}

@media (max-width: 991px) {
    .ostl-poster-shell {
        width: 100%;
        max-width: 100%;
        padding: 8px;
    }

    .ostl-poster-card {
        width: 100%;
    }

    .ostl-poster-hero,
    .ostl-poster-form {
        grid-template-columns: 1fr;
    }

    .ostl-poster-scene {
        min-height: 0;
        height: auto;
    }

    .ostl-poster-scene > img {
        display: block;
        height: auto;
        min-height: 0;
        object-fit: contain;
        position: relative;
        width: 100%;
    }

    .ostl-poster-scene:before,
    .ostl-poster-scene:after {
        display: none;
    }

    .ostl-poster-partner {
        right: 18px;
        top: 18px;
    }

    .ostl-poster-form {
        gap: 10px;
        padding: 10px;
    }

    .ostl-poster-panel {
        min-height: auto;
    }

    .ostl-amount-grid--poster {
        margin-top: 14px;
    }
}

@media (max-width: 767px) {
    .ostl-poster-shell {
        padding: 6px;
    }

    .ostl-poster-card {
        border-radius: 8px;
    }

    .ostl-poster-partner {
        align-items: flex-end;
        gap: 6px;
        right: 10px;
        top: 10px;
    }

    .ostl-poster-partner span {
        font-size: 10px;
        line-height: 1.1;
        max-width: 92px;
        text-align: right;
    }

    .ostl-poster-partner img {
        max-height: 48px;
        max-width: 68px;
        padding: 0;
    }

    .ostl-poster-steps {
        grid-template-columns: 1fr;
    }

    .ostl-poster-step {
        border-bottom: 1px solid #dce4ef;
        border-right: 0;
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: auto;
        padding: 12px 14px;
    }

    .ostl-poster-step:last-child {
        border-bottom: 0;
    }

    .ostl-poster-step > span {
        font-size: 20px;
        height: 46px;
        width: 46px;
    }

    .ostl-poster-step strong {
        font-size: 14px;
    }

    .ostl-poster-step small {
        font-size: 11px;
        max-width: none;
    }

    .ostl-poster-panel {
        padding: 12px;
    }

    .ostl-poster-panel-head {
        align-items: flex-start;
    }

    .ostl-poster-panel-head h2 {
        font-size: 22px;
        line-height: 1.1;
    }

    .ostl-compose-layout,
    .ostl-poster-reassurance,
    .ostl-secondary-actions,
    .ostl-account-fields {
        grid-template-columns: 1fr;
    }

    .ostl-mini-card {
        margin: 0 auto;
        max-width: 280px;
        width: 100%;
    }

    .ostl-message-fields textarea {
        min-height: 120px;
    }

    .ostl-amount-grid--poster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ostl-donation-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .ostl-quantity-control {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        width: 100%;
    }

    .ostl-impact-note--poster {
        flex-wrap: wrap;
        text-align: center;
    }

    .ostl-submit-bar {
        max-width: none;
        padding: 0 10px 10px;
    }

    .ostl-main-submit {
        font-size: 15px;
        min-height: 44px;
        width: 100%;
    }

    .ostl-secondary-actions {
        gap: 6px;
    }

    .ostl-secondary-actions button {
        width: 100%;
    }

    .ostl-poster-reassurance div {
        border-left: 0;
        border-top: 1px solid #dce4ef;
        min-height: auto;
        padding: 12px;
    }

    .ostl-poster-reassurance div:first-child {
        border-top: 0;
    }

    .ostl-guided-panel {
        margin: 10px;
        padding: 14px;
    }

    .ostl-guided-actions {
        flex-direction: column;
    }

    .ostl-guided-primary,
    .ostl-guided-secondary,
    .ostl-panel-continue,
    .ostl-panel-back {
        width: 100%;
    }

    .ostl-panel-actions {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .ostl-poster-shell {
        padding: 0;
    }

    .ostl-poster-card {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
    }

    .ostl-poster-partner span {
        display: none;
    }

    .ostl-poster-partner img {
        max-height: 40px;
        max-width: 56px;
    }

    .ostl-amount-grid--poster {
        grid-template-columns: 1fr;
    }
}

/* Mobile tightening: remove banner gap and scale typography. */
@media (max-width: 767px) {
    .ostl-poster-hero {
        min-height: 0 !important;
        height: auto !important;
    }

    .ostl-poster-scene {
        min-height: 0 !important;
        height: auto !important;
        line-height: 0;
    }

    .ostl-poster-scene > img {
        display: block;
        height: auto !important;
        max-height: none;
        object-fit: contain;
        width: 100%;
    }

    .ostl-poster-steps {
        margin-top: 0;
    }

    .ostl-poster-step {
        gap: 0 10px;
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 9px 12px;
    }

    .ostl-poster-step > span {
        font-size: 16px;
        height: 34px;
        width: 34px;
    }

    .ostl-poster-step strong {
        font-size: 12px;
        line-height: 1.05;
    }

    .ostl-poster-step small {
        font-size: 9px;
        line-height: 1.2;
        margin-top: 2px;
    }

    .ostl-poster-form {
        padding: 6px;
    }

    .ostl-poster-panel {
        padding: 9px;
    }

    .ostl-poster-panel-head {
        gap: 7px;
        margin-bottom: 7px;
    }

    .ostl-poster-panel-head > span {
        font-size: 17px;
        width: 22px;
    }

    .ostl-poster-panel-head h2 {
        font-size: 18px;
        line-height: 1.05;
    }

    .ostl-poster-panel-head p {
        font-size: 10px;
        line-height: 1.2;
    }

    .ostl-compose-layout {
        gap: 8px;
    }

    .ostl-mini-card {
        max-width: 210px;
        min-height: 132px;
        padding-bottom: 22px;
    }

    .ostl-mini-card-art {
        font-size: 12px;
        min-height: 108px;
    }

    .ostl-card-slide-arrow {
        height: 21px;
        width: 21px;
        font-size: 14px;
    }

    .ostl-card-slide-footer strong,
    .ostl-mini-card-meta {
        font-size: 8px;
    }

    .ostl-message-fields label,
    .ostl-donation-row label {
        font-size: 10px;
    }

    .ostl-message-fields textarea {
        font-size: 11px;
        min-height: 92px;
        padding: 8px;
    }

    .ostl-message-fields input,
    .ostl-account-fields input {
        font-size: 11px;
        height: 30px;
    }

    .ostl-character-count {
        font-size: 9px !important;
    }

    .ostl-amount-grid--poster {
        gap: 7px;
        margin-top: 8px;
    }

    .ostl-amount-grid--poster .ostl-amount-button {
        min-height: 56px;
        padding: 7px 5px;
    }

    .ostl-amount-grid--poster .ostl-amount-button strong {
        font-size: 20px;
    }

    .ostl-amount-grid--poster .ostl-amount-button span {
        font-size: 10px;
    }

    .ostl-impact-note--poster strong {
        font-size: 16px;
    }

    .ostl-main-submit {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .ostl-poster-shell {
        padding: 0;
    }

    .ostl-poster-step {
        padding: 8px 11px;
    }

    .ostl-poster-panel-head h2 {
        font-size: 17px;
    }

    .ostl-mini-card {
        max-width: 200px;
    }
}

/* Display name controls for encouragement card preview. */
.ostl-mini-card-meta.is-empty {
    display: none;
}

.ostl-display-name-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(135px, max-content) minmax(0, 1fr);
    margin-top: 6px;
}

.ostl-display-name-row input[type="text"] {
    margin-top: 0;
}

.ostl-optional-card-fields {
    grid-template-columns: minmax(0, 1fr) 86px;
}

@media (max-width: 767px) {
    .ostl-display-name-row {
        gap: 6px;
        grid-template-columns: 1fr;
    }

    .ostl-optional-card-fields {
        grid-template-columns: minmax(0, 1fr) 70px;
    }
}

/* Keep name/city/state controls visible inside the encouragement form. */
.ostl-card-identity-fields {
    display: block;
    margin-top: 7px;
}

.ostl-card-identity-fields .ostl-inline-check {
    margin-bottom: 6px;
}

.ostl-card-identity-fields .ostl-display-name-row {
    display: block;
    margin-top: 0;
}

.ostl-card-identity-fields .ostl-optional-card-fields {
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) 96px;
    margin-top: 6px;
}

.ostl-card-identity-fields input {
    box-sizing: border-box;
    min-width: 0;
}

@media (max-width: 767px) {
    .ostl-card-identity-fields .ostl-optional-card-fields {
        grid-template-columns: minmax(0, 1fr) 72px;
    }
}

/* Identity inputs in one row: name, city, 2-letter state. */
.ostl-card-identity-fields .ostl-inline-check {
    margin-bottom: 6px;
}

.ostl-identity-input-row {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) 56px;
    width: 100%;
}

.ostl-identity-input-row input {
    margin-top: 0;
    min-width: 0;
}

#flow-display-state {
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .ostl-identity-input-row {
        gap: 6px;
        grid-template-columns: minmax(0, 1fr) 56px;
    }

    #flow-display-name {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) and (max-width: 1399px) {
    .ostl-public-page--poster .ostl-identity-input-row {
        grid-template-columns: minmax(0, 1fr) 56px;
    }

    .ostl-public-page--poster #flow-display-name {
        grid-column: 1 / -1;
    }
}

/* Keep the encouragement template preview in landscape orientation. */
.ostl-compose-layout {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.ostl-mini-card {
    aspect-ratio: 16 / 10;
    min-height: 0;
    width: 100%;
}

.ostl-mini-card-art {
    min-height: 0;
    height: 100%;
    padding: 10px 32px;
}

.ostl-mini-card.is-template-dynamic .ostl-mini-card-art {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.ostl-mini-card.is-template-dynamic {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.ostl-mini-card.is-template-dynamic .ostl-mini-card-art {
    border: 0;
    border-radius: 0;
    padding: 10px 32px;
}

.ostl-mini-card.is-template-dynamic .ostl-card-slide-dots {
    bottom: -20px;
}

.ostl-mini-card.is-align-left .ostl-mini-card-art {
    justify-content: flex-start;
    text-align: left;
}

.ostl-mini-card.is-align-center .ostl-mini-card-art {
    justify-content: center;
    text-align: center;
}

.ostl-mini-card.is-align-right .ostl-mini-card-art {
    justify-content: flex-end;
    text-align: right;
}

.ostl-mini-card.is-template-dynamic .ostl-mini-card-art span {
    max-width: 68%;
}

#card-preview-message {
    display: block;
    max-height: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#card-preview-message.is-message-medium {
    font-size: 13px;
    line-height: 1.16;
}

#card-preview-message.is-message-long {
    font-size: 11px;
    line-height: 1.12;
}

#card-preview-message.is-message-extra-long {
    font-size: 9px;
    line-height: 1.08;
}

@media (max-width: 767px) {
    .ostl-compose-layout {
        grid-template-columns: 1fr;
    }

    .ostl-mini-card {
        max-width: 320px;
    }
}

/* Final OSTL public flow refinements. */
.ostl-public-page--poster .ostl-poster-hero {
    height: auto;
    min-height: 0;
}

.ostl-public-page--poster .ostl-poster-scene {
    line-height: 0;
    min-height: 0;
}

.ostl-public-page--poster .ostl-poster-scene > img {
    display: block;
    height: auto;
    max-height: none;
    object-fit: contain;
    position: relative;
    width: 100%;
}

.ostl-public-page--poster .ostl-poster-panel-head p {
    max-width: none;
}

.ostl-public-page--poster .ostl-poster-partner {
    align-items: center;
    color: #062656;
    line-height: 1.1;
    text-align: left;
}

.ostl-public-page--poster .ostl-poster-reassurance div:first-child {
    font-weight: 900;
}

.ostl-public-page--poster .ostl-poster-reassurance strong {
    color: #0b316f;
}

.ostl-public-page--poster .ostl-guided-actions {
    gap: 12px;
}

/* Final responsive layout overrides for the public OSTL page. */
.ostl-public-page--poster .ostl-poster-card,
.ostl-public-page--poster .ostl-poster-form,
.ostl-public-page--poster .ostl-poster-panel,
.ostl-public-page--poster .ostl-guided-panel,
.ostl-public-page--poster .ostl-submit-bar {
    max-width: 100%;
}

.ostl-public-page--poster .ostl-poster-form,
.ostl-public-page--poster .ostl-compose-layout,
.ostl-public-page--poster .ostl-poster-reassurance,
.ostl-public-page--poster .ostl-secondary-actions,
.ostl-public-page--poster .ostl-account-fields,
.ostl-public-page--poster .ostl-identity-input-row {
    min-width: 0;
}

.ostl-public-page--poster .ostl-poster-panel,
.ostl-public-page--poster .ostl-guided-panel {
    overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
    .ostl-public-page--poster .ostl-poster-form {
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-compose-layout {
        grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    }

    .ostl-public-page--poster .ostl-poster-panel {
        min-height: auto;
    }

    .ostl-public-page--poster .ostl-poster-reassurance {
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-poster-reassurance div {
        border-left: 0;
        border-top: 1px solid #dce4ef;
        min-height: auto;
        padding: 13px 16px;
    }

    .ostl-public-page--poster .ostl-poster-reassurance div:first-child {
        border-top: 0;
    }
}

@media (max-width: 900px) {
    .ostl-public-page--poster .ostl-poster-steps {
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-poster-step {
        border-bottom: 1px solid #dce4ef;
        border-right: 0;
        grid-template-columns: 46px minmax(0, 1fr);
        min-height: auto;
        padding: 12px 16px;
    }

    .ostl-public-page--poster .ostl-poster-step:last-child {
        border-bottom: 0;
    }

    .ostl-public-page--poster .ostl-poster-step > span {
        font-size: 18px;
        height: 42px;
        width: 42px;
    }

    .ostl-public-page--poster .ostl-poster-step strong {
        font-size: 14px;
        line-height: 1.15;
    }

    .ostl-public-page--poster .ostl-poster-step small {
        font-size: 11px;
        line-height: 1.25;
        max-width: none;
    }

    .ostl-public-page--poster .ostl-compose-layout {
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-mini-card {
        margin: 0 auto;
        max-width: 420px;
    }

    .ostl-public-page--poster .ostl-amount-grid--poster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ostl-public-page--poster .ostl-poster-shell {
        padding: 0;
    }

    .ostl-public-page--poster .ostl-poster-card {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
    }

    .ostl-public-page--poster .ostl-poster-partner {
        gap: 3px;
        grid-template-columns: 80px auto;
        right: 8px;
        text-align: left;
        top: 10px;
        width: 172px;
    }

    .ostl-public-page--poster .ostl-poster-partner span {
        display: none;
    }

    .ostl-public-page--poster .ostl-poster-partner strong {
        display: block;
        font-size: 11px;
        max-width: 80px;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .ostl-public-page--poster .ostl-poster-partner img {
        max-height: 44px;
        max-width: 88px;
    }

    .ostl-public-page--poster .ostl-poster-form {
        gap: 8px;
        padding: 8px;
    }

    .ostl-public-page--poster .ostl-poster-panel {
        border-radius: 6px;
        padding: 10px;
    }

    .ostl-public-page--poster .ostl-poster-panel-head {
        align-items: flex-start;
        gap: 8px;
    }

    .ostl-public-page--poster .ostl-poster-panel-head > span {
        flex: 0 0 24px;
        font-size: 18px;
        width: 24px;
    }

    .ostl-public-page--poster .ostl-poster-panel-head h2,
    .ostl-public-page--poster .ostl-guided-panel h2 {
        font-size: 20px;
        line-height: 1.12;
    }

    .ostl-public-page--poster .ostl-poster-panel-head p,
    .ostl-public-page--poster .ostl-guided-panel p {
        font-size: 12px;
        line-height: 1.35;
    }

    .ostl-public-page--poster .ostl-mini-card {
        max-width: 100%;
    }

    .ostl-public-page--poster .ostl-message-fields textarea {
        font-size: 13px;
        min-height: 118px;
    }

    .ostl-public-page--poster .ostl-identity-input-row {
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-amount-grid--poster {
        gap: 8px;
    }

    .ostl-public-page--poster .ostl-amount-grid--poster .ostl-amount-button {
        min-height: 64px;
    }

    .ostl-public-page--poster .ostl-donation-row {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .ostl-public-page--poster .ostl-quantity-control {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        width: 100%;
    }

    .ostl-public-page--poster .ostl-panel-actions,
    .ostl-public-page--poster .ostl-guided-actions,
    .ostl-public-page--poster .ostl-secondary-actions {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-panel-actions button,
    .ostl-public-page--poster .ostl-guided-actions button,
    .ostl-public-page--poster .ostl-secondary-actions button,
    .ostl-public-page--poster .ostl-main-submit {
        min-height: 42px;
        width: 100%;
    }

    .ostl-public-page--poster .ostl-submit-bar {
        padding: 0 8px 8px;
    }
}

@media (max-width: 420px) {
    .ostl-public-page--poster .ostl-poster-step {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 8px 10px;
    }

    .ostl-public-page--poster .ostl-poster-step > span {
        font-size: 15px;
        height: 32px;
        width: 32px;
    }

    .ostl-public-page--poster .ostl-poster-step strong {
        font-size: 12px;
    }

    .ostl-public-page--poster .ostl-poster-step small {
        font-size: 10px;
    }

    .ostl-public-page--poster .ostl-amount-grid--poster {
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-main-submit {
        font-size: 13px;
    }
}

/* Reassurance strip polish. */
.ostl-public-page--poster .ostl-poster-reassurance {
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    border-top: 1px solid #d6e1ef;
    display: grid;
    gap: 0;
    grid-template-columns: 1.1fr 1.1fr 1fr;
}

.ostl-public-page--poster .ostl-reassurance-card {
    align-items: center;
    color: #062452;
    display: flex;
    gap: 14px;
    justify-content: center;
    min-height: 72px;
    padding: 14px 22px;
    text-align: center;
}

.ostl-public-page--poster .ostl-reassurance-card + .ostl-reassurance-card {
    border-left: 1px solid #d6e1ef;
}

.ostl-public-page--poster .ostl-reassurance-card > strong {
    font-size: 14px;
    line-height: 1.25;
}

.ostl-public-page--poster .ostl-reassurance-icon {
    align-items: center;
    background: #eaf2ff;
    border: 1px solid #cfe0f6;
    border-radius: 50%;
    color: #062f69;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 18px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.ostl-public-page--poster .ostl-impact-stats {
    display: grid;
    grid-template-columns: 38px repeat(3, minmax(0, 1fr));
    text-align: center;
}

.ostl-public-page--poster .ostl-impact-stats > span:not(.ostl-reassurance-icon) {
    display: grid;
    gap: 2px;
    justify-items: center;
}

.ostl-public-page--poster .ostl-impact-stats strong {
    color: #073a7d;
    font-size: 19px;
    line-height: 1;
}

.ostl-public-page--poster .ostl-impact-stats small {
    color: #213a63;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

@media (max-width: 1199px) {
    .ostl-public-page--poster .ostl-poster-reassurance {
        grid-template-columns: 1fr;
    }

    .ostl-public-page--poster .ostl-reassurance-card + .ostl-reassurance-card {
        border-left: 0;
        border-top: 1px solid #d6e1ef;
    }
}

@media (max-width: 640px) {
    .ostl-public-page--poster .ostl-reassurance-card {
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 0;
        padding: 13px 14px;
        text-align: left;
    }

    .ostl-public-page--poster .ostl-impact-stats {
        grid-template-columns: 34px 1fr;
    }

    .ostl-public-page--poster .ostl-impact-stats > span:not(.ostl-reassurance-icon) {
        align-items: center;
        display: flex;
        gap: 8px;
        justify-content: space-between;
    }

    .ostl-public-page--poster .ostl-impact-stats small {
        text-align: right;
    }
}
