/* One approved style picker on the main page and inside the card popup. */
.doodle-style-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;padding:2px}
.doodle-style-picker>.style{display:block;min-width:0;min-height:184px;border:1px solid #dde2eb;background:#fff;border-radius:16px;padding:12px;text-align:left;color:#17345b;cursor:pointer}
.doodle-style-picker>.style.on{outline:2px solid #536f99;outline-offset:0;box-shadow:0 8px 22px #17345b14}
.doodle-style-picker .approvedBoardThumb{height:118px!important;margin:0 0 8px;padding:0!important;overflow:hidden;border-radius:13px;background:#f8f5ee}
.doodle-style-picker .approvedBoardThumb img{width:100%;height:100%;display:block;object-fit:cover;border-radius:13px}
/* Show each complete launch reference without cropping its portrait composition. */
.doodle-style-picker>.style[data-style-id^="launch-"] .approvedBoardThumb img{object-fit:contain}
.doodle-style-picker b{display:block;font-size:12px!important;line-height:1.35;letter-spacing:-.1px;color:#17345b}
.doodle-style-picker .sub{display:block;font-size:11px!important;line-height:1.4!important;font-weight:400;margin-top:4px;color:#657287}
.doodle-style-picker>[hidden]{display:none!important}
.doodle-style-picker>button:disabled{cursor:wait;opacity:.65}
@media(max-width:380px){.doodle-style-picker>.style{padding:9px;min-height:174px}.doodle-style-picker .approvedBoardThumb{height:108px!important}}

/* A short starter set in the flow; the complete collection has its own browser. */
.doodle-style-picker>.style{min-height:164px;padding:10px}
.doodle-style-picker .approvedBoardThumb{height:92px!important}
.doodle-style-picker .approvedBoardThumb img{object-fit:contain}
.doodle-style-picker .sub{font-size:12px!important;line-height:1.35!important}
.look-picker-tools{margin-top:12px}
.look-selected-summary{margin:0 0 10px;font-size:13px;line-height:1.45;color:#17345b}
.look-browse{width:100%;min-height:44px;padding:11px 14px;border:1px solid #b4c3d7;border-radius:12px;background:#edf2f8;color:#17345b;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.doodle-style-picker button:focus-visible,.look-browse:focus-visible,.doodle-look-browser :is(button,input):focus-visible{outline:3px solid #406b9c;outline-offset:3px}
.doodle-look-browser{width:min(760px,calc(100vw - 24px));max-width:760px;max-height:90dvh;padding:18px 18px 0;border:1px solid #dce3ec;border-radius:22px;background:#fffdf9;color:#17345b;overflow:auto;box-sizing:border-box;box-shadow:0 20px 90px #11274640;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.doodle-look-browser::backdrop{background:#1127468c}
.look-browser-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.look-browser-header h2{font-size:22px;line-height:1.2;margin:0;letter-spacing:-.5px}
.doodle-look-browser button{font-family:inherit;cursor:pointer}
.look-browser-close,.look-pagination button{min-height:44px;padding:10px 13px;border:1px solid #ced8e6;border-radius:10px;background:#fff;color:#17345b;font-size:13px}
.look-search-label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}
.look-search{width:100%;min-height:46px;padding:11px 13px;border:1px solid #b5c4d8;border-radius:11px;color:#17345b;background:#fff;font:inherit;font-size:16px;box-sizing:border-box}
.look-filters{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.look-filter{min-height:44px;padding:8px 12px;border:1px solid #ced8e6;border-radius:999px;background:#fff;color:#17345b;font-size:13px}
.look-filter[aria-pressed="true"]{background:#17345b;border-color:#17345b;color:#fff}
.look-result-count{font-size:13px;color:#52647b;line-height:1.4;margin:12px 0}
.look-browser-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.look-choice{min-width:0;padding:9px;text-align:left;border:1px solid #dce3ec;border-radius:13px;background:#fff;color:#17345b}
.look-choice[aria-pressed="true"]{outline:2px solid #406b9c;background:#edf2f8}
.look-choice .thumb{width:100%;height:auto!important;aspect-ratio:2/3;margin:0 0 8px;overflow:hidden;border-radius:8px;background:#f5f1e8}
.look-choice img{width:100%;height:100%;object-fit:contain;display:block}
.look-choice b{font-size:13px;line-height:1.35;display:block}
.look-choice .sub{font-size:12px;line-height:1.4;margin-top:4px;display:block;color:#52647b}
.look-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;font-size:13px}
.look-pagination button:disabled{opacity:.45;cursor:default}
.look-browser-footer{position:sticky;bottom:0;padding:12px 0 max(14px,env(safe-area-inset-bottom));border-top:1px solid #dce3ec;background:#fffdf9}
.look-detail{font-size:13px;line-height:1.45;margin:0 0 10px;color:#52647b}
.look-use{width:100%;min-height:46px;padding:12px;border:0;border-radius:12px;background:#17345b;color:#fff;font-size:14px;font-weight:700}
.look-use:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.look-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doodle-look-browser{padding:15px 14px 0}.look-browser-header h2{font-size:20px}.look-detail{max-height:76px;overflow:auto}}

/* Calm selected state and stable preview surfaces. */
.doodle-style-picker>.style{border:2px solid transparent;transition:border-color .15s ease,box-shadow .15s ease}
.doodle-style-picker>.style.on{border-color:#17345b!important;outline:none!important;box-shadow:0 4px 12px #17345b20}
.doodle-style-picker .approvedBoardThumb{position:relative;background:linear-gradient(135deg,#f8f5ee,#eef2f8)!important}
.doodle-style-picker>.style.on[aria-pressed="true"] .approvedBoardThumb::after{content:"✓";position:absolute;inset:5px 5px auto auto;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#17345b;color:#fff;font:700 13px/1 Arial,sans-serif;animation:none;pointer-events:none}
#selectedLookName{white-space:normal}
#create .selectedLook{display:none!important}
#create .styleHeader .styleTools{display:flex;gap:8px;width:100%}
#create .styleHeader .styleTools>*{flex:1;min-width:0}
#create .pickerPhoto{display:flex;align-items:center;gap:8px;margin:5px 0 7px;font-size:11px;color:#63758a}
#create .pickerPhoto[hidden]{display:none!important}
#create .pickerPhoto img{width:44px;height:44px;flex:0 0 44px;object-fit:cover;border-radius:10px;background:#eef2f8}
@media(prefers-reduced-motion:reduce){.doodle-style-picker>.style{transition:none!important}}
