/* Tool sign-in only: the portal's own account modal keeps its existing design. */
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]){--login-paper:#f5f9fa;--login-glow:#d8edf3;--login-hero:linear-gradient(155deg,#476570,#315b6e 55%,#082532);--login-ink:#123744;--login-hero-ink:#fff;--login-hero-copy:#d2e8ef;--login-badge-bg:#063e5ba6;--login-badge-ink:#bfe9f4;--login-benefit-bg:#07324666;--login-benefit-ink:#e2f1f7;--login-ring:#8bc7dc52;--login-ring-near:#63abc41f;--login-ring-far:#63abc414;--login-check:#ffcb48;--login-button-start:var(--service-accent);--login-button-end:#0089a7;--login-button-ink:#fff}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])[data-service="duerp"]{--login-paper:#fffaf5;--login-glow:#ffe2c4;--login-hero:linear-gradient(145deg,#632b10,#a94d16 55%,#37200f);--login-ink:#342b26;--login-hero-copy:#ffead5;--login-badge-bg:#57270f80;--login-badge-ink:#ffead2;--login-benefit-bg:#57270f66;--login-benefit-ink:#fff0e0;--login-ring:#ffd6a766;--login-ring-near:#ffc88c24;--login-ring-far:#ffc88c14;--login-check:#ffd6a7;--login-button-end:#bb5814}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])[data-service="habilis"]{--login-paper:#f6f4f8;--login-glow:#e9dfef;--login-hero:linear-gradient(145deg,#33203f,#503460 55%,#21162b);--login-ink:#20172c;--login-hero-copy:#f0e6f5;--login-badge-bg:#50346099;--login-badge-ink:#f2e8f8;--login-benefit-bg:#50346080;--login-benefit-ink:#f2e8f8;--login-ring:#dbc5eb66;--login-ring-near:#bc91d21f;--login-ring-far:#bc91d214;--login-check:#dbc5eb;--login-button-end:#503460}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])[data-service="skills"]{--login-paper:#fcfaf3;--login-glow:#f6e5ad;--login-hero:linear-gradient(145deg,#f7d769,#e8bb48 55%,#d9aa35);--login-ink:#292816;--login-hero-ink:#292816;--login-hero-copy:#514b35;--login-badge-bg:#fff5d1b3;--login-badge-ink:#514018;--login-benefit-bg:#fff5d1aa;--login-benefit-ink:#514018;--login-ring:#fff1b780;--login-ring-near:#fff0ac30;--login-ring-far:#fff0ac20;--login-check:#79601d;--login-button-start:#e8bb48;--login-button-end:#dcaf3a;--login-button-ink:#292816}
body.tool-signin-mode>header{display:none}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head{flex-direction:column;align-items:stretch}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head>div{width:100%;position:relative;z-index:1}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .tool-login-benefits{width:100%;position:relative;z-index:1}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]){min-height:100dvh;grid-template-rows:minmax(40px,1fr) auto auto auto minmax(40px,1fr);background:radial-gradient(circle at 100% 0,var(--login-glow),transparent 45%),var(--login-paper)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head{grid-row:1/-1;padding:clamp(40px,6vw,110px);background:var(--login-hero);justify-content:flex-end;isolation:isolate}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head:before{background:none;opacity:0}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head:after{content:"";position:absolute;z-index:0;pointer-events:none;width:620px;height:620px;top:-190px;right:-190px;border:1px solid var(--login-ring);border-radius:50%;box-shadow:0 0 0 90px var(--login-ring-near),0 0 0 180px var(--login-ring-far)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #service-title{max-width:760px;font-size:clamp(38px,4vw,70px);font-weight:400;line-height:1.15;letter-spacing:-.035em;color:var(--login-hero-ink)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #service-description{max-width:740px;color:var(--login-hero-copy);font-size:17px}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #tool-list{grid-row:2/5;width:calc(100% - 80px);max-width:700px;align-self:center;margin:0 auto}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #tool-message{grid-row:5;margin:16px auto}
.tool-login-brand{height:86px;display:flex;align-items:center;margin:0 0 20px 10px}
.tool-login-brand img{width:auto;max-width:min(400px,100%);max-height:86px;object-fit:contain}
#tools[data-service="skills"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .tool-login-brand img{max-width:360px}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card{position:relative;border-radius:24px;border-color:color-mix(in srgb,var(--service-accent),white 75%);padding:32px;background:#fff;box-shadow:0 18px 50px #06384a13}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card>.service-state-badge,#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card>h2,#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card>.service-welcome-copy{display:none}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card>.service-state-icon{position:absolute;top:32px;left:32px;width:54px;height:54px;margin:0;border-radius:15px;background:color-mix(in srgb,var(--service-accent),white 91%);color:var(--service-accent)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog[data-inline-tool]{position:static;display:block;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;color:var(--login-ink)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog[data-inline-tool]::backdrop{display:none}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #close-account,#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-habilis-logo{display:none}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog>.eyebrow{display:block;margin:0 0 10px 70px;padding:0;border:0;border-radius:0;background:none;color:#718790;letter-spacing:.04em;font-size:12px;font-weight:700}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #auth-title{margin:0 0 30px 70px;font-size:24px;line-height:1.25;font-weight:400;letter-spacing:0;color:var(--login-ink)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #auth-description:empty,#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #auth-message:empty{display:none}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-form,#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #totp-form{gap:18px}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog label{font-size:13px;font-weight:700;color:var(--login-ink);gap:10px}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog input{width:100%;height:56px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--service-accent),white 75%);border-radius:10px;background:color-mix(in srgb,var(--service-accent),white 99%);font:inherit;color:var(--login-ink)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog input::placeholder{color:#91a5ae}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog form>button{min-height:56px;padding:14px 18px;border:0;border-radius:10px;background:linear-gradient(110deg,var(--login-button-start),var(--login-button-end));color:var(--login-button-ink);font-size:16px;font-weight:700}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .account-help-actions{margin-top:16px}
.tool-login-actions{margin-top:20px;gap:0}
.tool-login-actions>.service-primary-action{display:none}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .tool-login-actions>.service-back-action{width:100%;min-height:50px;border:1px solid color-mix(in srgb,var(--service-accent),white 65%);border-radius:11px;background:#fff;color:var(--service-accent);font-weight:600}
.tool-login-benefits{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tool-login-benefits li{padding:15px 12px;border:1px solid var(--login-ring);border-radius:12px;background:var(--login-benefit-bg);color:var(--login-benefit-ink);font-size:13px;line-height:1.5}
.tool-login-benefits li:before{content:'✓';color:var(--login-check);margin-right:8px;font-weight:700}
@media(max-width:1050px){#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head{padding:44px}.tool-login-benefits{grid-template-columns:1fr}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #tool-list{width:calc(100% - 48px)}}
@media(max-width:760px){#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]){grid-template-columns:1fr;grid-template-rows:auto auto auto;min-height:100dvh}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head{grid-row:1;grid-column:1;min-height:0;padding:34px 24px;margin:0 0 30px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #service-title{font-size:38px}.tool-login-benefits{grid-template-columns:1fr;gap:8px;margin-top:24px}.tool-login-benefits li{padding:10px 12px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #tool-list{grid-row:2;grid-column:1;width:calc(100% - 32px);margin-bottom:24px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #tool-message{grid-row:3;grid-column:1}.tool-login-brand{height:70px;margin-left:4px}.tool-login-brand img,#tools[data-service="skills"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .tool-login-brand img{max-width:280px;max-height:70px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card{padding:24px 20px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card>.service-state-icon{top:24px;left:20px;width:44px;height:44px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog>.eyebrow{margin-left:58px;font-size:11px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #auth-title{margin-left:58px;font-size:21px}#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-dialog input{height:52px}}

#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"])>.page-head .eyebrow{border-color:var(--login-ring);background:var(--login-badge-bg);color:var(--login-badge-ink)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-help-actions button{color:var(--service-accent)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) #account-help-actions .ghost{background:color-mix(in srgb,var(--service-accent),white 92%)}
#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) :is(input,button,a):focus-visible{outline-color:var(--service-accent)}

#tools[data-presentation="landing"]:is([data-auth-state="signin"],[data-auth-state="presentation"]) .service-login-card>.habilis-connection-logo{display:none}

#tools[data-presentation="landing"][data-auth-state="presentation"][data-service="protocol"]{--login-paper:#f3fafb;--login-glow:#d4edf2;--login-hero:linear-gradient(145deg,#043e4c,#007b93 55%,#082f3b);--login-ink:#143c46;--login-hero-copy:#d5f0f4;--login-badge-bg:#07546699;--login-badge-ink:#d5f0f4;--login-benefit-bg:#063e4e80;--login-benefit-ink:#e0f5f7;--login-ring:#a8e1e766;--login-ring-near:#83cbd724;--login-ring-far:#83cbd714;--login-check:#a8e1e7;--login-button-end:#006477}
#tools[data-auth-state="presentation"] .service-presentation-card{padding:32px;border:1px solid color-mix(in srgb,var(--service-accent),white 75%);border-radius:24px;box-shadow:0 18px 50px #06384a13}
#tools[data-auth-state="presentation"] .service-presentation-card h2{color:var(--login-ink);font-weight:400;margin:12px 0 20px}
#tools[data-auth-state="presentation"] .service-state-icon{background:color-mix(in srgb,var(--service-accent),white 91%)}
#tools[data-auth-state="presentation"] .service-primary-action{min-height:56px;border-radius:10px;background:linear-gradient(110deg,var(--login-button-start),var(--login-button-end));color:var(--login-button-ink);font-size:16px;font-weight:700}
#tools[data-auth-state="presentation"] .tool-presentation-back{margin-top:20px}
#tools[data-auth-state="presentation"] .tool-presentation-back .service-back-action{width:100%;min-height:50px;border:1px solid color-mix(in srgb,var(--service-accent),white 65%);border-radius:11px;background:#fff;color:var(--service-accent);font-weight:600}
@media(max-width:760px){#tools[data-auth-state="presentation"] .service-presentation-card{padding:24px 20px}}
/* IDONEUS · entrée ivoire validée, courbes douces et identité originale. */
.idoneus-entry-decoration{display:none}
#tools[data-presentation="landing"][data-service="skills"]{--service-accent:#81651f;--login-paper:#fafaf7;--login-glow:transparent;--login-hero:#f4f0e6;--login-ink:#272c27;--login-hero-ink:#272c27;--login-hero-copy:#615f54;--login-button-start:#e8bc47;--login-button-end:#e8bc47;--login-button-ink:#252a24;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);min-height:calc(100dvh - 112px);background:#fafaf7}
#tools[data-presentation="landing"][data-service="skills"]>.page-head{background:#f4f0e6;color:#272c27;align-items:center;justify-content:center;padding:clamp(32px,4vw,76px);flex-direction:column}
#tools[data-presentation="landing"][data-service="skills"]>.page-head:before,#tools[data-presentation="landing"][data-service="skills"]>.page-head:after{display:none}
#tools[data-presentation="landing"][data-service="skills"]>.page-head>div{width:100%;max-width:460px;position:relative;z-index:1}
#tools[data-presentation="landing"][data-service="skills"] .eyebrow{padding:0;border:0;border-radius:0;background:transparent;color:#795c24;font-weight:500;letter-spacing:.13em}
#tools[data-presentation="landing"][data-service="skills"] #service-title{max-width:310px;margin:32px 0;line-height:0}
#tools[data-presentation="landing"][data-service="skills"] #service-description{max-width:390px;color:#615f54;line-height:1.75}
#tools[data-presentation="landing"][data-service="skills"] .idoneus-description-heading{font-size:26px;font-weight:600;color:#272c27;line-height:1.25;letter-spacing:-.025em;margin:0 0 16px}
#tools[data-presentation="landing"][data-service="skills"] .idoneus-description-copy{font-size:15px}
#tools[data-presentation="landing"][data-service="skills"] #service-description:after{content:'';display:block;width:54px;height:4px;margin-top:30px;background:#e8bc47}
#tools[data-presentation="landing"][data-service="skills"] .idoneus-entry-decoration{display:block;position:absolute;inset:0;z-index:-1;pointer-events:none}
#tools[data-service="skills"] .idoneus-entry-decoration span{display:block;position:absolute}
#tools[data-service="skills"] .idoneus-entry-disc{width:440px;height:440px;right:-195px;top:-210px;border-radius:50%;background:#e9c35e24}
#tools[data-service="skills"] .idoneus-entry-ring{width:570px;height:570px;right:-260px;top:-275px;border:1px solid #c7ad6740;border-radius:50%}
#tools[data-service="skills"] .idoneus-entry-wave{width:900px;height:400px;left:-260px;bottom:-310px;border-radius:50%;background:#e6dcc766;transform:rotate(-20deg)}
#tools[data-service="skills"] .idoneus-entry-dots{width:95px;height:85px;right:30px;bottom:34px;background-image:radial-gradient(#a49c8750 1px,transparent 1.5px);background-size:13px 13px}
#tools[data-presentation="landing"][data-service="skills"] :is(#tool-context-label,#tool-list,#tool-message){max-width:620px}
#tools[data-presentation="landing"][data-service="skills"] #tool-context-label{color:#5b5546}
#tools[data-presentation="landing"][data-service="skills"] #tool-context{border-color:#dcd7c9;background:#fff;color:#272c27}
#tools[data-service="skills"] .service-welcome-card{border-color:#e4e1d7;border-radius:18px;box-shadow:0 16px 36px #4d46300a}
#tools[data-service="skills"] .service-welcome-copy{color:#615f54}
#tools[data-service="skills"] .service-primary-action{background:#e8bc47;color:#252a24;box-shadow:none}
#tools[data-service="skills"] .service-primary-action:hover{background:#dfaf36}
#tools[data-service="skills"] .service-back-action{background:#f5f2e8;color:#625334}
#tools[data-presentation="landing"][data-service="skills"] :is(input,button,a,select):focus-visible{outline:3px solid #006987;outline-offset:3px}
#tools[data-service="skills"] :is(.tool-login-brand,.tool-login-benefits){display:none}
body.tool-signin-mode:has(#tools[data-service="skills"]:not([hidden]))>header{display:flex}
@media(max-width:760px){#tools[data-presentation="landing"][data-service="skills"]{grid-template-columns:1fr;min-height:calc(100dvh - 100px)}#tools[data-presentation="landing"][data-service="skills"]>.page-head{min-height:420px;padding:44px 28px;margin-bottom:24px}#tools[data-presentation="landing"][data-service="skills"] #service-title{max-width:290px;margin:26px 0}#tools[data-presentation="landing"][data-service="skills"] .idoneus-description-heading{font-size:25px}#tools[data-service="skills"] .idoneus-entry-wave{bottom:-340px}#tools[data-service="skills"] .idoneus-entry-dots{right:20px;bottom:20px}}
