/* Match the approved phone boards: compact cards, restrained type, edge dock. */
body.premium-app[data-premium-view]{background:#fbf9f3;color:#102f27;font-size:.875rem;line-height:1.4;--ink:#102f27;--muted:#52605b;--line:#e4e3dc}
body.premium-app[data-premium-view] :is(p,blockquote,.small,.account-note,.ai-data-note,.ai-session-privacy){font-size:.875rem!important;line-height:1.45;font-weight:400}
body.premium-app[data-premium-view] :is(input,select,textarea){font-size:1rem!important;line-height:1.4}
body.premium-app[data-premium-view] :is(button,.button){font-size:.875rem;line-height:1.3;font-weight:500}
body.premium-app[data-premium-view] :is(h1,h2,h3,h4){font-family:Georgia,'Times New Roman',serif!important;line-height:1.12;letter-spacing:-.035em;font-weight:500!important}
body.premium-app[data-premium-view] h1{font-size:2rem;margin:0 0 8px}body.premium-app[data-premium-view] h2{font-size:1.4rem;margin:0 0 12px}body.premium-app[data-premium-view] h3{font-size:1.1rem}
body.premium-app[data-premium-view] #main{max-width:1080px;padding:20px 20px calc(var(--shell-dock-height,64px) + 22px)}
body.premium-app[data-premium-view] .premium-masthead{min-height:36px;margin:0 0 24px;flex-wrap:nowrap;gap:8px}
body.premium-app[data-premium-view] .premium-brand{font-size:1.13rem;gap:7px;font-weight:600;letter-spacing:-.025em}
body.premium-app[data-premium-view] .premium-brand img{width:29px;height:29px;border-radius:7px}
body.premium-app[data-premium-view] .premium-header-actions{gap:7px}
body.premium-app[data-premium-view] .shell-more>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:36px;height:36px;min-height:36px;padding:5px!important;border:0;background:transparent;color:inherit;border-radius:50%}
body.premium-app[data-premium-view] .shell-more>summary::after,body.premium-app[data-premium-view] .shell-more>summary::-webkit-details-marker{display:none;content:none}
body.premium-app[data-premium-view] .shell-more>summary svg{width:25px;height:25px}
body.premium-app[data-premium-view] .hub-weather{min-height:36px!important;border-radius:15px!important;padding:6px 10px!important;background:#e8f0d8!important;color:#14392c!important;max-width:145px!important;gap:4px;font-weight:500}
body.premium-app[data-premium-view] .hub-weather [data-today-brief],body.premium-app[data-premium-view] .hub-weather .temperature-value{font:500 .78rem/1.3 Arial,sans-serif!important}
body.premium-app[data-premium-view] .hub-weather:before{font-size:.9rem}
body.premium-app[data-premium-view] .premium-title{margin-bottom:7px}
body.premium-app[data-premium-view] .hub-purpose{font-size:.95rem!important;line-height:1.35;margin:0 0 22px;color:#34483d}
body.premium-app[data-premium-view] .hub-continue{display:block;border:0;border-radius:16px;background:linear-gradient(110deg,#e8efd9,#e6efd7);padding:18px;margin:0 0 24px}
body.premium-app[data-premium-view] .hub-continue h2{font-size:1.45rem;margin:0 0 7px;max-width:100%}
body.premium-app[data-premium-view] .hub-continue p{font-size:.8rem!important;margin:0;color:#314b3b}
body.premium-app[data-premium-view] .hub-continue button{width:100%;min-height:44px;padding:11px 16px;margin:17px 0 0;border-radius:12px;background:linear-gradient(110deg,#053a2b,#124a37);font-size:.9rem;color:#fff}
body.premium-app[data-premium-view] .hub-continue button svg{width:20px;height:20px}
body.premium-app[data-premium-view] .hub-goals{margin:0 0 12px}
body.premium-app[data-premium-view] .hub-goals h2{font-size:1.5rem;margin:0 0 15px}
body.premium-app[data-premium-view] .hub-goals>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.premium-app[data-premium-view] .hub-goals button{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:90px;padding:14px;border-radius:14px;background:#fffdf9;border:1px solid #eeece5;box-shadow:0 4px 14px #172e2107}
body.premium-app[data-premium-view] .hub-goals button svg{width:26px;height:26px}
body.premium-app[data-premium-view] .hub-goals button strong{font:500 1rem/1.2 Georgia,serif;overflow-wrap:normal;word-break:normal;text-align:left;max-width:100%}
body.premium-app[data-premium-view] .hub-goals button>span{position:absolute;top:18px;right:13px;font-size:.9rem}
body.premium-app[data-premium-view] .hub-coach-card{padding:0;border-radius:14px;background:#fffdf8;border:1px solid #d9dfd3;margin:0 0 16px}
body.premium-app[data-premium-view] .hub-coach-card button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:13px;margin:0;min-height:64px;background:transparent;color:#143c2d;border-radius:14px}
body.premium-app[data-premium-view] .hub-coach-card button>svg:first-child{width:24px;height:24px;background:#e6eed5;padding:8px;box-sizing:content-box;border-radius:12px}
body.premium-app[data-premium-view] .hub-coach-card button>svg:last-child{width:18px;height:18px;margin-left:auto}
body.premium-app[data-premium-view] .hub-coach-card button strong{display:block;font:500 1.1rem/1.2 Georgia,serif;margin-bottom:4px}
body.premium-app[data-premium-view] .hub-coach-card button small{display:block;font-size:.75rem;color:#52605b}
.phone-secondary,.phone-guidance,.phone-library-options{margin:12px 0;border:1px solid #e2e3d9;border-radius:12px;padding:10px 12px}
.phone-secondary>summary,.phone-guidance>summary,.phone-library-options>summary{cursor:pointer;font-size:.78rem;min-height:24px;line-height:24px}
.phone-secondary[open]>:not(summary),.phone-guidance[open]>:not(summary){margin-top:14px}.phone-secondary>.hub-columns{display:block!important}.phone-secondary .hub-side{display:grid;grid-template-columns:1fr!important;gap:18px}
body.premium-app[data-premium-view] .hub-learning-plan{margin:12px 0;padding:10px 12px;border-radius:12px}body.premium-app[data-premium-view] .hub-learning-plan>summary{min-height:24px;font-size:.78rem;font-weight:400;line-height:24px}
body.premium-app[data-premium-view] .hub-footer{font-size:.73rem;gap:12px;padding:16px 0;margin-top:18px}
/* Lessons: heading, search, small filters, four cards, then browse all. */
body.premium-app[data-premium-view=lessons] .hub-search-row{display:flex;margin:22px 0 13px;gap:0}
body.premium-app[data-premium-view=lessons] .hub-search{height:44px;min-height:44px;flex-basis:100%;border-radius:14px;padding:0 13px;background:#fffdfa;border-color:#dedfd8;gap:10px}
body.premium-app[data-premium-view=lessons] .hub-search svg{width:19px;height:19px}body.premium-app[data-premium-view=lessons] .hub-search input{height:42px;padding:6px 0;font-size:.82rem!important}
body.premium-app[data-premium-view=lessons] .phone-library-options{margin:0 0 10px;border:0;padding:0;text-align:right}
body.premium-app[data-premium-view=lessons] .phone-library-options summary{min-height:22px;line-height:22px;font-size:.7rem;display:inline-block;text-decoration:underline;text-underline-offset:3px;color:#52605b}
body.premium-app[data-premium-view=lessons] .phone-library-options .hub-access-filter{display:block;max-width:100%;margin:8px 0;text-align:left}body.premium-app[data-premium-view=lessons] .hub-access-filter select{min-height:40px;width:100%;font-size:.85rem!important}
body.premium-app[data-premium-view=lessons] .hub-filters{margin:0 0 16px;padding:0;gap:7px;scrollbar-width:none}.hub-filters::-webkit-scrollbar{display:none}
body.premium-app[data-premium-view=lessons] .hub-filters button{min-height:38px;padding:8px 15px;border-radius:24px;background:#f3f1e9;border:1px solid #eeece4;font-size:.76rem;font-weight:400}
body.premium-app[data-premium-view=lessons] .hub-filters button[aria-pressed=true]{background:#063b2c;color:#fff;border-color:#063b2c}
body.premium-app[data-premium-view=lessons] .hub-columns{display:block}
body.premium-app[data-premium-view=lessons] #hub-results>.hub-section-heading{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
body.premium-app[data-premium-view=lessons] .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body.premium-app[data-premium-view=lessons] .hub-card{position:relative;min-height:170px;padding:16px 14px 42px;gap:12px;border-radius:15px;background:#fffdfa;border:1px solid #eeece5;box-shadow:0 5px 16px #14372408}
body.premium-app[data-premium-view=lessons] .hub-card>strong{font:500 1.08rem/1.2 Georgia,serif;letter-spacing:-.02em;word-break:normal;overflow-wrap:normal;text-wrap:pretty}
body.premium-app[data-premium-view=lessons] .hub-card-top{display:block;margin:0}body.premium-app[data-premium-view=lessons] .hub-symbol svg{width:27px;height:27px}
body.premium-app[data-premium-view=lessons] .hub-access{position:absolute;right:12px;bottom:13px;font-size:.65rem;padding:5px 8px;border-radius:8px}
body.premium-app[data-premium-view=lessons] .hub-card-bottom{position:absolute;bottom:17px;left:14px;font-size:.65rem;line-height:1.2;padding-right:48px}
body.premium-app[data-premium-view=lessons] .hub-card-bottom>span+span,body.premium-app[data-premium-view=lessons] .hub-card-description{display:none}
body.premium-app[data-premium-view=lessons] .hub-card-link{position:absolute;right:13px;top:18px;font-size:0}body.premium-app[data-premium-view=lessons] .hub-card-link svg{width:16px;height:16px}
body.premium-app[data-premium-view=lessons] .hub-more{min-height:46px;padding:12px;margin:20px 0;border-radius:12px;background:linear-gradient(110deg,#063b2b,#144c37);font-size:.9rem}
body.premium-app[data-premium-view] .hub-topic-practice{padding:10px 13px;margin:0 0 12px;font-size:.8rem;border-radius:11px}
/* Full-width bottom navigation at the screen edge, without oversized pills. */
body.premium-app[data-premium-view] .hub-dock[data-shell-primary]{inset:auto 0 0!important;width:100%!important;max-width:none;min-height:60px;padding:7px max(10px,calc((100vw - 700px)/2)) calc(7px + env(safe-area-inset-bottom))!important;margin:0!important;gap:0!important;border:0;border-top:1px solid #e1e3d9;border-radius:0!important;box-shadow:none;background:#fbf9f3fa;backdrop-filter:blur(16px);overflow-x:auto}
body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn{min-height:44px;padding:4px 2px!important;gap:5px;border-radius:0!important;background:transparent!important;flex:1 0 3.5rem!important;font-size:.64rem!important;color:#53605c!important;box-shadow:none!important}
body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn>span{font-size:.64rem!important;line-height:1.2!important}
body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn.active{color:#063b2c!important;background:transparent!important;font-weight:700!important}body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn.active svg{stroke-width:2.5}
body.premium-app[data-premium-view] .hub-dock svg{width:22px!important;height:22px!important}
body.premium-app[data-premium-view] .luxury-breadcrumb{display:none}body.premium-app[data-premium-view] .page-heading{margin:0 0 17px;padding:0}body.premium-app[data-premium-view] .page-heading p{margin:5px 0 0;font-size:.9rem!important}
/* Compact focused Coach. All chat, privacy and recording handlers stay intact. */
body.premium-focus[data-premium-view]{background:radial-gradient(ellipse at 65% 10%,#124d39 0%,#053627 48%,#082b21 100%)!important;--ink:#fbf9ef!important;--muted:#d1dfd6!important;--line:#51715d!important;color:#fbf9ef!important}
body.premium-focus[data-premium-view] .hub-dock[data-shell-primary]{background:#063b2cf7;border-color:#41624f}body.premium-focus[data-premium-view] .hub-dock[data-shell-primary] .nav-btn{color:#dae9dd!important}body.premium-focus[data-premium-view] .hub-dock[data-shell-primary] .nav-btn.active{color:#fff!important;background:transparent!important}
body.premium-focus[data-premium-view] .page-heading p{color:#e3eee5}
body.premium-app[data-premium-view=practice] .ai-mode-switch{display:flex;flex-wrap:nowrap;width:100%;min-height:40px;padding:3px;gap:3px;border-radius:25px;background:#ffffff16;border:1px solid #68806a;margin:0 0 14px;box-sizing:border-box}
body.premium-app[data-premium-view=practice] .ai-mode-switch button{min-width:0;min-height:34px;font-size:.76rem;padding:6px 8px;border-radius:22px;flex:1;white-space:nowrap}body.premium-app[data-premium-view=practice] #guided-practice-tab{flex:.7}
body.premium-app[data-premium-view=practice] .ai-session{border:0;background:transparent;box-shadow:none;border-radius:16px;overflow:visible}
body.premium-app[data-premium-view=practice] .ai-session>header{background:transparent;color:#f9faee;padding:0 0 10px;align-items:center;gap:8px}body.premium-app[data-premium-view=practice] .ai-session>header h2{display:none}
body.premium-app[data-premium-view=practice] .ai-session>header .eyebrow{font-size:.62rem!important;color:#d7e7d8;margin:0}body.premium-app[data-premium-view=practice] #ai-end{color:#d7e7d8;font-size:.72rem;min-height:28px;padding:3px}
body.premium-app[data-premium-view=practice] .ai-transcript{padding:0;background:transparent;max-height:37dvh;overflow:auto;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
body.premium-app[data-premium-view=practice] .ai-message{margin:0;padding:17px;background:#fffdf5;border:0;border-radius:16px;box-shadow:none;outline:0;color:#133c2d}
body.premium-app[data-premium-view=practice] .ai-message:focus-visible{outline:2px solid #caed84;outline-offset:-3px}body.premium-app[data-premium-view=practice] .ai-message p{font-size:1rem!important;line-height:1.4;font-weight:400;margin:7px 0;font-family:Georgia,serif!important}
body.premium-app[data-premium-view=practice] .ai-message.learner{background:#ffffff16;color:#f5faef;border:1px solid #5d7b62}body.premium-app[data-premium-view=practice] .ai-message :is(button,.button){min-height:30px;padding:5px 9px;font-size:.72rem}
body.premium-app[data-premium-view=practice] .ai-reply-form{padding:17px 0 0;background:transparent;border:0;color:#f5f8ed}body.premium-app[data-premium-view=practice] .ai-reply-form>div{display:flex;flex-direction:column;gap:10px}
body.premium-app[data-premium-view=practice] .ai-reply-form label{font-size:.8rem;color:#e7efdd;margin-bottom:7px}body.premium-app[data-premium-view=practice] .ai-reply-form textarea{min-height:84px;max-height:140px;border:1px solid #70957b;border-radius:13px;padding:13px;width:100%;font-size:.875rem!important}
body.premium-app[data-premium-view=practice] .ai-reply-form button[type=submit],body.premium-focus[data-premium-view] #ai-start{width:100%;min-height:46px;border:0;border-radius:18px;background:linear-gradient(110deg,#ddff94,#c5f57a);color:#12301f;font-size:1rem}
body.premium-app[data-premium-view=practice] .ai-reply-form small{display:block;font-size:.68rem!important;color:#cedcc9;line-height:1.4;margin-top:10px}
body.premium-app[data-premium-view=practice] .ai-start-card,body.premium-app[data-premium-view=practice] .ai-availability{padding:18px;border-radius:16px}body.premium-app[data-premium-view=practice] .ai-start-card h2{font-size:1.35rem}
body.premium-app[data-premium-view=practice] .ai-start-controls{gap:12px;grid-template-columns:1fr;margin:12px 0}body.premium-app[data-premium-view=practice] .ai-start-controls label{font-size:.8rem}body.premium-app[data-premium-view=practice] .ai-start-controls small{font-size:.72rem!important}
body.premium-focus[data-premium-view] .phone-guidance{border-color:#5a765f;color:inherit}body.premium-focus[data-premium-view] .phone-guidance p{color:inherit}body.premium-focus[data-premium-view] .phone-guidance a{color:#e6f5ba}
/* Account and progress use the sample's compact groups, with real account state. */
body.premium-app[data-premium-view=account] .account-layout{max-width:620px}body.premium-app[data-premium-view=account] .account-intro{padding:0;margin:0 0 18px}body.premium-app[data-premium-view=account] .account-intro h1{margin:0}body.premium-app[data-premium-view=account] .account-intro>.eyebrow{display:none}
body.premium-app[data-premium-view=account] .account-card{padding:18px;border-radius:16px;box-shadow:none}body.premium-app[data-premium-view=account] .account-card h2{font-size:1.5rem;margin:0 0 14px}
body.premium-app[data-premium-view=account] #account-form{gap:8px}body.premium-app[data-premium-view=account] #account-form label{font-size:.85rem;margin-top:6px;font-weight:500}body.premium-app[data-premium-view=account] #account-form input{height:44px;min-height:44px;padding:10px 12px;border-radius:12px}
body.premium-app[data-premium-view=account] #account-form button{min-height:44px;padding:11px;margin:8px 0 0;border-radius:12px;background:#083e2c;color:#fff}body.premium-app[data-premium-view=account] .account-card small{font-size:.72rem!important}
body.premium-app[data-premium-view=account] .account-actions{gap:8px;margin:12px 0}body.premium-app[data-premium-view=account] .account-actions button{font-size:.75rem;min-height:32px;padding:6px}
body.premium-app[data-premium-view=account] .premium-settings{margin:18px 0;padding:0;border:0;background:transparent}body.premium-app[data-premium-view=account] .premium-settings h2{font-size:1.2rem;margin:0 0 10px}
body.premium-app[data-premium-view=account] .premium-settings>a,body.premium-app[data-premium-view=account] .premium-settings>button{min-height:46px;padding:12px;background:#fffdf9;border:1px solid #e8e8de;font-size:.84rem;gap:10px}body.premium-app[data-premium-view=account] .premium-settings span{font-size:.72rem}
body.premium-app[data-premium-view=account] .premium-settings>:nth-child(2){border-radius:13px 13px 0 0}body.premium-app[data-premium-view=account] .premium-settings>:last-child{border-radius:0 0 13px 13px}
.phone-identity{display:flex;align-items:center;gap:13px;background:#fffdf8;border:1px solid #e7e7de;border-radius:15px;padding:14px;margin-bottom:18px}.phone-avatar{display:grid;place-items:center;background:#e0ecd3;border-radius:50%;width:48px;height:48px;flex-shrink:0}.phone-avatar svg{width:25px;height:25px}
body.premium-app[data-premium-view=account] .phone-identity .account-email{font-size:.75rem!important;margin:4px 0}body.premium-app[data-premium-view=account] .phone-identity .account-status{padding:0;margin:4px 0;background:none;font-size:.7rem!important}
.phone-membership{padding:12px;margin:12px 0;border:1px solid #e0e4d6;border-radius:12px}.phone-membership>summary{cursor:pointer;font-size:.85rem;min-height:30px}
body.premium-app[data-premium-view=progress] .page-heading h1{font-size:1.75rem}body.premium-app[data-premium-view=progress] .stats{gap:8px;margin:18px 0}body.premium-app[data-premium-view=progress] .stat{padding:16px;border-radius:13px;box-shadow:none;background:#e9f1da}body.premium-app[data-premium-view=progress] .stat strong{font-size:2rem;line-height:1}body.premium-app[data-premium-view=progress] .stat span{font-size:.75rem}
body.premium-app[data-premium-view=progress] .growth-summary{margin:12px 0;font-size:.7rem}body.premium-app[data-premium-view=progress] .growth-summary :is(button,.growth-streak){font-size:.7rem!important;min-height:32px;padding:6px 8px}
body.premium-app[data-premium-view=progress] .progress-row{padding:14px 12px;border:1px solid #e6e8dd;background:#fffdf7;border-radius:12px;margin:8px 0}body.premium-app[data-premium-view=progress] .progress-row strong{font-size:1rem}body.premium-app[data-premium-view=progress] .progress-row .small{font-size:.73rem!important}
body.premium-app[data-premium-view=progress] .premium-word-card{padding:17px;margin:18px 0;background:#e8f0d8;border-radius:15px}body.premium-app[data-premium-view=progress] .premium-word-card .button{display:block;text-align:center;min-height:42px;padding:11px;border-radius:11px;background:#0b422f;color:#fff}
body.premium-app[data-premium-view] #lesson-dialog,body.premium-app[data-premium-view] .film-gallery{padding:20px;border-radius:18px;max-height:calc(100dvh - 20px)}body.premium-app[data-premium-view] #lesson-dialog h2{font-size:1.6rem}body.premium-app[data-premium-view] #lesson-dialog h3{font-size:1.2rem}
body.premium-app[data-premium-view] .film-gallery-top h2{font-size:1.8rem}body.premium-app[data-premium-view] .film-gallery-list{gap:10px;margin:16px 0}body.premium-app[data-premium-view] .film-gallery-list button{padding:0;border-radius:13px;overflow:hidden;min-height:90px}body.premium-app[data-premium-view] .film-gallery-list img{width:110px;min-height:90px;object-fit:cover;align-self:stretch;border-radius:0}
body.premium-app[data-premium-view] .film-gallery-list strong{font-size:1rem;padding-right:8px}body.premium-app[data-premium-view] .film-gallery-list small{font-size:.7rem}body.premium-app[data-premium-view] .film-filters{gap:6px}body.premium-app[data-premium-view] .film-filters button{min-height:36px;font-size:.75rem;padding:8px 11px}
@media(min-width:700px){body.premium-app[data-premium-view] #main{padding:28px 32px 96px}.premium-app[data-premium-view=home] .lesson-hub{max-width:760px;margin:auto}body.premium-app[data-premium-view=lessons] .hub-card{min-height:210px}body.premium-app[data-premium-view] h1{font-size:2.4rem}.premium-app[data-premium-view=home] .hub-goals button{min-height:110px}}
@media(max-width:380px){body.premium-app[data-premium-view] #main{padding:16px 16px calc(var(--shell-dock-height,60px) + 18px)}body.premium-app[data-premium-view] .premium-masthead{margin-bottom:19px}body.premium-app[data-premium-view] h1{font-size:1.85rem}body.premium-app[data-premium-view] .hub-purpose{font-size:.85rem!important;margin-bottom:18px}body.premium-app[data-premium-view] .hub-continue{padding:16px;margin-bottom:21px}body.premium-app[data-premium-view] .hub-continue h2{font-size:1.35rem}body.premium-app[data-premium-view] .hub-goals button{padding:12px;min-height:88px}body.premium-app[data-premium-view] .hub-goals button strong{font-size:.95rem}body.premium-app[data-premium-view=lessons] .hub-card{min-height:164px;padding-inline:12px}body.premium-app[data-premium-view=lessons] .hub-card>strong{font-size:1rem}body.premium-app[data-premium-view] .hub-weather{max-width:118px!important}}
@media(prefers-reduced-motion:reduce){body.premium-app[data-premium-view] *{animation:none!important;transition:none!important}}

body.premium-focus[data-premium-view] .page-heading,body.premium-focus[data-premium-view] .page-heading h1,body.premium-focus[data-premium-view] .page-heading p{color:#f5f7e9!important}
body.premium-focus[data-premium-view] .premium-masthead,body.premium-focus[data-premium-view] .premium-brand{color:#f5f7e9!important}
body.premium-app[data-premium-view] :focus-visible{outline:2px solid #4b927e;outline-offset:3px}
body.premium-app[data-premium-view] .ai-review-panel{margin-top:22px;padding:18px;border-radius:15px}


body.premium-app[data-premium-view=practice] .ai-transcript{min-height:0;scrollbar-gutter:auto;padding:0}
body.premium-app[data-premium-view=practice] .ai-message{max-width:100%;width:100%}
body.premium-focus[data-premium-view] .phone-guidance,body.premium-focus[data-premium-view] .phone-guidance>summary{color:#e6efdf!important}
body.premium-focus[data-premium-view] .phone-guidance :is(p,strong,a){color:#e6efdf!important}
body.premium-focus[data-premium-view] .phone-guidance .ai-honesty{background:transparent;border:0;padding:0}
body.premium-focus[data-premium-view] a[href="#help"]{color:#d5e3cc}


body.premium-app[data-premium-view] #main:focus{outline:none}
body.premium-app[data-premium-view] .premium-masthead{flex-wrap:wrap}
body.premium-app[data-premium-view] .hub-goals>div,body.premium-app[data-premium-view=lessons] .hub-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}


body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn{flex:1 1 0!important;min-width:0}
body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn>span{font-size:clamp(10px,2.9vw,12px)!important;white-space:nowrap!important}
body.premium-app[data-premium-view] .hub-continue h2{font-size:clamp(22px,6.6vw,28px);overflow-wrap:normal;word-break:normal}

/* Finish the reference treatment: bold hierarchy, visible video library, one dock clearance. */
body.premium-app[data-premium-view]{padding-bottom:0!important}
body.premium-app[data-premium-view] #main{padding-bottom:calc(var(--shell-dock-height,64px) + 12px)!important;min-height:0}
body.premium-app[data-premium-view] .app-shell,body.premium-app[data-premium-view] .launch-shell{min-height:0}
body.premium-app[data-premium-view] :is(h1,h2,h3,h4){font-weight:700!important}
body.premium-app[data-premium-view] .hub-goals button strong,body.premium-app[data-premium-view] .hub-card>strong,body.premium-app[data-premium-view] .hub-coach-card button strong{font-weight:700!important}
body.premium-app[data-premium-view] .hub-coach-card button small{font-weight:400!important}
body.premium-app[data-premium-view] .hub-card{min-height:158px}
body.premium-app[data-premium-view] .film-shortcut{display:block!important;margin:14px 0 18px;padding:0!important;border-radius:15px;overflow:hidden}
body.premium-app[data-premium-view] .film-shortcut button{display:flex;align-items:center;gap:12px;width:100%;min-height:82px;margin:0;padding:0 13px 0 0;background:#fffdf7;color:#143b2d;text-align:left;border:0;border-radius:0}
body.premium-app[data-premium-view] .film-shortcut img{width:90px;height:82px;object-fit:cover;flex-shrink:0}
body.premium-app[data-premium-view] .film-shortcut strong{display:block;font:bold 1.05rem/1.2 Georgia,serif}.premium-app .film-shortcut small{display:block;font-size:.73rem;margin-top:6px;font-weight:400}.premium-app .film-shortcut button>span:last-child{margin-left:auto;font-size:.85rem;color:#194e38}
body.premium-app[data-premium-view] .bh-privacy-choices{margin:8px 0 0;padding:0}
body.premium-app[data-premium-view] .bh-privacy-choices button{min-height:36px;padding:7px 12px;font-size:.78rem}
body.premium-app[data-premium-view=account] .account-note{margin:12px 0;padding:10px 0}body.premium-app[data-premium-view=account] .account-card a{color:#184f3b;font-size:.8rem}
/* Reference Coach: prompt, three expandable steps, working record/playback and typing. */
.coach-reference{max-width:540px;margin:auto}.coach-reference-tabs{display:flex;border:1px solid #647c67;border-radius:28px;background:#ffffff15;padding:3px;margin:15px 0}
body.premium-app[data-premium-view] .coach-reference-tabs button{width:50%;min-height:40px;background:transparent;border:0;border-radius:24px;color:#f7f9ee;font-size:.85rem}.coach-reference-tabs button[aria-pressed=true]{background:#fffdf6!important;color:#123b2b!important;font-weight:700!important}
.coach-reference-prompt{display:flex;align-items:center;gap:15px;padding:19px 17px;background:#fffdf6;color:#113b2c;border-radius:15px;margin:0 0 13px}.coach-reference-prompt>span{font-size:2rem}.coach-reference-prompt h2{font-size:1.25rem!important;line-height:1.3!important;margin:0 0 9px!important}.coach-reference-prompt p{margin:0;font:400 .8rem/1.4 Arial,sans-serif!important;color:#263b32!important}
.coach-reference-steps{display:grid;gap:8px}.coach-reference-steps details{border:1px solid #52735d;border-radius:14px;background:#ffffff0b;color:#f5f8ec}.coach-reference-steps summary{list-style:none;display:flex;align-items:center;gap:12px;padding:13px;cursor:pointer;min-height:68px}.coach-reference-steps summary::-webkit-details-marker{display:none}.coach-step-number{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#a8c0a97a;font:bold 1.1rem Arial}.coach-reference-steps strong{display:block;font:700 .95rem Arial,sans-serif}.coach-reference-steps small{display:block;font:400 .8rem/1.4 Arial,sans-serif;margin-top:5px}.coach-step-arrow{margin-left:auto;font-size:1.3rem}.coach-reference-steps details>p{padding:0 17px 14px;margin:0;color:#e7efdf!important}
body.premium-app[data-premium-view] .coach-reference-tip{margin:15px 0;font-size:.77rem!important;color:#f2f5e8;line-height:1.4}.coach-reference-actions{display:grid;gap:9px}.coach-reference-actions button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;border-radius:25px;padding:10px 14px;font-size:1rem!important;font-weight:600!important}.coach-reference-actions .coach-speak{background:linear-gradient(110deg,#dfff98,#cbf880);border:0;color:#123524}.coach-speak svg{width:22px;height:22px}.coach-reference-actions .coach-type,.coach-reference-actions .coach-clear-audio{background:transparent;color:#f7f9ee;border:1px solid #c9debd}.coach-reference-actions .coach-clear-audio{min-height:32px;font-size:.75rem!important}.coach-record-note{font-size:.69rem!important;line-height:1.35!important;color:#cadac9!important;margin:0}.coach-local-audio{width:100%;height:42px}.coach-guided-link{margin:14px 0;min-height:36px;color:#e9f1dd!important;background:transparent;border:1px solid #567b5e;border-radius:12px}
body.premium-app[data-premium-view] .film-gallery{width:min(560px,100vw);max-width:100vw;max-height:100dvh;height:100dvh;border:0;border-radius:0!important;margin:0 auto;padding:22px 20px 16px;background:#fbf9f3;overflow-y:auto;box-shadow:0 0 0 100vmax #122e2855}
body.premium-app[data-premium-view] .film-gallery-top .eyebrow{font:bold 1.15rem Georgia,serif;color:#173c2c;margin:0 0 24px;letter-spacing:0}body.premium-app[data-premium-view] .film-gallery-top h2{font-size:2rem!important;margin:0 0 8px;font-weight:700!important}.film-gallery-close{font-size:.8rem!important;padding:8px!important;min-height:36px!important}.film-gallery-top+p{margin:0 0 17px!important;color:#3d5047!important}.film-search{display:flex;align-items:center;gap:10px;background:#fffdfa;border:1px solid #dedfd5;border-radius:13px;padding:0 13px;margin:12px 0}.film-search>span:first-child{font-size:1.6rem}.film-search input{width:100%;min-width:0;border:0!important;background:none!important;min-height:43px;padding:8px 0!important;font-size:.85rem!important}.film-gallery .film-filters{flex-wrap:nowrap;overflow:auto;scrollbar-width:none}.film-gallery .film-filters button{white-space:nowrap}.film-result-count{font-size:.72rem!important;margin:9px 0;color:#5c6a60}
body.premium-app[data-premium-view] .film-gallery-list{display:grid;grid-template-columns:1fr;gap:11px;margin:12px 0 16px}body.premium-app[data-premium-view] .film-gallery-list button{min-height:100px;gap:12px;padding:0 10px 0 0;border:1px solid #e9e8e0;background:#fffdf8;border-radius:14px;box-shadow:0 4px 12px #1b342608}body.premium-app[data-premium-view] .film-gallery-list button[hidden]{display:none}body.premium-app[data-premium-view] .film-gallery-list img{width:100px;height:100px;min-height:100px;object-fit:cover;flex-shrink:0}body.premium-app[data-premium-view] .film-gallery-list strong{font:bold 1rem/1.2 Georgia,serif}body.premium-app[data-premium-view] .film-gallery-list small{font-size:.72rem;margin-top:8px}.film-play-icon{display:grid;place-items:center;flex-shrink:0;margin-left:auto;width:31px;height:31px;border-radius:50%;background:#e6efd8;color:#123e29;font-size:.75rem}
.film-library-footer{display:flex;align-items:center;gap:12px;padding:15px;border-radius:14px;background:#e8f1da;margin-top:16px}.film-library-footer strong{font:bold 1rem Georgia,serif}.film-library-footer p{font-size:.75rem!important;margin:6px 0 0}.film-library-footer button{border:0;background:#103f2d;color:white;border-radius:24px;padding:10px 12px;font-size:.7rem!important;white-space:nowrap;min-height:42px}
body.premium-app[data-premium-view] .coach-reference .page-heading{display:block}.coach-reference .page-heading h1{font-size:2rem!important;max-width:none}.coach-reference .page-heading p{font-weight:400!important;margin-top:8px!important}.coach-reference-prompt>span{display:block;flex-shrink:0;width:30px}.coach-reference-prompt svg{width:30px;height:30px}.coach-reference-steps small,.coach-reference-tip,.coach-record-note{font-weight:400!important}.coach-reference-tip{padding:0 5px}.coach-reference-prompt h2{font-size:1.2rem!important}
body.premium-app[data-premium-view] .film-gallery{padding-bottom:calc(var(--shell-dock-height,64px) + 16px)!important}
body.premium-app[data-premium-view] .film-gallery-top{display:block;position:relative;top:auto;border:0;padding:0;margin:0;background:transparent}
body.premium-app[data-premium-view] .film-gallery-top .eyebrow{display:block!important;padding-right:60px;text-transform:none!important;font:bold 1.15rem Georgia,serif!important;letter-spacing:0!important}
body.premium-app[data-premium-view] .film-gallery-close{position:absolute;right:0;top:0;margin:0}
body.premium-app[data-premium-view] #main>.polish-report-action{margin-top:16px;padding:6px 0 0}
body.premium-app[data-premium-view] #main>.polish-report-action button{min-height:36px;font-size:.8rem;padding:4px 0}
/* Reserve space for the fixed dock once, after the final page control. */
body.premium-app[data-premium-view] #main{padding-bottom:calc(var(--shell-dock-height,64px) + 8px)!important}
body.premium-app[data-premium-view] .learning-updates-invite{margin:14px 0 12px;padding:16px;gap:12px;border-radius:15px}
body.premium-app[data-premium-view] .learning-updates-invite strong{font-size:1rem}
body.premium-app[data-premium-view] .learning-updates-invite p{font-size:.8rem!important;margin:6px 0 0}
body.premium-app[data-premium-view] .learning-updates-invite a{font-size:.85rem;font-weight:700}
body.premium-app[data-premium-view] :is(.hub-more,.hub-continue button,.film-filters button,.premium-settings>a,.premium-settings>button,.hub-footer a){font-weight:600}
body.premium-app[data-premium-view] .premium-settings span{font-weight:400}
body.premium-focus[data-premium-view] .bh-privacy-choices button{color:#e4efdc;border-color:#93ac99;background:transparent}
body.premium-app[data-premium-view] .coach-reference .page-heading{display:block!important}
body.premium-app[data-premium-view=account] .account-layout{padding-bottom:0}
body.premium-app[data-premium-view=account] .premium-settings:last-child{margin-bottom:0}
/* Compact summaries and sign-in; keep inputs and primary actions finger-sized. */
body.premium-app[data-premium-view=account] .account-intro{margin-bottom:12px}
body.premium-app[data-premium-view=account] .account-card{padding:14px}
body.premium-app[data-premium-view=account] .account-card h2{font-size:1.3rem;margin-bottom:10px}
body.premium-app[data-premium-view=account] #account-form{gap:5px}
body.premium-app[data-premium-view=account] #account-form label{margin-top:2px;font-weight:600}
body.premium-app[data-premium-view=account] #account-form button{margin-top:5px}
body.premium-app[data-premium-view=account] .account-actions{margin:8px 0;gap:8px}
body.premium-app[data-premium-view=account] .account-note{margin:8px 0 0;padding:0;min-height:0}
body.premium-app[data-premium-view=account] .account-note:last-of-type{margin-bottom:0}
body.premium-app[data-premium-view=account] .account-privacy>summary{font-size:.78rem;line-height:1.3}
body.premium-app[data-premium-view=progress] .growth-summary{display:grid;grid-template-columns:1fr auto;gap:0 10px;padding:8px 12px;margin:10px 0;min-height:0}
body.premium-app[data-premium-view=progress] .growth-summary .growth-streak{min-height:0;padding:0;font-size:.8rem!important}
body.premium-app[data-premium-view=progress] .growth-streak strong{font-size:1.25rem}
body.premium-app[data-premium-view=progress] .growth-summary .growth-xp{grid-column:2;grid-row:1 / 3;margin:0;min-height:44px;padding:6px 10px;border-radius:12px}
body.premium-app[data-premium-view=progress] .growth-xp strong{font-size:1.35rem!important}
body.premium-app[data-premium-view=progress] .growth-summary [data-growth=daily]{grid-column:1;min-height:32px;margin:0;padding:3px 0;justify-self:start;text-align:left}
body.premium-app[data-premium-view=progress] .stats{margin:10px 0;gap:8px}
body.premium-app[data-premium-view=progress] .stat{padding:11px 13px;min-height:0}
body.premium-app[data-premium-view=progress] .stat strong{font-size:1.6rem}
body.premium-app[data-premium-view=progress] .stat span{margin-top:4px}
body.premium-app[data-premium-view=progress] .premium-quiz-detail{padding:3px 12px;margin:10px 0;border-radius:13px}
body.premium-app[data-premium-view=progress] .premium-quiz-detail>summary{display:flex;align-items:center;min-height:44px;font-size:.85rem}
body.premium-app[data-premium-view=progress] .premium-quiz-detail>summary::after{content:'+';margin-left:auto;font-size:1.1rem;font-weight:700}
body.premium-app[data-premium-view=progress] .premium-quiz-detail[open]>summary::after{content:'−'}
body.premium-app[data-premium-view=progress] .note-strip{padding:10px 12px;margin:10px 0;font-size:.78rem!important;line-height:1.4}
body.premium-app[data-premium-view=progress] #main>.panel{padding:13px;margin:10px 0;border-radius:14px;min-height:0}
body.premium-app[data-premium-view=progress] #main>.panel h2{font-size:1.2rem;margin:0 0 8px}
body.premium-app[data-premium-view=progress] #main>.panel .empty{min-height:0;padding:8px 0;margin:0;text-align:left;font-size:.8rem!important}
/* One green navigation bar, with the selected destination clearly highlighted. */
body.premium-app[data-premium-view] .hub-dock[data-shell-primary]{background:#123f30!important;border-top:1px solid #426550;backdrop-filter:none}
body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn{color:#e5efdf!important;border-radius:11px!important;margin:0 2px}
body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn:is(.active,[aria-current=page]){background:#d6f48c!important;color:#123f30!important;font-weight:700!important}
body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn:focus-visible{outline:2px solid #fff;outline-offset:1px}
/* Spoken Coach keeps the compact forest and cream layout. */
.coach-reference .coach-primary{background:#d6f48c;color:#123f30;border:0}
.coach-answer{display:grid;gap:8px;margin:4px 0}.coach-answer label{font-size:.85rem;color:#f5f8ec}
.coach-answer textarea{box-sizing:border-box;width:100%;min-height:100px;resize:vertical;border:1px solid #829c85;border-radius:12px;padding:12px;background:#fffdf6;color:#123f30;font:400 1rem/1.5 Arial,sans-serif}
.coach-answer #coach-length{margin:0;font-size:.75rem;color:#d9e5d1}
.coach-feedback{background:#fffdf6;color:#143b2d;border-radius:15px;padding:16px;margin:12px 0;overflow-wrap:anywhere}
.coach-feedback h2{font-size:1.35rem!important;margin:0 0 9px}.coach-feedback h3{font:700 .95rem/1.4 Arial,sans-serif;margin:16px 0 6px}
body.premium-app .coach-feedback p{color:#263f32!important;font-size:.88rem!important;line-height:1.5;margin:7px 0 12px}
.coach-feedback blockquote{border-left:3px solid #699537;margin:8px 0;padding:8px 12px;background:#eaf1de;font-weight:600}
.coach-feedback details{font-size:.8rem;margin:8px 0}.coach-feedback summary{min-height:36px;padding:7px 0;cursor:pointer;font-weight:600}
.coach-next{border-top:1px solid #d5decf;margin-top:12px}.coach-feedback .coach-reference-actions .coach-type{color:#123f30;border-color:#8caa85}
.coach-data-note{margin:12px 0 0;color:#dce8d4;font-size:.72rem;line-height:1.5}.coach-data-note summary{cursor:pointer;min-height:36px;padding:8px 0;font-weight:600}
body.premium-app .coach-data-note p,body.premium-app .coach-data-note a{color:#dce8d4!important;font-size:.72rem!important}
.coach-record-note:empty{display:none}.coach-reference button:disabled{opacity:.6;cursor:wait}
.coach-readout{display:flex;align-items:center;gap:8px;margin:8px 0 10px}
body.premium-app .coach-readout button{flex:1;min-width:0;min-height:44px;border:1px solid #b3c6a1;border-radius:12px;background:#eaf1de;color:#123f30;padding:8px 10px;font:600 .85rem/1.25 Arial,sans-serif}
body.premium-app .coach-readout select{width:100px;flex-shrink:0;min-height:44px;border:1px solid #b3c6a1;border-radius:12px;background:#fffdf6;color:#123f30;padding:8px;font:400 .8rem Arial,sans-serif}
body.premium-app .coach-feedback #coach-voice-status{font-size:.72rem!important;line-height:1.35;margin:0 0 10px}
.coach-feedback #coach-voice-status:empty{display:none}
/* Keep video navigation outside the scrolling content, including Android dialogs. */
body.premium-app[data-premium-view] .film-gallery{padding:0!important;overflow:hidden;box-sizing:border-box}
body.premium-app[data-premium-view] .film-gallery[open]{display:flex;flex-direction:column}
.film-gallery-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;scroll-padding-top:16px}
body.premium-app[data-premium-view] .film-gallery>.hub-dock[data-shell-primary]{position:relative!important;inset:auto!important;flex:0 0 auto;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;width:100%!important}
body.premium-app[data-premium-view] .film-gallery-top h2{font-size:1.65rem!important}
body.premium-app[data-premium-view] .film-gallery-top .eyebrow{margin-bottom:16px}
body.premium-app[data-premium-view] .film-gallery-list{gap:8px}
body.premium-app[data-premium-view] .film-gallery-list button{min-height:82px;gap:10px}
body.premium-app[data-premium-view] .film-gallery-list button>span:nth-child(2){flex:1;min-width:0}
body.premium-app[data-premium-view] .film-gallery-list strong{font-size:.95rem;padding:0}
body.premium-app[data-premium-view] .film-gallery-list small{margin-top:5px;line-height:1.3}
body.premium-app[data-premium-view] :is(.film-gallery-list,.film-shortcut) .film-thumb{position:relative;display:grid;place-items:center;width:82px;height:82px;flex:0 0 82px;align-self:stretch;background:#244c3b;color:#d6f48c;overflow:hidden}
body.premium-app[data-premium-view] :is(.film-gallery-list,.film-shortcut) .film-thumb img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover}
.film-thumb img[hidden]{display:none!important}.film-thumb-fallback{font-size:1.4rem}
body.premium-app[data-premium-view] .film-shortcut button{min-height:82px}
.film-library-footer{padding:12px;margin-top:12px}
/* Distinct, compact account sections; deletion is never labelled as saved progress. */
body.premium-app[data-premium-view=account] .phone-membership{margin:8px 0;padding:0 12px;border:1px solid #dce2d5;border-radius:12px}
body.premium-app[data-premium-view=account] .phone-membership>summary{min-height:44px;align-content:center;padding:6px 0;font-size:.85rem;font-weight:700}
body.premium-app[data-premium-view=account] .phone-membership>:not(summary){margin:0 0 10px;padding:10px 0;border:0;box-shadow:none}
body.premium-app[data-premium-view=account] .phone-membership .billing-test-body{padding:0}
body.premium-app[data-premium-view=account] .phone-membership :is(p,.small){margin:8px 0}
body.premium-app[data-premium-view=account] #account-message:empty{display:none}
body.premium-app[data-premium-view=account] #account-message{margin:8px 0;padding:8px 10px}
body.premium-app[data-premium-view=account] .account-privacy{margin:8px 0;padding:8px 0}
/* A visible question card labels the daily challenge radio group. */
.growth-dialog .growth-question-box{padding:10px;margin:14px 0;border-radius:12px}
.growth-dialog .growth-question-box legend{width:100%;padding:0;box-sizing:border-box}
.growth-question-box legend>span{display:block;border:1px solid #b8cda8;border-radius:10px;padding:12px;background:#e8f1da;color:#173e2d;font-weight:700;line-height:1.4}
.growth-question-box .growth-choice{padding:10px 4px;min-height:44px;box-sizing:border-box}
@media(max-width:600px){
 body.premium-app[data-premium-view=lessons] .hub-card{min-height:140px;padding:12px 12px 38px;gap:8px}
 body.premium-app[data-premium-view=lessons] .hub-card-bottom{bottom:12px;left:12px}
 body.premium-app[data-premium-view=lessons] .hub-access{bottom:10px}
 body.premium-app[data-premium-view] #lesson-dialog{padding:12px;max-height:calc(100dvh - 16px);width:calc(100% - 16px)}
 body.premium-app[data-premium-view] #lesson-dialog .modal-header{padding:0 0 12px;gap:10px;align-items:flex-start}
 body.premium-app[data-premium-view] #lesson-dialog .modal-header h2{font-size:1.35rem;line-height:1.2;margin:0;flex:1;min-width:0}
 #lesson-dialog .modal-header .close-button{width:44px;height:44px;min-width:44px;flex-shrink:0;padding:8px}
 #lesson-dialog .lesson-timer{padding:10px;margin:10px 0 12px;border-radius:12px}
 #lesson-dialog .lesson-timer [role=timer]{font-size:1.3rem}
 #lesson-dialog .lesson-timer-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;margin-top:6px}
 #lesson-dialog .lesson-timer label{min-width:0}
 body.premium-app[data-premium-view] #lesson-dialog .lesson-timer select{width:100%;min-width:0;font-size:.85rem!important;padding:8px}
 #lesson-dialog .lesson-timer button{padding:8px 10px}
 body.premium-app[data-premium-view] #lesson-dialog .lesson-timer p{font-size:.75rem!important;margin:6px 0 0}
 #lesson-dialog .adult-body{padding:0;line-height:1.45}
 #lesson-dialog .adult-body>.eyebrow{font-size:.7rem!important;margin:8px 0;letter-spacing:.06em}
 #lesson-dialog .adult-stage-track{gap:8px;margin-top:10px;font-size:.75rem}
 #lesson-dialog .adult-stage-track span{padding-top:6px;border-top-width:3px}
 #lesson-dialog .adult-body h3{font-size:1.25rem;margin:16px 0 10px}
 #lesson-dialog .adult-story{margin:12px 0}
 #lesson-dialog .adult-decision{padding:10px;margin:12px 0}
 #lesson-dialog .option{padding:12px;min-height:44px;font-size:.9rem;line-height:1.4;border-radius:12px}
 #lesson-dialog .dialog-footer{display:flex;padding:12px 0;margin-top:12px;gap:8px;flex-wrap:wrap}
 #lesson-dialog .dialog-footer .button{flex:1 1 auto;min-width:0;min-height:44px;white-space:nowrap;overflow-wrap:normal;word-break:normal;padding:10px 12px;font-size:.85rem}
 #lesson-dialog .dialog-footer svg{width:18px;flex-shrink:0}
 #lesson-dialog .resume-controls{margin:8px 0;padding:0 10px;font-size:.8rem}
 #lesson-dialog .polish-report-action{margin:8px 0 0;padding:8px 0 0}
 .growth-dialog{padding:14px;max-height:calc(100dvh - 16px)}
}
