/* La adaptación se activa al disponer de navegación para la sesión actual. */
.orly-touch-dock[hidden] { display: none !important; }
.orly-touch-sheet {
  width: min(465px, calc(100% - 22px)); max-height: 85dvh; overflow-y: auto;
  border: 1px solid #dce4db; border-radius: 22px; padding: 19px 19px 24px;
  background: #fffefa; color: #173e38; box-shadow: 0 20px 70px #1b3d3640;
}
.orly-touch-sheet::backdrop { background: #132b29a8; }
.orly-touch-sheet > header {
  position: static; display: flex; justify-content: space-between; align-items: center;
  height: auto; margin: 0 0 12px; padding: 0; background: transparent; border: 0;
}
.orly-touch-sheet h2 { margin: 0; font-size: 1.45rem; color: #173e38; }
.orly-touch-sheet header button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0;
  background: transparent; color: #173e38; cursor: pointer;
}
.orly-touch-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.orly-touch-list button {
  min-height: 49px; display: flex; align-items: center; gap: 8px; text-align: left;
  border: 1px solid #e1e7df; border-radius: 10px; padding: 9px 11px; background: #f8faf5;
  color: #284a42; cursor: pointer; font: inherit; font-size: .925rem; font-weight: 600;
}
.orly-touch-list button[aria-current] { background: #eaf2ec; border-color: #7b9d90; }
.orly-touch-list button.orly-touch-account { background: transparent; border-color: transparent; color: #415d53; }
.orly-touch-dock:focus-visible, .orly-touch-sheet button:focus-visible,
.orly-touch-dock button:focus-visible { outline: 3px solid #c58d46; outline-offset: 1px; }
.orly-touch-dock button:disabled, .orly-touch-sheet button:disabled { opacity: .55; cursor: default; }
.orly-touch-list .nav-icon, .orly-touch-dock .nav-icon { display: grid; place-items: center; }
.orly-touch-list svg, .orly-touch-dock svg { display: block; flex: none; width: 22px; height: 22px; }
.orly-touch-count {
  border-radius: 10px; background: #ffdaae; color: #614118; padding: 1px 5px;
  font-size: .7rem; line-height: 1.2; font-weight: 700;
}
.orly-touch-list .orly-touch-count { margin-left: auto; }
.orly-touch-dock:not([hidden]) {
  display: flex; position: fixed; z-index: 32; inset: auto 0 0; width: 100%; margin: 0;
  align-items: center; justify-content: space-evenly; gap: 3px; border: 0;
  border-top: 1px solid #315751; background: #153f3c; box-shadow: 0 -4px 16px #152b2415;
  padding: 5px max(7px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));
}
.orly-touch-dock button {
  position: relative; display: grid; place-items: center; flex: 1; max-width: 91px;
  min-width: 44px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 12px;
  background: transparent; color: #d9e5df; cursor: pointer;
}
.orly-touch-dock button[aria-current] { color: #ffe9b8; }
.orly-touch-dock button[aria-current]::before {
  content: ''; position: absolute; inset-block-start: 0; inset-inline-start: calc(50% - 9px);
  width: 18px; height: 2px; border-radius: 2px; background: #e5bf7d;
}
.orly-touch-dock .orly-touch-count { position: absolute; top: 1px; right: calc(50% - 23px); }
.orly-touch-dock [data-pending]::after {
  content: ''; position: absolute; width: 8px; height: 8px; top: 5px; left: calc(50% + 9px);
  border: 1px solid #674421; background: #ffcf8e; border-radius: 50%;
}
html[data-touch-portal] { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
html[data-touch-portal="personal"] #personal-portal { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
html[data-touch-portal="personal"] #personal-portal > .personal-nav { display: none; }
html[data-touch-portal="workspace"] #workspace:not([hidden]) { display: block; width: 100%; min-height: 100vh; }
html[data-touch-portal="workspace"] #workspace > aside {
  position: relative; inset: auto; display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: 8px; width: 100%; height: auto; max-height: none;
  min-height: 57px; margin: 0; padding: 8px clamp(12px,2.5vw,24px); border: 0;
  border-bottom: 1px solid #d6dfd5; border-radius: 0; background: #fffefa; color: #233f36;
  box-shadow: none; z-index: auto; overflow: visible;
}
html[data-touch-portal="workspace"] #workspace > aside .brand {
  position: static; display: flex; align-items: center; gap: 7px; height: auto; margin: 0;
  padding: 0; font-size: 1.06rem; letter-spacing: -.7px; line-height: 1.2; color: #244a3f;
}
html[data-touch-portal="workspace"] #workspace > aside .brand-logo { width: 30px; height: 30px; }
html[data-touch-portal="workspace"] #workspace > aside :is(.tiny,.aside-bottom,#nav) { display: none; }
html[data-touch-portal="workspace"] #workspace > aside .switcher {
  display: grid; align-items: center; gap: 0; position: static; margin: 0; padding: 0;
  width: auto; max-width: 58%; border: 0; background: transparent;
}
html[data-touch-portal="workspace"] #workspace .switcher .eyebrow {
  color: #61726b; font-size: .68rem; letter-spacing: 1.3px; line-height: 1.15;
}
html[data-touch-portal="workspace"] #workspace .switcher select,
html[data-touch-portal="workspace"] #employee-property-name {
  max-width: 100%; min-height: auto; margin: 0; padding: 2px 0; color: #27433b;
  font-size: .94rem; line-height: 1.25; background-color: transparent;
}
html[data-touch-portal="workspace"] #workspace > main {
  width: 100%; max-width: 100%; min-width: 0; margin: 0;
  padding: 0 0 calc(72px + env(safe-area-inset-bottom));
}
html[data-touch-portal="workspace"] #workspace > main > header {
  position: relative; top: auto; min-height: 35px; height: auto; margin: 0;
  padding: 3px clamp(12px,2.5vw,24px); border-bottom: 1px solid #e3e6de; z-index: 7;
}
html[data-touch-portal] :is(#view,.panel,.cl-section,.planning-panel) { min-width: 0; max-width: 100%; }
html[data-touch-portal="workspace"] #view { padding: clamp(10px,2.5vw,24px); }
@media (max-width: 640px) {
  .orly-touch-sheet { margin: auto 7px max(7px,env(safe-area-inset-bottom)); width: calc(100% - 14px); }
  html[data-touch-portal] .cl-tabs { gap: 12px; }
  html[data-touch-portal] #view .stats { gap: 8px; }
}
@media (max-width: 360px) { .orly-touch-list { grid-template-columns: 1fr; } }

.orly-touch-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:53px}.dock-caption{font:600 11px/1.1 system-ui;text-align:center}.orly-touch-dock svg{width:21px;height:21px}
