/* v0.8.1 site integration — isolate the shared BandList shell from Stem Studio UI.
   The common header, footer and support card are rendered by ../js/site-shell.js.
   No audio processing, controls or preset styles are changed here. */

/* Maintain Stem Studio's original effective width inside the shared page container. */
.stem-site-container { width:min(1360px,calc(100% - 48px)); }
.stem-site-container > .site-wrap { width:100%; margin:0; }

/* The original studio stylesheet used .topbar/.brand for its retired local header.
   Restore the exact common shell appearance without altering the studio content. */
.stem-site-container .app-shell .topbar {
  padding:0; border:0; margin:0; line-height:normal;
}
.stem-site-container .app-shell .brand { line-height:normal; }
.stem-site-container .app-shell .brand-icon {
  border:0; color:#151515; background:linear-gradient(145deg,#ffe04d,var(--accent));
  box-shadow:0 10px 28px rgba(255,204,0,.24); font-size:20px;
}
.stem-site-container .app-shell .brand .brand-title {
  display:block; margin:0; color:var(--text); font-size:19px;
  font-weight:850; letter-spacing:-.035em;
}
.stem-site-container .app-shell .brand .brand-subtitle {
  display:block; margin:0; color:var(--muted); font-size:11px;
  font-weight:400; letter-spacing:normal;
}

/* Bandlist.css also has a .hero and .tracks for the main audio laboratory.
   Stop those unrelated structural rules from changing the Stem Studio layout. */
.stem-site-container .site-wrap .hero {
  display:block; grid-template-columns:none; gap:normal;
  overflow:visible; margin:0; border:0; border-radius:0;
  background:none; box-shadow:none; backdrop-filter:none;
}
.stem-site-container .site-wrap .hero::after { content:none; }
.stem-site-container .site-wrap .hero-features { justify-content:flex-start; }
.stem-site-container .site-wrap .tracks { grid-template-columns:minmax(0,1fr); }
.stem-site-container .site-wrap .eyebrow::before { content:none; }

/* Keep the shared site footer responsive as on the other tools, including mobile. */
@media (max-width:610px) {
  .stem-site-container { width:calc(100% - 28px); }
  .stem-site-container > .site-wrap { width:100%; }
}

/* Compact, native disclosure guide immediately under the stem upload zone. */
.stem-site-container .stem-advice {
  margin:-4px 0 18px;
  border:1px solid rgba(255,204,0,.22);
  border-radius:17px;
  background:linear-gradient(110deg,rgba(255,204,0,.065),rgba(22,25,36,.95) 55%);
  overflow:hidden;
}
.stem-site-container .stem-advice-toggle {
  display:flex; align-items:center; gap:13px;
  padding:16px 19px; cursor:pointer; list-style:none;
  -webkit-tap-highlight-color:transparent;
}
.stem-site-container .stem-advice-toggle::-webkit-details-marker { display:none; }
.stem-site-container .stem-advice-toggle:hover { background:rgba(255,204,0,.045); }
.stem-site-container .stem-advice-toggle:focus-visible { outline:2px solid var(--accent); outline-offset:-3px; }
.stem-site-container .stem-advice-symbol {
  width:38px; height:38px; flex:none; display:grid; place-items:center;
  border:1px solid rgba(255,204,0,.25); border-radius:11px;
  background:rgba(255,204,0,.09); color:#ffdd64; font-size:22px;
}
.stem-site-container .stem-advice-heading { min-width:0; flex:1; display:grid; gap:2px; }
.stem-site-container .stem-advice-heading strong {
  font-size:13px; font-weight:850; color:#fff1b7; letter-spacing:.01em;
}
.stem-site-container .stem-advice-heading small { color:#b7becd; font-size:11px; line-height:1.45; }
.stem-site-container .stem-advice-chevron {
  font-size:22px; line-height:1; color:#f7d77b; transition:transform .2s ease;
}
.stem-site-container .stem-advice[open] .stem-advice-chevron { transform:rotate(180deg); }
.stem-site-container .stem-advice-content {
  padding:17px 20px 20px; border-top:1px solid rgba(255,255,255,.08);
}
.stem-site-container .stem-advice-points { display:grid; gap:12px; }
.stem-site-container .stem-advice-points p {
  margin:0; color:#c5cbd7; font-size:12px; line-height:1.7;
}
.stem-site-container .stem-advice-points b { color:#ffe08a; font-weight:850; }
.stem-site-container .stem-advice-points strong { color:#f1f3f7; }
.stem-site-container .stem-advice-points a {
  color:#ffe08a; text-decoration:underline; text-decoration-color:rgba(255,224,138,.5);
  text-underline-offset:3px; font-weight:800;
}
.stem-site-container .stem-advice-tools {
  display:grid; gap:10px; margin-top:16px; padding-top:15px;
  border-top:1px solid rgba(255,255,255,.08);
}
.stem-site-container .stem-advice-tools-label {
  font-size:11px; font-weight:800; color:#f0d98f; line-height:1.5;
}
.stem-site-container .stem-advice-links { display:flex; gap:8px; flex-wrap:wrap; }
.stem-site-container .stem-advice-links a {
  display:inline-flex; align-items:center; gap:2px; padding:7px 10px;
  border-radius:10px; border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.035); font-size:11px; font-weight:800;
  color:#e9edf7; line-height:1.35;
}
.stem-site-container .stem-advice-links a span { font-weight:500; color:#aeb8c9; }
.stem-site-container .stem-advice-links a:hover,
.stem-site-container .stem-advice-links a:focus-visible {
  background:rgba(255,204,0,.1); border-color:rgba(255,204,0,.45);
}
.stem-site-container .stem-advice-links a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media (max-width:610px) {
  .stem-site-container .stem-advice-toggle { padding:13px; gap:10px; }
  .stem-site-container .stem-advice-symbol { width:34px; height:34px; font-size:19px; }
  .stem-site-container .stem-advice-heading strong { font-size:12px; }
  .stem-site-container .stem-advice-heading small { font-size:10px; }
  .stem-site-container .stem-advice-content { padding:14px; }
  .stem-site-container .stem-advice-points p { font-size:11px; }
  .stem-site-container .stem-advice-links a { font-size:10px; }
}
