@media screen {
 .direct-quote-workflow {font-size:16px;line-height:1.5;color:#173c38}
 .direct-quote-workflow [hidden] {display:none!important}
 .direct-quote-workflow *, .direct-quote-workflow *::before, .direct-quote-workflow *::after {box-sizing:border-box}
 .direct-quote-workflow .content-grid {grid-template-columns:minmax(0,1fr) 270px;gap:20px}
 .direct-quote-workflow .content-stack {order:0}
 .quote-workflow-nav {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:6px;margin:0 0 22px;background:#fff;border:1px solid #d3e2de;border-radius:12px}
 .quote-workflow-nav button {display:flex;align-items:center;gap:9px;min-width:0;padding:12px 10px;border:0;border-radius:8px;background:transparent;text-align:left;color:#46645e;font:inherit;font-size:14px;font-weight:650;cursor:pointer;line-height:1.3}
 .quote-workflow-nav button[aria-current] {background:#004747;color:#fff}
 .quote-workflow-nav button:hover:not([aria-current]) {background:#eaf3ef}
 .quote-step-number {display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #bfd1cc;border-radius:50%;font-size:13px}
 .quote-workflow-nav button[aria-current] .quote-step-number {border-color:#72a5a0;background:#ffffff17}
 .quote-workflow-panel {display:grid;gap:20px;min-width:0}
 .quote-workflow-panel h2 {scroll-margin-top:120px}
 .quote-workflow-panel h2:focus {outline:none}
 .quote-step-actions {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 12px}
 .direct-quote-workflow .card {box-shadow:0 4px 16px #00474707;min-width:0;overflow-wrap:anywhere}
 .direct-quote-workflow .card-header {padding:22px 24px 18px;border-bottom:1px solid #e1eae6;margin-bottom:20px}
 .direct-quote-workflow .card-header h2 {font-size:21px;line-height:1.25}
 .direct-quote-workflow .card-header p {font-size:14px;line-height:1.45;margin-top:8px}
 .direct-quote-workflow .card-body {padding:0 24px 24px}
 .direct-quote-workflow .field {min-width:0}
 .direct-quote-workflow label {font-size:14px;font-weight:600;text-transform:none;letter-spacing:normal;color:#31554e}
 .direct-quote-workflow .field>label {font-size:14px;text-transform:none;letter-spacing:normal}
 .direct-quote-workflow input:not([type=checkbox]),.direct-quote-workflow select,.direct-quote-workflow textarea {width:100%;min-width:0;min-height:42px;padding:10px 11px;border:1px solid #bfd1cb;border-radius:7px;background:#fff;color:#153b36;font-family:inherit;font-size:15px;line-height:1.3}
 .direct-quote-workflow input:disabled,.direct-quote-workflow select:disabled {background:#f1f5f3;color:#61796f}
 .direct-quote-workflow textarea {min-height:100px}
 .direct-quote-workflow .field-help,.direct-quote-workflow .field-result,.direct-quote-workflow small {font-size:13px;line-height:1.4}
 .direct-quote-workflow .button {font-size:14px;min-height:42px;white-space:normal;line-height:1.3}
 .direct-quote-workflow button:focus-visible,.direct-quote-workflow summary:focus-visible,.direct-quote-workflow input:focus-visible,.direct-quote-workflow select:focus-visible,.direct-quote-workflow textarea:focus-visible {outline:2px solid #008577;outline-offset:3px}
 .direct-quote-workflow .pill {font-size:13px;white-space:nowrap}
 .direct-product-actions {display:flex;gap:10px;flex-wrap:wrap;padding:0 24px 22px}
 .direct-quote-workflow .mixed-family-heading {padding:18px 24px;justify-content:space-between;background:#f3f7f5;font-size:13px}
 .direct-quote-workflow .mixed-family-heading h3 {font-size:17px;color:#004747}
 .direct-quote-workflow .mixed-cass-card {padding:20px 24px;font-size:14px;gap:16px;background:#fff;flex-wrap:wrap}
 .direct-quote-workflow .mixed-cass-card h3 {font-size:16px}
 .direct-quote-workflow .mixed-cass-card p {line-height:1.5}
 .direct-quote-workflow .mixed-card-actions {max-width:none}
 .direct-extra-row {padding:20px 24px;border-top:1px solid #dce7e2}
 .direct-entry-heading {display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
 .direct-entry-heading>div {min-width:0}
 .direct-entry-heading .pill {margin-right:7px}
 .direct-entry-heading small {display:block;margin-top:5px;color:#5b756d}
 .direct-entry-heading>.attachment-remove {flex:none;width:32px;height:32px;font-size:21px}
 .direct-entry-fields {display:grid;grid-template-columns:minmax(0,1fr) 90px 135px;gap:12px;align-items:end}
 .direct-entry-fields label {display:grid;gap:6px}
 .direct-entry-description {grid-column:1/-1}
 .direct-entry-total {grid-column:1;grid-row:2;align-self:center}
 .direct-entry-total small {display:block;color:#607970;font-size:13px}
 .direct-entry-total strong {display:block;color:#004747;font-size:20px;font-variant-numeric:tabular-nums}
 .direct-entry-fields>label:nth-child(2) {grid-column:2;grid-row:2}
 .direct-entry-fields>label:nth-child(3) {grid-column:3;grid-row:2}
 .direct-entry-category {display:grid;gap:6px;max-width:260px;margin:14px 0 0}
 .direct-entry-note {font-size:13px;color:#61776f;margin:12px 0 0}
 .pasini-commercial-fields {display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;margin-top:18px;padding:16px;border:1px solid #d4e2dd;border-radius:9px;background:#f6f9f8}
 .pasini-commercial-fields>img {display:block;width:150px;height:120px;object-fit:contain;border-radius:6px;background:#fff}
 .pasini-commercial-fields>div,.pasini-commercial-fields label {display:grid;gap:6px;min-width:0}
 .pasini-commercial-fields textarea {min-height:94px!important;resize:vertical}
 .pasini-commercial-fields .pasini-commercial-toggle {display:flex;grid-template-columns:none;align-items:center;gap:9px;margin-top:8px;font-size:13px}
 .pasini-commercial-toggle input {flex:none;width:18px;height:18px;accent-color:#00665d}
 .pasini-commercial-fields small {display:block;margin-top:8px;color:#607970}
 .direct-item-details {margin:16px 0 0;padding-top:12px;border-top:1px solid #e4ece8}
 .direct-item-details>summary,.direct-advanced>summary,.direct-purchase-costs>summary,.direct-summary-costs>summary {cursor:pointer;font-weight:650;font-size:14px;color:#00534d}
 .direct-item-details .eko-item-detail {margin-top:14px;font-size:14px}
 .direct-item-details .eko-item-detail>div {min-width:0}
 .direct-item-details .eko-drawing {flex:none;max-width:125px;max-height:190px}
 .direct-item-details .eko-item-detail small {font-size:14px;margin-bottom:5px}
 .direct-cover-options {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px;padding:16px;background:#f3f7f5;border-radius:8px}
 .direct-cover-options label {display:grid;gap:6px}
 .direct-cover-options p {grid-column:1/-1;margin:2px 0;font-size:13px}
 .direct-empty {padding:28px 24px 34px;border-top:1px solid #e1eae6}
 .direct-empty h3 {font-size:17px;margin:0 0 8px}
 .direct-empty p {margin:0;color:#637a72;font-size:14px}
 .direct-related {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 24px;background:#f4f8f6;font-size:14px;border-radius:0 0 12px 12px}
 .direct-advanced {margin-top:22px;border-top:1px solid #e0e9e5;padding-top:16px}
 .direct-advanced[open]>.field {margin-top:16px;max-width:360px}
 .direct-delivery-fields {margin-top:18px}
 .direct-review-client {display:grid;grid-template-columns:1fr auto;gap:4px 14px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #dde8e2}
 .direct-review-client strong {font-size:19px}
 .direct-review-client span {grid-column:1;color:#60786f;font-size:14px}
 .direct-review-client button {grid-column:2;grid-row:1/3}
 .direct-review-list {margin:0 0 24px}
 .direct-review-list>div {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;font-size:14px}
 .direct-review-list .direct-summary-link {flex:none;white-space:nowrap}
 .document-option {display:flex;align-items:flex-start;gap:12px;margin-top:22px;padding:16px;border:1px solid #cbded7;border-radius:9px;background:#f4f8f6;cursor:pointer}
 .document-option input {flex:none;width:19px;height:19px;margin:2px 0 0;accent-color:#00665d}
 .document-option span {display:grid;gap:4px}
 .document-option strong {color:#173f39;font-size:14px}
 .document-option small {color:#617970;font-weight:400}
 .direct-document-actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:22px;border-top:1px solid #dde8e2}
 .direct-quote-summary {top:115px;order:1}
 .direct-quote-summary .summary-hero {padding:22px 20px;background:#004747}
 .direct-quote-summary .summary-hero h2 {font-size:29px;line-height:1.3}
 .direct-quote-summary .summary-hero p {font-size:13px;line-height:1.4}
 .direct-quote-summary .card-body {padding:18px 20px 20px}
 .direct-quote-summary .summary-line {font-size:14px;line-height:1.4;gap:10px;padding:9px 0;align-items:baseline}
 .direct-quote-summary .summary-line strong {white-space:nowrap;font-variant-numeric:tabular-nums}
 .direct-margin-highlight {display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #d9e5df;padding:16px 0 8px;margin-top:8px;font-size:14px}
 .direct-margin-highlight strong {font-size:20px;color:#004747}
 .direct-summary-costs {margin:16px 0;padding-top:15px;border-top:1px solid #d9e5df}
 .direct-summary-link {padding:4px 0;border:0;background:transparent;color:#006359;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
 .direct-review-button {width:100%;margin-top:12px}
 .direct-quote-summary .summary-warnings {margin:14px 0 0;padding:12px;font-size:13px;line-height:1.5}
 .direct-pricing-section h3 {font-size:18px;margin:0 0 16px}
 .direct-pricing-section p,.direct-purchase-costs>p {font-size:14px;line-height:1.5}
 .direct-pricing-controls {grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 0}
 .direct-pricing-controls button {grid-column:1/-1;justify-self:start}
 .direct-pricing-help {color:#657b72;font-size:13px!important}
 .direct-quote-workflow .table-wrap {max-width:100%;overflow-x:auto}
 .direct-quote-workflow .data-table {font-size:14px;table-layout:fixed;width:100%;min-width:0;border-collapse:collapse}
 .direct-quote-workflow .data-table th {font-size:12px;white-space:normal;letter-spacing:0;text-transform:none;line-height:1.35}
 .direct-quote-workflow .data-table tbody th {background:#fff;font-size:14px;font-weight:650}
 .direct-quote-workflow .data-table th,.direct-quote-workflow .data-table td {padding:12px 8px;border-bottom:1px solid #dce7e1;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
 .direct-quote-workflow .data-table small {display:block;margin-top:5px;color:#6a7f75;font-size:12px}
 .direct-quote-workflow .data-table input {padding:9px 6px;font-size:14px;max-width:140px}
 .direct-quote-workflow .data-table .mini-button {white-space:normal;font-size:12px;margin-top:6px}
 .direct-purchase-costs {margin-top:24px;padding-top:22px;border-top:1px solid #d9e5df}
 .direct-purchase-costs>summary {font-size:16px}
 .direct-cost-status {display:inline-block;font-weight:400;margin-left:10px;color:#667d73}
 .direct-cost-status.is-incomplete,.direct-cost-missing {color:#9b5826!important}
 .direct-purchase-table thead th:first-child {width:70%}
 .direct-purchase-table td label {display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}
 .direct-purchase-table td label small {grid-column:1/-1}
 .direct-production-settings .auto-cost-settings {font-size:14px}
 .direct-production-settings .auto-cost-settings>summary {font-size:14px}
 .direct-quote-workflow .eko-pricing-controls {margin:26px 0 0;border:1px solid #c8ddd4;border-radius:9px;padding:18px;background:#f2f8f5}
 .direct-quote-workflow .eko-pricing-controls h3 {font-size:18px}
 .direct-quote-workflow .eko-pricing-controls p {font-size:14px;line-height:1.5}
 .direct-quote-workflow .eko-pricing-fields {display:grid;grid-template-columns:1fr 1fr}
 .direct-quote-workflow .eko-pricing-fields>button {grid-column:1/-1;justify-self:start}
 .direct-quote-workflow .eko-pricing-preview {grid-template-columns:1fr 1fr;gap:10px}
 .direct-quote-workflow .eko-pricing-preview>span {font-size:13px;padding:12px}
 .direct-quote-workflow .sr-only {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}
@media screen and (max-width:1180px) {
 .direct-quote-workflow .content-grid {grid-template-columns:minmax(0,1fr)}
 .direct-quote-summary {position:static;display:grid;grid-template-columns:1fr 1fr}
 .direct-quote-summary .card-body {padding:18px 20px}
 .direct-quote-summary .summary-hero {border-radius:12px 0 0 12px}
}
@media screen and (max-width:700px) {
 .quote-workflow-nav {gap:3px;padding:5px;margin-bottom:18px}
 .quote-workflow-nav button {flex-direction:column;align-items:center;text-align:center;padding:9px 3px;gap:6px;font-size:12px;line-height:1.3}
 .quote-step-number {width:24px;height:24px;font-size:12px}
 .direct-quote-workflow .card-header {padding:18px 16px 16px;gap:10px;flex-wrap:wrap}
 .direct-quote-workflow .card-header h2 {font-size:20px}
 .direct-quote-workflow .card-body {padding:0 16px 18px}
 .direct-quote-workflow .form-grid {grid-template-columns:1fr 1fr;gap:16px 12px}
 .direct-quote-workflow .form-grid .span-2,.direct-quote-workflow .form-grid .span-4 {grid-column:1/-1}
 .direct-product-actions,.direct-extra-row,.direct-empty {padding-left:16px;padding-right:16px}
 .direct-product-actions {gap:8px}
 .direct-product-actions .button {flex:1 1 auto}
 .direct-quote-workflow .mixed-family-heading,.direct-quote-workflow .mixed-cass-card {padding:16px;gap:10px}
 .direct-quote-workflow .mixed-family-heading {flex-wrap:wrap}
 .direct-entry-fields {grid-template-columns:85px minmax(0,1fr);gap:12px}
 .direct-entry-fields>label:nth-child(2) {grid-column:1;grid-row:2}
 .direct-entry-fields>label:nth-child(3) {grid-column:2;grid-row:2}
 .direct-entry-total {grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:space-between;margin-top:2px}
 .direct-entry-total strong {font-size:19px}
 .direct-cover-options {grid-template-columns:1fr;padding:14px}
 .pasini-commercial-fields {grid-template-columns:1fr}
 .pasini-commercial-fields>img {width:100%;height:170px}
 .direct-cover-options p {grid-column:1}
 .direct-item-details .eko-item-detail {flex-direction:column}
 .direct-item-details .eko-drawing {max-width:150px;max-height:200px}
 .direct-related,.direct-review-client {display:flex;flex-direction:column;align-items:flex-start;padding:16px}
 .quote-step-actions {align-items:stretch}
 .quote-step-actions .button {max-width:55%;padding:10px}
 .direct-quote-summary {display:block}
 .direct-quote-summary .summary-hero {border-radius:12px 12px 0 0}
 .direct-quote-summary .card-body {padding:16px}
 .direct-document-actions .button {width:100%}
 .direct-pricing-controls {grid-template-columns:1fr}
 .direct-pricing-controls button {width:100%}
 .direct-quote-workflow .direct-production-prices thead {display:none}
 .direct-quote-workflow .direct-production-prices,.direct-quote-workflow .direct-production-prices tbody,.direct-quote-workflow .direct-production-prices tr {display:block;width:100%}
 .direct-quote-workflow .direct-production-prices tr {padding:14px 0;border-top:1px solid #dce7e1}
 .direct-quote-workflow .direct-production-prices tbody th {display:block;padding:0 0 10px;border:0}
 .direct-quote-workflow .direct-production-prices td {display:block;padding:8px 0;border:0;text-align:left}
 .direct-quote-workflow .direct-production-prices td::before {display:block;font-size:12px;color:#697f74;font-weight:600;margin-bottom:5px}
 .direct-production-prices td:nth-child(2)::before {content:'Costo / cad.'}
 .direct-production-prices td:nth-child(3)::before {content:'Margine %'}
 .direct-production-prices td:nth-child(4)::before {content:'Prezzo / cad.'}
 .direct-production-prices td:nth-child(5)::before {content:'Utile / cad.'}
 .direct-purchase-table thead th:first-child {width:58%}
 .direct-purchase-table td label {grid-template-columns:1fr}
 .direct-quote-workflow .eko-pricing-fields {grid-template-columns:1fr}
 .direct-quote-workflow .eko-pricing-controls {padding:14px}
 .direct-cost-status {display:block;margin:6px 0 0}
}
