/* Copyright (c) A|iens. All rights reserved.
 * [HEADER] Cloud Cosmos DB · Version 1.0.0 · Author A'nil Cyborg
 * Purpose: Connected Data Explorer, JSON editors and query previews in the existing Cloud material system.
 * Dependencies: Shared Cloud components, resource workspace and PremiumSelect.
 */
.cosmos-screen{min-width:0;max-width:100%;container-type:inline-size}.cosmos-screen [data-resource-content]{display:grid;gap:16px;min-width:0}.cosmos-screen [data-resource-content]>h2{font-size:18px;margin:0}.cosmos-heading,.cosmos-filter,.cosmos-form-actions,.cosmos-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.cosmos-heading{justify-content:space-between;margin-block:18px}.cosmos-heading>div{min-width:0}.cosmos-heading h2,.cosmos-heading h3{margin:0 0 7px;font-size:20px}.cosmos-heading p{margin:0;max-width:66ch;color:var(--muted);line-height:1.65}.cosmos-link{font-weight:650;color:var(--primary-strong);overflow-wrap:anywhere}.cosmos-notice,.cosmos-help{font-size:11px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.cosmos-notice{margin:14px 0}.cosmos-help code{white-space:pre-wrap;overflow-wrap:anywhere}.cosmos-filter{align-items:flex-end;margin-block:14px}.cosmos-filter .field{min-width:0;flex:1 1 200px}.cosmos-filter .btn{max-width:100%;white-space:normal}.cosmos-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px}.cosmos-steps a{display:grid;gap:8px;min-width:0;padding:20px;background:var(--panel-translucent);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);line-height:1.6;text-decoration:none;overflow-wrap:anywhere}.cosmos-steps span{font-size:12px;color:var(--muted)}.cosmos-steps a:focus-visible,.cosmos-tree-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.cosmos-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.cosmos-form .field{min-width:0}.cosmos-form input,.cosmos-form select,.cosmos-form textarea{min-width:0;max-width:100%}.cosmos-form textarea[name=body],.cosmos-form textarea[name=text],.cosmos-form textarea[name=parameters]{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.65;tab-size:2}.cosmos-form textarea[name=body]{min-height:260px}.cosmos-wide,.cosmos-form>.cosmos-notice,.cosmos-form-actions{grid-column:1/-1}.cosmos-form-actions{justify-content:flex-end;border-top:1px solid var(--border);padding-top:14px}.cosmos-form-actions .btn,.cosmos-actions .btn{white-space:normal;max-width:100%;overflow-wrap:anywhere}.cosmos-error,.cosmos-review-error{color:var(--danger);overflow-wrap:anywhere}.cosmos-muted{display:block;margin-top:5px;font-size:10px;color:var(--muted);white-space:normal;overflow-wrap:anywhere}.cosmos-wrap,.cosmos-code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.cosmos-code{max-width:100%;padding:14px;background:var(--panel-translucent);border:1px solid var(--border);border-radius:12px;font-size:11px;line-height:1.7;tab-size:2}.cosmos-review,.cosmos-query-result{min-width:0;max-width:100%}.cosmos-screen .table-wrap,.cosmos-review .table-wrap{max-width:100%;overflow-x:auto}.cosmos-screen .data-table td:last-child{white-space:normal}.cosmos-review .data-table{min-width:0}.cosmos-review .data-table td{white-space:normal;overflow-wrap:anywhere}.cosmos-review .data-table th:first-child{width:30%}.cosmos-screen .data-table .btn{margin:2px}.cosmos-explorer{display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr);gap:18px;align-items:start;min-width:0}.cosmos-explorer-content{min-width:0;display:grid;gap:14px}.cosmos-tree{min-width:0;max-height:680px;overflow:auto;overscroll-behavior:contain;background:var(--panel-translucent);border:1px solid var(--border);border-radius:16px;padding:14px;box-shadow:var(--shadow)}.cosmos-tree h3{font-size:12px;margin:0 0 14px}.cosmos-tree details{padding-block:6px;border-top:1px solid var(--border)}.cosmos-tree summary{font-size:12px;font-weight:650;overflow-wrap:anywhere;cursor:pointer;line-height:1.6}.cosmos-tree small{display:block;margin-left:12px;font-size:10px;color:var(--muted);font-weight:400;overflow-wrap:anywhere}.cosmos-tree-link{display:block;padding:8px 10px;margin-top:5px;border-radius:10px;line-height:1.55;color:var(--text);font-size:11px;text-decoration:none;overflow-wrap:anywhere}.cosmos-tree-link[aria-current=page]{background:var(--primary-tint);color:var(--primary-strong);font-weight:650}.cosmos-tree-container{margin-left:10px;border-left:2px solid var(--border)}.cosmos-breadcrumb{font-size:11px;line-height:1.8;margin:0;overflow-wrap:anywhere}.cosmos-version{border:1px solid var(--border);border-radius:12px;padding:12px;margin-top:10px;min-width:0}.cosmos-version summary{cursor:pointer;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.cosmos-version .cosmos-code{margin-bottom:0}.cosmos-query-result{border-top:1px solid var(--border);margin-top:18px;padding-top:4px}.cosmos-actions .cosmos-link{font-size:12px;padding:8px 0}
@container(max-width:700px){.cosmos-explorer{grid-template-columns:minmax(0,1fr)}.cosmos-tree{max-height:240px}.cosmos-filter{align-items:stretch}.cosmos-filter .field{flex-basis:100%}.cosmos-heading>.btn{max-width:100%}}
@media(max-width:640px){.cosmos-form{grid-template-columns:minmax(0,1fr)}.cosmos-form-actions .btn{flex:1 1 auto}.cosmos-explorer{grid-template-columns:minmax(0,1fr)}.cosmos-tree{max-height:240px}.cosmos-heading h2{font-size:18px}}
/* [FOOTER] Theme, motion, focus and material tokens inherit the shared Aliens Cloud design. */
