.hub-heading{align-items:center}.hub-filter{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 18px}.hub-filter label{display:grid;gap:7px;font-size:12px;color:var(--muted);max-width:100%;width:300px}.hub-filter select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 12px;font:inherit;font-size:14px;color:var(--nav-bg)}.hub-filter>span{font-size:13px;color:var(--muted);padding-bottom:12px;white-space:nowrap}.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:14px;align-items:stretch}.hub-card{display:flex;flex-direction:column;min-width:0;min-height:228px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 5px 18px #24262904;transition:box-shadow .18s,border-color .18s}.hub-card:hover{border-color:var(--line);box-shadow:0 8px 24px #2426290b}.hub-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.hub-brand{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#fff2e8;color:#ba5607;flex:none}.hub-brand .icon{width:21px;height:21px}.hub-meta{background:#edf3ff;color:#3575cd}.hub-sz{background:var(--line);color:#328164}.hub-openai,.hub-anthropic{background:#eeedf8;color:#655f91}.hub-cielo{background:#eaf7fb;color:#177e9b}.hub-pagbank{background:var(--line);color:#718a2e}.hub-card-title{margin:12px 0;min-height:65px}.hub-card-title small{font-size:11px;letter-spacing:.055em;text-transform:uppercase;color:var(--muted)}.hub-card h2{font-size:18px;line-height:1.3;margin:5px 0;overflow-wrap:anywhere}.hub-card p{font-size:13px;color:var(--muted);margin:0;overflow-wrap:anywhere}.hub-card-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--muted);margin-top:auto;padding-bottom:10px;border-bottom:1px solid var(--line)}.hub-usage{color:var(--muted)}.hub-card-actions{display:flex;align-items:center;gap:8px;padding-top:10px}.hub-card-actions .btn{min-height:40px;padding:8px 20px}.hub-card-actions .text-btn{font-size:12px;flex:1;text-align:center}.hub-delete{width:38px;height:38px;padding:8px;border:0;background:#fff4f1;color:#bc604d;border-radius:10px;cursor:pointer;flex:none}.hub-delete:disabled{background:var(--bg);color:var(--line);cursor:not-allowed}.hub-off .hub-brand{filter:grayscale(1);opacity:.7}.hub-empty{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:20px;padding:56px 20px;color:var(--muted)}.hub-empty>.icon{width:34px;height:34px}.hub-empty h2{font-size:19px;color:var(--nav-bg)}.hub-empty p{font-size:14px}.hub-form{min-width:0;max-width:100%}.hub-form .form-field{margin-bottom:16px;min-width:0}.hub-form input:not([type=checkbox]),.hub-form select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:16px;min-height:44px}.hub-form-type{font-size:12px;color:var(--muted);margin-bottom:20px}.hub-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.hub-full{grid-column:1/-1}.hub-checks{border:0;padding:0;margin:0 0 18px;display:flex;gap:12px;flex-wrap:wrap}.hub-checks legend{font-size:13px;margin-bottom:10px}.hub-checks label{display:flex;align-items:center;gap:5px;font-size:13px}.hub-checks input{width:16px;height:16px}.hub-error{font-size:13px;color:#ac3e32;overflow-wrap:anywhere}.hub-error:empty{display:none}.hub-form>.btn{margin-top:8px;min-height:44px}.hub-danger{background:#af4534!important;color:#fff!important;border-color:#af4534!important}#modal:has(.hub-small){width:min(480px,calc(100vw - 24px))}#modal:has(.hub-wide){width:min(680px,calc(100vw - 24px))}#modal:has(.fin-cielo-form){width:min(620px,calc(100vw - 24px))}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-grid .large-panel{margin:0;min-width:0}.settings-grid h2{font-size:20px}.settings-grid .button-row{flex-wrap:wrap}.settings-grid .order-sync-settings p{display:none}.settings-grid .order-sync-settings form{margin-top:18px}.settings-grid select{max-width:100%;min-width:0}.fin-sync-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.fin-sync-row strong{display:block}.fin-sync-row small{font-size:12px;color:var(--muted)}.fin-sync-row>div{min-width:0}.fin-sync-row .btn{min-height:42px;flex:none}.fin-sync-row:last-child{border:0}
@media(max-width:600px){.hub-grid{gap:14px}.hub-card{padding:16px;min-height:220px}.hub-heading{align-items:stretch}.hub-heading>.btn{align-self:flex-start}.hub-filter{gap:10px}.hub-filter>span{font-size:11px}.hub-filter select{font-size:16px}.settings-grid{grid-template-columns:minmax(0,1fr)}.hub-fields{gap:0 10px}.hub-form .form-field{font-size:13px}.hub-form input:not([type=checkbox]),.hub-form select{padding:10px 8px}.hub-card-actions .btn{flex:1;min-height:44px}.hub-delete{width:44px;height:44px}.hub-card-actions .text-btn{flex:1}.fin-sync-row{gap:8px}.fin-sync-row .btn{padding:10px 12px}.fin-sync-row strong{font-size:15px}}

.hub-usage{border:0;background:transparent;padding:0;font:inherit;color:var(--muted);cursor:pointer}.hub-usage:hover{text-decoration:underline}.hub-card .tag.warning{background:#fff2e5;color:#ae600b}#modal:has(#fin-configure){width:min(480px,calc(100vw - 24px))}

.hub-provider-logo{width:132px;height:40px}.hub-card-top:has(.hub-provider-logo){min-height:40px}.hub-card-title:has(h2){min-height:65px}.hub-card-title:not(:has(h2)){display:flex;flex-direction:column;gap:9px;min-height:65px}.hub-off .hub-provider-logo{filter:grayscale(1);opacity:.7}
