/* Livémio — stabilité des formulaires iOS. Garder le zoom manuel accessible. */
html { -webkit-text-size-adjust: 100%; }
input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea, [contenteditable=true] {font-size: max(16px, 1em) !important; scroll-margin-block: 18px;}
@media (max-width: 940px) {input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea {min-width:0; max-width:100%;} .setting-picker-row select{max-width:46%;} }
.about-livemio{padding:22px 18px;line-height:1.55}.about-logo{display:block;width:min(180px,75%);height:auto;margin:0 0 16px}.about-livemio p{margin:8px 0 12px}.about-links{display:grid;gap:8px}.about-links a{font-size:13px;font-weight:650}.about-livemio .fineprint{margin-top:16px}

/* V38 — accueil et connexion, sans modifier la taille du viewport. */
.entry-choice{padding: max(26px, env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));background:var(--paper);gap:0;overscroll-behavior:contain}
.v38-top{min-height:32px;gap:8px}.v38-top>span{letter-spacing:.1em;font-size:10px}.v38-top a{display:flex;align-items:center;gap:5px;font-size:12px;text-decoration:none;font-weight:650;color:var(--muted);padding:8px 0}
.v38-brand{min-height:112px;flex:0 0 auto;height:clamp(112px,20dvh,186px);display:grid;place-items:center;position:relative;margin:10px 0 15px;border-radius:28px;background:radial-gradient(ellipse at center,var(--pale),transparent 72%)}
.v38-brand img{display:block;width:min(205px,72%);height:auto;max-height:120px;object-fit:contain;position:relative}
.v38-intro .eyebrow{font-size:10px;letter-spacing:.15em;color:var(--deep)}.v38-intro h2{font-size:clamp(30px,8.5vw,39px);line-height:1.04;letter-spacing:-.052em;margin:10px 0 12px;font-weight:820}.v38-intro p{font-size:15px;line-height:1.55;max-width:340px}
.entry-choice .entry-actions{margin:24px 0 19px;gap:10px}.entry-choice .entry-option{min-height:66px;padding:13px;border-radius:17px;gap:12px;box-shadow:none}.entry-choice .entry-option strong{font-size:15px}.entry-choice .entry-option small{font-size:12px;margin-top:3px}.entry-choice .entry-primary{background:var(--deep2);border-color:var(--deep2);color:white;box-shadow:0 9px 22px #003d3224}.entry-choice .entry-primary small{color:#d2ede4}.entry-choice .entry-primary .entry-option-icon{background:#ffffff18;color:#b1f0d7}.entry-choice .entry-primary>svg:last-child{color:#b1f0d7}
.v38-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin-bottom:16px}.v38-benefits>div{display:grid;justify-items:center;gap:5px;color:var(--deep);text-align:center}.v38-benefits span{font-size:11px;font-weight:650;color:var(--muted)}
.v38-footer{margin-top:auto;padding-top:6px}.v38-footer p{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.55}.v38-footer p svg{flex:none;color:var(--mint2);margin-top:1px}.v38-footer>div{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;font-size:11px;margin-top:13px;color:var(--muted)}.v38-footer a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.modal:has(#livemioAccountForm){border-radius:26px 26px 0 0;padding:24px 22px max(24px,env(safe-area-inset-bottom));max-height:94%;overscroll-behavior:contain}.modal:has(#livemioAccountForm) .m-title{font-size:25px;line-height:1.2}.modal:has(#livemioAccountForm) .m-sub{font-size:14px;margin:9px 0 20px;line-height:1.5}.modal:has(#livemioAccountForm) .xbtn{width:36px;height:36px}.modal:has(#livemioAccountForm) .field label{font-size:13px}.modal:has(#livemioAccountForm) .field input{min-height:51px;border-radius:13px}.modal:has(#livemioAccountForm) .btn{background:var(--deep2);color:white;min-height:50px;border-radius:13px}.modal:has(#livemioAccountForm) .entry-actions{gap:4px!important}.modal:has(#livemioAccountForm) .text-link{padding:9px 4px;min-height:35px;font-size:13px;color:var(--deep)}#account-feedback:empty{min-height:0;margin:0}#account-feedback:not(:empty){margin:12px 0}
.v38-password{position:relative}.v38-password input{padding-right:76px!important}.v38-password-toggle{position:absolute;right:5px;top:3px;bottom:3px;padding:0 9px;min-width:42px;border:0;background:transparent;color:var(--deep);font-size:11px;font-weight:650;display:grid;place-items:center}.v38-auth-footer{display:flex;align-items:flex-start;justify-content:center;gap:7px;font-size:11px;line-height:1.5;color:var(--muted);border-top:1px solid var(--line);padding-top:13px}.v38-auth-footer svg{flex:none;color:var(--mint2)}.v38-auth-footer a{color:var(--deep)}
body.dark .entry-choice .entry-primary,body.dark .modal:has(#livemioAccountForm) .btn{background:#14674f;border-color:#388a70;color:white}body.dark .v38-brand{background:radial-gradient(ellipse at center,#164438,transparent 72%)}body.dark .v38-brand img{background:#e8f7ef;border-radius:13px;padding:9px}
@media(max-height:700px){.entry-choice{padding-top:16px}.v38-brand{height:106px;min-height:106px;margin:3px 0 9px}.entry-choice .entry-actions{margin:16px 0 12px}.v38-benefits{padding:9px 0;margin-bottom:9px}.v38-intro h2{font-size:30px}.v38-intro p{font-size:14px}}

/* V43: accès Copilote et saisie responsive */
.cp43-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0}.cp43-shortcuts h3{grid-column:1/-1;margin:0;font-size:14px}.cp43-shortcuts button{min-height:44px;font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.cp43-list{display:grid;gap:8px}.cp43-list .entry-option{min-height:52px}.bottom button{min-width:0;flex:1;padding-inline:1px}.bottom button span{font-size:clamp(8px,2.2vw,10px);white-space:nowrap}.bottom button svg{flex-shrink:0}.bottom button[data-tab="copilote"]{color:var(--mint2);font-weight:800}.bottom button[data-tab="copilote"].active{color:var(--deep)}@media(max-width:350px){.cp43-shortcuts{grid-template-columns:1fr}.bottom button span{font-size:8px}}
.bottom{grid-template-columns:repeat(6,minmax(0,1fr))!important}
