.truck-editor-desktop { display: none; }
.truck-editor-mobile { margin: 2rem auto; padding: 0 1rem; max-width: 40rem; }

  .truck-editor {
    --owner-border: #e1d8c9;
    --owner-text: #19232a;
    --owner-orange: #e95b05;
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding: 0 clamp(16px, 2vw, 32px) 28px;
    box-sizing: border-box;
    color: var(--owner-text);
    font-family: "DM Sans", Arial, sans-serif;
  }
  .truck-editor *, .truck-editor *::before, .truck-editor *::after { box-sizing: border-box; }
  .truck-editor-mobile { display: none; }
  .truck-editor-desktop { display: block; }
  .truck-editor [hidden] { display: none !important; }
  .truck-editor-intro { margin: 8px 0 16px; }
  .truck-editor-intro h1 {
    margin: 0 0 5px;
    font: bold clamp(27px, 2.35vw, 38px)/1.13 Georgia, "Times New Roman", serif;
    letter-spacing: -.035em;
    color: #121d24;
  }
  .truck-editor-intro p { margin: 0; font-size: 14px; color: #4c5151; }
  .truck-editor .owner-section {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 11px 17px 11px 12px;
    background: #fffcf6;
    border: 1px solid var(--owner-border);
    border-radius: 6px;
  }
  .truck-editor .owner-section + .owner-section { margin-top: 3px; }
  .truck-editor .owner-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--owner-orange);
  }
  .truck-editor svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .truck-editor .owner-section-content { min-width: 0; }
  .truck-editor .owner-section h2, .truck-editor .owner-heading {
    display: block;
    margin: 0;
    color: #182128;
    font: 750 15px/1.26 "DM Sans", Arial, sans-serif;
    letter-spacing: -.015em;
  }
  .truck-editor h2 small { font: inherit; }
  .truck-editor .owner-section b { color: #d94d0b; font-weight: 750; }
  .truck-editor .owner-section p {
    margin: 2px 0 5px;
    font-size: 12px;
    line-height: 1.35;
    color: #4d5355;
  }
  .truck-editor .owner-section p.owner-hint { margin: 4px 0 0; }
  .truck-editor :is(input:not([type=checkbox], [type=file]), select) {
    display: block;
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 4px 9px;
    border: 1px solid #d9d4c9;
    border-radius: 4px;
    background-color: #fffdf9;
    color: var(--owner-text);
    font: 400 13px/1.4 "DM Sans", Arial, sans-serif;
  }
  .truck-editor :is(input, select, button, a):focus-visible {
    outline: 2px solid #bb4700;
    outline-offset: 2px;
  }
  .truck-editor :is(input, select)::placeholder { color: #767777; opacity: 1; }
  .truck-editor .owner-heading + input, .truck-editor .owner-section h2 + select,
  .truck-editor .owner-section h2 + .owner-fields { margin-top: 5px; }
  .truck-editor .owner-fields { display: grid; gap: 5px 12px; }
  .truck-editor .owner-location { grid-template-columns: minmax(120px,1fr) minmax(72px,.35fr) minmax(160px,1.6fr); }
  .truck-editor .owner-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .truck-editor .owner-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .truck-editor .owner-field { display: grid; gap: 2px; font-size: 12px; font-weight: 650; line-height: 1.35; }
  .truck-editor select + .owner-field { margin-top: 5px; }
  .truck-editor .owner-unit { position: relative; display: block; }
  .truck-editor .owner-unit input { padding-right: 40px; }
  .truck-editor .owner-unit span { position: absolute; top: 5px; right: 8px; color: #64635f; font: 500 12px/22px "DM Sans", Arial, sans-serif; }
  .truck-editor .owner-consent { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; cursor: pointer; }
  .truck-editor .owner-consent input { accent-color: var(--owner-orange); }
  .truck-editor .owner-thumbs { display: flex; flex-wrap: wrap; gap: 7px; padding: 1px; }
  .truck-editor .owner-empty, .truck-editor .owner-thumb { position: relative; width: 75px; height: 53px; }
  .truck-editor .owner-empty {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px dashed #b8aea0;
    border-radius: 5px;
    color: #76716a;
    background: #faf8f2;
    cursor: pointer;
  }
  .truck-editor .owner-empty:hover, .truck-editor .owner-drop:hover { border-color: #d95b0f; background-color: #fff1df; }
  .truck-editor .owner-empty svg { width: 23px; height: 23px; }
  .truck-editor .owner-thumb img { width: 100%; height: 100%; border: 1px solid #c1b49f; border-radius: 5px; object-fit: cover; }
  .truck-editor .owner-remove, .truck-editor .owner-main {
    position: absolute;
    padding: 2px 4px;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #fff;
    background: #263037;
    font: 650 10px/1.15 "DM Sans", Arial, sans-serif;
    cursor: pointer;
  }
  .truck-editor .owner-remove { top: 2px; right: 2px; min-width: 18px; min-height: 18px; }
  .truck-editor .owner-main { bottom: 2px; left: 2px; }
  .truck-editor span.owner-main { background: #994000; cursor: default; }
  .truck-editor .owner-menu-section { background: #fff8ec; border-color: #efc7a5; }
  .truck-editor .owner-drop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 8px;
    border: 1px dashed #e9883f;
    border-radius: 5px;
    background: #fff8eb;
    color: var(--owner-text);
    text-align: left;
    cursor: pointer;
  }
  .truck-editor .owner-drop svg { width: 30px; height: 30px; color: var(--owner-orange); }
  .truck-editor .owner-drop strong, .truck-editor .owner-drop small { display: block; font-size: 12px; }
  .truck-editor .owner-drop small { font-size: 11px; }
  .truck-editor .owner-menu-current { display: flex; align-items: center; gap: 12px; }
  .truck-editor .owner-menu-current:not(:empty) { margin-top: 6px; }
  .truck-editor .owner-menu-current :is(a, button) { border: 0; padding: 0; background: none; font: 650 12px "DM Sans", Arial, sans-serif; color: #9a3d07; text-decoration: underline; cursor: pointer; }
  .truck-editor .owner-foot, .truck-editor .owner-foot-actions { display: flex; align-items: center; gap: 14px; }
  .truck-editor .owner-foot { justify-content: space-between; padding: 12px 2px; font-size: 13px; }
  .truck-editor #owner-status[data-error] { color: #a13a13; }
  .truck-editor .owner-foot a { color: inherit; font-weight: 650; }
  .truck-editor .owner-foot .owner-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 6px 18px;
    border: 1px solid #d85203;
    border-radius: 5px;
    background: var(--owner-orange);
    color: #fff;
    font: 700 14px/1.3 "DM Sans", Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }
  .truck-editor .owner-submit:hover { background: #d34a02; }
  .truck-editor button:disabled { cursor: wait; opacity: .65; }
