/* AMIGA practice identity: purple, coral, warm white, clear sans-serif type. */
.practice-brand{--ink:#282333;--muted:#6a626f;--green:#572594;--purple:#572594;--line:#e7deed;--paper:#f8f6fa;--tint:#f5eefb;--radius:16px;font-family:Arial,Helvetica,sans-serif;background:var(--paper);color:var(--ink)}
.practice-brand h1,.practice-brand h2,.practice-brand h3,.practice-brand .stat strong,.practice-brand .rating strong{font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:-.025em}.practice-brand a{color:#572594}.practice-brand .button{color:white}.practice-brand .button.secondary{color:#572594;border-color:#d2bbdf}.practice-brand .brand{display:block;letter-spacing:0;line-height:1.2;flex-shrink:0}.practice-brand .brand img{display:block;width:176px;height:auto}.practice-brand .brand small{display:block;font-size:14px;font-weight:400;letter-spacing:0;color:#ac4527;text-align:right;line-height:1.3;margin-top:1px}.practice-brand .product-name{font-size:16px;font-weight:700;border-left:1px solid var(--line);padding-left:22px;white-space:nowrap;color:#3d294d}.practice-brand .product-name sup{font-size:9px}.practice-brand .topbar{height:88px;gap:22px}.practice-brand .toplinks{margin-left:auto}.practice-brand .sidebar{background:white}.practice-brand .sidebar nav a[aria-current=page]{background:#eee8f5;color:#572594;border-left:3px solid #572594}.practice-brand .sidebar nav a{border-left:3px solid transparent}.practice-brand .hero{background:#f4eafa;border-color:#e5d2f1;position:relative;border-top:3px solid #df795b}.practice-brand .hero h2{font-size:30px;line-height:1.2}.practice-brand .hero p{font-size:15px}.practice-brand .stat strong{color:#572594}.practice-brand .card{border-color:var(--line)}.practice-brand .card h2{font-size:23px}.practice-brand .stat span{font-size:13px}.practice-brand .avatar{background:#efe0fa;color:#572594}.practice-brand .button,.practice-brand button.primary,.practice-brand button.secondary{border-radius:10px}.practice-brand input,.practice-brand select,.practice-brand textarea{border-color:#d0c1db}.practice-brand .hint{background:#fff4ec}.practice-brand .calendar button.day{background:#f3e8fb;border-color:#d2bbdf}.practice-brand .utterance{background:#f5eff9}.practice-brand .utterance.helper{background:#f2f3f6}.practice-brand .saved-conversation-layout{display:block}.practice-brand .saved-conversation-layout .transcript{max-height:none;overflow:visible;padding-right:0;scrollbar-gutter:auto}.practice-brand .saved-conversation-layout .utterance{max-width:85%;padding:17px 20px}.practice-brand .saved-conversation-layout .utterance.helper{margin-left:auto}.practice-brand .saved-conversation-layout .mini-grid{grid-template-columns:repeat(4,1fr)}.practice-brand .record{position:relative}.practice-brand .delete-conversation{color:#795d70;font-size:12px;min-height:36px;display:inline-block;margin-top:4px;padding:6px 0;text-decoration:underline;text-underline-offset:4px}.practice-brand .delete-conversation:hover{color:#9b253d}.delete-dialog{width:min(520px,calc(100% - 32px));border:1px solid #e7deed;border-radius:18px;padding:30px;color:#282333;background:white;max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 20px 70px #30203730}.delete-dialog::backdrop{background:#28163466}.delete-dialog h2{font-size:28px}.delete-dialog .delete-title{font-weight:700;color:#572594}.delete-dialog .danger-button{min-height:44px;padding:10px 18px;border:1px solid #a12c48;border-radius:10px;background:#a12c48;color:white;font-weight:700}.delete-dialog #delete-error{font-size:14px;color:#9b253d}.delete-dialog .actions{gap:12px}.practice-brand #notice{background:#392049}.practice-brand :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #572594;outline-offset:4px}
/* Sign-in and the public daily entry share the same restrained treatment. */
body:has(.practice-auth){background:#f8f6fa;color:#282333}body:has(.practice-auth) .auth-simple{border:1px solid #e7deed;border-top:3px solid #df795b;border-radius:18px;background:white;padding:38px;max-width:720px;margin:40px auto}body:has(.practice-auth) .auth-simple h1{font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:clamp(32px,4vw,46px);line-height:1.14;letter-spacing:-.03em}body:has(.practice-auth) .auth-simple p{line-height:1.65}body:has(.practice-auth) .auth-simple .primary{background:#572594;border-color:#572594;border-radius:10px;color:white}body:has(.practice-auth) .auth-simple .auth-help{border-top:1px solid #e7deed;padding-top:15px;margin-top:24px}body:has(.practice-auth) .auth-simple .kicker{color:#572594}body:has(.practice-auth) .header-label{color:#572594}
@media(max-width:700px){.practice-brand .topbar{padding:12px 20px;min-height:76px;height:auto;flex-wrap:wrap;gap:12px}.practice-brand .brand img{width:128px}.practice-brand .brand small{font-size:11px}.practice-brand .product-name{font-size:14px;padding-left:12px}.practice-brand .toplinks{margin-left:auto;font-size:13px}.practice-brand .hero h2{font-size:26px}.practice-brand .stat span{font-size:11px}.practice-brand .sidebar nav a{border-left:0;border-bottom:3px solid transparent;min-height:44px;display:flex;align-items:center;justify-content:center}.practice-brand .sidebar nav a[aria-current=page]{border-left:0;border-bottom-color:#572594}.practice-brand .saved-conversation-layout .mini-grid{grid-template-columns:1fr 1fr}.practice-brand .saved-conversation-layout .utterance{max-width:94%}.delete-dialog{padding:24px}.delete-dialog .actions{flex-direction:column;align-items:stretch}body:has(.practice-auth) .auth-simple{padding:26px 22px;margin:20px auto}}
@media(max-width:480px){.practice-brand .topbar .product-name{margin-left:auto}.practice-brand .topbar .toplinks{width:100%;justify-content:flex-end;border-top:1px solid #f0e9f4;padding-top:5px}}

.daily-entry{--deep:#572594;--warm:#ac4527;background:#f8f6fa}.daily-entry>header{max-width:none;padding:18px max(24px,calc((100vw - 1240px)/2));background:white;justify-content:initial}.daily-entry>header nav{margin-left:auto}.daily-entry h1,.daily-entry h2,.daily-entry .opening blockquote{font-family:Arial,Helvetica,sans-serif}.daily-entry h1,.daily-entry h2{font-weight:700}.daily-entry .opening{background:#f4eafa}.daily-entry button,.daily-entry .button{border-radius:10px}.daily-entry .eyebrow{color:#572594}.daily-entry>footer{background:white;border-top:1px solid #e7deed}.daily-entry .product-name{margin-right:auto}
@media(max-width:700px){.daily-entry>header{padding:14px 20px;flex-wrap:wrap;gap:14px}.daily-entry>header nav{width:100%;justify-content:flex-end;flex-wrap:wrap;font-size:12px;gap:16px}.daily-entry .product-name{margin-left:auto;margin-right:0}}

.practice-brand .saved-sections{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;margin:10px 0 24px}.practice-brand :is(#saved-transcript,#saved-feedback,#saved-reflection){scroll-margin-top:24px}

/* One prominent Becoming MI identity across account and practice screens.
   Keep this after page-specific brand rules so it also survives the hub cascade. */
body > header .becoming-brand {
 display:flex;flex-direction:column;align-items:flex-start;gap:7px;
 flex:0 1 auto;min-width:0;max-width:100%;margin:0;
 color:#572594;text-decoration:none;line-height:1.1;letter-spacing:0;
}
body .becoming-wordmark {
 display:block;padding:0;color:#572594;font:700 36px/1.15 Arial,Helvetica,sans-serif;
 letter-spacing:-1.2px;white-space:nowrap;text-transform:none;margin:0;
}
body .becoming-wordmark sup {
 display:inline-block;font-size:.33em;line-height:1;letter-spacing:0;
 vertical-align:top;margin:4px 0 0 3px;
}
body .becoming-byline {
 display:block;padding:0;color:#6a626f;font:400 13px/1.4 Arial,Helvetica,sans-serif;
 letter-spacing:.25px;white-space:normal;text-transform:none;margin:0;
}
body .becoming-byline span {display:inline;font:inherit;color:inherit;padding:0;margin:0;}
body > header:has(.becoming-brand) {height:auto;min-height:108px;gap:20px;flex-wrap:wrap;}
body .auth-brand {margin:0 0 28px;display:flex;flex-direction:column;gap:9px;}
body .auth-brand .becoming-wordmark {font-size:52px;letter-spacing:-1.8px;}
body .auth-brand .becoming-byline {font-size:15px;}
body:has(.practice-auth) .auth-simple h1 {font-size:clamp(28px,4vw,36px);}
@media(max-width:700px) {
 body > header:has(.becoming-brand) {min-height:96px;gap:14px;padding:16px 20px;}
 body .becoming-wordmark {font-size:30px;letter-spacing:-1px;}
 body .becoming-byline {font-size:12px;}
 body .auth-brand .becoming-wordmark {font-size:clamp(29px,7.7vw,44px);letter-spacing:-1px;}
 body .auth-brand .becoming-byline {font-size:13px;}
 body .auth-brand {margin-bottom:24px;}
}
@media(max-width:480px) {
 body > header .becoming-brand {flex-basis:100%;}
 body.practice-brand .topbar .toplinks {padding-top:8px;}
}

/* Account entry has one brand and one task. Keep navigation inside the form. */
body:not(.coding-service-page):has(.practice-auth)>header{
 min-height:84px;height:auto;padding:14px max(24px,calc((100vw - 1160px)/2));
 gap:0;flex-wrap:nowrap;justify-content:flex-start;
}
body:not(.coding-service-page):has(.practice-auth)>header :is(.site-nav,#joinLink,#profileLink,#signOut,#labHome,#restart){display:none!important}
body:not(.coding-service-page):has(.practice-auth)>header .becoming-brand{flex-basis:auto;gap:5px}
body:not(.coding-service-page):has(.practice-auth)>header .becoming-wordmark{font-size:30px;letter-spacing:-1px}
body:not(.coding-service-page):has(.practice-auth)>header .becoming-byline{font-size:12px}
body:not(.coding-service-page):has(.practice-auth):has(>header .becoming-brand) .practice-auth>:is(.auth-brand,.kicker){display:none}
body:not(.coding-service-page):has(.practice-auth) .layout>main{padding:0 24px 48px}
body:not(.coding-service-page):has(.practice-auth) .auth-simple{max-width:640px;margin:24px auto;padding:32px}
body:not(.coding-service-page):has(.practice-auth) .auth-simple h1{margin-top:0;margin-bottom:14px;font-size:clamp(28px,4vw,36px)}
body:not(.coding-service-page):has(.practice-auth) .auth-simple>p{font-size:16px;margin-bottom:20px;line-height:1.65}
body:not(.coding-service-page):has(.practice-auth) .auth-simple .auth-account-actions{margin-top:20px}
body:not(.coding-service-page):has(.practice-auth) .auth-simple :is(input,select){font-size:16px;min-height:48px;max-width:100%}
body:not(.coding-service-page):has(.practice-auth) .auth-simple input[type=checkbox]{min-height:19px}
.practice-auth .auth-reminder{margin:22px 0 0;padding:18px;border:1px solid #d7e2df;border-radius:12px;background:#f6f9f7}
.practice-auth .auth-reminder .auth-email-included{margin:0 0 8px;align-items:flex-start;line-height:1.55}
.practice-auth .auth-reminder .auth-email-included input{flex:0 0 auto;margin-top:4px}
.practice-auth .auth-reminder .prompt{margin-top:0}
.practice-auth .auth-reminder .field-hint{margin-bottom:0}
.practice-auth .auth-reminder .auth-reminder-note{margin:0 0 18px;line-height:1.5}
@media(max-width:700px){.practice-auth .auth-reminder{padding:16px 0 0;border:0;border-top:1px solid #d7e2df;border-radius:0;background:transparent;margin-top:18px}}

@media(max-width:700px){
 body:not(.coding-service-page):has(.practice-auth)>header{min-height:76px;padding:12px 18px}
 body:not(.coding-service-page):has(.practice-auth)>header .becoming-wordmark{font-size:28px}
 body:not(.coding-service-page):has(.practice-auth)>header .becoming-byline{font-size:11px}
 body:not(.coding-service-page):has(.practice-auth) .layout>main{padding:0 16px 32px}
 body:not(.coding-service-page):has(.practice-auth) .auth-simple{padding:24px 20px;margin:18px auto;border-radius:14px}
 body:not(.coding-service-page):has(.practice-auth) .auth-simple h1{font-size:29px;line-height:1.15}
 body:not(.coding-service-page):has(.practice-auth) .auth-simple>p{font-size:15px;margin-bottom:18px}
}
@media(max-width:360px){
 body:not(.coding-service-page):has(.practice-auth) .layout>main{padding-inline:12px}
 body:not(.coding-service-page):has(.practice-auth) .auth-simple{padding:22px 17px}
 body:not(.coding-service-page):has(.practice-auth) .auth-simple h1{font-size:27px}
}
