/* Campaign studio: a wide product stage paired with a campaign editor. */
:root { --bg:#faf9f6; --line:#e8e5ed; --ink:#2c2938; --muted:#827b8e; }
.studio-header { min-height:82px; padding:20px 4%; display:flex; align-items:center; gap:38px; border-bottom:1px solid var(--line); background:#fff; }
.studio-header .brand { margin:0; gap:10px; }
.studio-header .brand img { width:104px; }
.studio-header nav { display:flex; gap:12px; margin-right:auto; }
.studio-header nav a { font-size:12px; padding:10px 13px; border-radius:20px; }
.studio-header nav a:first-child { color:var(--accent); background:var(--soft); }
.header-actions { display:flex; align-items:center; gap:12px; }
.header-actions .export { gap:7px; }
.studio-page { max-width:1500px; padding:42px 4% 0; }
.studio-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:34px; gap:24px; }
.studio-heading .hero { margin:0; }
.studio-heading h1 { font-size:44px; letter-spacing:-2px; }
.studio-heading .hero p { font-size:14px; }
.edition-mark { padding-left:28px; border-left:1px solid #dad3e6; min-width:235px; }
.edition-mark>span { font-size:8px; letter-spacing:2px; color:var(--muted); }
.edition-mark>b { display:block; font-family:Georgia,serif; font-size:29px; line-height:1.08; font-weight:400; margin:8px 0; color:var(--accent); }
.edition-mark>small { font-size:9px; color:var(--muted); }
.studio-workbench { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(310px,1fr); grid-template-areas:'product editor' 'metrics metrics' 'revenue funnel' 'audience audience'; gap:26px; align-items:stretch; }
.studio-workbench #results { display:contents; }
.studio-settings { grid-area:editor; background:#efeaf9; border-radius:20px; padding:29px; min-width:0; }
.settings-heading>span { font-size:8px; letter-spacing:1.8px; color:var(--accent); }
.settings-heading h2 { font-size:23px; margin-top:12px; line-height:1.35; }
.settings-heading p { font-size:11px; color:var(--muted); margin-top:12px; }
.studio-settings .controls { padding:0; margin-top:26px; border:0; background:transparent; border-radius:0; display:grid; grid-template-columns:1fr 1fr; gap:17px 13px; }
.studio-settings .control-label { display:none; }
.studio-settings .field { min-width:0; }
.studio-settings input,.studio-settings select { height:46px; border-color:#ded6eb; border-radius:7px; font-size:12px; }
.studio-settings .primary { grid-column:1/-1; min-height:49px; margin-top:5px; }
.studio-settings .form-error { grid-column:1/-1; }
.studio-settings .result-bar { flex-direction:column; gap:8px; margin:18px 0 0; font-size:9px; }
.studio-workbench .panel { border-radius:20px; }
.product-panel { grid-area:product; }
.product-showcase { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); height:100%; min-height:460px; }
.product-scene { min-height:460px; background:radial-gradient(ellipse at 50% 20%,#f8f5ff,#e7ddf5); }
.product-object { scale:1.23; }
.product-object.speaker { scale:1.12; }
.scene-disc { width:220px; height:65px; bottom:69px; }
.scene-orbit { width:430px; height:430px; }
.scene-orbit.second { width:320px; height:320px; }
.scene-caption { bottom:26px; }
.product-info { align-self:center; padding:32px 27px; }
.product-info h2 { font-size:26px; line-height:1.3; letter-spacing:-1px; }
.product-info>p { font-size:12px; }
.price-row strong { font-size:33px; }
.campaign-note { margin-top:28px; }
.studio-workbench .metrics { grid-area:metrics; gap:0; padding:23px 0; margin:1px 0 3px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.studio-workbench .metric { background:transparent; border:0; border-right:1px solid var(--line); border-radius:0; padding:0 28px; }
.studio-workbench .metric:first-child { padding-left:0; }
.studio-workbench .metric:last-child { border:0; }
.studio-workbench .metric-value { font-size:34px; }
.studio-workbench .metric-icon { display:none; }
.revenue-panel { grid-area:revenue; }
.funnel-panel { grid-area:funnel; }
.revenue-panel .panel-head,.funnel-panel .panel-head { padding-top:27px; }
.revenue-panel .chart-padding { padding:12px 25px 28px; }
.revenue-panel .line-chart { min-height:245px; }
.revenue-panel .stat-inline strong { font-size:29px; }
.funnel-panel .funnel { padding-top:14px; }
.funnel-step { margin-bottom:14px; }
.audience-panel { grid-area:audience; display:grid; grid-template-columns:minmax(230px,.9fr) minmax(0,1.4fr); align-items:center; background:#f1edf8; border-color:#e7e0f0; }
.audience-panel .panel-head { padding:30px 32px 12px; }
.audience-panel .audience-cloud { grid-column:2; grid-row:1/3; padding:25px; gap:28px; }
.audience-panel .insight-note { grid-column:1; margin:0 32px 25px; padding:0; background:none; color:var(--muted); }
.studio-page .guide { background:#f3f1f5; border-color:var(--line); }
@media(max-width:1150px) {
  .studio-header { gap:20px; }.studio-header nav { gap:0; }.header-actions>.chip { display:none; }
  .studio-workbench { grid-template-columns:minmax(0,1.55fr) minmax(285px,1fr); gap:20px; }
  .studio-settings { padding:24px; }.product-info { padding:25px 19px; }.product-info h2 { font-size:23px; }.product-object { scale:1; }.price-row strong { font-size:28px; }
}
@media(max-width:850px) {
  .studio-header { flex-wrap:wrap; gap:17px; padding:18px 24px; }.studio-header nav { order:3; width:100%; }.header-actions { margin-left:auto; }
  .studio-page { padding:29px 24px 0; }.studio-heading h1 { font-size:35px; }.edition-mark { min-width:180px; }
  .studio-workbench { grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:'product product' 'editor editor' 'metrics metrics' 'revenue revenue' 'funnel funnel' 'audience audience'; }
  .studio-settings { display:grid; grid-template-columns:1fr 1.6fr; gap:0 25px; }.studio-settings .controls { margin:0; }.studio-settings .result-bar { grid-column:2; }
  .product-showcase,.product-scene { min-height:385px; }.product-info { padding:34px; }.product-info h2 { font-size:28px; }.product-object { scale:1.2; }
  .studio-workbench .metric { padding:0 16px; }.studio-workbench .metric-value { font-size:27px; }.audience-panel .audience-cloud { gap:10px; }.audience-panel { grid-template-columns:1fr 1.3fr; }
}
@media(max-width:600px) {
  .studio-header { padding:16px 18px 10px; gap:13px; }.studio-header .brand img { width:90px; }.studio-header nav a { padding:9px 13px; font-size:11px; }.header-actions .export { padding:9px; }.header-actions .export span { display:none; }
  .studio-page { padding:29px 17px 0; }.studio-heading { margin-bottom:24px; }.studio-heading h1 { font-size:34px; }.studio-heading .hero p { font-size:12px; }.edition-mark { display:none; }
  .studio-workbench { grid-template-columns:minmax(0,1fr); grid-template-areas:'product' 'editor' 'metrics' 'revenue' 'funnel' 'audience'; gap:20px; }
  .product-showcase { grid-template-columns:minmax(0,1fr); }.product-scene { min-height:300px; }.product-object { scale:1.18; }.product-info { padding:27px; }.product-info h2 { font-size:27px; }.scene-disc { bottom:42px; width:190px; }.scene-caption { bottom:15px; }.campaign-note { margin-top:20px; }
  .studio-settings { display:block; padding:24px; }.settings-heading p br { display:none; }.studio-settings .controls { margin-top:23px; }.studio-settings .result-bar { grid-column:auto; }.settings-heading h2 { font-size:22px; }
  .studio-workbench .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 0; padding:22px 0; }.studio-workbench .metric { padding:0 17px; }.studio-workbench .metric:nth-child(odd) { padding-left:0; }.studio-workbench .metric:nth-child(even) { border:0; }.studio-workbench .metric-value { font-size:28px; }
  .audience-panel { display:block; }.audience-panel .panel-head { padding:25px 23px 10px; }.audience-panel .audience-cloud { padding:15px; }.audience-panel .insight-note { margin:0 23px 25px; }.audience { width:86px; height:86px; }.audience.selected { width:109px; height:109px; }
}
