:root{--blue:#063b73;--blue-dark:#022b55;--yellow:#f6c400;--white:#fff;--bg:#f3f6fa;--text:#1b2634;--muted:#657386;--border:#dce3ec;--radius:14px;--shadow:0 8px 24px rgba(5,42,78,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Century Gothic",CenturyGothic,Arial,sans-serif;line-height:1.5}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.15}h2{font-size:1.25rem}button,input,select,textarea{font:inherit}
.topbar{height:74px;background:var(--white);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.brand{display:flex;flex-direction:column;color:var(--blue);line-height:1}.brand img{width:145px;height:34px;object-fit:contain;object-position:left}.brand small{color:#9b7900;font-size:.64rem;margin-top:3px}.top-actions{display:flex;align-items:center;gap:14px;font-size:.9rem}.top-actions>a.active{background:var(--yellow);color:var(--blue-dark);padding:4px 8px;border-radius:6px}.mail-link{position:relative;font-size:1.25rem}.mail-link b,.nav-count{display:inline-grid;place-items:center;background:#d92d20;color:white;border-radius:20px;min-width:20px;height:20px;padding:0 5px;font-size:.68rem}.mail-link b{position:absolute;top:-8px;right:-12px}.user-menu{position:relative}.user-menu summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;padding:6px 8px;border-radius:10px}.user-menu summary::-webkit-details-marker{display:none}.user-menu summary:hover,.user-menu[open] summary{background:#eef5fc}.user-menu summary img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #dce7f1}.user-menu summary span{display:flex;flex-direction:column;min-width:135px}.user-menu summary small{color:var(--muted);font-size:.7rem}.user-menu summary i{font-style:normal;color:var(--muted)}.user-dropdown{position:absolute;right:0;top:58px;width:245px;background:white;border:1px solid var(--border);border-radius:12px;padding:8px;box-shadow:0 18px 45px rgba(3,38,73,.2);z-index:30}.dropdown-heading{display:flex;flex-direction:column;padding:10px 12px;border-bottom:1px solid var(--border);margin-bottom:5px}.dropdown-heading small{color:var(--muted);overflow:hidden;text-overflow:ellipsis}.user-dropdown>a,.user-dropdown>button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:8px;background:none;color:var(--text);text-align:left;cursor:pointer}.user-dropdown>a:hover,.user-dropdown>button:hover{background:#eef5fc;color:var(--blue)}
.app-shell{display:grid;grid-template-columns:245px 1fr;min-height:calc(100vh - 74px)}.sidebar{background:linear-gradient(180deg,var(--blue-dark),#041f3d);padding:16px 12px 28px;display:flex;flex-direction:column;gap:3px;box-shadow:5px 0 20px rgba(2,43,85,.08)}.sidebar a{position:relative;display:flex;align-items:center;gap:11px;color:#c8daec;padding:10px 12px;border-radius:9px;font-size:.9rem;transition:.16s ease}.sidebar a:hover{background:rgba(255,255,255,.08);color:white;transform:translateX(2px)}.sidebar a.selected{background:linear-gradient(90deg,var(--yellow),#ffda3e);color:var(--blue-dark);font-weight:700;box-shadow:0 6px 16px rgba(0,0,0,.15)}.sidebar a.selected:before{content:"";position:absolute;left:-12px;width:4px;height:25px;background:white;border-radius:0 4px 4px 0}.nav-icon{display:grid;place-items:center;width:25px;height:25px;font-size:1.05rem}.sidebar .nav-count{margin-left:auto}.nav-label{color:#6f91b4;text-transform:uppercase;letter-spacing:.12em;font-size:.62rem;font-weight:700;margin:16px 12px 5px}.nav-label:first-child{margin-top:3px}.content{padding:34px;max-width:1500px;width:100%;margin:0 auto}.public-content{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:30px}
.hero{background:linear-gradient(120deg,var(--blue-dark),var(--blue));border-radius:20px;padding:36px;color:white;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.hero h1{margin-bottom:10px}.hero p:last-child{color:#d9e7f5}.hero-mark{font-size:7rem;font-weight:bold;color:var(--yellow);opacity:.9;transform:rotate(-8deg);padding-right:35px}.eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.16em;color:#b18a00;margin-bottom:8px}.hero .eyebrow{color:var(--yellow)}
.section-grid{display:grid;gap:16px}.shortcuts{grid-template-columns:repeat(5,1fr);margin:22px 0}.shortcut{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:18px;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow);font-weight:700}.shortcut b{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#fff7ce;color:var(--blue);font-size:1.2rem}.shortcut:hover{border-color:var(--yellow);transform:translateY(-2px)}
.notice{background:#fff7ce;border-left:5px solid var(--yellow);padding:20px 24px;border-radius:10px;margin:20px 0}.notice span{font-size:.75rem;color:#796000;font-weight:bold;text-transform:uppercase}.notice h2{margin:7px 0}.notice p{margin:0}.two-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:26px;margin-top:26px}.section-title,.page-heading,.card-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-heading{margin-bottom:24px}.page-heading h1{margin-bottom:0}.section-title{margin-bottom:12px}.section-title h2{margin:0}
.card,.event,.form-card,.spotlight{background:white;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.card{padding:20px;margin-bottom:14px}.card small,.muted{color:var(--muted)}.card h2,.card h3{margin:7px 0}.card p{color:#4c5969}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.news-card{margin:0}.news-card img{width:calc(100% + 40px);height:180px;object-fit:cover;margin:-20px -20px 18px;border-radius:14px 14px 0 0}.event{display:flex;gap:16px;padding:15px;margin-bottom:12px}.event time{background:var(--blue);color:white;border-radius:9px;min-width:60px;height:58px;display:grid;place-items:center;text-transform:uppercase;font-weight:bold;text-align:center}.event h3{margin:3px 0}.event p{margin:0;color:var(--muted)}.employee-card,.spotlight{background:var(--blue);color:white;padding:24px;border-radius:var(--radius)}.employee-card .eyebrow,.spotlight .eyebrow{color:var(--yellow)}.spotlight{margin-bottom:24px;background:linear-gradient(120deg,var(--blue-dark),var(--blue))}.spotlight p{max-width:800px}.employee-person{display:flex;align-items:center;gap:18px}.employee-person>img{width:82px;height:82px;border-radius:50%;object-fit:cover;border:3px solid white}.employee-person h3,.employee-person h2{margin-bottom:5px}.employee-person p{margin-bottom:0}
.search{display:flex;background:white;border:1px solid var(--border);border-radius:9px;overflow:hidden}.search input{border:0;padding:10px 14px;min-width:260px;outline:none}.search button{border:0;background:var(--yellow);padding:0 15px;cursor:pointer}.filter-bar{background:white;border:1px solid var(--border);padding:14px;border-radius:12px;display:flex;gap:12px;margin-bottom:18px}.filter-bar input{flex:1}.filter-bar input,.filter-bar select{padding:10px;border:1px solid var(--border);border-radius:8px}
.table-wrap{background:white;border:1px solid var(--border);border-radius:var(--radius);overflow:auto;box-shadow:var(--shadow)}table{border-collapse:collapse;width:100%;min-width:700px}th,td{padding:15px;text-align:left;border-bottom:1px solid var(--border)}th{background:#eaf1f8;color:var(--blue-dark);font-size:.8rem;text-transform:uppercase}tr:last-child td{border-bottom:0}
.stacked-form p{margin:0 0 15px}.stacked-form label{display:block;font-weight:700;font-size:.9rem;margin-bottom:6px}.stacked-form input:not([type=checkbox]),.stacked-form select,.stacked-form textarea{width:100%;border:1px solid var(--border);border-radius:8px;padding:10px;background:white}.stacked-form .errorlist{color:#9c2424;font-size:.85rem;padding-left:20px}.form-card{padding:24px}.narrow{max-width:680px}.btn{display:inline-block;border:1px solid var(--blue);background:white;color:var(--blue);padding:9px 16px;border-radius:8px;cursor:pointer;font-weight:700}.btn.primary{background:var(--yellow);border-color:var(--yellow);color:var(--blue-dark)}.btn.small{font-size:.8rem;padding:6px 10px}.badge{display:inline-block;padding:5px 10px;background:#eaf1f8;color:var(--blue);border-radius:20px;font-size:.75rem;font-weight:bold}.badge.approuvee{background:#dff5e5;color:#1a7033}.badge.refusee{background:#fee4e4;color:#9c2424}.badge.attente{background:#fff3c2;color:#7b6100}
.login-card{width:min(440px,100%);background:white;border-top:6px solid var(--yellow);padding:36px;border-radius:16px;box-shadow:0 18px 50px rgba(3,38,73,.16)}.login-logo{font-size:2rem;color:var(--blue);font-weight:800}.login-card h1{font-size:1.7rem;margin:20px 0 6px}.login-card .btn{width:100%;margin-top:10px}.login-layout{display:grid;grid-template-columns:1.15fr 1fr;width:min(100%,1000px);min-height:590px;background:white;border-radius:20px;overflow:hidden;box-shadow:0 20px 60px rgba(3,38,73,.2)}.login-cover{background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:45px;color:white}.login-cover img{width:100px;height:100px}.login-cover .eyebrow{color:var(--yellow);margin-top:20px}.login-cover h2{font-size:2rem}.login-layout .login-card{width:100%;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;padding:55px}.login-brand{width:180px;height:55px;object-fit:contain;object-position:left}.alert{padding:12px 16px;border-radius:8px;margin-bottom:18px;background:#dff5e5;color:#1a7033}.alert.error{background:#fee4e4;color:#9c2424}.empty{padding:25px;background:white;border:1px dashed var(--border);border-radius:10px;color:var(--muted);text-align:center}.detail{max-width:900px;margin:auto;background:white;padding:clamp(24px,5vw,55px);border-radius:var(--radius)}.detail>img{width:100%;max-height:440px;object-fit:cover;margin:22px 0;border-radius:12px}.detail>small{display:block;margin-top:30px;color:var(--muted)}.article-content{font-size:1.05rem}.communication{max-width:950px}
.profile-card{display:grid;grid-template-columns:120px 1fr auto;align-items:center;gap:28px;background:linear-gradient(120deg,#fff,#eef5fc);border:1px solid var(--border);border-radius:18px;padding:30px;margin-top:24px;box-shadow:var(--shadow)}.profile-card>img{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid white;box-shadow:var(--shadow)}.profile-card h1{margin-bottom:6px}.profile-role{font-size:1.08rem;color:var(--muted)}.profile-info{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:14px;overflow:hidden;margin-top:20px}.profile-info div{background:white;padding:22px}.profile-info small,.profile-info strong{display:block}.profile-info small{color:var(--muted);margin-bottom:8px}
.inbox-grid{grid-template-columns:1.25fr 1fr}.message-list{background:white;border:1px solid var(--border);border-radius:14px;overflow:hidden}.message-row{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:start;padding:16px;color:var(--text);border-bottom:1px solid var(--border)}.message-row:last-child{border-bottom:0}.message-row:hover{background:#f7faff}.message-row.unread{background:#fffbed;border-left:4px solid var(--yellow)}.message-row h3{font-size:.95rem;margin:2px 0}.message-row p,.message-row time{color:var(--muted);font-size:.8rem;margin:0}.avatar,.avatar-image{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;object-fit:cover;background:var(--blue);color:white;font-weight:bold}.avatar.sent{background:#eaf1f8;color:var(--blue)}.message-detail{max-width:900px;margin:24px auto;background:white;padding:35px;border-radius:16px;box-shadow:var(--shadow)}.message-meta{padding:16px;background:#eef5fc;border-radius:9px;margin:20px 0}.message-body{padding:15px 0 30px;min-height:160px}.form-actions{display:flex;justify-content:flex-end;gap:10px}
.feature-card{display:flex;flex-direction:column}.feature-card .btn,.feature-card form,.status-success{margin-top:auto;align-self:flex-start}.meta-list{list-style:none;padding:0;color:var(--muted);font-size:.9rem}.meta-list li{margin:7px 0}.status-success{display:inline-block;color:#1a7033;background:#dff5e5;border-radius:8px;padding:8px 12px;font-weight:bold;font-size:.85rem;margin-bottom:10px}.job-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:24px;align-items:start;margin-top:22px}.job-detail{margin:0;max-width:none}.job-detail h1{margin:15px 0}.job-detail h2{margin-top:28px}.deadline{color:#8b6c00;background:#fff7ce;padding:10px;border-radius:8px}.application-status{border-top:5px solid var(--yellow)}
.person-cell{display:flex;align-items:center;gap:11px}.person-cell img{width:43px;height:43px;border-radius:50%;object-fit:cover;border:2px solid #e1e9f2}.profile-edit-layout{display:grid;grid-template-columns:300px minmax(0,650px);gap:24px;align-items:start}.profile-preview{display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(150deg,var(--blue-dark),var(--blue));color:white;border-radius:16px;padding:34px 24px;box-shadow:var(--shadow)}.profile-preview>img{width:130px;height:130px;border-radius:50%;object-fit:cover;border:5px solid white;box-shadow:0 8px 25px rgba(0,0,0,.2)}.profile-preview h2{margin:18px 0 4px}.profile-preview p{color:#dceafa}.profile-preview .badge{margin-bottom:20px}.profile-preview small{color:#bdd1e5}.stacked-form hr{border:0;border-top:1px solid var(--border);margin:25px 0}.stacked-form input[type=file]{padding:9px;border:1px dashed #aab9c8;background:#f7faff}
.news-gallery{margin-top:42px;border-top:1px solid var(--border);padding-top:25px}.news-gallery>div{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.news-gallery figure{margin:0;background:#f2f5f8;border-radius:10px;overflow:hidden}.news-gallery img{width:100%;height:180px;object-fit:cover;display:block}.news-gallery figcaption{padding:9px 11px;color:var(--muted);font-size:.8rem}.confirm-dialog{width:min(430px,calc(100% - 30px));border:0;border-radius:18px;padding:30px;text-align:center;box-shadow:0 25px 80px rgba(2,25,50,.35)}.confirm-dialog::backdrop{background:rgba(1,19,37,.65);backdrop-filter:blur(3px)}.dialog-icon{display:grid;place-items:center;margin:0 auto 15px;width:55px;height:55px;border-radius:50%;background:#fff0ee;color:#b42318;font-size:1.5rem}.confirm-dialog p{color:var(--muted)}.dialog-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}.btn.danger{background:#b42318;border-color:#b42318;color:white}
@media(max-width:1050px){.shortcuts{grid-template-columns:repeat(3,1fr)}.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.topbar{padding:0 15px}.user-menu summary span{display:none}.app-shell{display:block}.sidebar{flex-direction:row;overflow:auto;padding:8px;position:sticky;top:74px;z-index:9}.sidebar .nav-label{display:none}.sidebar a{white-space:nowrap}.sidebar a.selected:before{display:none}.content{padding:20px}.two-columns,.cards-grid,.job-layout,.profile-edit-layout{grid-template-columns:1fr}.shortcuts{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start;flex-direction:column}.search,.search input{width:100%;min-width:0}.hero{padding:25px}.hero-mark{display:none}.filter-bar{flex-direction:column}.login-layout{grid-template-columns:1fr}.login-cover{min-height:230px;padding:25px}.login-cover img{width:65px;height:65px}.login-cover h2{font-size:1.5rem}.login-layout .login-card{padding:35px}.profile-card{grid-template-columns:85px 1fr}.profile-card>img{width:85px;height:85px}.profile-card>.btn{grid-column:1/-1}.profile-info{grid-template-columns:1fr 1fr}.profile-preview{padding:24px}.news-gallery>div{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.brand small,.top-actions form{display:none}.shortcuts{grid-template-columns:1fr}.content{padding:15px}.hero{border-radius:14px}.login-card{padding:25px}}