/* Studio clarity theme — contrast-first, profile identity independent of Operations. */
:root{--studio-accent:#607d9a;--studio-accent-soft:#edf3f8;--studio-ink:#102b50;--studio-muted:#425775;--studio-paper:#fff;--studio-line:#d7e2ed}
body[data-studio-city="chicago"]{--studio-accent:#4485b1;--studio-accent-soft:#e9f4fb}
body[data-studio-city="new-york"]{--studio-accent:#8b6b9f;--studio-accent-soft:#f3edf7}
body[data-studio-city="los-angeles"]{--studio-accent:#bc794e;--studio-accent-soft:#fff2e5}
body[data-studio-city="miami"]{--studio-accent:#328e8c;--studio-accent-soft:#e9f7f5}
body[data-studio-city="san-francisco"]{--studio-accent:#b46d64;--studio-accent-soft:#fff0ee}
body[data-studio-city="las-vegas"]{--studio-accent:#9973ad;--studio-accent-soft:#f6effa}
body[data-studio-city="boston"]{--studio-accent:#977b5b;--studio-accent-soft:#f7f2e9}
body[data-studio-city="washington"]{--studio-accent:#567a9a;--studio-accent-soft:#edf4fa}
body{background:#f1f5fa!important;color:var(--studio-ink)}
.main,.page,.shell main{color:var(--studio-ink)}
.page-heading,.panel,.card,.studio-hub-card{color:var(--studio-ink)}
.page-heading{background:var(--studio-paper)!important;border:1px solid var(--studio-line)!important;border-top:4px solid var(--studio-accent)!important;border-radius:18px!important;padding:22px!important;box-shadow:0 6px 25px rgba(12,37,70,.045)}
.page-heading h1,.page-heading h2,.panel h2,.panel h3{color:var(--studio-ink)!important}
.page-heading p,.page-heading .eyebrow,.panel-heading p,.subtle,.form-field span{color:var(--studio-muted)!important}
.page-heading .eyebrow{font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.page-heading p{line-height:1.65}
.page .panel{background:#fff!important;border:1px solid var(--studio-line)!important;border-radius:16px}
.page .panel p,.page .panel label{color:var(--studio-muted)}
.page input,.page textarea,.page select{color:var(--studio-ink);background:#fff}
.page input::placeholder,.page textarea::placeholder{color:#667890;opacity:1}
.topbar{border-bottom:3px solid var(--studio-accent)!important}
.topbar .topbar-profile{border:1px solid rgba(255,255,255,.48)!important;background:rgba(5,20,46,.9)!important}
.topbar .topbar-profile,.topbar .topbar-profile span,.topbar .topbar-profile select{color:#fff!important}
.topbar .topbar-profile select option{color:#102b50;background:#fff}
#page-ideas .page-heading{display:block!important}
/* Keep the top actions in two equal shrinkable columns, on desktop and phone. */
#page-ideas .page-heading .heading-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:20px;min-width:0;width:100%;align-items:stretch!important}
#page-ideas .heading-actions>button{min-width:0;width:100%;align-self:stretch!important;min-height:46px!important;white-space:normal!important;text-align:left!important;justify-content:flex-start!important;border-radius:12px!important;padding:10px 12px!important;font-weight:750!important;font-size:.9rem!important;color:#102b50!important;background:#eaf3ff!important;border:1px solid #c5dbf4!important}
#page-ideas .heading-actions>button:nth-child(2){background:#e8f7ef!important;border-color:#c4e9d5!important}
#page-ideas .heading-actions>button:nth-child(3){background:#f0ebfc!important;border-color:#dcd0f5!important}
#page-ideas .heading-actions>button:nth-child(4){background:#fff2e4!important;border-color:#f6dcc0!important}
/* Quantity and Generate belong to the same compact row, not a full-width button. */
#page-ideas .heading-actions>.idea-generate-top-action{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;max-width:100%}
#page-ideas .heading-actions .idea-generate-top-action #generateIdeasButton{display:inline-flex;width:auto!important;min-width:0;min-height:42px!important;flex:0 1 auto;align-items:center;justify-content:center!important;text-align:center!important;white-space:normal!important;border-radius:10px!important;padding:9px 14px!important;font-size:.84rem!important;font-weight:750!important;background:#082d60!important;border:1px solid #082d60!important;color:#fff!important}
#page-ideas .heading-actions button:hover{filter:brightness(.97)}
#page-ideas .heading-actions button:focus-visible{outline:3px solid var(--studio-accent);outline-offset:3px}
#page-ideas .page-heading{box-shadow:0 12px 36px rgba(14,39,71,.08)}
#page-ideas .page-heading h1{font-size:clamp(1.7rem,4vw,2.4rem)}
#page-ideas .page-heading .eyebrow{color:var(--studio-accent)!important}
@media(max-width:760px){
 .page-heading{padding:20px!important}
 #page-ideas .page-heading .heading-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #page-ideas .heading-actions>button{width:100%!important;min-height:44px!important;padding:9px 8px!important;font-size:.78rem!important;text-align:center!important;justify-content:center!important;overflow-wrap:anywhere}
 #page-ideas .heading-actions>.idea-generate-top-action{grid-column:1/-1;gap:8px;flex-wrap:nowrap}
 #page-ideas .heading-actions .idea-generate-top-count{gap:5px;font-size:.78rem}
 #page-ideas .heading-actions .idea-generate-top-count input{width:52px!important;min-height:42px;padding:8px 6px}
 #page-ideas .heading-actions .idea-generate-top-action #generateIdeasButton{width:auto!important;min-height:42px!important;padding:9px 10px!important;font-size:.78rem!important}
}

/* Ideas intake: one always-visible AI Idea Generation card alongside the top actions. */
#page-ideas .heading-actions>.idea-generate-top-action{
  grid-column:1/-1;display:block!important;width:100%;max-width:100%;min-width:0;
  margin:4px 0 0;padding:14px 16px;background:var(--surface,#fff);
  border:1px solid var(--line,#dce5ea);border-radius:12px;box-sizing:border-box
}
#page-ideas .idea-generate-top-action h2{margin:0 0 10px;font-size:1rem;line-height:1.3;font-weight:800}
#page-ideas .idea-generate-top-action .idea-generate-form{
  display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:0;min-width:0
}
#page-ideas .idea-generate-top-action .idea-generate-fields{
  display:grid;grid-template-columns:minmax(100px,120px) minmax(180px,1fr);
  gap:10px;flex:1 1 320px;min-width:0;align-items:end
}
#page-ideas .idea-generate-top-action .form-field{display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:5px;margin:0}
#page-ideas .heading-actions .idea-generate-top-count{display:flex;flex-direction:column;align-items:stretch;gap:5px;white-space:normal}
#page-ideas .heading-actions .idea-generate-top-count input{width:100%!important;max-width:100%;min-width:0;min-height:42px;box-sizing:border-box}
#page-ideas .idea-generate-top-action #ideaGenerateQuality{min-height:42px}
#page-ideas .idea-generate-top-action #ideaGenerateSubmit{width:auto!important;min-height:42px;white-space:normal}
#page-ideas .idea-generate-top-action .idea-generate-actions{width:auto;flex:0 0 auto}
#page-ideas .idea-generate-top-action #ideaGenerateMessage{flex-basis:100%;margin:0;min-height:0}
#page-ideas .idea-generate-top-action #ideaGenerateComplete{flex-basis:100%;flex-wrap:wrap}
#page-ideas .idea-next-pull{font-size:.9rem;font-weight:700;color:var(--ink,#17344d);margin:0 0 12px;line-height:1.4}
@media(max-width:760px){
 #page-ideas .heading-actions>.idea-generate-top-action{padding:12px}
 #page-ideas .idea-generate-top-action .idea-generate-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);flex-basis:100%}
 #page-ideas .idea-generate-top-action .idea-generate-actions{width:100%}
 #page-ideas .idea-generate-top-action #ideaGenerateSubmit{width:100%!important}
}
