/* Auto Studio AI — option cards (chat dock) */
.as-studio .bc-chat-dock {
    overflow-x: hidden;
}
.as-studio .as-upload-form .bc-file { min-height: 56px; }
.as-studio .bc-chat-dock .as-upload-form,
.as-studio .bc-chat-dock .bc-text-form {
    width: 100%;
}
.as-studio .bc-chat-dock .as-upload-form .btn,
.as-studio .bc-chat-dock .bc-text-form .btn {
    width: 100%;
    justify-self: stretch;
}
.as-studio .bc-chat-dock .as-opt-grid {
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
}
.as-studio .bc-chat-dock .as-bg-grid,
.as-studio .bc-chat-dock .as-plate-grid {
    grid-template-columns: 1fr;
}
.as-studio .bc-chat-dock .as-pair-grid {
    grid-template-columns: 1fr 1fr;
}
.as-studio .bc-chat-dock .as-opt-card {
    appearance: none;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-self: stretch;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    min-height: 76px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    line-height: 1.35;
    transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.as-studio .bc-chat-dock .as-opt-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-1px);
}
.as-studio .bc-chat-dock .as-opt-card.is-on {
    border-color: var(--primary);
    background: linear-gradient(180deg, #eff6ff, #fff);
    box-shadow: 0 0 0 1px var(--primary), 0 10px 22px rgba(29,78,216,.08);
}
.as-studio .bc-chat-dock .as-opt-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}
.as-studio .bc-chat-dock .as-opt-copy strong {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
}
.as-studio .bc-chat-dock .as-opt-copy small {
    display: block;
    width: 100%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.as-bg-swatch {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.12);
    flex: 0 0 auto;
}
.as-bg-swatch i {
    position: absolute;
    left: 10px; right: 10px; bottom: 9px;
    height: 14px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(15,23,42,.55));
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.as-pair-visual {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.08);
}
.as-pair-platform-on {
    background:
        radial-gradient(circle at 50% 62%, #cbd5e1 0 18%, transparent 19%),
        linear-gradient(180deg, #0f172a 0%, #334155 58%, #64748b 100%);
}
.as-pair-platform-on::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: 10px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 12px rgba(56,189,248,.35);
}
.as-pair-platform-off {
    background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 55%, #cbd5e1 100%);
}
.as-pair-platform-off::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 16px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(180deg, #64748b, #334155);
    opacity: .55;
}
.as-pair-clean-on {
    background: linear-gradient(145deg, #eff6ff, #dbeafe 48%, #93c5fd);
}
.as-pair-clean-on::before,
.as-pair-clean-on::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
}
.as-pair-clean-on::before { width: 10px; height: 10px; top: 14px; left: 16px; }
.as-pair-clean-on::after { width: 16px; height: 16px; bottom: 12px; right: 14px; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.as-pair-clean-off {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
}
.as-pair-clean-off::after {
    content: "";
    position: absolute;
    inset: 16px 14px 18px;
    border-radius: 8px;
    background: repeating-linear-gradient(-35deg, rgba(100,116,139,.18) 0 4px, transparent 4px 9px);
}
.as-plate-hide, .as-plate-blur, .as-plate-keep {
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
    display: grid;
    place-items: center;
}
.as-plate-hide span,
.as-plate-blur span,
.as-plate-keep span {
    display: block;
    width: 34px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(15,23,42,.35);
    background: #334155;
}
.as-plate-hide span { background: #475569; }
.as-plate-blur span {
    background: linear-gradient(90deg, #64748b, #94a3b8 40%, #64748b);
    filter: blur(1.2px);
}
.as-plate-keep span {
    background:
        linear-gradient(#fff,#fff) 6px 4px / 4px 6px no-repeat,
        linear-gradient(#fff,#fff) 13px 4px / 4px 6px no-repeat,
        linear-gradient(#fff,#fff) 20px 4px / 4px 6px no-repeat,
        #1e3a8a;
}
@media (max-width: 520px) {
    .as-studio .bc-chat-dock .as-pair-grid { grid-template-columns: 1fr; }
}

/* Preview mock is Full HD landscape, not square */
.as-studio .cr-mock-photo {
    aspect-ratio: 16 / 9;
}
