.dsk-photo-form-launcher,.dsk-photo-form-overlay,.dsk-photo-form-overlay *,.dsk-photo-device-fields,.dsk-photo-device-fields *{box-sizing:border-box}
.dsk-photo-form-launcher{display:flex;grid-column:1/-1;align-items:center;gap:14px;width:100%;margin:0 0 18px;padding:16px;border:1px solid rgba(2,132,199,.2);border-radius:16px;background:linear-gradient(135deg,rgba(240,249,255,.94),rgba(239,246,255,.94));color:#0f172a}
.dsk-photo-form-launcher__button,.dsk-photo-form-button{min-height:46px;padding:12px 20px;border:1px solid transparent;border-radius:999px;font:inherit;font-size:.95rem;font-weight:800;line-height:1.2;cursor:pointer}
.dsk-photo-form-launcher__button{flex:0 0 auto;background:#075985;color:#fff;box-shadow:0 10px 24px rgba(7,89,133,.2)}
.dsk-photo-form-launcher__hint{max-width:64ch;margin:0;color:#475569;font-size:.88rem;line-height:1.5}
.dsk-photo-device-fields{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;margin:0 0 18px;padding:16px;border:1px solid #d7e1e8;border-radius:16px;background:#fff}
.dsk-photo-device-fields__title{grid-column:1/-1;padding:0 6px;color:#0f172a;font-weight:800}
.dsk-photo-device-fields__field{display:grid;gap:7px;color:#334155;font-size:.88rem;font-weight:700}
.dsk-photo-device-fields input,.dsk-photo-device-fields select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #94a3b8;border-radius:10px;background:#fff;color:#0f172a;font:inherit}
.dsk-photo-form-open{overflow:hidden}
.dsk-photo-form-overlay{position:fixed;z-index:2147483490;inset:0;display:grid;place-items:center;padding:clamp(12px,3vw,32px);overflow:auto;background:rgba(8,15,25,.68);color:#0f172a;font-family:"DSK Inter",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dsk-photo-form-overlay[hidden]{display:none}
.dsk-photo-form-dialog{width:min(760px,100%);max-height:min(90dvh,880px);overflow:auto;border:1px solid rgba(15,23,42,.1);border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(2,8,23,.36)}
.dsk-photo-form-dialog__header{position:sticky;z-index:3;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px 14px;border-bottom:1px solid #e7edf2;background:#fff}
.dsk-photo-form-dialog__title{margin:0;color:#0f172a;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.2;letter-spacing:-.025em}
.dsk-photo-form-dialog__close{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;padding:0;border:1px solid #cbd5e1;border-radius:50%;background:#f8fafc;color:#0f172a;font:inherit;font-size:1.65rem;line-height:1;cursor:pointer}
.dsk-photo-form-dialog__body{padding:24px 26px 10px}.dsk-photo-form-dialog__intro{max-width:65ch;margin:0 0 18px;color:#475569;font-size:.95rem;line-height:1.58}
.dsk-photo-form-pickers{display:grid;grid-template-columns:1fr;gap:10px}
.dsk-photo-form-picker{display:flex;min-height:48px;align-items:center;justify-content:center;padding:12px 16px;border:1px solid #94a3b8;border-radius:12px;background:#fff;color:#075985;font-size:.92rem;font-weight:800;line-height:1.25;text-align:center;cursor:pointer}.dsk-photo-form-picker--capture{display:none}
.dsk-photo-form-picker input,.dsk-photo-form-submission-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.dsk-photo-form-preview{display:grid;width:min(100%,560px);min-height:180px;max-height:380px;place-items:center;margin:18px auto 0;overflow:hidden;border:1px solid #cbd5e1;border-radius:16px;background:#f8fafc}.dsk-photo-form-preview img{display:block;width:100%;height:100%;max-height:380px;object-fit:contain}
.dsk-photo-form-consent{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start;margin-top:18px;padding:16px;border:1px solid #b8c7d4;border-radius:16px;background:#f8fafc;color:#334155;font-size:.9rem;line-height:1.55;cursor:pointer}.dsk-photo-form-consent input{width:20px;height:20px;margin:1px 0 0;accent-color:#075985}
.dsk-photo-analysis{display:grid;gap:12px;margin-top:18px}.dsk-photo-form-button--analysis{justify-self:start;border-color:#075985;background:#ecfeff;color:#075985}
.dsk-photo-review{display:grid;gap:12px;margin-top:20px;padding:18px;border:1px solid #a7d8e8;border-radius:18px;background:#f8fcfe}.dsk-photo-review__title{margin:0 0 4px;color:#0f172a;font-size:1.15rem}.dsk-photo-review__row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start;padding:12px;border:1px solid #d7e1e8;border-radius:12px;background:#fff}.dsk-photo-review__row>input{width:20px;height:20px;margin-top:27px;accent-color:#075985}.dsk-photo-review__content{display:grid;gap:6px}.dsk-photo-review__label{display:grid;gap:6px;color:#334155;font-size:.84rem;font-weight:800}.dsk-photo-review__label input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #94a3b8;border-radius:10px;color:#0f172a;font:inherit}.dsk-photo-review__confidence{color:#475569;font-size:.78rem;text-transform:uppercase}.dsk-photo-review__manual,.dsk-photo-review__empty{margin:0;color:#7c2d12;font-size:.82rem;line-height:1.45}
.dsk-photo-form-error{margin:14px 0 0;padding:12px 14px;border:1px solid #fecaca;border-radius:12px;background:#fef2f2;color:#991b1b;font-size:.88rem;font-weight:700;line-height:1.45}.dsk-photo-form-dialog__live{min-height:1px;margin:0;padding:0 26px;color:#475569;font-size:.82rem}
.dsk-photo-form-dialog__actions{position:sticky;z-index:2;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 26px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid #e7edf2;background:#fff}.dsk-photo-form-button--primary{background:#075985;color:#fff}.dsk-photo-form-button--secondary{border-color:#b8c7d4;background:#fff;color:#0f172a}.dsk-photo-form-button--danger{border-color:#fecaca;background:#fff;color:#991b1b}.dsk-photo-form-button:disabled{cursor:not-allowed;opacity:.5}
.dsk-photo-form-launcher__button:focus-visible,.dsk-photo-form-dialog__close:focus-visible,.dsk-photo-form-picker:focus-visible,.dsk-photo-form-picker:focus-within,.dsk-photo-form-consent:focus-within,.dsk-photo-form-button:focus-visible,.dsk-photo-review input:focus-visible,.dsk-photo-device-fields input:focus-visible,.dsk-photo-device-fields select:focus-visible{outline:3px solid rgba(14,165,233,.42);outline-offset:3px}
@media (hover:none),(max-width:768px){.dsk-photo-form-pickers{grid-template-columns:repeat(2,minmax(0,1fr))}.dsk-photo-form-picker--capture{display:flex}}
@media (max-width:640px){.dsk-photo-form-launcher{align-items:stretch;flex-direction:column;padding:14px}.dsk-photo-form-launcher__button{width:100%}.dsk-photo-device-fields{grid-template-columns:1fr;padding:14px}.dsk-photo-form-overlay{align-items:end;padding:8px}.dsk-photo-form-dialog{width:100%;max-height:calc(100dvh - 16px);border-radius:20px}.dsk-photo-form-dialog__header{padding:18px 18px 12px}.dsk-photo-form-dialog__body{padding:18px 18px 8px}.dsk-photo-form-dialog__live{padding-inline:18px}.dsk-photo-form-dialog__actions{display:grid;grid-template-columns:1fr;padding:14px 18px calc(14px + env(safe-area-inset-bottom,0px))}.dsk-photo-form-button{width:100%}.dsk-photo-form-button--analysis{justify-self:stretch}.dsk-photo-review{padding:14px}}
@media (max-width:390px){.dsk-photo-form-pickers{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.dsk-photo-form-overlay *{scroll-behavior:auto;transition:none}}
