.dp-3d-portal { box-sizing: border-box; color: #1f3349; font-family: inherit; margin: 0 auto; max-width: 1120px; padding: 24px 20px 70px; }
.dp-3d-portal *, .dp-3d-portal *::before, .dp-3d-portal *::after { box-sizing: border-box; }
.dp-3d-page-title { color: #21364c; font-size: 26px; font-weight: 800; line-height: 1.2; margin: 0 0 18px; }
.dp-3d-promo { align-items: center; background: #f1fff4; border-radius: 4px; color: #2a3642; display: grid; gap: 16px; grid-template-columns: 34px 1fr auto; margin: 0 0 20px; padding: 12px 14px; }
.dp-3d-promo__icon { align-items: center; background: #2daa22; border-radius: 8px; color: #fff; display: flex; font-weight: 900; height: 24px; justify-content: center; width: 24px; }
.dp-3d-promo__button, .dp-project-card__button { background: #1269f5; border: 1px solid #1269f5; border-radius: 3px; color: #fff !important; display: inline-flex; font-weight: 800; justify-content: center; line-height: 1; padding: 12px 18px; text-decoration: none !important; }
.dp-3d-upload__dropzone { align-items: center; background: #eef5ff; border: 1px dashed #1d70ff; border-radius: 0; display: flex; flex-direction: column; justify-content: center; min-height: 310px; padding: 34px 24px; text-align: center; }
.dp-3d-upload__dropzone.is-dragover { background: #e3efff; }
.dp-3d-upload__models { display: flex; gap: 24px; justify-content: center; margin-bottom: 18px; opacity: .55; }
.dp-3d-upload__models span { background: linear-gradient(145deg, #c4ccd5, #f4f7fa); border: 1px solid #aeb8c4; height: 74px; transform: skewY(-18deg) rotate(18deg); width: 74px; }
.dp-3d-upload__browse { color: #1269f5; cursor: pointer; display: inline-flex; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.dp-3d-upload__browse input { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.dp-3d-upload__dropzone p { color: #17283b; line-height: 1.45; margin: 4px 0; }
.dp-3d-upload__formats, .dp-3d-upload__secure { color: #748293; font-size: 14px; line-height: 1.45; margin-top: 14px; }
.dp-3d-upload__file-list { background: #fff; border: 1px solid #d9e1ea; margin: 18px 0; }
.dp-3d-file-row, .dp-quote-file { align-items: center; border-bottom: 1px solid #e0e6ee; display: grid; gap: 16px; grid-template-columns: 1fr auto; padding: 14px 16px; }
.dp-3d-file-row:last-child, .dp-quote-file:last-child { border-bottom: 0; }
.dp-3d-file-row strong, .dp-quote-file strong { color: #17283b; display: block; overflow-wrap: anywhere; }
.dp-3d-file-row span, .dp-quote-file span { color: #78889a; display: block; font-size: 13px; margin-top: 4px; }
.dp-3d-file-row > div:last-child { align-items: center; display: flex; gap: 10px; }
.dp-3d-file-row button, .dp-quote-file__preview, .dp-3d-upload__submit, .dp-3d-upload__secondary { border-radius: 3px; cursor: pointer; font: inherit; font-weight: 800; padding: 10px 14px; }
.dp-3d-file-row button, .dp-quote-file__preview, .dp-3d-upload__secondary { background: #fff; border: 1px solid #c9d3df; color: #1269f5; }
.dp-3d-upload__submit { background: #1269f5; border: 1px solid #1269f5; color: #fff; }
.dp-3d-upload__submit:disabled { cursor: not-allowed; opacity: .55; }
.dp-3d-upload__status { color: #46576a; min-height: 24px; margin: 12px 0; }
.dp-3d-upload__status.is-error { color: #b00020; }
.dp-3d-upload__status.is-success { color: #0b7a35; }
.dp-3d-upload__modal[hidden], .dp-3d-preview-modal[hidden] { display: none; }
.dp-3d-upload__modal, .dp-3d-preview-modal { align-items: center; display: flex; inset: 0; justify-content: center; position: fixed; z-index: 9999; }
.dp-3d-upload__modal-backdrop, .dp-3d-preview-modal__backdrop { background: rgba(10, 20, 32, .62); inset: 0; position: absolute; }
.dp-3d-upload__modal-panel, .dp-3d-preview-modal__panel { background: #fff; border-radius: 4px; box-shadow: 0 24px 70px rgba(0,0,0,.25); max-height: calc(100vh - 56px); overflow: auto; padding: 28px; position: relative; width: min(640px, calc(100vw - 40px)); z-index: 1; }
.dp-3d-preview-modal__panel { width: min(980px, calc(100vw - 40px)); }
.dp-3d-upload__modal-close, .dp-3d-preview-modal__close { background: transparent; border: 0; cursor: pointer; font-size: 30px; line-height: 1; padding: 4px 8px; position: absolute; right: 14px; top: 10px; }
.dp-3d-upload__modal-panel h3 { font-size: 24px; margin: 0 40px 8px 0; }
.dp-3d-upload__modal-panel p { color: #69798b; margin: 0 0 18px; }
.dp-3d-upload__form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dp-3d-upload label { display: block; font-weight: 800; margin-bottom: 14px; }
.dp-3d-upload label span { display: block; margin-bottom: 6px; }
.dp-3d-upload input, .dp-3d-upload textarea, .dp-3d-upload select { background: #fff; border: 1px solid #c4cfda; border-radius: 3px; font: inherit; padding: 10px 12px; width: 100%; }
.dp-3d-phone-field .iti { display: block; width: 100%; }
.dp-3d-phone-field .iti__selected-country { border-right: 1px solid #c4cfda; padding: 0 10px; }
.dp-3d-phone-field .iti__selected-dial-code { color: #17283b; font-weight: 700; }
.dp-3d-phone-field .iti__country-list { z-index: 10002; }
.dp-3d-upload input.is-invalid { border-color: #b00020; box-shadow: 0 0 0 1px #b00020; }
.dp-3d-upload__field-error { color: #b00020; font-size: 13px; min-height: 18px; }
.dp-3d-upload__modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 18px; }
.dp-3d-modal-open { overflow: hidden; }
.dp-3d-preview-modal__title { color: #17283b; font-size: 18px; font-weight: 900; margin: 0 38px 14px 0; }
.dp-3d-preview-modal__stage { align-items: center; background: #f2f5f8; border: 1px solid #d5dee8; display: flex; height: 560px; justify-content: center; overflow: hidden; }
.dp-3d-preview-modal__stage canvas, .dp-3d-preview-modal__iframe, .dp-3d-aps-viewer { border: 0; display: block; height: 100% !important; width: 100% !important; }
.dp-3d-preview-modal__message { color: #405166; max-width: 520px; padding: 24px; text-align: center; }
.dp-3d-preview-modal__message strong { color: #17283b; display: block; font-size: 22px; margin-bottom: 8px; }
.dp-projects__titlebar { align-items: center; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 18px; }
.dp-projects__titlebar .dp-3d-page-title { margin-bottom: 0; }
.dp-projects__top-logout { color: #17283b; font-weight: 900; text-decoration: none !important; white-space: nowrap; }
.dp-projects__top-logout:hover { color: #1269f5; }
.dp-projects__account-actions { align-items: stretch; display: grid; margin: 18px 0 24px; }
.dp-projects__tabs { display: flex; gap: 28px; margin: 0 0 18px; }
.dp-projects__tabs a { border-bottom: 2px solid transparent; color: #1269f5; font-weight: 900; padding-bottom: 10px; text-decoration: none !important; }
.dp-projects__tabs a.is-active { border-color: #1269f5; color: #17283b; }
.dp-projects__new { align-items: center; background: #fff; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,.12); color: #1269f5; display: flex; font-weight: 900; justify-content: center; min-height: 58px; padding: 16px; text-decoration: none !important; }
.dp-project-card { background: #fff; border-radius: 4px; display: grid; grid-template-columns: 182px 1fr; margin-bottom: 20px; overflow: hidden; }
.dp-project-card__thumb { align-items: center; background: #f8fafc; border-right: 1px solid #d9e1ea; display: flex; justify-content: center; min-height: 190px; padding: 20px; }
.dp-project-card__files { border: 1px solid #cbd5df; color: #17283b; display: grid; gap: 8px; min-height: 142px; padding: 14px; width: 142px; }
.dp-project-card__files strong { color: #17283b; font-size: 13px; line-height: 1.3; }
.dp-project-card__files span { color: #46576a; display: block; font-size: 12px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.dp-project-card__files em { color: #7a8795; font-size: 12px; font-style: normal; font-weight: 800; }
.dp-project-card__body { padding: 22px 20px 16px; }
.dp-project-card__top { align-items: flex-start; display: flex; justify-content: space-between; gap: 18px; }
.dp-project-card__top h3 { font-size: 17px; margin: 0 0 14px; }
.dp-project-card__top span { color: #8390a0; }
.dp-project-card__badge { background: #fff1e8; border-radius: 4px; color: #f07800; display: inline-flex; font-weight: 900; margin-bottom: 10px; padding: 5px 8px; }
.dp-status-quoted, .dp-status-ordered, .dp-status-completed { background: #eaf7ee; color: #0a8a35; }
.dp-project-card__meta { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0 20px; }
.dp-project-card__meta span, .dp-quote-detail__summary span { color: #768699; display: block; font-size: 13px; margin-bottom: 4px; }
.dp-project-card__meta strong, .dp-quote-detail__summary strong { color: #17283b; display: block; }
.dp-project-card__actions { align-items: center; border-top: 1px solid #d9e1ea; display: flex; gap: 20px; justify-content: flex-start; margin: 0 -20px -16px; padding: 16px 20px; }
.dp-project-card__actions a { color: #1269f5; font-weight: 800; text-decoration: none !important; }
.dp-project-card__actions .dp-project-card__button { margin-left: auto; }
.dp-account-auth { background: #fff; border: 1px solid #dce4ee; border-radius: 4px; margin-bottom: 48px; margin-top: 24px; max-width: 560px; }
.dp-account-auth p { color: #607086; }
.dp-account-auth form { display: grid; gap: 14px; margin-top: 20px; }
.dp-account-auth label { color: #24384f; display: block; font-weight: 800; }
.dp-account-auth input[type="text"], .dp-account-auth input[type="password"] { background: #fff; border: 1px solid #c4cfda; border-radius: 3px; font: inherit; margin-top: 6px; padding: 10px 12px; width: 100%; }
.dp-account-auth .login-remember label { align-items: center; display: inline-flex; gap: 8px; font-weight: 600; }
.dp-account-auth .login-submit input { background: #1269f5; border: 1px solid #1269f5; border-radius: 3px; color: #fff; cursor: pointer; font: inherit; font-weight: 800; padding: 11px 18px; }
.dp-account-auth__links a { color: #1269f5; font-weight: 800; }
.dp-projects__empty { align-items: center; display: flex; justify-content: center; min-height: 260px; }
.dp-projects__empty-icon { color: #d6dde6; font-size: 70px; }
.dp-quote-detail { background: #f3f6f9; }
.dp-quote-detail__header { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 20px; }
.dp-quote-detail__eyebrow { color: #1269f5; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.dp-quote-detail__header h2 { margin: 4px 0 0; }
.dp-quote-detail__status { background: #fff1e8; border-radius: 4px; color: #f07800; font-weight: 900; padding: 8px 12px; }
.dp-quote-detail__card { background: #fff; border: 1px solid #dce4ee; border-radius: 4px; margin-bottom: 18px; padding: 22px; }
.dp-quote-detail__card h3 { margin: 0 0 14px; }
.dp-quote-detail__summary { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dp-quote-file__status { margin-right: 6px; }
.dp-quote-files { padding: 10px 0 22px; }
.dp-quote-file { align-items: start; border-bottom: 0; gap: clamp(48px, 12vw, 260px); grid-template-columns: 420px minmax(360px, 1fr); min-height: 230px; padding: 24px 16px 34px; }
.dp-quote-file > .dp-quote-file__preview-state { align-items: stretch; display: grid; gap: 12px; justify-items: start; min-width: 0; }
.dp-quote-file > .dp-quote-file__meta { align-items: stretch; display: grid; grid-template-rows: auto 1fr auto; min-height: 205px; text-align: right; width: 100%; }
.dp-quote-file__title { justify-self: end; max-width: 260px; text-align: right; }
.dp-quote-file__title strong { color: #17283b; display: block; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.dp-quote-file__title span { color: #78889a; display: block; font-size: 13px; line-height: 1.6; margin-top: 4px; }
.dp-quote-inline-preview { align-items: center; background: #f2f5f8; border: 1px solid #d5dee8; display: flex; height: 200px; justify-content: center; margin-left: 0; overflow: hidden; position: relative; width: 210px; }
.dp-quote-inline-preview canvas, .dp-quote-inline-preview iframe, .dp-quote-inline-preview .dp-3d-aps-viewer { border: 0; display: block; height: 100% !important; width: 100% !important; }
.dp-quote-inline-preview__placeholder { align-items: center; color: #5d6f83; display: flex; flex-direction: column; gap: 10px; max-width: 320px; padding: 18px; text-align: center; }
.dp-quote-inline-preview__placeholder strong { color: #17283b; font-size: 16px; }
.dp-quote-inline-preview__placeholder p { line-height: 1.45; margin: 0; }
.dp-quote-inline-preview__spinner { animation: dpQuoteSpin .85s linear infinite; border: 4px solid #d8e3ef; border-top-color: #1269f5; border-radius: 999px; display: block; height: 42px; width: 42px; }
.dp-quote-inline-preview__expand { align-items: center; background: rgba(23, 40, 59, .84); border: 0; border-radius: 3px; color: #fff; cursor: pointer; display: flex; font-size: 12px; font-weight: 900; height: 34px; justify-content: center; line-height: 1; padding: 0; position: absolute; right: 10px; top: 10px; width: 34px; z-index: 3; }
.dp-quote-inline-preview__expand:hover { background: #1269f5; }
.dp-quote-file--ready .dp-quote-inline-preview { background: #f7fafc; }
.dp-quote-file--conversion_failed .dp-quote-inline-preview { background: #fff7f6; border-color: #f2b8b5; }
@keyframes dpQuoteSpin { to { transform: rotate(360deg); } }
.dp-preview-progress { align-self: end; justify-self: end; margin-top: 58px; max-width: 720px; text-align: left; width: 100%; }
.dp-preview-progress__top { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.dp-preview-progress__label { color: #46576a; font-weight: 800; margin: 0; }
.dp-quote-file .dp-preview-progress__label, .dp-quote-file .dp-preview-progress__percent { display: inline; margin-top: 0; }
.dp-preview-progress__percent { color: #1269f5; font-weight: 900; margin: 0; }
.dp-preview-progress__track { background: #e4ebf3; border-radius: 8px; height: 8px; margin-top: 8px; overflow: hidden; width: 100%; }
.dp-preview-progress__track span { background: #1269f5; border-radius: 8px; display: block; height: 100%; transition: width .35s ease, background-color .2s ease; }
.dp-preview-progress p { color: #6e7f92; font-size: 12px; line-height: 1.35; margin: 8px 0 0; text-align: left; }
.dp-quote-file--processing .dp-preview-progress__track span { background: linear-gradient(90deg, #1269f5, #5f9cff); }
.dp-quote-file--ready .dp-preview-progress__label, .dp-quote-file--ready .dp-preview-progress__percent { color: #0b7a35; }
.dp-quote-file--ready .dp-preview-progress__track span { background: #14a047; }
.dp-quote-file--conversion_failed .dp-preview-progress__label, .dp-quote-file--conversion_failed .dp-preview-progress__percent { color: #b42318; }
.dp-quote-file--conversion_failed .dp-preview-progress__track span { background: #d92d20; }
.dp-quote-preview-notice { background: #ecfdf3; border: 1px solid #abefc6; border-radius: 4px; color: #087443; font-weight: 800; margin: 0 0 14px; padding: 10px 12px; }

.dp-quote-requirements__head { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 16px; }
.dp-quote-requirements__head h3, .dp-quote-requirements h4 { margin: 0; }
.dp-quote-requirements__head p { color: #6e7f92; margin: 6px 0 0; }
.dp-quote-requirements__badge { background: #eaf7ee; border-radius: 4px; color: #0a8a35; font-weight: 900; padding: 6px 10px; }
.dp-quote-customer-summary { background: #f8fafc; border: 1px solid #dce4ee; display: grid; gap: 12px 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 18px; padding: 14px; }
.dp-quote-customer-summary span { color: #768699; display: block; font-size: 13px; margin-bottom: 4px; }
.dp-quote-customer-summary strong { color: #17283b; display: block; overflow-wrap: anywhere; }
.dp-quote-form-section { border-top: 1px solid #e1e7ef; padding: 18px 0 4px; }
.dp-quote-form-section:first-of-type { border-top: 0; padding-top: 0; }
.dp-quote-form-section h4 { color: #17283b; font-size: 16px; margin-bottom: 12px; }
.dp-quote-requirements__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dp-quote-requirements label { color: #24384f; display: block; font-weight: 800; margin-bottom: 14px; }
.dp-quote-requirements label span { display: block; margin-bottom: 6px; }
.dp-quote-requirements input, .dp-quote-requirements textarea, .dp-quote-requirements select { background: #fff; border: 1px solid #c4cfda; border-radius: 3px; color: #17283b; font: inherit; padding: 10px 12px; width: 100%; }
.dp-quote-requirements input:disabled, .dp-quote-requirements textarea:disabled, .dp-quote-requirements select:disabled { background: #eef2f6; color: #78889a; cursor: not-allowed; }
.dp-quote-checkbox { align-items: center; align-self: end; border: 1px solid #dce4ee; display: flex !important; gap: 10px; min-height: 43px; padding: 10px 12px; }
.dp-quote-checkbox input { flex: 0 0 auto; width: auto; }
.dp-quote-checkbox span { margin: 0 !important; }
.dp-quote-requirements__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 14px; }
.dp-quote-requirements__status { border-radius: 4px; color: #46576a; font-weight: 800; margin-top: 14px; padding: 10px 12px; }
.dp-quote-requirements__status.is-error { background: #fff1f0; color: #b42318; }
.dp-quote-requirements__status.is-success { background: #ecfdf3; color: #087443; }
.dp-quote-confirmation { border-top: 1px solid #e1e7ef; margin-top: 18px; padding-top: 18px; }
.dp-quote-confirmation-table { border-collapse: collapse; width: 100%; }
.dp-quote-confirmation-table th, .dp-quote-confirmation-table td { border: 1px solid #d8dee7; padding: 9px 10px; text-align: left; vertical-align: top; }
.dp-quote-confirmation-table th { background: #f4f7fb; color: #46576a; width: 34%; }
.dp-quote-confirmation-table td { color: #17283b; overflow-wrap: anywhere; }
.dp-quote-confirmed-table { border-top: 1px solid #e1e7ef; margin-top: 22px; padding-top: 18px; }

@media (max-width: 760px) { .dp-3d-promo, .dp-project-card, .dp-project-card__meta, .dp-quote-detail__summary, .dp-3d-upload__form-grid, .dp-3d-file-row, .dp-quote-file, .dp-quote-customer-summary, .dp-quote-requirements__grid { grid-template-columns: 1fr; } .dp-projects__titlebar { align-items: flex-start; } .dp-project-card__thumb { border-right: 0; border-bottom: 1px solid #d9e1ea; } .dp-project-card__actions { align-items: stretch; flex-direction: column; } .dp-project-card__actions .dp-project-card__button { margin-left: 0; } .dp-3d-preview-modal__stage { height: 380px; } .dp-quote-file { gap: 18px; min-height: 0; padding: 18px 0 24px; } .dp-quote-file > .dp-quote-file__preview-state { justify-items: stretch; min-width: 0; } .dp-project-card__files { width: 100%; } .dp-quote-file > .dp-quote-file__meta { min-height: 0; text-align: left; } .dp-quote-file__title { justify-self: start; max-width: none; text-align: left; } .dp-quote-inline-preview { height: 220px; width: 100%; } .dp-preview-progress { margin-top: 18px; } }
.dp-3d-auth__switch { color: #46576a; font-size: 14px; margin: 0 38px 18px 0; text-align: center; }
.dp-3d-auth__switch button { background: transparent; border: 0; color: #1269f5; cursor: pointer; font: inherit; font-weight: 800; padding: 0; text-decoration: underline; }
.dp-3d-auth__row { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin: -2px 0 18px; }
.dp-3d-auth__row a { color: #1269f5; font-weight: 800; text-decoration: underline; }
.dp-3d-auth__remember { align-items: center; display: inline-flex !important; gap: 8px; font-weight: 600 !important; margin: 0 !important; }
.dp-3d-auth__remember input { width: auto !important; }
.dp-3d-auth__remember span { margin: 0 !important; }
@media (max-width: 760px) { .dp-3d-auth__row { align-items: flex-start; flex-direction: column; } }
