/* Shell and product composition. Routes, forms and focus order stay native. */
#app .studio-shell {
  --studio-blue:#244caa; --studio-ink:#152b48; --studio-muted:#50627a;
  --studio-edge:#d3deeb; --studio-paper:#fff; --studio-wash:#f4f7fc;
}
#app .studio-shell .workspace { background:var(--studio-wash); }
#app .studio-shell .next-rail { background:#f9fbff; border-right:1px solid #cfdced; }
#app .studio-shell .next-brand { padding:27px 20px 23px; }
#app .studio-shell .next-brand-symbol { border:0; padding:0; background:transparent; width:33px; height:33px; border-radius:10px; }
#app .studio-shell .next-nav-group-toggle { font-size:13px!important; font-weight:620!important; }
#app .studio-shell .next-nav-items .next-nav-link { font-size:12.5px!important; }
#app .studio-shell .next-nav-search { background:white; }
#app .studio-shell .studio-bar { display:flex; justify-content:space-between; align-items:center; gap:14px; padding-inline:clamp(12px,2.6vw,42px); min-height:64px; background:white; }
.studio-location,.studio-controls,.studio-project,.studio-account,.studio-home { display:flex; align-items:center; gap:9px; min-width:0; }
.studio-location { flex:1; }
.studio-home { color:#476589; padding:6px; border-radius:8px; }
.studio-home:hover { background:#edf2fa; }
.studio-home svg,.studio-project>.ico { width:18px; height:18px; flex:none; }
.studio-path { font-size:13px; color:#395272; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border-inline-start:1px solid #c0cee1; padding-inline-start:12px; }
#app .studio-shell .studio-project { margin:0; color:#426084; padding:0 8px; border:1px solid var(--studio-edge); border-radius:10px; background:#f6f8fd; }
#app .studio-shell .studio-project #project-filter { border:0; background:transparent; max-width:24vw; width:auto; min-width:0; color:#203955; }
#app .studio-shell .studio-account { background:transparent; border:0; text-align:left; padding:3px; }
#app .studio-shell .studio-account .avatar { background:#e4ecfc; color:#234988; }
#app .studio-shell .studio-account .account-copy strong { color:var(--studio-ink); }
#app .studio-shell #content { max-width:1740px; margin-inline:auto; }
#app .studio-shell #content .page-head {
  border:1px solid var(--studio-edge); border-radius:18px; padding:clamp(18px,2.6vw,38px);
  margin-bottom:18px; background:linear-gradient(112deg,#fff 40%,#eaf1fc); align-items:center;
}
#app .studio-shell[data-view=catalog] #content .page-head {
  min-height:166px; position:relative; isolation:isolate; overflow:hidden;
  align-items:flex-end; background:#172e50; border:0;
}
#app .studio-shell[data-view=catalog] #content .page-head::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(90deg,#162e4d 6%,#173050da 42%,#17305030 100%),url("/assets/baufaden-architektur.webp") center 52%/cover;
}
#app .studio-shell[data-view=catalog] #content .page-head h1 { color:white; }
#app .studio-shell[data-view=catalog] #content .page-head p { color:#e3edff; max-width:50ch; }
#app .studio-shell[data-view=catalog] #content .page-actions button:not(.primary) { background:white; color:#243f64; }
#app .studio-shell #content .shop-page .studio-product-heading { display:grid; grid-template-columns:clamp(62px,6vw,90px) minmax(0,1fr); gap:14px; align-items:center; }
#app .studio-shell #content .shop-page .studio-product-heading .catalog-image {
  width:100%; height:auto; min-height:0; aspect-ratio:1; padding:5px; background:#eff4fb; border:1px solid #dce5f1; border-radius:12px;
}
#app .studio-shell #content .studio-product-identity { min-width:0; }
#app .studio-shell #content .studio-product-identity :is(p,.eyebrow) { margin:3px 0; line-height:1.35; }
#app .studio-shell #content .studio-product-identity .eyebrow { color:#49658b; font-weight:650; letter-spacing:.065em; font-size:10px; }
#app .studio-shell #content .shop-page .shop-image-placeholder { display:grid; justify-items:center; gap:4px; color:#536d90; background:transparent!important; }
#app .studio-shell #content .shop-page .shop-image-placeholder .ico { width:24px; height:24px; }
#app .studio-shell #content .shop-page .shop-image-placeholder small { font-size:10px; }
#app .studio-shell #content .shop-page .product-card .catalog-buy { margin-top:0; height:100%; }
#app .studio-shell #content .shop-page .catalog-buy>button,#app .studio-shell #content .shop-page .catalog-order { margin-top:auto; }
#app .studio-shell #content .shop-page .shop-products { align-items:stretch; }
@media(prefers-reduced-motion:no-preference) {
  @keyframes studio-arrive { from { opacity:.7; transform:translateY(5px); } to { opacity:1; transform:none; } }
  #app .studio-shell #content.view-enter > .page-head,#editor[open] .article-detail,#editor[open] .request-workspace { animation:studio-arrive .26s ease-out; }
  .studio-account,.studio-home { transition:background-color .16s ease; }
}
@media(max-width:760px) {
  #app .studio-shell .studio-bar { min-height:53px; gap:6px; padding-inline:10px; }
  #app .studio-shell .studio-home,.studio-project>.ico,.studio-account .account-copy { display:none; }
  #app .studio-shell .studio-project { padding-inline:3px; }
  #app .studio-shell .studio-project #project-filter { max-width:33vw; }
  #app .studio-shell .studio-path { border:0; padding:0; font-size:12px; }
  #app .studio-shell .studio-controls { gap:4px; }
  #app .studio-shell #content .page-head { padding:18px; gap:13px; align-items:flex-start; }
  #app .studio-shell[data-view=catalog] #content .page-head .page-actions { flex-wrap:wrap; }
  #app .studio-shell[data-view=catalog] #content .page-head { min-height:0; }
}
.public-home { background:#f5f8fc; }
.public-home .site-header { background:white; border-bottom-color:#d9e1ec; }
.public-home .site-header :is(.wordmark,nav a) { color:#1b3150; }
.public-home .site-header .wordmark small { color:#465d7e; }
.public-home .site-header nav .button { color:white; background:#244caa; border-color:#244caa; }
.public-home .hero {
  --text:#162941; --muted:#425873; --quiet:#516584; --accent:#234ca3; --surface:white; --line:#cad7e8;
  background:linear-gradient(115deg,#f8faff,#edf3fb); color:var(--text);
}
.public-home .hero h1 em { color:#244caa; font-weight:660; }
.public-home .hero .button.primary { background:#244caa; color:white; }
.public-home .site-project { margin:0; background:#fff; border-radius:20px; border:1px solid #c8d6e8; overflow:hidden; box-shadow:0 22px 65px #2444701e; }
.public-home .site-project>img { display:block; width:100%; aspect-ratio:1.65; object-fit:cover; }
.public-home .site-project figcaption { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; margin:20px 22px 0; }
.public-home .site-project strong { font-size:clamp(1rem,2vw,1.5rem); letter-spacing:-.03em; }
.public-home .site-project figcaption span { color:#546785; font-size:.75rem; }
.public-home .site-numbers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:16px 20px 20px; }
.public-home .site-numbers div { background:#eef3fb; border-radius:10px; padding:10px; color:#405776; font-size:.76rem; }
.public-home .site-numbers b { display:block; font-size:1.65rem; color:#1d3f7b; line-height:1.2; }
#app .login-shell .login-form-wrap { background:linear-gradient(140deg,#f6f9ff,#e7eef9); }
#app .login-shell .login-form { border:1px solid #cad7e7; border-radius:20px; box-shadow:0 16px 54px #23427317; }
#app .login-shell .login-brand { background:linear-gradient(0deg,#102944f5,#182c4880 58%,#1e365530),url("/assets/baufaden-architektur.webp") center/cover; }
@media (min-width:1100px) {
  #app #content .bau-desk { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr); align-items:stretch; gap:16px; }
  #app #content .bau-desk>.desk-header { min-height:220px; }
  #app #content .bau-desk>.desk-header:only-of-type:last-child { grid-column:1/-1; }
  #app #content .bau-desk:not(:has(.desk-commands))>.desk-header { grid-column:1/-1; }
  #app #content .bau-desk>.desk-commands { margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #app #content .bau-desk>.desk-commands button[data-workspace-create] { flex-direction:column; align-items:flex-start; justify-content:space-between; padding:17px; }
  #app #content .bau-desk>:is(.desk-columns,.next-news) { grid-column:1/-1; padding-top:0; }
}
#app #content .standard-forms-group { margin:26px 0; }
#app #content .standard-forms-group>h2 { font-size:clamp(1.12rem,1.65vw,1.55rem); letter-spacing:-.03em; margin:0 0 13px; }
#app #content .standard-forms-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,266px),1fr)); gap:14px; }
#app #content .standard-form-card:not([hidden]) {
  display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:20px;
  background:white; border:1px solid #d3deeb; border-radius:16px;
}
#app #content .standard-form-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:#244caa; background:#eaf0fd; }
#app #content .standard-form-icon svg { width:19px; height:19px; }
#app #content .standard-form-copy h3 { font-size:1.04rem; margin:0 0 6px; }
#app #content .standard-form-copy p { color:#50627a; line-height:1.5; margin:0; }
#app #content .standard-form-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:auto; }
#app #content .standard-form-actions button { min-height:40px; }
#app #content .fleet-status:not(.unavailable) { color:#24405b; background:#eef3f8; }
