/* Compact local identity kit workspace. */
.kit-profile-form>.video-card-head h2{margin-top:5px}.kit-profile-form .video-kicker{margin:0}.kit-generate-row{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.kit-generate-row p{font-size:12px;color:var(--muted);margin:0}.kit-generate-row .primary-button{white-space:nowrap;padding:12px 20px}.kit-studio{background:#fff;border:1px solid #e2e7ee;border-radius:22px;padding:25px;margin:24px 0}.kit-studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.kit-studio-heading h2{font-size:23px;letter-spacing:-.6px;margin:6px 0 0}.kit-studio-heading .video-kicker{margin:0}.kit-studio-heading .pa-button{flex:none;background:#0071e3;color:white;border-color:#0071e3;padding:10px 18px}.kit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:24px 0 14px}.kit-account-tabs{display:flex;gap:3px;padding:4px;border-radius:12px;background:#eceff4}.kit-account-tabs button{min-height:40px;padding:7px 22px;border-radius:9px;background:transparent;color:var(--muted);font-size:14px;font-weight:600}.kit-account-tabs button[aria-selected=true]{background:white;color:var(--ink);box-shadow:0 1px 5px #00000012}.kit-version-actions{display:flex;gap:12px}.kit-version-actions button{font-size:13px}.kit-version-actions button:disabled{opacity:.4;cursor:not-allowed}.kit-role{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#5b6d83;flex-wrap:wrap;margin:0 0 10px}.kit-role strong{font-weight:600}.kit-local-note{font-size:12px;color:var(--muted);line-height:1.75;margin:0 0 20px}.kit-stale{padding:13px 15px;border:1px solid #eddbb3;border-radius:12px;background:#fff8e9;font-size:13px;line-height:1.7;color:#795928;margin:0 0 18px}.kit-text-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kit-text-card:first-child{grid-column:1/-1}.kit-card{min-width:0;padding:18px;border:1px solid #e6e8ee;border-radius:16px;background:#fcfcfd}.kit-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.kit-card h3{font-size:15px;font-weight:650;margin:0}.kit-card-heading .text-button{padding:3px 0;min-height:32px;font-size:12px;flex:none}.kit-card input[type=text],.kit-card textarea{width:100%;border:1px solid #dce1e8;border-radius:9px;padding:10px 12px;color:var(--ink);background:white;line-height:1.7;min-width:0;font-size:13px;resize:vertical}.kit-card input[type=text]{min-height:44px}.kit-card small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:9px}.kit-small-label{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.kit-collection-fields{display:grid;gap:9px}.kit-collection-fields textarea{min-height:54px}.kit-image-grid{display:grid;grid-template-columns:1fr 1.2fr 1.05fr;gap:14px;margin-top:14px;align-items:start}.kit-image-card{padding:15px}.kit-preview{display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e8eaf0;border-radius:10px;background:#edf1f6;width:100%;min-height:130px}.kit-preview img{display:block;max-width:100%;width:100%;height:auto}.kit-preview-avatar{aspect-ratio:1;min-height:0}.kit-preview-avatar img{width:100%;height:100%;object-fit:cover;object-position:center}.kit-preview-background{min-height:0;aspect-ratio:16/9}.kit-preview-cover{min-height:0;aspect-ratio:3/4;max-height:280px}.kit-preview-cover img{width:100%;height:100%;object-fit:contain}.kit-style-picker{display:grid;gap:5px;margin-top:12px}.kit-style-picker button{display:flex;align-items:center;gap:7px;text-align:left;padding:7px 8px;border:1px solid transparent;background:transparent;border-radius:8px;font-size:11px;color:#667181;min-height:34px}.kit-style-picker button[aria-pressed=true]{border-color:#aacdf4;background:#eef6ff;color:#0064c8}.kit-style-dot{width:12px;height:12px;border-radius:50%;border:1px solid #00000015;flex:none}.kit-style-0{background:#dcecff}.kit-style-1{background:#f2e4d0}.kit-style-2{background:#102b4e}.kit-photo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.kit-upload{position:relative;overflow:hidden;display:flex;align-items:center;min-height:38px;border:1px solid #d6dee9;background:#fff;border-radius:8px;padding:7px 10px;font-size:12px;color:#32618c;cursor:pointer}.kit-upload:focus-within{outline:3px solid #b5d5f5;outline-offset:2px}.kit-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.kit-photo-actions button{font-size:11px;padding:4px 0}.kit-empty{padding:27px 18px;text-align:center;border:1px dashed #d4dce7;border-radius:18px;background:#f8fafc;margin:24px 0}.kit-empty p{font-size:14px;color:#5b6778;line-height:1.8;margin:10px 0 6px}.kit-empty small{font-size:12px;color:var(--muted);line-height:1.7}.kit-empty-marks{display:flex;justify-content:center;gap:10px}.kit-empty-marks span{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:white;border:1px solid #e3e8ef;font-size:15px;color:#6382a7}#kit-status{font-size:12px;line-height:1.7;margin:16px 0 0;color:#456c54;overflow-wrap:anywhere}#kit-status:empty{display:none}#kit-status[data-kit-status=error]{color:#a13e35}#kit-status[data-kit-status=pending]{color:#5d6b7f}.kit-completion{margin-top:26px}.kit-completion>summary{font-size:14px;min-height:50px}.kit-completion>.video-card{margin-top:14px}.kit-completion .video-kit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kit-completion .video-kit-heading{padding-right:8px}.kit-confirm-dialog{max-width:470px;border:1px solid var(--line);border-radius:20px;padding:26px;color:var(--ink);box-shadow:0 24px 80px #0003}.kit-confirm-dialog::backdrop{background:#18273866}.kit-confirm-dialog h2{font-size:21px;margin:0 0 14px}.kit-confirm-dialog p{font-size:14px;line-height:1.8;color:var(--muted)}.kit-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.kit-confirm-actions button{min-height:44px}.kit-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.kit-generate-row{align-items:stretch;flex-direction:column;gap:12px}.kit-generate-row .primary-button{width:100%}.kit-studio{padding:18px 15px;border-radius:18px}.kit-studio-heading{gap:10px;align-items:flex-start}.kit-studio-heading h2{font-size:20px}.kit-studio-heading .pa-button{padding:8px 13px;font-size:12px}.kit-studio-heading .video-kicker{font-size:10px}.kit-toolbar{margin-top:20px;gap:10px}.kit-account-tabs button{padding:7px 22px}.kit-version-actions{gap:10px}.kit-version-actions button{font-size:12px}.kit-text-grid{grid-template-columns:1fr}.kit-text-card:first-child{grid-column:auto}.kit-image-grid{grid-template-columns:1fr}.kit-image-card{padding:17px}.kit-preview-avatar{max-width:180px;margin:auto}.kit-preview-background{aspect-ratio:16/9}.kit-preview-cover{max-width:230px;margin:auto;max-height:310px}.kit-style-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.kit-style-picker button{justify-content:center;padding:7px 4px;font-size:10px;gap:4px}.kit-photo-actions{justify-content:center}.kit-completion .video-kit-grid{grid-template-columns:1fr}.kit-confirm-dialog{padding:22px;max-width:calc(100vw - 32px)}.kit-confirm-actions button{flex:1;font-size:12px}}
html.video-phone .kit-generate-row{align-items:stretch;flex-direction:column;gap:12px}html.video-phone .kit-generate-row .primary-button{width:100%}html.video-phone .kit-studio{padding:18px 15px;border-radius:18px}html.video-phone .kit-studio-heading{gap:10px;align-items:flex-start}html.video-phone .kit-studio-heading h2{font-size:20px}html.video-phone .kit-studio-heading .pa-button{padding:8px 13px;font-size:12px}html.video-phone .kit-studio-heading .video-kicker{font-size:10px}html.video-phone .kit-toolbar{margin-top:20px;gap:10px}html.video-phone .kit-account-tabs button{padding:7px 22px}html.video-phone .kit-version-actions{gap:10px}html.video-phone .kit-version-actions button{font-size:12px}html.video-phone .kit-text-grid,html.video-phone .kit-image-grid{grid-template-columns:1fr}html.video-phone .kit-text-card:first-child{grid-column:auto}html.video-phone .kit-image-card{padding:17px}html.video-phone .kit-preview-avatar{max-width:180px;margin:auto}html.video-phone .kit-preview-cover{max-width:230px;margin:auto;max-height:310px}html.video-phone .kit-style-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}html.video-phone .kit-style-picker button{justify-content:center;padding:7px 4px;font-size:10px;gap:4px}html.video-phone .kit-photo-actions{justify-content:center}html.video-phone .kit-completion .video-kit-grid{grid-template-columns:1fr}

.kit-export-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 18px}.kit-export-row button{font-size:13px;min-height:42px}.kit-export-row span{font-size:11px;color:var(--muted);line-height:1.7}.kit-export-row button:disabled,.kit-card-heading button:disabled{opacity:.5;cursor:wait}

.kit-preview-background img{width:100%;height:100%;object-fit:contain}
