.cloud-button { display: inline-flex; align-items: center; gap: 7px; }
.cloud-dot { width: 8px; height: 8px; border-radius: 50%; background: #59655d; box-shadow: 0 0 0 2px rgba(89,101,93,.16); }
.cloud-button.linked .cloud-dot { background: #78977f; }
.cloud-button.syncing .cloud-dot { background: #b09a62; }
.cloud-button.error .cloud-dot { background: #a76464; }

.cloud-modal-panel { width: min(560px, calc(100vw - 28px)); }
.cloud-modal-body { max-height: min(72vh, 720px); overflow-y: auto; }
.cloud-status { border: 1px solid #344139; background: #111713; border-radius: 9px; padding: 11px 12px; color: #dce4de; line-height: 1.55; font-size: 13px; }
.cloud-status.good { border-color: #45604c; background: #132019; }
.cloud-status.warning { border-color: #716442; background: #262216; }
.cloud-status.error { border-color: #704545; background: #261818; }
.cloud-note { margin: 12px 0 14px; color: #94a198; font-size: 12px; line-height: 1.7; }

.cloud-user { display: flex; align-items: center; gap: 10px; min-height: 0; margin-top: 10px; }
.cloud-user:empty { display: none; }
.cloud-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid #46564c; }
.cloud-user div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cloud-user strong { color: #e6ece8; font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cloud-user span { color: #87968c; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.google-login-host { min-height: 48px; margin-top: 12px; align-items: center; justify-content: center; }

.cloud-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cloud-action { border: 1px solid #48584e; background: #172019; color: #e3e9e5; border-radius: 9px; padding: 10px 11px; cursor: pointer; text-align: left; }
.cloud-action:hover { background: #223026; border-color: #65776c; }
.cloud-action.primary { border-color: #617662; background: #1d2a20; }
.cloud-action.danger-outline { border-color: #654646; color: #c9abab; background: #1d1515; }
.cloud-action:disabled { opacity: .42; cursor: not-allowed; }

@media (max-width: 760px) {
  .cloud-actions { grid-template-columns: 1fr; }
  .cloud-modal-body { max-height: 72vh; }
}
