.wizard-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:24px;align-items:start}.service-card{position:sticky;top:24px}.service-card h2{margin-top:0}.service-card fieldset{border:0;padding:0;margin:20px 0}.service-card legend{font-weight:650;margin-bottom:10px}.choice-buttons{display:flex;gap:6px}.choice-buttons label{position:relative;flex:1;cursor:pointer;margin:0}.choice-buttons input{position:absolute;opacity:0;width:1px;height:1px;left:0;top:0;margin:0;padding:0;border:0;pointer-events:none}.choice-buttons span{display:block;text-align:center;padding:10px 7px;border:1px solid #d8ded9;border-radius:8px;font-size:.875rem}.choice-buttons input:checked+span{background:var(--ecs-blue);color:white;border-color:var(--ecs-blue)}.choice-buttons input:focus-visible+span{outline:3px solid var(--ecs-blue);outline-offset:2px}.choice-buttons input:disabled+span{opacity:.4;cursor:not-allowed}.check-line{display:flex!important;align-items:center;gap:9px;margin:20px 0 10px}.check-line input,.advanced input[type=radio],.style-list input{width:auto!important}.advanced{border-top:1px solid #e0e4df;margin-top:20px;padding-top:18px}.advanced summary{cursor:pointer;font-weight:650}.advanced label{font-size:.875rem;display:block;margin:10px 0}.advanced input[type=radio]{margin-right:7px}.service-card select,.service-card textarea{width:100%;box-sizing:border-box}.review-button{width:100%;margin-top:12px}.button:disabled{opacity:.45;cursor:not-allowed}.wizard-file{padding:18px 0;border-bottom:1px solid #e4e8e3;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.wizard-file strong{display:block;overflow-wrap:anywhere}.wizard-file small{display:block;color:var(--muted);margin-top:5px}.wizard-file progress{width:100%;height:7px;accent-color:var(--ecs-blue);margin:12px 0 3px}.file-actions{display:flex;align-items:flex-start;gap:10px}.file-state{font-size:.875rem}.file-error{color:#98223a!important}.upload-panel{min-width:0}.wizard-file[hidden],.service-card[hidden],#caption-options[hidden],#style-choice[hidden]{display:none}.review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}.review-metrics>div{background:white;border:1px solid #dfe5df;border-radius:12px;padding:20px}.review-metrics small,.review-metrics span{display:block;color:var(--muted);font-size:.875rem}.review-metrics strong{display:block;font-size:1.375rem;margin:10px 0}.default-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.default-rates label{display:block;font-size:.875rem;margin-bottom:7px}.default-rates select,.default-rates input:not([type=checkbox]){width:100%;box-sizing:border-box}.effective-rate{padding:10px;background:#f0f5ee;border-radius:8px;font-size:.875rem}.steps a{text-decoration:none;color:inherit}.style-list{display:grid;gap:12px;margin:22px 0}.style-list label{display:flex;gap:12px;padding:15px;border:1px solid #d9e2db;border-radius:9px;cursor:pointer}.style-list label:has(input:checked){background:#edf5ef;border-color:#33704d}@media(max-width:1100px){.wizard-grid{grid-template-columns:minmax(0,2fr) minmax(250px,1fr)}.review-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.wizard-grid,.default-rates{grid-template-columns:1fr}.service-card{position:static}.review-metrics{grid-template-columns:1fr 1fr}.review-metrics>div{padding:14px}.review-metrics strong{font-size:1.125rem}.steps{font-size:.875rem;gap:8px}.wizard-file{grid-template-columns:minmax(0,1fr)}.file-actions{justify-content:flex-end}}
#client-step fieldset{min-width:0;border:1px solid #dce2da;border-radius:8px;padding:16px;margin:20px 0}#client-step legend{font-weight:650}#recipient-choices label{display:flex;gap:10px;align-items:baseline;overflow-wrap:anywhere;margin:10px 0}#recipient-choices input{width:auto!important;flex-shrink:0}
#special-options[hidden],.approve[hidden],.revision[hidden]{display:none}.delivery-group h3{font-size:1rem;margin-top:24px}.delivery-row{display:flex;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid #e3e7e1}.delivery-row>div{flex:1;min-width:0}.delivery-row a{overflow-wrap:anywhere}.delivery-row .check-line{margin:0}.delivery-drop{margin-top:24px}.service-tabs span{height:100%}.service-card textarea{resize:vertical}@media(max-width:760px){.delivery-row{flex-wrap:wrap}.delivery-source .revision{margin-bottom:15px}}
.billing-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.billing-fields label{display:block;font-size:.875rem;min-width:0}.billing-fields input,.billing-fields select,.billing-fields textarea{margin-top:7px;box-sizing:border-box}.billing-line{border-top:1px solid #dce2da;padding:20px 0}.billing-line h3,.billing-line p{overflow-wrap:anywhere}.billing-client-list{display:flex;flex-wrap:wrap;gap:16px}.billing-client-list input{width:auto!important}.billing-audit{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.875rem}.billing-fields [hidden],[data-simple][hidden],#billing-save[hidden]{display:none!important}#invoice-editor>label{display:block;margin:16px 0}#invoice-editor fieldset{border:1px solid #dce2da;min-width:0}#billing-error[hidden],#billing-notice[hidden]{display:none}#billing-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}@media(max-width:1000px){.billing-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.billing-fields{grid-template-columns:1fr}#billing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-client-list{display:grid}.billing-fields .check-line input{width:auto!important}}
.billing-heading{flex-wrap:wrap}.billing-heading>div{min-width:0}.billing-heading h1{overflow-wrap:anywhere}@media(max-width:760px){.billing-heading{display:flex;flex-direction:column;align-items:flex-start}.billing-heading>form{max-width:100%}}

.language-tabs{flex-wrap:wrap;gap:10px;margin-bottom:24px}.language-tabs .button{flex:0 0 auto}[data-pricing-form] .panel{min-width:0}[data-pricing-form] input:not([type=checkbox]),[data-pricing-form] select{max-width:100%;box-sizing:border-box}

/* Service choices wrap within the card instead of overflowing in a single row. */
.service-card{min-width:0}
.service-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:8px}
.service-tabs label{min-width:0}
.service-tabs span{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:64px;height:100%;white-space:normal;overflow-wrap:anywhere}

.style-preview{display:block;width:100%;height:auto;border-radius:6px;margin-top:10px}.style-copy{flex:1;min-width:0}.style-copy strong,.style-copy small{display:block}.style-list label{align-items:flex-start}.delivery-group>summary{font-size:1rem;min-height:44px;cursor:pointer;font-weight:700;align-content:center}.delivery-group{margin:16px 0}.delivery-row{flex-wrap:wrap}.choice-buttons span{min-height:44px;align-content:center}.wizard-file,.billing-line{overflow-wrap:anywhere}

.source-list-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;margin-top:24px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:.875rem;font-weight:700;color:var(--muted)}
.upload-panel>.fine a,#link-import-dialog .fine a{text-decoration:underline}
.wizard-file{grid-template-columns:minmax(0,1fr) auto;gap:8px 20px}.source-file-details{min-width:0}.source-file-minutes{text-align:right;font-weight:700;white-space:nowrap}.wizard-file>.file-actions{grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap}.wizard-file .text-button,.folder-status .text-button{min-height:44px}.wizard-file progress[hidden]{display:none}.source-list-heading span:last-child{text-align:right}
.folder-discovery{border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:16px;margin:16px 0}.folder-discovery h3{margin:0;font-size:1rem}.folder-status{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.folder-status p{flex:1;min-width:0;overflow-wrap:anywhere}.folder-status .file-actions{flex-wrap:wrap}
.review-files{min-width:0;overflow:hidden}.review-files table{width:100%;table-layout:fixed}.review-files th:first-child,.review-files td:first-child{width:42%;overflow-wrap:anywhere}.review-files th:not(:first-child),.review-files td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.review-files .quote-total{flex-wrap:wrap;gap:16px}
@media(max-width:760px){.review-files table,.review-files tbody,.review-files tr,.review-files td{display:block;width:100%}.review-files thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.review-files tr{padding:16px;border-bottom:1px solid var(--line)}.review-files td,.review-files td:first-child{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:12px;width:auto;padding:7px 0;border:0;text-align:right}.review-files td::before{content:attr(data-label);text-align:left;font-weight:650;color:var(--muted)}.source-file-minutes{font-size:.9375rem}.source-list-heading{gap:12px}.source-toolbar{align-items:stretch}.source-toolbar #cloud-provider-buttons{width:100%}}
@media(max-width:760px){.review-files td:first-child{display:block;text-align:left;font-weight:700;margin-bottom:8px}.review-files td:first-child::before{display:none}.review-files td{overflow-wrap:anywhere}}
.review-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}.review-metrics>div{min-width:0;overflow-wrap:anywhere}

/* Draft order: file entry, options, source rows, then the review action. */
.order-flow{display:grid;gap:20px;min-width:0}.order-flow>section{min-width:0}.order-flow .service-card{position:static;top:auto}.service-option-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px}.service-choice,.service-preferences{min-width:0}.order-flow .service-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.order-flow .service-tabs span{min-height:48px}.order-flow .service-card fieldset{margin:0 0 14px}.order-flow .service-card .check-line{margin:12px 0}.order-flow .advanced{margin-top:12px;padding-top:12px}.order-flow .dropzone{padding:20px}.order-flow .upload-icon{width:36px;height:36px;margin-bottom:8px}.order-flow .source-toolbar{margin-top:10px}.order-flow .source-list-heading{margin-top:0}
.source-list-panel .source-list-heading,.source-list-panel .wizard-file{grid-template-columns:minmax(0,1fr) 9rem 12rem;gap:12px}.source-list-panel .source-list-heading span:not(:first-child){text-align:right}.source-list-panel .wizard-file{align-items:center;padding:10px 14px;background:#fff}.source-list-panel .wizard-file.alternate{background:#f5f8fb}.source-list-panel .wizard-file>.file-actions{grid-column:auto;justify-content:flex-end;width:12rem;max-width:100%;gap:4px 8px}.source-list-panel .source-file-details small{display:inline;margin-right:8px}.source-list-panel .source-file-details .file-error{display:block;margin-right:0}.source-list-panel .source-file-details strong{font-size:1rem}.source-list-panel .source-file-minutes{font-variant-numeric:tabular-nums}.source-list-panel .wizard-file progress{display:block;margin:6px 0 0}.order-review-footer{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.order-review-footer .review-button{width:auto;min-width:180px}.order-review-footer p:empty,#selection-message:empty{display:none}
@media(max-width:1000px){.service-option-grid{grid-template-columns:minmax(0,1fr);gap:16px}.source-list-panel .source-list-heading,.source-list-panel .wizard-file{grid-template-columns:minmax(0,1fr) auto}.source-list-panel .source-list-heading span:last-child{display:none}.source-list-panel .wizard-file>.file-actions{grid-column:1/-1;width:auto}.source-list-panel .source-file-minutes{white-space:normal;max-width:9rem}.source-list-panel .source-list-heading span:nth-child(2){max-width:9rem}}
@media(max-width:480px){.order-flow .service-tabs{grid-template-columns:minmax(0,1fr)}.order-review-footer .review-button{width:100%;min-width:0}.source-list-panel .wizard-file{padding:10px}.order-flow .turnaround{flex-wrap:wrap}.order-flow .turnaround label{flex:1 1 5rem}}
.default-rates h3{overflow-wrap:anywhere}.source-list-panel .source-file-details .file-state::before{content:'· '}
.service-option-rows{display:grid;gap:0;min-width:0}.service-option-row{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:20px;padding:18px 0;border-bottom:1px solid var(--line,#d7e1e9);min-width:0}.service-option-row>h3{font-size:1rem;margin:12px 0}.service-option-row>div,.service-option-row>fieldset{min-width:0}.order-flow .service-option-row fieldset{margin:0}.order-flow .service-option-row .service-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.service-option-row p:last-child{margin-bottom:0}.order-flow .advanced.service-option-row{display:block;margin:0;padding:12px 0;border-bottom:0;border-top:0}.service-option-row>summary{min-height:44px;align-content:center;width:max-content;max-width:100%}.advanced-options{margin-left:calc(10rem + 20px);min-width:0}.advanced-options select{max-width:100%}
@media(max-width:1000px){.order-flow .service-option-row .service-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.service-option-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 0}.service-option-row>h3{margin:0}.advanced-options{margin-left:0}.order-flow .service-option-row .service-tabs{grid-template-columns:minmax(0,1fr)}}
.order-workspace{display:grid;grid-template-columns:minmax(0,1fr) 20rem;gap:24px;align-items:start}.order-workspace>*{min-width:0}.order-summary-card{position:sticky;top:24px}.order-summary-card h2{margin-top:0}.order-summary-card dl{margin:20px 0}.order-summary-card dl>div{padding:14px 0;border-bottom:1px solid var(--line)}.order-summary-card dt{color:var(--muted);font-size:.9375rem}.order-summary-card dd{margin:6px 0 0;font-size:1.5rem;font-weight:700;overflow-wrap:anywhere}.order-summary-card .review-button{min-height:48px;white-space:normal}.order-summary-card p{overflow-wrap:anywhere}.order-flow .service-tabs span.with-ui-icon,.order-flow .turnaround span.with-ui-icon{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box}.service-tabs .with-ui-icon>.ui-icon,.turnaround .with-ui-icon>.ui-icon{width:20px;height:20px;flex-basis:20px;margin:0}.order-flow .source-toolbar .button{min-height:60px;box-sizing:border-box;padding:12px 16px}.order-flow #open-link-import>.ui-icon{width:28px;height:28px;flex-basis:28px}.order-flow .source-toolbar #drive-entry{max-width:100%}.order-flow #open-link-import{max-width:100%;white-space:normal}.service-option-row h3 label{font-size:inherit;margin:0}
@media(min-width:1201px) and (max-width:1700px){.order-workspace .service-option-row{grid-template-columns:7.5rem minmax(0,1fr);gap:16px}.order-workspace .service-option-row .service-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.order-workspace .advanced-options{margin-left:calc(7.5rem + 16px)}}
@media(max-width:1200px){.order-workspace{grid-template-columns:minmax(0,1fr)}.order-summary-card{position:static}}
.order-workspace>.order-flow{container:order-flow / inline-size}
@container order-flow (max-width:46rem){.order-workspace .service-option-row{grid-template-columns:minmax(0,1fr);gap:8px}.order-workspace .service-option-row>h3{margin:0}.order-workspace .advanced-options{margin-left:0}.source-list-panel .source-list-heading,.source-list-panel .wizard-file{grid-template-columns:minmax(0,1fr) auto}.source-list-panel .source-list-heading span:last-child{display:none}.source-list-panel .wizard-file>.file-actions{grid-column:1/-1;width:auto}.source-list-panel .source-file-minutes{white-space:normal;max-width:9rem}.order-workspace .turnaround{flex-wrap:wrap}.order-workspace .turnaround label{flex:1 1 5rem}}
@container order-flow (max-width:34rem){.order-workspace .service-option-row .service-tabs{grid-template-columns:minmax(0,1fr)}}

.order-heading-line{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.order-heading-identity{min-width:0}.order-heading-identity h1{overflow-wrap:anywhere}.order-heading-actions{min-width:0;max-width:100%}.order-action-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.order-action-buttons form{margin:0}.order-action-buttons .button{min-height:44px;white-space:normal}.add-more-files{margin-top:18px}.add-more-files .button{min-height:44px}#source-entry{scroll-margin-top:24px}
.steps{display:block;padding:0;border:0;margin-bottom:24px}.order-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:12px;padding:0;margin:0;list-style:none}.order-steps li{min-width:0}.order-steps .step-card{display:flex;align-items:center;gap:12px;min-height:80px;height:100%;padding:14px 18px;border:1px solid var(--line);border-top:4px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);text-decoration:none;box-sizing:border-box}.order-steps .step-card>span:last-child{min-width:0}.order-steps .step-card strong{display:block;font-size:1rem;line-height:1.4;overflow-wrap:anywhere}.order-steps .step-card small{display:block;font-size:.875rem;margin-top:3px}.order-steps .step-symbol{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#f0f4f8}.order-steps .step-symbol .ui-icon{width:22px;height:22px}.order-steps .is-complete{background:#f0f6fa;color:#27546f;border-top-color:#7e9eaf}.order-steps .is-current{background:#e8f3fa;border-color:var(--ecs-blue);border-top-color:var(--ecs-blue);color:var(--ink);box-shadow:0 2px 8px #005c9110}.order-steps .is-current .step-symbol{background:var(--ecs-blue);color:white}.order-steps .is-current small{color:var(--ecs-blue);font-weight:650}.order-steps a:hover{border-color:var(--ecs-blue);background:#e8f3fa}.order-steps a:focus-visible{outline:3px solid var(--ecs-blue);outline-offset:3px}
@media(max-width:1000px){.order-steps{grid-template-columns:minmax(0,1fr);gap:8px}.order-steps .step-card{min-height:68px;padding:10px 14px}}
.invoice-settings{margin:16px 0 22px;padding:14px 16px;border:1px solid var(--line);border-radius:8px}.invoice-settings>summary,.invoice-support>summary{font-weight:700;cursor:pointer;min-height:44px;align-content:center}.invoice-settings>label{display:block;margin:14px 0}.invoice-settings input:not([type=checkbox]),.invoice-settings textarea,.invoice-line-editor input,.invoice-line-editor select{width:100%;max-width:100%}.invoice-lines-table{width:100%;table-layout:fixed;margin:16px 0}.invoice-lines-table th:first-child{width:38%}.invoice-lines-table th:last-child{width:7rem}.invoice-lines-table th,.invoice-lines-table td{vertical-align:top;padding:12px 10px;overflow-wrap:anywhere}.invoice-lines-table th:not(:first-child),.invoice-line-number{text-align:right}.invoice-lines-table .billing-line{padding:0;border:0}.invoice-lines-table .invoice-line-name{display:block;margin-top:4px}.invoice-lines-table tbody:nth-of-type(even)>tr:first-child{background:#f5f8fb}.invoice-line-unsaved{color:#865000;font-weight:650}.invoice-line-editor>td{background:#f0f6fa;border:1px solid var(--line);padding:16px}.invoice-line-editor .billing-fields{margin-top:0}.invoice-lines-table .invoice-line-toggle{min-height:44px;white-space:normal}.invoice-lines-table td:last-child{text-align:right}.invoice-line-editor td:last-child{text-align:left}.invoice-support{margin-bottom:20px}
@media(max-width:900px){.invoice-lines-table,.invoice-lines-table tbody,.invoice-lines-table tr,.invoice-lines-table td{display:block;width:100%}.invoice-lines-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.invoice-lines-table tbody>tr:first-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid var(--line)}.invoice-lines-table td{min-width:0;width:auto}.invoice-lines-table td:first-child,.invoice-lines-table td:last-child{grid-column:1/-1}.invoice-line-number::before{content:attr(data-label);display:block;text-align:left;font-size:.875rem;font-weight:650;color:var(--muted);margin-bottom:4px}.invoice-line-editor>td{padding:14px}.invoice-line-editor .billing-fields{grid-template-columns:minmax(0,1fr)}}
