/* Desktop step controls share one label inset and stay grouped at the left. */
@media (min-width: 821px) {
  .toolbar-row > .toolbar > .toolbar-content > .toolbar-group-left {
    margin-left: var(--toolbar-step1-left-gap);
    justify-content: flex-start;
  }

  .toolbar-row .step-label {
    position: relative;
    flex: 0 0 auto;
    margin-right: 0;
    padding-right: var(--s12-p-);
    white-space: nowrap;
  }

  .toolbar-row .step-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    height: var(--s32-p-);
    border-right: 1px solid #c4c4c4;
    transform: translateY(-50%);
  }

  .toolbar-row :is(#btn-tiles, #btn-tiles-pattern)[data-selected-tile-icon] {
    --pill-leading-size: var(--s32-p-);
  }

  .toolbar-row #btn-tiles-tilesbase {
    --pill-trailing-size: 0px;
    --pill-trailing-gap: 0px;
  }
  .toolbar-row #btn-tiles-tilesbase::after { display: none; }

  /* The existing fit check marks a crowded toolbar with this class. Keep its
     labels visible while reducing padding, then wrap if it still needs room. */
  .toolbar-row .toolbar:has(> .step2-tools-icon-only) {
    height: auto;
    min-height: var(--ak-height-toolbar);
  }
  .toolbar-row .step2-tools-icon-only .toolbar-group-left { flex-wrap: wrap; }
  .toolbar-row .step2-tools-icon-only .pill-control.pill-button {
    --pill-leading-left: 6px;
    --pill-leading-gap: 5px;
    --pill-trailing-right: 6px;
    --pill-trailing-size: 0px;
    --pill-trailing-gap: 0px;
    flex: 0 0 auto;
  }
  .toolbar-row .step2-tools-icon-only .pill-button-label { font-size: 11px; }
  .toolbar-row .step2-tools-icon-only .pill-button::after { display: none; }
}

/* Keep account and navigation controls in place while identity or the area loads. */
:is(
  .project-column[data-account-state="pending"],
  html[data-auth="in"]:not([data-labels-ready="1"]) .project-column,
  html[data-labels-loading="1"] .project-column,
  body:has(#ak-project-loader[data-open="1"]) .project-column
) {
  --topbar-content-visibility: hidden;
  --editor-loading-spinner: block;
  pointer-events: none;
}

#account-state-card { position: relative; }
#account-state-card[data-state="pending"] {
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  background: var(--ak-glass-bg, #f8f8f8);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: var(--ak-radius-panel, 16px);
  --editor-loading-spinner: block;
}
#account-state-card[data-state="pending"] > * { visibility: hidden !important; }
#account-state-card::after,
#mobile-project-btn::after {
  content: "";
  display: var(--editor-loading-spinner, none);
  position: absolute;
  width: 12px;
  height: 12px;
  top: calc(50% - 7px);
  left: calc(50% - 7px);
  border: 1.5px solid #bbb;
  border-right-color: transparent;
  border-radius: 50%;
  animation: editor-controls-loading 800ms linear infinite;
  pointer-events: none;
}
@keyframes editor-controls-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #account-state-card::after, #mobile-project-btn::after { animation: none; }
}
@media (min-width: 821px) {
  #account-state-card > *,
  .account-actions__items .pop-container > button > *,
  .account-actions__items .pop-container > button::before,
  .account-actions__items .pop-container > button::after,
  .project-container--nav > *,
  .space-container > .floor-head {
    visibility: var(--topbar-content-visibility, visible) !important;
  }
}

/* Account-aware mobile editor header. Desktop layout stays in editor.css. */
#mobile-account-action {
  display: none;
}

@media (max-width: 820px) {
  .project-column[data-account-state] {
    /* Keep the header background with its controls above the overflowing SVG. */
    z-index: 1 !important;
    --m-42: 44px;
    --topbar-arrow-size: 24px;
    padding: max(8px, env(safe-area-inset-top)) 8px 8px;
    background: #fff;
    box-shadow: 0 3px 7px #0002;
    letter-spacing: normal;
    grid-template-columns: var(--m-42) minmax(0, 1fr) var(--m-42);
    grid-template-rows: var(--m-42);
    column-gap: 6px;
  }

  .project-column:is([data-account-state="preview"], [data-account-state="lite"]) {
    grid-template-columns: var(--m-42) minmax(0, 1fr) clamp(84px, 27vw, 108px);
  }

  .project-column[data-account-state] #mobile-project-btn.mproj-btn {
    height: var(--m-42);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(108px, .9fr);
    padding: 0 !important;
    gap: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .project-column[data-account-state] label.account-actions__btn {
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #mobile-project-btn.mproj-btn > #mproj-left {
    display: grid;
    grid-template-rows: 12px minmax(0, 1fr);
    align-items: center;
    align-self: stretch;
    gap: 0;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #mobile-project-btn.mproj-btn > #mproj-left .floor-head__floor {
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
    gap: 0 !important;
  }

  #mobile-project-btn.mproj-btn #mproj-floor-name {
    font-size: clamp(13px, 4.4vw, 18px);
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.1;
    color: #606060;
    max-width: none;
  }

  .mproj-status {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    font-size: clamp(7px, 2.05vw, 8px);
    letter-spacing: normal;
    line-height: 1.1;
    white-space: nowrap;
    color: #790600;
  }

  .mproj-status[hidden] { display: none; }

  .mproj-status__dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 2px;
    border-radius: 50%;
    background: currentColor;
  }

  #mobile-save-status {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #mobile-plan-label { color: #777; flex-shrink: 0; }
  #mobile-project-btn[data-saved="true"] .mproj-status { color: #008330; }
  [data-account-state="lite"] #mobile-project-btn[data-saved="true"] #mobile-save-status { color: #bfbfbf; }
  [data-account-state="lite"] #mobile-plan-label { color: #6285c8; }

  #mobile-project-btn.mproj-btn > .mproj-label { display: none; }

  #mobile-project-btn.mproj-btn > .mproj-right {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: minmax(12px, max-content) minmax(0, 1fr);
    align-self: stretch;
    align-items: center !important;
    gap: 0 1px !important;
    padding: 0 0 0 7px !important;
    border-left: .5px solid #aaa;
    min-width: 0 !important;
    flex: 0 0 auto;
    color: #111;
  }

  .mproj-results-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 8.5px;
    letter-spacing: normal;
    line-height: 1.05;
    color: #555;
    white-space: normal; text-align: center;
  }

  #mobile-project-btn.mproj-btn > .mproj-right .mproj-value {
    grid-column: 1;
    grid-row: 2;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: normal;
    text-align: left;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #mobile-project-btn.mproj-btn > .mproj-right .mproj-arrow {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    width: var(--topbar-arrow-size, 34px) !important;
    height: var(--topbar-arrow-size, 34px) !important;
    min-width: var(--topbar-arrow-size, 34px) !important;
    min-height: var(--topbar-arrow-size, 34px) !important;
    margin: 0 !important;
  }

  #mobile-project-btn.mproj-btn > .mproj-right::after { display: none; }

  #mobile-account-action:not([hidden]) {
    position: relative;
    z-index: 1;
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: var(--m-42);
    width: 100%;
    padding: 0 8px;
    border: 0;
    border-radius: 11px;
    background: #2937ff;
    color: #fff;
    font: inherit;
    font-size: clamp(12px, 3.85vw, 15px);
    font-weight: 400;
    letter-spacing: normal;
    box-shadow: 0 3px 12px rgb(0 0 0 / 16%);
    cursor: pointer;
  }

  [data-account-state="lite"] #mobile-account-action { background: #0d0d0d; }

  .mobile-account-action__star,
  .mobile-account-action__chevron { display: none; }

  [data-account-state="lite"] .mobile-account-action__star {
    display: block;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    background: currentColor;
    mask: url('/_releases/dxf-756b75a96e3dc952/icons/upgradeplus.svg') center / contain no-repeat;
    -webkit-mask: url('/_releases/dxf-756b75a96e3dc952/icons/upgradeplus.svg') center / contain no-repeat;
  }

  .project-column:is([data-account-state="preview"], [data-account-state="lite"], [data-account-state="pending"]) #mobile-open-projects-btn {
    display: none !important;
  }

  .project-column[data-account-state="plus"] #mobile-open-projects-btn {
    background: #0d0d0d !important;
    color: #eee;
    border-color: #0d0d0d !important;
    border-radius: 11px !important;
    box-shadow: 0 3px 12px rgb(0 0 0 / 16%) !important;
  }

  .project-column[data-account-state="plus"] #mobile-open-projects-btn::before {
    background-color: #eee !important;
  }


  [data-account-state="plus"] #mobile-plan-label { color: #008330; }
  [data-account-state="plus"] #mobile-save-status { display: none; }
  [data-account-state="plus"] .mproj-status__dot {
    border-radius: 0;
    mask: url('/_releases/dxf-756b75a96e3dc952/icons/upgradeplus.svg') center / contain no-repeat;
    -webkit-mask: url('/_releases/dxf-756b75a96e3dc952/icons/upgradeplus.svg') center / contain no-repeat;
  }
  [data-account-state="plus"] .mproj-arrow__icon { filter: none; }

  #mobile-account-action:focus-visible,
  #mobile-project-btn:focus-visible { outline: 2px solid #6285c8; outline-offset: 3px; }

  .project-column[data-account-state] label.account-actions__btn.pill-control.pill-button.openbutton::before {
    width: 24px !important;
    height: 24px !important;
  }

  @media (max-width: 360px) {
    .project-column:is([data-account-state="preview"], [data-account-state="lite"]) {
      grid-template-columns: var(--m-42) minmax(0, 1fr) 76px;
    }
    #mobile-account-action:not([hidden]) { gap: 3px; padding: 0 6px; }
    [data-account-state="lite"] .mobile-account-action__star { width: 15px; height: 15px; }
    #mobile-project-btn.mproj-btn #mproj-floor-name { font-size: 12px; }

    .project-column[data-account-state] { --topbar-arrow-size: 24px; }

    #mobile-project-btn.mproj-btn > .mproj-right { padding-left: 5px !important; }
  }
  #mobile-project-btn > *,
  #mobile-account-action > *,
  .project-column label.account-actions__btn.pill-control.pill-button.openbutton::before,
  #mobile-open-projects-btn::before,
  #mobile-open-preview-mode::before {
    visibility: var(--topbar-content-visibility, visible) !important;
  }

  .project-column[data-account-state="pending"] #mobile-open-projects-btn {
    display: inline-flex !important;
    background: #eee !important;
    border: .5px solid #aaa !important;
    border-radius: 11px !important;
    box-shadow: 0 3px 12px rgb(0 0 0 / 16%) !important;
  }

  .project-column:not([data-account-state="shared"]) #mobile-open-preview-mode {
    display: none !important;
  }

}

/* Both editor steps share a sliding right drawer with a fixed edge handle. */
#mobile-tools-toggle, .mobile-tools-divider { display: none; }
#mobile-left-drawer, .mobile-drawer-language-label { display: none; }
@media (max-width: 820px) {
  #mobile-project-btn.mproj-btn > .mproj-right > :is(.mproj-label, .mproj-area-label) {
    grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
    font: 400 8px/1.1 Arial, sans-serif; white-space: nowrap; color: #333;
  }
  #mobile-project-btn.mproj-btn > .mproj-right > .mproj-results-label { text-align: center; white-space: normal; line-height: 1; color: #333; }
  #mobile-project-btn.mproj-btn > .mproj-right > #m-area-m2 { font-size: 12px; }
  #m-pieces-output::after { content: attr(data-unit); margin-left: 3px; font: 400 7px/1 Arial, sans-serif; }
  #mobile-project-btn > .mobile-outputs-hint { display: none !important; }
  #mobile-outputs-panel .cost-panel__details > p {
    margin: 8px 12px 12px; color: #555; font: 400 11px/1.4 Arial, sans-serif;
  }
  body[data-step] #editor-wrap #editor-tools-topright[data-mobile-rail-wired] {
    --m-42: 44px;
    right: 0; top: 8px; bottom: auto; width: 56px; height: auto;
    max-height: calc(100% - 16px); box-sizing: border-box; padding: 48px 2px 8px;
    display: flex; flex-direction: column; align-items: center; gap: var(--mobile-tools-gap, 6px);
    overflow: clip;
    background: #fff; border: 1px solid #ddd; border-right: 0; border-radius: 12px 0 0 12px;
    box-shadow: 0 1px 6px #0003; pointer-events: auto;
    transform: translateX(0); visibility: visible;
    transition: transform 180ms ease, visibility 0s;
  }
  body[data-step] #editor-wrap > #mobile-tools-toggle {
    display: grid; place-items: center; position: absolute; right: 0; top: 8px; z-index: 10000;
    width: 56px; height: 48px; margin: 0; padding: 0; box-sizing: border-box;
    border: 1px solid #ddd; border-right: 0; border-radius: 12px 0 0 12px;
    box-shadow: 0 1px 6px #0003;
    background: #fff; color: #444; cursor: pointer;
  }
  body[data-step] #editor-wrap > #mobile-tools-toggle[aria-expanded="true"] {
    border-radius: 12px 0 0 0; box-shadow: none;
  }
  #mobile-tools-toggle::before {
    content: ''; width: 40px; height: 40px;
    background: url('/_releases/client-growth-d45603f954a4aa14/icons/opentoolbar.svg') center / contain no-repeat;
  }
  #mobile-tools-toggle[aria-expanded="true"]::before { background-image: url('/_releases/client-growth-d45603f954a4aa14/icons/closetoolbar.svg'); }
  #mobile-tools-toggle:focus-visible { outline: 2px solid #007d86; outline-offset: -3px; }
  body[data-step] #editor-wrap #editor-tools-topright[data-expanded="false"] {
    transform: translateX(calc(100% + 8px)); visibility: hidden; pointer-events: none;
    transition: transform 180ms ease, visibility 0s 180ms;
  }
  body[data-step] #editor-wrap #editor-tools-topright[data-expanded="false"] > * { visibility: inherit !important; }
  body[data-step] #editor-wrap #editor-tools-topright > #info-mode-btn { display: none !important; }
  body[data-step] #editor-wrap #editor-tools-topright > .canvas-mode-button {
    position: relative; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px;
    margin: 0 0 var(--mobile-tool-caption-height, 16px) !important; padding: 0; border-radius: 8px; box-shadow: none;
    background: #f7f7f7 !important; color: #111754 !important;
  }
  /* This outline carries the selected state; retain its shape with stronger contrast. */
  body[data-step] #editor-wrap #editor-tools-topright > .canvas-mode-button.is-active {
    border-color: #00867f !important;
  }
  body[data-step] #editor-wrap #editor-tools-topright > .canvas-mode-button::before {
    inset: auto !important; left: 50% !important; top: 50% !important;
    width: 28px !important; height: 28px !important; transform: translate(-50%, -50%) !important;
    background-color: currentColor !important;
  }
  body[data-step] #editor-wrap #editor-tools-topright > .canvas-mode-button::after {
    content: attr(aria-label) !important; display: block !important;
    position: absolute; top: calc(100% + 3px); bottom: auto; left: 50%; right: auto;
    width: 54px; height: auto; transform: translateX(-50%); background: none;
    font: 400 var(--mobile-control-label-size)/1.2 Arial, sans-serif; color: #555; text-align: center; white-space: normal;
    pointer-events: none;
  }
  body[data-step] #editor-wrap #editor-tools-topright > .mobile-tools-divider {
    display: block; flex: 0 0 1px; width: 36px; margin: 0; border-top: 1px solid #ddd;
  }
  body[data-step="1"] #editor-wrap #editor-tools-topright > .mobile-tools-divider { display: none; }
  /* Keep every tool reachable without scrolling or shrinking its touch target. */
  @media (max-height: 650px) and (orientation: landscape) {
    body[data-step] #editor-wrap #editor-tools-topright[data-mobile-rail-wired] {
      display: grid; grid-template-columns: repeat(2, 54px); justify-items: center; column-gap: 6px; width: max-content;
    }
    body[data-step] #editor-wrap #editor-tools-topright > .mobile-tools-divider { display: none; }
  }
  @media (max-height: 450px) and (orientation: landscape) {
    body[data-step] #editor-wrap #editor-tools-topright[data-mobile-rail-wired] {
      top: 8px; grid-template-columns: repeat(3, 54px); max-height: calc(100% - 16px);
    }
    body[data-step] #editor-wrap > #mobile-tools-toggle { top: 8px; }
  }
  @media (prefers-reduced-motion: reduce) {
    body[data-step] #editor-wrap #editor-tools-topright[data-mobile-rail-wired] { transition: none; }
  }
}

/* Shared mobile navigation: one drawer and the existing project/area controls. */
@media (max-width: 820px) {
  /* Off-canvas drawers must not enlarge the page's horizontal scroll area. */
  .Layout { overflow-x: clip; }
  .center-column { padding-bottom: var(--editor-toolbar-height, 98px); }
  .project-column[data-account-state] label.account-actions__btn.pill-control.pill-button.openbutton {
    background: #fff !important; border-radius: 10px !important;
    box-shadow: 0 3px 12px #0002 !important;
  }
  #mobile-left-drawer #mobile-drawer-close { background: transparent !important; box-shadow: none !important; }
  .project-column:has(#accountMenu:checked) { z-index: 20000 !important; }
  .project-column .account-actions__backdrop { z-index: 20001; background: #ffffffbd; }
  .project-column .account-actions__items[data-mobile-drawer-wired] {
    width: min(78vw, 360px) !important; max-width: min(78vw, 360px) !important; min-width: 0 !important;
    padding: 0 !important; gap: 0; z-index: 20002 !important; background: #fffffff7;
    box-shadow: 4px 0 18px #0002; backdrop-filter: none; -webkit-backdrop-filter: none;
    overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain;
  }
  .account-actions__items[data-mobile-drawer-wired] > :not(#mobile-left-drawer) { display: none !important; }
  #mobile-left-drawer {
    display: flex; flex-direction: column; flex: 1 0 auto; min-height: 100%; width: 100%;
    box-sizing: border-box; padding: env(safe-area-inset-top) 14px max(12px, env(safe-area-inset-bottom));
    color: #080808; font: 400 16px/1.25 Arial, sans-serif;
  }
  #mobile-left-drawer [hidden] { display: none !important; }
  #mobile-left-drawer button, #mobile-left-drawer [role="button"] { touch-action: manipulation; }
  #mobile-left-drawer .mobile-drawer-row,
  #mobile-left-drawer .mobile-drawer-icon-button {
    position: static; display: flex; align-items: center; justify-content: flex-start; gap: 16px;
    min-width: 0; min-height: 46px; margin: 0; padding: 8px 2px;
    border: 0; border-radius: 0; background: transparent; box-shadow: none;
    color: inherit; font: inherit; text-align: left; cursor: pointer;
  }
  #mobile-left-drawer .mobile-drawer-row { width: 100%; }
  #mobile-left-drawer .mobile-drawer-icon-button { flex: 0 0 36px; width: 36px; justify-content: center; padding: 0; }
  #mobile-left-drawer .mobile-drawer-icon-button > span { font-size: 34px; font-weight: 600; line-height: 1; }
  #mobile-left-drawer button:disabled { opacity: .4; cursor: default; }
  #mobile-left-drawer :is(button, [role="button"]):focus-visible { outline: 2px solid #007d86 !important; outline-offset: -2px; }
  #mobile-left-drawer .mobile-drawer-icon { display: block; flex: 0 0 22px; width: 22px; height: 22px; object-fit: contain; }
  #mobile-left-drawer .mobile-drawer-header { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 0 14px; border-bottom: 1px solid #ccc; }
  #mobile-left-drawer #mobile-drawer-close { align-self: flex-start; flex: 0 0 42px; width: 42px; min-height: 42px; }
  #mobile-left-drawer #mobile-drawer-close .mobile-drawer-icon { flex-basis: 44px; width: 44px; height: 44px; }
  /* Retain the desktop button's logo source and mask colour inside the drawer. */
  #mobile-left-drawer .discoverbutton--icon::before {
    content: '' !important; display: block !important; position: static !important;
    flex: 0 0 22px; width: 22px !important; height: 22px !important; transform: none !important;
    background-color: var(--ak-icon-default);
    mask: var(--pill-leading-src) center / contain no-repeat;
    -webkit-mask: var(--pill-leading-src) center / contain no-repeat;
  }
  #mobile-left-drawer [data-drawer-slot="discover"] { flex: 1; min-width: 0; }
  #mobile-left-drawer .discoverbutton--icon.pill-control.pill-button {
    position: static !important; display: flex !important; align-items: center !important; justify-content: flex-start !important;
    gap: 10px !important; width: 100% !important; height: auto; min-height: 46px; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
    color: #080808 !important; overflow: visible !important;
  }
  #mobile-left-drawer .discoverbutton--icon .pill-button-label {
    width: auto !important; font: 400 16px/1.15 Arial, sans-serif !important; text-align: left !important; white-space: normal;
  }
  #mobile-left-drawer .discoverbutton--icon strong { font-weight: 700; }
  #mobile-left-drawer .mobile-drawer-account-group { padding: 8px 0 14px; border-bottom: 1px solid #ccc; }
  #mobile-left-drawer .mobile-drawer-projects-row { display: flex; align-items: center; padding: 8px 0 2px; }
  #mobile-left-drawer .mobile-drawer-name-row { display: grid; align-items: center; min-height: 44px; gap: 8px; }
  #mobile-left-drawer .mobile-drawer-current-project { grid-template-columns: 22px minmax(0, 1fr) 36px; gap: 16px; border-block: 1px solid #ccc; }
  #mobile-left-drawer .mobile-drawer-current-area { grid-template-columns: 22px minmax(0, 1fr) 36px; gap: 16px; }
  #mobile-left-drawer [data-drawer-slot="project"], #mobile-left-drawer [data-drawer-slot="area"] { min-width: 0; }
  #mobile-left-drawer #project-name, #mobile-left-drawer .floor-head__name.editable {
    display: flex !important; align-items: center; gap: 8px; width: 100%; min-width: 0;
    margin: 0; padding: 0; font: inherit; color: inherit; cursor: text;
  }
  #mobile-left-drawer :is(.project-head__nameText, .floor-head__floorText) {
    order: 0; flex: 1; min-width: 0; max-width: none; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; font: inherit; color: inherit;
  }
  #mobile-left-drawer [contenteditable="true"] { text-overflow: clip; outline: 1px solid #007d86; }
  #mobile-left-drawer .edit-icon { display: block !important; order: 1; flex: 0 0 18px; width: 18px; height: 20px; margin: 0; opacity: 1; }
  #mobile-left-drawer .editable[data-rename-hint]::after { content: none; }
  #mobile-left-drawer #floor-name { display: block; width: 100%; padding: 0; font: inherit; }
  #mobile-left-drawer #floor-name > #floor-file-ico { display: none !important; }
  #mobile-drawer-areas-toggle .project-nav-head__chevron { transform: rotate(90deg); }
  #mobile-drawer-areas-toggle[aria-expanded="true"] .project-nav-head__chevron { transform: rotate(270deg); }
  #mobile-drawer-areas { padding: 4px 0 8px 38px; border-bottom: 1px solid #ccc; }
  #mobile-drawer-areas .project-spaces-overview { display: block !important; }
  #mobile-drawer-areas .project-spaces-overview__list { display: flex; flex-direction: column; max-height: 220px; overflow: auto; }
  #mobile-drawer-areas .project-spaces-overview__item { display: flex; align-items: center; min-height: 44px; padding: 4px; cursor: pointer; box-sizing: border-box; }
  #mobile-drawer-areas .project-spaces-overview__item.is-active { background: #effafa; }
  #mobile-drawer-areas .project-spaces-overview__item :is(.file-ico, .edit-icon, .project-spaces-overview__chevron) { display: none !important; }
  #mobile-drawer-areas .project-spaces-overview__name { font: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #mobile-drawer-areas .project-spaces-overview__actions { display: none !important; }
  #mobile-left-drawer .mobile-drawer-footer { margin-top: auto; padding-top: 20px; }
  #mobile-left-drawer #mobile-drawer-report { border-bottom: 1px solid #ccc; padding-bottom: 14px; margin-bottom: 10px; }
  #mobile-left-drawer #units-row { display: block; width: 100%; padding: 0; margin: 0; border: 0; }
  #mobile-left-drawer #units-picker-trigger {
    display: flex; align-items: center; justify-content: flex-start; gap: 16px; min-height: 46px; width: 100%;
    padding: 8px 2px; margin: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit;
  }
  #mobile-left-drawer .units-picker__settings-icon { flex: 0 0 22px; width: 22px; height: 22px; }
  #mobile-left-drawer .units-picker__current { margin-left: auto; gap: 4px; font-size: 11px; }
  #mobile-left-drawer .units-picker__current-label { color: #aaa; }
  #mobile-left-drawer #units-picker-trigger > [data-i18n="units.label"] { text-transform: capitalize; }
  #mobile-left-drawer .drawer-lang__row { justify-content: flex-start; gap: 16px; padding: 8px 2px; min-height: 46px; font: inherit !important; text-align: left; }
  #mobile-left-drawer .drawer-lang__icon { flex: 0 0 22px; width: 22px; height: 22px; background-color: #222; }
  #mobile-left-drawer .drawer-lang__current { display: none; }
  #mobile-left-drawer .mobile-drawer-language-label { display: inline; }
  #mobile-left-drawer .drawer-lang__item { text-align: left; padding-left: 40px; min-height: 44px; font: 400 14px/1.2 Arial, sans-serif !important; }
  @media (prefers-reduced-motion: reduce) {
    .project-column .account-actions__items[data-mobile-drawer-wired] { transition: none; }
  }
}
