.shop-dialog{width:min(1080px,94vw);max-height:90vh;overflow:auto;padding-bottom:32px}.shop-content{min-width:0}.shop-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;margin:18px 0}.shop-product{background:var(--panel,#272c32);border:1px solid #ffffff12;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px;min-width:0}.shop-product img,.shop-placeholder{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#ffffff06;display:grid;place-items:center;font-size:48px}.shop-product h3,.shop-product p{margin:0;overflow-wrap:anywhere}.shop-form{display:grid;gap:14px}.shop-form label{min-width:0}.shop-form input,.shop-form textarea,.shop-form select{box-sizing:border-box;width:100%}.shop-line{display:flex;align-items:center;gap:12px;margin:16px 0}.query-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.query-actions button,.query-actions a{font-size:12px;padding:8px 10px;min-height:32px}.server-feature-entry{margin:8px 18px 12px;padding:12px;border-radius:12px;border:1px solid #85a8be40;background:#85a8be12;color:inherit;text-align:left;font-weight:650}.shop-content .workspace-card{margin:16px 0;padding:18px}.shop-content .workspace-card p{overflow-wrap:anywhere}.shop-content a{display:inline-flex;align-items:center;text-decoration:none}#study-desk-dialog{max-height:88vh;overflow:auto}#study-desk-dialog .workspace-card{padding:18px;margin:14px 0}#server-control-dialog .danger-button{margin-top:24px}

.shop-product img,.shop-placeholder{height:150px;aspect-ratio:auto;object-fit:cover}.shop-dialog .dialog-description{margin-bottom:12px}.shop-tabs{margin:14px 0}.shop-product button{padding:8px 10px;font-size:12px}
.shop-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.shop-product button{margin:0!important;min-height:32px}.shop-dialog .shop-content h3{margin-top:0}.shop-product img{object-fit:contain}.shop-dialog{padding:24px 30px 30px}.shop-dialog>h2{margin:18px 0}.shop-product{gap:8px}
.shop-product img,.shop-placeholder{height:120px}.shop-dialog>h2{margin:12px 0}.shop-content>.primary{margin:0 0 10px!important;min-height:36px;padding:10px 14px}.shop-grid{margin:12px 0}
/* Predictable product tiles with a responsive column count. */
.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px}.shop-product{height:100%;box-sizing:border-box}.shop-product h3{min-height:22px}.shop-product img,.shop-placeholder{width:100%;height:140px}.shop-content .workspace-card{box-sizing:border-box}
@media(max-width:850px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.shop-grid{grid-template-columns:minmax(0,1fr)}.shop-dialog{padding:24px 18px}.shop-product img,.shop-placeholder{height:160px}}

.shop-license-mark{display:grid;place-items:center;min-height:110px;border-radius:14px;background:linear-gradient(140deg,#29313c,#1c2028);font-size:48px;color:var(--accent)}.shop-product .license-benefits{font-size:12px;line-height:1.7;color:var(--muted)}.official-payment-note{padding:14px 16px;background:var(--surface-card);border:1px solid var(--line);border-radius:12px;line-height:1.7;font-size:12px}

/* A calm storefront with consistent card actions and useful browsing. */
.nexo-identity #server-shop-dialog{width:min(1060px,calc(100vw - 32px));border-radius:24px}
.shop-tabs button.selected{background:var(--accent);color:var(--paper);border-color:var(--accent)}
.shop-catalog-heading{margin:24px 0 16px}.shop-catalog-heading h3{font-size:22px;margin:0 0 8px}.shop-catalog-heading p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}
.shop-browse-tools{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:end;gap:14px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:16px;margin:16px 0}
.shop-browse-tools label{margin:0!important;font-size:12px}.shop-browse-tools input:not([type=checkbox]),.shop-browse-tools select{width:100%;box-sizing:border-box;min-height:40px}.shop-browse-tools .checkbox-label{align-self:center}.shop-result-count{font-size:12px;color:var(--muted)}
.nexo-identity .shop-grid .shop-product{padding:18px;border-radius:18px;background:var(--panel);border:1px solid var(--line);gap:12px;box-shadow:0 4px 16px #0000000c}
.shop-grid .shop-product[hidden]{display:none!important}.shop-product-type{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.shop-grid .shop-product h3{font-size:17px;line-height:1.4;min-height:0;margin:0!important}.shop-grid .shop-product .shop-product-price{font-size:19px;font-weight:700;color:var(--ink)}
.shop-grid .shop-product>img,.shop-grid .shop-placeholder,.shop-grid .shop-license-mark{height:150px;min-height:150px;object-fit:contain;border-radius:12px;background:color-mix(in srgb,var(--accent) 7%,var(--paper));color:var(--accent)}
.shop-grid .shop-product .shop-add{margin-top:auto!important;background:var(--accent);color:var(--paper);font-weight:700;border-radius:10px;min-height:40px}.shop-grid .shop-product small{font-size:11px;color:var(--muted)}.shop-grid .shop-product .license-benefits{line-height:1.6;flex:1}
@media(max-width:650px){.shop-browse-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.shop-browse-tools>label:first-child{grid-column:1/-1}}
.shop-display-settings{margin:10px 0;color:var(--muted);font-size:12px}.shop-display-settings summary{cursor:pointer;padding:8px 0}.shop-display-settings .market-currency-control{margin:6px 0 14px}
.nexo-identity #server-shop-dialog .shop-content>.primary{width:auto!important;display:inline-flex!important;margin:0 0 6px!important}
.shop-catalog-heading{margin:12px 0}.shop-browse-tools{margin:10px 0;padding:12px}.shop-catalog-heading h3{font-size:20px}
.nexo-identity #server-shop-dialog>.modal-close{position:sticky!important;top:10px!important;float:right;z-index:5;background:var(--panel)!important}
