#data-studio{scroll-margin-top:110px}
.data-studio{--ds-ink:#173447;--ds-navy:#123047;--ds-teal:#146c78;--ds-teal-deep:#0c4d5b;--ds-gold:#d49a3a;--ds-paper:#fbfaf6;--ds-line:#d5dfdc;--ds-muted:#5b707b;max-width:1380px;margin:clamp(34px,6vw,76px) auto;padding:clamp(20px,4vw,48px);color:var(--ds-ink);background:radial-gradient(ellipse at 4% 100%,rgba(212,154,58,.09),transparent 34%),linear-gradient(135deg,#f3f7f3 0%,var(--ds-paper) 55%,#f5f0e3 100%);border:1px solid #d4dfd9;border-radius:22px;box-shadow:0 18px 48px rgba(18,48,71,.07);font-family:"Plus Jakarta Sans",system-ui,sans-serif;scroll-margin-top:95px}
.data-studio *,.data-studio *::before,.data-studio *::after{box-sizing:border-box}
.data-studio :focus-visible{outline:3px solid #bc8123;outline-offset:3px}
.ds-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);align-items:end;gap:30px;padding:8px 0 28px;border-bottom:1px solid var(--ds-line)}
.ds-eyebrow,.ds-kicker{margin:0 0 11px;color:var(--ds-teal);font-size:10px;font-weight:800;letter-spacing:1.35px;text-transform:uppercase}
.ds-hero h2{max-width:800px;margin:0;color:var(--ds-navy);font-size:clamp(32px,5.5vw,62px);font-weight:800;line-height:1.04;letter-spacing:-.065em;text-wrap:balance}
.ds-hero-copy{margin:14px 0 0;max-width:700px;color:var(--ds-muted);font-size:14px;line-height:1.7}
.ds-trust{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.ds-trust span{padding:8px 10px;border:1px solid #d5e0da;border-radius:999px;background:rgba(255,255,255,.62);font-size:10px;font-weight:750;color:#355566}
.ds-trust span::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#4d8a66}
.ds-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:22px 0 12px}
.ds-toolbar h3{margin:0;color:var(--ds-navy);font-size:17px;letter-spacing:-.4px}
.ds-toolbar p{margin:4px 0 0;color:var(--ds-muted);font-size:11px}
.ds-toolbar .ds-plan{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #d6e0da;border-radius:9px;background:#fffefa;font-size:11px;font-weight:800}
.ds-sample-ref{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 15px;font-size:10px}.ds-sample-ref a{color:var(--ds-teal-deep);font-weight:800}.ds-sample-ref span{color:var(--ds-muted)}
.ds-plan i{width:8px;height:8px;border-radius:50%;background:var(--ds-gold)}
.ds-packs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:14px 0 24px}
.ds-pack{display:flex;align-items:center;gap:8px;min-height:45px;padding:7px 9px;border:1px solid var(--ds-line);border-radius:10px;background:rgba(255,255,255,.52);color:#476170;font-size:10px;font-weight:800;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.ds-pack:hover,.ds-pack[aria-pressed=true]{background:#fffefa;border-color:var(--pack-color);color:var(--ds-navy);transform:translateY(-1px)}
.ds-pack-icon,.ds-template-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;color:var(--pack-color);background:color-mix(in srgb,var(--pack-color) 11%,white)}
.ds-pack-icon svg,.ds-template-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ds-trending{display:flex;align-items:center;gap:9px;overflow:auto;margin:0 0 21px;padding:0 0 5px}
.ds-trending-label{flex:0 0 auto;color:var(--ds-teal);font-size:9px;font-weight:850;letter-spacing:.9px;text-transform:uppercase}
.ds-trend{flex:0 0 auto;max-width:310px;padding:8px 11px;border:1px solid #deded2;border-radius:9px;background:#fffefa;color:#49616b;font-size:10px;font-weight:750;text-align:left;cursor:pointer}
.ds-trend:hover{border-color:#95b4ab;background:#f7faf6}
.ds-trend small{display:block;margin-top:3px;color:#7c8b87;font-size:9px;font-weight:600}
.ds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ds-card{position:relative;display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #d7e0da;border-radius:13px;background:rgba(255,255,255,.82);box-shadow:0 5px 16px rgba(18,48,71,.035);transition:transform .18s,border-color .18s,box-shadow .18s}
.ds-card:hover{transform:translateY(-2px);border-color:#a9c3b9;box-shadow:0 12px 25px rgba(18,48,71,.075)}
.ds-thumb{position:relative;display:block;width:100%;height:132px;padding:0;border:0;border-bottom:1px solid #e2e8e2;background:#eef2eb;cursor:pointer;overflow:hidden}
.ds-thumb canvas{display:block;width:100%;height:100%}
.ds-thumb::after{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(0deg,rgba(18,48,71,.09),transparent 52%)}
.ds-thumb-note{position:absolute;z-index:1;right:9px;bottom:8px;padding:4px 7px;border-radius:5px;background:rgba(255,254,250,.9);color:#47616c;font-size:8px;font-weight:800;letter-spacing:.3px}
.ds-card-body{display:flex;flex:1;flex-direction:column;padding:13px}
.ds-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.ds-card h4{margin:0;color:var(--ds-navy);font-size:13px;line-height:1.4;letter-spacing:-.2px}
.ds-source{flex:0 0 auto;max-width:100px;padding:4px 6px;border-radius:5px;background:#edf3ef;color:#58716c;font-size:8px;font-weight:800;text-align:center}
.ds-meta{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 10px}
.ds-meta span{padding:4px 6px;border:1px solid #e0e7e1;border-radius:5px;color:#6b7e82;font-size:8px;font-weight:700}
.ds-card-actions{display:flex;gap:7px;margin-top:auto}
.ds-button{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:8px 11px;border:1px solid #c7d6d1;border-radius:8px;background:#fffefa;color:var(--ds-navy);font-size:10px;font-weight:800;text-align:center;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.ds-button:hover{background:#eff5f2;border-color:#83aaa8;transform:translateY(-1px)}
.ds-button.primary{border-color:var(--ds-teal);background:var(--ds-teal);color:#fff}
.ds-button.primary:hover{background:var(--ds-teal-deep)}
.ds-button.blocked{color:#788686;background:#f0f2ec;border-color:#d8ded6;cursor:not-allowed}
.ds-button:disabled{opacity:.55;cursor:not-allowed;transform:none}
.ds-button svg{width:14px;height:14px;margin-right:6px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ds-card-actions .ds-button{flex:1}
.ds-more-toggle{grid-column:1/-1;justify-self:center;min-width:160px}
.ds-detail{display:none;padding:13px;border-top:1px solid #e0e7e1;background:#f7f9f4}
.ds-detail.open{display:block;animation:ds-reveal .2s ease both}
.ds-preview-table{width:100%;border-collapse:collapse;font-size:9px}
.ds-preview-table th,.ds-preview-table td{padding:6px 7px;border-bottom:1px solid #e2e8e1;text-align:right;font-variant-numeric:tabular-nums}
.ds-preview-table th:first-child,.ds-preview-table td:first-child{text-align:left}
.ds-preview-table th{color:#557078;font-size:8px}
.ds-citation{margin:9px 0 0;color:#64777a;font-size:9px;line-height:1.5;overflow-wrap:anywhere}
.ds-citation strong{color:#345666}
.ds-warnings{margin:7px 0 0;color:#815d20;font-size:9px;line-height:1.5}
.ds-load-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.ds-field label{display:block;margin:0 0 4px;color:#536d76;font-size:9px;font-weight:800}
.ds-field input,.ds-field select,.ds-field textarea{width:100%;min-height:34px;padding:7px 8px;border:1px solid #cad8d4;border-radius:7px;background:#fffefa;color:var(--ds-ink);font:inherit;font-size:10px}
.ds-field textarea{min-height:58px;resize:vertical}
.ds-inline-check{display:flex;align-items:flex-start;gap:7px;margin:8px 0;color:#64777a;font-size:9px;line-height:1.45}
.ds-inline-check input{margin:1px 0 0;accent-color:var(--ds-teal)}
.ds-controls{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.ds-upload{margin-top:10px;padding:11px;border:1px solid #dfc98f;border-radius:9px;background:#fff7e3;color:#674e22;font-size:10px;line-height:1.55}
.ds-upload input{display:block;width:100%;margin-top:8px;font-size:10px}
.ds-chat,.ds-admin{margin-top:27px;padding:19px;border:1px solid #d5dfdc;border-radius:14px;background:rgba(255,255,255,.63)}
.ds-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.ds-section-head h3{margin:0;color:var(--ds-navy);font-size:15px}
.ds-section-head p{margin:4px 0 0;color:var(--ds-muted);font-size:10px;line-height:1.55}
.ds-access-note{padding:9px 11px;border-left:3px solid var(--ds-gold);background:#fff8e9;color:#685629;font-size:10px;line-height:1.5}
.ds-chat-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}
.ds-chat-grid .ds-field textarea{min-height:72px}
.ds-chat-result{margin-top:12px;padding:12px;border:1px solid #d9e3dc;border-radius:9px;background:#fffefa;font-size:10px;line-height:1.5}
.ds-plans{margin-top:28px}
.ds-plans h3{margin:0 0 12px;color:var(--ds-navy);font-size:17px}
.ds-plan-table-wrap{overflow:auto;border:1px solid #d5dfdc;border-radius:12px;background:rgba(255,255,255,.7)}
.ds-plan-table{width:100%;min-width:620px;border-collapse:collapse;font-size:10px}
.ds-plan-table th,.ds-plan-table td{padding:11px 12px;border-bottom:1px solid #e1e8e1;text-align:left;vertical-align:top}
.ds-plan-table th{background:#edf3ef;color:#365465;font-size:9px}
.ds-plan-table td:first-child{font-weight:800;color:var(--ds-navy)}
.ds-cta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;padding:15px;border-radius:11px;background:var(--ds-navy);color:#fff}
.ds-cta p{margin:0;color:#d0dfdf;font-size:11px;line-height:1.5}
.ds-cta .ds-button{border-color:#eccb81;background:#eccb81;color:#243c46;white-space:nowrap}
.ds-admin{border-color:#aebfb7}
.ds-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.ds-admin label{display:flex;gap:8px;align-items:flex-start;color:#536c75;font-size:10px;line-height:1.45}
.ds-admin input[type=checkbox]{margin:1px 0 0;accent-color:var(--ds-teal)}
.ds-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ds-ideas{display:grid;gap:8px;margin-top:13px}
.ds-idea{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #dde5de;border-radius:9px;background:#fffefa;font-size:10px}
.ds-idea p{margin:0;color:#405d69;line-height:1.5}
.ds-idea-actions{display:flex;flex:0 0 auto;gap:5px}
.ds-status{min-height:18px;margin:9px 0 0;color:var(--ds-teal-deep);font-size:10px}
.ds-error{padding:9px 11px;border:1px solid #e5c2b7;border-radius:8px;background:#fff0eb;color:#81382e;font-size:10px;line-height:1.5}
.ds-empty{grid-column:1/-1;padding:26px 16px;border:1px dashed #bdcec5;border-radius:12px;background:rgba(255,255,255,.5);color:#667a7d;font-size:11px;text-align:center}
.ds-loading{min-height:190px;background:linear-gradient(90deg,#edf1ea 25%,#f7f7f0 38%,#edf1ea 63%);background-size:300% 100%;animation:ds-shimmer 1.3s ease-in-out infinite}
.ds-lock{display:inline-flex;align-items:center;gap:5px}
.ds-lock svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
@keyframes ds-shimmer{to{background-position:-150% 0}}
@keyframes ds-reveal{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.ds-packs{grid-template-columns:repeat(3,minmax(0,1fr))}.ds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-hero{grid-template-columns:1fr}.ds-trust{justify-content:flex-start}}
@media(max-width:560px){.data-studio{margin:28px 9px;padding:20px 13px;border-radius:16px}.ds-hero{gap:20px}.ds-hero h2{font-size:clamp(31px,9vw,43px)}.ds-hero-copy{font-size:12px}.ds-packs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ds-pack{font-size:9px}.ds-grid{grid-template-columns:1fr}.ds-thumb{height:150px}.ds-card-actions{flex-wrap:wrap}.ds-load-options{grid-template-columns:1fr 1fr}.ds-chat,.ds-admin{padding:14px}.ds-chat-grid{grid-template-columns:1fr}.ds-admin-grid{grid-template-columns:1fr}.ds-cta{align-items:flex-start;flex-direction:column}.ds-cta .ds-button{width:100%}.ds-section-head{flex-direction:column}}
@media(max-width:375px){.data-studio{margin-right:7px;margin-left:7px;padding:18px 11px}.ds-trust span{font-size:9px}.ds-meta span{font-size:7px}.ds-load-options{grid-template-columns:1fr}.ds-toolbar{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.data-studio *,.data-studio *::before,.data-studio *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Reduce accumulated section and hero-to-toolbar whitespace while retaining focus-outline clearance. */
.data-studio{margin-top:32px;margin-bottom:32px;padding-top:32px;padding-bottom:32px}
.data-studio .ds-hero{padding-bottom:12px}
.data-studio .ds-toolbar{margin-top:12px}
.data-studio .ds-eyebrow{margin-bottom:8px}
.data-studio .ds-status{min-height:0;margin-top:0;margin-bottom:0}
@media(max-width:700px){
  .data-studio{margin-top:20px;margin-bottom:20px;padding-top:20px;padding-bottom:20px}
}
