/*
 * TeachMe account screens (2026-10-20): log in / register shell and the member dashboard.
 * Design notes: research/footer-login-account-2026-10-20/DESIGN.md
 * Palette: navy #071147 (text, dark panel) · logo teal #389C94 (illustration, accents) · teal text #07796C (links on white)
 * Motion only outside calm mode (html.tm-motion-calm = footer switch off or reduced motion).
 */
.tme-auth-shell,.tme-dash{--a-navy:#071147;--a-teal:var(--tm-logo,#389C94);--a-teal-text:#07796C;--a-mint:#62DECD;--a-soft:#EEF8F6;--a-line:#DCE6E8;--a-muted:var(--tm-muted,#5F5F5F);--a-bg:#F6F8FB}

/* ---------- Auth: hide the page's legacy title / "— Hoặc —" blocks when the shell is present ---------- */
[class^="tm-page-"]:has(> .tme-auth-shell) > :not(.tme-auth-shell){display:none !important}
main:has(.tme-auth-shell) :is(.tm-page-title,.wp-block-post-title){display:none}
main:has(.tme-auth-shell){background:linear-gradient(180deg,var(--a-bg),#fff 70%)}

.tme-auth-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);max-width:1080px;margin:clamp(16px,4vw,48px) auto clamp(40px,6vw,80px);
 border-radius:24px;overflow:hidden;background:#fff;border:1px solid var(--a-line);box-shadow:0 30px 80px rgb(7 17 71 / 10%)}
.tme-auth-aside{position:relative;isolation:isolate;overflow:hidden;padding:clamp(32px,4vw,56px);color:#C3CCE4;
 background:radial-gradient(120% 80% at 100% 0%,rgb(56 156 148 / 45%),transparent 60%),radial-gradient(90% 70% at 0% 100%,rgb(98 222 205 / 18%),transparent 60%),var(--a-navy)}
.tme-auth-owl{display:block;width:84px;height:auto;margin-bottom:28px;filter:drop-shadow(0 12px 24px rgb(0 0 0 / 30%))}
.tme-auth-eyebrow{display:inline-flex;margin:0 0 12px;padding:4px 12px;border-radius:999px;background:rgb(98 222 205 / 14%);border:1px solid rgb(98 222 205 / 32%);color:var(--a-mint);font:700 12px/1.5 var(--tm-font);letter-spacing:.06em;text-transform:uppercase}
.tme-auth-aside h2{margin:0 0 12px;color:#fff !important;font:700 var(--tm-fs-h2,28px)/1.25 var(--tm-font) !important;letter-spacing:-.02em}
.tme-auth-aside>p{margin:0 0 28px;max-width:40ch;font-size:15px;line-height:1.7}
.tme-auth-points{list-style:none;margin:0;padding:0;display:grid;gap:14px;counter-reset:step}
.tme-auth-points li{position:relative;margin:0;padding-left:40px;color:#fff;font-size:15px;line-height:1.55}
.tme-auth-points li::before{content:"";position:absolute;left:0;top:-1px;width:26px;height:26px;border-radius:50%;background:rgb(56 156 148 / 35%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362DECD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat}
.tme-auth-points--steps li{counter-increment:step}
.tme-auth-points--steps li::before{content:counter(step);background:rgb(56 156 148 / 35%);color:var(--a-mint);font:800 13px/26px var(--tm-font);text-align:center}

.tme-auth.tme-auth-card{max-width:none;margin:0;border:0;border-radius:0;padding:clamp(28px,4.5vw,60px);background:#fff;display:flex;flex-direction:column;justify-content:center}
.tme-auth-title{margin:0 0 6px;color:var(--a-navy);font:700 var(--tm-fs-h1,36px)/1.2 var(--tm-font) !important;letter-spacing:-.02em;text-align:left}
.tme-auth-lead{margin:0 0 28px;color:var(--a-muted);font-size:15px}
.tme-auth-social{margin-bottom:8px}
.tme-auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0 20px;color:var(--a-muted);font-size:13px}
.tme-auth-divider::before,.tme-auth-divider::after{content:"";flex:1;height:1px;background:var(--a-line)}
.tme-auth-card form{display:grid;grid-template-columns:1fr auto;gap:0 12px;margin:0}
.tme-auth-card form>*{grid-column:1/-1}
.tme-auth-card form>p{margin:0 0 18px;display:grid;gap:8px}
.tme-auth-card label{font:600 14px/1.4 var(--tm-font);color:var(--a-navy)}
.tme-auth-card input:not([type=checkbox]):not([type=submit]){min-height:50px !important;padding:12px 14px !important;border:1.5px solid #C5D2D6 !important;border-radius:10px !important;background:#fff;font-size:16px;transition:border-color .15s,box-shadow .15s}
.tme-auth-card input:not([type=checkbox]):not([type=submit]):hover{border-color:#9DB3B8 !important}
.tme-auth-card input:not([type=checkbox]):not([type=submit]):focus{outline:0;border-color:var(--a-teal-text) !important;box-shadow:0 0 0 4px rgb(56 156 148 / 18%)}
.tme-auth-card .login-remember{grid-column:1;margin-bottom:22px}
.tme-auth-card .login-remember label{display:inline-flex;align-items:center;gap:10px;font-weight:500;color:var(--a-muted);cursor:pointer;min-height:44px}
.tme-auth-card input[type=checkbox]{width:18px;height:18px;accent-color:var(--a-teal-text)}
.tme-auth-card .tme-auth-forgot{grid-column:2;grid-row:3;align-self:center;margin:0 0 22px}
.tme-auth-card .tme-auth-forgot a,.tme-auth-switch a{color:var(--a-teal-text);font-weight:700;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.tme-auth-card .tme-auth-forgot a:hover,.tme-auth-switch a:hover{text-decoration:underline;text-underline-offset:4px}
.tme-auth-card .login-submit{margin:0}
html body .tme-auth-card :is(#wp-submit,.tme-form button[type=submit],.tme-form>button){width:100%;min-height:52px !important;font-size:16px !important;border-radius:10px !important;position:relative;overflow:hidden}
.tme-auth-switch{margin:24px 0 0;padding-top:20px;border-top:1px solid var(--a-line);color:var(--a-muted);font-size:14px;text-align:center}
.tme-auth-card .tme-form{max-width:none;gap:18px}
.tme-auth-card .tme-form label:has(>input[type=checkbox]){font-weight:500;color:var(--a-muted);font-size:14px}
.tme-auth-card #tme-password-hint{color:var(--a-muted);font-size:13px}
/* Show/hide password as a quiet text button inside the field. */
.tme-auth-card .tme-password-wrap{position:relative;display:block}
.tme-auth-card .tme-password-wrap>input{width:100% !important;padding-right:92px !important}
html body .tme-auth-shell .tme-auth-card .tme-password-wrap .tme-password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);min-height:36px !important;max-width:none;padding:4px 10px !important;
 border:0 !important;border-radius:8px !important;background:transparent !important;color:var(--a-teal-text) !important;font-size:13px !important;font-weight:700 !important}
html body .tme-auth-shell .tme-auth-card .tme-password-wrap .tme-password-toggle:hover{background:var(--a-soft) !important;color:var(--a-navy) !important}
.tme-auth-card .tme-feedback,.tme-auth-card .tme-form-errors{margin:0 0 20px;border-radius:8px}

/* Auth motion. */
html:not(.tm-motion-calm) .tme-auth-shell{animation:tme-rise .6s cubic-bezier(.2,.8,.2,1) both}
html:not(.tm-motion-calm) .tme-auth-aside>*{animation:tme-rise .6s cubic-bezier(.2,.8,.2,1) both}
html:not(.tm-motion-calm) .tme-auth-aside>:nth-child(2){animation-delay:.06s}
html:not(.tm-motion-calm) .tme-auth-aside>:nth-child(3){animation-delay:.12s}
html:not(.tm-motion-calm) .tme-auth-aside>:nth-child(4){animation-delay:.18s}
html:not(.tm-motion-calm) .tme-auth-aside>:nth-child(5){animation-delay:.24s}
/* One loop per screen: the header owl already loops, so this owl only hops in once. */
html:not(.tm-motion-calm) .tme-auth-owl{animation:tme-hop .9s cubic-bezier(.34,1.45,.64,1) .1s both}
html:not(.tm-motion-calm) .tme-auth-card :is(#wp-submit,.tme-form>button):hover{box-shadow:0 10px 24px rgb(7 17 71 / 25%)}
@keyframes tme-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes tme-hop{0%{opacity:0;transform:translateY(18px) scale(.9)}60%{opacity:1;transform:translateY(-6px) scale(1.02)}100%{transform:none}}

@media(max-width:860px){
 .tme-auth-shell{grid-template-columns:1fr;border-radius:18px;margin-inline:0}
 .tme-auth-aside{padding:28px 24px}
 .tme-auth-owl{width:56px;margin-bottom:16px}
 .tme-auth-aside>p{margin-bottom:18px}
 .tme-auth-points{gap:10px}
 /* On phones the form comes first; the reasons follow. */
 .tme-auth-card{order:-1}
}
@media(max-width:480px){
 .tme-auth-card form{grid-template-columns:1fr}
 .tme-auth-card .tme-auth-forgot{grid-column:1;grid-row:auto;margin:-12px 0 12px}
}

/* ---------- Member dashboard ---------- */
main:has(.tme-dash) :is(.tm-page-title,.wp-block-post-title){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tme-member-dashboard.tme-dash{padding:clamp(8px,2vw,24px) 0 48px;color:var(--a-navy)}
.tme-dash-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:clamp(24px,3.5vw,40px);border-radius:20px;color:#C3CCE4;
 background:radial-gradient(70% 120% at 100% 0%,rgb(56 156 148 / 50%),transparent 60%),var(--a-navy)}
.tme-dash-hero::after{content:"";position:absolute;right:-40px;bottom:-60px;width:220px;height:220px;border-radius:50%;border:1px solid rgb(255 255 255 / 10%);box-shadow:0 0 0 30px rgb(255 255 255 / 3%),0 0 0 60px rgb(255 255 255 / 2%);z-index:-1}
.tme-dash-avatar{flex:none;width:68px;height:68px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 3px #fff,0 0 0 7px rgb(56 156 148 / 45%)}
.tme-dash-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.tme-dash-hello{flex:1;min-width:220px}
.tme-dash-hello p{margin:0;font-size:14px}
.tme-dash-hello .tme-dash-kicker{color:var(--a-mint);font:700 12px/1.5 var(--tm-font);letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.tme-dash-hello h2{margin:0 0 4px !important;color:#fff !important;font:700 var(--tm-fs-h2,28px)/1.2 var(--tm-font) !important;letter-spacing:-.02em}
.tme-dash-actions{display:flex;gap:10px;flex-wrap:wrap}
html body .tme-dash .tme-dash-hero .tme-dash-actions a.tme-dash-primary{background:#fff !important;border-color:#fff !important;color:var(--a-navy) !important}
html body .tme-dash .tme-dash-hero .tme-dash-actions a.tme-dash-primary:hover{background:var(--a-teal-text) !important;border-color:var(--a-teal-text) !important;color:#fff !important}
html body .tme-dash .tme-dash-hero .tme-dash-actions a.tme-dash-ghost{background:transparent !important;border-color:rgb(255 255 255 / 35%) !important;color:#fff !important}
html body .tme-dash .tme-dash-hero .tme-dash-actions a.tme-dash-ghost:hover{background:rgb(255 255 255 / 10%) !important;border-color:#fff !important}

.tme-dash-stats{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tme-dash-stats li{margin:0;display:flex;min-width:0}
.tme-dash-stats li>.tme-dash-stat{width:100%;height:100%}
.tme-dash-stat{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:16px;background:#fff;border:1px solid var(--a-line);color:var(--a-navy);text-decoration:none;min-height:88px;box-sizing:border-box;transition:border-color .2s,box-shadow .2s,transform .2s cubic-bezier(.2,.8,.2,1)}
.tme-dash-stat:hover{border-color:var(--a-teal);box-shadow:0 12px 28px rgb(7 17 71 / 8%)}
.tme-dash-stat[aria-current]{border-color:var(--a-teal);box-shadow:inset 0 0 0 1px var(--a-teal)}
.tme-dash-stat-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--a-soft);color:var(--a-teal-text)}
.tme-dash-stat-icon svg{width:22px;height:22px}
.tme-dash-stat--pending .tme-dash-stat-icon{background:#FFF4DB;color:#8A5A12}
.tme-dash-stat--draft .tme-dash-stat-icon{background:#EEF1F6;color:#4A5568}
.tme-dash-stat--saved .tme-dash-stat-icon{background:#FDECEF;color:#B4234A}
.tme-dash-stat b{display:block;font:800 26px/1.1 var(--tm-font);letter-spacing:-.02em}
.tme-dash-stat>span:not(.tme-dash-stat-icon){min-width:0}
.tme-dash-stat>span:not(.tme-dash-stat-icon)>span{display:block;font-size:13px;color:var(--a-muted);margin-top:2px}

.tme-dash-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;margin-top:28px;align-items:start}
.tme-dash-main{min-width:0}
.tme-dash .tme-section-heading{margin:0 0 4px}
.tme-dash .tme-section-heading h2{font-size:22px !important;margin:0 !important}
.tme-dash .tme-view-tabs{margin:16px 0 20px;border:0;gap:6px;padding:4px;background:var(--a-bg);border-radius:12px;width:fit-content;max-width:100%}
.tme-dash .tme-view-tabs a{border:0;border-radius:9px;padding:9px 14px;min-height:40px;display:inline-flex;align-items:center;gap:8px;color:var(--a-muted)}
.tme-dash .tme-view-tabs a[aria-current]{background:#fff;color:var(--a-navy);box-shadow:0 2px 8px rgb(7 17 71 / 8%)}
.tme-dash .tme-view-tabs em{font-style:normal;font-size:12px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;display:inline-grid;place-items:center;color:var(--a-muted)}
.tme-dash .tme-view-tabs a[aria-current] em{background:var(--a-soft);color:var(--a-teal-text)}
.tme-dash .tme-member-grid{grid-template-columns:1fr;gap:16px}
.tme-dash .tme-member-card{padding:18px;border-radius:16px;border-color:var(--a-line);transition:border-color .2s,box-shadow .2s,transform .2s cubic-bezier(.2,.8,.2,1)}
.tme-dash .tme-member-card:hover{border-color:#B8D3CF;box-shadow:0 14px 30px rgb(7 17 71 / 8%)}
.tme-dash .tme-member-card>img{width:72px;height:72px;border-radius:14px}
.tme-dash .tme-member-card h3{font-size:17px !important;margin:0 0 8px !important}
.tme-member-noimg{flex:none;display:grid;place-items:center;width:72px;height:72px;border-radius:14px;background:var(--a-soft);color:var(--a-teal-text);font:800 24px/1 var(--tm-font)}
.tme-card-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.tme-dash .tme-member-favorites{border-top:0;margin-top:36px;padding-top:0}
.tme-dash .tme-member-favorites>h2{font-size:22px !important;margin:0 0 16px !important}
.tme-dash .tme-empty{border-radius:16px;text-align:left}

.tme-dash-side{display:grid;gap:16px;position:sticky;top:96px}
.tme-dash-panel{padding:20px;border-radius:16px;background:#fff;border:1px solid var(--a-line)}
.tme-dash-panel h3{margin:0 0 12px !important;font-size:16px !important;color:var(--a-navy)}
.tme-dash-panel dl{margin:0;display:grid;gap:10px;font-size:14px}
.tme-dash-panel dt{color:var(--a-muted);font-size:12px}
.tme-dash-panel dd{margin:0;color:var(--a-navy);font-weight:600;overflow-wrap:anywhere}
.tme-dash-links{list-style:none;margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--a-line);display:grid;gap:2px}
.tme-dash-links li{margin:0}
.tme-dash-links a{display:flex;align-items:center;justify-content:space-between;min-height:40px;color:var(--a-navy);font-size:14px;font-weight:600;text-decoration:none;border-radius:8px;padding:0 8px;margin:0 -8px}
.tme-dash-links a::after{content:"→";color:var(--a-muted);transition:transform .2s}
.tme-dash-links a:hover{background:var(--a-bg)}
.tme-dash-checklist{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tme-dash-checklist li{position:relative;margin:0;padding-left:30px;font-size:14px;line-height:1.5;color:var(--a-muted)}
.tme-dash-checklist li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--a-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6B66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;pointer-events:none}
.tme-dash-panel--help{background:linear-gradient(135deg,var(--a-soft),#fff)}
.tme-dash-panel--help p{margin:0 0 12px;font-size:14px;color:var(--a-muted)}
.tme-dash-panel--help a{color:var(--a-teal-text);font-weight:700}

/* Dashboard motion. */
html:not(.tm-motion-calm) .tme-dash-hero,html:not(.tm-motion-calm) .tme-dash-stats li{animation:tme-rise .55s cubic-bezier(.2,.8,.2,1) both}
html:not(.tm-motion-calm) .tme-dash-stats li:nth-child(2){animation-delay:.06s}
html:not(.tm-motion-calm) .tme-dash-stats li:nth-child(3){animation-delay:.12s}
html:not(.tm-motion-calm) .tme-dash-stats li:nth-child(4){animation-delay:.18s}
html:not(.tm-motion-calm) .tme-dash-stat:hover,html:not(.tm-motion-calm) .tme-dash .tme-member-card:hover{transform:translateY(-2px)}
html:not(.tm-motion-calm) .tme-dash-links a:hover::after{transform:translateX(3px)}

@media(max-width:900px){
 .tme-dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1024px){
 .tme-dash-layout{grid-template-columns:1fr}
 .tme-dash-side{position:static;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
}
@media(max-width:760px){
 .tme-dash-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tme-dash-stat{padding:14px;gap:10px;min-height:76px}
 .tme-dash-stat-icon{width:38px;height:38px}
 .tme-dash-stat b{font-size:22px}
 .tme-dash .tme-member-grid{grid-template-columns:1fr}
 .tme-dash-actions{width:100%}
 .tme-dash-actions a{flex:1}
 .tme-dash .tme-view-tabs{width:100%;overflow-x:auto}
}

/* Content typography rules (brand.css: .entry-content p/li) paint text #363636; dark panels keep light text. */
html body .tme-auth-shell .tme-auth-aside :is(p,li){color:#C3CCE4}
html body .tme-auth-shell .tme-auth-aside .tme-auth-points li{color:#fff}
html body .tme-auth-shell .tme-auth-aside .tme-auth-eyebrow{color:var(--a-mint)}
html body .tme-dash .tme-dash-hero p{color:#C3CCE4}
html body .tme-dash .tme-dash-hero .tme-dash-kicker{color:var(--a-mint)}

/* Content link underline (brand.css) is for prose; dashboard controls are not prose. */
html body .tme-dash :is(.tme-view-tabs a,.tme-dash-stat,.tme-member-card h3 a,.tme-dash-links a,.tme-dash-actions a){text-decoration:none}
html body .tme-dash .tme-member-card h3 a:hover{color:var(--a-teal-text);text-decoration:underline;text-underline-offset:3px}
html body .tme-dash .tme-text-link{text-decoration:none;color:var(--a-teal-text);font-weight:700;font-size:14px;display:inline-flex;align-items:center;min-height:40px}
html body .tme-dash .tme-text-link:hover{text-decoration:underline;text-underline-offset:4px}
html body .tme-dash .tme-member-card h3 a{color:var(--a-navy)}

/* The classic editor has its own toolbar sizing; don't apply site CTA styles to it. */
.tme-description-field{min-width:0}
.tme-description-field>label{display:block;margin-bottom:8px}
.tme-description-field .wp-editor-wrap{width:100%;min-width:0}
.tme-description-field iframe{min-height:240px;max-width:100%}
.tme-description-field .mce-toolbar-grp .mce-container-body{white-space:normal}
html body .tme-panel .tme-form .tme-description-field .mce-btn button{background:transparent!important;color:#071147!important;border:0!important;border-radius:0!important;min-height:36px!important;min-width:36px;padding:4px!important;box-shadow:none!important;transform:none!important}
html body .tme-panel .tme-form .tme-description-field .mce-btn button::before{display:none!important}
.tme-description-field [role=alert]{color:#a12020;font-weight:600}

/* ---------- Create / edit tutor profile (2026-10-20) ---------- */
main:has(.tme-create) :is(.tm-page-title,.wp-block-post-title){display:none}
main:has(.tme-create){background:linear-gradient(180deg,#F6F8FB,#fff 60%)}
.tme-create{--a-navy:#071147;--a-teal-text:#07796C;--a-line:#DCE6E8;--a-muted:var(--tm-muted,#5F5F5F);max-width:none;margin:0 auto}
.tme-create-head{margin:0 0 clamp(20px,3vw,32px)}
.tme-create-kicker{display:inline-flex;margin:0 0 10px;padding:4px 12px;border-radius:999px;background:#EEF8F6;border:1px solid #BFE3DD;color:var(--a-teal-text);font:700 12px/1.5 var(--tm-font);letter-spacing:.06em;text-transform:uppercase}
.tme-create-head h1{margin:0 0 8px;color:var(--a-navy);font:700 var(--tm-fs-h1,36px)/1.2 var(--tm-font);letter-spacing:-.02em}
.tme-create-head>p:last-child{margin:0;max-width:60ch;color:var(--a-muted);font-size:16px;line-height:1.7}
.tme-create-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(20px,3vw,32px);align-items:start}
.tme-create-main.tme-panel{margin:0;padding:clamp(20px,3.2vw,36px);border-radius:20px;border-color:var(--a-line);box-shadow:0 12px 40px rgb(7 17 71 / 6%)}
.tme-create .tme-form{max-width:none;gap:0}
.tme-create .tme-form .tme-create-step{display:grid;gap:18px;padding:0 0 28px;margin:0 0 28px;border:0;border-bottom:1px solid var(--a-line)}
.tme-create-step>legend{display:flex;align-items:flex-start;gap:14px;float:left;width:100%;margin:0 0 18px;padding:0;font-size:inherit}
.tme-create-step>legend+*{clear:both}
.tme-create-step>legend>span:last-child{display:grid;gap:2px}
.tme-create-step>legend b{color:var(--a-navy);font:700 20px/1.3 var(--tm-font)}
.tme-create-step>legend small{color:var(--a-muted);font:400 14px/1.5 var(--tm-font)}
.tme-create-num{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--a-navy);color:#fff;font:700 15px/1 var(--tm-font)}
.tme-create-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tme-create .tme-form label{font-size:14px;color:var(--a-navy)}
.tme-create .tme-form :is(input:not([type=checkbox]),select){min-height:48px;border-color:#6B7C8C;border-radius:10px;transition:border-color .15s,box-shadow .15s}
.tme-create .tme-form :is(input:not([type=checkbox]),select):hover{border-color:var(--a-navy)}
.tme-create .tme-form :is(input:not([type=checkbox]),select):focus{border-color:var(--a-teal-text);box-shadow:0 0 0 3px rgb(7 121 108 / 18%);outline:0}
.tme-create .tme-description-field>label{font-weight:600;font-size:14px}
.tme-create .wp-editor-container{border:1px solid #6B7C8C;border-radius:10px;overflow:hidden}
.tme-create .tme-description-field .mce-panel{border-color:transparent}

/* Checklists replace the native multi-selects */
.tme-checklist{display:grid;align-content:start;gap:10px;min-width:0;margin:0;padding:0;border:0}
.tme-checklist>legend{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;margin:0 0 8px;color:var(--a-navy);font:600 14px/1.4 var(--tm-font);float:left}
.tme-checklist>legend+*{clear:both}
.tme-checklist-count:not(:empty){min-width:24px;padding:1px 8px;border-radius:999px;background:var(--a-teal-text);color:#fff;font:700 12px/20px var(--tm-font);text-align:center}
.tme-checklist-filter{min-height:44px !important}
.tme-checklist-box{max-height:244px;overflow:auto;border:1px solid #6B7C8C;border-radius:10px;padding:6px;background:#fff;display:grid;gap:2px;align-content:start;scrollbar-width:thin}
.tme-checklist-box:focus-within{border-color:var(--a-teal-text);box-shadow:0 0 0 3px rgb(7 121 108 / 18%)}
.tme-create .tme-form .tme-check{display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 10px;border-radius:8px;font-weight:500;font-size:15px;line-height:1.4;cursor:pointer}
.tme-check:hover{background:#F1F6F7}
.tme-check:has(input:checked){background:#EEF8F6;color:#075b53;font-weight:600}
.tme-check input{flex:none;width:18px !important;height:18px !important;min-height:18px !important;margin:0}
.tme-check[hidden]{display:none !important}
.tme-checklist-empty{margin:8px;color:var(--a-muted);font-size:14px}

.tme-create .tme-form .tme-create-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.tme-create-actions button{min-width:220px;min-height:52px;font-size:16px;border-radius:10px}
.tme-create-actions p{margin:0;color:var(--a-muted);font-size:14px;flex:1 1 220px}

/* Guidance column */
.tme-create-aside{position:sticky;top:112px;padding:clamp(22px,3vw,32px);border-radius:20px;color:#C3CCE4;background:radial-gradient(120% 80% at 100% 0%,rgb(56 156 148 / 40%),transparent 60%),var(--a-navy)}
.tme-create-aside h2,.tme-create-aside h3{margin:0 0 16px;color:#fff !important;font:700 20px/1.3 var(--tm-font) !important;letter-spacing:-.01em}
.tme-create-aside h3{margin-top:28px;font-size:16px !important;padding-top:24px;border-top:1px solid rgb(255 255 255 / 14%)}
.tme-create-steps{list-style:none;margin:0;padding:0;display:grid;gap:16px;counter-reset:s}
.tme-create-steps li{position:relative;display:grid;gap:2px;padding-left:42px;counter-increment:s;font-size:14px;line-height:1.55}
.tme-create-steps li::before{content:counter(s);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:rgb(56 156 148 / 35%);color:#62DECD;font:800 13px/28px var(--tm-font);text-align:center}
.tme-create-steps b{color:#fff;font-size:15px}
.tme-create-aside .tme-create-steps span,.tme-create-aside li{color:#D5DCEE}
.tme-create-aside .tme-create-steps b{color:#fff}
.tme-create-aside ul{margin:0;padding:0 0 0 18px;display:grid;gap:10px;font-size:14px;line-height:1.6}
.tme-create-aside li::marker{color:#62DECD}

@media(max-width:960px){.tme-create-grid{grid-template-columns:1fr}.tme-create-aside{position:static;order:2}}
@media(max-width:600px){.tme-create-cols{grid-template-columns:1fr}.tme-create-actions button{width:100%}.tme-create-step>legend b{font-size:18px}}

/* Signed-out notice */
.tme-login-notice{max-width:520px;margin:clamp(24px,6vw,64px) auto;text-align:center;border-radius:20px;border-color:var(--a-line,#DCE6E8);box-shadow:0 12px 40px rgb(7 17 71 / 6%);display:grid;justify-items:center;gap:14px;padding:clamp(28px,5vw,48px)}
.tme-login-notice::before{content:"";width:56px;height:56px;border-radius:50%;background:#EEF8F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307796C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/26px no-repeat}
.tme-login-notice p{margin:0 0 6px;font-size:17px;font-weight:600;color:#071147}
.tme-login-notice .tme-button{min-width:200px;text-align:center}
.tme-login-notice a:not(.tme-button){font-weight:600;font-size:15px;color:#07796C;text-underline-offset:3px}
main:has(.tme-login-notice) :is(.tm-page-title,.wp-block-post-title){text-align:center}
html body .tme-create-aside :is(li,span){color:#D5DCEE}html body .tme-create-aside b{color:#fff}
.tme-checklist>legend{min-height:24px}
html body .tme-create .tme-create-actions button{min-width:240px;min-height:52px !important;font-size:16px !important;border-radius:10px !important}@media(max-width:600px){html body .tme-create .tme-create-actions button{width:100%}}

/* Log-in / register reasons: each line (text + tick) brightens in turn, top to bottom, then all rest 2s and the cycle repeats.
 * Colour/opacity only — no background, no movement — so it also runs when the OS asks for reduced motion;
 * it stops only when the visitor turns the footer "Motion" switch off (html[data-motion=off]).
 * Timing: 3 × 1.4s highlight + 2s pause = 6.2s cycle. */
html:not([data-motion=off]) .tme-auth-aside .tme-auth-points li{animation:tme-point 6.2s ease-in-out .9s infinite both}
html:not([data-motion=off]) .tme-auth-aside .tme-auth-points li::before{animation:tme-point-mark 6.2s ease-in-out .9s infinite both}
html:not([data-motion=off]) .tme-auth-aside .tme-auth-points li:nth-child(2),
html:not([data-motion=off]) .tme-auth-aside .tme-auth-points li:nth-child(2)::before{animation-delay:2.3s}
html:not([data-motion=off]) .tme-auth-aside .tme-auth-points li:nth-child(3),
html:not([data-motion=off]) .tme-auth-aside .tme-auth-points li:nth-child(3)::before{animation-delay:3.7s}
@keyframes tme-point{
 0%,22.6%,100%{color:rgb(255 255 255 / 55%);text-shadow:none}
 4%,19%{color:#fff;text-shadow:0 0 18px rgb(98 222 205 / 55%)}
}
@keyframes tme-point-mark{
 0%,22.6%,100%{opacity:.55;color:#62DECD;background-color:rgb(56 156 148 / 35%)}
 4%,19%{opacity:1;color:#fff;background-color:rgb(56 156 148 / 95%)}
}

/* ---------- Auth owl companion (assets/auth-owl.js) ---------- */
.ao-wrap{position:relative;display:flex;align-items:flex-end;gap:14px;margin-bottom:28px;min-height:96px}
.ao-wrap .tme-auth-owl{margin:0;width:88px;overflow:visible;transform-origin:50% 100%;transition:transform .25s ease-out}
.ao-stage{flex:none;transform-origin:50% 100%;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ao-bubble{position:relative;margin:0 0 34px !important;max-width:min(260px,100%) !important;padding:9px 14px;border-radius:14px 14px 14px 4px;background:#fff;color:var(--a-navy) !important;font:600 13.5px/1.45 var(--tm-font) !important;box-shadow:0 8px 24px rgb(0 0 0 / 22%);opacity:0;transform:translateY(6px) scale(.92);transform-origin:0 100%;transition:opacity .22s ease,transform .3s cubic-bezier(.34,1.56,.64,1);pointer-events:none}
.ao-bubble::before{content:"";position:absolute;left:-8px;bottom:0;width:10px;height:10px;background:#fff;clip-path:polygon(100% 0,100% 100%,0 100%)}
.ao-bubble.is-on{opacity:1;transform:none}
.ao-wrap .ao-pupil,.ao-wrap .ao-light{transition:transform .12s linear}
.ao-wrap .ao-eyes,.ao-wrap .ao-pupil,.ao-wrap .ao-light{transform-box:fill-box;transform-origin:center}
.ao-wrap .ao-wing-l,.ao-wrap .ao-wing-r,.ao-wrap .ao-foot-l,.ao-wrap .ao-foot-r,.ao-wrap .ao-cheeks{transform-box:fill-box}
.ao-wrap .ao-wing-l{transform-origin:right top}
.ao-wrap .ao-wing-r{transform-origin:left top}
.ao-wrap .ao-wing-l,.ao-wrap .ao-wing-r{transition:transform .35s cubic-bezier(.34,1.4,.64,1)}
.ao-wrap .ao-cheeks .cheek{transition:opacity .25s}

/* Blink: squash the eyes for a moment. */
.ao-wrap .is-blink .ao-pupil,.ao-wrap .is-blink .ao-light{transform:scaleY(.12) !important}

/* Covering eyes while a password is typed (wings lift to the eyes); is-peek leaves a gap. */
.ao-wrap .is-cover .ao-wing-l,.ao-wrap .is-cover .ao-wing-r{transform-origin:center}
.ao-wrap .is-cover .ao-wing-l{transform:translate(84px,-96px) rotate(-100deg)}
.ao-wrap .is-cover .ao-wing-r{transform:translate(-84px,-96px) rotate(100deg)}
.ao-wrap .is-cover.is-peek .ao-wing-l{transform:translate(70px,-124px) rotate(-120deg)}
.ao-wrap .is-cover.is-peek .ao-wing-r{transform:translate(-70px,-124px) rotate(120deg)}
.ao-wrap .is-cover .ao-pupil,.ao-wrap .is-cover .ao-light{transform:translate(0,4px) !important}

/* Moods */
.ao-wrap [data-mood=smile] .cheek,.ao-wrap [data-mood=oo] .cheek{opacity:.9}
.ao-wrap [data-mood=oo] .ao-pupil{transform-box:fill-box;transform:scale(.7) !important}
.ao-wrap [data-mood=sad]{filter:saturate(.8)}
.ao-wrap [data-mood=sad] .ao-cap{transform-box:fill-box;transform-origin:center;transform:translateY(5px) rotate(-3deg)}

/* Acts (on the stage, so they combine with the head tilt on the svg) */
@keyframes aoHop{0%{transform:scale(1,1)}22%{transform:scale(1.1,.86)}60%{transform:translateY(-22px) scale(.95,1.07)}100%{transform:none}}
@keyframes aoShake{0%,100%{transform:none}20%{transform:translateX(-7px) rotate(-6deg)}45%{transform:translateX(7px) rotate(6deg)}70%{transform:translateX(-4px) rotate(-3deg)}}
@keyframes aoNod{0%,100%{transform:none}40%{transform:translateY(5px) scale(1.03,.96)}}
@keyframes aoDance{0%,100%{transform:rotate(0)}20%{transform:rotate(-8deg) translateY(-5px)}40%{transform:rotate(8deg) translateY(-1px)}60%{transform:rotate(-8deg) translateY(-5px)}80%{transform:rotate(8deg)}}
@keyframes aoTilt{0%,100%{transform:none}30%,70%{transform:rotate(-10deg) translateX(-2px)}}
@keyframes aoDizzy{0%,100%{transform:none}15%{transform:rotate(-14deg)}35%{transform:rotate(12deg)}55%{transform:rotate(-10deg)}75%{transform:rotate(7deg)}}
@keyframes aoTalk{0%,100%{transform:none}25%{transform:translateY(-3px)}50%{transform:none}75%{transform:translateY(-3px)}}
@keyframes aoFlapL{0%,100%{transform:rotate(0)}50%{transform:rotate(48deg) translateX(-3px)}}
@keyframes aoFlapR{0%,100%{transform:rotate(0)}50%{transform:rotate(-48deg) translateX(3px)}}
@keyframes aoWave{0%,100%{transform:rotate(-70deg) translateX(3px)}50%{transform:rotate(-25deg) translateX(3px)}}
.ao-stage[data-act=hop]{animation:aoHop .65s ease-out}
.ao-stage[data-act=shake]{animation:aoShake .55s ease-in-out}
.ao-stage[data-act=nod]{animation:aoNod .6s ease-in-out}
.ao-stage[data-act=dance]{animation:aoDance .6s ease-in-out 3}
.ao-stage[data-act=tilt]{animation:aoTilt 1.2s ease-in-out}
.ao-stage[data-act=dizzy]{animation:aoDizzy .5s ease-in-out 3}
.ao-stage[data-act=talk]{animation:aoTalk .7s ease-in-out 4}
.ao-stage[data-act=flap] .ao-wing-l{animation:aoFlapL .22s ease-in-out 5}
.ao-stage[data-act=flap] .ao-wing-r{animation:aoFlapR .22s ease-in-out 5}
.ao-stage[data-act=wave] .ao-wing-r{animation:aoWave .4s ease-in-out 3}
.ao-stage[data-act=dance] .ao-wing-l{animation:aoFlapL .3s ease-in-out 5}
.ao-stage[data-act=dance] .ao-wing-r{animation:aoFlapR .3s ease-in-out 5}
.ao-stage[data-act=talk] .ao-wing-r{animation:aoFlapR .5s ease-in-out 3}

@media (max-width:640px){.ao-wrap{min-height:84px}.ao-wrap .tme-auth-owl{width:72px}.ao-bubble{margin-bottom:26px !important;max-width:min(220px,100%) !important}}
html.tm-motion-calm .ao-wrap *,html[data-motion=off] .ao-wrap *{animation:none !important;transition:none !important}
@media print{.ao-bubble{display:none}}

@media(max-width:767px){.tme-create .tme-form :is(input:not([type=checkbox]),select){font-size:16px}}
.tme-dash-checklist li::before{background:var(--a-soft) !important;background-image:none !important}.tme-dash-checklist li::after{content:"";position:absolute;left:7px;top:8px;width:6px;height:6px;border-radius:50%;background:#0F6B66}
.tme-dash a[href^="tel:"]{white-space:nowrap}

.tme-req{color:#B4234A;font-weight:700}
.tme-required-note{margin:0 0 18px;font-size:14px;color:var(--a-muted)}
.tme-field-error{margin:6px 0 0;color:#A12020;font-size:14px;font-weight:600;line-height:1.4}
.tme-create .tme-form [aria-invalid="true"]{border-color:#A12020;box-shadow:0 0 0 3px rgb(161 32 32 / 14%)}
.tme-create .tme-form .tme-checklist-filter:focus-visible,.tme-create .tme-form :is(input:not([type=checkbox]),select):focus-visible{outline:3px solid #0F6B66;outline-offset:2px}
@media(max-width:600px){.tme-dash .tme-view-tabs{padding-right:36px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}}
