:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:#182d45;background:#f4f7fa;font-size:15px}*{box-sizing:border-box}body{margin:0;min-height:100svh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3f8cf6;outline-offset:3px}.boot{height:100svh;background:#11263d;color:#fff;display:flex;gap:18px;align-items:center;justify-content:center;flex-direction:column}.boot-logo{font-size:55px;font-weight:850;letter-spacing:-.1em}.boot span{color:#c9d7e7;font-size:13px}.login-screen{display:grid;min-height:100svh;grid-template-columns:minmax(240px,1fr) minmax(350px,1fr)}.login-brand{background:linear-gradient(145deg,#11263d,#1d4062);color:#fff;padding:clamp(24px,7vw,76px);display:flex;flex-direction:column;justify-content:space-between;min-height:450px}.logo{font-weight:900;letter-spacing:-.08em;font-size:32px}.brand-tag{font-size:12px;font-weight:700;letter-spacing:.22em;color:#acc6d9}.login-brand h1{font-size:clamp(31px,4.5vw,55px);letter-spacing:-.055em;line-height:1.06;max-width:450px}.quote{max-width:430px;color:#bdd1e3;font-size:16px;line-height:1.55}.login-pane{background:#fff;display:flex;align-items:center;justify-content:center;padding:32px}.login-card{width:100%;max-width:398px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#53809e}.login-card h2{font-size:30px;letter-spacing:-.04em;margin:8px 0}.muted{color:#60758c;line-height:1.55}.field{display:grid;gap:7px;margin-top:16px}.field label{font-size:12px;font-weight:750}.field input,.field select{height:46px;border:1px solid #d8e1eb;border-radius:11px;padding:0 13px;max-width:100%;background:#fff;color:#172d44}.primary,.secondary,.linkish{border-radius:11px;padding:11px 17px;font-weight:750;border:1px solid transparent}.primary{background:#1c4d78;color:#fff}.primary:hover{background:#103b62}.secondary{background:#fff;color:#1b466b;border-color:#ccdae7}.linkish{background:transparent;border:0;padding:8px 0;color:#225f93}.field + .primary,.login-card form>.primary{margin-top:20px;width:100%;min-height:46px}.form-links{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-top:12px}.error{background:#fff1f0;color:#9c2424;border:1px solid #ffd9d6;border-radius:10px;padding:12px;margin:13px 0}.note{background:#f2f7fb;border:1px solid #dbe8f2;border-radius:12px;padding:13px;color:#49637c;font-size:13px;line-height:1.5}.layout{max-width:1180px;padding:0 24px;margin:0 auto}.topbar{height:70px;background:#fff;border-bottom:1px solid #e4eaf0}.topbar>.layout{display:flex;align-items:center;justify-content:space-between;height:100%;gap:12px}.top-left{display:flex;align-items:center;gap:20px}.top-brand{font-weight:900;letter-spacing:-.07em;font-size:27px;color:#123251}.top-brand small{margin-left:4px;font-size:13px;font-weight:650;letter-spacing:0}.top-nav{display:flex;gap:8px}.top-nav button{background:none;border:0;color:#66778c;padding:9px 11px;border-radius:9px;font-size:13px;font-weight:700}.top-nav button.active{color:#103e62;background:#e9f2fb}.top-right{display:flex;gap:12px;align-items:center}.account{font-size:12px;color:#66788d}.header-actions{display:flex;gap:8px}.header-actions button{border:0;background:#f2f6fa;color:#344e67;border-radius:9px;padding:9px 12px}.content{padding-top:30px;padding-bottom:70px}.intro{display:flex;gap:16px;justify-content:space-between;align-items:start;margin-bottom:24px}.intro h1{margin:4px 0;font-size:clamp(25px,3.6vw,36px);letter-spacing:-.05em}.intro p{color:#657a90;max-width:620px;line-height:1.55}.capsule{font-size:11px;font-weight:750;white-space:nowrap;background:#eaf0f7;color:#3b617f;padding:7px 10px;border-radius:999px}.apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.app-card{position:relative;min-height:160px;background:#fff;border:1px solid #e1e8f0;border-radius:17px;padding:18px;display:flex;flex-direction:column;gap:9px;box-shadow:0 5px 22px rgba(16,40,65,.035)}.app-card .app-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.app-card strong{font-size:18px}.app-card .emoji{font-size:23px}.app-card p{margin:0;font-size:12px;line-height:1.5;color:#73879a;flex:1}.tag{font-size:10px;font-weight:750;color:#697d91;background:#f2f5f9;border-radius:999px;padding:5px 7px;display:inline-block}.tag.good{background:#ebf7ef;color:#207346}.app-card .status{font-size:12px;font-weight:750;color:#2f668c}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}.card{background:#fff;border:1px solid #e1e8ef;border-radius:16px;padding:20px;box-shadow:0 6px 20px rgba(16,40,65,.025)}.card h2{font-size:16px;margin:0 0 13px}.card h3{font-size:14px}.card p{color:#637b90;font-size:13px;line-height:1.55}.kpi{font-size:29px;font-weight:850;letter-spacing:-.06em}.table-scroll{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:13px 10px;border-bottom:1px solid #e9eef3;font-size:13px}.table th{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#71869a}.table tr:last-child td{border:0}.stack{display:grid;gap:14px}.wide{grid-column:1/-1}.empty{padding:26px 12px;text-align:center;color:#6f8295}.footer{border-top:1px solid #e2e9ef;padding:15px 24px;background:#fff;color:#7d8b9a;font-size:12px}.footer .layout{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.footer button{background:none;border:0;color:#476982;font-weight:750}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hint{color:#7a8fa1;font-size:12px}.leave-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.leave-grid input,.leave-grid select{width:100%}.leave-result{margin-top:20px;background:#edf6fc;border:1px solid #cfe2f2;padding:15px;border-radius:13px}.toast{position:fixed;bottom:22px;right:22px;z-index:100;background:#1c3b55;color:#fff;padding:13px 18px;border-radius:12px;box-shadow:0 12px 32px #23394e44}.mfa-qr{width:180px;height:180px;display:block;margin:12px auto}.secret{word-break:break-all;font-family:ui-monospace,monospace;font-size:12px;background:#f3f7fa;border-radius:8px;padding:9px}.mobile-nav{display:none}@media(max-width:760px){.login-screen{grid-template-columns:1fr}.login-brand{min-height:160px;padding:26px}.login-brand h1{font-size:30px;margin:16px 0 4px}.brand-tag,.login-brand .quote{display:none}.login-pane{align-items:start;padding:30px 22px}.top-nav{display:none}.layout{padding-left:16px;padding-right:16px}.account{display:none}.top-brand{font-size:24px}.topbar{height:62px}.content{padding-top:23px}.intro{align-items:start}.intro h1{font-size:27px}.apps{gap:8px}.app-card{padding:11px;min-height:154px;border-radius:13px}.app-card strong{font-size:13px}.app-card .emoji{font-size:19px}.app-card p{font-size:10px;line-height:1.35}.app-card .status{font-size:10px}.app-card .tag{font-size:9px;padding:4px}.cards{grid-template-columns:1fr}.leave-grid{grid-template-columns:1fr}.mobile-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;justify-content:space-around;border-top:1px solid #e3eaf1;padding:8px 8px max(8px,env(safe-area-inset-bottom));box-shadow:0 -3px 15px #11263d0b}.mobile-nav button{border:0;background:transparent;font-size:12px;color:#44667e;padding:8px}.content{padding-bottom:100px}.footer{padding-bottom:95px}.footer .layout{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.mt14{margin-top:14px}.mt16{margin-top:16px}.mt18{margin-top:18px}.mt25{margin-top:25px}

/* TAC 2.20 – navigation entre le Cloud et les menus détaillés restaurés */
.app-detail{margin-top:auto;width:100%;min-height:39px;font-size:12px;padding:9px 12px}
.app-card .linkish{text-align:left;font-size:12px;cursor:pointer}
.atelier-notice{background:#eaf3fc;border:1px solid #c8ddeb;color:#234766;padding:14px 17px;border-radius:14px;margin-top:16px;font-size:13px;line-height:1.5}
.atelier-notice .linkish{margin-left:10px}
.legacy-shell-page{height:100dvh;display:flex;flex-direction:column;background:#f4f7fa;overflow:hidden}
.legacy-topbar{height:62px;flex-shrink:0;background:#142e46;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px clamp(10px,2.5vw,26px)}
.legacy-head{display:flex;align-items:center;gap:12px;min-width:0}.legacy-logo{font-size:25px;letter-spacing:-.07em;font-weight:900}.legacy-head div{display:flex;flex-direction:column;gap:2px}.legacy-head strong{font-size:14px}.legacy-head small{color:#bed0df;font-size:11px}.legacy-topbar nav{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.legacy-topbar button{background:#244b69;color:#fff;border:1px solid #3f627e;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:700}
.legacy-topbar button:hover{background:#35668d}
.legacy-explainer{flex-shrink:0;background:#fff7e8;border-bottom:1px solid #f1d7ac;color:#795522;font-size:12px;padding:9px clamp(12px,2.5vw,26px);line-height:1.4}
#tac-legacy-frame{border:0;width:100%;height:100%;min-height:0;flex:1;background:#f5f7fb}
@media(max-width:680px){.legacy-topbar{height:auto;min-height:57px;padding:8px 10px}.legacy-head small{display:none}.legacy-topbar nav{gap:2px}.legacy-topbar nav button{padding:7px 5px;font-size:10px}.legacy-topbar nav button:nth-child(2){display:none}.legacy-explainer{font-size:11px;padding:7px 10px}.atelier-notice{font-size:12px}.app-card{min-height:230px}.app-card .linkish{font-size:11px}}
@media(max-width:380px){.legacy-topbar button{font-size:9px}.legacy-head strong{font-size:12px}}
