.site-app-store {
  --sas-surface: #fff;
  --sas-inset: #f3f7fa;
  --sas-ink: #14283a;
  --sas-muted: #52677a;
  --sas-line: #dbe4eb;
  --sas-accent: #0b6c83;
  --sas-accent-soft: #e7f5f8;
  --sas-primary: #086d83;
  --sas-primary-ink: #fff;
  --sas-shadow: 0 8px 28px rgb(18 45 63 / 5%);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  color: var(--sas-ink);
  container-type: inline-size;
}
.dark .site-app-store {
  --sas-surface: #101e2a;
  --sas-inset: #0b1722;
  --sas-ink: #f0f6fb;
  --sas-muted: #afc1d1;
  --sas-line: #2c4050;
  --sas-accent: #88e0ef;
  --sas-accent-soft: #173845;
  --sas-primary: #63d7ea;
  --sas-primary-ink: #082634;
  --sas-shadow: 0 8px 28px rgb(0 0 0 / 13%);
}
.site-app-store *, .site-app-store *::before, .site-app-store *::after { box-sizing: border-box; }
.site-app-store button, .site-app-store input, .site-app-store select { font: inherit; }
.site-app-store button { cursor: pointer; }
.site-app-store button:disabled { cursor: not-allowed; opacity: .52; }
.site-app-store button:focus-visible, .site-app-store select:focus-visible, .site-app-store input:focus-visible, .site-app-store summary:focus-visible { outline: 3px solid var(--sas-accent); outline-offset: 3px; }
.site-app-store .sas-header { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 0 0 24px; }
.site-app-store .sas-heading { display: flex; gap: 15px; align-items: center; min-width: 0; }
.site-app-store .sas-heading-icon { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--sas-line); border-radius: 15px; background: var(--sas-surface); color: var(--sas-accent); }
.site-app-store .sas-heading-icon svg { width: 25px; height: 25px; }
.site-app-store h1 { margin: 3px 0 0; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.2; font-weight: 730; letter-spacing: -.035em; }
.site-app-store .sas-eyebrow { display: flex; align-items: center; gap: 7px; color: var(--sas-accent); font-size: 10px; line-height: 1.4; letter-spacing: .13em; font-weight: 750; text-transform: uppercase; margin: 0; }
.site-app-store .sas-eyebrow svg { width: 13px; height: 13px; }
.site-app-store .sas-intro { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: var(--sas-muted); }
.site-app-store .sas-header-count { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; border: 1px solid var(--sas-line); background: var(--sas-surface); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 650; }
.site-app-store .sas-online-dot { width: 6px; height: 6px; border-radius: 50%; background: #12aa82; box-shadow: 0 0 0 3px rgb(18 170 130 / 10%); }
.site-app-store .sas-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.site-app-store .sas-section-heading h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: -.025em; font-weight: 720; }
.site-app-store .sas-section-note { color: var(--sas-muted); font-size: 11px; line-height: 1.5; }
.site-app-store .sas-count { display: inline-grid; place-items: center; min-width: 24px; min-height: 23px; padding: 2px 7px; background: var(--sas-accent-soft); color: var(--sas-accent); border-radius: 7px; font-size: 11px; font-weight: 750; }
.site-app-store .sas-installed { padding: 19px 20px; border: 1px solid var(--sas-line); background: var(--sas-surface); border-radius: 17px; box-shadow: var(--sas-shadow); }
.site-app-store .sas-installed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.site-app-store .sas-installed-card { min-width: 0; border: 1px solid var(--sas-line); background: var(--sas-inset); border-radius: 12px; padding: 13px; }
.site-app-store .sas-installed-main { display: flex; align-items: center; gap: 10px; }
.site-app-store .sas-installed-main > div { min-width: 0; flex: 1; }
.site-app-store .sas-app-title { font-size: 13px; line-height: 1.35; font-weight: 720; }
.site-app-store .sas-installed-main p { font-size: 10px; line-height: 1.6; color: var(--sas-muted); margin: 4px 0 0; }
.site-app-store .sas-enabled { display: inline-flex; align-items: center; gap: 3px; color: #087350; font-size: 9px; font-weight: 700; }
.dark .site-app-store .sas-enabled { color: #8ce4c2; }
.site-app-store .sas-enabled svg { width: 11px; height: 11px; }
.site-app-store .sas-installed-actions { display: flex; align-items: center; gap: 7px; margin-top: 12px; }
.site-app-store .sas-installed-actions .sas-button { min-height: 44px; flex: 1; font-size: 11px; padding: 7px 10px; }
.site-app-store .sas-installed-date { display: block; margin-top: 8px; color: var(--sas-muted); font-size: 9px; line-height: 1.5; }
.site-app-store .sas-installed-empty { display: flex; align-items: center; gap: 13px; padding: 4px 0; color: var(--sas-muted); font-size: 12px; line-height: 1.6; }
.site-app-store .sas-installed-empty strong { font-size: 13px; line-height: 1.5; color: var(--sas-ink); font-weight: 650; }
.site-app-store .sas-installed-empty p { margin: 3px 0 0; font-size: 12px; }
.site-app-store .sas-empty-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: var(--sas-accent-soft); color: var(--sas-accent); }
.site-app-store .sas-empty-icon svg { width: 19px; height: 19px; }
.site-app-store .sas-installed-notes { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sas-line); }
.site-app-store .sas-installed-notes p { display: flex; align-items: flex-start; gap: 7px; margin: 0; font-size: 11px; line-height: 1.6; color: var(--sas-muted); }
.site-app-store .sas-installed-notes svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 3px; color: var(--sas-accent); }
.site-app-store .sas-discover { margin-top: 30px; }
.site-app-store .sas-discover-heading { margin-bottom: 16px; }
.site-app-store .sas-discover-heading h2 { font-size: 22px; margin-top: 5px; }
.site-app-store .sas-filters { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(130px, 200px) minmax(135px, 174px); gap: 9px; margin-bottom: 20px; }
.site-app-store .sas-search, .site-app-store .sas-select { display: flex; position: relative; min-width: 0; align-items: center; border: 1px solid var(--sas-line); border-radius: 10px; background: var(--sas-surface); }
.site-app-store .sas-search > svg { width: 17px; height: 17px; margin-left: 13px; color: var(--sas-muted); flex-shrink: 0; }
.site-app-store .sas-search input { width: 100%; height: 44px; min-width: 0; border: 0; border-radius: 10px; background: transparent; padding: 10px; color: var(--sas-ink); font-size: 12px; }
.site-app-store .sas-search input::placeholder { color: var(--sas-muted); opacity: 1; }
.site-app-store .sas-search input::-webkit-search-cancel-button { display: none; }
.site-app-store .sas-search button { display: grid; place-items: center; width: 33px; height: 33px; margin-right: 5px; flex-shrink: 0; border: 0; border-radius: 6px; background: transparent; color: var(--sas-muted); }
.site-app-store .sas-search button:hover { background: var(--sas-accent-soft); color: var(--sas-accent); }
.site-app-store .sas-search button svg { width: 15px; height: 15px; }
.site-app-store .sas-select select { width: 100%; min-width: 0; height: 44px; padding: 10px 33px 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--sas-ink); font-size: 12px; appearance: none; cursor: pointer; }
.site-app-store .sas-select select option { color: var(--sas-ink); background: var(--sas-surface); }
.site-app-store .sas-select > svg { position: absolute; right: 12px; width: 14px; height: 14px; color: var(--sas-muted); pointer-events: none; }
.site-app-store .sas-stage-select { background: var(--sas-accent-soft); border-color: color-mix(in srgb, var(--sas-accent) 25%, var(--sas-line)); }
.site-app-store .sas-stage-select select { color: var(--sas-accent); font-weight: 650; }
.site-app-store .sas-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.site-app-store .sas-app-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--sas-line); border-radius: 17px; background: var(--sas-surface); box-shadow: var(--sas-shadow); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.site-app-store .sas-app-card:hover { border-color: color-mix(in srgb, var(--sas-accent) 55%, var(--sas-line)); box-shadow: 0 12px 35px rgb(16 60 80 / 12%); transform: translateY(-2px); }
.site-app-store .sas-recommended { border-color: #aa85df; }
.site-app-store .sas-visual { display: flex; flex-direction: column; position: relative; width: 100%; aspect-ratio: 1.82; border: 0; border-bottom: 1px solid var(--sas-line); padding: 0; overflow: hidden; color: #344e61; background: linear-gradient(135deg, #eef5f8, #dcebf2); text-align: left; }
.site-app-store .sas-screenshot { aspect-ratio: 16 / 11; background: #eaf2f8; }
.site-app-store .sas-screenshot[data-app-preview='forms'] { background: #e4f0e9; }
.site-app-store .sas-screenshot[data-app-preview='user-authentication'] { background: #ecebf6; }
.dark .site-app-store .sas-screenshot { background: #152d3e; }
.dark .site-app-store .sas-screenshot[data-app-preview='forms'] { background: #18382d; }
.dark .site-app-store .sas-screenshot[data-app-preview='user-authentication'] { background: #292c46; }
.site-app-store .sas-screenshot-frame { display: grid; place-items: center; position: absolute; inset: 0 0 62px; padding: 17px 15px 12px; overflow: hidden; }
.site-app-store .sas-screenshot-frame img { display: block; width: 100%; height: 100%; min-height: 0; padding: 0; object-fit: contain; object-position: center; border: 1px solid rgb(31 61 83 / 13%); border-radius: 7px; box-shadow: 0 7px 22px rgb(10 31 49 / 15%); transition: transform .18s ease; }
.site-app-store .sas-screenshot:hover img { transform: translateY(-2px); }
.site-app-store .sas-preview-count { display: inline-flex; align-items: center; gap: 6px; position: absolute; top: 11px; right: 11px; padding: 7px 9px; border: 1px solid #446075; border-radius: 7px; background: #0d263a; color: #f3fbff; box-shadow: 0 3px 10px #03172526; font-size: 10px; line-height: 1.4; font-weight: 650; }
.site-app-store .sas-preview-count svg { width: 13px; height: 13px; }
.site-app-store .sas-screenshot-caption { height: 62px; padding: 9px 14px; border-color: var(--sas-line); color: var(--sas-ink); background: var(--sas-surface); }
.site-app-store .sas-screenshot-caption > span { display: grid; gap: 3px; min-width: 0; }
.site-app-store .sas-screenshot-caption small { font-size: 9px; line-height: 1.4; color: var(--sas-muted); font-weight: 550; }
.site-app-store .sas-screenshot-caption strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.45; font-weight: 650; }
.site-app-store .sas-screenshot-caption > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sas-accent); }
.operator-theme-shell .site-app-store button.sas-visual { height: auto; min-height: 0; border-radius: 0; }
.site-app-store .sas-visual-caption { position: absolute; inset: auto 0 0; height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 13px; border-top: 1px solid rgb(50 90 110 / 10%); background: rgb(255 255 255 / 80%); color: #435e71; font-size: 9px; font-weight: 650; }
.site-app-store .sas-visual-caption > span:last-child { display: flex; align-items: center; gap: 5px; }
.site-app-store .sas-visual-caption svg { width: 12px; height: 12px; }
.site-app-store .sas-form-visual { align-items: center; justify-content: center; background: linear-gradient(140deg, #e8f1ec, #d7e8e1); }
.site-app-store .sas-form-preview { display: flex; flex-direction: column; width: 53%; max-width: 230px; margin-bottom: 33px; padding: 12px 14px; border-radius: 9px; background: #fff; border: 1px solid #c1d4ca; box-shadow: 0 8px 18px rgb(43 89 71 / 8%); }
.site-app-store .sas-form-preview-header { display: flex; gap: 6px; align-items: center; font-size: 10px; font-weight: 750; color: #183e32; margin-bottom: 7px; }
.site-app-store .sas-form-preview-header svg { width: 13px; height: 13px; color: #327c66; }
.site-app-store .sas-form-preview-label { font-size: 7px; line-height: 1.6; color: #526b61; }
.site-app-store .sas-form-preview-input { display: block; height: 17px; margin: 2px 0 5px; border: 1px solid #d6e4dc; border-radius: 3px; background: #f8fbf9; }
.site-app-store .sas-form-preview-message { height: 24px; }
.site-app-store .sas-form-preview-submit { display: flex; justify-content: center; align-items: center; gap: 8px; background: #24634d; color: #fff; border-radius: 4px; padding: 5px; font-size: 7px; line-height: 1.1; margin-top: 1px; }
.site-app-store .sas-form-preview-submit svg { width: 9px; height: 9px; }
.site-app-store .sas-concept-visual { align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 55%, #e1f0f5, #edf3fa 75%); }
.site-app-store .sas-concept-orbit { display: grid; place-items: center; position: relative; width: 130px; height: 130px; margin-bottom: 33px; border: 1px solid #c8dce6; border-radius: 50%; }
.site-app-store .sas-concept-orbit::before { content: ''; position: absolute; width: 95px; height: 95px; border: 1px dashed #c8dce6; border-radius: 50%; }
.site-app-store .sas-concept-orbit > .sas-app-icon { position: relative; width: 64px; height: 64px; border-radius: 19px; box-shadow: 0 9px 22px rgb(44 93 112 / 11%); }
.site-app-store .sas-concept-orbit > .sas-app-icon svg { width: 31px; height: 31px; }
.site-app-store .sas-concept-orbit > span:not(.sas-app-icon) { position: absolute; width: 8px; height: 8px; background: #93becc; border: 2px solid #e9f2f8; border-radius: 50%; left: 8px; top: 22px; }
.site-app-store .sas-concept-orbit > span:last-child { left: auto; right: 6px; top: auto; bottom: 22px; background: #adc5de; }
.site-app-store .sas-card-content { display: flex; flex-direction: column; flex: 1; padding: 19px; }
.site-app-store .sas-card-top { display: flex; gap: 10px; align-items: center; margin-bottom: 13px; }
.site-app-store .sas-card-top > div { min-width: 0; flex: 1; }
.site-app-store .sas-app-icon { display: inline-grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--sas-accent) 20%, var(--sas-line)); border-radius: 12px; background: var(--sas-accent-soft); color: var(--sas-accent); }
.site-app-store .sas-app-icon svg { width: 23px; height: 23px; }
.site-app-store .sas-app-icon-small { width: 34px; height: 34px; border-radius: 10px; }
.site-app-store .sas-app-icon-small svg { width: 19px; height: 19px; }
.site-app-store .sas-app-icon[data-app-accent='forms'] { color: #21654b; background: #e7f3ec; border-color: #c3decf; }
.site-app-store .sas-app-icon[data-app-accent='user-authentication'] { color: #5353a4; background: #eeedfa; border-color: #d6d3ed; }
.dark .site-app-store .sas-app-icon[data-app-accent='forms'] { color: #a4e2bf; background: #203d30; border-color: #355947; }
.dark .site-app-store .sas-app-icon[data-app-accent='user-authentication'] { color: #c7baf6; background: #302c49; border-color: #4e466f; }
.site-app-store .sas-card-top h3 { margin: 3px 0 0; font-size: 18px; line-height: 1.35; font-weight: 720; letter-spacing: -.02em; }
.site-app-store .sas-category { display: block; font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: .09em; color: var(--sas-muted); font-weight: 650; }
.site-app-store .sas-title-button { display: inline; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-align: left; }
.site-app-store .sas-title-button:hover { color: var(--sas-accent); }
.site-app-store .sas-stage { display: inline-flex; flex-shrink: 0; align-items: center; border-radius: 5px; padding: 4px 6px; font-size: 9px; line-height: 1.3; font-weight: 700; color: var(--sas-muted); background: var(--sas-inset); border: 1px solid var(--sas-line); }
.site-app-store .sas-stage-ready { color: #166448; background: #eaf7ef; border-color: #b7d8c6; }
.site-app-store .sas-stage-preview { color: #285980; background: #eaf4fc; border-color: #c0d8ec; }
.site-app-store .sas-stage-paused { color: #8b5d18; background: #fff6df; border-color: #e6d29f; }
.dark .site-app-store .sas-stage-ready { color: #a0e6c6; background: #1c372d; border-color: #355748; }
.dark .site-app-store .sas-stage-preview { color: #acd4f5; background: #213b51; border-color: #36556e; }
.dark .site-app-store .sas-stage-paused { color: #ebd197; background: #40371f; border-color: #625332; }
.site-app-store .sas-card-description { margin: 0; color: var(--sas-muted); font-size: 13px; line-height: 1.8; }
.site-app-store .sas-capabilities { display: flex; flex-direction: column; gap: 8px; margin: 15px 0 18px; padding: 0; list-style: none; }
.site-app-store .sas-capabilities li { display: flex; align-items: flex-start; gap: 7px; color: var(--sas-ink); font-size: 12px; line-height: 1.65; }
.site-app-store .sas-capabilities li svg { width: 13px; height: 13px; margin-top: 3px; flex-shrink: 0; color: var(--sas-accent); }
.site-app-store .sas-preview-note { margin: 0 0 16px; padding: 9px 10px; border-radius: 8px; background: var(--sas-inset); color: var(--sas-muted); font-size: 10px; line-height: 1.7; }
.site-app-store .sas-card-footer { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--sas-line); }
.site-app-store .sas-price { min-width: 0; }
.site-app-store .sas-price strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 720; }
.site-app-store .sas-price > span { display: block; margin-top: 2px; font-size: 9px; line-height: 1.5; color: var(--sas-muted); }
.site-app-store .sas-card-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.site-app-store .sas-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 11px; border: 1px solid transparent; min-height: 44px; border-radius: 8px; white-space: nowrap; font-size: 11px; line-height: 1.4; font-weight: 700; transition: background .15s, border-color .15s; }
.operator-theme-shell .site-app-store :is(.sas-button, .sas-icon-button) { min-height: 44px; }
.site-app-store .sas-button svg { width: 13px; height: 13px; flex-shrink: 0; }
.site-app-store .sas-button-primary { color: var(--sas-primary-ink); background: var(--sas-primary); border-color: var(--sas-primary); }
.site-app-store .sas-button-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--sas-primary) 88%, var(--sas-ink)); border-color: color-mix(in srgb, var(--sas-primary) 88%, var(--sas-ink)); }
.site-app-store .sas-button-secondary { border-color: var(--sas-line); background: var(--sas-surface); color: var(--sas-ink); }
.site-app-store .sas-button-secondary:hover:not(:disabled) { border-color: var(--sas-accent); background: var(--sas-accent-soft); color: var(--sas-accent); }
.site-app-store .sas-icon-button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--sas-line); border-radius: 8px; background: var(--sas-surface); color: var(--sas-muted); }
.site-app-store .sas-icon-button svg { width: 14px; height: 14px; }
.site-app-store .sas-remove-button:hover:not(:disabled) { color: #a33e3e; border-color: #d9a6a6; background: #fff0ef; }
.dark .site-app-store .sas-remove-button:hover:not(:disabled) { color: #ffa9a9; border-color: #8f5454; background: #4a2b2c; }
.site-app-store .sas-text-button { padding: 0; border: 0; color: var(--sas-accent); background: transparent; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.site-app-store .sas-permission-note { font-size: 10px; line-height: 1.6; color: var(--sas-muted); margin: 9px 0 0; }
.site-app-store .sas-release-context { display: flex; align-items: center; gap: 9px; margin: -5px 0 19px; color: var(--sas-muted); font-size: 11px; line-height: 1.65; }
.site-app-store .sas-recommendation { display: inline-flex; align-items: center; align-self: flex-start; gap: 5px; margin-bottom: 9px; font-size: 10px; color: #6845a2; font-weight: 650; }
.dark .site-app-store .sas-recommendation { color: #d8bbff; }
.site-app-store .sas-recommendation svg { width: 12px; height: 12px; }
.site-app-store .sas-gallery-loading { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 180px; border: 1px solid var(--sas-line); border-radius: 15px; background: var(--sas-surface); color: var(--sas-muted); font-size: 13px; }
.site-app-store .sas-gallery-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 32px 20px; border: 1px dashed var(--sas-line); border-radius: 15px; background: var(--sas-surface); text-align: center; }
.site-app-store .sas-gallery-empty > svg { width: 26px; height: 26px; margin-bottom: 4px; color: var(--sas-accent); }
.site-app-store .sas-gallery-empty h3 { font-size: 16px; line-height: 1.5; font-weight: 650; margin: 0; }
.site-app-store .sas-gallery-empty p { max-width: 420px; margin: 0 0 7px; font-size: 12px; line-height: 1.8; color: var(--sas-muted); }
.site-app-store .sas-notice { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #e2aaaa; border-radius: 11px; padding: 13px 15px; margin-bottom: 18px; background: #fff3f1; color: #7f3131; }
.site-app-store .sas-notice strong { font-size: 13px; line-height: 1.5; }
.site-app-store .sas-notice p { margin: 4px 0 0; font-size: 12px; line-height: 1.65; }
.dark .site-app-store .sas-notice { color: #f7c7c7; border-color: #805252; background: #3a2629; }
.site-app-store .sas-inline-status { display: flex; gap: 5px; align-items: center; margin-top: 7px; font-size: 10px; color: var(--sas-muted); }
.site-app-store .sas-inline-status svg { width: 12px; height: 12px; }
.site-app-store .sas-spinner { animation: sas-spin 1s linear infinite; }
.site-app-store .sas-included { margin-top: 24px; padding: 0 15px; border: 1px solid var(--sas-line); border-radius: 11px; background: var(--sas-surface); }
.site-app-store .sas-included summary { display: flex; align-items: center; gap: 8px; list-style: none; min-height: 46px; cursor: pointer; font-size: 12px; font-weight: 650; color: var(--sas-muted); }
.site-app-store .sas-included summary::-webkit-details-marker { display: none; }
.site-app-store .sas-included summary svg { width: 15px; height: 15px; color: var(--sas-accent); }
.site-app-store .sas-included summary svg:last-child { margin-left: auto; color: var(--sas-muted); transition: transform .15s; }
.site-app-store .sas-included[open] summary svg:last-child { transform: rotate(180deg); }
.site-app-store .sas-included-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 0 15px; }
.site-app-store .sas-included-grid button { display: flex; align-items: center; gap: 9px; min-width: 0; border: 1px solid var(--sas-line); background: var(--sas-inset); border-radius: 9px; text-align: left; color: var(--sas-ink); padding: 12px; }
.site-app-store .sas-included-grid button:hover { border-color: var(--sas-accent); }
.site-app-store .sas-included-grid button > svg { width: 17px; height: 17px; color: var(--sas-accent); flex-shrink: 0; }
.site-app-store .sas-included-grid button > svg:last-child { margin-left: auto; width: 12px; height: 12px; }
.site-app-store .sas-included-grid strong { display: block; font-size: 12px; font-weight: 650; }
.site-app-store .sas-included-grid span > span { display: block; margin-top: 3px; font-size: 10px; line-height: 1.5; color: var(--sas-muted); }
.site-app-store .sas-remove-dialog { position: fixed; inset: 0; margin: auto; width: min(470px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid var(--sas-line); background: var(--sas-surface); color: var(--sas-ink); border-radius: 19px; padding: 0; box-shadow: 0 24px 80px rgb(0 0 0 / 30%); }
.site-app-store .sas-remove-dialog::backdrop { background: rgb(4 13 22 / 70%); backdrop-filter: blur(3px); }
.site-app-store .sas-remove-dialog-content { padding: 26px; }
.site-app-store .sas-dialog-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #edbfb7; border-radius: 12px; background: #fff1ed; color: #aa443b; margin-bottom: 16px; }
.site-app-store .sas-dialog-icon svg { width: 21px; height: 21px; }
.site-app-store .sas-remove-dialog h2 { margin: 0; font-size: 20px; line-height: 1.35; font-weight: 720; letter-spacing: -.025em; }
.site-app-store .sas-remove-dialog p { margin: 13px 0 0; font-size: 13px; line-height: 1.8; color: var(--sas-muted); }
.site-app-store .sas-remove-dialog .sas-auth-removal { padding: 10px 12px; border: 1px solid #ddc795; border-radius: 9px; background: #fff6df; color: #825a19; font-size: 12px; }
.dark .site-app-store .sas-remove-dialog .sas-auth-removal { color: #f0d49a; border-color: #66562e; background: #3d341f; }
.site-app-store .sas-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.site-app-store .sas-button-danger { background: #af3838; color: #fff; border-color: #af3838; }
.site-app-store .sas-button-danger:hover:not(:disabled) { background: #8f2525; border-color: #8f2525; }
.site-app-store .sas-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; }
@keyframes sas-spin { to { transform: rotate(360deg); } }
@container (max-width: 1120px) {
  .site-app-store .sas-gallery, .site-app-store .sas-installed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 670px) {
  .site-app-store .sas-header { align-items: flex-start; gap: 12px; padding-bottom: 18px; }
  .site-app-store .sas-heading { gap: 10px; }
  .site-app-store .sas-heading-icon { width: 39px; height: 39px; border-radius: 12px; }
  .site-app-store .sas-heading-icon svg { width: 21px; height: 21px; }
  .site-app-store h1 { font-size: 22px; }
  .site-app-store .sas-heading .sas-eyebrow { display: none; }
  .site-app-store .sas-intro { font-size: 11px; margin-top: 5px; }
  .site-app-store .sas-header-count { display: none; }
  .site-app-store .sas-installed { padding: 14px; border-radius: 13px; }
  .site-app-store .sas-installed .sas-section-note { display: none; }
  .site-app-store .sas-installed-grid { grid-template-columns: 1fr; }
  .site-app-store .sas-installed-empty { gap: 10px; }
  .site-app-store .sas-installed-empty strong { font-size: 12px; }
  .site-app-store .sas-installed-empty p { font-size: 11px; line-height: 1.6; }
  .site-app-store .sas-discover { margin-top: 22px; }
  .site-app-store .sas-discover-heading { margin-bottom: 12px; }
  .site-app-store .sas-discover-heading .sas-eyebrow { display: none; }
  .site-app-store .sas-discover-heading h2 { margin-top: 0; font-size: 19px; }
  .site-app-store .sas-filters { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
  .site-app-store .sas-search { grid-column: 1 / -1; }
  .site-app-store .sas-gallery { grid-template-columns: 1fr; gap: 15px; }
  .site-app-store .sas-app-card { border-radius: 14px; }
  .site-app-store .sas-card-content { padding: 16px; }
  .site-app-store .sas-card-top h3 { font-size: 17px; }
  .site-app-store .sas-card-description { font-size: 12px; }
  .site-app-store .sas-capabilities li { font-size: 12px; }
  .site-app-store .sas-card-actions .sas-button { min-height: 44px; font-size: 11px; }
  .site-app-store .sas-included-grid { grid-template-columns: 1fr; }
  .site-app-store .sas-release-context { align-items: flex-start; font-size: 11px; }
}
@container (max-width: 330px) {
  .site-app-store .sas-card-footer { flex-wrap: wrap; gap: 12px; }
  .site-app-store .sas-card-actions { width: 100%; }
  .site-app-store .sas-card-actions .sas-button { flex: 1; }
  .site-app-store .sas-card-top { gap: 8px; flex-wrap: wrap; }
  .site-app-store .sas-card-top .sas-stage { margin-left: 51px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-app-store *, .site-app-store *::before, .site-app-store *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .site-app-store .sas-app-card:hover { transform: none; }
}
