/* RC299 Guided Add Flannel Wizard rebuilt on RC296. New-add only; Edit Flannel stays RC296. */
#addWizard299{z-index:1300}#addWizard299 .sheet{min-height:78vh;max-height:94vh;display:flex;flex-direction:column}#addWizardBody299{padding:8px 18px 28px;overflow:auto;flex:1}.w299-progressrow{display:flex;align-items:center;gap:12px;margin:2px 0 18px}.w299-progress{font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.65}.w299-back{border:0;background:transparent;color:inherit;font-weight:800;font-size:14px;padding:6px 0}.w299-card{display:flex;flex-direction:column;gap:16px}.w299-card h2{font-size:28px;margin:0}.w299-card p{margin:0;opacity:.72;line-height:1.4}.w299-fields{display:grid;gap:14px}.w299-fields.two{grid-template-columns:1fr 1fr}.w299-fields label{display:flex;flex-direction:column;gap:7px;font-weight:700}.w299-fields input,.w299-fields select,.w299-fields textarea{width:100%;font-size:17px;box-sizing:border-box}.w299-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.w299-tiles.three{grid-template-columns:repeat(3,minmax(0,1fr))}.w299-tile{min-height:92px;border:2px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.055);color:inherit;font-size:17px;font-weight:800;padding:12px}.w299-tile.selected{border-color:#ff4f9a;box-shadow:0 0 0 2px rgba(255,79,154,.18) inset;background:rgba(255,79,154,.10)}.w299-checks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.w299-check{display:flex;gap:9px;align-items:center;padding:13px;border-radius:14px;background:rgba(255,255,255,.055);font-weight:700;min-height:78px;box-sizing:border-box}.w299-actions{display:flex;gap:10px;margin-top:20px}.w299-actions button{flex:1;min-width:0;min-height:54px}.w299-note{font-size:13px;opacity:.68;line-height:1.4}.w299-photo-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.w299-photo-slot{aspect-ratio:3/4;border:1px dashed rgba(255,255,255,.25);border-radius:14px;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;overflow:hidden;position:relative}.w299-photo-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.w299-photo-slot span{position:relative;z-index:1}.w299-photo-slot.has-photo span{background:rgba(0,0,0,.65);padding:5px 7px;border-radius:8px}.w299-error{color:#ff7c9f;font-size:13px;font-weight:800}.w299-source{display:none;position:absolute;inset:0;z-index:50;align-items:flex-end;justify-content:center}.w299-source.show{display:flex}.w299-source-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}.w299-source .sheet{position:relative;z-index:1;width:100%;max-width:520px;min-height:0!important;max-height:none!important}.w299-source-choice{display:grid;gap:12px;padding:4px 0 10px}.w299-brand-or{text-align:center;opacity:.55;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.w299-damage-preview{width:100%;max-height:260px;object-fit:contain;border-radius:14px;margin-top:8px}#communityPhotoModal.show{z-index:1800!important}#editorModal.w299-community-host{z-index:1200!important;visibility:hidden!important;pointer-events:none!important}#addWizard299.community-searching{z-index:1300!important}
@media(max-width:430px){.w299-tiles.three,.w299-fields.two{grid-template-columns:1fr}.w299-checks{grid-template-columns:1fr 1fr}}
/* RC301: color metadata retired from flannel UI. Existing stored values are preserved. */
#editorModal label:has(#primaryColor),#editorModal label:has(#secondaryColor),#editorModal .auto-color-row{display:none!important}

/* RC302: keep Collector details Submit above the fold on phone-sized screens. */
#addWizard299 .w302-checks-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#addWizard299 .w302-checks-compact .w299-check{min-height:62px;padding:8px 7px;gap:6px;font-size:13px;line-height:1.15}
#addWizard299 .w302-checks-compact .w299-check input{flex:0 0 auto}
@media(max-width:380px){#addWizard299 .w302-checks-compact{gap:6px}#addWizard299 .w302-checks-compact .w299-check{font-size:12px;padding:7px 5px}}
