
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f4f6f8;color:#16202b}button,input,select,textarea{font:inherit}button{cursor:pointer}
.hidden{display:none!important}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,#17283c,#050b13);padding:20px}.login-card{width:min(440px,100%);background:#fff;border-radius:20px;padding:34px;box-shadow:0 20px 70px #0008;text-align:center}.logo{width:100%;max-width:360px;max-height:110px;object-fit:contain}.login-card h1{margin:15px 0 4px}.login-card p{color:#687586}.login-card form{text-align:left;margin-top:25px}.login-card label,.form label{display:block;font-weight:700;font-size:13px;margin:13px 0}.login-card input,.form input,.form select,.form textarea{width:100%;padding:12px;border:1px solid #d5dce3;border-radius:10px;margin-top:6px;background:#fff}.primary{border:0;border-radius:10px;background:#b88622;color:white;padding:12px 18px;font-weight:800;width:100%}
aside{position:fixed;inset:0 auto 0 0;width:245px;background:#07101d;color:#dce5ee;padding:18px;overflow:auto}.brand img{width:100%;height:65px;object-fit:contain;background:#06101c;border-radius:8px}.brand b{display:block;text-align:center;margin:8px}.who{background:#101d2d;border-radius:12px;padding:12px;margin:12px 0;font-size:13px}nav button,.logout{display:block;width:100%;border:0;background:transparent;color:#b9c5d1;text-align:left;padding:10px 11px;border-radius:9px;margin:2px 0}nav button:hover,nav button.active{background:#16283b;color:#fff}.logout{margin-top:15px;border-top:1px solid #233346;padding-top:16px}
main{margin-left:245px;min-height:100vh}header{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #e3e8ed;padding:18px 25px;display:flex;justify-content:space-between;align-items:center}header small{color:#8a6a25;font-weight:800}header h2{margin:4px 0}.content{padding:25px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px}.card{background:#fff;border:1px solid #e1e6eb;border-radius:14px;padding:18px;box-shadow:0 5px 18px #0b1a2a08}.kpi b{font-size:28px;display:block;margin-top:8px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.toolbar button{border:0;background:#172b40;color:#fff;padding:10px 14px;border-radius:9px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:11px;border-bottom:1px solid #edf0f3;text-align:left;font-size:13px}.table th{background:#f7f9fa}.danger{background:#9f2f2f!important;color:#fff;border:0;border-radius:8px;padding:8px}.ok{background:#27754a!important;color:#fff;border:0;border-radius:8px;padding:8px}.muted{color:#728092}.tag{display:inline-block;padding:4px 8px;border-radius:20px;background:#edf1f5;font-size:11px;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.modal{position:fixed;inset:0;background:#0008;display:grid;place-items:center;z-index:20;padding:20px}.modal-card{background:#fff;border-radius:16px;padding:25px;width:min(650px,100%);max-height:90vh;overflow:auto}.modal-card>button:first-child{float:right;border:0;background:none;font-size:28px}.notice{padding:12px;border-left:4px solid #b88622;background:#faf7ef;border-radius:8px;margin:8px 0}.success{padding:12px;background:#eaf7ef;border-radius:8px}.error{padding:12px;background:#fff0f0;color:#9d2222;border-radius:8px}
@media(max-width:800px){aside{position:static;width:auto;min-height:auto}main{margin-left:0}nav{display:grid;grid-template-columns:1fr 1fr}.content{padding:14px}.form-grid{grid-template-columns:1fr}header{position:static}.brand{display:flex;align-items:center;gap:10px}.brand img{width:180px}}
.passbox{display:flex;align-items:center;gap:0}.passbox input{flex:1}.eye{border:1px solid #d1d5db;background:#fff;padding:10px 12px;cursor:pointer;border-radius:0 8px 8px 0}.passbox input{border-radius:8px 0 0 8px}

.password-wrap{position:relative;display:flex}.password-wrap input{flex:1}.eye-btn{width:44px;border:1px solid #ccc;background:#fff;cursor:pointer;border-radius:0 6px 6px 0}.password-wrap input{border-radius:6px 0 0 6px}
.clock{font-size:13px;font-weight:600;text-align:right}.secondary{margin:2px}.form input{width:100%;box-sizing:border-box}
@media print{aside,header,.toolbar,.modal,.danger,.secondary{display:none!important}main{margin:0!important}body{background:#fff!important}.card{box-shadow:none!important;border:0!important}}
.sig-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0}.sig-editor>div{border:1px solid #d9dee7;border-radius:10px;padding:12px;background:#fafbfc}.sig-editor label{display:block;margin-top:8px}.sig-editor input{width:100%;box-sizing:border-box}.clock{font-size:13px;font-weight:600;text-align:right;line-height:1.35}.secondary{margin:2px}.danger{margin:2px}.table td{vertical-align:top}@media(max-width:900px){.sig-editor{grid-template-columns:1fr}.table-wrap{overflow:auto}.table{min-width:850px}}

.delete-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.delete-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.delete-card{display:flex;align-items:center;gap:10px;border:1px solid #ddd;border-radius:10px;padding:12px;background:#fff}.delete-card input{width:20px;height:20px}.delete-card span{display:flex;flex-direction:column;gap:4px}.delete-card small{color:#666}@media(max-width:600px){.delete-toolbar button{width:100%}}

.nav-section{font-size:10px;letter-spacing:.12em;font-weight:700;opacity:.65;padding:12px 12px 5px}
.warning{padding:10px;border:1px solid #d4a52c;border-radius:8px;background:#fff8df}

/* AURA RH - démarrage plein écran */
.startup-splash{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#030714;color:#fff;opacity:1;transition:opacity .35s ease;}
.startup-splash.startup-fade-out{opacity:0;pointer-events:none}
.startup-center{position:relative;z-index:3;width:min(88vw,760px);display:flex;flex-direction:column;align-items:center;justify-content:center;animation:startupAppear .9s ease-out both}
.startup-logo{display:block;width:min(82vw,680px);height:min(82vw,680px);max-height:66vh;object-fit:contain;filter:drop-shadow(0 0 18px rgba(139,72,255,.55)) drop-shadow(0 0 55px rgba(111,42,255,.28));animation:startupZoom 5.6s ease-in-out infinite alternate}
.startup-title{margin-top:8px;font-size:clamp(28px,6vw,58px);font-weight:800;letter-spacing:.16em;background:linear-gradient(90deg,#fff,#cdaeff,#8f4cff);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 24px rgba(141,67,255,.22)}
.startup-subtitle{font-size:clamp(12px,2.6vw,22px);letter-spacing:.42em;margin-left:.42em;opacity:.9}
.startup-progress-wrap{position:absolute;z-index:5;left:24px;bottom:26px;width:min(58vw,560px);}
.startup-percent{font-size:clamp(18px,4vw,30px);font-weight:800;margin-bottom:8px;text-shadow:0 0 14px rgba(164,99,255,.55)}
.startup-track{height:8px;border-radius:99px;background:rgba(255,255,255,.13);overflow:hidden;box-shadow:inset 0 0 8px rgba(0,0,0,.5)}
.startup-bar{height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#7b2cff,#c28cff,#fff);box-shadow:0 0 18px rgba(151,76,255,.9);transition:width .05s linear}
.startup-caption{margin-top:9px;font-size:clamp(9px,1.8vw,14px);letter-spacing:.13em;text-transform:uppercase;opacity:.68}
.startup-glow{position:absolute;border-radius:50%;filter:blur(50px);pointer-events:none;z-index:1;animation:startupGlow 3s ease-in-out infinite alternate}
.startup-glow-a{width:42vw;height:42vw;left:29vw;top:20vh;background:rgba(116,47,255,.24)}
.startup-glow-b{width:28vw;height:28vw;right:-8vw;bottom:-6vw;background:rgba(39,73,255,.17);animation-delay:1s}
@keyframes startupAppear{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@keyframes startupZoom{from{transform:scale(.985)}to{transform:scale(1.015)}}
@keyframes startupGlow{from{transform:scale(.9);opacity:.55}to{transform:scale(1.08);opacity:1}}
@media (max-width:600px){.startup-logo{max-height:58vh}.startup-progress-wrap{left:18px;right:18px;width:auto;bottom:20px}.startup-center{transform:translateY(-4vh)}.startup-title{font-size:32px}.startup-subtitle{font-size:12px}}

/* AURA RH v2 · menu amélioré */
.nav-search{position:sticky;top:0;z-index:2;padding:4px 0 10px;background:#07101d}.nav-search input{width:100%;box-sizing:border-box;background:#101d2d;color:#fff;border:1px solid #26384d;border-radius:10px;padding:9px 10px;outline:none}.nav-search input::placeholder{color:#8493a5}.app-nav button{display:flex;align-items:center;gap:9px;font-size:13px}.app-nav button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-nav .nav-section{margin-top:9px;color:#8192a6;border-bottom:1px solid #1c2b3b}.app-nav button[data-page="dashboard"]{font-weight:800;background:#12243a;color:#fff}.app-nav button[data-page="dashboard"]:hover,.app-nav button[data-page="dashboard"].active{background:#1a3049}
@media(max-width:800px){.app-nav{grid-template-columns:1fr 1fr;gap:3px}.nav-search{grid-column:1/-1}.app-nav .nav-section{grid-column:1/-1}.app-nav button{min-height:42px}.app-nav button span{white-space:normal}}

.avatar-sm{width:38px;height:38px;border-radius:50%;object-fit:cover;border:1px solid #ddd}.avatar-lg{width:90px;height:90px;border-radius:50%;object-fit:cover;border:1px solid #ddd}.avatar-xl{width:120px;height:120px;border-radius:50%;object-fit:cover;border:2px solid #d4a52c}.account-avatar{margin-bottom:12px}.profile-preview{margin:8px 0 16px}

/* AURA RH V5.1 · interface inspirée de la maquette 1 */
body{background:#f3f6fa;color:#12284a}
aside{width:285px;background:linear-gradient(180deg,#09264d 0%,#061b38 65%,#04152c 100%);padding:0 0 18px;box-shadow:5px 0 20px rgba(5,25,50,.10)}
.brand{background:#fff;padding:12px 16px 10px;border-bottom:1px solid #e5eaf0}.brand img{width:100%;height:120px;background:#fff;border-radius:0;object-fit:contain}.brand b{color:#123b72;font-size:19px;letter-spacing:.04em;margin:3px 0 0}
.who{margin:14px 14px 10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff;border-radius:12px;padding:12px}
.app-nav{padding:0 10px}.nav-search{background:transparent;padding:5px 4px 10px}.nav-search input{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15)}
.app-nav .nav-section{color:#91a7c2;border:0;padding:13px 10px 6px}.app-nav button{color:#dce7f4;padding:12px 13px;border-radius:9px;font-size:14px}.app-nav button:hover,.app-nav button.active{background:#1765bd;color:#fff}.app-nav button[data-page="dashboard"]{background:#1765bd;color:#fff}
main{margin-left:285px;background:#f4f7fb}header{height:84px;padding:14px 30px;border-bottom:1px solid #dfe6ef;background:#fff;box-shadow:0 2px 12px rgba(9,35,65,.05)}header small{color:#c58d0b;letter-spacing:.05em}header h2{color:#123b72;font-size:23px}
.content{padding:24px 30px}.hero-dashboard{min-height:245px;background:linear-gradient(100deg,#0b3970,#0f4f93 58%,#dfeaf6);border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:28px 38px;color:#fff;box-shadow:0 10px 30px rgba(8,42,78,.12);position:relative}.hero-dashboard:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,32,63,.08),rgba(255,255,255,.06));pointer-events:none}.hero-copy{position:relative;z-index:2;max-width:700px}.hero-kicker{font-size:12px;letter-spacing:.14em;font-weight:800;color:#f0bf3b}.hero-copy h1{font-size:38px;margin:7px 0}.hero-copy p{font-size:18px;max-width:560px;margin:0 0 22px;color:#edf5ff}.hero-logo{position:relative;z-index:2;width:270px;max-height:190px;object-fit:contain;filter:drop-shadow(0 8px 15px rgba(0,0,0,.18))}.hero-services{display:flex;gap:0;flex-wrap:wrap}.hero-services>div{min-width:180px;padding:9px 20px;border-left:1px solid rgba(255,255,255,.5);display:grid;grid-template-columns:34px 1fr;column-gap:7px}.hero-services>div:first-child{border-left:0;padding-left:0}.hero-services span{grid-row:span 2;font-size:27px}.hero-services b{font-size:12px}.hero-services small{font-size:10px;color:#d9e7f8}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.dash-kpi{background:#fff;border:1px solid #e1e8f0;border-radius:12px;padding:17px;display:flex;gap:13px;align-items:center;box-shadow:0 5px 18px rgba(10,35,65,.05)}.kpi-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#e8f1fc;font-size:23px}.dash-kpi small{display:block;color:#6e7e90}.dash-kpi b{display:block;font-size:28px;color:#123b72}.dash-kpi a{font-size:11px;color:#1765bd;cursor:pointer}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dashboard-panel{min-height:220px}.panel-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f5;margin:-18px -18px 8px;padding:14px 18px}.panel-title h3{margin:0;color:#123b72;font-size:17px}.panel-title span{font-size:12px;color:#1765bd}.event-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #eef2f5}.event-row:last-child{border-bottom:0}.event-dot{width:9px;height:9px;border-radius:50%;background:#2dbf70;flex:0 0 auto}.event-dot.blue{background:#2e78d1}.event-row>div{flex:1}.event-row b{display:block;color:#1a2e49;font-size:13px}.event-row small{display:block;color:#7b8898;margin-top:3px}.event-row em{font-style:normal;background:#eaf7ef;color:#257a4a;border-radius:7px;padding:5px 8px;font-size:10px}.dashboard-footer-note{display:flex;justify-content:space-between;margin-top:18px;color:#718196;font-size:12px}.dashboard-footer-note b{color:#123b72}
@media(max-width:1050px){.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.hero-logo{width:210px}.hero-copy h1{font-size:32px}}@media(max-width:800px){aside{width:auto;position:static}.brand img{height:95px}main{margin-left:0}.hero-dashboard{padding:25px;min-height:0}.hero-logo{display:none}.dashboard-columns{grid-template-columns:1fr}.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-footer-note{flex-direction:column;gap:6px}.content{padding:15px}}@media(max-width:520px){.dashboard-kpis{grid-template-columns:1fr}.hero-copy h1{font-size:27px}.hero-services>div{min-width:100%;border-left:0;border-top:1px solid rgba(255,255,255,.3);padding:8px 0}.hero-services>div:first-child{border-top:0}.dashboard-footer-note{font-size:11px}}

.loading-card{min-height:180px;display:grid;place-items:center}.error{border:1px solid #efb4b4!important;background:#fff7f7!important;color:#8b1e1e}
.force-password{max-width:520px}.force-password h2{margin-top:0;color:#0a2d5c}.profile-password-hint{margin-top:14px;padding:12px;border-radius:10px;background:#f7f3e8;color:#5d4a16}

/* AURA RH · Messagerie */
.messages-layout{display:grid;grid-template-columns:320px 1fr;gap:16px;min-height:650px}
.messages-sidebar,.chat-panel{background:var(--card,#fff);border:1px solid var(--border,#dfe5ec);border-radius:18px;overflow:hidden}
.messages-head{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid var(--border,#dfe5ec)}
.messages-head small,.person-row small,.chat-header small{display:block;color:#788391;margin-top:3px}
.small{padding:8px 11px!important;font-size:12px!important}
.message-search{margin:14px;width:calc(100% - 28px);box-sizing:border-box;padding:11px 13px;border:1px solid #d7dde5;border-radius:10px}
.message-tabs{display:flex;padding:0 14px;border-bottom:1px solid #e4e8ee}
.message-tabs button{flex:1;background:none;border:0;padding:11px;cursor:pointer;border-bottom:2px solid transparent}
.message-tabs button.active{border-bottom-color:#111827;font-weight:700}
.people-list{max-height:500px;overflow:auto}
.person-row{width:100%;display:flex;gap:11px;align-items:center;text-align:left;border:0;background:transparent;padding:12px 16px;cursor:pointer}
.person-row:hover,.person-row.selected{background:#f2f5f8}
.person-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef1f5;flex:none}
.empty-list,.empty-chat{padding:30px;text-align:center;color:#7b8794}
.chat-panel{display:flex;flex-direction:column;min-width:0}
.chat-header{padding:17px 20px;border-bottom:1px solid #e4e8ee}
.chat-messages{flex:1;min-height:450px;max-height:560px;overflow:auto;padding:18px}
.msg-wrap{display:flex;gap:7px;align-items:flex-start;margin:9px 0}
.msg-wrap.mine{justify-content:flex-end}
.msg-select{margin-top:17px}
.bubble{max-width:72%;background:#f0f3f7;border-radius:15px;padding:9px 12px;position:relative}
.mine .bubble{background:#e7f0ff}
.bubble.deleted{opacity:.65;font-style:italic}
.bubble-meta{font-size:10px;color:#7c8793;margin-bottom:5px}
.bubble-text{white-space:pre-wrap;word-break:break-word}
.msg-actions{display:flex;gap:9px;margin-top:6px}
.msg-actions button{border:0;background:none;color:#586575;font-size:11px;cursor:pointer;padding:0}
.attachment{display:block;margin-top:8px;font-size:12px;color:#2459a6}
.message-composer{display:flex;align-items:end;gap:8px;padding:12px;border-top:1px solid #e4e8ee}
.message-composer textarea{flex:1;resize:none;border:1px solid #d7dde5;border-radius:12px;padding:11px;min-height:42px;box-sizing:border-box}
.attach-btn{cursor:pointer;font-size:22px;padding:9px}
.selection-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff5f5;border-top:1px solid #f0d6d6}
@media(max-width:850px){.messages-layout{grid-template-columns:1fr}.messages-sidebar{min-height:280px}.people-list{max-height:240px}.chat-messages{max-height:none}.bubble{max-width:84%}}
.message-head-actions{display:flex;gap:6px;align-items:center}.attachment small{opacity:.75}.attach-btn{cursor:pointer}.message-composer{display:flex;gap:8px;align-items:end}

.status-pill{display:inline-block;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;margin:2px;background:#edf1f5}.search-result{border:1px solid #e1e6eb;border-radius:12px;padding:12px;margin:8px 0;background:#fff}.search-result span{display:block;color:#7a8795;font-size:12px}.search-result p{margin:5px 0}.status-valide{background:#eaf7ef}.status-refuse{background:#fff0f0}.status-lu{background:#eaf7ef}.status-en_attente_validation{background:#fff5df}

/* Logo officiel utilisé par toutes les impressions locales */
.print-brand{display:none}
@media print{
  .print-brand{display:flex!important;align-items:center;gap:16px;border-bottom:2px solid #d4a52c;padding:0 0 10px;margin:0 0 18px}
  .print-brand img{display:block;width:170px;height:auto;max-height:70px;object-fit:contain}
  .print-brand strong{display:block;font-size:18px;color:#123b72}
  .print-brand small{display:block;color:#555;margin-top:3px}
}


/* Aperçu des documents RH avant impression */
.document-preview{background:#fff;color:#14213d;border:1px solid #d9a514;border-radius:12px;padding:18px;max-height:58vh;overflow:auto;box-shadow:0 8px 28px rgba(0,0,0,.12)}
.document-preview header{display:flex;align-items:center;gap:14px;border-bottom:3px solid #d9a514;padding-bottom:12px;margin-bottom:16px}
.document-preview header img{max-width:150px;height:auto}
.document-preview h1,.document-preview h2{font-weight:800;color:#0b4f8a}
.preview-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
@media print{.document-preview{max-height:none;overflow:visible;box-shadow:none;border:0}}


/* Mise en page professionnelle de la base documentaire RH */
.rh-reference-card{width:100%;max-width:none;padding:24px;margin:0 0 22px;overflow:visible}
.rh-reference-card h3{font-size:20px;color:#123f78;margin:0 0 10px;border-bottom:2px solid #d9a514;padding-bottom:10px}
.rh-reference-card h4{font-size:15px;color:#123f78;margin:20px 0 10px}
.rh-reference-card .notice{font-size:13px;line-height:1.55}
.rh-table-wrap{width:100%;overflow-x:auto;margin-top:10px}
.rh-reference-table{width:100%;min-width:760px;table-layout:fixed}
.rh-reference-table th{background:#123f78;color:#fff;font-weight:800;padding:12px;font-size:12px;line-height:1.3}
.rh-reference-table td{padding:12px;font-size:12px;line-height:1.5;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.rh-reference-table th:nth-child(1){width:25%}.rh-reference-table th:nth-child(2){width:45%}.rh-reference-table th:nth-child(3){width:30%}
.rh-guide-section{margin:22px 0 0;break-inside:avoid}
.rh-guide-section h4{background:#f4f7fb;border-left:4px solid #d9a514;padding:10px 12px;margin:0}
.rh-reference-card ul{padding-left:22px;line-height:1.8}
@media(max-width:800px){.rh-reference-card{padding:15px}.rh-reference-card h3{font-size:17px}.rh-reference-table{min-width:680px}.rh-reference-table th,.rh-reference-table td{font-size:11px;padding:9px}}
@media print{
  @page{size:A4 portrait;margin:12mm 10mm}
  .rh-reference-card{padding:0;border:0;box-shadow:none;margin:0 0 18px}
  .rh-reference-table{min-width:0;width:100%;font-size:9px;table-layout:fixed}
  .rh-reference-table th,.rh-reference-table td{font-size:9px;padding:6px;line-height:1.35}
  .rh-table-wrap{overflow:visible}
  .rh-guide-section{break-inside:avoid}
  .rh-reference-card h3{font-size:15px}
  .rh-reference-card h4{font-size:12px}
}

/* PIVOT SERVICES · RH DOCUMENTS — charte graphique de la fiche officielle */
.rh-reference-card,.rh-forms-shell{border:1px solid #b8cde5!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(10,43,82,.07)!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.rh-reference-card:before,.rh-forms-shell:before{content:"";display:block;height:6px;margin:-24px -24px 20px;border-radius:14px 14px 0 0;background:linear-gradient(90deg,#0a3266 0 72%,#e2ad23 72% 100%)}
.rh-reference-card h3,.rh-forms-shell h3{font-weight:900;letter-spacing:.02em;color:#0b356b!important;text-transform:uppercase}
.rh-reference-table{border:1px solid #9eb8d7!important;border-radius:10px;overflow:hidden}
.rh-reference-table th{background:linear-gradient(90deg,#0a3266,#123f78)!important}
.rh-reference-table td:first-child{color:#123b72;font-weight:800;background:#f2f7fd}
.rh-forms-shell{padding:24px;margin-bottom:18px}
.rh-forms-shell .rh-form-pick{border:1px solid #b8cde5!important;background:#f6faff!important;color:#123b72!important;font-weight:800!important;border-radius:10px!important}
.rh-forms-shell .rh-form-pick:hover{background:#e9f2fc!important;border-color:#d9a514!important}

/* Aperçu RH : format proche de la fiche d'identification officielle */
.document-preview{background:#eef3f8!important;padding:18px!important;border:0!important;border-radius:12px!important}
.document-preview .sheet{border:1px solid #b5c9df!important;box-shadow:0 8px 24px rgba(10,43,82,.12)!important}
@media(max-width:800px){.rh-reference-card:before,.rh-forms-shell:before{margin-left:-15px;margin-right:-15px}}
