/* Pro uses the same paper, type and quiet green as the rest of HUM. */
.pro-hero { padding: 48px 0 28px; background: #f7f8f5; }
.pro-hero > .wrap, .pro-section > .wrap { max-width: 1080px; }
.pro-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pro-hero h1 { display: flex; align-items: center; gap: 12px; margin: 0; color: #293d32; font-size: 42px; line-height: 1.2; font-weight: 600; letter-spacing: -1.5px; }
.pro-hero-beta { color: #7b847d; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.pro-access { color: #7b847d; font-size: 11px; }
.pro-hero > .wrap > p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #67736a; }
.pro-section { padding: 0 0 72px; border: 0; background: #f7f8f5; }
.pro-section > .wrap { border-top: 1px solid #dce2dc; padding-top: 28px; }
.pro-status-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.pro-status-row:has(.pro-status[hidden]):has([data-retry][hidden]) { display: none; }
.pro-status { margin: 0; font-size: 12px; line-height: 1.65; color: #67736a; }
.pro-status[role=alert] { color: #8b3a35; border-left: 2px solid #ae7266; padding-left: 12px; }
.pro-panel { min-width: 0; overflow-wrap: anywhere; background: #fff; border: 1px solid #dce2dc; border-radius: 4px; padding: 26px; margin: 0 0 22px; }
.pro-panel h2 { margin: 0 0 16px; font-size: 20px; line-height: 1.4; letter-spacing: -.4px; font-weight: 550; }
.pro-panel h3 { font-size: 16px; font-weight: 550; }
.pro-panel p { line-height: 1.7; }
.pro-section-label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: #7b847d; }
.pro-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.pro-grid > label:last-child:nth-child(odd) { grid-column: 1/-1; }
.pro-layout { display: grid; grid-template-columns: minmax(0,2.5fr) minmax(240px,1fr); gap: 24px; align-items: start; }
.pro-main, .pro-aside { min-width: 0; }
.pro-form { display: grid; gap: 20px; }
.pro-form label { display: grid; gap: 7px; color: #47544f; font-size: 12px; font-weight: 500; }
.pro-form input, .pro-form select, .pro-form textarea { box-sizing: border-box; width: 100%; min-width: 0; margin: 0; padding: 11px 12px; border: 1px solid #d6ddd5; border-radius: 3px; background: #fff; color: #232f2e; font: 400 14px/1.5 Inter,sans-serif; }
.pro-form input:focus, .pro-form select:focus, .pro-form textarea:focus { outline: 2px solid #a5b4a4; outline-offset: 2px; border-color: #71866e; }
.pro-form textarea { resize: vertical; line-height: 1.65; }
.pro-form .pro-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; font-weight: 400; line-height: 1.65; }
.pro-check input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; accent-color: #375140; }
.pro-check a { color: inherit; text-underline-offset: 3px; }
.pro-form button { justify-self: start; }
.pro-section .btn { gap: 12px; border-radius: 3px; padding: 10px 16px; font-size: 12px; font-weight: 500; box-shadow: none; }
.pro-section .btn:not(.secondary) { border: 1px solid #375140; background: #375140; box-shadow: none; }
.pro-section .btn:not(.secondary):hover { background: #293f31; }
.pro-section .actions { align-items: center; gap: 18px; margin-top: 4px; }
.pro-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 12px; }
.pro-toolbar h2 { margin: 0; }
.pro-workspace-bar { color: #67736a; }
.pro-workspace-bar > div { display: flex; align-items: center; gap: 18px; }
.pro-workspace-bar a { color: #47544f; text-decoration: none; }
.pro-start { margin-bottom: 28px; }
.pro-entry { display: grid; align-content: start; gap: 9px; min-width: 0; padding: 24px; border: 1px solid #d6ddd5; border-radius: 4px; background: #fff; color: #293d32; text-align: left; font: inherit; cursor: pointer; }
.pro-entry strong { font-size: 19px; line-height: 1.4; letter-spacing: -.3px; font-weight: 550; }
.pro-entry > span { color: #67736a; font-size: 13px; line-height: 1.7; }
.pro-entry:hover { background: #f1f4ee; border-color: #a5b4a4; }
.pro-entry[aria-pressed=true] { background: #edf2e9; border-color: #71866e; }
.pro-entry:focus-visible { outline: 2px solid #71866e; outline-offset: 3px; }
.pro-documents { display: grid; gap: 12px; margin-top: 24px; }
.pro-document { overflow-wrap: anywhere; border: 1px solid #dce2dc; border-radius: 3px; padding: 15px; background: #fafbf8; }
.pro-document summary { font-size: 13px; font-weight: 500; cursor: pointer; }
.pro-document pre { max-height: 320px; overflow: auto; padding: 14px; background: #f1f4ee; font: 12px/1.75 Inter,sans-serif; white-space: pre-wrap; }
.pro-document p { color: #67736a; font-size: 11px; }
.pro-document details { margin-top: 10px; }
.pro-document > a, .pro-document .account-link { font-size: 11px; }
.pro-document .account-link { margin-left: 12px; }
.pro-document-warning { border-left: 2px solid #97a68d; padding: 8px 10px; }
.pro-analysis-form { border-top: 1px solid #dce2dc; padding-top: 24px; margin-top: 24px; }
.pro-field-optional { color: #7b847d; font-size: 10px; font-weight: 400; }
.pro-finding { padding: 23px 0; border-bottom: 1px solid #e4e8e1; }
.pro-finding p { color: #33443a; font-size: 14px; line-height: 1.75; }
.pro-finding .pro-kind { color: #67736a; font-size: 11px; font-weight: 500; }
.pro-finding blockquote { margin: 12px 0; border-left: 2px solid #a5b4a4; padding: 8px 14px; font-size: 12px; line-height: 1.7; }
.pro-finding details summary { margin-top: 10px; color: #67736a; font-size: 11px; cursor: pointer; }
.pro-evidence { padding: 20px 0; }
.pro-evidence summary { font-size: 12px; font-weight: 500; cursor: pointer; }
.pro-evidence p, .pro-evidence li { overflow-wrap: anywhere; font-size: 12px; line-height: 1.7; }
.pro-beta { color: #7b847d; font-size: 10px; }
.pro-case { display: block; width: 100%; border: 0; border-bottom: 1px solid #e4e8e1; padding: 13px 0; background: transparent; color: #375140; text-align: left; white-space: pre-line; font: 12px/1.65 Inter,sans-serif; cursor: pointer; }
.pro-case:hover { color: #1e3527; }
.pro-danger { color: #8b3a35; }
.pro-feedback { border-top: 1px solid #dce2dc; padding-top: 20px; margin-top: 24px; }
.pro-feedback > summary, .pro-panel > summary, .pro-context > summary { font-size: 12px; font-weight: 500; cursor: pointer; }
.pro-feedback > summary span, .pro-context > summary span { margin-left: 7px; color: #7b847d; font-size: 10px; font-weight: 400; }
.pro-feedback[open] > .pro-form { padding-top: 18px; }
.pro-panel[open] > .pro-form { margin-top: 18px; }
.pro-panel form details label { margin-top: 12px; }
.pro-aside .pro-panel { padding: 22px; }
.pro-aside h2 { font-size: 16px; }
.pro-aside .small { font-size: 11px; line-height: 1.7; }
.pro-admin-row { overflow-wrap: anywhere; margin: 16px 0; padding: 20px; border: 1px solid #dce2dc; border-radius: 3px; background: white; }
.pro-admin-row p { font-size: 13px; line-height: 1.6; }
.pro-admin-row pre { max-height: 260px; overflow: auto; font-size: 12px; white-space: pre-wrap; }
.pro-activation { max-width: 640px; border: 0; padding: 6px 0 20px; background: transparent; }
.pro-activation-head h2 { margin-bottom: 0; font-size: 21px; font-weight: 500; letter-spacing: -.4px; }
.pro-context { border-top: 1px solid #dce2dc; padding-top: 18px; }
.pro-context[open] > .pro-grid { padding-top: 18px; }
.pro-context[open] > p { font-size: 11px; }
.pro-data-note { border-left: 2px solid #c7d1c1; padding: 2px 0 2px 16px; font-size: 12px; }
.pro-data-note > strong { font-size: 12px; font-weight: 500; }
.pro-data-note p { margin: 6px 0 0; color: #67736a; font-size: 11px; }
.pro-data-note details { margin-top: 10px; }
.pro-data-note summary { font-size: 11px; cursor: pointer; }
.pro-data-note details a { display: inline-block; margin-top: 9px; font-size: 11px; }
.pro-welcome, .pro-unavailable { max-width: 640px; border: 0; padding: 6px 0 20px; background: transparent; }
.pro-welcome p, .pro-unavailable p { color: #67736a; font-size: 13px; }
.pro-input-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pro-input-heading .pro-section-label { margin: 0; }
.pro-input-heading label { max-width: 270px; }
.pro-input-heading select { padding: 8px 10px; font-size: 12px; }
.pro-input-tabs { display: flex; gap: 5px; border-bottom: 1px solid #dce2dc; padding-bottom: 7px; }
.pro-input-tabs button { border: 0; border-radius: 3px; padding: 9px 12px; background: transparent; color: #67736a; font: 500 11px Inter,sans-serif; white-space: nowrap; cursor: pointer; }
.pro-input-tabs button[aria-selected=true] { background: #edf2e9; color: #2d4836; }
.pro-input-tabs button:focus-visible { outline: 2px solid #71866e; outline-offset: 2px; }
.pro-form [role=tabpanel] label + label { margin-top: 15px; }
.pro-form [role=tabpanel] p { margin: 10px 0 0; font-size: 11px; }
.pro-form .pro-upload { gap: 12px; border: 1px dashed #bdc8b9; border-radius: 3px; padding: 20px; background: #fafbf8; }
.pro-upload input { border: 0; padding: 0; background: transparent; font-size: 12px; }
.pro-upload span { color: #67736a; font-size: 10px; font-weight: 400; }
.pro-empty { color: #7b847d; font-size: 12px; line-height: 1.7; }
.pro-package-actions { border-top: 1px solid #dce2dc; padding-top: 18px; margin-top: 24px; margin-bottom: 0; }
.pro-section button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pro-section [aria-busy=true] .pro-status::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 9px; border-radius: 50%; background: #71866e; }
[hidden] { display: none !important; }
.pro-status:empty { display: none; }
@media (max-width: 900px) {
  .pro-layout { grid-template-columns: minmax(0,1fr); }
  .pro-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .pro-aside .pro-panel:first-child { grid-column: 1/-1; }
  .pro-aside .pro-panel { margin: 0; }
}
@media (max-width: 620px) {
  .pro-hero { padding: 30px 0 24px; }
  .pro-hero h1 { font-size: 34px; letter-spacing: -1px; gap: 10px; }
  .pro-hero > .wrap > p { max-width: 280px; font-size: 14px; }
  .pro-access { font-size: 10px; }
  .pro-section > .wrap { padding-top: 24px; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-grid > label:last-child:nth-child(odd) { grid-column: auto; }
  .pro-start { gap: 12px; }
  .pro-entry, .pro-panel { padding: 20px; }
  .pro-entry strong { font-size: 18px; }
  .pro-activation, .pro-welcome, .pro-unavailable { padding: 0 0 16px; }
  .pro-aside { display: block; }
  .pro-aside .pro-panel { margin-bottom: 14px; }
  .pro-input-tabs { gap: 2px; justify-content: space-between; }
  .pro-input-tabs button { padding: 9px 7px; font-size: 10px; }
  .pro-input-heading { align-items: flex-end; }
  .pro-input-heading label { max-width: 200px; }
  .pro-workspace-bar > div { gap: 14px; }
  .pro-status-row { align-items: flex-start; }
  .pro-section .actions { gap: 14px; }
  .pro-document { padding: 12px; }
}
/* Pro workspace: a full-page surface with one compact masthead. */
.pro-app-page { background: #fff; }
.pro-masthead { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 0 28px; border-bottom: 1px solid #dce2dc; background: #f7f8f5; }
.pro-app-brand { display: flex; align-items: center; gap: 22px; min-width: 0; }
.pro-app-brand .brand { margin: 0; }
.pro-app-brand .brand strong { font-size: 19px; }
.pro-app-brand h1 { display: flex; align-items: baseline; gap: 9px; border-left: 1px solid #d6ddd5; padding-left: 22px; font-size: 18px; font-weight: 550; letter-spacing: -.5px; white-space: nowrap; }
.pro-app-brand h1 span { color: #67736a; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.pro-masthead nav { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.pro-masthead nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.pro-app-page #main { min-height: calc(100dvh - 64px); }
.pro-app-page .pro-section { padding: 0; background: #fff; }
.pro-app-page .pro-section > .wrap { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }
.pro-app-page .pro-status-row { margin: 0; padding: 12px 28px; background: #f2f4ef; border-bottom: 1px solid #dce2dc; }
.pro-app-page .pro-welcome, .pro-app-page .pro-unavailable { margin: 40px 28px; padding: 0; }
.pro-app { display: grid; grid-template-columns: 240px minmax(0,1fr); min-height: calc(100dvh - 64px); background: #fff; }
.pro-app .pro-aside { position: sticky; top: 64px; align-self: start; display: flex; flex-direction: column; gap: 24px; height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; padding: 24px 20px; border-right: 1px solid #e1e6dd; background: #f7f8f5; }
.pro-app .pro-aside .pro-panel { border: 0; padding: 0; margin: 0; background: transparent; }
.pro-sidebar-heading { display: flex; justify-content: space-between; gap: 12px; color: #47544f; font-size: 12px; font-weight: 550; }
.pro-sidebar-heading > span:last-child { color: #67736a; font-size: 11px; font-weight: 400; }
.pro-sidebar-recent h2 { margin: 0 0 8px; font-size: 12px; font-weight: 500; color: #67736a; }
.pro-sidebar-recent .pro-case { border-bottom: 0; border-radius: 4px; padding: 10px 8px; margin-inline: -8px; width: calc(100% + 16px); font-size: 12px; }
.pro-sidebar-recent .pro-case:hover { background: #edf1e9; }
.pro-case[aria-current=true] { background: #e9eee5; color: #243e32; font-weight: 550; }
.pro-sidebar-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: auto; padding-top: 20px; font-size: 11px; }
.pro-sidebar-footer a, .pro-sidebar-footer button { display: inline-flex; align-items: center; min-height: 32px; color: #67736a; font-size: 11px; text-decoration: none; }
.pro-sidebar-footer .usage-settings-link { position: static; margin: 0; padding: 0; }
.pro-content { min-width: 0; padding: 20px 36px 48px; }
.pro-content .pro-main > .pro-panel { border: 0; padding: 0; margin: 0; }
.pro-main { display: grid; grid-template-columns: minmax(0,1fr); gap: 36px; align-items: start; }
.pro-main > section { scroll-margin-top: 88px; }
.pro-content .pro-start { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 20px 0 28px; border: 0; }
.pro-content .pro-entry { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: center; gap: 12px; border: 1px solid #dce2dc; border-radius: 6px; padding: 15px 16px; background: #fff; }
.pro-content .pro-entry strong { font-size: 14px; font-weight: 500; }
.pro-content .pro-entry > span { display: grid; gap: 4px; color: inherit; }
.pro-content .pro-entry svg { width: 24px; height: 24px; }
.pro-content .pro-entry small { color: #67736a; font-size: 12px; line-height: 1.5; font-weight: 400; }
.pro-content .pro-entry[aria-pressed=true] { border-color: #71866e; color: #243e32; background: #f0f4ed; box-shadow: inset 0 0 0 1px #71866e; }
.pro-app[data-mode=proposal] .pro-entry[aria-pressed=true] { border-color: #658195; color: #304f62; background: #eff4f7; box-shadow: inset 0 0 0 1px #658195; }
.pro-content .pro-entry[aria-pressed=false] { color: #67736a; }
.pro-workspace-bar { margin-bottom: 0; min-height: 44px; font-size: 12px; }
.pro-workspace-bar > div { display: flex; align-items: center; gap: 16px; }
.pro-workspace-bar .pro-workspace-state { flex: 1 1 auto; flex-wrap: wrap; }
.pro-workspace-actions { flex: 0 0 auto; }
.pro-workspace-state [data-connection] { color: #8b3a35; }
.pro-command-trigger { display: flex; align-items: center; gap: 20px; min-height: 40px; border: 1px solid #dce2dc; border-radius: 5px; background: #fff; padding: 8px 12px; color: #67736a; font: 12px Inter,sans-serif; cursor: pointer; }
.pro-command-trigger:hover { background: #f7f8f5; }
.pro-command-trigger kbd { font: 11px Inter,sans-serif; color: #67736a; }
.pro-section .pro-new { min-height: 40px; gap: 9px; white-space: nowrap; }
.pro-sidebar-toggle { display: none; }
.pro-terms { margin: 0; font-size: 11px; color: #67736a; line-height: 1.7; }
.pro-content > .pro-terms { margin: 0 0 24px; max-width: 90ch; }
.pro-terms a { color: inherit; text-underline-offset: 3px; }
.pro-source-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; }
.pro-source-layout:has([data-documents]:empty) > .pro-review-column { display: none; }
.pro-intake-column, .pro-review-column { min-width: 0; }
.pro-review-column .pro-documents { margin-top: 0; }
.pro-review-column .pro-documents:empty { display: none; }
.pro-result-jumps { display: none; gap: 24px; padding-bottom: 20px; font-size: 12px; }
.pro-content:has([data-result-panel]:not([hidden])) .pro-result-jumps { display: flex; }
.pro-result-jumps a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.pro-content .pro-panel h2 { font-size: 20px; }
.pro-content .pro-form { gap: 18px; }
.pro-content .pro-form input, .pro-content .pro-form select, .pro-content .pro-form textarea { border-radius: 5px; }
.pro-content [data-case-version] { margin: -4px 0 24px; }
.pro-input-heading label { width: 240px; }
.pro-input-tabs button { min-height: 40px; font-size: 12px; }
.pro-form .pro-upload { min-height: 192px; align-content: center; gap: 14px; padding: 24px; text-align: center; border-radius: 5px; }
.pro-drop-title { display: block; color: #47544f !important; font-size: 15px !important; }
.pro-upload input { max-width: 290px; margin: auto; }
.pro-upload.is-dragging { border-color: #375140; background: #edf2e9; }
.pro-upload input::file-selector-button { border: 1px solid #cbd4c5; border-radius: 4px; margin-right: 10px; padding: 10px 12px; background: #fff; color: #375140; font: 500 12px Inter,sans-serif; cursor: pointer; }
.pro-upload input::file-selector-button:hover { background: #edf2e9; }
.pro-run-progress { display: flex; list-style: none; gap: 0; margin: 8px 0; padding: 0; }
.pro-run-progress li { flex: 1; margin: 0; border-top: 2px solid #e1e6dd; padding-top: 8px; font-size: 11px; color: #67736a; }
.pro-run-progress li[aria-current=step], .pro-run-progress li[data-complete] { border-color: #71866e; color: #375140; }
.pro-context-conflict { margin-top: 22px; border-left: 2px solid #a5b4a4; padding: 2px 0 2px 14px; font-size: 12px; }
.pro-context-conflict button + button { margin-left: 16px; }
.pro-command-dialog { width: min(520px,calc(100vw - 32px)); max-height: 75dvh; border: 1px solid #d6ddd5; border-radius: 7px; padding: 24px; color: #293d32; background: #fff; box-shadow: 0 20px 80px #23352820; }
.pro-command-dialog::backdrop { background: #19261f40; }
.pro-command-dialog h2 { font-size: 17px; font-weight: 550; margin: 0; }
.pro-command-label { display: grid; gap: 8px; font-size: 12px; color: #67736a; }
.pro-command-label input { width: 100%; border: 1px solid #d6ddd5; border-radius: 4px; padding: 12px; font: 16px Inter,sans-serif; }
.pro-command-dialog [data-command-results] { margin-top: 16px; }
.pro-section button:focus-visible, .pro-command-dialog button:focus-visible { outline: 2px solid #71866e; outline-offset: 3px; }
@media(min-width: 1160px) {
  .pro-source-layout:has([data-documents]:not(:empty)) { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 40px; }
  .pro-main:has([data-result-panel]:not([hidden])) { grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: 40px; }
  .pro-main:has([data-result-panel]:not([hidden])) .pro-source-layout { grid-template-columns: minmax(0,1fr); }
  .pro-content .pro-main > [data-result-panel]:not([hidden]) { border-left: 1px solid #dce2dc; padding-left: 40px; }
}
@media(max-width: 1159px) {
  .pro-main:has([data-result-panel]:not([hidden])) > [data-result-panel] { grid-row: 1; }
}
@media(max-width: 1000px) {
  .pro-app { grid-template-columns: 212px minmax(0,1fr); }
  .pro-content { padding: 20px 24px 40px; }
  .pro-app .pro-aside { padding: 24px 16px; }
  .pro-workspace-bar > div { gap: 12px; }
  .pro-command-trigger { gap: 10px; }
  .pro-command-trigger kbd { display: none; }
}
@media(max-width: 800px) {
  .pro-masthead { min-height: 60px; padding-inline: 20px; gap: 12px; }
  .pro-app-brand { gap: 14px; }
  .pro-app-brand h1 { padding-left: 14px; }
  .pro-masthead nav { gap: 18px; }
  .pro-app-page #main, .pro-app { min-height: calc(100dvh - 60px); }
  .pro-app { grid-template-columns: minmax(0,1fr); align-content: start; }
  .pro-content { grid-column: 1; grid-row: 1; padding: 16px 20px 40px; }
  .pro-app .pro-aside { display: none; position: static; height: auto; max-height: none; border: 0; border-bottom: 1px solid #dce2dc; padding: 20px; }
  .pro-app[data-sidebar-open] .pro-aside { display: flex; grid-column: 1; grid-row: 2; }
  .pro-app[data-sidebar-open] .pro-content { display: contents; }
  .pro-app[data-sidebar-open] .pro-content > * { margin-inline: 20px; }
  .pro-app[data-sidebar-open] .pro-workspace-bar { grid-row: 1; padding-block: 12px; }
  .pro-app[data-sidebar-open] .pro-start { grid-row: 3; }
  .pro-app[data-sidebar-open] .pro-terms { grid-row: 4; }
  .pro-app[data-sidebar-open] .pro-result-jumps { grid-row: 5; }
  .pro-app[data-sidebar-open] .pro-main { grid-row: 6; padding-bottom: 40px; }
  .pro-sidebar-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border: 0; border-radius: 4px; padding: 8px 10px; margin-left: -10px; background: transparent; color: #375140; font: 500 12px Inter,sans-serif; }
  .pro-sidebar-toggle[aria-expanded=true] { background: #edf2e9; }
  .pro-sidebar-toggle[aria-expanded=true] span { transform: rotate(180deg); }
  .pro-sidebar-footer { margin-top: 0; padding-top: 0; }
  .pro-sidebar-footer a, .pro-sidebar-footer button, .pro-aside summary, .pro-aside .account-link { min-height: 44px; }
  .pro-aside summary { align-content: center; }
  .pro-workspace-state [data-save-state] { width: 100%; font-size: 11px; }
  .pro-workspace-bar { align-items: start; }
  .pro-workspace-bar > .pro-workspace-state { flex: 1 1 100px; gap: 4px 10px; }
  .pro-workspace-bar > .pro-workspace-actions { gap: 8px; }
  .pro-section .pro-new, .pro-command-trigger { min-height: 44px; }
  .pro-content .pro-start { margin-top: 16px; }
  .pro-masthead a:focus-visible { outline-offset: 2px; }
}
@media(max-width: 620px) {
  .pro-app-brand .brand strong { font-size: 16px; }
  .pro-app-brand h1 { font-size: 16px; }
  .pro-app-brand h1 span { display: none; }
  .pro-masthead nav { font-size: 11px; gap: 14px; }
  .pro-masthead nav > a:first-child { display: none; }
  .pro-content .pro-form input:not([type=checkbox]), .pro-content .pro-form select, .pro-content .pro-form textarea, .pro-aside .pro-form input:not([type=checkbox]) { font-size: 16px; min-height: 44px; }
  .pro-content .pro-form input[type=file] { font-size: 12px; }
  .pro-input-heading label { max-width: 210px; }
  .pro-input-tabs { gap: 4px; justify-content: space-between; }
  .pro-input-tabs button { min-height: 44px; padding-inline: 8px; font-size: 11px; }
  .pro-content .pro-start { gap: 10px; }
  .pro-content .pro-entry { display: block; padding: 12px; }
  .pro-content .pro-entry svg { display: none; }
  .pro-content .pro-entry strong { font-size: 13px; }
  .pro-content .pro-entry small { font-size: 11px; }
  .pro-command-trigger { width: 44px; overflow: hidden; justify-content: center; gap: 0; font-size: 0; padding: 10px; }
  .pro-command-trigger::before { content: ''; width: 14px; height: 14px; border: 1.5px solid #67736a; border-radius: 50%; flex-shrink: 0; margin-right: 3px; }
  .pro-command-trigger::after { content: ''; width: 6px; height: 1.5px; background: #67736a; transform: translate(-5px,7px) rotate(45deg); flex-shrink: 0; }
  .pro-form .pro-upload { min-height: 180px; padding: 20px 14px; }
  .pro-content .pro-main > .pro-panel { padding: 0; }
  .pro-app-page .pro-status-row { padding-inline: 20px; }
  .pro-command-dialog { padding: 20px; }
}
@media(max-width: 380px) {
  .pro-workspace-bar > .pro-workspace-state { flex-basis: 88px; }
  .pro-masthead { padding-inline: 16px; gap: 10px; }
  .pro-app-brand h1 { font-size: 14px; }
  .pro-section .pro-new { padding-inline: 10px; font-size: 11px; }
  .pro-input-tabs { gap: 0; }
  .pro-input-tabs button { padding-inline: 6px; font-size: 10px; }
}
@media print {
  .pro-masthead, .pro-app .pro-aside, .pro-workspace-bar, .pro-start, .pro-mode-heading, .pro-result-jumps, .pro-terms, .pro-main [data-input-panel], .pro-main form, .pro-main .actions, .pro-feedback { display: none !important; }
  .pro-app, .pro-main { display: block; min-height: 0; }
  .pro-content { padding: 0; }
  .pro-content .pro-main > [data-result-panel] { border: 0; padding: 0; }
}

/* Public product reference: useful copy, a quiet hierarchy and no app chrome. */
.pro-public { background: #f7f8f5; color: #293d32; }
.pro-public .wrap { max-width: 1120px; }
.pro-public-intro { padding: 64px 0 50px; }
.pro-public-label { display:flex; align-items:baseline; gap:10px; margin:0 0 22px; font-size:18px; }
.pro-public-label strong { font-weight:650; }
.pro-public-label span { font-size:11px; color:#67736a; }
.pro-public h1 { max-width:780px; margin:0; font-size:clamp(32px,4.2vw,52px); line-height:1.12; font-weight:550; letter-spacing:-1.8px; }
.pro-public-lead { max-width:640px; margin:24px 0 12px; font-size:19px; line-height:1.65; color:#47574d; }
.pro-public-audience { max-width:640px; margin:0; font-size:13px; line-height:1.7; color:#67736a; }
.pro-public-intro .actions { margin-top:28px; align-items:center; gap:24px; }
.pro-public-secondary { font-size:13px; color:#47574d; text-underline-offset:4px; }
.pro-public-note { font-size:12px !important; color:#67736a; line-height:1.75; }
.pro-public-intro .pro-public-note { margin:14px 0 0; }
.pro-public-section { padding:42px 0; border-top:1px solid #dce2dc; scroll-margin-top:96px; }
.pro-public-split { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr); gap:70px; }
.pro-public h2 { margin:0 0 14px; font-size:24px; line-height:1.35; font-weight:550; letter-spacing:-.6px; }
.pro-public h3 { margin:0 0 9px; font-size:16px; line-height:1.4; font-weight:550; }
.pro-public-section p { margin:0 0 18px; font-size:14px; line-height:1.8; color:#59685e; }
.pro-public-modes article + article { margin-top:27px; padding-top:26px; border-top:1px solid #dce2dc; }
.pro-public-steps { display:grid; gap:24px; margin:0; padding-left:24px; }
.pro-public-steps li { padding-left:10px; }
.pro-public-steps li::marker { color:#7b847d; font-size:12px; }
.pro-public-steps p { margin-bottom:0; }
.pro-public-features { margin:0 0 25px; padding-left:19px; }
.pro-public-features li { padding-left:5px; margin-bottom:12px; font-size:14px; line-height:1.65; }
.pro-public a:focus-visible { outline:2px solid #71866e; outline-offset:4px; }
.pro-public-faq details { padding:18px 0; border-bottom:1px solid #dce2dc; }
.pro-public-faq details:first-child { padding-top:0; }
.pro-public-faq summary { font-size:14px; font-weight:500; line-height:1.6; cursor:pointer; }
.pro-public-faq details p { margin:14px 0 0; }
.pro-public-related { padding-bottom:56px; }
.pro-public-related p { max-width:740px; }
@media(max-width:720px) {
 .pro-public-intro { padding:38px 0 34px; }
 .pro-public h1 { letter-spacing:-1px; }
 .pro-public-lead { font-size:17px; }
 .pro-public-split { grid-template-columns:minmax(0,1fr); gap:20px; }
 .pro-public-section { padding:30px 0; }
 .pro-public h2 { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) { .pro-public *, .pro-app * { scroll-behavior:auto !important; } }


/* Task identity belongs to the tool; Salient One remains the sole wordmark. */
.pro-mode-heading { margin: 0 0 26px; }
.pro-mode-eyebrow { margin: 0 0 7px; color: #67736a; font-size: 11px; }
.pro-mode-heading h2 { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: -.6px; }
.pro-mode-heading > p:last-of-type { max-width: 78ch; margin: 10px 0 0; color: #59685e; font-size: 13px; line-height: 1.65; }
.pro-mode-steps { display: flex; gap: 20px; list-style: none; margin: 20px 0 0; padding: 0; }
.pro-mode-steps li { display: flex; align-items: center; gap: 8px; margin: 0; color: #67736a; font-size: 11px; }
.pro-mode-step-number { display: inline-grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid #dce2dc; border-radius: 50%; font-size: 10px; }
.pro-mode-steps li[aria-current=step] { color: #375140; font-weight: 550; }
.pro-mode-steps li[aria-current=step] .pro-mode-step-number, .pro-mode-steps li[data-complete] .pro-mode-step-number { background: #edf2e9; border-color: #a5b4a4; color: #375140; }
.pro-app[data-mode=proposal] .pro-mode-heading h2 { color: #304f62; }
.pro-app[data-mode=proposal] .pro-mode-steps li[aria-current=step] { color: #304f62; }
.pro-app[data-mode=proposal] .pro-mode-steps li[aria-current=step] .pro-mode-step-number { background: #eff4f7; border-color: #91a9ba; color: #304f62; }
.pro-app[data-mode=proposal] .pro-analysis-form .btn:not(.secondary) { background: #35576b; border-color: #35576b; }
.pro-app[data-mode=proposal] .pro-analysis-form .btn:not(.secondary):hover { background: #294657; }
.pro-content .pro-toolbar h3 { margin: 0; font-size: 16px; line-height: 1.5; }
@media(max-width:800px) {
 .pro-app[data-sidebar-open] .pro-mode-heading { grid-row: 4; }
 .pro-app[data-sidebar-open] .pro-terms { grid-row: 5; }
 .pro-app[data-sidebar-open] .pro-result-jumps { grid-row: 6; }
 .pro-app[data-sidebar-open] .pro-main { grid-row: 7; }
}
@media(max-width:620px) {
 .pro-mode-heading h2 { font-size: 23px; }
 .pro-mode-steps { gap: 12px; justify-content: space-between; }
 .pro-mode-steps li { flex: 1; align-items: start; gap: 6px; line-height: 1.5; }
 .pro-mode-steps li > span:last-child { padding-top: 3px; }
 .pro-mode-step-number { flex-basis: 20px; width: 20px; height: 20px; }
}

.pro-scope-context {border-top:1px solid #dce2dc;border-bottom:1px solid #dce2dc;padding:0;margin:0 0 24px;}
.pro-scope-context>summary {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding-block:12px;font-size:13px;font-weight:500;cursor:pointer;}
.pro-scope-context>summary::after {content:'+';font-size:17px;font-weight:400;color:#67736a;}
.pro-scope-context[open]>summary::after {content:'−';}
.pro-scope-context .pro-field-optional {margin-left:auto;}
.pro-scope-context>.pro-form {padding:8px 0 22px;max-width:960px;}
.pro-scope-context .small {font-size:11px;color:#67736a;margin:0;}
.pro-entry-call {margin:0 0 18px;padding:12px 16px;background:#f2f4ef;border-left:2px solid #a5b4a4;font-size:12px;line-height:1.7;overflow-wrap:anywhere;}
@media(max-width:800px) {
 .pro-app[data-sidebar-open] .pro-entry-call {grid-row:5;}
 .pro-app[data-sidebar-open] .pro-scope-context {grid-row:6;}
 .pro-app[data-sidebar-open] .pro-terms {grid-row:7;}
 .pro-app[data-sidebar-open] .pro-result-jumps {grid-row:8;}
 .pro-app[data-sidebar-open] .pro-main {grid-row:9;}
}
@media(max-width:620px) {.pro-scope-context .pro-form textarea {font-size:16px;}}

/* Keep the working area in view while making each tool's task explicit. */
.pro-mode-heading {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 24px;margin-bottom:20px;}
.pro-mode-eyebrow {display:none;}
.pro-mode-heading h2 {grid-column:1;grid-row:1;}
.pro-mode-heading>p:last-of-type {grid-column:1;grid-row:2;margin:0;}
.pro-mode-steps {grid-column:2;grid-row:1/3;margin:0;gap:16px;}
.pro-content .pro-entry {padding-block:12px;}
.pro-content [data-case-version]:empty {display:none;}
.pro-content .pro-form .pro-upload {min-height:160px;}
@media(max-width:800px) {
 .pro-mode-heading {grid-template-columns:minmax(0,1fr);gap:10px;}
 .pro-mode-steps {grid-column:1;grid-row:3;margin-top:6px;}
}
@media(max-width:620px) {.pro-content .pro-form .pro-upload {min-height:170px;}}

/* Allow the product strip above the full-page analysis tools. */
.pro-app-page { --pro-header-height: 100px; }
.pro-app-page #main, .pro-app { min-height: calc(100dvh - var(--pro-header-height)); }
.pro-app .pro-aside { top: var(--pro-header-height); height: calc(100dvh - var(--pro-header-height)); }
@media (max-width: 720px) {
 .pro-masthead { flex-wrap: wrap; padding-block: 12px; gap: 8px 20px; }
 .pro-app-brand { flex-wrap: wrap; gap: 8px 14px; }
 .pro-app-brand h1 { border-left: 0; padding-left: 0; font-size: 14px; }
 .pro-masthead nav { margin-left: auto; }
 .pro-app-page { --pro-header-height: 144px; }
}
