.cozy-account [hidden] { display: none !important; }
.cozy-account { background: #f6f8fc; }
.account-shell { max-width: 1160px; margin: 0 auto; padding: 48px 24px 64px; }
.account-shell h1 { margin: 8px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
.account-intro, .account-help { color: #52617a; }
.account-intro { margin-bottom: 30px; }
.account-columns, .account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.account-card { min-width: 0; background: #fff; padding: 28px; border: 1px solid #dfe6ef; border-radius: 16px; margin-bottom: 24px; }
.account-card h2 { margin: 0 0 20px; font-size: 23px; }
.account-card h3 { font-size: 18px; }
.account-card form { display: grid; gap: 10px; }
.account-fields { gap: 10px 18px; }
.account-fields label { grid-column: 1; }
.account-fields input, .account-fields select { grid-column: 2; }
.cozy-account label { display: block; font-weight: 600; margin-top: 6px; }
.cozy-account input, .cozy-account select { display: block; width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #aab8cb; border-radius: 7px; font: inherit; background: #fff; color: #17233c; }
.cozy-account button { min-height: 44px; padding: 11px 16px; border: 1px solid #1769e0; border-radius: 8px; background: #1769e0; color: white; font: inherit; font-weight: 650; cursor: pointer; }
.cozy-account button.secondary { color: #155abf; background: #f1f6ff; border-color: #c5d4ea; }
.cozy-account button:disabled { opacity: .6; cursor: wait; }
.cozy-account :focus-visible { outline: 3px solid #1769e0; outline-offset: 3px; }
.account-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; }
.account-check input { width: 20px; height: 20px; margin: 3px 0 0; flex: 0 0 20px; }
.account-check a, .account-card a, .account-tabs a { color: #155abf; text-decoration: underline; text-underline-offset: 3px; }
.account-status { margin: 8px 0; overflow-wrap: anywhere; }
.account-status:empty { display: none; }
.account-status[data-error="true"] { color: #a42318; }
.account-status[data-error="false"] { color: #165d3d; }
.account-notice { padding: 16px; background: #eef5ff; border-left: 4px solid #1769e0; margin: 16px 0; overflow-wrap: anywhere; }
.account-toolbar, .account-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.account-toolbar { justify-content: space-between; }
.account-tabs { margin: 16px 0 24px; }
.account-tabs a { padding: 12px 0; }
.account-tabs a[aria-current="page"] { font-weight: 750; text-decoration-thickness: 3px; }
.account-order, .account-license { border: 1px solid #dfe6ef; padding: 18px; border-radius: 10px; margin: 14px 0; overflow-wrap: anywhere; }
.account-order summary { cursor: pointer; font-weight: 650; }
.account-license code { display: block; padding: 16px; background: #edf3fc; white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0; }
.account-license button { margin-top: 12px; }
.account-challenge { min-height: 65px; max-width: 100%; }
.cozy-account dialog { max-width: 470px; width: calc(100% - 32px); border: 1px solid #d1ddeb; border-radius: 16px; padding: 26px; color: #17233c; }
.cozy-account dialog::backdrop { background: rgb(15 33 60 / 55%); }
.cozy-account dialog form { display: grid; gap: 10px; }
.cozy-account dialog > button { margin: 10px 8px 0 0; }
.account-skip { position: absolute; left: 16px; top: -100px; padding: 12px; background: #fff; z-index: 100; }
.account-skip:focus { top: 12px; }
@media (max-width: 700px) {
  .account-shell { padding: 30px 16px 40px; }
  .account-columns, .account-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .account-fields label, .account-fields input, .account-fields select { grid-column: 1; }
  .account-card { padding: 20px; }
}

.cozy-test-notice { padding:12px 18px; background:#fff2c6; color:#382900; border-bottom:2px solid #e6ad27; font:600 14px/1.5 system-ui; }
