.cloud-account { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.cloud-account form { margin:0; }
.cloud-account button { height:32px; padding:0 10px; }

.cloud-login {
  margin:0; display:grid; place-items:center; min-height:100vh; padding:20px;
  box-sizing:border-box; background:#eef2f1; color:#172621;
  font:16px/1.5 system-ui,"Microsoft Yahei",sans-serif;
}
.cloud-login main {
  box-sizing:border-box; width:min(100%,420px); padding:30px;
  background:white; border:1px solid #d5e1dd; border-radius:12px;
}
.cloud-login h1 { margin:0 0 24px; font-size:26px; line-height:1.25; }
.cloud-login .cloud-brand { margin:0 0 8px; color:#49645a; font-size:14px; }
.cloud-login form { display:grid; gap:16px; }
.cloud-login label { display:grid; gap:6px; font-size:14px; }
.cloud-login input, .cloud-login button {
  box-sizing:border-box; width:100%; height:44px; padding:0 12px; border:1px solid #aebeb8;
  border-radius:6px; font:inherit;
}
.cloud-login button { background:#195f4b; border-color:#195f4b; color:white; cursor:pointer; }
.cloud-login a { display:inline-block; margin-top:18px; color:#185d4a; }
.cloud-login .cloud-error { color:#a42127; }

@media (max-width:1000px) {
  html, body { min-width:0; width:100%; height:auto; overflow:auto; }
  .topbar { min-height:54px; height:auto; padding:8px 12px; gap:8px; flex-wrap:wrap; }
  .topbar nav { gap:4px; }
  .topbar nav button { padding-inline:8px; }
  .cloud-account { margin-left:auto; }
  .make-layout { display:flex; flex-direction:column; height:auto; min-width:0; padding:12px; gap:10px; }
  .make-layout > .workspace-title:nth-child(n) { height:auto; min-height:44px; margin:0; }
  .make-layout .bench { display:contents; }
  .make-layout .bench > .entry-module, .make-layout .bench > .poster-module, .make-layout .bench > .copy-panel {
    margin:0 0 8px; width:auto; overflow:visible;
  }
  .make-layout > .workspace-title:nth-child(1) { order:1; }
  .make-layout .entry-module { order:2; }
  .make-layout > .workspace-title:nth-child(2) { order:3; }
  .make-layout .poster-module { order:4; }
  .make-layout > .workspace-title:nth-child(3) { order:5; }
  .make-layout .copy-panel { order:6; }
  #poster { width:min(100%,540px); height:auto; }
  .athlete-table-wrap { overflow-x:auto; }
  .stash-row.review-submission-row { grid-template-columns:minmax(0,1fr); }
  .review-grid { grid-template-columns:minmax(0,1fr); }
  dialog { max-width:calc(100vw - 20px); }
}
@media (max-width:450px) {
  .topbar .cloud-account #actor { display:none; }
  .make-layout .workspace-title h1 { font-size:18px; }
  .make-layout .bench > .entry-module, .make-layout .bench > .poster-module, .make-layout .bench > .copy-panel { padding:12px; }
}
