/* iPad signing layout — 2026110603. Presentation only: no signing/API changes. */
/* The legacy guide moved to Help; the console must not occupy its old 360px track. */
#Home.ws-sign-page {
  width: 100%;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}
body[data-ws-page="Home"] #Home.ws-sign-page { display: block !important; }
#Home.ws-sign-page > .st-console {
  width: 100%;
  max-width: none !important;
  min-width: 0;
  margin: 0;
}
#Home.ws-sign-page > .ws-subpage-head { width: 100%; }
#Home.ws-sign-page .sign-card { width: 100%; margin-left: 0; margin-right: 0; }
#Home .ws-sign-device-summary > div { min-width: 0; }
/* Keep the full model in the form; only the compact fixed header may truncate. */
.ws-head-device { flex: 0 0 auto; min-width: 0; max-width: 188px; }
.ws-head-device > i { flex-shrink: 0; }
.ws-head-device > span { min-width: 0; }
.ws-head-device b, .ws-head-device small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-style-toggle { flex-shrink: 0; white-space: nowrap; }
.ws-desktop-nav { min-width: 0; flex-shrink: 1; overflow-x: auto; scrollbar-width: none; }
.ws-desktop-nav::-webkit-scrollbar { display: none; }
.ws-desktop-nav button { flex-shrink: 0; }
.ws-platform-strip > div > button { flex-shrink: 0; }
.ws-platform-strip > div > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1280px) {
  .st-head { gap: 12px !important; }
  .ws-head-tools > label { display: none; }
  .ws-head-tools { flex-shrink: 0; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .ws-style-toggle { display: none; }
  .ws-head-device { max-width: 160px; }
  .ws-platform-strip > div > span { max-width: 32%; }
}
@media (max-width: 380px) {
  #Home .ws-sign-device-row { flex-wrap: wrap; }
  #Home .ws-sign-device-summary { flex-basis: 100%; }
  #Home .ws-sign-device-row .btn-mini { width: 100%; }
}
