.voo-photo-studio-card {
    margin: 0 0 24px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #dfe3ee;
    border-radius: 13px;
    background: linear-gradient(135deg, #f8f9fc, #f2f4f9);
}
.voo-photo-studio-card strong,
.voo-photo-studio-card p,
.voo-photo-studio-kicker { display: block; }
.voo-photo-studio-card strong { margin: 3px 0 5px; color: var(--voo-navy); font-size: 15px; }
.voo-photo-studio-card p { max-width: 410px; margin: 0; color: var(--voo-muted); font-size: 11px; line-height: 1.55; }
.voo-photo-studio-kicker { color: var(--voo-gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

body.voo-photo-studio-open { overflow: hidden; }
.voo-photo-studio {
    position: fixed;
    z-index: 100000;
    inset: 0;
    padding: 24px;
    display: grid;
    place-items: center;
    color: var(--voo-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.voo-photo-studio[hidden] { display: none !important; }
.voo-photo-studio * { box-sizing: border-box; }
.voo-photo-studio-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(10, 13, 37, .74); backdrop-filter: blur(7px); cursor: default; }
.voo-photo-studio-dialog {
    position: relative;
    width: min(1180px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(4, 7, 25, .38);
}
.voo-photo-studio-header {
    min-height: 104px;
    padding: 22px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #e3e6ee;
    background: #fff;
}
.voo-photo-studio-header span { color: var(--voo-blue); font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.voo-photo-studio-header h2 { margin: 5px 0 6px; color: var(--voo-navy); font-size: 28px; line-height: 1.05; letter-spacing: -.035em; }
.voo-photo-studio-header p { margin: 0; color: var(--voo-muted); font-size: 12px; }
.voo-photo-studio-close { width: 38px; height: 38px; padding: 0; border: 1px solid #dfe2eb; border-radius: 50%; color: #596074; background: #fff; cursor: pointer; font-size: 23px; line-height: 1; }

.voo-photo-studio-body { min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; }
.voo-photo-controls { padding: 24px; overflow-y: auto; border-right: 1px solid #e3e6ee; background: #fafbfc; }
.voo-photo-picker {
    min-height: 112px;
    padding: 17px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px dashed #bfc6d8;
    border-radius: 12px;
    color: var(--voo-navy);
    background: #fff;
    cursor: pointer;
    text-align: center;
}
.voo-photo-picker:hover { border-color: var(--voo-blue); background: #f7f8fc; }
.voo-photo-picker-icon { width: 28px; height: 28px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--voo-navy); font-size: 20px; font-weight: 300; }
.voo-photo-picker strong { font-size: 12px; }
.voo-photo-picker small { margin-top: 3px; color: #858c9e; font-size: 9px; }
.voo-photo-control-section { margin-top: 24px; }
.voo-photo-control-heading { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.voo-photo-control-heading strong { color: #353b50; font-size: 11px; }
.voo-photo-control-heading span { color: #8b91a1; font-size: 9px; }
.voo-photo-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.voo-photo-presets button { min-height: 34px; padding: 6px 8px; border: 1px solid #dce0e9; border-radius: 8px; color: #4e5568; background: #fff; cursor: pointer; font-size: 10px; font-weight: 750; }
.voo-photo-presets button:hover { border-color: #b4bdd5; }
.voo-photo-presets button.is-active { color: #fff; border-color: var(--voo-navy); background: var(--voo-navy); box-shadow: 0 5px 14px rgba(16,20,56,.16); }
.voo-photo-auto { margin: 16px 0 19px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #e1e4ec; border-radius: 9px; background: #fff; cursor: pointer; }
.voo-photo-auto input { width: 16px; height: 16px; margin: 0; accent-color: var(--voo-navy); }
.voo-photo-auto strong, .voo-photo-auto small { display: block; }
.voo-photo-auto strong { color: #3b4154; font-size: 10px; }
.voo-photo-auto small { margin-top: 2px; color: #858b9b; font-size: 8px; }
.voo-photo-sliders { display: grid; gap: 15px; }
.voo-photo-sliders label > span { margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; color: #50576a; font-size: 9px; font-weight: 700; }
.voo-photo-sliders output { color: var(--voo-blue); font-variant-numeric: tabular-nums; }
.voo-photo-sliders input[type="range"] { width: 100%; height: 4px; margin: 0; accent-color: var(--voo-blue); cursor: pointer; }
.voo-photo-ai-panel { margin-top: 22px; padding: 15px; border: 1px solid #dde1eb; border-radius: 11px; background: #fff; }
.voo-photo-ai-heading { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; }
.voo-photo-ai-heading > span { color: var(--voo-navy); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.voo-photo-ai-heading i { padding: 4px 7px; border-radius: 99px; color: #9a3d43; background: #fff0f1; font-size: 8px; font-style: normal; font-weight: 800; }
.voo-photo-ai-heading i.is-ready { color: #176941; background: #e8f7ef; }
.voo-photo-ai-panel > label { margin: 10px 0 5px; display: block; color: #50576a; font-size: 9px; font-weight: 750; }
.voo-photo-ai-panel select,
.voo-photo-ai-panel textarea { width: 100%; padding: 8px 9px; border: 1px solid #d8dce6; border-radius: 7px; color: #343a4d; background: #fff; box-shadow: none; font-size: 10px; }
.voo-photo-ai-panel textarea { resize: vertical; line-height: 1.45; }
.voo-photo-ai-panel select:focus,
.voo-photo-ai-panel textarea:focus { border-color: var(--voo-blue); outline: none; box-shadow: 0 0 0 3px rgba(92,111,178,.11); }
.voo-photo-ai-panel p { margin: 10px 0 7px; color: #596174; font-size: 9px; line-height: 1.45; }
.voo-photo-ai-panel p a { color: var(--voo-blue); font-weight: 750; }
.voo-photo-ai-panel > small { display: block; color: #8b6570; font-size: 8px; line-height: 1.45; }

.voo-photo-workbench { min-width: 0; min-height: 500px; padding: 24px 27px; overflow-y: auto; background: #eff1f5; }
.voo-photo-empty { min-height: 100%; display: grid; place-items: center; align-content: center; text-align: center; }
.voo-photo-empty > span:not(.voo-photo-spinner) { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: var(--voo-gold); background: #fff; box-shadow: 0 9px 30px rgba(16,20,56,.09); font-size: 18px; }
.voo-photo-empty h3 { max-width: 390px; margin: 18px 0 7px; color: var(--voo-navy); font-size: 18px; }
.voo-photo-empty p { margin: 0; color: #747b8d; font-size: 11px; }
.voo-photo-spinner { width: 34px; height: 34px; border: 3px solid #d7dce8; border-top-color: var(--voo-blue); border-radius: 50%; animation: voo-photo-spin .8s linear infinite; }
@keyframes voo-photo-spin { to { transform: rotate(360deg); } }
.voo-photo-summary { margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.voo-photo-summary strong, .voo-photo-summary span { display: block; }
.voo-photo-summary strong { max-width: 520px; overflow: hidden; color: var(--voo-navy); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.voo-photo-summary span, .voo-photo-summary small { margin-top: 3px; color: #7d8495; font-size: 9px; }
.voo-photo-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.voo-photo-compare figure { position: relative; min-width: 0; height: min(45vh, 420px); margin: 0; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: #15182a; }
.voo-photo-compare figure > span { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 8px; border-radius: 99px; color: #fff; background: rgba(8,11,30,.72); backdrop-filter: blur(5px); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.voo-photo-compare img,
.voo-photo-compare canvas { width: 100%; height: 100%; display: block; object-fit: contain; }
.voo-photo-filmstrip { margin-top: 14px; padding-bottom: 3px; display: flex; gap: 8px; overflow-x: auto; }
.voo-photo-filmstrip button,
.voo-photo-add-more { position: relative; flex: 0 0 75px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #dfe2e9; cursor: pointer; }
.voo-photo-filmstrip button.is-active { border-color: var(--voo-blue); box-shadow: 0 0 0 2px rgba(92,111,178,.18); }
.voo-photo-filmstrip img { width: 100%; height: 100%; display: block; object-fit: cover; }
.voo-photo-filmstrip button > span { position: absolute; left: 4px; bottom: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; color: #fff; background: rgba(10,13,35,.72); font-size: 8px; line-height: 16px; }
.voo-photo-filmstrip i { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: rgba(10,13,35,.82); font-size: 13px; font-style: normal; line-height: 17px; }
.voo-photo-add-more { display: grid; place-items: center; align-content: center; border: 1px dashed #bbc2d2; color: #6d7487; background: transparent; }
.voo-photo-add-more b, .voo-photo-add-more span { display: block; }
.voo-photo-add-more b { font-size: 18px; font-weight: 400; }
.voo-photo-add-more span { font-size: 8px; font-weight: 750; }
.voo-photo-ai-results-heading { margin-bottom: 17px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.voo-photo-ai-results-heading span { color: #19744a; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.voo-photo-ai-results-heading h3 { margin: 5px 0 0; color: var(--voo-navy); font-size: 22px; letter-spacing: -.025em; }
.voo-photo-ai-results-heading small { color: #777f91; font-size: 9px; }
.voo-photo-ai-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.voo-photo-ai-results-grid article { min-width: 0; overflow: hidden; border: 1px solid #dfe3eb; border-radius: 12px; background: #fff; box-shadow: 0 8px 25px rgba(16,20,56,.06); }
.voo-photo-ai-results-grid img { width: 100%; height: 260px; display: block; object-fit: contain; background: #15182a; }
.voo-photo-ai-results-grid article > div { padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.voo-photo-ai-results-grid strong { min-width: 0; overflow: hidden; color: #3e4558; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.voo-photo-ai-results-grid a { flex: none; padding: 6px 9px; border-radius: 7px; color: #fff; background: var(--voo-navy); font-size: 9px; font-weight: 800; text-decoration: none; }

.voo-photo-studio-footer { min-height: 76px; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid #e3e6ee; background: #fff; }
.voo-photo-destinations { display: flex; flex-wrap: wrap; gap: 15px; }
.voo-photo-destinations label { display: flex; align-items: center; gap: 7px; color: #535a6d; font-size: 10px; font-weight: 650; }
.voo-photo-destinations input { accent-color: var(--voo-navy); }
.voo-photo-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.voo-photo-studio.is-working .voo-photo-studio-close,
.voo-photo-studio.is-working .voo-photo-studio-backdrop { cursor: wait; }

@media (max-width: 900px) {
    .voo-photo-studio { padding: 10px; }
    .voo-photo-studio-dialog { max-height: calc(100vh - 20px); }
    .voo-photo-studio-body { grid-template-columns: 245px minmax(0, 1fr); }
    .voo-photo-controls { padding: 18px; }
    .voo-photo-workbench { padding: 18px; }
    .voo-photo-studio-footer { align-items: flex-start; flex-direction: column; }
    .voo-photo-footer-actions { width: 100%; }
    .voo-photo-footer-actions .voo-button { flex: 1; }
}

@media (max-width: 680px) {
    .voo-photo-studio { padding: 0; }
    .voo-photo-studio-dialog { width: 100%; height: 100%; max-height: none; border-radius: 0; }
    .voo-photo-studio-header { min-height: 85px; padding: 17px 18px; }
    .voo-photo-studio-header h2 { font-size: 23px; }
    .voo-photo-studio-header p { display: none; }
    .voo-photo-studio-body { display: block; overflow-y: auto; }
    .voo-photo-controls { overflow: visible; border-right: 0; border-bottom: 1px solid #e3e6ee; }
    .voo-photo-picker { min-height: 82px; }
    .voo-photo-presets { grid-template-columns: repeat(3, 1fr); }
    .voo-photo-workbench { min-height: 430px; overflow: visible; }
    .voo-photo-compare figure { height: 270px; }
    .voo-photo-studio-footer { padding: 12px 16px; }
    .voo-photo-studio-card { align-items: stretch; flex-direction: column; }
    .voo-photo-ai-results-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    .voo-photo-ai-results-grid { grid-template-columns: 1fr; }
    .voo-photo-ai-results-grid img { height: 320px; }
}

@media (max-width: 480px) {
    .voo-photo-compare { grid-template-columns: 1fr; }
    .voo-photo-compare figure { height: 245px; }
}

/* Church-site visual language and visible long-running edit feedback. */
.voo-photo-studio { padding: 18px; font-family: Roboto, "DM Sans", Arial, sans-serif; }
.voo-photo-studio-backdrop { background: rgba(30,31,51,.78); backdrop-filter: none; }
.voo-photo-studio-dialog { width: min(1200px,100%); max-height: calc(100vh - 36px); border: 0; border-radius: 0; box-shadow: none; }
.voo-photo-studio-header { min-height: 112px; padding: 23px 31px; border-top: 7px solid var(--voo-gold); }
.voo-photo-studio-header span { color: var(--voo-blue); font-size: 10px; }
.voo-photo-studio-header h2 { margin-top: 6px; color: var(--voo-gold); font-size: 34px; font-weight: 700; letter-spacing: 0; }
.voo-photo-studio-header p { color: var(--voo-ink); font-size: 13px; }
.voo-photo-studio-close { border-radius: 0; color: var(--voo-navy); }
.voo-photo-studio-body { grid-template-columns: 310px minmax(0,1fr); }
.voo-photo-controls { padding: 26px; background: #fff; }
.voo-photo-picker { border-radius: 0; color: var(--voo-navy); background: var(--voo-cream); }
.voo-photo-picker-icon { border-radius: 0; background: var(--voo-navy); }
.voo-photo-presets button { border-radius: 0; }
.voo-photo-presets button.is-active { border-color: var(--voo-navy); background: var(--voo-navy); box-shadow: none; }
.voo-photo-auto { border-radius: 0; }
.voo-photo-ai-panel { padding: 16px 15px 17px; border: 0; border-left: 4px solid var(--voo-gold); border-radius: 0; background: var(--voo-cream); }
.voo-photo-ai-heading i, .voo-photo-ai-heading i.is-ready { border-radius: 0; background: transparent; }
.voo-photo-ai-panel select, .voo-photo-ai-panel textarea { border-radius: 2px; }
.voo-photo-workbench { background: #f4f4f5; }
.voo-photo-empty > span:not(.voo-photo-spinner) { width: auto; height: auto; padding: 8px 11px; border: 1px solid var(--voo-gold); border-radius: 0; color: var(--voo-gold); background: transparent; box-shadow: none; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.voo-photo-empty h3 { color: var(--voo-gold); font-size: 22px; }
.voo-photo-compare figure, .voo-photo-filmstrip button, .voo-photo-add-more { border-radius: 0; }
.voo-photo-compare figure > span, .voo-photo-filmstrip button > span { border-radius: 0; }
.voo-photo-filmstrip button.is-active { border-color: var(--voo-gold); box-shadow: none; }
.voo-photo-ai-results-grid article { border-radius: 0; box-shadow: none; }
.voo-photo-ai-results-grid a { border-radius: 999px; background: var(--voo-navy); }
.voo-photo-studio-footer { min-height: 82px; padding: 14px 25px; }
.voo-photo-footer-info { min-width: 0; flex: 1; }
.voo-photo-progress { position: relative; width: min(600px,100%); min-width: 360px; padding: 1px 0 10px; display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.voo-photo-progress[hidden] { display: none !important; }
.voo-photo-progress-spinner { width: 16px; height: 16px; border: 2px solid #d5d7df; border-top-color: var(--voo-gold); border-radius: 50%; animation: voo-photo-spin .8s linear infinite; }
.voo-photo-progress strong, .voo-photo-progress small { display: block; }
.voo-photo-progress strong { color: var(--voo-navy); font-size: 11px; }
.voo-photo-progress small { margin-top: 2px; color: var(--voo-muted); font-size: 9px; line-height: 1.35; }
.voo-photo-progress time { color: var(--voo-gold); font: 700 11px/1 Roboto,Arial,sans-serif; font-variant-numeric: tabular-nums; }
.voo-photo-progress-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; overflow: hidden; background: #e5e5e8; }
.voo-photo-progress-track i { width: 36%; height: 100%; display: block; background: var(--voo-gold); animation: voo-photo-progress 1.7s ease-in-out infinite alternate; }
.voo-photo-progress.is-error .voo-photo-progress-spinner { display: grid; place-items: center; border: 0; border-radius: 0; color: #fff; background: #9a3840; animation: none; }
.voo-photo-progress.is-error .voo-photo-progress-spinner::after { content: "!"; font-size: 11px; font-weight: 800; }
.voo-photo-progress.is-error strong, .voo-photo-progress.is-error time { color: #8b3037; }
.voo-photo-progress.is-error .voo-photo-progress-track { display: none; }
.voo-photo-destinations { padding: 3px 0; }
@keyframes voo-photo-progress { from { transform: translateX(-10%); } to { transform: translateX(185%); } }

@media (max-width: 900px) {
    .voo-photo-studio { padding: 8px; }
    .voo-photo-studio-dialog { max-height: calc(100vh - 16px); }
    .voo-photo-studio-body { grid-template-columns: 255px minmax(0,1fr); }
    .voo-photo-studio-footer { align-items: stretch; }
    .voo-photo-progress { min-width: 0; }
}

@media (max-width: 680px) {
    .voo-photo-studio { padding: 0; }
    .voo-photo-studio-header { min-height: 92px; padding: 17px 19px; border-top-width: 5px; }
    .voo-photo-studio-header h2 { font-size: 27px; }
    .voo-photo-controls { padding: 20px; }
    .voo-photo-studio-footer { padding: 12px 16px; }
    .voo-photo-footer-info, .voo-photo-progress { width: 100%; }
}
