#account-screen { width: 100%; min-height: 100vh; background: radial-gradient(ellipse at 10% 50%,#eaf2e9 0,transparent 55%),#f7f9f6; color: var(--ink); }
#account-screen .account-header { max-width: 1380px; margin: auto; padding: 29px 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#account-screen .account-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 30px; font-weight: 750; letter-spacing: -1.5px; }
#account-screen .account-brand img { object-fit: contain; }
#account-screen .account-brand>span>span { color: var(--teal); }
#account-screen .account-preview-tag { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; letter-spacing: 1px; color: #526d5c; }
#account-screen .account-preview-tag>span { width: 6px; height: 6px; border-radius: 50%; background: #4a977b; }
#account-screen .account-layout { max-width: 1240px; margin: auto; padding: 39px 58px 42px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,440px); align-items: center; gap: 76px; }
#account-screen .account-eyebrow { font-size: 11px; letter-spacing: 1.5px; font-weight: 750; line-height: 1.7; margin: 0 0 18px; color: #53705d; }
#account-screen .account-story h1 { font-size: clamp(38px,4vw,54px); letter-spacing: -2.4px; line-height: 1.14; font-weight: 650; margin: 0 0 22px; }
#account-screen .account-story h1 span { color: #008276; }
#account-screen .account-story-copy { font-size: 17px; line-height: 1.8; color: #5d7366; max-width: 410px; margin: 0; }
#account-screen .account-illustration { position: relative; height: 275px; width: 380px; max-width: 100%; margin: 26px 0 18px; }
#account-screen .account-art-halo { position: absolute; inset: 0 -12px 0 -30px; border-radius: 50%; background: radial-gradient(ellipse,#d5e9d5 0,#e3eee0 43%,transparent 70%); }
#account-screen .account-paper { position: absolute; left: 50px; top: 30px; width: 246px; height: 208px; border-radius: 20px; border: 1px solid #d7e4d7; }
#account-screen .account-paper-back { transform: rotate(-14deg); background: #d4e6d7; box-shadow: 0 15px 30px #345c3510; }
#account-screen .account-paper-front { transform: rotate(-3deg); background: linear-gradient(135deg,#fff,#f8fbf5); box-shadow: 3px 6px 0 #e0e9dd,8px 17px 22px #486a3b13; padding: 20px 21px; transition: transform .4s ease; }
#account-screen .account-illustration:hover .account-paper-front { transform: rotate(0deg) translateY(-4px); }
#account-screen .account-paper-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; font-size: 27px; font-weight: 650; letter-spacing: -1px; color: #4e6b57; }
#account-screen .account-paper-dot { width: 7px; height: 7px; border-radius: 50%; background: #a6c7b2; box-shadow: -12px 0 #d4e2d4; }
#account-screen .account-paper-line { display: block; width: 77%; height: 5px; border-radius: 4px; background: #dce6da; margin: 10px 0; }
#account-screen .account-line-wide { width: 92%; }
#account-screen .account-line-short { width: 58%; }
#account-screen .account-polished-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 10px; margin: 13px -6px; border-radius: 8px; background: #e0f0e5; color: #19745c; font-size: 13px; font-weight: 650; }
#account-screen .account-polished-line svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#account-screen .account-logo-tile { position: absolute; left: 254px; top: 134px; width: 92px; height: 89px; border-radius: 25px; transform: rotate(10deg); background: linear-gradient(140deg,#fff,#edf7ea); box-shadow: 4px 6px 0 #ccddcd,5px 15px 20px #486a3b1a,inset 0 0 0 1px #fff; display: grid; place-items: center; }
#account-screen .account-logo-tile img { width: 65px; height: 65px; object-fit: contain; }
#account-screen .account-art-badge { position: absolute; left: 13px; top: 170px; width: 73px; height: 73px; transform: rotate(-9deg); }
#account-screen .account-art-badge svg { width: 100%; height: 100%; overflow: visible; }
#account-screen .account-spark { position: absolute; color: #749d73; font-size: 25px; }
#account-screen .account-spark-one { left: 305px; top: 42px; }
#account-screen .account-spark-two { left: 18px; top: 66px; font-size: 19px; color: #90b79a; }
#account-screen .account-benefits { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: #496350; font-size: 13px; font-weight: 550; }
#account-screen .account-benefits>span { display: flex; align-items: center; gap: 6px; }
#account-screen .account-benefits svg { width: 30px; height: 30px; overflow: visible; }
#account-screen .account-card { padding: 24px 30px 26px; background: #fff; border: 1px solid #e0e8de; border-radius: 28px; box-shadow: 0 18px 48px #385a3408,0 2px 5px #385a3403; text-align: center; animation: account-arrive .4s ease both; }
#account-screen .account-mode { display: flex; background: #f2f5ef; border: 1px solid #e8ece4; border-radius: 12px; padding: 4px; margin-bottom: 27px; }
#account-screen .account-mode button { flex: 1; min-height: 40px; border: 0; background: transparent; border-radius: 9px; color: #61735f; font-size: 14px; font-weight: 650; }
#account-screen .account-mode button[aria-pressed="true"] { background: #fff; color: #176b57; box-shadow: 0 1px 5px #3357350f; }
#account-screen .account-welcome-art { width: 59px; height: 58px; margin: 0 auto 21px; display: grid; place-items: center; border: 1px solid #e1eddf; border-radius: 17px; background: linear-gradient(140deg,#fff,#eef7e9); box-shadow: 0 3px 0 #e5eee1; transform: rotate(-5deg); }
#account-screen .account-welcome-art img { width: 42px; height: 42px; object-fit: contain; }
#account-screen .account-card .account-eyebrow { font-size: 10px; margin-bottom: 10px; letter-spacing: 1.1px; }
#account-screen .account-card h2 { margin: 0 0 11px; font-size: 26px; font-weight: 650; letter-spacing: -1px; line-height: 1.3; }
#account-screen .account-card h2:focus { outline: 0; }
#account-screen .account-description { margin: 0 auto 27px; color: #627563; font-size: 14px; line-height: 1.7; max-width: 310px; }
#account-screen .account-providers { display: grid; gap: 10px; }
#account-screen .account-providers button,#account-screen .account-email-toggle,#account-screen .account-email-submit,#account-screen .account-explore { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 49px; padding: 11px 17px; border-radius: 12px; font-size: 14px; line-height: 1.5; font-weight: 650; }
#account-screen .account-providers button { border: 1px solid #dce5d9; color: #304c3d; background: #fff; }
#account-screen .account-providers button:hover { background: #f6f9f3; border-color: #bdd5bd; }
#account-screen .account-providers svg,#account-screen .account-email-toggle svg,#account-screen .account-email-submit svg,#account-screen .account-explore svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#account-screen .account-providers svg { margin-left: auto; color: #7b937e; }
#account-screen .account-providers button { text-align: left; justify-content: flex-start; }
#account-screen .account-divider { display: flex; align-items: center; gap: 13px; font-size: 12px; color: #798879; margin: 17px 0; }
#account-screen .account-divider>span { flex: 1; height: 1px; background: #e8eee4; }
#account-screen .account-email-toggle { border: 1px solid #dce5d9; background: #f8faf5; color: #36553f; }
#account-screen .account-email-toggle:hover { background: #edf5e9; }
#account-screen .account-email-form { text-align: left; padding-top: 20px; }
#account-screen .account-email-form label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 9px; }
#account-screen .account-email-form input { width: 100%; min-height: 49px; border: 1px solid #cbdcc8; border-radius: 10px; padding: 11px 13px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
#account-screen .account-email-form input:focus-visible { outline: 3px solid #168a7e; outline-offset: 3px; }
#account-screen .account-email-form p { font-size: 12px; line-height: 1.7; color: #647761; margin: 9px 0 14px; }
#account-screen .account-email-submit { border: 1px solid #bed8bd; background: #e9f3e5; color: #216c4f; }
#account-screen .account-email-submit:hover { background: #deedda; }
#account-screen .account-notice { padding: 13px 15px; margin: 18px 0 0; border: 1px solid #dce7d3; border-radius: 11px; text-align: left; background: #f5f8ee; color: #526441; font-size: 13px; line-height: 1.7; }
#account-screen .account-notice:focus { outline: 2px solid #93b686; outline-offset: 3px; }
#account-screen .account-preview-entry { margin-top: 24px; }
#account-screen .account-entry-rule { display: block; width: 30px; height: 1px; background: #d3e0cf; margin: 0 auto 18px; }
#account-screen .account-preview-entry p { color: #627463; font-size: 13px; margin: 0 0 12px; }
#account-screen .account-explore { background: linear-gradient(120deg,#00877a,#007369); border: 1px solid #007a6e; color: #fff; box-shadow: 0 3px 7px #005d5012,inset 0 1px #ffffff15; }
#account-screen .account-explore:hover { background: #006c61; box-shadow: 0 5px 12px #005d5020; }
#account-screen .account-explore svg { margin-left: 3px; }
#account-screen .account-preview-caption { display: block; margin: 13px auto 0; max-width: 300px; font-size: 12px; color: #61735f; line-height: 1.7; }
#account-screen .account-footer { max-width: 1264px; padding: 0 58px 28px; margin: auto; display: flex; gap: 16px; justify-content: space-between; color: #6b7b67; font-size: 12px; line-height: 1.7; }
@keyframes account-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1400px) { #account-screen .account-layout { padding-top: 57px; padding-bottom: 62px; } }
@media (max-width: 1050px) {
  #account-screen .account-header { padding: 25px 36px; }
  #account-screen .account-layout { padding: 30px 36px 40px; gap: 36px; grid-template-columns: minmax(0,1fr) minmax(0,410px); }
  #account-screen .account-story h1 { font-size: 41px; letter-spacing: -1.8px; }
  #account-screen .account-illustration { transform: scale(.87); transform-origin: left center; margin-right: -35px; }
  #account-screen .account-benefits { gap: 6px; }
  #account-screen .account-footer { padding-right: 36px; padding-left: 36px; }
}
@media (max-width: 850px) {
  #account-screen .account-layout { max-width: 600px; grid-template-columns: minmax(0,1fr); padding-top: 18px; gap: 26px; }
  #account-screen .account-story { text-align: center; }
  #account-screen .account-story .account-eyebrow { font-size: 10px; margin-bottom: 13px; }
  #account-screen .account-story h1 { font-size: 39px; margin-bottom: 16px; }
  #account-screen .account-story-copy { margin: auto; font-size: 16px; }
  #account-screen .account-illustration,#account-screen .account-benefits { display: none; }
  #account-screen .account-card { padding: 24px 32px 26px; }
  #account-screen .account-footer { justify-content: center; text-align: center; flex-wrap: wrap; gap: 5px 20px; }
}
@media (max-width: 430px) {
  #account-screen .account-header { padding: 23px 22px; gap: 10px; }
  #account-screen .account-brand { gap: 6px; font-size: 26px; }
  #account-screen .account-brand img { width: 36px; height: 36px; }
  #account-screen .account-preview-tag { font-size: 9px; gap: 5px; letter-spacing: .5px; }
  #account-screen .account-layout { padding: 17px 18px 28px; }
  #account-screen .account-story h1 { font-size: 34px; letter-spacing: -1.6px; }
  #account-screen .account-story-copy { font-size: 15px; }
  #account-screen .account-card { border-radius: 23px; padding: 20px 21px 23px; }
  #account-screen .account-card h2 { font-size: 24px; }
  #account-screen .account-card .account-eyebrow { font-size: 9px; letter-spacing: .8px; }
  #account-screen .account-footer { font-size: 11px; padding: 0 23px 24px; }
}
@media (prefers-reduced-motion: reduce) { #account-screen *,#account-screen *::before,#account-screen *::after { animation: none !important; transition: none !important; } }

/* Registration uses the same visual language as the approved writing studio. */
#account-screen .account-text-button { border: 0; background: transparent; color: #006e61; font: inherit; font-size: 14px; font-weight: 750; padding: 14px 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
#account-screen .account-email-form input + label, #account-screen .account-password-field { margin-top: 10px; }
#account-screen .account-email-form input + label { margin-top: 20px; }
#account-screen .account-password-field { position: relative; }
#account-screen .account-password-field input { padding-right: 66px; }
#account-screen #password-visibility { position: absolute; right: 5px; top: 3px; min-height: 43px; border: 0; background: transparent; color: #006e61; font: inherit; font-size: 13px; font-weight: 800; }
#account-screen .provider-letter { font-size: 22px; font-weight: 800; color: #214d40; }
#account-screen .account-next-step h3 { font-size: 22px; margin: 12px 0; }
#account-screen .account-next-step p { color: #334e46; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
#account-screen .account-step-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: auto; border-radius: 20px; color: #007568; background: #dcf4e8; font-size: 30px; font-weight: 800; }
#account-screen .account-scope-note { font-size: 13px !important; }
#account-screen button:disabled { cursor: wait; opacity: .65; }
#account-screen [aria-busy="true"] .account-welcome-art { animation: account-breathe 1s ease-in-out infinite alternate; }
@keyframes account-breathe { to { transform: rotate(0) scale(1.07); } }
@media (max-width: 850px) {
  #account-screen.registration-active .account-story, #account-screen.registration-active .account-welcome-art { display: none; }
  #account-screen.registration-active .account-layout { padding-top: 6px; }
  #account-screen.registration-active .account-card { text-align: left; }
  #account-screen.registration-active .account-description { margin-left: 0; }
  #account-screen.registration-active .account-next-step { text-align: center; }
}
