@import url("/static/app.css?v=11");


/* Public model explorer */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.explorer-heading { margin-bottom: 24px; }
.explorer-heading h1 { margin-bottom: 6px; }
.explorer-heading p { margin: 0; color: var(--muted); }
.model-explorer { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 22px; align-items: start; max-width: none; }
.model-filters { padding: 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.model-filters section + section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e8eef7; }
.model-filters h2, .model-series h2 { margin: 0 0 12px; font-size: 13px; }
.filter-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filter-options button { min-height: 36px; padding: 7px 8px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: 12px; }
.filter-options button[aria-pressed="true"] { color: #fff; background: var(--accent); }
.filter-notes { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 12px; }
.filter-notes span { padding: 4px 8px; background: #f2f6fc; border-radius: 6px; }
.model-filters p { margin: 0; color: var(--muted); font-size: 12px; }
.model-browser { min-width: 0; }
.model-series { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.series-options { display: flex; flex-wrap: wrap; gap: 10px; }
.series-options button { min-width: 74px; min-height: 44px; padding: 9px 16px; color: var(--muted); background: #f7f9fd; border: 1px solid transparent; border-radius: 10px; }
.series-options button[aria-pressed="true"] { color: var(--accent-dark); background: var(--accent-soft); border-color: #87b7f5; }
.model-tools { display: flex; align-items: center; gap: 18px; margin: 20px 0 16px; color: var(--muted); font-size: 12px; }
.model-search { flex: 0 1 360px; }
.model-search input { width: 100%; min-height: 42px; background: var(--surface); }
.model-tools strong { color: var(--ink); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; gap: 16px; }
.model-card { display: flex; min-width: 0; flex-direction: column; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .18s ease, box-shadow .18s ease; }
.model-card:hover { border-color: #b3cef0; box-shadow: 0 10px 28px rgba(30, 85, 180, .08); }
.model-card-head { display: flex; align-items: center; gap: 8px; }
.model-avatar { display: grid; flex: none; width: 34px; height: 34px; place-items: center; color: #fff; background: #15283f; border-radius: 9px; font-size: 17px; font-weight: 700; }
.model-vendor { color: var(--muted); font-size: 12px; }
.model-kind { margin-left: auto; padding: 3px 7px; color: #52647a; background: #f1f4f9; border-radius: 5px; font-size: 10px; }
.model-card h2 { margin: 16px 0 4px; font-size: 18px; overflow-wrap: anywhere; }
.model-id { display: block; color: var(--muted); overflow-wrap: anywhere; }
.model-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.model-tags span { padding: 3px 8px; color: #187553; background: #e9f8f0; border-radius: 5px; font-size: 11px; }
.model-tags span:first-child { color: #2764c5; background: #eaf2ff; }
.model-card > p { flex: 1; margin: 14px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.model-specs { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: 12px; padding-top: 15px; border-top: 1px solid #e8eef7; }
.model-specs > div { min-width: 0; }
.model-specs span { display: block; color: var(--muted); font-size: 11px; }
.model-specs strong { display: block; margin-top: 9px; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.model-bottom-price { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: baseline; padding-top: 12px; border-top: 1px solid #e8eef7; }
.model-bottom-price strong { grid-row: 1 / 3; grid-column: 2; margin-top: 0; font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.model-bottom-price small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.model-doc-link { align-self: flex-start; min-height: 38px; margin-top: 12px; padding: 7px 0 0; color: var(--accent-dark); background: transparent; border: 0; font-size: 12px; }
.model-doc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.model-empty { padding: 64px 24px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.model-empty p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 1100px) {
  .model-explorer { grid-template-columns: 1fr; }
  .model-filters { display: flex; flex-wrap: wrap; gap: 20px 32px; }
  .model-filters section + section { margin: 0; padding: 0; border: 0; }
  .filter-options { display: flex; }
}
@media (max-width: 760px) {
  .model-grid { grid-template-columns: 1fr; }
  .model-tools { align-items: flex-start; flex-direction: column; gap: 8px; }
  .model-search { width: 100%; flex-basis: auto; }
  .model-filters { gap: 18px; }
}


/* Open-platform shell: our features, a cleaner catalog-style presentation. */
:root { --bg: #f4f6fa; --line: #e2e8f1; }
.sky { display: block; min-height: 100vh; }
.topnav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 72px;
  padding: 0 32px;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.mark { margin: 0; color: var(--ink); font-size: 21px; }
.mark .brand-name small { color: var(--muted); }
.topnav nav { flex: 1; flex-direction: row; align-items: stretch; gap: 3px; margin: 0 0 0 42px; overflow-x: auto; scrollbar-width: none; }
.topnav nav::-webkit-scrollbar { display: none; }
.nav { position: relative; width: auto; min-height: 72px; padding: 0 13px; color: #53647b; background: transparent; border-radius: 0; font-size: 14px; }
.nav::before { display: none; }
.nav[aria-current="page"] { color: var(--accent); background: transparent; }
.nav[aria-current="page"]::after { content: ""; position: absolute; right: 12px; bottom: 0; left: 12px; height: 2px; background: var(--accent); border-radius: 2px 2px 0 0; }
.nav:hover, .nav[aria-current="page"]:hover { color: var(--accent); background: #f7faff; }
.who { flex: none; gap: 12px; margin: 0 0 0 20px; padding: 0; color: var(--muted); border: 0; }
.who > span { max-width: 170px; padding: 7px 12px; color: #34465e; background: #f2f5f9; border-radius: 18px; }
.who .linkish { min-height: 40px; color: #53647b; }
.who .linkish:hover { color: var(--accent); }
.sheet { min-height: calc(100vh - 72px); padding: 30px clamp(20px, 3vw, 48px) 56px; background: var(--bg); }
.sheet > * { max-width: 1500px; }
@media (max-width: 1100px) {
  .topnav { padding: 0 20px; }
  .topnav nav { margin-left: 20px; }
  .nav { padding: 0 9px; font-size: 12px; }
  .who { margin-left: 12px; }
  .who > span { display: none; }
}
@media (max-width: 760px) {
  .topnav { position: relative; display: grid; grid-template-columns: 1fr auto; height: auto; padding: 14px 16px 0; overflow: hidden; }
  .mark { order: 1; margin: 0; font-size: 20px; }
  .who { order: 2; margin: 0; align-self: center; }
  .topnav nav { order: 3; grid-column: 1 / -1; flex-direction: row; gap: 2px; width: 100%; margin: 10px 0 0; padding: 0; }
  .nav { min-height: 46px; padding: 0 12px; font-size: 12px; }
  .nav[aria-current="page"]::after { right: 10px; left: 10px; }
  .sheet { min-height: auto; padding: 24px 16px 42px; }
}


.model-tiered { margin-top: 12px; }
.model-tiered summary { min-height: 32px; color: var(--accent-dark); cursor: pointer; font-size: 12px; font-weight: 600; }
.model-tiered[open] summary { margin-bottom: 8px; }
.tiered-table { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; }
.tiered-row { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 6px; padding: 8px 9px; border-top: 1px solid #e8eef7; }
.tiered-row:first-child { border-top: 0; }
.tiered-row span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.tiered-head { color: var(--muted); background: #f6f8fc; }
.tiered-head span:nth-child(n+2) { text-align: right; }
.model-tiered > p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }


/* Account balance and password settings */
.account-heading { margin-bottom: 24px; }
.account-heading h1 { margin-bottom: 4px; }
.account-heading p { margin: 0; color: var(--muted); }
.account-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); gap: 20px; max-width: 1040px; }
.account-grid > section { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.account-grid h2 { margin: 0; font-size: 17px; }
.account-balance > strong { display: block; margin: 24px 0 16px; color: var(--nav); font-size: clamp(34px, 4vw, 44px); font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.account-balance > p, .account-security > p { margin: 0; color: var(--muted); line-height: 1.75; }
.account-security form { gap: 16px; margin-top: 22px; }
.account-security .btn { justify-self: start; min-width: 132px; }
.who .account-link { max-width: 170px; min-height: 40px; padding: 7px 12px; overflow: hidden; color: #34465e; background: #f2f5f9; border-radius: 18px; text-overflow: ellipsis; white-space: nowrap; }
.gate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 20px; }
.gate-links .linkish { min-height: 36px; }
@media (max-width: 1100px) {
  .who .account-link { display: none; }
}
@media (max-width: 700px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-grid > section { padding: 22px; }
}
