/* Component styles for account review fixes. Visibility and progress states stay in application code. */
#quote-form { --upload-accent:#4f46a5; --upload-accent-hover:#393282; }
:is(#client-profile-refresh,#newForm-refresh) #quote-form { --upload-accent:#12676c; --upload-accent-hover:#0d5559; }
.order-card__langs { padding-inline:clamp(14px,3vw,24px); grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
.order-card__lang { min-width:0; overflow-wrap:anywhere; }
.settings-session-status { box-sizing:border-box; padding:14px 16px; margin:12px 0; border:1px solid #bdc9c7; border-radius:8px; background:#edf3f1; color:#33425a; font:400 14px/1.6 Arial,sans-serif; }
.sidepanel .settings-contact-grid { box-sizing:border-box; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; min-width:0; gap:14px; margin:0; padding:0; }
.sidepanel .settings-contact-card { box-sizing:border-box; min-width:0; width:100%; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:10px; margin:0; padding:22px; border:1px solid #dcded9; border-radius:8px; background:#f7f9f5; box-shadow:none; text-align:left; }
.sidepanel .settings-contact-title { margin:0; padding:0; color:#202e43; background:none; -webkit-text-fill-color:currentColor; font:700 18px/1.4 Arial,sans-serif; }
.sidepanel .settings-contact-link { display:inline-block; box-sizing:border-box; min-width:0; max-width:100%; margin:0; padding:0; color:#12676c; font:500 14px/1.6 Arial,sans-serif; text-align:left; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.sidepanel .settings-contact-note { margin:0; padding:0; color:#566174; font:400 13px/1.6 Arial,sans-serif; text-align:left; }
.sidepanel .settings-contact-link:hover { color:#0d5559; }
.sidepanel .settings-contact-link:focus-visible { outline:3px solid #147b80; outline-offset:4px; border-radius:2px; }
#client-settings-refresh .settings-contact-card { margin:0; padding:22px; align-items:flex-start; justify-content:flex-start; }
#client-settings-refresh .settings-contact-title { font:700 18px/1.4 "Settings Manrope",Arial,sans-serif; }
#client-settings-refresh .settings-contact-link { font:500 14px/1.6 "Settings Inter",Arial,sans-serif; }
#client-settings-refresh #mySupport > h2 { display:none; }
#quote-form .quote-upload-review-upload { box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-width:0; margin:0; padding:24px 16px; min-height:112px; border:1px dashed #7e9c96; border-radius:8px; background:#edf3f1; color:#12676c; text-align:center; font:650 16px/1.5 Arial,sans-serif; cursor:pointer; }
#quote-form .quote-upload-review-upload:hover { background:#e2eeea; border-color:#12676c; }
#quote-form .quote-upload-review-upload:focus-within { outline:3px solid #147b80; outline-offset:3px; }
#quote-form .quote-upload-review-tab { min-width:0; }
#quote-form .quote-upload-review-tab .custom-file-input-wrapper { box-sizing:border-box; min-width:0; max-width:100%; width:100%; margin:0; padding:0; }
#quote-form .quote-upload-review-tab .file-name-display { box-sizing:border-box; width:100%; margin:12px 0 20px; text-align:center; overflow-wrap:anywhere; }
#quote-form .quote-upload-review { box-sizing:border-box; position:relative; width:100%; max-width:560px; min-width:0; min-height:0; margin:16px auto; padding:24px; border:1px solid #dcded9; border-top:3px solid #b08b24; border-radius:10px; background:#fff; color:#202e43; box-shadow:0 8px 28px #202e4312; backdrop-filter:none; overflow-wrap:anywhere; }
#quote-form .quote-upload-review .quote-upload-review-question { box-sizing:border-box; margin:0 0 16px; padding:0 24px 0 0; color:#202e43; background:none; -webkit-text-fill-color:currentColor; font:600 17px/1.6 Arial,sans-serif; text-align:left; }
#quote-form .quote-upload-review .saved-file-question-2 { color:#566174; font-size:14px; font-weight:400; padding:0; }
#quote-form .quote-upload-review-action { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; min-height:44px; width:auto; min-width:96px; max-width:100%; margin:4px 10px 4px 0; padding:12px 20px; border:1px solid var(--upload-accent); border-radius:6px; background:var(--upload-accent); color:#fff; -webkit-text-fill-color:currentColor; font:650 14px/1.5 Arial,sans-serif; box-shadow:none; text-shadow:none; cursor:pointer; transform:none; }
#quote-form .quote-upload-review-action:hover { background:var(--upload-accent-hover); transform:none; box-shadow:none; }
#quote-form .quote-upload-review-close { box-sizing:border-box; position:absolute; inset:10px 10px auto auto; display:grid; place-items:center; width:32px; height:32px; min-width:0; min-height:0; padding:0; margin:0; border:1px solid #dcded9; border-radius:6px; background:#fff; color:#566174; font:600 18px/1 Arial,sans-serif; box-shadow:none; cursor:pointer; transform:none; }
#quote-form .quote-upload-review-close:hover { background:#fff1ef; color:#a73232; transform:none; }
#quote-form .quote-upload-review-type { box-sizing:border-box; display:flex; align-items:center; justify-content:center; width:100%; min-width:0; min-height:52px; padding:16px 32px; margin:0; border:1px solid #bdc9c7; border-radius:6px; background:#fff; color:#12676c; font:650 16px/1.5 Arial,sans-serif; cursor:pointer; box-shadow:none; transform:none; backdrop-filter:none; }
#quote-form .quote-upload-review-type:hover { background:#edf3f1; color:#0d5559; border-color:#12676c; box-shadow:none; transform:none; }
#quote-form .quote-upload-review-type.selected { background:var(--upload-accent); color:#fff; border-color:var(--upload-accent); box-shadow:none; }
#quote-form .quote-upload-review-type.selected:hover { background:var(--upload-accent-hover); color:#fff; border-color:var(--upload-accent-hover); }
#quote-form :is(.quote-upload-review-action,.quote-upload-review-close,.quote-upload-review-type):focus-visible { outline:3px solid #147b80; outline-offset:3px; }
#quote-form :is(.quote-upload-review-action,.quote-upload-review-type):disabled { opacity:.6; cursor:not-allowed; }
#quote-form .quote-upload-review-card { box-sizing:border-box; min-width:0; max-width:680px; width:100%; margin-inline:auto; padding:22px; border:1px solid #dcded9; border-top:3px solid #b08b24; border-radius:8px; background:#fff; box-shadow:none; color:#202e43; }
#quote-form .quote-upload-review-card .instant-quote-processing-header { grid-template-columns:48px minmax(0,1fr); gap:14px; }
#quote-form .quote-upload-review-card .instant-quote-processing-visual { width:44px; height:44px; border-radius:8px; border-color:#dcded9; background:#edf3f1; }
#quote-form .quote-upload-review-card .instant-quote-processing-orbit { border-color:#bdc9c7; }
#quote-form .quote-upload-review-card .moment-text { margin:0 0 8px; padding:0; color:#202e43; background:none; -webkit-text-fill-color:currentColor; font:700 22px/1.4 Arial,sans-serif; text-align:left; }
#quote-form .quote-upload-review-card :is(.instant-quote-processing-eyebrow,.instant-quote-processing-status-detail,.instant-quote-processing-stat-label) { color:#566174; background:none; -webkit-text-fill-color:currentColor; font:400 13px/1.6 Arial,sans-serif; text-align:left; }
#quote-form .quote-upload-review-card .instant-quote-processing-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
#quote-form .quote-upload-review-card .instant-quote-processing-stat { box-sizing:border-box; min-width:0; border-color:#dcded9; background:#f7f9f5; overflow-wrap:anywhere; }
#quote-form .quote-upload-review-card .instant-quote-processing-progress-bar { background:var(--upload-accent); box-shadow:none; }
#quote-form .quote-upload-review-card .instant-quote-processing-step { color:#566174; background:#f0f3ef; }
#quote-form .quote-upload-review-card .instant-quote-processing-step.active { color:#12676c; background:#edf3f1; }
@media(max-width:540px){.sidepanel .settings-contact-grid{grid-template-columns:minmax(0,1fr)}.sidepanel .settings-contact-card{padding:18px}#quote-form .quote-upload-review{padding:18px}#quote-form .quote-upload-review-card{padding:16px}#quote-form .quote-upload-review-card .instant-quote-processing-stats{grid-template-columns:minmax(0,1fr)}}
#quote-form :is(.read-more-btn,.read-more-btn-2) { color:#12676c; -webkit-text-fill-color:currentColor; }
#quote-form :is(.read-more-btn,.read-more-btn-2):hover { color:#0d5559; }
#quote-form .client-profile-upload-scan-loader { max-width:680px; border:0; border-radius:8px; background:transparent; box-shadow:none; }
#quote-form :is(.explain-certified,.explain-business) .short-text { color:#33425a; -webkit-text-fill-color:currentColor; }
#quote-form .quote-upload-review-actions { box-sizing:border-box; width:100%; gap:12px; }
#quote-form .quote-upload-review-actions .quote-upload-review-action { flex:1; min-width:0; margin:0; }
#quote-form #dt-ol { box-sizing:border-box; width:100%; max-width:none; min-width:0; padding:0; }
#quote-form .quote-upload-review-file { box-sizing:border-box; position:relative; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:12px; width:100%; min-width:0; max-width:680px; margin:0 auto 12px; padding:18px; border:1px solid #dcded9; border-radius:8px; background:#f7f9f5; box-shadow:none; color:#202e43; overflow-wrap:anywhere; }
#quote-form .quote-upload-review-file .quote-upload-review { margin:16px auto 0; }
#quote-form .quote-upload-review-card .instant-quote-processing-title { margin:0 0 8px; padding:0; color:#202e43; background:none; -webkit-text-fill-color:currentColor; font:700 22px/1.4 Arial,sans-serif; text-align:left; }
#quote-form .quote-upload-review-card .instant-quote-processing-message { margin:0; padding:0; color:#566174; background:none; -webkit-text-fill-color:currentColor; font:400 14px/1.6 Arial,sans-serif; text-align:left; }
#quote-form .quote-upload-review-card:not([hidden]) { display:flex; flex-direction:column; gap:18px; overflow-wrap:anywhere; }
#quote-form .quote-upload-review-card .instant-quote-processing-header { display:grid; align-items:center; }
#quote-form .quote-upload-review-card .instant-quote-processing-copy { min-width:0; }
#quote-form .quote-upload-review-card .instant-quote-processing-stats { display:grid; gap:10px; }
#quote-form .quote-upload-review-card .instant-quote-processing-stat { display:flex; flex-direction:column; gap:4px; padding:12px; }
#quote-form .quote-upload-review-card .instant-quote-processing-stat strong { color:#202e43; -webkit-text-fill-color:currentColor; font:650 14px/1.5 Arial,sans-serif; white-space:normal; overflow-wrap:anywhere; }
#quote-form .quote-upload-review-card .instant-quote-processing-stat span { color:#566174; -webkit-text-fill-color:currentColor; font:400 12px/1.5 Arial,sans-serif; white-space:normal; }
#quote-form .quote-upload-review-card .instant-quote-processing-progress-wrap { display:flex; flex-direction:column; gap:8px; min-width:0; }
#quote-form .quote-upload-review-card .instant-quote-processing-progress-meta { display:flex; justify-content:space-between; gap:12px; font:600 13px/1.5 Arial,sans-serif; color:#33425a; }
#quote-form .quote-upload-review-card .instant-quote-processing-progress-track { position:relative; height:8px; overflow:hidden; border-radius:20px; background:#e3e8e1; }
#quote-form .quote-upload-review-card .instant-quote-processing-progress-bar { position:absolute; inset:0 auto 0 0; height:100%; min-width:0; width:8%; background:var(--upload-accent); }
#quote-form .quote-upload-review-card .instant-quote-processing-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; min-width:0; margin:0; padding:0; list-style:none; }
#quote-form .quote-upload-review-card .instant-quote-processing-step { min-width:0; padding:8px; border-radius:6px; font:500 12px/1.5 Arial,sans-serif; overflow-wrap:anywhere; }
#quote-form .client-profile-upload-scan-loader.complete .quote-upload-review-card :is(.instant-quote-processing-stats,.instant-quote-processing-progress-wrap,.instant-quote-processing-steps) { display:none; }
@media(max-width:540px){#quote-form .quote-upload-review-card .instant-quote-processing-stats{grid-template-columns:minmax(0,1fr)}#quote-form .quote-upload-review-card .instant-quote-processing-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
#quote-form .quote-upload-review-card .client-profile-upload-scan-loader-image { display:block; width:30px; height:30px; max-width:100%; margin:0; padding:0; object-fit:contain; border-radius:50%; box-shadow:none; }
#quote-form .quote-upload-review-type { transition:border-color .15s ease; }
.settings-session-status[hidden] { display:none; }

/* Uploaded file details and actions share a compact, left-aligned card. */
#quote-form #dt-ol:has(> .quote-upload-review-file) { margin-block:20px; gap:10px; }
#quote-form #dt-ol > .quote-upload-review-file {
  position:relative; display:flex; flex-flow:row wrap; align-items:center; justify-content:flex-start;
  gap:8px 12px; max-width:680px; min-width:0; padding:14px 16px; margin:0 auto;
  border:1px solid #dcded9; border-radius:8px; background:#fff;
}
#quote-form .quote-upload-review-file > p {
  box-sizing:border-box; flex:0 1 auto; width:auto; min-width:0; max-width:100%; margin:0; padding:0;
  background:none; color:#33425a; -webkit-text-fill-color:currentColor;
  font:500 13px/1.55 Arial,sans-serif; text-align:left; overflow-wrap:anywhere;
}
#quote-form .quote-upload-review-file > .file-name {
  flex:0 0 100%; max-width:100%; padding-right:44px; min-height:32px;
  color:#202e43; font-size:15px; font-weight:700;
}
#quote-form .quote-upload-review-file > :is(.word-count,.language) {
  padding:4px 9px; border-radius:5px; background:#f1f4ef;
}
#quote-form .quote-upload-review-file > .view-file {
  margin:0; padding:4px 0; color:#12676c; text-decoration:underline;
  text-underline-offset:3px; font:650 13px/1.55 Arial,sans-serif;
}
#quote-form .quote-upload-review-file > .view-file:hover { color:#0d5559; }
#quote-form .quote-upload-review-file > .view-file:focus-visible { outline:3px solid #147b80; outline-offset:3px; }
#quote-form .quote-upload-review-file > img { width:22px !important; height:22px !important; margin:0; object-fit:contain; flex:none; }
#quote-form .quote-upload-review-file > .quote-upload-review { flex-basis:100%; margin:8px 0 0; }
#quote-form .quote-upload-review-file > .quote-upload-review-close:disabled { opacity:.6; cursor:not-allowed; }

