/* EH project workspace: paper, charcoal, fine rules and a clear current action. */
.eh-project-workspace{--paper:#f1ece4;--panel:#faf7f2;--ink:#242321;--muted:#655e55;--line:#d5cec4;--soft:#e8e1d6;--ok:#425f46;--warn:#77523b;box-sizing:border-box;width:100%;max-width:1300px;margin:auto;padding:24px clamp(16px,3vw,40px) 60px;min-height:75vh;background:var(--paper);color:var(--ink);font:16px/1.55 Satoshi,Arial,Helvetica,sans-serif}
.eh-project-workspace *{box-sizing:border-box}
.eh-project-workspace [hidden]{display:none!important}
.eh-project-workspace button,.eh-project-workspace input,.eh-project-workspace textarea,.eh-project-workspace select{font:inherit;color:inherit;touch-action:manipulation}
.eh-project-workspace a{color:inherit;text-underline-offset:4px;touch-action:manipulation}
.eh-project-workspace button:focus-visible,.eh-project-workspace a:focus-visible,.eh-project-workspace input:focus-visible,.eh-project-workspace textarea:focus-visible,.eh-project-workspace select:focus-visible,.eh-project-workspace summary:focus-visible,.eh-project-workspace [tabindex="-1"]:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.eh-project-workspace h2,.eh-project-workspace h3,.eh-project-workspace p{margin-top:0}
.eh-project-workspace h2,.eh-project-workspace h3{font-weight:400;line-height:1.2}
.eh-project-workspace h2{font-size:28px;letter-spacing:-.035em}
.eh-project-workspace h3{font-size:22px;letter-spacing:-.02em}
.eh-project-workspace strong{font-weight:600}
.eh-project-workspace button{cursor:pointer}
.eh-project-workspace button:disabled{opacity:.5;cursor:not-allowed}
.eh-project-workspace button,.eh-project-workspace a,.eh-project-workspace p,.eh-project-workspace dd,.eh-project-workspace h2,.eh-project-workspace h3{overflow-wrap:anywhere}
.eh-project-workspace .workspace-bar{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--line);font-size:13px}
.eh-project-workspace .workspace-bar>span{margin-left:auto;color:var(--muted)}
.eh-project-workspace .workspace-bar>a{display:inline-flex;align-items:center;min-height:44px}
.eh-project-workspace .text-button{border:0;background:transparent;min-height:44px;padding:10px 0;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.eh-project-workspace .button{display:inline-flex;min-height:46px;padding:12px 18px;border:1px solid var(--ink);border-radius:0;background:transparent;text-decoration:none;align-items:center;justify-content:center;font-size:14px;text-align:center}
.eh-project-workspace .button.primary{background:var(--ink);color:var(--paper)}
.eh-project-workspace .button:hover:not(:disabled){background:var(--soft)}
.eh-project-workspace .button.primary:hover:not(:disabled){background:#4b4741}
.eh-project-workspace .eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.eh-project-workspace .muted{color:var(--muted);font-size:14px}
.eh-project-workspace .warning{color:var(--warn);font-size:14px}
.eh-project-workspace .label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.eh-project-workspace .status-message{font-size:14px;color:var(--warn);margin:0;padding:14px 0}
.eh-project-workspace .status-message:empty{padding:0}
.eh-project-workspace .project-heading-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0}
.eh-project-workspace .project-title{margin:24px 0}
.eh-project-workspace .project-heading-row .project-title{margin:0;min-width:0}
.eh-project-workspace .project-title h2{font-size:clamp(28px,3vw,38px);margin:0 0 10px;letter-spacing:-.04em}
.eh-project-workspace .project-title p{color:var(--muted);font-size:14px;margin-bottom:0;max-width:750px}
.eh-project-workspace .project-title .eyebrow{font-size:11px;margin-bottom:12px}
.eh-project-workspace .project-focus{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:32px;background:var(--panel);border:1px solid var(--line);border-top:3px solid var(--ink);padding:28px;margin:0 0 24px}
.eh-project-workspace .project-focus h3{font-size:clamp(25px,2.4vw,32px);letter-spacing:-.035em;max-width:600px;margin-bottom:14px}
.eh-project-workspace .project-focus .next-instruction{font-size:15px;max-width:680px;margin-bottom:14px}
.eh-project-workspace .waiting-note{font-size:14px;color:var(--muted);margin-bottom:0}
.eh-project-workspace .waiting-note strong{display:block;color:var(--ink)}
.eh-project-workspace .focus-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.eh-project-workspace .focus-facts{border-left:1px solid var(--line);margin:0;padding-left:28px;display:flex;flex-direction:column;justify-content:center;gap:20px}
.eh-project-workspace .focus-facts dt{font-size:12px;color:var(--muted);margin-bottom:5px}
.eh-project-workspace .focus-facts dd{font-size:19px;margin:0;line-height:1.4}
.eh-project-workspace .focus-facts p{font-size:12px;margin:7px 0 0}
.eh-project-workspace .phase-journey{margin:0 0 24px}
.eh-project-workspace .phase-journey ol{list-style:none;display:flex;flex-wrap:wrap;padding:0;margin:0;border-bottom:1px solid var(--line)}
.eh-project-workspace .phase-journey li{flex:1 1 160px;border-top:1px solid var(--line);min-width:0}
.eh-project-workspace .phase-journey a{display:flex;gap:10px;min-height:75px;padding:15px 14px 15px 0;text-decoration:none;font-size:13px;align-items:flex-start}
.eh-project-workspace .phase-journey .current a{background:var(--soft);padding-left:12px}
.eh-project-workspace .phase-journey small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.eh-project-workspace .journey-number{border:1px solid var(--line);height:28px;min-width:28px;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
.eh-project-workspace .current .journey-number{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.eh-project-workspace .complete .journey-number{border-color:var(--ok);color:var(--ok)}
.eh-project-workspace .notice{padding:16px 20px;background:var(--soft);border-left:3px solid var(--warn);font-size:14px;margin-bottom:24px}
.eh-project-workspace .notice p{margin:8px 0}
.eh-project-workspace .notice li{margin-top:6px}
.eh-project-workspace .role-preview-controls{min-width:200px;font-size:12px}
.eh-project-workspace .role-preview-controls select{padding:10px;border:1px solid var(--line);border-radius:0;background:var(--panel);color:var(--ink);width:100%;min-height:44px;font-size:14px}
.eh-project-workspace .role-preview-banner{border:1px solid var(--warn);border-left:3px solid var(--warn)}
.eh-project-workspace .role-preview-banner summary{min-height:44px;padding-top:9px;cursor:pointer}
.eh-project-workspace .fictional-notice{font-size:12px;margin:0 0 16px}
.eh-project-workspace .phases{display:grid;gap:12px}
.eh-project-workspace .phase{border:1px solid var(--line);padding:28px;background:var(--panel);min-width:0;scroll-margin-top:100px}
.eh-project-workspace .phase.locked{background:transparent}
.eh-project-workspace .phase-head{display:flex;gap:18px;justify-content:space-between;align-items:start;margin-bottom:22px}
.eh-project-workspace .phase-number{font-size:11px;color:var(--muted);display:block;margin-bottom:8px;letter-spacing:.08em}
.eh-project-workspace .phase h3{margin-bottom:0}
.eh-project-workspace .badge{font-size:12px;border:1px solid var(--line);border-radius:0;padding:7px 10px;white-space:normal;flex-shrink:0;max-width:200px;background:var(--paper);color:var(--ink)}
.eh-project-workspace .badge.ok{color:var(--ok);border-color:#afc0ac;background:var(--panel)}
.eh-project-workspace .badge.warning{color:var(--warn);border-color:#cbb29a;background:var(--panel)}
.eh-project-workspace .phase-deadline{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px;font-size:14px;margin-bottom:16px}
.eh-project-workspace .phase-deadline .label{margin:0}
.eh-project-workspace .phase-deadline strong{font-weight:400}
.eh-project-workspace .latest-delivery{margin-top:24px}
.eh-project-workspace .latest-delivery>p{margin-bottom:8px}
.eh-project-workspace .deliveries{list-style:none;padding:0;margin:0}
.eh-project-workspace .deliveries li{padding:16px 0;border-top:1px solid var(--line);display:flex;gap:20px;align-items:center;justify-content:space-between;font-size:14px}
.eh-project-workspace .deliveries li>div{min-width:0;overflow-wrap:anywhere}
.eh-project-workspace .deliveries .button{flex-shrink:0}
.eh-project-workspace .file-name{display:block;margin:4px 0;overflow-wrap:anywhere}
.eh-project-workspace .deliveries small{display:block;color:var(--muted);font-size:12px}
.eh-project-workspace .phase-actions{border-top:1px solid var(--line);padding-top:24px;margin-top:20px;display:flex;gap:18px;flex-wrap:wrap;align-items:start}
.eh-project-workspace .action-intro{flex:1 1 100%;font-size:17px}
.eh-project-workspace .action-intro p{margin:6px 0 0}
.eh-project-workspace .phase-actions form{width:100%;display:grid;gap:22px}
.eh-project-workspace .phase-actions .delivery-form{grid-template-columns:minmax(0,1.3fr) minmax(190px,1fr);max-width:850px}
.eh-project-workspace .delivery-form .action-intro,.eh-project-workspace .delivery-form .form-note,.eh-project-workspace .delivery-form .form-buttons{grid-column:1/-1}
.eh-project-workspace .phase-actions label{font-size:14px}
.eh-project-workspace label{display:flex;flex-direction:column;gap:8px;min-width:0}
.eh-project-workspace label small{font-size:12px;color:var(--muted)}
.eh-project-workspace .field-title{display:block}
.eh-project-workspace .field-title input{display:block;margin-top:8px}
.eh-project-workspace .field-step{display:inline-flex;align-items:center;justify-content:center;background:var(--soft);min-width:23px;height:23px;margin-right:4px;font-size:12px}
.eh-project-workspace input,.eh-project-workspace textarea{border:1px solid var(--line);background:var(--panel);border-radius:0;min-height:46px;padding:10px;max-width:100%;min-width:0;width:100%}
.eh-project-workspace input[type=file]{font-size:14px;padding:8px}
.eh-project-workspace input::file-selector-button{font:inherit;border:1px solid var(--line);background:var(--soft);padding:8px;margin-right:8px;color:var(--ink)}
.eh-project-workspace textarea{min-height:125px;resize:vertical}
.eh-project-workspace .form-buttons{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.eh-project-workspace .form-note{margin:0;font-size:13px}
.eh-project-workspace .approve-choice{max-width:680px;font-size:16px}
.eh-project-workspace .approve-choice p{margin:8px 0 16px}
.eh-project-workspace .revision-choice{flex:1 1 100%;width:100%;border-top:1px solid var(--line);padding-top:4px}
.eh-project-workspace .revision-choice summary{font-size:14px;min-height:48px;padding:12px 0;cursor:pointer}
.eh-project-workspace .revision-choice .revision-form{max-width:700px;margin:10px 0}
.eh-project-workspace .current-revision{margin:22px 0}
.eh-project-workspace .revision-note{border-left:2px solid var(--warn);padding:14px 18px;margin-top:12px;background:var(--soft);font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}
.eh-project-workspace .revision-note p{margin:8px 0}
.eh-project-workspace .revision-note small{color:var(--muted)}
.eh-project-workspace .approval-record{color:var(--ok);font-size:14px;margin-top:16px}
.eh-project-workspace .phase-fold{border:1px solid var(--line)}
.eh-project-workspace .phase-fold>summary{display:flex;gap:18px;justify-content:space-between;align-items:center;list-style:none;padding:18px 24px;cursor:pointer;font-size:17px;min-height:68px}
.eh-project-workspace .phase-fold>summary:after{content:'+';font-size:23px;font-weight:400}
.eh-project-workspace .phase-fold[open]>summary:after{content:'−'}
.eh-project-workspace .phase-fold>summary::-webkit-details-marker{display:none}
.eh-project-workspace .phase-fold>summary>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.eh-project-workspace .phase-fold>summary .muted{font-size:12px;max-width:35%}
.eh-project-workspace .phase-fold .phase{border:0;border-top:1px solid var(--line)}
.eh-project-workspace .secondary-details{margin-top:22px;border-top:1px solid var(--line)}
.eh-project-workspace .secondary-details>summary{padding:14px 0;min-height:48px;cursor:pointer;font-size:14px}
.eh-project-workspace .secondary-details>p{font-size:13px}
.eh-project-workspace .project-reference{margin-top:30px}
.eh-project-workspace .summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);margin:14px 0 22px}
.eh-project-workspace .summary-grid>div{padding:18px;border-right:1px solid var(--line);min-width:0}
.eh-project-workspace .summary-grid>div:last-child{border:0}
.eh-project-workspace .summary-grid strong{font-size:15px;font-weight:400}
.eh-project-workspace .progress{appearance:none;display:block;width:100%;height:4px;border:0;border-radius:0;background:var(--soft);margin-top:10px}
.eh-project-workspace .progress::-webkit-progress-bar{background:var(--soft)}
.eh-project-workspace .progress::-webkit-progress-value{background:var(--ink)}
.eh-project-workspace .progress::-moz-progress-bar{background:var(--ink)}
.eh-project-workspace .history{margin-top:0;border-top:1px solid var(--line)}
.eh-project-workspace .history summary{cursor:pointer;padding:16px 0;min-height:48px;font-size:14px}
.eh-project-workspace .history li{font-size:13px;padding:10px 0;border-bottom:1px solid var(--line)}
.eh-project-workspace .queue-summary{border-bottom:1px solid var(--line);padding-bottom:18px}
.eh-project-workspace .queue-group{margin:28px 0 36px}
.eh-project-workspace .queue-group>h3{font-size:20px;display:flex;gap:12px;align-items:center}
.eh-project-workspace .queue-group>h3>span{font-size:12px;display:inline-flex;border:1px solid var(--line);min-width:25px;height:25px;justify-content:center;align-items:center}
.eh-project-workspace .project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.eh-project-workspace .project-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);padding:24px;text-decoration:none;background:var(--panel);min-width:0}
.eh-project-workspace .project-card:hover{border-color:var(--ink)}
.eh-project-workspace .project-card h2{font-size:25px;margin:0}
.eh-project-workspace .project-card p{margin:0;color:var(--muted);font-size:14px}
.eh-project-workspace .project-card .warning{color:var(--warn)}
.eh-project-workspace .card-status{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.eh-project-workspace .card-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0 16px}
.eh-project-workspace .card-facts dt{font-size:12px;color:var(--muted);margin-bottom:5px}
.eh-project-workspace .card-facts dd{font-size:14px;margin:0}
.eh-project-workspace .card-footer{border-top:1px solid var(--line);padding-top:16px;margin-top:auto;display:flex;gap:12px;flex-direction:column}
.eh-project-workspace .card-footer>span{font-size:12px;color:var(--muted)}
.eh-project-workspace .project-card .open{font-size:14px;font-weight:400;text-decoration:underline;text-underline-offset:4px}
.eh-project-workspace .empty{padding:28px;border:1px solid var(--line);font-size:14px}
@media(max-width:800px){.eh-project-workspace .project-focus{grid-template-columns:1fr;gap:22px}.eh-project-workspace .focus-facts{border-left:0;border-top:1px solid var(--line);padding:18px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.eh-project-workspace .project-heading-row{align-items:flex-start}.eh-project-workspace .project-grid{grid-template-columns:1fr}}
@media(max-width:560px){.eh-project-workspace{padding:16px 14px 44px}.eh-project-workspace .workspace-bar{gap:10px 18px}.eh-project-workspace .workspace-bar>span{display:none}.eh-project-workspace .project-heading-row{display:block;margin:20px 0}.eh-project-workspace .role-preview-controls{margin-top:18px;max-width:100%}.eh-project-workspace .project-focus{padding:22px 18px}.eh-project-workspace .project-focus h3{font-size:27px}.eh-project-workspace .focus-facts{grid-template-columns:1fr;gap:14px}.eh-project-workspace .focus-facts dd{font-size:17px}.eh-project-workspace .phase-journey li{flex-basis:50%}.eh-project-workspace .phase-journey a{font-size:12px;padding-right:10px}.eh-project-workspace .phase{padding:22px 18px}.eh-project-workspace .phase-head{display:block}.eh-project-workspace .phase-head .badge{margin-top:14px;display:inline-block;max-width:100%}.eh-project-workspace .phase-actions{display:block}.eh-project-workspace .phase-actions>.button{margin-top:16px;width:100%}.eh-project-workspace .phase-actions .delivery-form{grid-template-columns:1fr}.eh-project-workspace .phase-actions input,.eh-project-workspace .phase-actions textarea,.eh-project-workspace .role-preview-controls select{font-size:16px}.eh-project-workspace .form-buttons{align-items:stretch;flex-direction:column;gap:6px}.eh-project-workspace .approve-choice .button{width:100%}.eh-project-workspace .revision-choice{margin-top:20px}.eh-project-workspace .deliveries li{display:block}.eh-project-workspace .deliveries li>.warning{display:block;margin-top:12px}.eh-project-workspace .deliveries .button{margin-top:14px;width:100%}.eh-project-workspace .phase-fold>summary{padding:16px;gap:12px;font-size:15px}.eh-project-workspace .summary-grid{grid-template-columns:1fr}.eh-project-workspace .summary-grid>div{border-right:0;border-bottom:1px solid var(--line)}.eh-project-workspace .card-facts{grid-template-columns:1fr}.eh-project-workspace .project-card{padding:22px}.eh-project-workspace .notice{padding:14px 16px}}

/* Typography follows official EH Satoshi hierarchy. */
.eh-project-workspace h2,.eh-project-workspace h3{font-weight:300}.eh-project-workspace strong{font-weight:500}
/* Approved client and Setor de Projetos layout, without changing permissions. */
.eh-project-workspace .client-overview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.85fr);gap:22px;align-items:stretch;margin:24px 0}
.eh-project-workspace .client-overview .project-focus{margin:0;display:block;border:1px solid var(--line);padding:28px}
.eh-project-workspace .client-overview .focus-facts{margin-top:24px}
.eh-project-workspace .client-overview .phase-journey{margin:0;padding:24px;border:1px solid var(--line);background:var(--panel)}
.eh-project-workspace .client-overview .phase-journey ol,.eh-project-workspace .staff-project-nav .phase-journey ol{display:flex;flex-direction:column;gap:10px}
.eh-project-workspace .client-overview .phase-journey li,.eh-project-workspace .staff-project-nav .phase-journey li{flex:auto;width:100%;border:0}
.eh-project-workspace .phase-journey a{min-height:48px}
.eh-project-workspace .project-documents,.eh-project-workspace .proposal-deliverables{border:1px solid var(--line);background:var(--panel);padding:26px;margin:24px 0}
.eh-project-workspace .project-documents .proposal-deliverables{border:0;padding:0;margin-top:0}
.eh-project-workspace .proposal-deliverables p{white-space:pre-line;overflow-wrap:anywhere;font-size:14px}
.eh-project-workspace .staff-work-layout{display:grid;grid-template-columns:minmax(210px,.32fr) minmax(0,1fr);gap:24px;align-items:start;margin:24px 0}
.eh-project-workspace .staff-project-nav{padding:24px;border:1px solid var(--line);background:var(--panel);position:sticky;top:100px;min-width:0}
.eh-project-workspace .staff-project-nav h3{font-size:24px}
.eh-project-workspace .staff-project-nav .phase-journey{margin-bottom:0}
.eh-project-workspace .staff-work-main{min-width:0}
.eh-project-workspace .staff-work-main .project-focus{margin-top:0;padding:24px;display:block;border-color:var(--line)}
.eh-project-workspace .staff-work-main .focus-facts{margin-top:24px}
.eh-project-workspace .phase-recipe{padding:22px 0}
.eh-project-workspace .phase-recipe ol{padding:0;list-style:none;counter-reset:steps;display:grid;gap:18px}
.eh-project-workspace .phase-recipe li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:14px;counter-increment:steps;font-size:16px}
.eh-project-workspace .phase-recipe li:before{content:counter(steps);display:grid;place-items:center;width:30px;height:30px;background:var(--soft);font-size:13px}
.eh-project-workspace [data-date-confirmation-unavailable]{border-left:2px solid var(--warning);padding:14px 18px;background:var(--soft);font-size:14px}
.eh-project-workspace .staff-work-main .delivery-form{padding:22px;background:var(--soft);border:1px solid var(--line)}
@media(max-width:800px){.eh-project-workspace .client-overview,.eh-project-workspace .staff-work-layout{grid-template-columns:1fr}.eh-project-workspace .staff-project-nav{position:static}.eh-project-workspace .project-documents,.eh-project-workspace .proposal-deliverables{padding:20px}.eh-project-workspace .client-overview .project-focus{padding:22px}.eh-project-workspace .phase-recipe li{font-size:15px}}
.eh-project-workspace .phase-recipe li>p{grid-column:2;margin:0;font-size:14px}
.eh-project-workspace [data-date-confirmation-unavailable]{border-left-color:var(--warn)}
