:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#151916;background:#fafbfa;font-synthesis:none;--green:#248737;--green-dark:#1c682b;--green-light:#edf7ef;--muted:#616b79;--border:#dfe4e5;--radius:11px}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #5cac70;outline-offset:4px}button{color:inherit}svg.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip-link{position:fixed;left:20px;top:-60px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}.topbar{background:#fff;border-bottom:1px solid var(--border)}.topbar-inner{max-width:1520px;margin:auto;min-height:99px;display:flex;align-items:center;gap:30px;padding:16px 44px}.brand{display:block;position:relative;width:126px;height:64px;overflow:hidden;flex-shrink:0}.brand img{position:absolute;width:256px;max-width:none;left:-65px;top:-61px}.header-nav{border-left:1px solid var(--border);min-height:54px;padding-left:30px;display:flex;align-items:center;gap:24px;flex:1}.nav-current{font-weight:600;position:relative;padding:14px 0}.nav-current:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--green)}.project-switch{display:flex;flex-direction:column;gap:3px;width:min(400px,100%)}.field-label{font-size:16px;color:var(--muted)}select,input,textarea{border:1px solid #ccd3d6;border-radius:7px;background:white;color:#222;padding:10px 12px;min-height:44px}select{max-width:100%}.account-tools{display:flex;align-items:center;gap:18px}.preview-tag{display:inline-flex;align-items:center;gap:8px;color:#64706a;white-space:nowrap}.preview-tag:before{content:"";width:8px;height:8px;border:2px solid #819086;border-radius:100%}.icon-btn{border:0;background:transparent;width:44px;height:44px;display:inline-grid;place-items:center;border-radius:8px;position:relative}.icon-btn:hover{background:#f1f5f1}.notification-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;background:var(--green);border:2px solid white;border-radius:50%}.account-button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:4px;border-radius:30px}.avatar{width:40px;height:40px;background:#515b65;color:white;border-radius:50%;display:grid;place-items:center}.demo-strip{background:#f2f5f2;border-bottom:1px solid #e5eae5;color:#647067;padding:8px 24px;text-align:center;font-size:16px}.demo-strip strong{color:#455349;font-weight:600}.main{max-width:1440px;margin:0 auto;padding:44px 44px 0;min-height:calc(100vh - 220px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 26px}.title-line{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap}h1{font-size:38px;line-height:1.2;letter-spacing:-1.2px;margin:0;font-weight:660}h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:0;font-weight:650}h3{font-size:20px;margin:0 0 8px}.subtitle{font-size:18px;color:var(--muted);margin:10px 0 0}.count{font-size:20px;color:var(--muted)}.heading-actions{display:flex;gap:12px;align-items:center}.btn{min-height:44px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cbd3cd;border-radius:7px;background:#fff;font-weight:500;white-space:nowrap}.btn:hover:not(:disabled){background:#f3f6f3;border-color:#9fab9f}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover:not(:disabled){background:var(--green-dark)}.btn.outline-green{border-color:var(--green);color:var(--green-dark)}.btn.quiet{border-color:transparent;background:transparent}.btn.danger{border-color:#e9c2bd;color:#a34434}.muted{color:var(--muted)}.search-wrap{display:flex;align-items:center;gap:10px;background:white;border:1px solid #cbd3d6;border-radius:8px;padding-left:14px;min-width:245px}.search-wrap input{border:0;background:none;width:100%;outline:0}.search-wrap:focus-within{outline:3px solid #5cac70;outline-offset:2px}.search-wrap input:focus-visible{outline:none}.table-shell{border:1px solid var(--border);border-radius:var(--radius);background:#fff;overflow:hidden}.project-table{border-collapse:collapse;width:100%;text-align:left}.project-table th{background:#f6f8f7;color:var(--muted);font-weight:500;padding:18px 23px}.project-table td{border-top:1px solid #e7ebe8;padding:22px 23px}.project-row{cursor:pointer;transition:background .15s}.project-row:hover{background:#f5faf6}.project-name{font-size:20px;font-weight:600}.project-link{display:inline-flex;align-items:center;min-height:32px}.project-table .arrow-cell{text-align:right;width:48px;padding-left:0;color:#626d67}.stage-pill,.status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;border-radius:30px;line-height:1.4;font-size:16px}.stage-pill{background:#e7f4e9;color:#235d2d}.status-pill.complete{background:#edf7ee;color:#267735}.status-pill.current{background:var(--green);color:#fff}.status-pill.upcoming{background:#f0f2f3;color:#65707d}.status-pill.na{background:#edf1f5;color:#516279}.status-pill .icon{width:17px;height:17px}.small-note{color:var(--muted);margin:16px 4px;font-size:16px}.back{display:inline-flex;gap:8px;align-items:center;color:#586571;margin:0 0 20px;padding:4px 0;min-height:36px}.back:hover{color:var(--green-dark)}.project-context{display:flex;align-items:center;gap:12px;margin-bottom:10px;font-size:18px}.project-context strong{font-weight:550}.workflow-title-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.progress-block{min-width:170px;text-align:right;color:var(--muted);padding-top:8px}.progress-track{height:5px;background:#e7ede7;border-radius:8px;overflow:hidden;margin-top:12px}.progress-track span{display:block;background:var(--green);height:100%;border-radius:8px}.project-dates{display:flex;align-items:center;gap:24px;color:var(--muted);margin:18px 0 0;flex-wrap:wrap}.project-dates strong{font-weight:500;color:#39443f;margin-left:6px}.workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.step-card{display:flex;flex-direction:column;position:relative;border:1px solid var(--border);border-radius:var(--radius);background:white;min-height:211px;padding:22px;transition:box-shadow .15s,border-color .15s,transform .15s}.step-card:hover{border-color:#90b996;box-shadow:0 5px 18px #19361e09;transform:translateY(-2px)}.step-card.active{border-color:var(--green);background:linear-gradient(140deg,#f3faf4,#fafcf9);box-shadow:0 0 0 1px #2487370d}.step-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}.step-number{font-size:18px;color:#6b7580;font-variant-numeric:tabular-nums}.step-card.active .step-number{color:var(--green-dark)}.step-card h2{font-size:21px;line-height:1.35;padding-right:10px;margin-bottom:8px;letter-spacing:-.5px}.step-card .owners{color:var(--muted);margin-top:auto;padding-top:5px}.step-card .confirmation{color:var(--muted);margin-top:9px;font-size:16px;line-height:1.45}.step-card .chevron{position:absolute;bottom:22px;right:16px;color:#859088}.step-card .owners,.step-card .confirmation{padding-right:8px}.step-card .confirmation time{display:block}.detail-main{max-width:1280px;padding-top:26px}.detail-title{margin-bottom:23px}.step-eyebrow{display:flex;align-items:center;gap:18px;margin-bottom:10px;color:var(--muted)}.detail-title h1{font-size:36px;letter-spacing:-1px}.description{color:var(--muted);font-size:19px;margin:8px 0 12px}.responsibility{margin:0}.responsibility small{display:block;color:var(--muted);font-size:16px;margin-top:2px}.panel{border:1px solid var(--border);border-radius:var(--radius);background:white;padding:20px;margin-top:14px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.drop-zone{border:1px dashed #bdc8be;background:#f8faf8;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:12px;min-height:70px;padding:16px;text-align:center;color:var(--muted)}.drop-zone.dragging{background:#eaf7eb;border-color:var(--green)}.text-button{border:0;background:transparent;padding:0;color:var(--green-dark);text-decoration:underline;cursor:pointer}.file-list{margin-top:5px}.file-row{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #e6ebe7}.file-row:last-child{border-bottom:0;padding-bottom:0}.file-thumb{width:65px;height:54px;border:1px solid #e8ece8;border-radius:7px;flex-shrink:0;display:grid;place-items:center;background:#f4f6f5;color:#788379;overflow:hidden}.file-thumb img{width:100%;height:100%;object-fit:cover}.file-thumb .icon{width:28px;height:28px}.file-info{min-width:0;flex:1}.file-name{font-weight:550;overflow-wrap:anywhere}.file-meta{color:var(--muted);margin-top:2px;font-size:16px}.file-actions{display:flex;gap:4px;align-items:center}.file-action{display:inline-flex;align-items:center;gap:7px;min-height:44px;border:0;background:transparent;border-radius:7px;padding:8px 10px;color:#586571}.file-action:hover{background:#f1f5f1}.file-protected{color:#778278;margin:0 7px}.empty{padding:38px 20px;text-align:center;color:var(--muted)}.notes-header{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.notes-input{width:100%;min-height:80px;resize:vertical}.notes-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px}.note-entry{padding:12px 0;border-top:1px solid #e8ece8}.note-entry p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.history{margin-top:16px;padding-top:13px;border-top:1px solid #e5eae5}.history summary{cursor:pointer;color:#526158;padding:4px 0;min-height:36px}.history-list{list-style:none;padding:0;margin:10px 0}.history-list li{padding:12px 0 12px 18px;border-left:2px solid #e2ebe3;margin-left:4px}.history-list p{margin:0}.history-list time{color:var(--muted)}.detail-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:14px 0;margin-top:16px}.confirm-group{display:flex;align-items:center;gap:20px}.confirm-caption{font-size:16px;color:var(--muted);text-align:right;max-width:420px}.info-banner{border:1px solid #dce8de;border-radius:8px;color:#4e6353;background:#f2f8f3;padding:12px 16px;margin-top:16px;display:flex;gap:10px;align-items:center}.info-banner .icon{flex-shrink:0}.footer{max-width:1352px;margin:36px auto 0;border-top:1px solid var(--border);padding:18px 0 28px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:16px}.detail-main+.footer{max-width:1192px;margin-top:22px;border-top:0}.badge-soft{background:#eff2ef;padding:3px 9px;border-radius:6px;font-size:16px;color:#637166}.signature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.signature{border:1px solid var(--border);padding:18px;border-radius:8px}.signature p{margin:4px 0 12px}.signature.signed{background:#f1f8f2;border-color:#bed8c2}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.modal-body{color:#525f57}.modal-body p{margin:0 0 16px}.modal-body p:last-child{margin-bottom:0}dialog{border:1px solid #dce5dd;border-radius:14px;width:min(540px,calc(100vw - 36px));padding:24px;box-shadow:0 24px 100px #13301830;max-height:85vh;overflow:auto;color:#1d2921}dialog::backdrop{background:#12251952;backdrop-filter:blur(3px)}dialog.wide{width:min(880px,calc(100vw - 36px))}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-grid{display:grid;gap:16px}.form-grid label{display:grid;gap:7px;color:#4f5e54}.form-grid .two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{margin-top:14px;color:#a83b31}.role-option{display:flex;gap:14px;align-items:center;padding:14px;border:1px solid var(--border);border-radius:8px;background:white;width:100%;text-align:left;margin:8px 0}.role-option.selected{border-color:var(--green);background:#f0f8f1}.role-option strong{display:block;font-weight:600}.role-option span:last-child{margin-left:auto}.profile-foot{display:flex;align-items:center;justify-content:space-between;margin-top:20px;border-top:1px solid var(--border);padding-top:15px}.notification-item{padding:14px 0;border-bottom:1px solid var(--border)}.notification-item:last-child{border:0}.notification-item p{margin:0 0 5px}.notification-item time{color:var(--muted)}.preview-image{width:100%;max-height:60vh;object-fit:contain;border:1px solid #e6eae6;border-radius:8px;background:#fafafa}.preview-text{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.6 ui-monospace,monospace;max-height:55vh;overflow:auto;background:#f5f7f5;padding:18px;border-radius:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:12px 20px;background:#203c29;color:white;border-radius:9px;box-shadow:0 5px 24px #11231822;opacity:0;pointer-events:none;transition:.2s;z-index:50;max-width:calc(100vw - 40px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}.hidden{display:none!important}.filter-toggle{display:flex;gap:10px;align-items:center;margin-top:18px;color:var(--muted)}.filter-toggle input{min-height:auto;width:18px;height:18px;accent-color:var(--green)}
@media(min-width:1600px){.main{padding-top:54px}.step-card{min-height:226px}.project-table td{padding-top:25px;padding-bottom:25px}}
@media(max-width:1150px){.topbar-inner{padding:15px 28px;gap:22px}.header-nav{padding-left:22px}.main{padding:32px 28px 0}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.search-wrap{min-width:220px}.step-card{padding:18px;min-height:210px}.step-card h2{font-size:20px}.step-top{gap:6px;align-items:flex-start;flex-wrap:wrap}.footer{margin-left:28px;margin-right:28px}.detail-main+.footer{margin-left:28px;margin-right:28px}.project-table th,.project-table td{padding-left:18px;padding-right:18px}.account-tools{gap:8px}.preview-tag{display:none}}
@media(max-width:900px){.workflow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.heading-actions{max-width:260px}.page-heading .title-line{gap:10px}.page-heading{gap:16px}h1{font-size:34px}.project-table .stage-pill{border-radius:9px}.project-table td{padding-top:20px;padding-bottom:20px}.project-name{font-size:18px}.header-nav{gap:14px}.account-button .role-name{display:none}.file-action span{display:none}.confirm-group{gap:12px}.detail-actions{align-items:flex-end}.confirm-caption{max-width:300px}.signature-grid{gap:10px}.file-meta{font-size:16px}}
@media(max-width:650px){.topbar-inner{padding:12px 18px;min-height:82px;flex-wrap:wrap;gap:14px}.brand{width:117px;height:57px}.brand img{width:240px;left:-61px;top:-58px}.header-nav{order:3;width:100%;flex-basis:100%;border-left:0;border-top:1px solid var(--border);padding:12px 0 0;min-height:0}.header-nav.overview-nav{display:none}.project-switch{width:100%}.account-tools{margin-left:auto}.account-button .role-name{display:inline}.account-button{gap:7px}.demo-strip{text-align:left;font-size:16px;padding:9px 18px}.main{padding:27px 18px 0}.page-heading{display:block;margin-bottom:22px}.heading-actions{max-width:none;justify-content:space-between;margin-top:22px;flex-wrap:nowrap}.search-wrap{min-width:0;flex:1}.heading-actions .btn{padding:10px}.heading-actions .btn .new-label{display:none}h1,.detail-title h1{font-size:31px;letter-spacing:-.8px}.subtitle,.description{font-size:17px}.count{font-size:18px}.table-shell{border:0;background:none;overflow:visible}.project-table,.project-table tbody{display:block}.project-table thead{display:none}.project-table .project-row{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:10px;background:white;position:relative;padding:18px;margin-bottom:12px;gap:10px 14px}.project-table td{padding:0;border:0;display:block}.project-table td:nth-child(1),.project-table td:nth-child(2){grid-column:1/-1}.project-table td:nth-child(3):before{content:"Start date";display:block;font-size:16px;color:var(--muted);margin:6px 0 3px}.project-table td:nth-child(4):before{content:"End date";display:block;font-size:16px;color:var(--muted);margin:6px 0 3px}.project-table .arrow-cell{position:absolute;top:18px;right:18px;width:auto}.project-table .stage-pill{border-radius:30px}.project-name{font-size:20px}.workflow-title-row{display:block}.progress-block{text-align:left;display:flex;align-items:center;gap:14px;margin-top:17px}.progress-track{width:100px;margin:0}.project-dates{gap:8px 18px;display:flex}.project-dates .btn{padding:4px 0;min-height:32px}.workflow-grid{grid-template-columns:1fr 1fr;gap:12px}.step-card{padding:16px 14px;min-height:222px}.step-top{display:block;margin-bottom:14px}.step-number{display:block;margin-bottom:10px}.step-card h2{font-size:18px;letter-spacing:-.3px;padding:0}.step-card .status-pill{padding:3px 9px}.step-card .chevron{display:none}.step-card .owners,.step-card .confirmation{padding:0}.step-card .confirmation{overflow-wrap:anywhere}.panel{padding:16px}.panel-title{margin-bottom:14px}.panel-title .btn{padding:9px 12px}.drop-zone{gap:8px;align-items:flex-start;flex-direction:column;align-items:center;padding:14px}.file-row{flex-wrap:wrap;gap:12px}.file-thumb{width:52px;height:50px}.file-info{width:calc(100% - 64px);flex:auto}.file-actions{margin-left:60px;margin-top:-7px}.file-action span{display:inline}.file-actions .file-action{padding:6px}.file-actions .file-protected{margin:0 2px}.file-action .icon{width:18px}.file-meta{line-height:1.4}.detail-actions{flex-wrap:wrap;align-items:stretch}.confirm-group{display:contents}.confirm-caption{order:-1;max-width:none;flex-basis:100%;text-align:left}.detail-actions>.btn,.confirm-group>.btn{flex:1}.detail-actions .btn{padding:10px}.step-eyebrow{gap:12px}.footer{margin:28px 18px 0;padding-top:16px;flex-direction:column;gap:4px}.detail-main+.footer{margin:18px}.signature-grid{grid-template-columns:1fr}.signature{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.signature p{margin:0}.form-grid .two-cols{grid-template-columns:1fr}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1}.notes-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.folder-preview{border-left:3px solid #b4d4ba;background:#f3f8f4;border-radius:5px;padding:12px 14px}.folder-preview strong{display:block;overflow-wrap:anywhere;margin:3px 0 5px}.folder-preview p{margin:0;font-size:16px}

button:disabled{background:#eceff0!important;color:#858d96!important;border-color:#dce1e2!important;opacity:1;cursor:not-allowed}input:disabled,textarea:disabled{background:#eceff0;color:#7f8992;cursor:not-allowed}.step-locked{background:#f3f4f5;border-color:#e0e4e7;color:#8a9198}.step-locked h2,.step-locked .muted,.step-locked .file-meta,.step-locked .file-name,.step-locked .history{color:#8a9198}.step-locked .drop-zone{background:#eceff0;color:#899299;border-color:#d1d8dc}.step-locked .file-thumb{filter:grayscale(1);opacity:.55}.stage-lock-notice{display:flex;align-items:center;gap:10px;background:#f0f2f3;color:#63717b;border:1px solid #dfe4e7;border-radius:8px;padding:12px 15px;margin:12px 0 0}

/* Card links and finance controls are siblings, so checking a status never opens a step. */
.step-card-link{display:flex;flex-direction:column;flex:1;min-width:0}.step-card-link:after{content:"";position:absolute;inset:0;border-radius:var(--radius)}.step-card-link:focus-visible{outline:0}.step-card-link:focus-visible:after{outline:3px solid #5cac70;outline-offset:4px}.step-card:has(.finance-checklist) .chevron{bottom:auto;top:23px;right:12px;display:none}
.finance-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;position:relative}.finance-checklist.compact{grid-template-columns:1fr;gap:2px;padding-top:10px;margin-top:12px;border-top:1px solid #e0e8e1;z-index:1}.finance-check{min-width:0}.finance-check label{display:flex;align-items:center;gap:9px;min-height:34px;font-size:16px;line-height:1.4;cursor:pointer}.finance-check input{width:18px;height:18px;min-height:18px;padding:0;margin:0;flex-shrink:0;accent-color:var(--green);cursor:inherit}.finance-check label.readonly{color:#818a84;cursor:not-allowed}.finance-check-meta{font-size:16px;color:var(--muted);margin:4px 0 0 27px}.finance-hint{margin:13px 0 0;font-size:16px}.step-locked .finance-check label,.step-locked .finance-check-meta{color:#8a9198}
@media(max-width:650px){.finance-checklist{grid-template-columns:1fr;gap:12px}.finance-checklist.compact{gap:5px}.finance-checklist.compact label{align-items:flex-start;min-height:40px}.finance-checklist.compact input{margin-top:2px}.finance-check-meta{margin-left:27px}}

/* Step details show concise bullets; long stage titles wrap within cards. */
.description-list{padding-left:1.2em}.description-list li+li{margin-top:3px}.step-card h2{overflow-wrap:anywhere}
.file-toolbar{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.folder-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;flex-wrap:wrap}.folder-trail{display:flex;flex-wrap:wrap;gap:6px 9px;list-style:none;margin:0;padding:0;min-width:0;flex:1}.folder-trail li{display:flex;align-items:baseline;gap:9px;min-width:0;max-width:100%;font-size:16px;color:var(--muted);overflow-wrap:anywhere}.folder-trail [aria-current]{color:#38483d}.folder-crumb{font:inherit;color:var(--green-dark);border:0;background:transparent;padding:5px 0;min-height:36px;text-align:left;overflow-wrap:anywhere}.folder-crumb:hover{text-decoration:underline}.folder-up{font-size:16px}.folder-list:empty{display:none}.folder-row{display:flex;align-items:center;gap:14px;text-align:left;width:100%;min-width:0;border:0;border-bottom:1px solid var(--border);padding:16px 10px;background:transparent;font-size:16px}.folder-row:hover:not(:disabled){background:#f3f8f4}.folder-row>.icon{flex-shrink:0;color:var(--green-dark)}.folder-info{flex:1;min-width:0;overflow-wrap:anywhere}.folder-info strong{display:block;font-weight:550}.folder-info>span{display:block;color:var(--muted);margin-top:3px}.folder-modal-location{overflow-wrap:anywhere;font-size:16px}.step-locked .folder-row>.icon{color:#899299}
@media(max-width:650px){.files-panel-title{align-items:flex-start;flex-wrap:wrap}.file-toolbar{justify-content:flex-start;gap:8px}.folder-navigation{align-items:flex-start}.folder-up{padding:6px 10px}.folder-row{padding-left:0;padding-right:0}}
/* Accepted project names must fit narrow views even without word breaks. */
.workflow-title-row>div:first-child{min-width:0;flex:1}.project-context{min-width:0;flex-wrap:wrap}.project-context strong{min-width:0;max-width:100%;overflow-wrap:anywhere}.project-link{max-width:100%;min-width:0;overflow-wrap:anywhere}.project-table td{min-width:0}
@media(max-width:650px){.project-table .project-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.file-actions{margin-left:0;max-width:100%;min-width:0;flex-wrap:wrap}.panel[data-panel="notes"] .panel-title{flex-wrap:wrap;align-items:flex-start}}
.folder-entry{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--border);min-width:0}.folder-entry .folder-row{flex:1;min-width:0;width:auto;border-bottom:0}.folder-delete-control{flex-shrink:0}.folder-entry .folder-row>.icon:last-child{display:none}

/* Shared workspace authentication and account controls. */
.auth-main{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;background:linear-gradient(145deg,#f1f7f2,#fafbfa 50%)}.auth-card{width:min(100%,470px);padding:34px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 15px 45px #294b3210}.auth-card>.brand{margin:0 auto 14px}.auth-card>.badge-soft{display:table;margin:0 auto 24px}.auth-card h1{font-size:32px;letter-spacing:-.8px}.auth-card .subtitle{margin:10px 0 26px}.auth-card input,.auth-card select,.form-grid input,.form-grid textarea,.form-grid select{min-width:0;width:100%}.auth-link{display:block;margin:20px auto 0;min-height:44px}.auth-footer{color:var(--muted);text-align:center;margin-top:22px}.password-hint{font-size:16px;margin:0}.account-options{display:grid;gap:12px;margin-top:20px}.account-email{overflow-wrap:anywhere}.reset-code{font-family:ui-monospace,monospace;font-size:16px;overflow-wrap:anywhere;resize:none;width:100%}.note-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.note-actions{display:flex;gap:4px}.is-busy{cursor:progress}.is-busy button,.is-busy input,.is-busy select,.is-busy textarea{pointer-events:none}.is-busy button[type="submit"],.is-busy .modal-actions button{opacity:.65}.drop-zone[aria-disabled="true"]{color:#748078;background:#f5f7f5}.modal-body .form-error{margin-top:14px}.modal-body label p{margin:0}.account-tools{gap:10px}.auth-card .form-error:empty{display:none}
@media(max-width:650px){.auth-main{justify-content:flex-start;padding:28px 18px}.auth-card{padding:26px 22px}.account-tools{gap:4px}.account-button .role-name{display:none}.auth-card h1{font-size:30px}.note-heading{align-items:flex-start}.note-actions{margin-left:auto}.notes-header{gap:7px}.panel[data-panel="notes"] .panel-title{flex-wrap:wrap;align-items:flex-start}}

/* Phase07: file transfers stay visible across live updates and folder navigation. */
.live-status{display:inline-flex;align-items:center;gap:7px;color:#65726a;font-size:16px;white-space:nowrap}.live-status:before{content:"";width:9px;height:9px;border-radius:50%;background:#bd922f;flex-shrink:0}.live-status.live{color:var(--green-dark)}.live-status.live:before{background:var(--green)}.live-status.offline:before{background:#a33d32}.drop-zone small{display:block;font-size:16px;margin-top:5px}.file-preview-frame{display:block;width:100%;height:58vh;border:1px solid var(--border);border-radius:8px;background:#fafafa}.file-actions{flex-wrap:wrap;justify-content:flex-end}.file-action{font-size:16px;white-space:nowrap;text-decoration:none;cursor:pointer}.upload-list:empty{display:none}.upload-item{background:#f6f9f6;border:1px solid #dce7de;border-radius:8px;padding:14px;margin:12px 0}.upload-heading,.upload-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.upload-heading strong{font-weight:550;overflow-wrap:anywhere;min-width:0}.upload-heading>span{flex-shrink:0;color:var(--muted);font-size:16px}.upload-item progress{display:block;width:100%;height:8px;margin:12px 0;accent-color:var(--green);border:0;border-radius:5px;overflow:hidden;background:#e2e9e2}.upload-item progress::-webkit-progress-bar{background:#e2e9e2}.upload-item progress::-webkit-progress-value{background:var(--green)}.upload-footer>.muted{overflow-wrap:anywhere;min-width:0;font-size:16px}.upload-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.upload-item .form-error{font-size:16px;margin:10px 0 0}.dialog-update{font-size:16px;margin:-2px 0 18px;display:block}.dialog-update .btn{margin-top:5px;padding-left:0;display:block}
@media(max-width:900px){.file-actions{max-width:100%}.file-actions .file-action span{display:none}}
@media(max-width:650px){.live-status{font-size:16px;max-width:105px;white-space:normal}.upload-heading,.upload-footer{align-items:flex-start;flex-wrap:wrap}.upload-actions{margin-left:auto}.file-actions{margin-left:0;gap:2px}.file-actions .file-action span{display:inline}.account-tools{gap:6px}.file-actions .file-action{padding:8px 6px}.file-row{align-items:flex-start}.file-preview-frame{height:50vh}}
.storage-notice{margin:0 0 16px;padding:12px 14px;border:1px solid #e6d6ad;background:#fffbef;border-radius:8px;font-size:16px;color:#735d27}.storage-notice summary{cursor:pointer}.storage-notice p{margin:10px 0 5px}.storage-notice ul{padding-left:22px;margin-bottom:0;overflow-wrap:anywhere}.dialog-latest{margin:8px 0 0!important;line-height:1.6}
/* PDF pages render locally on a bounded canvas instead of a browser PDF plugin. */
.pdf-preview{min-width:0}.pdf-preview>p{font-size:16px;text-align:center;padding:12px}.pdf-canvas-wrap{width:100%;max-height:58vh;overflow:auto;border:1px solid var(--border);border-radius:8px;background:#eef1ef;min-height:40px}.pdf-canvas-wrap canvas{display:block;width:100%;height:auto;max-width:100%;margin:0 auto;background:white}.pdf-canvas-wrap canvas[hidden]{display:none}.pdf-page-controls{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:16px;font-size:16px}.preview-image{display:block;width:auto;height:auto;max-width:100%;max-height:60vh;object-fit:contain;margin:0 auto}
@media(max-width:650px){.pdf-page-controls{gap:10px;flex-wrap:wrap}.pdf-page-controls .btn{padding:8px 12px}}

/* Email delivery history stays in the account dialog and has no send controls. */
.email-mode{padding:12px 14px;background:#f3f8f4;border:1px solid #dce8de;border-radius:8px;font-size:16px;line-height:1.5}.email-counts{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:16px;margin-bottom:16px}.email-counts span{white-space:nowrap}.email-history-caption{font-size:16px;line-height:1.5}.email-record{border:1px solid var(--border);border-radius:8px;margin-top:12px;overflow:hidden;min-width:0}.email-record>summary{display:flex;align-items:flex-start;gap:14px;padding:16px;cursor:pointer;list-style:none}.email-record>summary::-webkit-details-marker{display:none}.email-record>summary:before{content:'›';font-size:22px;line-height:1.2;color:var(--muted);flex-shrink:0}.email-record[open]>summary:before{transform:rotate(90deg)}.email-record>summary:focus-visible{outline:3px solid #5cac70;outline-offset:-3px}.email-summary{flex:1;min-width:0;overflow-wrap:anywhere}.email-summary strong{display:block;color:#253b2b;font-size:17px;font-weight:600;line-height:1.45}.email-summary>span{display:block;color:var(--muted);font-size:16px;line-height:1.5;margin-top:5px}.email-status{flex-shrink:0;font-size:16px;line-height:1.5;padding:3px 9px;border-radius:6px;background:#edf0ee;color:#57635a}.email-status-sent{background:#edf7ef;color:#276337}.email-status-failed,.email-status-review{background:#fff1ee;color:#a24131}.email-status-retry{background:#fff7e3;color:#80612a}.email-record-content{padding:0 16px 16px;font-size:16px;overflow-wrap:anywhere;line-height:1.6}.email-message{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:#273b2e}.email-delivery-meta{color:var(--muted);margin-top:12px}.email-delivery-meta p{margin:0 0 5px}.email-error{color:#a24131}
@media(max-width:650px){.email-record>summary{flex-wrap:wrap;gap:8px 10px;padding:13px}.email-summary{flex-basis:calc(100% - 25px)}.email-status{margin-left:19px}.email-record-content{padding:0 13px 13px}.email-message{padding:13px 0}.email-counts{gap:6px 12px}}

/* System identity keeps the original company logo and its existing header width. */
.system-brand{display:flex;flex-direction:column;align-items:center;gap:6px;flex-shrink:0;width:230px;max-width:100%}.system-name{font-size:16px;line-height:1.35;font-weight:600;color:var(--muted);text-align:center;max-width:230px;overflow-wrap:break-word}.auth-system-name{margin:0 0 16px;text-align:center;font-size:18px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.footer>span{min-width:0;overflow-wrap:anywhere}.footer>span:last-child{text-align:right}@media(max-width:650px){.footer>span:last-child{text-align:left}}

/* Full system name and explicit account/role controls stay readable on narrow screens. */
.role-switch{display:flex;flex-direction:column;gap:2px;min-width:118px}.role-switch>span{font-size:16px;color:var(--muted)}.role-switch select{padding:7px 30px 7px 10px;min-height:44px}.role-switch select:disabled{background:#f2f3f2;color:#70786f;cursor:not-allowed}.header-nav{min-width:0}.account-tools{flex-shrink:0}.auth-system-name{font-size:18px}@media(max-width:1100px){.topbar-inner{flex-wrap:wrap}.system-brand{margin-right:auto}.header-nav{order:3;width:100%;flex-basis:100%;border-left:0;border-top:1px solid var(--border);padding:12px 0 0}.header-nav.overview-nav{display:none}.project-switch{width:100%}}@media(max-width:650px){.system-brand{margin:0 auto;width:230px}.account-tools{width:100%;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:0}.role-switch{width:100%;flex-direction:row;align-items:center;gap:12px;margin-right:0}.role-switch select{flex:1;min-width:96px}.account-tools .live-status{display:none}.account-button{margin-left:auto}.account-button .role-name{display:inline}}

/* Imported engineering progress is a reference, separate from workflow confirmation. */
.recorded-progress{display:block;margin-top:6px;color:var(--muted,#687386);font-size:16px;line-height:1.4;}
