/* Additional responsive workflow styles; the existing document portal is the visual system. */
[data-office-page] [hidden]{display:none!important}
.office-stage-nav{display:flex;list-style:none;padding:0;gap:8px;margin:0 0 24px;flex-wrap:wrap}
.office-stage-nav li{display:flex;gap:8px;align-items:center;min-width:0;padding:9px 13px;border:1px solid var(--doc-border,#d9e7e2);border-radius:10px;color:#536d65;background:#f7faf8;font-size:13px;line-height:1.4}
.office-stage-nav li>span{min-width:0;overflow-wrap:anywhere}
.office-stage-nav li[aria-current=step]{background:#e8f5ef;border-color:#9bc8b7;color:#126b54;font-weight:750}
.office-stage-nav b{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:7px;background:#e3eee8;font-size:12px;font-variant-numeric:tabular-nums}
.office-stage-nav li[aria-current=step] b{color:#fff;background:#148064}
.office-stage-panel{margin-block:24px;min-width:0;overflow-wrap:anywhere}
.office-stage-panel .office-job{margin-top:0}
.office-stage-panel .office-service{margin-top:0}
.office-stage-panel h2{line-height:1.25}
.office-stage-panel .office-result-name{font-weight:750;color:#204c3c;word-break:break-word}
.office-progress-caption{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.office-progress-caption p{margin:0;font-size:14px;color:#355c4d;font-variant-numeric:tabular-nums}
.office-progress-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:20px 0}
.office-progress-list li{position:relative;padding:12px 14px 12px 44px;border:1px solid #dbe7df;border-radius:10px;background:#fff;min-width:0}
.office-progress-list li::before{content:attr(data-office-step);position:absolute;left:12px;top:13px;display:grid;place-items:center;width:22px;height:22px;background:#edf2ef;color:#5f756a;border-radius:50%;font-weight:800;font-size:12px}
.office-progress-list strong{display:block;font-size:14px;color:#244b3c}
.office-progress-list span{display:block;font-size:12px;color:#687d72}
.office-progress-list li[data-state=done]{background:#f0f8f3;border-color:#c5dfce}
.office-progress-list li[data-state=done]::before{content:'✓';background:#1d825e;color:white}
.office-progress-list li[data-state=active]{border-color:#69a88d;background:#f5faf7}
.office-progress-list li[data-state=active]::before{background:#d8eee1;color:#126644}
.office-progress-note{max-width:70ch;margin-top:12px!important;font-size:13px!important;color:#60766b!important}
.office-upload-progress{margin-top:18px}
.office-upload-progress p{margin:0;font-size:13px;font-variant-numeric:tabular-nums}
.office-stage-panel .office-actions{margin-bottom:0}
.office-stage-panel .office-actions a{max-width:100%;white-space:normal}
.office-stage-panel .office-countdown{font-variant-numeric:tabular-nums;font-weight:800;font-size:19px;color:#236347}
.office-stage-panel .doc-progress-fill{transition:width .25s ease}
.office-stage-title{display:flex;flex-direction:column;gap:5px;margin-bottom:20px}
.office-stage-title h2{margin:0}
.office-stage-title p{margin:0;color:#60766b;font-size:14px}
.office-stage-help{margin-block:24px}
.office-stage-help h2{font-size:21px}
.office-stage-help p{font-size:14px}
.office-convert-statusbar{margin:20px 0;padding:18px 20px;border:1px solid #c7dfd3;border-radius:12px;background:#f2f9f5;min-width:0}
.office-convert-statusbar p{margin:0 0 12px;color:#245840;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.office-convert-statusbar [role=progressbar]{position:relative;height:9px;overflow:hidden;border-radius:9px;background:#d8e9df}
.office-convert-statusbar [role=progressbar]::after{content:'';position:absolute;inset:0 auto 0 -40%;width:40%;border-radius:inherit;background:#218064;animation:office-convert-sweep 1.8s ease-in-out infinite}
@keyframes office-convert-sweep{to{transform:translateX(350%)}}
@media(max-width:680px){
 .office-stage-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:18px}
 .office-stage-nav li{padding:8px 9px;flex:1 1 90px;font-size:12px;gap:6px}
 .office-stage-nav b{width:20px;height:20px;flex-basis:20px}
 .office-progress-list{grid-template-columns:1fr}
 .office-stage-panel .office-actions{align-items:stretch}
 .office-stage-panel .office-actions a,.office-stage-panel .office-actions button{width:100%}
 .office-stage-panel .office-job{padding:16px}
 .office-stage-panel .office-countdown{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.office-stage-panel .doc-progress-fill{transition:none}.office-convert-statusbar [role=progressbar]::after{animation:none;left:20%;width:60%;background:repeating-linear-gradient(110deg,#218064 0 10px,#65a98b 10px 20px)}}
