[ng-cloak] { display: none !important; }
body.fisc-identity { display:block; min-height:100vh; height:auto; margin:0; padding:0 0 40px; background:#f3f6f9; color:#495057; font-family:Inter,Arial,sans-serif; }
.grh-header { background:#fff; box-shadow:0 2px 10px #1c38580b; margin-bottom:28px; }
.grh-topbar { max-width:1600px; margin:auto; padding:16px 30px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.grh-brand { display:flex; align-items:center; gap:14px; color:#254b78; font-size:24px; font-weight:750; text-decoration:none; }
.grh-brand img { width:82px; height:48px; object-fit:contain; }
.grh-brand small,.grh-account small { display:block; font-size:12px; color:#878a99; font-weight:400; }
.grh-account { display:flex; align-items:center; gap:12px; font-size:14px; }
.grh-account>i { font-size:32px; color:#3a75c4; }
.grh-navigation { display:flex; flex-wrap:wrap; justify-content:center; gap:4px; padding:8px 20px; border-top:1px solid #edf0f4; }
.grh-navigation a { display:flex; align-items:center; gap:8px; color:#64748b; padding:10px 15px; border-radius:6px; text-decoration:none; font-size:13px; }
.grh-navigation a:hover,.grh-navigation a.active { color:#3a75c4; background:#edf3fc; }
.grh-navigation a.active { font-weight:600; }
.grh-navigation i { font-size:18px; }
.grh-menu-toggle { display:none; }
body.fisc-identity>.container,body.fisc-identity>.container-fluid { width:calc(100% - 48px); max-width:1600px; margin:0 auto; padding:24px; border:1px solid #e9edf2; border-radius:10px; background:#fff; box-shadow:0 3px 15px #1c385805; }
body.fisc-identity>.form-container,body.fisc-identity>.login-container,body.fisc-identity>.message-box { width:calc(100% - 32px); max-width:760px; margin:30px auto; padding:30px; border-radius:12px; border:1px solid #e9edf2; background:#fff; box-shadow:0 3px 15px #1c385808; }
body.fisc-identity h1 { font-size:24px; color:#334155; text-shadow:none; letter-spacing:0; text-transform:none; }
body.fisc-identity h2:where(:not(.agent-sheet h2)) { color:#334155; }
body.fisc-identity .table thead th { background:#f3f6f9; color:#64748b; border-bottom:1px solid #e9ebec; font-size:12px; text-transform:uppercase; letter-spacing:.035em; padding:14px 12px; }
body.fisc-identity .table td { padding:12px; vertical-align:middle; border-color:#eff2f5; font-size:13px; }
body.fisc-identity .card { border:1px solid #e9edf2; border-radius:9px; box-shadow:0 3px 12px #1c385806; }
body.fisc-identity .records-container .card:hover { transform:none; }
body.fisc-identity .records-container .bg-dark { background:linear-gradient(110deg,#254b78,#3a75c4)!important; }
body.fisc-identity .records-container .bg-dark h2 { color:#fff; }
body.fisc-identity .user-info { border-bottom:1px solid #edf0f4; padding-bottom:18px; gap:6px; }
body.fisc-identity .btn,body.fisc-identity .dashboard-button { border-radius:6px; font-size:13px; }
body.fisc-identity input[type="submit"],body.fisc-identity .dashboard-button { background:#3a75c4; color:white; border:0; padding:11px 18px; border-radius:6px; }
body.fisc-identity label { color:#495057; font-weight:600; font-size:13px; }
body.fisc-identity .form-control,body.fisc-identity .form-select { border-color:#dfe5ed; min-height:40px; font-size:14px; }
body.fisc-identity .mr-3 { margin-right:1rem!important; } body.fisc-identity .mr-2 { margin-right:.5rem!important; } body.fisc-identity .ml-2 { margin-left:.5rem!important; }
body.fisc-identity .text-right { text-align:right!important; } body.fisc-identity .float-right { float:right!important; }
body.fisc-identity .close { float:right; border:0; background:transparent; color:inherit; font-size:24px; }
body.fisc-identity .table-responsive { width:100%; overflow-x:auto; }
.grh-login .login-logo { max-height:95px; max-width:210px; }
.grh-login .login-card .form-control { padding:12px 14px; }
.grh-login .login-password-field .form-control { padding-right:48px; }
.grh-login .login-submit { width:100%; padding:12px; color:white; font-weight:600; }
.grh-login .login-error { margin:0 0 20px; padding:14px; }
@media(max-width:767px) {
 .grh-topbar { padding:14px 16px; gap:10px; } .grh-menu-toggle { display:block; } .grh-account { margin-left:auto; } .grh-account>span { display:none; }
 .grh-brand { font-size:20px; } .grh-brand img { width:60px; } .grh-brand small { font-size:10px; }
 .grh-navigation { display:none; flex-direction:column; padding:12px 16px; } .grh-navigation.is-open { display:flex; }
 body.fisc-identity>.container,body.fisc-identity>.container-fluid { width:calc(100% - 24px); padding:16px; } .grh-header { margin-bottom:16px; }
 body.fisc-identity .user-info { justify-content:flex-start; } body.fisc-identity h1 { font-size:21px; }
}
@media print { .grh-header,.user-info { display:none!important; } body.fisc-identity { background:#fff; } }
:root {
 --grh-navy:#232b50; --grh-blue:#315fc4; --grh-primary-dark:#1e427d; --grh-gold:#f4be31;
 --grh-text:#24324a; --grh-muted:#728097; --grh-background:#f3f5fa; --grh-border:#e2e8f2;
 --grh-radius:16px; --grh-shadow:0 5px 24px rgba(35,43,80,.055);
 --vz-primary:#315fc4; --vz-primary-rgb:49,95,196; --vz-link-color:#315fc4;
}
body.fisc-identity { background:var(--grh-background); color:var(--grh-text); font-family:"Segoe UI",Arial,sans-serif; line-height:1.55; }
.fisc-identity .agents-page,.fisc-identity .spa-page,.fisc-identity .login-page { font-family:"Segoe UI",Arial,sans-serif; }
.fisc-identity .agents-heading,.fisc-identity .spa-page h1,.fisc-identity .spa-page h2,.fisc-identity .login-card-heading h1 { font-family:inherit; }
.grh-header { background:var(--grh-navy); margin-bottom:20px; box-shadow:var(--grh-shadow); }
.grh-topbar { padding:16px 28px; max-width:1540px; }
.grh-brand { color:#fff; font-size:26px; letter-spacing:-.5px; gap:18px; }
.grh-brand:hover { color:#fff; }.grh-brand img { width:180px; height:62px; object-fit:contain; }
.grh-brand small { color:#d2d8ed; letter-spacing:.02em; font-size:11px; }
.grh-account { color:#fff; }.grh-account>i { color:#a3bdf7; }.grh-account small { color:#bdc7df; }
.grh-navigation { background:#fff; border-top:3px solid var(--grh-gold); padding:9px 20px; gap:6px; }
.grh-navigation a { color:#64718b; padding:10px 16px; border-radius:9px; font-weight:550; }
.grh-navigation a.active { color:var(--grh-blue); background:#edf2fd; box-shadow:inset 0 -2px var(--grh-blue); }
.grh-menu-toggle { color:var(--grh-navy); }
.grh-pagebar { max-width:1500px; margin:0 auto; padding:0 24px 20px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.grh-pagebar nav { display:flex; align-items:center; gap:9px; color:var(--grh-muted); font-size:12px; }
.grh-pagebar [aria-current] { font-weight:600; color:var(--grh-text); }
.grh-back { display:inline-flex; gap:8px; align-items:center; border:1px solid var(--grh-border); padding:8px 15px; border-radius:10px; background:#fff; color:var(--grh-primary-dark); font-size:13px; font-weight:650; transition:background .15s,border-color .15s; }
.grh-back:hover { background:#eaf0fd; border-color:#adbfeb; }.grh-back:focus-visible { outline:3px solid #9bb6ef; outline-offset:3px; }
.grh-pagebar.is-guest { position:absolute; top:18px; left:0; right:0; z-index:3; max-width:none; padding:0 24px; }
.grh-pagebar.is-guest nav,.grh-pagebar.is-guest [aria-current] { color:#fff; }.grh-pagebar.is-guest .grh-back { color:#fff; background:#ffffff15; border-color:#ffffff50; }
.fisc-identity .agents-page { --kin-blue-dark:var(--grh-primary-dark); --kin-blue:var(--grh-blue); --kin-text:var(--grh-text); --kin-text-soft:var(--grh-muted); --kin-radius:var(--grh-radius); --kin-shadow:var(--grh-shadow); }
.spa-page,.spa-view>.agents-page { max-width:1500px; padding-top:0; }
.spa-page.spa-narrow { max-width:760px; }
.fisc-identity .spa-panel,.fisc-identity .agents-card { border:1px solid var(--grh-border); border-radius:var(--grh-radius); box-shadow:var(--grh-shadow); }
.fisc-identity .agents-heading { font-size:25px; font-weight:750; color:var(--grh-navy); letter-spacing:-.45px; }
.fisc-identity .agents-heading-note { color:var(--grh-muted); font-size:13px; }
.fisc-identity .agents-context-bar { margin-bottom:24px; min-height:46px; }
.fisc-identity .agents-action-btn,.fisc-identity .btn { border-radius:9px; font-size:13px; font-weight:600; }
.fisc-identity .btn-primary,.fisc-identity .agents-action-btn.primary { background:var(--grh-blue); border-color:var(--grh-blue); color:#fff; }
.fisc-identity .btn-primary:hover,.fisc-identity .agents-action-btn.primary:hover { background:var(--grh-primary-dark); border-color:var(--grh-primary-dark); }
.fisc-identity .form-control,.fisc-identity .form-select { border-color:var(--grh-border); border-radius:9px; font-size:14px; min-height:42px; }
.fisc-identity .form-control:focus,.fisc-identity .form-select:focus { border-color:#8aa6e8; box-shadow:0 0 0 3px #315fc415; }
.fisc-identity .form-label { font-size:12px; font-weight:650; color:#45536c; margin-bottom:7px; }
.fisc-identity .alert { border-radius:11px; font-size:13px; }
.fisc-identity .agents-card-header { border-bottom:1px solid #edf0f7; min-height:72px; }
.fisc-identity .agents-card-title { color:var(--grh-navy); }.fisc-identity .agents-card-title::before { background:var(--grh-blue); }
.fisc-identity .agents-table thead th { background:#f8f9fd; color:#78839b; }.fisc-identity .agents-table tbody tr:hover { background:#f8faff; }
.fisc-identity .spa-dialog { border:1px solid var(--grh-border); border-radius:18px; }.spa-dialog-header { background:#f6f8fe; }
.grh-footer { max-width:1500px; margin:30px auto 0; padding:18px 24px 0; border-top:1px solid var(--grh-border); color:var(--grh-muted); font-size:11px; text-align:center; }
.grh-login .login-shell { background:linear-gradient(125deg,#1b2345ee,#273b70e8),url('../images/auth-one-bg.jpg') center/cover fixed; padding-top:90px; }
.grh-login .login-logo { max-width:310px; max-height:108px; width:100%; }
.grh-login .login-card { border-radius:20px; border-top:4px solid var(--grh-gold); padding-top:30px; box-shadow:0 25px 75px #10182c55; }
.grh-login .login-eyebrow { color:var(--grh-blue); }.grh-login .login-card-heading h1 { color:var(--grh-navy); }
.grh-login .login-submit { background:var(--grh-blue); box-shadow:0 6px 18px #315fc42b; border:0; }.grh-login .login-submit:hover { background:var(--grh-primary-dark); }
.grh-idle-dialog { border:1px solid var(--grh-border); max-height:calc(100vh - 32px); overflow:auto; }
.grh-idle-dialog::backdrop { background:#111a35a6; backdrop-filter:blur(4px); }
.fisc-identity .card-preview .regie { color:#24324a; }
@media(max-width:767px){.grh-topbar{padding:12px 16px;gap:10px}.grh-brand{gap:10px;font-size:21px}.grh-brand img{width:130px;height:46px}.grh-brand small{font-size:9px}.grh-pagebar{padding:0 12px 16px}.grh-pagebar.is-guest{padding:0 14px}.fisc-identity .agents-heading{font-size:22px}.grh-navigation{border-top-width:2px}.grh-account{gap:8px}}
@media(max-width:480px){.grh-brand img{width:108px;height:40px}.grh-brand>span{font-size:19px}.grh-brand small{max-width:100px;line-height:1.4}.grh-topbar{gap:8px}.grh-pagebar nav{font-size:10px}.grh-pagebar.is-guest nav{display:none}.grh-login .login-logo{max-width:255px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
@media print{.grh-pagebar,.grh-footer,.grh-idle-dialog{display:none!important}.fisc-identity .card-preview .regie{font-size:8px}}

.fisc-identity .white-table-panel,.fisc-identity .white-table-panel .agents-table-wrap,.fisc-identity .white-table-panel .agents-table,.fisc-identity .white-table-panel tbody td {background-color:#fff;}
.agent-wizard-steps{display:flex;gap:12px;list-style:none;padding:0;margin:0 0 28px;flex-wrap:wrap;}
.agent-wizard-steps li{display:flex;align-items:center;gap:8px;flex:1;color:#637084;padding:12px;background:#f3f5fa;border-radius:10px;min-width:170px;}
.agent-wizard-steps li span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e1e6ef;flex-shrink:0;}
.agent-wizard-steps li.active{background:#eaf0ff;color:#234da1;font-weight:600;}
.agent-wizard-steps li.active span{background:#315fc4;color:#fff;}
.agent-wizard-actions{display:flex;gap:12px;padding-top:20px;border-top:1px solid #edf0f7;}
.agent-wizard-actions .ms-auto{margin-left:auto!important;}

/* Confirmations de connexion et de déconnexion. */
.fisc-identity .auth-confirm-dialog{width:calc(100% - 32px);max-width:460px;padding:0;border:1px solid #ffffff80;border-radius:24px;background:#fff;box-shadow:0 28px 90px #10182c55;overflow:visible;animation:auth-confirm-enter .2s ease-out;}
.auth-confirm-dialog::backdrop{background:#111a35a6;backdrop-filter:blur(7px);}
.auth-confirm-heading{text-align:center;padding:32px 28px 20px;background:linear-gradient(180deg,#edf2fd 0%,#fff 100%);border-radius:24px 24px 0 0;}
.auth-confirm-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:22px;color:#315fc4;background:#fff;box-shadow:0 8px 24px #315fc419;border:1px solid #e2e8f2;font-size:32px;transform:rotate(-6deg);}
.auth-confirm-icon i{transform:rotate(6deg);}
.auth-confirm-eyebrow{display:block;margin-bottom:9px;color:#728097;font-size:10px;font-weight:750;letter-spacing:1.8px;}
.auth-confirm-heading h2{font-size:24px;font-weight:750;letter-spacing:-.6px;color:#232b50;margin:0 0 10px;}
.auth-confirm-subtitle{font-size:13px;color:#728097;margin:0;line-height:1.6;}
.auth-confirm-body{padding:0 28px 28px;text-align:center;color:#45536c;font-size:14px;}
.auth-confirm-body>p{margin:0 0 25px;line-height:1.7;overflow-wrap:anywhere;}
.auth-confirm-body strong{color:#232b50;}
.auth-confirm-actions{display:flex;gap:12px;}
.auth-confirm-actions .btn{flex:1;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;}
.auth-confirm-actions .btn-outline-secondary{border-color:#e2e8f2;color:#637084;background:#fff;}
.auth-confirm-actions .btn-outline-secondary:hover{background:#f3f5fa;color:#232b50;}
.auth-confirm-dialog.is-logout .auth-confirm-heading{background:linear-gradient(180deg,#fff7ed 0%,#fff 100%);}
.auth-confirm-dialog.is-logout .auth-confirm-icon{color:#b86b16;border-color:#f5e8d7;box-shadow:0 8px 24px #b86b1612;}
.auth-confirm-dialog.is-logout .auth-confirm-submit{background:#232b50;border-color:#232b50;}
.auth-confirm-dialog.is-logout .auth-confirm-submit:hover{background:#1b2345;border-color:#1b2345;}
@keyframes auth-confirm-enter{from{opacity:0;transform:translateY(10px) scale(.98);}to{opacity:1;transform:translateY(0) scale(1);}}
@media(max-width:480px){.auth-confirm-heading{padding:26px 20px 18px;}.auth-confirm-body{padding:0 20px 24px;}.auth-confirm-heading h2{font-size:22px;}.auth-confirm-actions{flex-direction:column-reverse;}}
@media(prefers-reduced-motion:reduce){.auth-confirm-dialog{animation:none;}}

.agent-sheet-hero{display:flex;align-items:center;gap:24px;padding:30px;border-radius:18px;background:linear-gradient(120deg,#232b50,#314576);border-bottom:4px solid #f4be31;color:#fff;}
.agent-sheet-photo{width:108px;height:120px;object-fit:cover;border-radius:16px;border:3px solid #ffffff60;flex-shrink:0;}
.agent-sheet-initials{display:grid;place-items:center;background:#ffffff15;font-size:34px;font-weight:700;}
.agent-sheet-identity h2{color:#fff;font-size:26px;margin:8px 0;overflow-wrap:anywhere;}.agent-sheet-identity p{color:#d2d8ed;}
.agent-sheet-eyebrow{font-size:10px;letter-spacing:2px;color:#f4be31;font-weight:700;}
.agent-sheet-links{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0;}
.agent-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.agent-sheet-section-title{display:flex;gap:10px;align-items:center;font-size:17px!important;color:#232b50;margin-bottom:24px;}.agent-sheet-section-title i{color:#315fc4;}
.agent-sheet-fields{margin:0;}.agent-sheet-fields>div{display:grid;grid-template-columns:42% minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid #edf0f7;}.agent-sheet-fields>div:last-child{border:0;}
.agent-sheet-fields dt{font-size:12px;color:#728097;font-weight:600;}.agent-sheet-fields dd{margin:0;font-size:14px;color:#24324a;overflow-wrap:anywhere;}
.agent-sheet-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px;font-size:13px;color:#728097;}
@media(max-width:767px){.agent-sheet-grid{grid-template-columns:1fr;}.agent-sheet-hero{padding:22px;gap:16px;}.agent-sheet-photo{width:78px;height:90px;}.agent-sheet-identity h2{font-size:21px;}}

/* Adaptation du conteneur FiscKin au gabarit GRH. */
body.fisc-identity .fisc-legacy-chrome,body.fisc-identity .app-menu.navbar-menu,body.fisc-identity .vertical-overlay{display:none!important;}
html body.fisc-identity #layout-wrapper{padding:0!important;margin:0!important;min-height:100vh;}
html body.fisc-identity .main-content{margin:0!important;padding:0!important;}
html body.fisc-identity .page-content{padding:0!important;margin:0!important;}
html body.fisc-identity .page-content>.container-fluid{max-width:1500px;padding:0 24px 32px;margin:0 auto;}
body.fisc-identity .grh-header .grh-brand{color:#fff;}
body.fisc-identity .grh-header .grh-brand small{color:#d2d8ed;}
body.fisc-identity .grh-navigation a{display:flex;align-items:center;gap:8px;}
body.fisc-identity .grh-navigation a:hover{color:#315fc4;background:#edf2fd;}
body.fisc-identity .grh-header{position:relative;z-index:20;}
body.fisc-identity .grh-header .grh-account>a{color:#fff;}
body.fisc-identity .grh-header .grh-account>a:hover{color:#d2d8ed;}
body.fisc-identity .fisc-pagebar{max-width:1500px;margin:0 auto;padding:0 0 20px;min-height:58px;}
body.fisc-identity .fisc-pagebar .fisc-back{display:inline-flex;align-items:center;gap:8px;border:1px solid #e2e8f2;padding:8px 15px;border-radius:10px;background:#fff;color:#1e427d;font-size:13px;font-weight:650;}
body.fisc-identity .fisc-guest-pagebar{padding:0;min-height:0;}
body.fisc-identity .fisc-guest-pagebar .fisc-back{color:#fff;background:#ffffff15;border-color:#ffffff50;}
body.fisc-identity :is(.decl-heading,.page-title-box h4){font-size:25px;font-weight:750;letter-spacing:-.45px;color:#232b50;}
body.fisc-identity :is(.decl-page,.tax-declaration-page){font-family:'Segoe UI',Arial,sans-serif;padding:0;}
body.fisc-identity .decl-card{border:1px solid #e2e8f2;border-radius:16px;box-shadow:0 5px 24px #232b500e;}
body.fisc-identity .decl-table thead th{background:#f8f9fd;color:#78839b;}
body.fisc-identity .grh-footer{position:static;width:auto;height:auto;}
body.fisc-identity .login-page .login-shell{background:linear-gradient(125deg,#1b2345ee,#273b70e8),url('../images/auth-one-bg.jpg') center/cover fixed;padding-top:90px;}
body.fisc-identity .login-page .login-logo{max-width:310px;max-height:108px;width:100%;}
body.fisc-identity .login-page .login-card{border-radius:20px;border-top:4px solid #f4be31;padding-top:30px;box-shadow:0 25px 75px #10182c55;}
@media(max-width:767px){html body.fisc-identity .page-content>.container-fluid{padding:0 12px 24px;}body.fisc-identity .grh-account{gap:8px;}body.fisc-identity .grh-account>span{display:none;}body.fisc-identity .grh-topbar{padding:12px 16px;}}
@media print{.grh-header,.grh-footer,.fisc-pagebar,.fisc-legacy-chrome{display:none!important;}}
