/* The new-build dashboard: personal library, composer, then local activity. */
.saved-build-intro h2{font-size:26px;line-height:1.2;letter-spacing:-.5px;margin:13px 0}
.library-search{display:block;margin:18px 0 0}
.library-search>span{display:block;font-size:10px;font-weight:700;color:var(--studio-muted);margin-bottom:7px}
.library-search input{display:block;width:100%;min-width:0;min-height:38px;padding:9px 11px;border:1px solid var(--studio-border);border-radius:6px;background:#fff;color:var(--studio-text);font:12px/1.5 Arial,Helvetica,sans-serif}
.library-search input:focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}
[data-studio-mode=draft] main.build-layout{display:grid;grid-template-columns:248px minmax(0,1fr) 288px;grid-template-areas:'library composer activity';align-items:start;background:var(--studio-canvas);min-height:calc(100vh - 128px)}
[data-studio-mode=draft] .studio-sidebar{grid-area:library;position:sticky;top:0;align-self:start;max-height:100vh;overflow-y:auto;padding:28px 20px;background:#fff;border-right:1px solid var(--studio-border);border-bottom:0;scrollbar-width:thin}
[data-studio-mode=draft] .saved-build-intro .eyebrow{font-size:9px;letter-spacing:1px;color:var(--studio-muted)}
[data-studio-mode=draft] .saved-build-intro h2{font-size:20px;margin:10px 0}
[data-studio-mode=draft] .saved-build-intro p{font-size:11px;line-height:1.6;margin-bottom:0;color:var(--studio-muted)}
[data-studio-mode=draft] .saved-build-intro .button-primary{display:none}
[data-studio-mode=draft] .saved-library{border:0;margin-top:23px;padding-top:0}
[data-studio-mode=draft] .saved-library>summary{font-size:12px;line-height:1.6;color:var(--studio-text)}
[data-studio-mode=draft] .library-search input{background:var(--studio-soft)}
[data-studio-mode=draft] .saved-library>.library-archive-link{font-size:10px;color:var(--studio-accent);margin-top:12px}
[data-studio-mode=draft] .saved-library .section-label{font-size:9px;letter-spacing:.7px;color:var(--studio-muted)}
[data-studio-mode=draft] .build-item{padding:9px 6px;border-radius:6px}
[data-studio-mode=draft] .build-library-row{position:relative;display:block}
[data-studio-mode=draft] .build-item:hover{background:var(--studio-accent-soft);border-color:transparent}
[data-studio-mode=draft] .build-item .mini{background:var(--studio-accent-soft);color:var(--studio-accent)}
[data-studio-mode=draft] .build-item strong{font-size:11px;font-weight:700;color:var(--studio-text)}
[data-studio-mode=draft] .build-item small{font-size:9px;color:var(--studio-muted)}
[data-studio-mode=draft] .archive-row-action{position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:9px;padding:6px;border-color:var(--studio-border);color:var(--studio-muted);background:#fff}
[data-studio-mode=draft] .workspace{grid-area:composer;padding:34px 30px 42px;display:block;min-width:0}
.draft-composer{max-width:920px;margin:0 auto}
.draft-greeting{display:block;height:auto;padding:0;border:0;background:transparent}
.draft-heading-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}
.draft-heading-meta .eyebrow{font-size:10px;letter-spacing:1.2px;color:var(--studio-muted)}
.draft-badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:var(--studio-accent);background:var(--studio-accent-soft);border:1px solid var(--studio-accent-border);border-radius:20px;padding:5px 10px}
.draft-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--studio-accent)}
.draft-greeting h1{font-size:clamp(28px,2.5vw,38px);font-weight:800;letter-spacing:-1px;line-height:1.25;color:var(--studio-text);margin:0 0 12px}
.draft-greeting>p{font-size:13px;line-height:1.7;color:var(--studio-muted);margin:0 0 26px}
[data-studio-mode=draft] .build-brief{margin:0;padding:0;border:1px solid var(--studio-border);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 3px 12px #00000004;transition:border-color .15s,box-shadow .15s}
[data-studio-mode=draft] .build-brief:focus-within{border-color:var(--studio-accent);box-shadow:0 0 0 3px #11111118}
[data-studio-mode=draft] .build-brief>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.composer-prompt{padding:22px 22px 0}
.composer-prompt>label{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0 0 9px;font-size:12px;color:var(--studio-text)}
.composer-prompt .optional-label{font-size:10px;font-weight:400;line-height:1.5;margin:0;color:var(--studio-muted)}
.composer-prompt .prompt-help{display:none}
[data-studio-mode=draft] .build-brief textarea{display:block;width:100%;min-height:165px;resize:vertical;border:0;border-radius:0;background:#fff;padding:4px 0 16px;font:15px/1.8 Arial,Helvetica,sans-serif;outline:none;color:var(--studio-text);box-shadow:none}
[data-studio-mode=draft] .build-brief textarea::placeholder{color:var(--studio-placeholder)}
.composer-options{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(150px,1fr);gap:16px;padding:18px 22px;border-top:1px solid var(--studio-divider);background:var(--studio-soft)}
[data-studio-mode=draft] .image-upload{margin:0;padding:0;border:0;border-radius:0;background:transparent;min-width:0}
[data-studio-mode=draft] .image-upload>label{font-size:11px;color:var(--studio-text);margin:0 0 10px}
[data-studio-mode=draft] .image-upload label span{font-size:10px;color:var(--studio-muted);font-weight:400}
[data-studio-mode=draft] .image-upload input{width:100%;font-size:10px;color:var(--studio-muted);line-height:1.5}
[data-studio-mode=draft] .image-upload input::file-selector-button{border:1px solid var(--studio-border);border-radius:6px;background:var(--studio-accent-soft);color:var(--studio-accent);font:600 10px/1.5 Arial,Helvetica,sans-serif;padding:8px 10px;margin-right:8px;cursor:pointer}
[data-studio-mode=draft] .image-upload small{font-size:9px;line-height:1.5;color:var(--studio-muted);margin-top:8px}
[data-studio-mode=draft] #image-preview{margin-top:12px}
[data-studio-mode=draft] .brick-count-field{display:block;min-width:0;margin:0;padding:0 0 0 16px;border:0;border-left:1px solid var(--studio-divider)}
[data-studio-mode=draft] .brick-count-field label{font-size:11px;line-height:1.5;color:var(--studio-text);margin:0 0 8px}
[data-studio-mode=draft] .brick-count-field small{font-size:9px;line-height:1.6;color:var(--studio-muted);margin:0 0 9px;max-width:220px}
[data-studio-mode=draft] .brick-count-field input{width:100%;max-width:130px;padding:8px 10px;border:1px solid var(--studio-border);border-radius:6px;background:#fff;font:12px/1.5 Arial,Helvetica,sans-serif;color:var(--studio-text);min-height:34px}
.composer-submit{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 22px;border-top:1px solid var(--studio-divider)}
[data-studio-mode=draft] .composer-submit .form-note{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:150px;margin:0;font-size:9px;line-height:1.5;color:var(--studio-muted)}
[data-studio-mode=draft] .composer-submit #characters{color:var(--studio-muted);font-variant-numeric:tabular-nums}
[data-studio-mode=draft] #generate{display:inline-flex;width:auto;flex-shrink:0;gap:24px;min-height:43px;margin:0;padding:11px 18px;font:700 12px/1.5 Arial,Helvetica,sans-serif;border-radius:7px}
[data-studio-mode=draft] #generate span{font-size:16px;line-height:1}
[data-studio-mode=draft] #generate:hover{background:#fff;border-color:#111;color:#111}
[data-studio-mode=draft] #cancel{margin:0;min-height:40px;font-size:11px}
[data-studio-mode=draft] .resize-context{margin:0 22px 18px}
[data-studio-mode=draft] .suggestions{gap:8px;margin-top:22px}
[data-studio-mode=draft] .suggestions>span{font-size:9px;letter-spacing:.8px;color:var(--studio-muted);margin-bottom:2px}
[data-studio-mode=draft] .suggestions button{border:1px solid var(--studio-border);border-radius:20px;padding:9px 13px;background:#fff;font-size:11px;color:var(--studio-accent);min-height:36px}
[data-studio-mode=draft] .suggestions button:hover{background:var(--studio-accent-soft);border-color:var(--studio-accent-border);color:var(--studio-accent-hover)}
.draft-privacy{display:flex;align-items:flex-start;gap:8px;margin-top:23px;padding-top:18px;border-top:1px solid var(--studio-divider);color:var(--studio-muted)}
.draft-privacy svg{width:14px;height:14px;flex-shrink:0;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.4}
.draft-privacy p{margin:0;font-size:10px;line-height:1.7;max-width:480px}
.draft-composer>.job{margin:0 0 20px;padding:18px 20px;border:1px solid #d4b94a;border-left:4px solid #ffd400;background:#fffbed;border-radius:8px}
.job .job-capacity{margin:12px 0 0;padding-top:12px;border-top:1px solid #d4cfae;font-size:12px;line-height:1.6;font-weight:600;color:#4a4533}
.job .job-title{gap:18px;flex-wrap:wrap}
.job #elapsed{font-variant-numeric:tabular-nums;white-space:nowrap}
[data-studio-mode=draft] #new-build-help{font-size:10px;line-height:1.7;margin-top:12px;padding-top:0;border:0;color:var(--studio-muted)}
[data-studio-mode=draft] .workspace>.job{max-width:920px;margin:24px auto 0}
[data-studio-mode=draft] #draft-activity{grid-area:activity;padding:34px 20px 24px 0;background:transparent;border:0;min-width:0}
.draft-activity-card{border:1px solid var(--studio-border);border-radius:12px;padding:19px 18px;background:#fff;box-shadow:0 3px 12px #00000003}
.activity-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.activity-heading h2{font-size:14px;line-height:1.5;font-weight:700;letter-spacing:-.2px;color:var(--studio-text);margin:0}
.activity-scope{font-size:9px;line-height:1.5;color:var(--studio-muted);background:var(--studio-soft);border:1px solid var(--studio-divider);padding:3px 7px;border-radius:20px}
.activity-intro{font-size:10px;line-height:1.7;color:var(--studio-muted);margin:7px 0 21px}
.draft-activity-list{list-style:none;padding:0;margin:0 0 0 4px}
.draft-activity-item{position:relative;border-left:1px solid var(--studio-divider);padding:0 0 21px 17px}
.draft-activity-item:last-child{padding-bottom:4px;border-left-color:transparent}
.draft-activity-item:before{content:'';position:absolute;width:7px;height:7px;border:3px solid #fff;border-radius:50%;background:#111111;box-sizing:content-box;top:1px;left:-7px}
.draft-activity-item:nth-child(2n):before{background:#999999}
.draft-activity-item time{display:block;font-size:9px;color:var(--studio-muted);line-height:1.5;margin-bottom:6px}
.activity-action{font-size:10px;line-height:1.5;color:var(--studio-muted);margin:0 0 3px}
.draft-activity-item>a{display:block;font-size:12px;line-height:1.6;font-weight:700;color:var(--studio-accent);text-decoration:underline;text-decoration-color:#b8b8b8;text-underline-offset:3px;overflow-wrap:anywhere}
.draft-activity-item>a:hover{color:var(--studio-accent-hover);text-decoration:underline;text-underline-offset:3px}
.draft-activity-item>small{display:block;font-size:9px;line-height:1.5;color:var(--studio-muted);margin-top:5px}
.activity-empty{font-size:11px;line-height:1.8;color:var(--studio-muted);padding:6px 0 18px}
.activity-library-link{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--studio-accent);text-decoration:none;font-size:10px;line-height:1.6;padding-top:18px;margin-top:16px;border-top:1px solid var(--studio-divider)}
.activity-library-link:hover{color:var(--studio-accent-hover);text-decoration:underline}
.activity-local-note{font-size:9px;line-height:1.7;color:var(--studio-muted);margin:14px 0 0}
.draft-snapshot{padding:22px 7px 0}
.draft-snapshot .eyebrow{font-size:8px;letter-spacing:1px;color:var(--studio-muted)}
.draft-snapshot>strong{display:block;font-size:34px;line-height:1.2;letter-spacing:-1px;color:var(--studio-text);margin-top:12px}
.draft-snapshot>p{font-size:10px;line-height:1.7;color:var(--studio-muted);margin:5px 0 15px}
.draft-snapshot>a{font-size:10px;color:var(--studio-accent);text-decoration:none}
.draft-snapshot>a:hover{text-decoration:underline}
@media(hover:hover){[data-studio-mode=draft] .archive-row-action{opacity:0}[data-studio-mode=draft] .build-library-row:is(:hover,:focus-within) .archive-row-action{opacity:1}[data-studio-mode=draft] .build-library-row:is(:hover,:focus-within) .build-item{padding-right:51px}}
@media(max-width:1180px){
  [data-studio-mode=draft] main.build-layout{grid-template-columns:224px minmax(0,1fr);grid-template-areas:'library composer' 'library activity'}
  [data-studio-mode=draft] .workspace{padding:30px 26px 24px}
  [data-studio-mode=draft] #draft-activity{padding:0 26px 30px}
  .draft-activity-card{max-width:920px;margin:0 auto}
  .draft-snapshot{display:none}
}
@media(max-width:760px){
  [data-studio-mode=draft] main.build-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'composer' 'library' 'activity'}
  [data-studio-mode=draft] .workspace{padding:26px 16px 24px}
  .draft-greeting h1{font-size:28px;letter-spacing:-.8px}
  .draft-greeting>p{font-size:12px;margin-bottom:22px}
  .draft-heading-meta{margin-bottom:13px}
  .composer-prompt{padding:18px 16px 0}
  [data-studio-mode=draft] .build-brief textarea{font-size:14px;min-height:145px}
  .composer-options{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px}
  [data-studio-mode=draft] .brick-count-field{display:flex;align-items:center;gap:16px;padding:15px 0 0;border-left:0;border-top:1px solid var(--studio-divider)}
  [data-studio-mode=draft] .brick-count-field>div{flex:1}
  [data-studio-mode=draft] .brick-count-field small{margin:0;font-size:9px}
  [data-studio-mode=draft] .brick-count-field input{width:92px;flex-shrink:0}
  .composer-submit{padding:15px 16px;gap:12px}
  [data-studio-mode=draft] .composer-submit .form-note{min-width:125px;font-size:8px}
  [data-studio-mode=draft] #generate{padding:10px 14px;font-size:11px}
  [data-studio-mode=draft] .resize-context{margin:0 16px 16px}
  [data-studio-mode=draft] .studio-sidebar{position:static;max-height:none;padding:22px 20px;background:#fff;border:0;border-top:1px solid var(--studio-divider);border-bottom:1px solid var(--studio-divider)}
  [data-studio-mode=draft] .saved-build-intro .eyebrow{display:none}
  [data-studio-mode=draft] .saved-build-intro h2{font-size:18px;margin:0 0 9px}
  [data-studio-mode=draft] .saved-build-intro p{display:none}
  [data-studio-mode=draft] .saved-library{margin-top:0}
  [data-studio-mode=draft] #draft-activity{padding:24px 16px}
  .activity-heading h2{font-size:15px}
  .draft-activity-item>a{font-size:13px}
}
@media(max-width:360px){
  [data-studio-mode=draft] .composer-submit .form-note{flex-basis:100%;flex-direction:row;justify-content:space-between}
  [data-studio-mode=draft] .composer-submit #generate{width:100%}
}

/* Sharper emphasis without changing the three-column layout. */
.draft-badge{background:#fff1ac;border-color:#eed573;font-weight:700}
.composer-prompt>label,[data-studio-mode=draft] .image-upload>label,[data-studio-mode=draft] .brick-count-field label{font-weight:700}
[data-studio-mode=draft] .build-brief{border-color:#aaa;box-shadow:none}
[data-studio-mode=draft] .image-upload input::file-selector-button{font-weight:700}
[data-studio-mode=draft] .suggestions button{font-weight:600}
[data-studio-mode=draft] .suggestions button:hover{background:#fff5c4;border-color:#d6bb53;color:#111}
