/* Application chrome only; document paper and preserved releases remain independent. */
.owner-workspace .status-badge{white-space:nowrap;flex-shrink:0}
.owner-workspace .workspace{min-width:0}
.owner-workspace #progressView .progress-control-header{background:none;border:0;border-radius:0;padding:0;margin-bottom:28px;box-shadow:none}
.owner-workspace .sidebar>.document-actions,.owner-workspace .sidebar>.document-list,.owner-workspace .sidebar>label,.owner-workspace .topbar .segmented-control{display:none!important}
.owner-workspace[data-view=documents] .owner-top-status{display:flex}
.owner-workspace .topbar{display:flex;flex-wrap:nowrap;flex-direction:row;min-height:66px}
.owner-workspace .workspace :is(button,.file-button,.pw-button){font-weight:500;box-shadow:none}
.owner-workspace .workspace :is(button,.file-button,.pw-button):not(.dh-create):not(.primary-action):not([aria-selected=true]):not(.active){border-color:#e3e9ed}
.owner-workspace .workspace .primary-action{background:#187c72;border-color:#187c72;color:white;border-radius:8px}
.owner-workspace .workspace :is(input,select,textarea){border:1px solid #dfe6eb;border-radius:8px;background:#fff;color:#33445b;font-size:13px;min-height:40px;box-shadow:none;padding:10px 12px;max-width:100%}
.owner-workspace .workspace :is(input,select,textarea):focus{outline:2px solid #88beb2;outline-offset:1px;border-color:#549c8d}
.owner-workspace .workspace label{font-size:12px;color:#66778b;gap:8px;min-width:0}
.owner-workspace .workspace [hidden]{display:none!important}
.owner-workspace .workspace .panel-section{border:1px solid #e5ebf0;border-radius:12px;background:#fff;box-shadow:none;padding:24px;min-width:0}
.owner-workspace .workspace .section-heading{margin-bottom:18px;gap:14px;flex-wrap:wrap}
.owner-workspace .workspace .section-heading h2{font-size:15px;font-weight:600;color:#34465d}
.owner-workspace .workspace .inline-actions{gap:8px;flex-wrap:wrap}
.owner-workspace .workspace .inline-actions button{font-size:12px;min-height:36px}
.owner-workspace .workspace :is(button,a,summary):focus-visible{outline:3px solid #5cad9c;outline-offset:3px}
.ws-page,.owner-workspace #documentsView,.owner-workspace #pdfsView,.owner-workspace #mastersView,.owner-workspace #settingsView,.owner-workspace #progressView{max-width:1510px;margin:0 auto;padding:34px 38px 40px;box-sizing:border-box}
.ws-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 26px}
.ws-heading h1{font-size:25px;font-weight:700;color:#23334a;margin:5px 0 9px;line-height:1.5;overflow-wrap:anywhere}
.ws-heading p{font-size:12px;line-height:1.8;color:#738197;margin:0}
.ws-heading .ws-eyebrow,.ws-eyebrow{font-size:10px;letter-spacing:.1em;color:#7e8d9f;margin:0 0 6px}
.ws-heading>button{white-space:nowrap;padding:12px 18px;font-size:12px}
.ws-tabs{display:flex;gap:26px;border-bottom:1px solid #e0e7ed;margin-bottom:22px;overflow:auto}
.ws-tabs button{border:0;border-radius:0;padding:13px 0;background:transparent;font-size:12px;color:#7b889a;white-space:nowrap;border-bottom:2px solid transparent}
.ws-tabs button[aria-pressed=true]{color:#187c72;border-bottom-color:#187c72;font-weight:600}
.ws-tabs button span{padding:3px 7px;font-size:10px;background:#edf1f5;border-radius:5px;margin-left:8px}
.ws-tabs button[aria-pressed=true] span{color:#187c72;background:#e5f2ed}
.ws-filters{display:flex;gap:14px;align-items:end;margin-bottom:22px;flex-wrap:wrap}
.ws-filters>label{display:grid;gap:8px;min-width:145px;flex:1}
.ws-filters .ws-search{flex:2}.ws-filters select{width:100%;text-overflow:ellipsis}
.ws-filters label:has(#libraryProject){max-width:320px}
.ws-card{background:white;border:1px solid #e5ebf0;border-radius:12px;min-width:0;overflow:hidden}
.ws-list-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px 24px;border-bottom:1px solid #edf1f5}
.ws-list-heading h2,.ws-card>h2{font-size:14px;color:#34465d;margin:0;font-weight:600}
.ws-list-heading>span{font-size:11px;color:#7e8d9e}.ws-list-heading p{font-size:11px;color:#8793a3;margin:7px 0 0;overflow-wrap:anywhere}
.ws-table-wrap{overflow:auto}.ws-table{border-collapse:collapse;width:100%;text-align:left}
.ws-table th{background:#fafbfd;padding:13px 22px;font-size:10px;font-weight:500;color:#7a889b;white-space:nowrap;border-bottom:1px solid #edf1f5}
.ws-table td{padding:19px 22px;border-bottom:1px solid #edf1f5;font-size:12px;color:#4d5e74;vertical-align:middle}
.ws-table tr:last-child td{border:0}.ws-table tbody tr:hover{background:#fafcfb}
.ws-table small{display:block;font-size:10px;color:#7b899b;margin-top:6px;line-height:1.6}
.ws-document-title{display:flex;align-items:center;gap:12px;min-width:245px;max-width:440px}
.ws-document-title>div{min-width:0}.ws-file-icon{flex-shrink:0;width:35px;height:40px;display:grid;place-items:center;border-radius:8px;color:#6b9f92;background:#edf5f2}.ws-file-icon svg{width:18px;height:18px}
.ws-title-link{padding:0;border:0;background:none;text-align:left;font-size:12px;font-weight:600!important;color:#374b64;line-height:1.7;min-height:0}
.ws-title-link:hover{color:#187c72}.ws-money{font-variant-numeric:tabular-nums;white-space:nowrap}
.ws-badge{display:inline-block;white-space:nowrap;font-size:10px;color:#337d6b;background:#eaf4ef;border-radius:5px;padding:6px 9px;font-weight:500}
.ws-badge.muted{color:#8490a0;background:#f1f4f7}.ws-badge.draft{color:#8b7f9d;background:#f3eff8}
.ws-delivery{font-size:10px;white-space:nowrap}.ws-open{border:0;background:none;color:#7d9b96;padding:7px}.ws-open svg{width:16px;height:16px}
.ws-empty{padding:50px!important;text-align:center;color:#8895a5!important}.ws-note{font-size:11px;color:#7b8a9c;line-height:1.9;margin:17px 0}
@media(max-width:520px){.ws-tabs{flex-wrap:wrap!important;gap:8px!important;border:0;overflow:visible}.ws-tabs button{padding:9px 11px;background:#edf2f5;border:0;border-radius:6px}.ws-tabs button[aria-pressed=true]{background:#e5f2ed}.ws-tabs button span{margin-left:5px}.ws-filters>label{flex:1 1 calc(50% - 8px)}.ws-filters>.ws-search{flex-basis:100%!important}}
@media(max-width:520px){#libraryView .ws-table,#libraryRows{display:block;width:100%}#libraryView thead{display:none}#libraryRows tr{display:grid;grid-template-columns:1fr 1fr;padding:15px 0;border-bottom:1px solid #e8edf2}#libraryRows td{display:block;padding:9px 18px;border:0}#libraryRows td:first-child{grid-column:1/-1;padding-bottom:13px}#libraryRows td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:#8491a1;margin-bottom:8px}#libraryRows td:last-child:not(:first-child){display:none}#libraryRows .ws-document-title{min-width:0;max-width:none;align-items:flex-start}.owner-workspace #settingsView .two-col{grid-template-columns:1fr}}
.ws-editor-header .ws-heading{margin-top:20px;margin-bottom:20px}.ws-back{background:none;border:0;color:#718597;padding:0;font-size:11px}
.ws-editor-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.ws-editor-tabs button{font-size:12px;color:#718396;background:#edf2f5;border:0;padding:9px 15px}.ws-editor-tabs button[aria-pressed=true]{background:#e5f2ed;color:#187c72}
.ws-editor-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:13px 18px;background:#fff;border:1px solid #e5ebf0;border-radius:10px;margin-bottom:22px;position:relative;z-index:3}
.ws-editor-toolbar .topbar-actions{display:flex!important;flex-wrap:wrap;gap:10px;align-items:center}.ws-editor-toolbar button{font-size:12px;min-height:36px}.ws-editor-toolbar .save-status{font-size:10px}.ws-manage{position:relative;font-size:12px;white-space:nowrap}.ws-manage summary{cursor:pointer;color:#718295}.ws-manage .document-actions{display:grid!important;position:absolute;right:0;top:30px;background:white;border:1px solid #e1e7ed;box-shadow:0 8px 30px #23344a15;min-width:170px;padding:12px;border-radius:9px}
.owner-workspace[data-document-mode=review] #documentsView>.editor-layout,.owner-workspace[data-document-mode=review] .ws-editor-toolbar{display:none!important}
.owner-workspace[data-document-mode=edit] #documentReview{display:none}
.owner-workspace #documentsView .editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:24px;align-items:start}
.owner-workspace #documentForm{display:flex;flex-direction:column;gap:20px;padding:0;background:none;border:0;min-width:0;overflow:visible;max-height:none}
.owner-workspace #documentForm>.project-identity{display:none}.owner-workspace #documentForm .panel-section{margin:0}
.ws-form-title{grid-column:1/-1;font-size:15px;color:#34465d;margin:0 0 6px;font-weight:600}
.ws-billing-fields{grid-column:1/-1;display:grid;gap:16px;padding-top:10px;border-top:1px solid #edf1f5}
.ws-form-details{border:1px solid #e5ebf0;border-radius:10px;background:#fff;overflow:hidden}.ws-form-details>summary{padding:19px 23px;cursor:pointer;font-size:13px;color:#5f7188}.owner-workspace .ws-form-details>.panel-section{border:0!important;border-radius:0}
.owner-workspace #documentsView .preview-panel{background:#eaf0f3;border:1px solid #e2e8ed;border-radius:12px;padding:18px;min-width:0;position:sticky;top:86px;overflow:auto;max-height:calc(100dvh - 105px)}
.ws-preview-label{font-size:10px;color:#75869a;padding:0 0 14px}.owner-workspace #documentsView .preview-panel>.document-preview{margin:0 auto}
.owner-workspace #documentForm .item-row{border:1px solid #e6ecf1;border-radius:10px;padding:15px;gap:10px;background:#fafcfd;grid-template-columns:repeat(3,minmax(0,1fr))}
.owner-workspace #documentForm .item-row>label:first-child{grid-column:1/-1}.owner-workspace #documentForm .item-profit{grid-column:1/-1;font-size:11px}.owner-workspace #documentForm .cost-summary{border:1px solid #e2ece7;background:#f5faf7;border-radius:9px;padding:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.owner-workspace #documentForm .cost-summary strong{font-size:17px}.owner-workspace #documentForm .cost-summary p{font-size:10px}
.owner-workspace #documentForm .final-pdf-control{padding:22px;background:#fff;border:1px solid #e5ebf0;border-radius:10px;overflow-wrap:anywhere}
.ws-review-summary{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.ws-review-summary>.ws-card{padding:25px}.ws-review-summary h2{font-size:14px;margin:0 0 22px;color:#3c5068}.ws-review-summary dl{margin:0}.ws-review-summary dl>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;font-size:12px;border-bottom:1px solid #f0f3f6}.ws-review-summary dt{color:#7c8a9b}.ws-review-summary dd{margin:0;color:#40566f;text-align:right}.ws-review-summary dd.ws-review-amount{font-size:24px;font-weight:600}.ws-review-summary button{margin-top:20px;font-size:12px}.ws-saved-pdf iframe{display:block;width:100%;height:800px;border:0;background:#eef2f5}.ws-review>.ws-card>h2{padding:24px}
.owner-workspace #pdfsView .pdf-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.owner-workspace #pdfsView .metric{padding:20px 24px;border:1px solid #e5ebf0;border-radius:12px;background:#fff;box-shadow:none}.owner-workspace #pdfsView .metric:after{display:none}.owner-workspace #pdfsView .metric span{font-size:11px;color:#7b899a}.owner-workspace #pdfsView .metric strong{font-size:26px;color:#354a62;font-weight:600}.owner-workspace #pdfsView .metric small{font-size:10px;color:#8693a3}
.owner-workspace #pdfsView .pdf-toolbar{margin-bottom:14px;padding:18px 22px}.ws-pdf-filters{max-width:800px}.owner-workspace #pdfsView .pdf-library-layout{grid-template-columns:minmax(290px,.85fr) minmax(0,1.45fr);gap:24px;align-items:start}.owner-workspace #pdfsView .pdf-library-card{background:#fff;border:1px solid #e8edf2;border-radius:8px;box-shadow:none;padding:17px 14px;gap:12px}.owner-workspace #pdfsView .pdf-library-card.active{border-color:#7fb6a7;background:#f4faf7}.owner-workspace #pdfsView .pdf-file-icon{background:#f5efed;color:#bc8a7a;border:0;width:34px;height:41px;font-size:9px;border-radius:6px}.owner-workspace #pdfsView .pdf-card-main strong{font-size:12px}.owner-workspace #pdfsView .pdf-card-subject{font-size:11px;line-height:1.7}.owner-workspace #pdfsView .pdf-card-meta,.owner-workspace #pdfsView .pdf-card-date{font-size:10px;color:#7a8a9c}.owner-workspace #pdfsView .pdf-detail-header h2{font-size:17px;line-height:1.7;color:#354b64}.owner-workspace #pdfsView .pdf-detail-header p{font-size:12px;color:#7a8a9b}.owner-workspace #pdfsView .pdf-detail-actions{gap:8px;flex-wrap:wrap}.owner-workspace #pdfsView .pdf-detail-actions button{font-size:11px;min-height:35px}.owner-workspace #pdfsView .pdf-detail-meta{font-size:11px}.owner-workspace #pdfsView .pdf-detail-panel{position:sticky;top:85px}.owner-workspace #pdfsView .pdf-preview-frame{height:650px}.ws-pdf-manage{margin-top:18px;font-size:11px;color:#8a97a7}.ws-pdf-manage summary{cursor:pointer}.ws-pdf-manage button{margin-top:12px}
.owner-workspace #projectWorkspace{padding-top:27px}.owner-workspace .pw-toolbar{margin-bottom:24px;font-size:10px}.owner-workspace .pw-toolbar button{font-size:10px;padding:5px 10px;min-height:27px}.owner-workspace .pw-tabs{gap:24px;padding:0;border-color:#e0e7ed}.owner-workspace .pw-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;color:#79879b;padding:13px 0;background:none;font-size:12px}.owner-workspace .pw-tabs button[aria-selected=true]{background:transparent;color:#187c72;border-bottom-color:#187c72}.owner-workspace .pw-panel{background:#fff;border:1px solid #e5ebf0;border-radius:12px;padding:24px}.owner-workspace .pw-panel h3{font-size:15px;color:#425871;margin-top:28px}.owner-workspace .pw-panel p{font-size:12px;line-height:1.8;color:#78879a}.owner-workspace .pw-document-row{padding:21px 0;gap:20px;flex-wrap:wrap}.owner-workspace .pw-document-row strong{font-size:12px;color:#405671}.owner-workspace .pw-document-row span{font-size:12px;line-height:1.8;margin-top:7px;color:#6d8097}.owner-workspace .pw-document-row small{font-size:10px}.owner-workspace .pw-actions button,.owner-workspace .pw-button{font-size:11px;min-height:33px;padding:8px 12px}.owner-workspace .pw-notice{font-size:11px;background:#fbf5e9;color:#a08046;padding:14px 18px;border:1px solid #f0e5cb}.owner-workspace .pw-history{font-size:12px;line-height:1.9;padding:18px;border-bottom:1px solid #edf1f5}.owner-workspace .pw-history time{font-size:10px;color:#8797a8}.owner-workspace .pw-dialog{border:1px solid #e1e8ec;border-radius:16px;box-shadow:0 20px 80px #1b34412b}.owner-workspace .pw-dialog h2{font-size:20px}.owner-workspace .pw-dialog label{font-size:12px}
.owner-workspace #progressView .progress-control-header h2{font-size:25px;color:#23334a}.owner-workspace #progressView .progress-control-header p{font-size:12px;color:#7c8b9d}.owner-workspace #progressView .eyebrow{font-size:10px;color:#8090a2;letter-spacing:.1em}.owner-workspace #progressView .dashboard-grid{gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.owner-workspace #progressView .metric{background:white;border:1px solid #e5ebf0;border-radius:12px;padding:22px;box-shadow:none}.owner-workspace #progressView .metric span{font-size:11px;color:#7c8a9a}.owner-workspace #progressView .metric strong{font-size:25px;font-weight:600;color:#3d536e}.owner-workspace .progress-portfolio-card{border:1px solid #e5ebf0;border-radius:12px;padding:26px;box-shadow:none}.owner-workspace .progress-portfolio-card h3{font-size:18px;color:#3c526c}.owner-workspace .progress-money-grid strong{font-size:23px;color:#425a71;font-weight:600}.owner-workspace .progress-track{height:7px;border-radius:8px;background:#edf2f5}.owner-workspace .progress-track>span{background:#559d89}.owner-workspace .progress-invoice-history button{font-size:12px}
.owner-workspace .masters-layout{gap:24px;align-items:start}.ws-master-search{width:100%;margin-bottom:18px}.owner-workspace .master-list{gap:10px;max-height:650px;overflow:auto}.owner-workspace .master-list>button,.owner-workspace .master-row{border:1px solid #e6ecf1;border-radius:8px;background:#fafcfd;padding:13px 15px}.owner-workspace .master-row>button{background:none;border:0;padding:0}.owner-workspace .master-list strong{font-size:12px;font-weight:600;line-height:1.8}.owner-workspace .master-list span{font-size:11px;color:#7d8c9e;line-height:1.8}.owner-workspace .settings-grid{gap:24px;align-items:start}.owner-workspace .settings-grid>.panel-section{height:100%;box-sizing:border-box}.owner-workspace .asset-control{padding:15px;background:#f7fafb;border-radius:8px}.owner-workspace .backup-list{font-size:12px;line-height:1.8;color:#6f8196}
@media(max-width:1350px){.ws-page,.owner-workspace #documentsView,.owner-workspace #pdfsView,.owner-workspace #mastersView,.owner-workspace #settingsView,.owner-workspace #progressView{padding:28px}.owner-workspace #documentsView .editor-layout{grid-template-columns:minmax(0,1fr)}.owner-workspace #documentsView .preview-panel{position:relative;top:auto;max-height:700px}.ws-table td,.ws-table th{padding-inline:16px}.ws-document-title{min-width:220px}.owner-workspace #pdfsView .pdf-library-layout{grid-template-columns:minmax(260px,.8fr) minmax(0,1.1fr);gap:18px}}
@media(max-width:800px){.ws-heading{align-items:flex-start;gap:15px}.ws-heading h1{font-size:23px}.ws-review-summary{grid-template-columns:1fr;gap:16px}.owner-workspace #pdfsView .pdf-library-layout{grid-template-columns:1fr}.owner-workspace #pdfsView .pdf-detail-panel{position:static}.owner-workspace #pdfsView .pdf-library-list{max-height:430px;overflow:auto}.owner-workspace #pdfsView .pdf-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-workspace .masters-layout,.owner-workspace .settings-grid{grid-template-columns:1fr}.owner-workspace .pw-panel{padding:20px}.owner-workspace .pw-tabs{gap:16px;flex-wrap:nowrap;overflow:auto}.owner-workspace .pw-tabs button{white-space:nowrap}.ws-editor-toolbar{align-items:flex-start;gap:8px;flex-direction:column}.owner-workspace .progress-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ws-page,.owner-workspace #documentsView,.owner-workspace #pdfsView,.owner-workspace #mastersView,.owner-workspace #settingsView,.owner-workspace #progressView{padding:22px 16px}.ws-heading{display:block}.ws-heading>button{margin-top:18px}.ws-heading h1{font-size:22px}.ws-tabs{gap:19px}.ws-filters{gap:12px}.ws-filters>.ws-search{flex-basis:100%}.ws-filters>label{min-width:130px}.owner-workspace .workspace .panel-section{padding:18px}.owner-workspace #documentForm .two-col{grid-template-columns:1fr}.owner-workspace #documentForm .item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-workspace #documentsView .preview-panel{padding:12px}.ws-review-summary>.ws-card{padding:20px}.ws-saved-pdf iframe{height:540px}.ws-list-heading{padding:19px;flex-wrap:wrap}.owner-workspace #pdfsView .metric{padding:17px}.owner-workspace #pdfsView .metric strong{font-size:23px}.owner-workspace .pw-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-workspace .pw-panel{padding:17px}.owner-workspace #progressView .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-workspace #progressView .metric{padding:16px}.owner-workspace #progressView .metric strong{font-size:20px}.owner-workspace .progress-portfolio-card{padding:18px}.owner-workspace .progress-money-grid strong{font-size:20px}.ws-editor-tabs button{padding:8px 11px;font-size:11px}}

.owner-workspace .ws-legacy-stage{display:none}
