@import url("https://hangeul.pstatic.net/hangeul_static/css/nanum-square-neo.css");
@import url("https://hangeul.pstatic.net/hangeul_static/css/nanum-gothic.css");

.bt-ai-section-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 15px 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.bt-ai-template-order {
    --bt-ai-template-ink: #0f172a;
    --bt-ai-template-muted: #64748b;
    --bt-ai-template-line: #dbe3ef;
    --bt-ai-template-soft: #f8fafc;
    --bt-ai-template-accent: #2563eb;
    --bt-ai-template-warm: #f97316;
    color: var(--bt-ai-template-ink);
}

.bt-ai-template-order *,
.bt-ai-template-order *::before,
.bt-ai-template-order *::after {
    box-sizing: border-box;
}

.bt-ai-template-order__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    margin-bottom: 22px;
    border: 1px solid var(--bt-ai-template-line);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #fef7ed 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.bt-ai-template-order__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0;
}

.bt-ai-template-order__hero h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.28;
    letter-spacing: 0;
}

.bt-ai-template-order__hero p {
    margin: 10px 0 0;
    color: var(--bt-ai-template-muted);
    font-size: 16px;
    line-height: 1.7;
}

.bt-ai-template-order__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.bt-ai-template-order__grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.bt-ai-template-order__catalog,
.bt-ai-template-preview-card,
.bt-ai-template-panel {
    border: 1px solid var(--bt-ai-template-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.bt-ai-template-order__catalog {
    position: sticky;
    top: 24px;
    padding: 18px;
}

.bt-ai-template-order__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bt-ai-template-order__toolbar strong,
.bt-ai-template-preview-card__head strong,
.bt-ai-template-panel h2 {
    display: block;
    color: var(--bt-ai-template-ink);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
}

.bt-ai-template-order__toolbar span,
.bt-ai-template-preview-card__head span,
.bt-ai-template-panel p,
.bt-ai-template-help {
    display: block;
    color: var(--bt-ai-template-muted);
    font-size: 14px;
    line-height: 1.6;
}

.bt-ai-template-order__refresh {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--bt-ai-template-line);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    cursor: pointer;
}

.bt-ai-template-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bt-ai-template-filter button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--bt-ai-template-line);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.bt-ai-template-filter button:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
}

.bt-ai-template-filter button.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.bt-ai-template-list {
    display: grid;
    gap: 12px;
    max-height: 720px;
    overflow: auto;
    padding-right: 4px;
}

.bt-ai-template-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.bt-ai-template-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.bt-ai-template-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #fff7ed);
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.bt-ai-template-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-ai-template-card__body {
    min-width: 0;
}

.bt-ai-template-card__body strong,
.bt-ai-template-card__body em,
.bt-ai-template-card__body small {
    display: block;
    letter-spacing: 0;
}

.bt-ai-template-card__body strong {
    margin: 2px 0 4px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.bt-ai-template-card__body em {
    color: #2563eb;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.bt-ai-template-card__body small {
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.bt-ai-template-empty {
    padding: 28px 14px;
    border-radius: 16px;
    background: var(--bt-ai-template-soft);
    color: #64748b;
    text-align: center;
    font-weight: 700;
}

.bt-ai-template-workspace {
    display: grid;
    gap: 18px;
}

.bt-ai-template-preview-card {
    padding: 18px;
}

.bt-ai-template-preview-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.bt-ai-template-preview-card__head em {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-style: normal;
    font-weight: 900;
    font-size: 13px;
}

.bt-ai-template-canvas-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 24px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background-color: #f8fafc;
    background-image:
        linear-gradient(#e2e8f0 1px, transparent 1px),
        linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 28px 28px;
}

#bt-ai-template-canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.bt-ai-template-form {
    display: grid;
    gap: 18px;
}

.bt-ai-template-panel {
    padding: 20px;
}

.bt-ai-template-panel h2 {
    margin: 0 0 8px;
}

.bt-ai-template-panel p {
    margin: 0 0 14px;
}

.bt-ai-template-fields,
.bt-ai-template-logos {
    display: grid;
    gap: 12px;
}

.bt-ai-template-field,
.bt-ai-template-wide,
.bt-ai-template-form-grid label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.bt-ai-template-field textarea,
.bt-ai-template-wide textarea,
.bt-ai-template-form-grid input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    padding: 12px;
    transition: border-color .22s ease, box-shadow .22s ease;
}

.bt-ai-template-field textarea:focus,
.bt-ai-template-wide textarea:focus,
.bt-ai-template-form-grid input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.bt-ai-template-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.bt-ai-template-logo-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.bt-ai-template-logo-slot strong,
.bt-ai-template-logo-slot span {
    display: block;
}

.bt-ai-template-logo-slot strong {
    color: #0f172a;
    font-size: 14px;
}

.bt-ai-template-logo-slot span {
    color: #64748b;
    font-size: 12px;
    margin-top: 3px;
}

.bt-ai-template-upload-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

.bt-ai-template-upload-btn input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.bt-ai-template-privacy {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

.bt-ai-template-privacy input {
    margin-top: 4px;
}

.bt-ai-template-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.bt-ai-template-submit-row p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.bt-ai-template-submit-row p.is-error {
    color: #dc2626;
}

.bt-ai-template-submit-row p.is-ok {
    color: #16a34a;
}

.bt-ai-template-submit-row p.is-loading {
    color: #2563eb;
}

.bt-ai-template-submit {
    min-height: 50px;
    min-width: 148px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.bt-ai-template-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

.bt-ai-template-submit:disabled {
    cursor: not-allowed;
    opacity: .55;
}

@media (max-width: 1024px) {
    .bt-ai-template-order__grid {
        grid-template-columns: 1fr;
    }

    .bt-ai-template-order__catalog {
        position: static;
    }

    .bt-ai-template-list {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .bt-ai-template-order__hero,
    .bt-ai-template-preview-card__head,
    .bt-ai-template-submit-row,
    .bt-ai-template-logo-slot {
        align-items: stretch;
        flex-direction: column;
    }

    .bt-ai-template-order__hero {
        padding: 20px;
    }

    .bt-ai-template-order__hero h1 {
        font-size: 24px;
    }

    .bt-ai-template-order__ghost,
    .bt-ai-template-submit,
    .bt-ai-template-upload-btn {
        width: 100%;
    }

    .bt-ai-template-card {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .bt-ai-template-card__thumb {
        width: 86px;
        height: 68px;
    }

    .bt-ai-template-canvas-shell {
        min-height: 240px;
        padding: 12px;
        border-radius: 16px;
    }

    .bt-ai-template-form-grid {
        grid-template-columns: 1fr;
    }

    .bt-ai-template-panel,
    .bt-ai-template-preview-card,
    .bt-ai-template-order__catalog {
        padding: 15px;
        border-radius: 18px;
    }
}

.bt-ai-section-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.bt-ai-section-nav__link--sub {
    background: #eff6ff;
    color: #2563eb !important;
}

.bt-ai-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 42px;
    align-items: center;
    padding: 52px 0 34px;
}

.bt-ai-hero__title {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.bt-ai-hero__lead {
    margin: 0;
    color: #334155;
    font-size: 18px;
    line-height: 1.75;
    word-break: keep-all;
}

.bt-ai-hero__actions,
.bt-ai-actions,
.bt-ai-complete__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.bt-ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    min-width: 0;
    white-space: normal;
    word-break: keep-all;
    text-align: center;
}

.bt-ai-btn:hover {
    transform: translateY(-1px);
}

.bt-ai-btn--primary {
    background: #2563eb;
    color: #fff !important;
}

.bt-ai-btn--secondary {
    background: #0f172a;
    color: #fff !important;
}

.bt-ai-btn--ghost {
    background: #fff;
    color: #0f172a !important;
    border-color: #cbd5e1;
}

.bt-ai-btn--wide {
    width: 100%;
}

.bt-ai-hero__panel {
    min-height: 340px;
    position: relative;
    border-radius: 8px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    overflow: hidden;
}

.bt-ai-preview-card {
    position: absolute;
    border-radius: 8px;
    background: linear-gradient(145deg, #0f172a, #1d4ed8);
    box-shadow: 0 22px 45px rgba(15, 23, 42, .18);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.bt-ai-preview-card strong {
    display: block;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: 0;
}

.bt-ai-preview-card em {
    display: block;
    margin-top: 12px;
    color: #ffd36a;
    font-style: normal;
    font-size: 16px;
}

.bt-ai-preview-card--wide {
    width: 330px;
    height: 132px;
    top: 58px;
    left: 38px;
}

.bt-ai-preview-card--tall {
    width: 170px;
    height: 250px;
    right: 42px;
    bottom: 42px;
}

.bt-ai-preview-card__line {
    width: 70px;
    height: 5px;
    border-radius: 5px;
    background: #60a5fa;
    margin-bottom: 18px;
}

.bt-ai-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 58px;
}

.bt-ai-flow__item {
    min-height: 86px;
    padding: 20px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #0f172a;
}

.bt-ai-flow__item strong {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
}

.bt-ai-flow__item span {
    font-weight: 800;
}

.bt-ai-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.bt-ai-section-head__title {
    margin: 0;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.bt-ai-section-head__text {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.bt-ai-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bt-ai-tab {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
}

.bt-ai-tab.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.bt-ai-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.bt-ai-filter__label {
    color: #475569;
    font-weight: 800;
}

.bt-ai-select,
.bt-ai-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    padding: 0 12px;
    font-size: 15px;
}

.bt-ai-select {
    max-width: 260px;
}

.bt-ai-complete {
    max-width: 760px;
    margin: 30px auto 80px;
    text-align: center;
    padding: 54px 30px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.bt-ai-complete__icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
}

.bt-ai-complete__title {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 30px;
    font-weight: 800;
}

.bt-ai-complete__text,
.bt-ai-complete__status {
    color: #475569;
    line-height: 1.75;
}

.bt-ai-complete__code {
    margin: 24px auto 12px;
    padding: 16px;
    max-width: 360px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.bt-ai-complete__code strong {
    color: #2563eb;
}

.bt-ai-complete__actions {
    justify-content: center;
}

/* App-like rounded polish for the customer entry and AI start cards. */
.bt-ai-hero,
.bt-ai-flow,
.bt-ai-complete,
.bt-ai-btn,
.bt-ai-tab,
.bt-ai-select,
.bt-ai-input,
.bt-ai-section-nav__link {
    font-family: "NanumSquareNeo", "Nanum Gothic", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.bt-ai-hero {
    gap: 54px;
    padding: 58px 0 42px;
}

.bt-ai-hero__title {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08;
    font-weight: 900;
    color: #111827;
}

.bt-ai-hero__lead {
    max-width: 720px;
    color: #334155;
    font-size: 18px;
}

.bt-ai-hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.bt-ai-hero__signals span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 900;
}

.bt-ai-hero__signals span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.bt-ai-btn {
    min-height: 50px;
    padding: 0 24px;
    border-radius: 18px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

.bt-ai-btn--primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff !important;
}

.bt-ai-btn--primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.bt-ai-btn--ghost,
.bt-ai-btn--secondary {
    border-color: #d9e2ef;
}

.bt-ai-section-nav__link {
    min-height: 42px;
    border-radius: 16px;
    font-weight: 900;
}

.bt-ai-section-nav__link--sub {
    background: #eff6ff;
    color: #1d4ed8 !important;
}

.bt-ai-hero__panel {
    min-height: 380px;
    border-radius: 30px;
    border-color: #d9e8ff;
    background:
        radial-gradient(circle at 18% 20%, rgba(37, 99, 235, .18), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 55%, #ffffff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 26px 68px rgba(15, 23, 42, .12);
}

.bt-ai-preview-card {
    border-radius: 24px;
    background: linear-gradient(145deg, #111827, #1d4ed8);
    box-shadow: 0 26px 56px rgba(15, 23, 42, .2);
}

.bt-ai-preview-card--wide {
    top: 54px;
    left: 42px;
}

.bt-ai-preview-card--tall {
    right: 44px;
    bottom: 40px;
}

.bt-ai-flow {
    gap: 14px;
    margin: 22px 0 62px;
}

.bt-ai-flow__item {
    min-height: 96px;
    border-radius: 22px;
    background: #fff;
    border-color: #e5ecf6;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .07);
}

.bt-ai-flow__item strong {
    width: 38px;
    height: 38px;
    background: #111827;
    font-weight: 900;
}

.bt-ai-section-head {
    padding: 0 2px;
}

.bt-ai-section-head__title {
    font-size: 34px;
    font-weight: 900;
    color: #111827;
}

.bt-ai-tabs {
    gap: 10px;
    padding: 8px;
    border: 1px solid #e5ecf6;
    border-radius: 24px;
    background: #f8fafc;
}

.bt-ai-tab {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 18px;
    border-color: transparent;
    background: transparent;
    color: #475569;
    font-weight: 900;
}

.bt-ai-tab:hover {
    background: #fff;
    color: #0f172a;
}

.bt-ai-tab.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
}

.bt-ai-filter {
    align-items: center;
    justify-content: flex-end;
    margin: 18px 0 24px;
}

.bt-ai-select,
.bt-ai-input {
    min-height: 46px;
    border-radius: 16px;
    border-color: #d9e2ef;
    font-weight: 800;
}

.bt-ai-hero--aionly .bt-ai-preview-card strong {
    letter-spacing: 0;
}

.bt-ai-aistart-area {
    margin-top: 42px;
}

.bt-ai-aistart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.bt-ai-aistart-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5ecf6;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bt-ai-aistart-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 28px 64px rgba(15, 23, 42, .14);
}

.bt-ai-aistart-card__thumb {
    min-height: 138px;
    height: 190px;
    margin: 12px 12px 0;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .18), transparent 32%),
        linear-gradient(135deg, #f8fafc, #eff6ff);
    color: #1e3a8a;
    font-size: 20px;
    font-weight: 900;
}

.bt-ai-aistart-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 22px;
}

.bt-ai-aistart-card__meta {
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
}

.bt-ai-aistart-card__badge {
    width: fit-content;
    align-self: flex-start;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.bt-ai-aistart-card__title {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}

.bt-ai-aistart-card__desc {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
    min-height: 50px;
}

.bt-ai-aistart-card__body .bt-ai-btn {
    width: 100%;
    margin-top: auto;
}

.bt-ai-aistart-group {
    margin-top: 34px;
}

.bt-ai-aistart-group__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.bt-ai-aistart-group__head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
}

.bt-ai-aistart-group__head p {
    max-width: 620px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
    text-align: right;
}

.bt-ai-alert {
    padding: 18px 20px;
    border: 1px solid #d9e2ef;
    border-radius: 20px;
    background: #f8fafc;
    color: #475569;
    font-family: "NanumSquareNeo", "Nanum Gothic", "Noto Sans KR", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 800;
    word-break: keep-all;
}

.bt-ai-alert--muted {
    border-color: #dbeafe;
    background: #f8fbff;
    color: #1e3a8a;
}

.bt-ai-complete {
    border-radius: 30px;
    border-color: #e5ecf6;
    box-shadow: 0 22px 52px rgba(15, 23, 42, .09);
}

.bt-ai-complete__icon {
    box-shadow: 0 18px 40px rgba(22, 163, 74, .24);
}

.bt-ai-complete__code {
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

@media (max-width: 1024px) {
    .bt-ai-hero {
        grid-template-columns: 1fr;
    }
    .bt-ai-hero__panel {
        min-height: 300px;
    }
    .bt-ai-aistart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .bt-ai-section-nav {
        justify-content: stretch;
    }
    .bt-ai-section-nav__link {
        flex: 1;
    }
    .bt-ai-hero {
        padding-top: 34px;
        gap: 28px;
    }
    .bt-ai-hero__title {
        font-size: 34px;
    }
    .bt-ai-hero__lead {
        font-size: 16px;
    }
    .bt-ai-hero__signals {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .bt-ai-hero__signals span {
        width: 100%;
        justify-content: flex-start;
    }
    .bt-ai-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .bt-ai-hero__actions .bt-ai-btn {
        width: 100%;
    }
    .bt-ai-flow {
        grid-template-columns: 1fr;
    }
    .bt-ai-section-head {
        display: block;
    }
    .bt-ai-section-head__text {
        margin-top: 8px;
    }
    .bt-ai-aistart-group__head {
        display: grid;
        align-items: start;
    }
    .bt-ai-aistart-group__head p {
        text-align: left;
    }
    .bt-ai-aistart-grid {
        grid-template-columns: 1fr;
    }
    .bt-ai-filter {
        display: block;
    }
    .bt-ai-select {
        max-width: none;
        margin-top: 8px;
    }
    .bt-ai-preview-card--wide {
        left: 18px;
        width: 250px;
    }
    .bt-ai-preview-card--tall {
        right: 18px;
        width: 150px;
    }
}

@media (max-width: 520px) {
    .bt-ai-hero {
        padding-top: 28px;
    }
    .bt-ai-hero__panel {
        min-height: 210px;
        border-radius: 24px;
    }
    .bt-ai-preview-card {
        border-radius: 18px;
        padding: 18px;
    }
    .bt-ai-preview-card strong {
        font-size: 23px;
    }
    .bt-ai-preview-card em {
        font-size: 13px;
        margin-top: 8px;
    }
    .bt-ai-preview-card--wide {
        width: calc(100% - 34px);
        height: 94px;
        top: 18px;
        left: 17px;
        right: 17px;
    }
    .bt-ai-preview-card--tall {
        width: calc(100% - 64px);
        height: 76px;
        right: 32px;
        bottom: 20px;
    }
    .bt-ai-preview-card__line {
        width: 44px;
        height: 4px;
        margin-bottom: 10px;
    }
    .bt-ai-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .bt-ai-tab {
        padding: 0 8px;
        min-height: 46px;
        font-size: 14px;
    }
    .bt-ai-complete {
        padding: 38px 18px;
    }
    .bt-ai-complete__title {
        font-size: 25px;
    }
}

.bt-ai-firefly-start,
.bt-ai-firefly-start * {
    box-sizing: border-box;
}

.bt-ai-firefly-start {
    width: min(1120px, calc(100% - 24px));
    margin: 28px auto 76px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #e5ecf6;
    border-radius: 32px;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .1), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 28px 74px rgba(15, 23, 42, .1);
    font-family: "NanumSquareNeo", "Nanum Gothic", "Noto Sans KR", system-ui, sans-serif;
}

.bt-ai-firefly-start__hero {
    max-width: 840px;
    margin: 0 auto 30px;
    text-align: center;
}

.bt-ai-firefly-start__hero h1 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
}

.bt-ai-firefly-start__hero p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 800;
    word-break: keep-all;
}

.bt-ai-firefly-composer {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid #d9e2ef;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .08);
}

.bt-ai-ai-options {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #edf1f7;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #fff7ed 100%);
}

.bt-ai-ai-options--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
}

.bt-ai-ai-option-menu {
    position: relative;
    min-width: 0;
}

.bt-ai-ai-select-button {
    width: 100%;
    min-height: 58px;
    display: grid;
    gap: 3px;
    justify-items: start;
    border: 1px solid #d9e2ef;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    color: #0f172a;
    padding: 10px 38px 10px 14px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bt-ai-ai-select-button::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .22s ease;
}

.bt-ai-ai-select-button[aria-expanded="true"] {
    border-color: #0f172a;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .11);
}

.bt-ai-ai-select-button[aria-expanded="true"]::after {
    transform: translateY(-35%) rotate(225deg);
}

.bt-ai-ai-select-button:hover,
.bt-ai-ai-select-button:focus {
    transform: translateY(-1px);
    border-color: #94a3b8;
    outline: none;
}

.bt-ai-ai-select-button span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.bt-ai-ai-select-button strong {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-ai-ai-menu {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d9e2ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, .16);
}

.bt-ai-ai-menu[hidden] {
    display: none !important;
}

.bt-ai-ai-menu--size {
    min-width: min(460px, calc(100vw - 42px));
    right: auto;
}

.bt-ai-prompt-helper-menu {
    min-width: min(620px, calc(100vw - 42px));
    right: auto;
}

.bt-ai-prompt-helper {
    width: 100%;
    display: grid;
    gap: 12px;
}

.bt-ai-prompt-helper__lead {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
}

.bt-ai-prompt-helper__group {
    display: grid;
    gap: 8px;
}

.bt-ai-prompt-helper__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bt-ai-prompt-helper__fields label,
.bt-ai-prompt-helper__full {
    display: grid;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.bt-ai-prompt-helper__fields textarea.bt-ai-input,
.bt-ai-prompt-helper__full textarea.bt-ai-input {
    min-height: 70px;
    resize: vertical;
}

.bt-ai-prompt-helper__full {
    grid-column: 1 / -1;
}

.bt-ai-prompt-helper__questions {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.bt-ai-prompt-helper__questions[hidden] {
    display: none !important;
}

.bt-ai-prompt-helper__group strong,
.bt-ai-prompt-helper-preview strong,
.bt-ai-prompt-helper__questions > strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.bt-ai-prompt-helper__chips,
.bt-ai-prompt-helper-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bt-ai-prompt-helper__make {
    width: 100%;
    min-height: 44px;
}

.bt-ai-prompt-helper-preview {
    display: grid;
    gap: 10px;
    padding: 13px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #f8fafc;
}

.bt-ai-prompt-helper-preview[hidden] {
    display: none !important;
}

.bt-ai-prompt-helper-preview p {
    margin: 0;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 800;
    white-space: pre-wrap;
}

.bt-ai-prompt-helper-preview em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.bt-ai-ai-size-fields {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 4px;
}

.bt-ai-ai-size-fields label {
    display: grid;
    gap: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.bt-ai-control-state {
    display: none !important;
}

.bt-ai-ai-option-group {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.bt-ai-ai-option-group strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.bt-ai-ai-chip-row,
.bt-ai-ai-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bt-ai-ai-chip {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e2ef;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #334155;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .04);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease, color .24s ease;
}

.bt-ai-ai-chip:hover,
.bt-ai-ai-chip:focus {
    transform: translateY(-2px);
    border-color: #94a3b8;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
    outline: none;
}

.bt-ai-ai-chip.is-selected {
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
}

.bt-ai-ai-panel {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 12%, rgba(251, 191, 36, .12), transparent 26%),
        linear-gradient(145deg, #ffffff 0%, #f8fafc 58%, #eef2ff 100%);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .11);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.bt-ai-ai-panel:focus-within {
    border-color: #94a3b8;
    animation: bt-ai-soft-glow .34s ease both;
}

.bt-ai-ai-panel label,
.bt-ai-ai-panel > label {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.bt-ai-ai-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bt-ai-ai-label-row + label {
    display: none;
}

.bt-ai-ai-panel textarea,
.bt-ai-firefly-composer__prompt textarea {
    min-height: 156px;
    padding: 19px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.68;
    resize: vertical;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.bt-ai-ai-panel textarea::placeholder {
    color: #94a3b8;
}

.bt-ai-ai-panel__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.bt-ai-ai-footer-options {
    min-width: 0;
}

.bt-ai-ai-panel__footer .bt-ai-ai-options {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.bt-ai-ai-panel__footer .bt-ai-ai-options--compact {
    grid-template-columns: repeat(3, minmax(118px, 1fr));
}

.bt-ai-ai-panel__footer .bt-ai-ai-select-button {
    min-height: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.bt-ai-counter--legacy {
    display: none;
}

.bt-ai-ai-counter {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.bt-ai-firefly-composer__generate {
    position: relative;
    min-width: 136px;
    min-height: 48px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(37, 99, 235, .2);
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.bt-ai-firefly-composer__generate:hover,
.bt-ai-firefly-composer__generate:focus {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 22px 40px rgba(15, 23, 42, .18);
}

.bt-ai-generate-spinner {
    width: 15px;
    height: 15px;
    display: none;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bt-ai-spin .75s linear infinite;
}

.bt-ai-generate-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #22c55e, #60a5fa);
}

.bt-ai-ai-panel.is-loading .bt-ai-generate-spinner,
.bt-ai-firefly-composer__generate.is-loading .bt-ai-generate-spinner {
    display: inline-block;
}

.bt-ai-ai-panel.is-loading .bt-ai-generate-progress,
.bt-ai-firefly-composer__generate.is-loading .bt-ai-generate-progress {
    animation: bt-ai-progress 1.8s ease-in-out infinite;
}

@keyframes bt-ai-soft-glow {
    0% {
        box-shadow: 0 24px 54px rgba(15, 23, 42, .11), 0 0 0 0 rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 28px 64px rgba(15, 23, 42, .14), 0 0 0 5px rgba(37, 99, 235, .12);
    }
}

@keyframes bt-ai-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bt-ai-progress {
    0% {
        width: 12%;
        opacity: .75;
    }
    55% {
        width: 82%;
        opacity: 1;
    }
    100% {
        width: 96%;
        opacity: .86;
    }
}

.bt-ai-firefly-composer__prompt {
    display: grid;
    gap: 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.bt-ai-firefly-composer__prompt textarea {
    min-height: 150px;
    padding: 18px 20px;
    border-radius: 24px;
    font-size: 17px;
    line-height: 1.65;
    resize: vertical;
}

.bt-ai-firefly-composer__controls {
    display: grid;
    grid-template-columns: minmax(120px, 160px) minmax(160px, 1.1fr) minmax(160px, 1fr) minmax(110px, .7fr) minmax(110px, .7fr);
    gap: 10px;
    align-items: end;
}

.bt-ai-firefly-control {
    display: grid;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.bt-ai-firefly-composer__generate {
    min-height: 48px;
    border-radius: 16px;
}

.bt-ai-firefly-composer__reference {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.bt-ai-firefly-upload {
    position: relative;
    min-height: 112px;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 18px;
    border: 1px dashed #bfdbfe;
    border-radius: 22px;
    background: #f8fbff;
    color: #1e3a8a;
    cursor: pointer;
    text-align: center;
    font-weight: 900;
}

.bt-ai-firefly-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.bt-ai-firefly-upload em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
}

.bt-ai-firefly-reference-preview {
    min-height: 112px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5ecf6;
    border-radius: 22px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.bt-ai-firefly-reference-preview img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
    background: #fff;
}

.bt-ai-firefly-reference-preview button {
    position: absolute;
    right: 10px;
    top: 10px;
    min-height: 34px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff7f7;
    color: #b91c1c;
    padding: 0 12px;
    font-weight: 900;
    cursor: pointer;
}

.bt-ai-firefly-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.bt-ai-firefly-examples button {
    min-height: 40px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #fff;
    color: #1e3a8a;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.bt-ai-firefly-examples button:hover,
.bt-ai-firefly-examples button:focus {
    border-color: #2563eb;
    background: #eff6ff;
    outline: none;
}

.bt-ai-start-mywork {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.bt-ai-start-mywork__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.bt-ai-start-mywork__head span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
}

.bt-ai-start-mywork__head h2 {
    margin: 2px 0 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0;
}

.bt-ai-start-mywork__status {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 800;
}

.bt-ai-start-mywork__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bt-ai-start-mywork__card,
.bt-ai-start-mywork__empty {
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
}

.bt-ai-start-mywork__card {
    display: grid;
    gap: 7px;
    padding: 10px;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.bt-ai-start-mywork__card:hover,
.bt-ai-start-mywork__card:focus {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
    outline: none;
}

.bt-ai-start-mywork__card img,
.bt-ai-start-mywork__thumb-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: #f1f5f9;
}

.bt-ai-start-mywork__card img {
    object-fit: cover;
}

.bt-ai-start-mywork__thumb-empty {
    display: grid;
    place-items: center;
    color: #2563eb;
    font-weight: 900;
}

.bt-ai-start-mywork__card strong,
.bt-ai-start-mywork__card span,
.bt-ai-start-mywork__card small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-ai-start-mywork__card strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.bt-ai-start-mywork__card span,
.bt-ai-start-mywork__card small {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.bt-ai-start-mywork__empty {
    grid-column: 1 / -1;
    padding: 22px;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 1024px) {
    .bt-ai-firefly-start {
        padding: 32px 22px;
        border-radius: 26px;
    }

    .bt-ai-firefly-composer__controls,
    .bt-ai-firefly-composer__reference {
        grid-template-columns: 1fr 1fr;
    }

    .bt-ai-start-mywork__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bt-ai-firefly-composer__generate {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .bt-ai-firefly-start {
        margin-top: 18px;
        padding: 24px 14px;
    }

    .bt-ai-firefly-composer {
        padding: 14px;
        border-radius: 22px;
    }

    .bt-ai-firefly-composer__controls,
    .bt-ai-firefly-composer__reference {
        grid-template-columns: 1fr;
    }

    .bt-ai-start-mywork {
        padding: 14px;
        border-radius: 20px;
    }

    .bt-ai-start-mywork__head {
        align-items: stretch;
        flex-direction: column;
    }

    .bt-ai-start-mywork__head .bt-ai-btn {
        width: 100%;
    }

    .bt-ai-start-mywork__grid {
        grid-template-columns: 1fr;
    }

    .bt-ai-ai-option-group {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .bt-ai-ai-options--compact {
        grid-template-columns: 1fr;
    }

    .bt-ai-ai-menu {
        position: static;
        margin-top: 8px;
    }

    .bt-ai-ai-menu--size {
        min-width: 0;
    }

    .bt-ai-prompt-helper-menu {
        position: fixed;
        z-index: 1000;
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 12px;
        width: auto;
        min-width: 0;
        max-height: 72vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 10px;
        border-radius: 20px;
    }

    .bt-ai-prompt-helper__fields {
        grid-template-columns: 1fr;
    }

    .bt-ai-prompt-helper-preview__actions .bt-ai-btn {
        min-height: 44px;
    }

    .bt-ai-prompt-helper-preview__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bt-ai-ai-panel {
        padding: 15px;
        border-radius: 22px;
    }

    .bt-ai-ai-panel__footer {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .bt-ai-ai-footer-options,
    .bt-ai-ai-panel__footer .bt-ai-ai-options {
        width: 100%;
    }

    .bt-ai-firefly-composer__generate {
        width: 100%;
        min-height: 52px;
    }

    .bt-ai-firefly-composer__prompt textarea {
        min-height: 128px;
        font-size: 15px;
    }
}
