/* Owner-approved browser composition. Workspace only; no intake/landing changes. */
#dashboardApp,#dashboardApp[data-active-view=profile]{max-width:1200px;padding-inline:28px}
#dashboardApp .product-header::before{inset-inline:-28px}
body:has(#dashboardApp:not([hidden])){background:#fafbfd}
#dashboardApp .personal-snapshot{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 8px #0b17300b,0 12px 28px #0b173017;padding:24px 28px 0;gap:20px;margin-top:24px;overflow:hidden}
#dashboardApp #snapshotIdentity{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:20px;align-items:center}
#dashboardApp #snapshotIdentity::before{content:attr(data-initials);grid-row:1/4;display:grid;place-items:center;background:#eef4fc;color:var(--teal-hover);width:64px;height:64px;border-radius:50%;font:26px Georgia,serif}
#dashboardApp #snapshotIdentity>*{grid-column:2}
#dashboardApp #snapshotIdentity h1{font:400 34px/1.15 Georgia,serif;margin:5px 0}
#dashboardApp .snapshot-current{font-size:14px}
#dashboardApp .snapshot-current span{display:none}
#dashboardApp .snapshot-actions{grid-row:1;gap:8px}
#dashboardApp .snapshot-actions .primary-button{background:white;color:var(--ink);border:1px solid var(--line)}
#dashboardApp .snapshot-preferences{grid-column:1/-1;background:#fbfcfe;border-top:1px solid var(--line);margin-inline:-28px;padding:16px 28px;gap:20px}
#dashboardApp .snapshot-preferences .goal-cell{padding:0;border:0}
#dashboardApp .snapshot-preferences .goal-cell small{font-size:12px}
#dashboardApp .snapshot-preferences .goal-cell strong{font-size:14px}
#dashboardApp .focus-chapters{gap:10px}
#dashboardApp .focus-chapter{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}
#dashboardApp .focus-chapter:not(.is-selected)>summary{margin:0;padding:14px 22px;min-height:0;gap:20px}
#dashboardApp .focus-chapter.is-selected>summary{margin:0;padding:17px 22px}
#dashboardApp .focus-chapter:is(.is-selected,:not(.is-selected))>summary strong{font:400 24px/1.2 Georgia,serif}
#dashboardApp .focus-chapter>summary .chapter-number{font:400 30px/1 Georgia,serif;padding-right:20px;min-width:0}
#dashboardApp .focus-chapter[open]>summary .chapter-number{font-size:38px}
#dashboardApp .focus-chapter[open]>summary::after{visibility:hidden}
#dashboardApp .chapter-content{padding:24px}
#dashboardApp .background-intro{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:20px}
#dashboardApp .background-intro h2{font:400 25px/1.2 Georgia,serif;margin:0}
#dashboardApp #backgroundSources{white-space:nowrap;flex-shrink:0;font-size:14px}
#dashboardApp .chapter-intro{font-size:14px;line-height:1.5;margin:5px 0 0;color:var(--muted);max-width:65ch}
#dashboardApp .background-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#dashboardApp .background-card{border:1px solid var(--line);border-radius:9px;padding:18px 20px;min-width:0}
#dashboardApp .background-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}
#dashboardApp .background-card-heading h3{font:600 16px/1.3 var(--font-sans,sans-serif);margin:0}
#dashboardApp .background-card-heading button{margin-left:auto;font-size:12px;padding:5px 10px;min-height:32px;white-space:nowrap}
#dashboardApp .background-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:7px;background:#edf7f6;color:var(--teal-hover);font-size:17px}
#dashboardApp .background-card p{font-size:14px;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}
#dashboardApp .background-card small{display:block;color:var(--muted);font-size:12px}
#dashboardApp .background-card .meta{font-size:12px;color:var(--muted);margin-top:12px}
#dashboardApp .background-notice{border-top:1px solid var(--line);padding-top:10px;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
#dashboardApp .background-notice button{font-size:12px}
#dashboardApp .background-strengths{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#dashboardApp .chapter-actions{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-top:22px;padding:14px 16px;border:0;border-radius:8px;background:#eef4fc}
#dashboardApp .chapter-actions .chapter-action-note{font-size:13px;line-height:1.5;color:var(--muted);flex:1;max-width:49%;margin:0}
#dashboardApp .chapter-actions .button-row{margin:0 0 0 auto;flex-shrink:0;gap:8px}
#dashboardApp .chapter-actions button{font-size:14px;padding:9px 15px;min-height:42px}
#dashboardApp .chapter-actions .primary-button,#dashboardApp .profile-side-stack #workspaceViewResume{background:var(--teal-hover);border-color:var(--teal-hover);color:white}
#dashboardApp .chapter-actions [role=status]:empty{display:none}
#dashboardApp .preference-section{padding:18px 20px 20px;background:#f6f8fb;border:0;border-radius:9px;margin-bottom:18px;gap:18px 22px}
#dashboardApp .preference-section:first-child{padding-top:18px}
#dashboardApp .preference-section h3{font:600 18px/1.3 var(--font-sans,sans-serif);padding-left:11px;border-left:3px solid var(--teal-hover)}
#dashboardApp .preference-field{margin:0;display:block;min-width:0;font-size:13px}
#dashboardApp .preference-field>span:first-child{display:block;min-height:20px}
#dashboardApp .preference-field :is(input,select,textarea){box-sizing:border-box;display:block;width:100%;height:56px;min-height:56px;max-height:56px;resize:none;margin-top:6px;border:1px solid #cdd8e6;border-radius:7px;padding:15px 12px;font:400 14px/24px var(--font-sans,sans-serif);background-color:white;color:var(--ink)}
#dashboardApp .preference-section:last-child textarea{height:96px;min-height:96px;max-height:96px}
#dashboardApp .preference-field select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23607087' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:16px}
#dashboardApp .preference-field small{display:block;font-size:12px;line-height:1.45;font-weight:400;color:var(--muted);margin-top:7px}
#dashboardApp #directionSettings{border:0;margin:0;padding:0}
#dashboardApp #backgroundEditor{border:0;border-radius:13px;padding:0;width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 24px 80px #0b173035}
#backgroundEditor::backdrop{background:#0b173075}
#dashboardApp .background-editor-header{padding:22px 26px 18px;border-bottom:1px solid var(--line);display:flex;align-items:start;justify-content:space-between;gap:16px}
#dashboardApp .background-editor-header h2{font:400 25px/1.2 Georgia,serif;margin:4px 0 0}
#dashboardApp .background-editor-header .eyebrow{font-size:11px;margin:0}
#dashboardApp .background-editor-header button{font-size:24px;background:transparent;border:0;padding:0 5px}
#dashboardApp #backgroundEditorContent{padding:20px 26px;max-height:65dvh;overflow:auto}
#dashboardApp .background-editor-footer{border-top:1px solid var(--line);padding:14px 26px;display:flex;justify-content:flex-end;background:#f6f8fb}
#dashboardApp #backgroundEditor :is(.guided-section,#experienceSettings){padding:0;margin:0;border:0;width:100%}
#dashboardApp #backgroundEditor .guided-section>h3,#dashboardApp #backgroundEditor .evidence-heading>h3,#dashboardApp #backgroundEditor [data-profile-group=experience]>summary{display:none}
#dashboardApp #backgroundEditor .guided-section .panel-header{margin:0 0 12px;padding:12px;flex-wrap:wrap}
#dashboardApp #backgroundEditor #experienceRole{font-size:20px;margin:0}
#dashboardApp #backgroundEditor .experience-employer{font-size:14px}
#dashboardApp #backgroundEditor #experienceProvenance{font-size:12px;margin:0}
#dashboardApp #backgroundEditor .knowledge-grid{grid-template-columns:1fr;gap:12px}
#dashboardApp #backgroundEditor .fact{padding:10px 0}
#dashboardApp #backgroundEditor .guided-source-editor{margin:0;padding:0;background:none}
#dashboardApp #backgroundEditor .confirmation-section{outline:none;box-shadow:none}
#dashboardApp #backgroundEditorContent:has(#gapActionPanel) .gap-item{display:none}
#dashboardApp #backgroundEditor :is(.guided-section,#experienceSettings):has(.guided-source-editor)>:not(:has(.guided-source-editor)){display:none}
#dashboardApp #backgroundEditorContent:has(.guided-source-editor)>:not(:has(.guided-source-editor)){display:none}
#dashboardApp #backgroundEditor:has(.guided-source-editor,.memory-editing) .background-editor-footer{display:none}
#dashboardApp #backgroundEditor:has(.memory-editing) .guided-section>:not(:has(.memory-editing)){display:none}
#dashboardApp #backgroundEditor .knowledge-grid:has(.memory-editing)>.fact:not(.memory-editing){display:none}
#dashboardApp .background-draft-notice{margin:12px 26px;padding:12px;background:#fff6e8;font-size:13px}
#dashboardApp #workspaceReviewSlot .profile-insights{padding:0;border:0}
#dashboardApp .ai-composition-start{display:flex;align-items:center;gap:24px;background:#f6f8fb;padding:22px;border-radius:9px;margin-top:20px}
#dashboardApp .ai-composition-start .meta{font-size:14px;margin:8px 0 0;line-height:1.5}
#dashboardApp .ai-composition-start h3{font-size:16px;margin:0}
#dashboardApp .ai-composition-start button{margin-left:auto;flex-shrink:0;background:var(--teal-hover);color:white;border-color:var(--teal-hover)}
#dashboardApp .ai-composition-expectations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}
#dashboardApp .ai-composition-expectations h3{font-size:16px;margin:0}
#dashboardApp .ai-composition-expectations p{font-size:13px;color:var(--muted);margin:5px 0 0}
/* A reserved rail prevents the reporting control from covering page actions. */
html:has(#dashboardApp:not([hidden])){height:100%;overflow:hidden}
body:has(#dashboardApp:not([hidden])){height:calc(100dvh - 58px);overflow:auto}
#dashboardApp .floating-feedback{bottom:8px;min-height:38px;padding:7px 13px}
#dashboardApp::after{content:'';position:fixed;left:0;right:0;bottom:0;height:57px;background:white;border-top:1px solid var(--line);z-index:11;pointer-events:none}
@media(min-width:651px) and (max-width:900px){#dashboardApp .preference-field>span:first-child{min-height:40px}#dashboardApp .background-overview{grid-template-columns:1fr}#dashboardApp .chapter-actions{flex-wrap:wrap}#dashboardApp .chapter-actions .chapter-action-note{max-width:100%}}
@media(max-width:650px){
 #dashboardApp,#dashboardApp[data-active-view=profile]{padding-inline:14px}.background-intro{flex-direction:column}
 #dashboardApp .product-header::before{inset-inline:-14px}
 #dashboardApp .personal-snapshot{padding:18px 18px 0;grid-template-columns:1fr;gap:10px;margin-top:18px}
 #dashboardApp #snapshotIdentity{grid-template-columns:47px minmax(0,1fr);gap:12px}
 #dashboardApp #snapshotIdentity::before{width:47px;height:47px;font-size:21px}
 #dashboardApp #snapshotIdentity h1{font-size:29px}
 #dashboardApp .snapshot-preferences{margin-inline:-18px;padding:14px 18px;grid-template-columns:1fr 1fr;gap:14px}
 #dashboardApp .snapshot-actions{grid-row:2;grid-column:1;justify-content:space-between}
 #dashboardApp .snapshot-preferences .goal-cell strong{font-size:12px}
 #dashboardApp .focus-chapter:is(.is-selected,:not(.is-selected))>summary{margin:0;padding:13px 12px;gap:12px}
 #dashboardApp .focus-chapter:is(.is-selected,:not(.is-selected))>summary strong{font-size:19px}
 #dashboardApp .focus-chapter>summary .chapter-number{font-size:25px;padding-right:12px}
 #dashboardApp .focus-chapter[open]>summary .chapter-number{font-size:32px}
 #dashboardApp .chapter-content{padding:18px 14px}
 #dashboardApp .background-overview{grid-template-columns:1fr;gap:12px}
 #dashboardApp .background-card{padding:16px}
 #dashboardApp .background-card-heading h3{font-size:15px}
 #dashboardApp .chapter-actions{flex-direction:column;align-items:stretch;padding:13px}
 #dashboardApp .chapter-actions .chapter-action-note{max-width:none}
 #dashboardApp .chapter-actions .button-row{width:auto;margin-left:auto}
 #dashboardApp .chapter-actions button{font-size:12px;padding:9px 12px}
 #dashboardApp .preference-section{grid-template-columns:1fr;padding:16px 14px}
 #dashboardApp .ai-composition-start{display:block;padding:16px}
 #dashboardApp .ai-composition-start button{margin-top:16px}
 #dashboardApp .ai-composition-expectations{grid-template-columns:1fr;gap:14px}
 #dashboardApp #backgroundEditorContent{padding:18px}
}
