.portal-page-shell{color:#172033;max-width:1400px;margin:0 auto;padding:32px 24px 64px}[data-theme=dark] .portal-page-shell{color:#e7ebf2}.portal-page-shell__notice{text-align:center;color:#64748b;padding:60px 20px}.ai-settings-notice{color:#475569;background:#3b82f60f;border:1px solid #3b82f629;border-radius:12px;padding:18px}.ai-settings-notice--error{color:#b91c1c;background:#ef444414;border-color:#ef44444d}.ai-settings__head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.ai-settings__head h2{margin:0 0 4px;font-size:22px}.ai-settings__head p{color:#64748b;max-width:560px;margin:0;font-size:13.5px}.ai-settings__add-btn{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#2563eb,#4f46e5);border:0;border-radius:10px;align-items:center;gap:8px;height:40px;padding:0 16px;font-weight:800;display:inline-flex}.ai-settings__list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.ai-provider-card{background:#fff;border:1px solid #3b82f629;border-radius:16px;gap:10px;padding:18px;display:grid}[data-theme=dark] .ai-provider-card{background:#111b2d;border-color:#60a5fa29}.ai-provider-card.is-active{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.ai-provider-card__top{justify-content:space-between;align-items:center;display:flex}.ai-provider-card__type{color:#2563eb;letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:900}.ai-provider-card__badge{color:#15803d;background:#dcfce7;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:800}.ai-provider-card__name{font-size:17px}.ai-provider-card__meta{gap:6px;margin:0;display:grid}.ai-provider-card__meta>div{justify-content:space-between;gap:10px;font-size:12.5px;display:flex}.ai-provider-card__meta dt{color:#94a3b8;font-weight:700}.ai-provider-card__meta dd{color:inherit;text-align:right;margin:0}.ai-provider-card__url{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.ai-provider-card__actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.ai-provider-card__actions button{min-height:34px;color:inherit;cursor:pointer;background:0 0;border:1px solid #3b82f633;border-radius:8px;flex:auto;padding:0 10px;font-size:12.5px;font-weight:700}.ai-provider-card__delete{color:#dc2626!important;border-color:#ef44444d!important}.ai-settings-modal{z-index:2147483500;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#080f1c99;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.ai-settings-form{color:#172033;background:#fff;border-radius:18px;gap:14px;width:min(480px,100%);max-height:min(90vh,720px);padding:22px;display:grid;overflow:auto}[data-theme=dark] .ai-settings-form{color:#e7ebf2;background:#111b2d}.ai-settings-form__head{justify-content:space-between;align-items:center;display:flex}.ai-settings-form__head strong{font-size:18px}.ai-settings-form__head button{width:34px;height:34px;color:inherit;cursor:pointer;background:0 0;border:1px solid #3b82f62e;border-radius:9px}.ai-settings-form label{gap:6px;font-size:13px;font-weight:700;display:grid}.ai-settings-form input,.ai-settings-form select{min-height:40px;color:inherit;font:inherit;background:0 0;border:1px solid #3b82f633;border-radius:9px;padding:0 12px}.ai-settings-form small{color:#94a3b8;font-size:11.5px;font-weight:500}.ai-settings-form__row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.ai-settings-form__checkbox{align-items:center;gap:8px;font-weight:600;display:flex}.ai-settings-form__checkbox input{width:16px;height:16px;min-height:auto}.ai-settings-form__error{color:#dc2626;background:#ef44441a;border-radius:8px;margin:0;padding:10px 12px;font-size:13px;font-weight:700}.ai-settings-form__actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.ai-settings-form__actions button{min-height:40px;color:inherit;cursor:pointer;background:0 0;border:1px solid #3b82f633;border-radius:9px;padding:0 16px;font-weight:800}.ai-settings-form__submit{color:#fff!important;background:linear-gradient(135deg,#2563eb,#4f46e5)!important;border:0!important}@media (max-width:560px){.ai-settings-form__row{grid-template-columns:1fr}}
