/* Model-first surfaces are normal flow; the existing dialog owns focus and scrolling. */
.model-picker-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.2rem .65rem;flex-shrink:0;min-width:0;margin:0 22px 8px;padding:3px 10px;border:1px solid #ffffff35;border-radius:10px;background:#0b0b0b;box-shadow:0 0 15px #ffffff08;font-size:1rem;overflow-wrap:anywhere}
.model-current-copy{display:flex;align-items:center;flex:1 1 140px;flex-wrap:wrap;gap:6px;min-width:0;line-height:1.4}
.model-current-copy strong{font-size:.928571rem;font-weight:550;color:#fff}.model-current-copy>span{font-size:.857143rem;color:#bbb}.model-current-copy .icon{width:18px;height:18px}
.model-picker-strip button{min-width:48px;min-height:48px;max-width:100%;padding:7px 9px;font-size:.928571rem;white-space:normal;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px;color:#ddd}
.model-picker-gallery{width:100%;min-width:0;margin:14px 0 18px;text-align:left;font-size:1rem;overflow-wrap:anywhere}
.model-picker-intro{margin:0 0 12px;color:#c4c4c4;font-size:1rem;line-height:1.6}
.model-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;min-width:0}
.model-card{display:flex;flex-direction:column;min-width:0;padding:13px;border:1px solid #414141;border-radius:14px;background:linear-gradient(150deg,#191919,#060606);overflow-wrap:anywhere}
.model-selected{border-color:#ddd;box-shadow:0 0 16px #ffffff12,inset 0 0 16px #ffffff04}
.model-card-heading{display:flex;align-items:flex-start;gap:9px;min-width:0;color:#fff}.model-card-heading .icon{margin-top:3px;width:22px;height:22px}
.model-card h3{margin:0;font-size:1.071429rem;line-height:1.5;font-weight:550}.model-purpose{margin:8px 0 12px;color:#c2c2c2;font-size:1rem;line-height:1.55;flex:1}
.model-demo-button{display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-width:48px;min-height:80px;max-width:100%;padding:0;border:1px solid #4a4a4a;border-radius:9px;background:#101010;font-size:1rem;line-height:1.5;white-space:normal;overflow:hidden;text-align:left}
.model-demo-button img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#080808;filter:none}
.model-preview-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;min-height:48px;color:#eee}.model-demo-button>span:not(.model-preview-label){padding:10px;overflow-wrap:anywhere}
.model-demo-button:disabled{opacity:.7}.model-demo-button:hover:not(:disabled),.model-select-button:hover:not(:disabled){border-color:#eee;background:#232323}
.model-example-label,.model-availability{color:#bbb;font-size:.857143rem;line-height:1.5;margin:9px 0}.model-availability{margin-bottom:0;color:#c4b595}
.model-select-button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:48px;min-height:48px;max-width:100%;padding:10px;border:1px solid #777;border-radius:9px;background:#202020;font-size:1rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.model-select-button[aria-pressed="true"]{border-color:#ddd;background:#303030}.model-select-button .icon{width:18px;height:18px}
.model-picker-sheet{min-width:0;font-size:1rem;line-height:1.6;overflow-wrap:anywhere}.model-picker-sheet button{min-width:48px;min-height:48px;max-width:100%;font-size:1rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.model-picker-dialog{width:min(820px,calc(100vw - 24px));max-height:calc(var(--guide-viewport-height,100dvh) - 24px)}
.model-picker-dialog .dialog-content{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:16px}
.model-picker-dialog .dialog-heading{padding:14px 16px}.model-picker-dialog .dialog-heading h2{overflow-wrap:anywhere;font-size:1.428571rem}.model-picker-dialog .dialog-heading>.icon-button{min-width:48px;min-height:48px;width:48px;height:48px}
.model-demo-player{display:block;width:100%;max-height:50dvh;object-fit:contain;filter:none;background:#000;border-radius:8px}
.model-demo-sheet figure{margin:16px 0}.model-demo-sheet figure img{display:block;width:100%;max-height:35dvh;object-fit:contain;filter:none;background:#000}.model-demo-sheet figcaption,.model-demo-caption{font-size:1rem;color:#ccc;line-height:1.6}.model-demo-disclaimer{color:#fff;border-bottom:1px solid #555;padding-bottom:10px}
.model-picker-strip button:focus-visible,.model-picker-sheet button:focus-visible,.model-picker-gallery button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.context-model-select{min-height:48px;font-size:1rem;max-width:100%;min-width:0}.context-model-purpose{font-size:.928571rem;color:#ccc;line-height:1.6;overflow-wrap:anywhere}.context-model-settings-link{min-height:48px;white-space:normal;overflow-wrap:anywhere}
/* Upfront choices precede templates and the start-chat note, not a settings hunt. */
.empty-state{justify-content:flex-start;max-width:800px;padding-top:12px}.empty-state .empty-emblem{margin-bottom:10px;width:64px;height:64px}.empty-state .hero-logo{width:64px;height:64px}.empty-state .empty-description{margin-bottom:4px}
@media(max-width:760px){.model-picker-strip{margin:0 10px 6px}.model-picker-gallery{margin-top:12px}.model-picker-dialog{border-radius:13px}.empty-state{padding-top:4px}}
@media(max-width:400px){.model-cards{grid-template-columns:minmax(0,1fr)}.model-picker-dialog .dialog-content{padding:12px}.model-card{padding:12px}.model-picker-strip{padding:3px 8px}.model-current-copy{flex-basis:130px}}
@media(max-height:500px){.model-demo-player{max-height:40dvh}.model-picker-dialog .dialog-heading{padding:8px 12px}.model-picker-dialog .dialog-eyebrow{display:none}}

.model-picker-hero{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px;width:100%;min-width:0;text-align:left}
.empty-state .model-picker-hero .empty-emblem,.empty-state .model-picker-hero .hero-logo{width:40px;height:40px;margin:0}
.empty-state .model-picker-hero h1{flex:1 1 180px;font-size:1.714286rem;line-height:1.4;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}

/* Seven recognizable choices first; the selected model's real example follows. */
.model-quick-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px;min-width:0}
.model-quick-choice{display:flex;align-items:center;gap:7px;min-width:0;min-height:48px;padding:9px 10px;border:1px solid #ffffff38;border-radius:9px;background:#101010;color:#d8d8d8;font-size:.928571rem;line-height:1.4;text-align:left;overflow-wrap:anywhere}
.model-quick-choice .icon{width:17px;height:17px}.model-quick-choice span{min-width:0}
.model-quick-choice[aria-pressed="true"]{border-color:#e4e4e4;background:#ffffff14;color:#fff;box-shadow:0 0 13px #ffffff0b}
.model-quick-choice:hover:not(:disabled){border-color:#aaa;background:#232323}.model-quick-choice:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(min-width:761px){.model-quick-choices{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}}
