
.co-start-launcher {
    width: min(100%, 850px);
    margin: 32px auto 48px;
    color: #173e30;
    text-align: left;
    scroll-margin-top: 110px;
}

.co-start-launcher h2 {
    margin: 0 0 16px !important;
    font-size: clamp(20px, 2.5vw, 26px) !important;
    line-height: 1.4 !important;
    letter-spacing: -.045em;
    text-align: center;
}

.co-start-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 14px;
    box-sizing: border-box;
    padding: 4px;
    border: 1px solid #dce9e0;
    border-radius: 13px;
    background: #eff5f1;
}

.co-start-tabs[hidden],
.co-start-panel[hidden] {
    display: none !important;
}

.co-start-tabs [role="tab"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 8px 13px;
    min-height: 42px;
    color: #4b6254;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
}

.co-start-tabs [role="tab"] svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.co-start-tabs [role="tab"][aria-selected="true"] {
    border-color: #d8e9dd;
    color: #096837;
    background: #fff;
    box-shadow: 0 2px 5px rgb(23 62 48 / 8%);
}

.co-start-tabs [role="tab"]:hover {
    color: #096837;
}

.co-start-launcher :focus-visible,
.co-start-page :focus-visible,
.co-start-card :focus-visible {
    outline: 2px solid #0d8c49;
    outline-offset: 3px;
}

.co-start-panel .co-ai-start {
    margin: 0;
}

.co-start-card {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #b6d5c1;
    border-radius: 18px;
    padding: 22px 24px 18px;
    color: #173e30;
    background: #fff;
    box-shadow: 0 8px 30px rgb(28 91 52 / 6%);
    text-align: left;
}

.co-start-field {
    display: grid;
    gap: 8px;
    font-size: 14px;
    font-weight: 650;
}

.co-start-field :is(input, textarea) {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #c9dccf;
    border-radius: 8px;
    color: #203a2c;
    background: #fcfefd;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.co-start-field :is(input, textarea):focus {
    outline: 2px solid #0d8c49;
    outline-offset: 1px;
}

.co-start-field textarea {
    display: block;
    min-height: 76px;
    resize: vertical;
}

.co-start-field .co-start-code {
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 14px;
}

.co-start-help,
.co-start-image p {
    margin: 10px 0 0;
    color: #526c5b;
    font-size: 13px;
    line-height: 1.7;
    word-break: keep-all;
}

.co-start-file {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 13px;
    font-size: 13px;
    font-weight: 650;
}

.co-start-file input {
    min-width: 0;
    max-width: 100%;
    font: inherit;
    font-weight: 400;
}

.co-start-file input::file-selector-button {
    margin-inline-end: 8px;
    padding: 7px 9px;
    border: 1px solid #c9dccf;
    border-radius: 7px;
    color: #235c3c;
    background: #f2f8f4;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.co-start-options {
    margin-top: 13px;
    color: #235c3c;
    font-size: 13px;
}

.co-start-options summary {
    width: fit-content;
    font-weight: 650;
    cursor: pointer;
}

.co-start-options[open] summary {
    margin-bottom: 10px;
}

.co-start-actions,
.co-start-image {
    display: flex;
    align-items: center;
    gap: 16px;
}

.co-start-actions {
    margin-top: 18px;
    justify-content: flex-end;
}

.co-start-image {
    justify-content: space-between;
}

.co-start-image h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -.025em;
}

.co-start-submit {
    text-decoration: none;
}

.co-start-fallback {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 13px;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .co-start-launcher {
        margin: 24px auto 36px;
    }

    .co-start-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .co-start-tabs [role="tab"] {
        padding-inline: 6px;
        font-size: 13px;
    }

    .co-start-card {
        padding: 16px 14px;
    }

    .co-start-image {
        align-items: flex-start;
        flex-direction: column;
    }

    .co-start-image .co-start-submit {
        width: 100%;
        box-sizing: border-box;
    }
}

.co-start-panel a.co-start-submit,
.co-start-panel a.co-start-submit:visited,
.co-start-panel a.co-start-submit:hover,
.co-start-panel a.co-start-submit:focus-visible {
    color: #fff;
}
