/* Stickwise: in-app account deletion screens (3 October 2026). Studio tokens from design.css; cards follow the profile
   page (.account-card in app-design.css). Calm on purpose: one red button, only on the confirm step. */
.ad-ic{width:19px;height:19px;flex:none;display:inline-block;vertical-align:middle}

/* The entry at the bottom of the profile page */
.ad-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:6px 0 20px;padding:20px 26px;background:var(--paper);border:1px solid #e6e5ed;border-radius:20px}
.ad-entry h2{font:600 15px/1.4 var(--display);letter-spacing:-.02em;margin:0;color:var(--ink)}
.ad-entry p{font-size:13px;line-height:1.6;color:var(--mut);margin:4px 0 0;max-width:620px}
.study-app .ad-entry .ad-entry-btn{flex:none;width:auto;min-height:40px;font-size:12px;color:var(--red);border-color:#e7cfd0;background:var(--paper)}
.study-app .ad-entry .ad-entry-btn:hover{background:#fbf3f3}
.card .ad-entry{margin:14px 0 0}

/* The screen */
.ad-page{max-width:1180px;margin:0 auto}
.ad-back{margin:6px 0 4px}
.study-app .ad-back .text-btn{display:inline-flex;align-items:center;gap:8px;width:auto;font-size:13px;color:var(--mut)}
.ad-page .page-title{margin-bottom:18px}
.ad-page .page-title h1{font-size:clamp(30px,3.3vw,44px);line-height:1.12;letter-spacing:-.05em;outline:none}
.ad-page .page-title p{max-width:640px}
.ad-who{display:flex;align-items:center;gap:10px;margin:0 0 22px;font-size:14px;color:var(--mut);overflow-wrap:anywhere}
.ad-who b{color:var(--ink)}
.ad-who .ad-ic{color:#9890ad}
.ad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}
.ad-card{background:var(--paper);border:1px solid #e6e5ed;border-radius:20px;padding:24px 26px;min-width:0}
.ad-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.ad-card-heading .ad-ic{color:#9890ad}
.ad-card h2{font:600 17px/1.4 var(--display);letter-spacing:-.025em;margin:0}
.ad-card h3{font:600 14px/1.45 var(--font);margin:16px 0 4px;color:var(--ink)}
.ad-card h3:first-child{margin-top:0}
.ad-card p{font-size:14px;line-height:1.7;margin:0 0 10px;color:#3c3d45}
.ad-card p:last-child{margin-bottom:0}
.ad-list{margin:0;padding:0 0 0 20px;font-size:14px;line-height:1.65;color:#3c3d45}
.ad-list li{margin:0 0 8px;padding-left:2px}
.ad-list li:last-child{margin-bottom:0}
.ad-list li::marker{color:#9890ad}
.ad-strong{font-weight:600;color:var(--ink)!important}
.ad-quiet{font-size:13px!important;color:var(--mut)!important}

/* The confirm step */
.ad-confirm{max-width:760px;border-color:#e2d3d4}
.ad-form label{display:block;font-size:15px;font-weight:600;color:var(--ink)}
.ad-form label b{letter-spacing:.06em}
.ad-form .ad-quiet{margin:4px 0 0}
.study-app .ad-form .tin{display:block;width:100%;max-width:340px;margin-top:12px;font-size:16px;letter-spacing:.08em}
.ad-hint{min-height:20px;margin:6px 0 0!important;font-size:13px!important;color:var(--red)!important}
.ad-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.study-app .ad-actions .btn{width:auto;flex:0 0 auto;min-height:42px;font-size:13px;padding:10px 18px}
.study-app .btn.ad-danger{background:var(--red);border-color:var(--red);color:#fff}
.study-app .btn.ad-danger:hover:not(:disabled){filter:brightness(.94)}
.study-app .btn.ad-danger:disabled{background:#efe7e8;border-color:#e2d3d4;color:#8b6f71;opacity:1;cursor:not-allowed}
.ad-form .btn:focus-visible,.ad-entry .btn:focus-visible,.ad-status .btn:focus-visible,.ad-done .btn:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* Messages inside the confirm card */
.ad-status{padding:18px 20px;border-radius:16px;margin:0 0 16px;outline:none}
.ad-status h3{font:600 15px/1.4 var(--font);margin:0 0 6px}
.ad-status p{font-size:14px;line-height:1.65;margin:0 0 8px;overflow-wrap:anywhere}
.ad-status p:last-of-type{margin-bottom:0}
.ad-status a{color:var(--blue);text-decoration:underline;overflow-wrap:anywhere}
.ad-status-info{background:#f4f3fd;border:1px solid #dedbf6}
.ad-status-error{background:#fcf2f2;border:1px solid #efd2d3}
.ad-status-error h3{color:var(--red)}
.ad-status .ad-actions{margin-top:14px}

/* The final screen (drawn through the authView chain, without the sidebar) */
.study-app .auth.ad-done{max-width:560px;margin:0 auto;padding:56px 28px 70px;text-align:left}
.ad-wordmark{display:inline-flex;align-items:center;gap:10px;font:700 24px var(--display);letter-spacing:-1px;color:var(--ink);margin-bottom:44px}
.ad-done-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--lime);color:var(--ink);margin-bottom:22px}
.ad-done-mark .ad-ic{width:26px;height:26px}
.ad-done .eyebrow{display:block;font-size:12px;letter-spacing:.11em;color:var(--mut)}
.ad-done h1{font:500 clamp(30px,5vw,40px)/1.12 var(--display);letter-spacing:-.045em;margin:10px 0 16px;outline:none}
.ad-done>p{font-size:15px;line-height:1.7;color:#3c3d45;margin:0 0 14px}
.ad-done .ad-status{margin:18px 0}
.study-app .ad-done>.btn.hot{width:auto;min-height:46px;font-size:14px;padding:12px 22px;margin:10px 0 18px}

@media(max-width:900px){.ad-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
  .ad-entry{flex-direction:column;align-items:stretch;padding:20px}
  .study-app .ad-entry .ad-entry-btn{width:100%}
  .ad-card{padding:20px}
  .ad-grid{gap:14px;margin-bottom:14px}
  .study-app .ad-actions .btn{flex:1 1 100%;width:100%}
  .study-app .ad-form .tin{max-width:none}
  .study-app .auth.ad-done{padding:36px 20px 50px}
  .ad-wordmark{margin-bottom:32px}
  .study-app .ad-done>.btn.hot{width:100%}
}
