:host { display: block; width: 100%; color: var(--app-text-control, #334155); } .featured { margin-top: 26px; } .heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; } h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 16px; font-weight: 650; color: var(--app-text-control, #1e293b); } h2 span { font-size: 20px; color: var(--app-warning-text, #d29a32); } .heading p { font-size: 12px; color: var(--app-text-muted, #64748b); margin: 6px 0 0; } .heading > input { max-width: 210px; width: 40%; border-radius: 20px; } .filters { display: flex; gap: 5px; flex-wrap: wrap; margin: 17px 0; } .filters button { border: 0; padding: 6px 13px; border-radius: 18px; font-size: 12px; background: transparent; color: var(--app-text-muted, #64748b); } .filters button.selected { background: var(--app-primary-soft, #e0e7ff); color: var(--app-exploration-text, #4338ca); font-weight: 600; } .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; align-items: start; } .card { padding: 16px; border: 1px solid var(--app-border, #e2e8f0); border-radius: 16px; background: var(--app-surface, #fff); min-width: 0; transition: border-color .15s, box-shadow .15s; } .card:hover { border-color: var(--app-primary-border, #c7d2fe); box-shadow: 0 4px 16px #33415508; } .card.expanded { border-color: var(--app-primary-border, #a5b4fc); } .card-overview { display: flex; flex-direction: column; min-height: 178px; } .card-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 22px; } .mode { padding: 3px 8px; background: var(--app-surface-soft, #f1f5f9); color: var(--app-text-secondary, #475569); border-radius: 6px; font-size: 11px; line-height: 16px; } .mode.pro { background: var(--app-exploration-soft, #ede9fe); color: var(--app-exploration-text, #6d28d9); } .mode.explore { background: var(--app-info-soft, #e0f2fe); color: var(--app-info-text, #0369a1); } .case-version { font-size: 11px; color: var(--app-text-faint, #94a3b8); white-space: nowrap; } .card-title { display: flex; align-items: flex-start; gap: 6px; margin: 13px 0 7px; min-height: 42px; } .card-title h3 { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 21px; overflow-wrap: anywhere; color: var(--app-text-control, #1e293b); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .star { display: flex; flex-shrink: 0; width: 24px; height: 24px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--app-warning-text, #c58b23); } .star span { font-size: 19px; font-variation-settings: 'FILL' 1; } .model-summary { font-size: 12px; line-height: 18px; color: var(--app-text-muted, #64748b); margin: 0 0 12px; min-height: 36px; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; } .card-actions button { display: flex; align-items: center; gap: 4px; min-height: 34px; padding: 7px 10px; border-radius: 8px; font-size: 12px; white-space: nowrap; } .card-actions span { font-size: 16px; } .configure { color: var(--app-text-muted, #64748b); border: 0; background: transparent; } .primary { border: 1px solid #6366f1; background: #6366f1; color: white; } .primary:hover { background: #4f46e5; } .configuration { border-top: 1px solid var(--app-border, #e2e8f0); margin-top: 14px; padding-top: 14px; display: grid; gap: 12px; } .configuration label { display: grid; gap: 6px; font-size: 12px; color: var(--app-text-secondary, #475569); } .configuration .checkbox { display: flex; align-items: center; } .checkbox input { width: auto; min-height: auto; } input, select { box-sizing: border-box; min-width: 0; width: 100%; min-height: 40px; padding: 10px 12px; border: 1px solid var(--app-border, #dbe3ec); border-radius: 10px; color: var(--app-text-control, #334155); background: var(--app-surface, white); font: inherit; font-size: 13px; } option { color: var(--app-text-control, #334155); background: var(--app-surface, #fff); } .hint { font-size: 11px; color: var(--app-text-muted, #64748b); line-height: 1.5; margin: 7px 0 0; } .save { justify-self: start; padding: 7px 10px; border: 1px solid var(--app-border-control, #cbd5e1); background: var(--app-surface, #fff); color: var(--app-text-secondary, #475569); border-radius: 8px; font-size: 12px; } details { border: 1px solid var(--app-border, #e2e8f0); padding: 10px; border-radius: 9px; } details summary { font-size: 12px; cursor: pointer; overflow-wrap: anywhere; } details[open] > label, details[open] > app-setting-slider { margin-top: 12px; display: block; } details[open] > app-model-selector { margin-top: 12px; } button { font-family: inherit; cursor: pointer; } button:disabled { opacity: .5; cursor: default; } button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--app-exploration-border, #818cf8); outline-offset: 2px; } .empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 18px; border: 1px dashed var(--app-border-control, #cbd5e1); border-radius: 16px; color: var(--app-text-muted, #64748b); font-size: 12px; line-height: 1.7; } .empty > span { font-size: 28px; color: var(--app-warning-text, #c5a365); margin-bottom: 9px; } .empty strong { font-size: 14px; color: var(--app-text-secondary, #475569); } .empty p { max-width: 440px; margin: 8px 0 0; } .error, .notice { padding: 10px 12px; border-radius: 8px; font-size: 12px; line-height: 1.6; } .error { background: var(--app-error-soft, #fff1f2); color: var(--app-error-text, #b91c1c); } .notice { background: var(--app-success-soft, #f0fdf4); color: var(--app-success-text, #166534); } @media (max-width: 560px) { .heading { align-items: flex-start; flex-direction: column; } .heading > input { width: 100%; max-width: none; } .cards { grid-template-columns: 1fr; } }