/* ExpertCar partnerportál: shortcode-szintű stílusok. Nem módosítja az Elementor-sablont. */
.ecar {
  --ecar-ink: #162d3a;
  --ecar-muted: #627784;
  --ecar-teal: #299f86;
  --ecar-ocean: #176a85;
  --ecar-deep: #123e54;
  --ecar-mint: #e9f8f2;
  --ecar-stroke: #dce9e8;
  --ecar-soft: #f6faf9;
  --ecar-shadow: 0 12px 36px rgba(18, 62, 84, .075);
  width: 100%;
  max-width: 1180px;
  margin: 28px auto 70px;
  color: var(--ecar-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
}
.ecar *, .ecar *::before, .ecar *::after { box-sizing: border-box; }
.ecar h2, .ecar h3, .ecar p { margin-top: 0; }
.ecar h2, .ecar h3 { color: var(--ecar-ink); line-height: 1.25; letter-spacing: -.02em; }
.ecar h2 { font-size: clamp(25px, 2.5vw, 33px); font-weight: 750; margin-bottom: 10px; }
.ecar h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.ecar p { color: var(--ecar-muted); }
.ecar a { color: var(--ecar-ocean); text-decoration: none; }
.ecar a:hover { color: var(--ecar-teal); }
.ecar a:focus-visible, .ecar button:focus-visible,
.ecar input:focus-visible, .ecar select:focus-visible,
.ecar textarea:focus-visible, .ecar summary:focus-visible {
  outline: 3px solid rgba(41, 159, 134, .34);
  outline-offset: 3px;
}
.ecar .ecar-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--ecar-teal); margin-bottom: 13px; }
.ecar .ecar-eyebrow-light { color: #b8f1da; }
.ecar .ecar-subtle { font-size: 13px; color: var(--ecar-muted); margin-bottom: 0; }
.ecar .ecar-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ecar .ecar-button,
.ecar button.ecar-button,
.ecar input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 12px; padding: 12px 21px;
  min-height: 47px; width: auto; margin: 0;
  font-family: inherit; font-size: 14px; font-weight: 750; line-height: 1.35;
  text-align: center; text-decoration: none !important; cursor: pointer;
  background: var(--ecar-deep); color: #fff !important;
  box-shadow: none; transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.ecar .ecar-button:hover, .ecar button.ecar-button:hover, .ecar input[type=submit]:hover {
  background: var(--ecar-ocean); box-shadow: 0 8px 20px rgba(23,106,133,.16); color: #fff !important; transform: translateY(-1px);
}
.ecar .ecar-button-primary, .ecar button.ecar-button-primary, .ecar input[type=submit] {
  background: linear-gradient(110deg, #2aa987, #166d88); color: #fff !important;
}
.ecar .ecar-button-primary:hover, .ecar button.ecar-button-primary:hover, .ecar input[type=submit]:hover { background: linear-gradient(110deg, #1c9678, #105875); }
.ecar .ecar-button-light { background: #fff; color: #164d5e !important; white-space: nowrap; }
.ecar .ecar-button-light:hover { background: #e9fbf4; color: #164d5e !important; }
.ecar .ecar-button-outline { color: var(--ecar-ocean) !important; background: #fff; border-color: #c9dfdd; padding: 9px 16px; min-height: 40px; }
.ecar .ecar-button-outline:hover { color: #fff !important; background: var(--ecar-ocean); }
.ecar button.ecar-button-final { background: #14394e; }
.ecar .ecar-button-plus { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #d9f7ec; font-size: 20px; line-height: 20px; }
/* Login and logged-in state */
.ecar.ecar-auth { max-width: 530px; margin: 24px auto 78px; }
.ecar .ecar-auth-card { position: relative; overflow: hidden; border: 1px solid #dbeae7; border-radius: 24px; padding: 38px 44px 34px; background: #fff; box-shadow: 0 20px 65px rgba(22, 71, 86, .095); }
.ecar .ecar-auth-card::before { content: ''; position: absolute; right: -75px; top: -85px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(41,159,134,.10) 0, rgba(41,159,134,0) 72%); pointer-events: none; }
.ecar .ecar-auth-illustration { display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; border-radius: 16px; background: linear-gradient(125deg, #e4faef, #e1f2f7); color: #168d80; font-size: 27px; font-weight: 700; margin: 0 0 23px; }
.ecar .ecar-auth-card > p { max-width: 405px; margin: 0 0 26px; font-size: 15px; }
.ecar .ecar-auth-main-button { width: 100%; }
.ecar #ecar-login-form { margin: 0; }
.ecar #ecar-login-form p.login-username,
.ecar #ecar-login-form p.login-password { margin: 0 0 19px; position: relative; }
.ecar #ecar-login-form label { display: inline-block; font-size: 13px; font-weight: 750; color: #223d49; margin: 0 0 7px; }
.ecar #ecar-login-form input[type=text], .ecar #ecar-login-form input[type=password] { min-height: 50px; width: 100%; padding: 11px 14px; background: #f9fcfb; border: 1px solid #ccdeda; border-radius: 10px; font-size: 16px; color: var(--ecar-ink); box-shadow: none; }
.ecar #ecar-login-form .ecar-password-control { display: block; position: relative; }
.ecar #ecar-login-form .ecar-password-control input { padding-right: 95px; }
.ecar button.ecar-toggle-password { display: block; position: absolute; top: 50%; right: 9px; transform: translateY(-50%); padding: 7px 9px; background: transparent; border: 0; color: var(--ecar-ocean); font-weight: 750; font-size: 12px; box-shadow: none; cursor: pointer; }
.ecar #ecar-login-form p.login-remember { display: flex; align-items: center; gap: 8px; margin: 2px 0 22px; }
.ecar #ecar-login-form p.login-remember label { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 550; color: #536975; }
.ecar #ecar-login-form input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--ecar-teal); margin: 0; }
.ecar #ecar-login-form p.login-submit { margin: 0; }
.ecar #ecar-login-form input[type=submit] { width: 100%; min-height: 50px; font-size: 15px; }
.ecar .ecar-auth-footer { display: flex; gap: 11px; align-items: center; flex-direction: column; text-align: center; padding-top: 24px; border-top: 1px solid #e7efee; margin-top: 25px; }
.ecar .ecar-auth-footer a { font-size: 13px; font-weight: 750; }
.ecar .ecar-auth-help { font-size: 12px; color: #87969e; }
/* Partner dashboard */
.ecar .ecar-dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 22px; padding: 35px 39px; background: radial-gradient(circle at 92% 15%, rgba(108,226,194,.18), transparent 40%), linear-gradient(112deg, #11394c 2%, #176781 67%, #249b86 100%); box-shadow: var(--ecar-shadow); }
.ecar .ecar-dashboard-hero h2 { color: #fff; margin: 0 0 9px; }
.ecar .ecar-dashboard-hero p { color: #d9f4f2; margin: 0; max-width: 520px; font-size: 14px; }
.ecar .ecar-dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; margin: 20px 0 26px; }
.ecar .ecar-stat { border: 1px solid var(--ecar-stroke); border-radius: 17px; padding: 22px 24px; background: #fff; box-shadow: 0 5px 19px rgba(18,62,84,.035); }
.ecar .ecar-stat-label { display: block; color: #657e87; font-size: 13px; font-weight: 650; }
.ecar .ecar-stat strong { display: block; margin: 6px 0 0; font-size: 31px; letter-spacing: -.04em; line-height: 1.2; font-weight: 800; color: var(--ecar-ink); }
.ecar .ecar-stat-detail { display: block; margin-top: 5px; font-size: 12px; color: #80939b; }
.ecar .ecar-panel { background: #fff; border: 1px solid var(--ecar-stroke); border-radius: 20px; box-shadow: var(--ecar-shadow); overflow: hidden; }
.ecar .ecar-reports-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 29px 30px 22px; }
.ecar .ecar-reports-toolbar .ecar-eyebrow { margin-bottom: 7px; }
.ecar .ecar-reports-toolbar h2 { font-size: 23px; margin-bottom: 6px; }
.ecar .ecar-report-search { flex: 0 1 360px; }
.ecar .ecar-report-search input[type=search] { width: 100%; min-height: 44px; border: 1px solid var(--ecar-stroke); background: #f7fbfa; border-radius: 10px; color: var(--ecar-ink); font-size: 13px; padding: 10px 14px; box-shadow: none; }
.ecar .ecar-filters { display: flex; gap: 7px; padding: 0 30px 17px; flex-wrap: wrap; }
.ecar button.ecar-filter { border: 1px solid transparent; border-radius: 100px; background: #f2f7f7; color: #4a6974; font-family: inherit; font-size: 12px; font-weight: 750; line-height: 1.4; padding: 9px 14px; width: auto; min-height: 0; margin: 0; cursor: pointer; box-shadow: none; }
.ecar button.ecar-filter:hover { background: #e6f5ef; }
.ecar button.ecar-filter.is-active { background: #e4f7ef; color: #117b6e; border-color: #c2eade; }
.ecar .ecar-scroll { width: 100%; overflow-x: auto; }
.ecar .ecar-report-table { width: 100%; min-width: 640px; border-collapse: collapse; border: 0; margin: 0; }
.ecar .ecar-report-table th { background: #f6f9f9; color: #657c86; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; text-align: left; border: 0; padding: 14px 28px; font-weight: 800; }
.ecar .ecar-report-table td { border: 0; border-top: 1px solid #edf2f1; background: #fff; padding: 17px 28px; font-size: 13px; color: #58727e; vertical-align: middle; }
.ecar .ecar-report-table tr:hover td { background: #fbfefd; }
.ecar .ecar-report-table tr[hidden], .ecar [hidden] { display: none !important; }
.ecar .ecar-report-main { display: flex; flex-direction: column; gap: 3px; }
.ecar .ecar-report-main strong { font-size: 14px; font-weight: 750; color: #1c3948; }
.ecar .ecar-report-main span { color: #8b9ba2; font-size: 12px; }
.ecar .ecar-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 100px; padding: 7px 11px; font-weight: 750; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.ecar .ecar-status::before { content: ''; border-radius: 50%; width: 7px; height: 7px; flex: 0 0 7px; background: currentColor; }
.ecar .ecar-status-final { background: #e6f7ee; color: #138260; }
.ecar .ecar-status-pending { background: #fff3dc; color: #9c6b1e; }
.ecar .ecar-status-new { background: #e7f3fc; color: #27749a; }
.ecar .ecar-row-actions { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; }
.ecar .ecar-row-link { font-size: 12px; font-weight: 750; white-space: nowrap; }
.ecar .ecar-row-link-secondary { color: #647984; }
.ecar .ecar-empty { padding: 44px 18px 51px; text-align: center; border-top: 1px solid #eef4f1; }
.ecar .ecar-empty-icon { background: #e4f6ef; color: #289b81; width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; font-size: 29px; margin: 0 auto 18px; }
.ecar .ecar-empty h3 { font-size: 20px; }
.ecar .ecar-empty p { margin: 0 auto 24px; max-width: 400px; font-size: 14px; }
.ecar .ecar-filter-empty { padding: 20px 26px 28px; text-align: center; color: var(--ecar-muted); font-size: 14px; }
.ecar .ecar-dashboard-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 20px 4px; color: #81959c; font-size: 12px; }
.ecar .ecar-dashboard-footer a { font-weight: 750; font-size: 12px; }
/* Inspection form */
.ecar .ecar-form-topline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 15px; }
.ecar .ecar-form-top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ecar .ecar-back-link { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 750; }
.ecar .ecar-form-hero { padding: 29px 32px; margin: 0 0 15px; border-radius: 18px; background: linear-gradient(112deg, #eafaf2, #eef7fb); border: 1px solid #d8ebe8; }
.ecar .ecar-form-hero .ecar-eyebrow { margin-bottom: 5px; }
.ecar .ecar-form-hero h2 { margin: 0 0 6px; font-size: 28px; }
.ecar .ecar-form-hero p { margin: 0; color: #51737b; font-size: 14px; }
.ecar .ecar-section-nav { display: flex; gap: 7px; overflow-x: auto; padding: 5px 0 15px; scrollbar-width: thin; margin: 0 0 6px; }
.ecar .ecar-section-nav a { flex: 0 0 auto; white-space: nowrap; background: #f3f8f7; border: 1px solid #e1edeb; color: #466775; font-weight: 750; font-size: 12px; border-radius: 99px; padding: 8px 13px; }
.ecar .ecar-section-nav a:hover { color: #127a71; background: #e6f8f0; }
.ecar .ecar-form-section { scroll-margin-top: 105px; margin: 0 0 19px; padding: 25px 28px 29px; background: #fff; border: 1px solid var(--ecar-stroke); border-radius: 18px; box-shadow: 0 5px 20px rgba(18,62,84,.027); }
.ecar .ecar-section-heading { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 23px; padding-bottom: 17px; border-bottom: 1px solid #eaf0ef; }
.ecar .ecar-section-heading h3 { font-size: 19px; margin: 0 0 3px; padding: 0; border: 0; background: transparent; }
.ecar .ecar-section-heading p { color: #83959b; font-size: 12px; margin: 0; }
.ecar .ecar-section-number { background: linear-gradient(125deg, #def7ee, #e5f3fb); border-radius: 10px; color: #218576; width: 36px; height: 36px; min-width: 36px; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.ecar .ecar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ecar .ecar-field { min-width: 0; }
.ecar .ecar-field > label { display: block; font-size: 12px; font-weight: 750; color: #2c6573; margin: 0 0 6px; line-height: 1.4; }
.ecar .ecar-field input:not([type=checkbox]):not([type=file]),
.ecar .ecar-field select, .ecar .ecar-field textarea,
.ecar .ecar-field details input,
.ecar .ecar-attachment-box input:not([type=file]) {
  width: 100%; min-width: 0; min-height: 44px; color: #24424e; padding: 10px 12px; border: 1px solid #dae6e4;
  border-radius: 10px; background: #fbfdfc; box-shadow: none; font-family: inherit; font-size: 13px; line-height: 1.4;
}
.ecar .ecar-field select { cursor: pointer; padding-right: 22px; }
.ecar .ecar-field textarea { min-height: 94px; resize: vertical; }
.ecar .ecar-field [readonly] { background: #f4f8f7 !important; color: #6e818a !important; }
.ecar .ecar-field [disabled] { opacity: .75; cursor: not-allowed; }
.ecar .ecar-field input[type=checkbox] { margin: 11px 0 0; width: 18px; height: 18px; accent-color: var(--ecar-teal); }
.ecar .ecar-field details { margin-top: 8px; }
.ecar .ecar-field details summary { display: inline-flex; font-size: 12px; cursor: pointer; color: var(--ecar-ocean); font-weight: 750; }
.ecar .ecar-field details input { margin-top: 7px; }
.ecar .ecar-notice { padding: 15px 18px; margin: 0 0 15px; border-radius: 12px; border: 1px solid #f0dca4; background: #fff9ed; color: #7e602e; font-size: 13px; }
.ecar .ecar-notice-error { border-color: #f4bbb3; background: #fff6f4; color: #ad4541; }
.ecar .ecar-photo-overview { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; margin: 0 0 12px; border-radius: 12px; background: #ebf8f3; }
.ecar .ecar-photo-overview strong { display: block; color: #176b62; font-size: 13px; }
.ecar .ecar-photo-overview p { font-size: 12px; margin: 3px 0 0; color: #567d7c; }
.ecar .ecar-photo-overview > strong { flex: 0 0 auto; white-space: nowrap; }
.ecar .ecar-photos-list { display: flex; flex-direction: column; gap: 8px; }
.ecar .ecar-photo { background: #fff; border: 1px solid #e2ecea; border-radius: 11px; overflow: hidden; }
.ecar .ecar-photo[open] { border-color: #aadccc; }
.ecar .ecar-photo summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 15px; list-style: none; cursor: pointer; }
.ecar .ecar-photo summary::-webkit-details-marker { display: none; }
.ecar .ecar-photo-left, .ecar .ecar-photo-right { display: flex; align-items: center; gap: 11px; }
.ecar .ecar-photo-left { min-width: 0; }
.ecar .ecar-photo-left strong { font-size: 13px; font-weight: 650; color: #30525e; }
.ecar .ecar-photo-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #d3a354; flex: 0 0 9px; }
.ecar .ecar-photo-done .ecar-photo-dot { background: #1aa782; }
.ecar .ecar-photo-neutral .ecar-photo-dot { background: #aabcc4; }
.ecar .ecar-photo-count { background: #f7f3e8; padding: 5px 9px; border-radius: 99px; color: #936c30; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ecar .ecar-photo-done .ecar-photo-count { background: #e7f8ef; color: #187d64; }
.ecar .ecar-photo-neutral .ecar-photo-count { background: #f3f7f8; color: #768f97; }
.ecar .ecar-chevron { width: 8px; height: 8px; border-right: 2px solid #6c8b92; border-bottom: 2px solid #6c8b92; transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.ecar .ecar-photo[open] .ecar-chevron { transform: rotate(225deg); }
.ecar .ecar-photo-body { border-top: 1px solid #eaf1ef; background: #fbfdfc; padding: 16px; }
.ecar .ecar-photo-body input[type=file], .ecar .ecar-attachment-box input[type=file] { width: 100%; max-width: 100%; border: 1px dashed #b8d7ce; border-radius: 10px; padding: 10px; background: #f5fbf9; color: #426b74; font-size: 12px; }
.ecar .ecar-file-help { display: block; color: #356873; font-weight: 750; font-size: 12px; margin-bottom: 9px; }
.ecar .ecar-file-selection { margin: 7px 0 0; font-size: 12px; color: #7e939b; }
.ecar .ecar-file-link { display: inline-block; margin: 10px 9px 0 0; padding: 5px 9px; font-size: 12px; font-weight: 750; color: #116f7c; background: #e8f6f5; border-radius: 7px; }
.ecar .ecar-helper { margin: 10px 0 0; font-size: 12px; }
.ecar .ecar-attachment-box { background: #f8fcfb; border: 1px dashed #d6e8e3; border-radius: 13px; padding: 20px; }
.ecar .ecar-attachment-box > p:first-child { margin-top: 0; font-size: 13px; }
.ecar .ecar-save-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 27px; background: #ebf8f3; border: 1px solid #cfe7df; border-radius: 16px; }
.ecar .ecar-save-panel strong { display: block; font-size: 15px; color: #275457; }
.ecar .ecar-save-panel p { color: #547678; font-size: 12px; margin: 6px 0 0; max-width: 510px; }
.ecar .ecar-save-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1024px) {
 .ecar .ecar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
 .ecar .ecar-dashboard-hero { padding: 29px; }
 .ecar .ecar-report-table th, .ecar .ecar-report-table td { padding-left: 17px; padding-right: 17px; }
 .ecar .ecar-save-panel { align-items: stretch; flex-direction: column; }
 .ecar .ecar-save-buttons { justify-content: flex-start; }
}
@media (max-width: 720px) {
 .ecar { margin: 18px auto 45px; }
 .ecar.ecar-auth { margin-top: 15px; }
 .ecar .ecar-auth-card { padding: 29px 24px; border-radius: 18px; }
 .ecar .ecar-dashboard-hero { flex-direction: column; align-items: stretch; padding: 27px; border-radius: 18px; }
 .ecar .ecar-dashboard-stats { gap: 10px; }
 .ecar .ecar-stat { padding: 16px; }
 .ecar .ecar-stat strong { font-size: 27px; }
 .ecar .ecar-stat-label { font-size: 12px; }
 .ecar .ecar-reports-toolbar { align-items: stretch; flex-direction: column; padding: 23px 20px 20px; }
 .ecar .ecar-report-search { flex-basis: auto; width: 100%; }
 .ecar .ecar-filters { padding: 0 20px 15px; }
 .ecar .ecar-grid { grid-template-columns: 1fr; }
 .ecar .ecar-form-section { padding: 19px; }
 .ecar .ecar-form-hero { padding: 25px 22px; }
 .ecar .ecar-photo-overview { align-items: flex-start; flex-direction: column; }
 .ecar .ecar-photo summary { padding: 12px; }
 .ecar .ecar-photo-left strong { font-size: 12px; }
 .ecar .ecar-save-panel { padding: 20px; }
}
@media (max-width: 460px) {
 .ecar .ecar-auth-card { padding: 25px 18px; }
 .ecar .ecar-dashboard-stats { grid-template-columns: 1fr; }
 .ecar .ecar-stat { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: center; }
 .ecar .ecar-stat-label { grid-column: 1; }
 .ecar .ecar-stat strong { grid-column: 2; grid-row: 1 / 3; margin: 0; }
 .ecar .ecar-stat-detail { grid-column: 1; }
 .ecar .ecar-report-table { min-width: 0; display: block; }
 .ecar .ecar-report-table thead { display: none; }
 .ecar .ecar-report-table tbody { display: block; }
 .ecar .ecar-report-table tr { display: block; padding: 16px 20px; border-top: 1px solid #edf2f1; }
 .ecar .ecar-report-table td { display: block; border: 0; padding: 4px 0; }
 .ecar .ecar-report-table td:first-child { padding-bottom: 10px; }
 .ecar .ecar-report-table td[data-label="Létrehozva"]::before { content: 'Dátum: '; font-weight: 700; }
 .ecar .ecar-row-actions { margin-top: 7px; }
 .ecar .ecar-dashboard-footer { flex-direction: column; align-items: flex-start; }
 .ecar .ecar-save-buttons, .ecar .ecar-save-buttons .ecar-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 .ecar .ecar-button, .ecar .ecar-chevron { transition: none; }
 .ecar .ecar-button:hover { transform: none; }
}

/* Újonnan kiválasztott fotók helyi előnézete, feltöltés előtti visszavonással. */
.ecar .ecar-file-error { color: #b34338; font-weight: 750; }
.ecar .ecar-selected-preview { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 10px; }
.ecar .ecar-selected-preview:empty { display: none; }
.ecar .ecar-preview-item { flex: 0 0 96px; width: 96px; min-width: 0; }
.ecar .ecar-preview-item img { display: block; width: 96px; height: 76px; border-radius: 9px; object-fit: cover; background: #e9f3f0; border: 1px solid #cde2da; }
.ecar .ecar-preview-item span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; color: #4e737c; margin-top: 4px; }
.ecar .ecar-preview-extra { font-size: 12px; color: #62868b; }
.ecar button.ecar-clear-selection { border: 1px solid #cadeda; background: #fff; color: #216f72; border-radius: 8px; padding: 8px 11px; font-size: 12px; font-weight: 750; cursor: pointer; }
.ecar button.ecar-clear-selection:hover { background: #eaf7f3; }

.ecar .ecar-notice-success { border-color: #c2e7d5; background: #edfaf2; color: #236b51; }


/* 0.9.3: searchable auto make combobox. Scoped to the ExpertCar shortcode. */
.ecar .ecar-brand-picker { position: relative; width: 100%; min-width: 0; }
.ecar .ecar-brand-control { position: relative; }
.ecar .ecar-brand-control .ecar-brand-input { width: 100%; padding-right: 54px !important; min-height: 47px; font-size: 14px; background: #fff; }
.ecar .ecar-brand-control .ecar-brand-input:focus { border-color: #5bb7a5; box-shadow: 0 0 0 3px rgba(41, 159, 134, .12); }
.ecar button.ecar-brand-toggle { display: block; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 45px; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-left: 1px solid #e0ece8; border-radius: 0 9px 9px 0; background: #f6fbf9; color: #1d7181; cursor: pointer; box-shadow: none; transform: none; }
.ecar button.ecar-brand-toggle:hover { background: #e7f6ef; color: #176a85; box-shadow: none; transform: none; }
.ecar button.ecar-brand-toggle::before { content: ''; display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.ecar .ecar-brand-picker.is-open button.ecar-brand-toggle::before { transform: translateY(2px) rotate(225deg); }
.ecar .ecar-brand-options { position: absolute; z-index: 100; top: calc(100% - 24px); left: 0; right: 0; max-height: 245px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #bfded4; border-radius: 11px; box-shadow: 0 16px 35px rgba(14, 59, 66, .18); padding: 5px; }
.ecar .ecar-brand-options[hidden] { display: none !important; }
.ecar .ecar-brand-option { padding: 10px 12px; border-radius: 7px; color: #24424e; font-size: 13px; cursor: pointer; line-height: 1.4; }
.ecar .ecar-brand-option:hover, .ecar .ecar-brand-option.is-active { background: #e8f7f1; color: #0b6f62; }
.ecar .ecar-brand-empty { padding: 14px 12px; color: #667f87; font-size: 12px; }
.ecar .ecar-brand-status { font-size: 11px; line-height: 1.4; color: #66818a; margin: 5px 0 0; }
@media (max-width: 720px) {
 .ecar .ecar-brand-options { max-height: min(250px, 45vh); }
 .ecar .ecar-brand-control .ecar-brand-input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ecar button.ecar-brand-toggle::before { transition: none; } }

/* 0.9.5: saved photograph gallery in the edit form; private, authorized thumbnails. */
.ecar .ecar-photo-change-feedback { margin: 0 0 13px; padding: 11px 15px; border-radius: 10px; border: 1px solid #a6d9c6; background: #edf9f3; color: #185d51; font-size: 12px; font-weight: 650; }
.ecar .ecar-photo-change-feedback[hidden] { display: none !important; }
.ecar .ecar-saved-photo-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 9px; }
.ecar .ecar-saved-photo-header strong { color: #244c5a; font-size: 13px; }
.ecar .ecar-saved-photo-header span { color: #5b7d83; font-size: 11px; }
.ecar .ecar-saved-photo-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,190px),1fr)); gap: 12px; padding: 2px 0; }
.ecar .ecar-saved-photo { position: relative; min-width: 0; padding: 7px; background: #fff; border: 1px solid #d5e6e0; border-radius: 12px; box-shadow: 0 3px 10px rgba(24,75,80,.06); transition: opacity .15s,border-color .15s,box-shadow .15s; }
.ecar .ecar-saved-photo[draggable="true"] { cursor: grab; }
.ecar .ecar-saved-photo[draggable="true"]:active { cursor: grabbing; }
.ecar .ecar-saved-photo.is-dragging { opacity: .45; }
.ecar .ecar-saved-photo.is-drag-target { border-color: #199987; box-shadow: 0 0 0 2px #8be0ce; }
.ecar .ecar-saved-photo.is-pending-delete { border-color: #e9aaa3; background: #fff5f3; }
.ecar .ecar-saved-photo.is-pending-delete .ecar-saved-photo-image img { opacity: .36; filter: grayscale(.85); }
.ecar .ecar-saved-photo-image { position: relative; overflow: hidden; border-radius: 8px; background: #eaf1ef; }
.ecar .ecar-saved-photo-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; color: #52727a; font-size: 11px; }
.ecar .ecar-saved-photo-position { position: absolute; bottom: 7px; left: 7px; padding: 4px 7px; background: rgba(13,59,70,.86); border-radius: 6px; color: #fff; font-size: 10px; font-weight: 750; }
.ecar .ecar-saved-photo-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: 9px; }
.ecar .ecar-photo-view { font-size: 11px; color: #176b7c; text-decoration: none; font-weight: 700; }
.ecar .ecar-photo-view:hover { text-decoration: underline; }
.ecar .ecar-photo-move-buttons { display: inline-flex; gap: 4px; }
.ecar .ecar-photo-move-buttons button { width: 32px; height: 32px; min-width: 0; min-height: 0; border: 1px solid #cbded8; border-radius: 8px; background: #f5fbf8; color: #1b656d; font-size: 17px; padding: 0; margin: 0; cursor: pointer; box-shadow: none; transform: none; }
.ecar .ecar-photo-move-buttons button:hover:not(:disabled) { color: #074e62; background: #dcf3ea; }
.ecar .ecar-photo-move-buttons button:disabled { opacity: .35; cursor: not-allowed; }
.ecar .ecar-photo-delete-label { display: inline-flex; flex-basis: 100%; align-items: center; gap: 6px; margin: 3px 0 0; padding: 6px 8px; border-radius: 8px; background: #fff5f3; color: #994b43; font-size: 11px; font-weight: 650; cursor: pointer; }
.ecar .ecar-photo-delete-label input { width: 15px; height: 15px; margin: 0; accent-color: #bd5b53; }
.ecar .ecar-saved-photo.is-pending-delete .ecar-photo-delete-label { background: #f4deda; }
.ecar .ecar-photo-arrange-help, .ecar .ecar-photo-empty { margin: 12px 0 0; color: #647d80; font-size: 11px; line-height: 1.55; }
@media(max-width:480px) {
 .ecar .ecar-saved-photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
 .ecar .ecar-saved-photo { padding: 5px; }
 .ecar .ecar-photo-view { font-size: 10px; }
 .ecar .ecar-photo-move-buttons button { width: 29px; height: 29px; }
}
@media(max-width:350px) { .ecar .ecar-saved-photo-grid { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion: reduce) { .ecar .ecar-saved-photo { transition: none; } }

/* 0.9.6 - compact tire/rim module. All styles are scoped to ExpertCar shortcode markup. */
.ecar .ecar-wheels { min-width: 0; display: grid; gap: 18px; }
.ecar .ecar-wheels h4 { font-size: 17px; line-height: 1.35; color: #1b3d4b; font-weight: 800; margin: 0 0 6px; }
.ecar .ecar-wheels p { font-size: 12px; line-height: 1.65; }
.ecar .ecar-wheel-intro { background: #f1faf7; border: 1px solid #d5ebe3; border-radius: 13px; padding: 15px 18px; }
.ecar .ecar-wheel-intro strong { display: block; margin-bottom: 3px; font-size: 15px; color: #1f625f; }
.ecar .ecar-wheel-intro p { margin: 0; }
.ecar .ecar-wheel-common { border: 1px solid #add9ce; border-radius: 16px; background: linear-gradient(124deg,#e9f8f2,#f1f9fc); padding: 21px; }
.ecar .ecar-wheel-common-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; }
.ecar .ecar-wheel-common-heading strong { display: block; font-size: 15px; font-weight: 800; color: #164a55; margin: 0 0 2px; }
.ecar .ecar-wheel-common-heading small { display: block; font-size: 11px; line-height: 1.5; color: #5c797d; }
.ecar .ecar-wheel-common-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; background: #d2f2e5; color: #217d74; font-weight: 800; font-size: 22px; }
.ecar .ecar-wheel-common-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.ecar .ecar-wheel-copy-actions { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 16px; }
.ecar .ecar-wheel-copy-actions [data-ecar-wheel-feedback] { color: #236e63; font-weight: 700; font-size: 12px; }
.ecar .ecar-wheel-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.ecar .ecar-wheel-card { min-width: 0; border: 1px solid #d9e9e5; border-radius: 15px; background: #fff; padding: 18px; box-shadow: 0 3px 15px rgba(20,72,77,.035); }
.ecar .ecar-wheel-card.ecar-wheel-has-data { border-color: #b6dfd2; }
.ecar .ecar-wheel-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-bottom: 13px; margin-bottom: 15px; border-bottom: 1px solid #eef3f0; }
.ecar .ecar-wheel-card-title strong { font-size: 15px; color: #214451; }
.ecar .ecar-wheel-badge { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #e4f5ee; color: #247b6d; font-size: 17px; }
.ecar .ecar-wheel-card-summary { margin-left: auto; max-width: 100%; font-size: 11px; color: #678188; text-align: right; }
.ecar .ecar-wheel-main-fields, .ecar .ecar-wheel-detail-grid, .ecar .ecar-wheel-spare-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.ecar .ecar-wheel-wide { grid-column: 1/-1; }
.ecar .ecar-wheel-details { margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf3f1; }
.ecar .ecar-wheel-details summary { display: flex; justify-content: space-between; cursor: pointer; color: #226e75; font-size: 12px; font-weight: 750; list-style: none; }
.ecar .ecar-wheel-details summary::-webkit-details-marker { display: none; }
.ecar .ecar-wheel-details summary span { transition: transform .15s; }
.ecar .ecar-wheel-details[open] summary span { transform: rotate(180deg); }
.ecar .ecar-wheel-detail-grid { margin-top: 15px; }
.ecar .ecar-wheel-depth-hint { display: block; min-height: 1.1em; margin-top: 4px; font-size: 11px; }
.ecar .ecar-wheel-depth-hint.is-alert { color: #a05a1a; font-weight: 700; }
.ecar .ecar-label-unit { font-size: 11px; color: #60858a; }
.ecar .ecar-wheel-secondary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.ecar .ecar-wheel-spare, .ecar .ecar-wheel-extras { min-width: 0; padding: 20px; background: #f9fcfb; border-radius: 14px; border: 1px solid #dfeae7; }
.ecar .ecar-wheel-spare p, .ecar .ecar-wheel-extras p { margin: 0 0 16px; }
.ecar .ecar-wheel-spare-fields { border-top: 1px solid #e0eae8; padding-top: 15px; margin-top: 15px; }
.ecar .ecar-wheel-spare-fields[hidden] { display: none !important; }
.ecar .ecar-wheel-extras textarea { min-height: 96px; }
.ecar .ecar-wheel-footnote { padding: 0 3px; margin: 0; font-size: 11px !important; color: #728890; }
@media(max-width:900px) { .ecar .ecar-wheel-common-fields { grid-template-columns: 1fr 1fr; } .ecar .ecar-wheel-common-fields .ecar-field:last-child { grid-column:1/-1; } }
@media(max-width:720px) { .ecar .ecar-wheel-card-grid, .ecar .ecar-wheel-secondary { grid-template-columns: 1fr; } .ecar .ecar-wheel-common { padding: 16px; } }
@media(max-width:480px) { .ecar .ecar-wheel-common-fields { grid-template-columns: 1fr; } .ecar .ecar-wheel-common-fields .ecar-field:last-child { grid-column: auto; } .ecar .ecar-wheel-card { padding: 14px; } .ecar .ecar-wheel-copy-actions .ecar-button { width: 100%; } }
@media(max-width:340px) { .ecar .ecar-wheel-main-fields, .ecar .ecar-wheel-detail-grid, .ecar .ecar-wheel-spare-fields { grid-template-columns: 1fr; } }

/* ExpertCar 0.9.16: public partner onboarding + password lifecycle */
.ecar.ecar-auth-public { max-width: 720px; margin: 28px auto 78px; }
.ecar .ecar-auth-public-form { display: flex; flex-direction: column; gap: 15px; margin: 18px 0 0; }
.ecar .ecar-register-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 18px; }
.ecar .ecar-register-form .ecar-auth-consent,
.ecar .ecar-register-form > button { grid-column: 1 / -1; }
.ecar .ecar-public-field { min-width: 0; }
.ecar .ecar-public-field label { display: block; color: #254e5d; font-size: 13px; font-weight: 750; margin: 0 0 7px; }
.ecar .ecar-public-field input { width: 100%; min-height: 48px; border-radius: 10px; background: #f8fcfb; border: 1px solid #ccdedb; padding: 11px 13px; color: #173d50; font: inherit; font-size: 15px; box-sizing: border-box; }
.ecar .ecar-public-field input:focus { outline: 2px solid #2da98f; outline-offset: 1px; border-color: #2da98f; }
.ecar .ecar-auth-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.65; color: #456776; cursor: pointer; margin: 4px 0 6px; }
.ecar .ecar-auth-consent input { accent-color: #1c9581; margin: 4px 0 0; flex: 0 0 auto; width: 17px; height: 17px; }
.ecar .ecar-auth-notice { border-radius: 11px; padding: 13px 15px; margin: 13px 0 16px; border: 1px solid #cfe7df; background: #e9f8f2; color: #176f58; font-size: 13px; line-height: 1.65; }
.ecar .ecar-auth-notice-error { background: #fff3ec; border-color: #f5d7c6; color: #9b4c2d; }
.ecar .ecar-public-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden !important; left: -10000px !important; }
.ecar.ecar-auth-public .ecar-auth-main-button { min-height: 50px; width: 100%; border: 0; }
.ecar.ecar-auth-public .ecar-auth-footer { margin-top: 24px; }
@media (max-width: 680px) {
  .ecar.ecar-auth-public { margin: 14px auto 50px; }
  .ecar .ecar-register-form { grid-template-columns: 1fr; }
  .ecar.ecar-auth-public .ecar-auth-card { padding: 26px 20px; border-radius: 18px; }
}

/* 0.9.17: optional multi-photo categories for additional vehicle equipment. */
.ecar .ecar-photo-extra-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 19px 0 6px;
  padding: 14px 16px;
  background: #e9f5f2;
  border-left: 4px solid #159183;
  border-radius: 8px;
  color: #154e50;
}
.ecar .ecar-photo-extra-heading strong {font-size: 15px;line-height: 1.35}
.ecar .ecar-photo-extra-heading span {font-size: 13px;line-height: 1.5;color: #40656a}

/* ExpertCar 0.9.18: aligned manufacturing date and full-width section notes */
.ecar .ecar-vehicle-date-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px;max-width:540px;min-width:0}
.ecar .ecar-vehicle-date-row .ecar-field{min-width:0}
.ecar .ecar-section-note{margin-top:20px;padding:17px 18px 18px;border-radius:12px;background:#f1f8f6;border:1px solid #d7e9e2}
.ecar .ecar-section-note label{font-size:13px;font-weight:800;color:#1a625e}
.ecar .ecar-section-note textarea{width:100%;min-height:110px;box-sizing:border-box}
@media(max-width:460px){.ecar .ecar-vehicle-date-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.ecar .ecar-section-note{padding:13px}}
@media(max-width:340px){.ecar .ecar-vehicle-date-row{grid-template-columns:1fr}}

/* 0.9.20: Correctable saved PDF attachments in open drafts. */
.ecar .ecar-saved-document {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:9px 0;padding:10px 12px;background:#f4f9f8;border:1px solid #dbe9e7;border-radius:8px;}
.ecar .ecar-saved-document.is-pending-delete {background:#fff3ed;border-color:#efb9a2;}
.ecar .ecar-document-delete {display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:.87rem;color:#944326;}
.ecar .ecar-document-delete input {margin:0;min-width:16px;min-height:16px;}
/* Safe, owner-scoped resend from the partner dashboard. */
.ecar .ecar-partner-resend {margin:9px 0 0;max-width:330px;border:1px solid #d9eae7;border-radius:10px;background:#f8fcfb;padding:9px 11px;text-align:left;}
.ecar .ecar-partner-resend summary {color:#146b80;font-size:13px;font-weight:750;cursor:pointer;list-style-position:inside;}
.ecar .ecar-partner-resend-body {padding:11px 2px 3px;}
.ecar .ecar-partner-resend-body p {font-size:12.5px;line-height:1.5;margin:0 0 10px;}
.ecar .ecar-partner-resend-body form {display:flex;flex-direction:column;align-items:stretch;gap:6px;}
.ecar .ecar-partner-resend-body label {font-size:12px;font-weight:700;color:#254c5c;}
.ecar .ecar-partner-resend-body input[type=email] {width:100%;min-width:0;border:1px solid #c8dfdc;border-radius:8px;padding:9px 10px;font-size:14px;background:#fff;min-height:40px;color:#173846;}
.ecar .ecar-partner-resend-body .ecar-button {font-size:12px;line-height:1.3;min-height:38px;padding:8px 10px;white-space:normal;}
.ecar .ecar-partner-resend-body small {display:block;font-size:11.5px;line-height:1.45;margin-top:10px;color:#68838a;}
@media(max-width:760px){.ecar .ecar-partner-resend {max-width:none;width:100%;}}

.ecar .ecar-final-resend {margin:14px 0 19px;border:1px solid #dbebe7;border-radius:14px;padding:15px 18px;background:#f7fbfa;}
.ecar .ecar-final-resend h3 {font-size:15px;margin:0 0 8px;}
.ecar .ecar-final-resend .ecar-partner-resend {max-width:450px;margin:0;}
