/* OREN MDT — extension profil, isolée des styles du portail */
.oren-profile-anchor{position:relative;margin-top:auto;padding:12px;border-top:1px solid #243244}
.oren-profile-anchor .oren-profile-trigger{width:100%;display:flex;align-items:center;gap:12px;border:1px solid #314156;border-radius:12px;background:#152131;color:#e7eef9;padding:12px;text-align:left;cursor:pointer}
.oren-profile-trigger strong,.oren-profile-trigger small{display:block}.oren-profile-trigger small{color:#94a8be;font-size:11px;margin-top:3px}.oren-profile-trigger .oren-avatar{width:35px;height:35px;border-radius:9px;background:#29496b;display:grid;place-items:center;flex-shrink:0}.oren-profile-trigger .oren-arrow{margin-left:auto}
.oren-profile-menu{position:absolute;bottom:calc(100% + 5px);left:12px;right:12px;background:#152131;border:1px solid #34455c;border-radius:12px;padding:6px;z-index:80;box-shadow:0 12px 36px #0008}.oren-profile-menu[hidden]{display:none}.oren-profile-menu button{width:100%;text-align:left;background:none;border:0;color:#e9f2ff;padding:12px;border-radius:8px;cursor:pointer}.oren-profile-menu button:hover{background:#24364d}.oren-profile-menu button:last-child{color:#ffaaa8}
#orenProfilePage{color:#e8eff9;font:inherit;max-width:1280px;margin:0 auto;padding:22px 8px 60px}#orenProfilePage[hidden]{display:none!important}#orenProfilePage *{box-sizing:border-box}#orenProfilePage .oren-profile-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}#orenProfilePage h1{margin:0;font-size:27px}#orenProfilePage .oren-muted{color:#93a6bc;font-size:13px}#orenProfilePage .oren-header-avatar{width:64px;height:64px;border-radius:17px;background:#243e5a;display:grid;place-items:center;font-size:23px;font-weight:bold}#orenProfilePage .oren-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #2d3b4b;margin-bottom:22px;padding-bottom:10px}#orenProfilePage .oren-tabs button{padding:11px 17px;background:transparent;color:#aebfd3;border:0;border-radius:9px;cursor:pointer;font-weight:650}#orenProfilePage .oren-tabs button[aria-selected=true]{background:#226bb3;color:white}#orenProfilePage .oren-panel{background:#111c2a;border:1px solid #28384c;border-radius:14px;padding:24px;margin-bottom:18px}#orenProfilePage .oren-panel h2{font-size:18px;margin:0 0 7px}#orenProfilePage .oren-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}#orenProfilePage label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#adbed1;font-weight:600}#orenProfilePage input,#orenProfilePage select,#orenProfilePage textarea{background:#0b1520;border:1px solid #35465b;border-radius:8px;padding:11px;color:#f0f5fd;width:100%;min-width:0;font:inherit}#orenProfilePage input:focus,#orenProfilePage select:focus{outline:2px solid #358fea;outline-offset:1px}#orenProfilePage input:disabled,#orenProfilePage select:disabled{opacity:.65}#orenProfilePage .oren-primary,#orenProfilePage .oren-secondary,#orenProfilePage .oren-danger{border:0;border-radius:8px;padding:11px 16px;font:inherit;font-weight:600;cursor:pointer}#orenProfilePage .oren-primary{background:#287fd0;color:#fff}#orenProfilePage .oren-secondary{background:#233348;color:#e6eef8}#orenProfilePage .oren-danger{background:#52303a;color:#ffd6dd}#orenProfilePage .oren-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}#orenProfilePage .oren-chip{display:inline-flex;padding:8px 12px;margin:4px 5px 0 0;background:#263f5e;border-radius:20px;font-size:12px}#orenProfilePage .oren-timeline-item{border-left:2px solid #347fd0;padding:7px 14px 14px;margin:12px 0;font-size:13px}#orenProfilePage .oren-timeline-item small{display:block;color:#9bacc1;margin-top:6px}#orenProfilePage .oren-file-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #324357;border-radius:10px;padding:14px;margin-top:10px;flex-wrap:wrap}#orenProfilePage .oren-file-item small{display:block;color:#9bacc1;margin-top:5px}#orenProfilePage .oren-file-item button{background:#22354c;border:0;border-radius:6px;color:white;padding:8px 12px;cursor:pointer}#orenProfilePage .oren-grade-preview{width:80px;height:80px;border:1px solid #364a60;border-radius:9px;object-fit:contain;background:#0a1420}#orenProfilePage .oren-notice{border-left:3px solid #4c93dc;padding:10px 12px;background:#1b3044;margin:14px 0;font-size:13px}#orenProfilePage .oren-danger-note{border-left-color:#e9ab51}#orenProfilePage .oren-hidden{display:none!important}@media(max-width:1000px){#orenProfilePage .oren-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){#orenProfilePage .oren-grid{grid-template-columns:1fr}#orenProfilePage .oren-panel{padding:16px}.oren-profile-anchor{padding:7px}}

/* Intégration au MDT et adaptation mobile */
#orenLockPage{min-height:75vh;display:grid;place-items:center;padding:32px}
#orenLockPage[hidden]{display:none!important}
.oren-lock-card{width:min(460px,100%);background:var(--panel);border:1px solid var(--line);border-radius:16px;text-align:center;padding:42px 30px}
.oren-lock-card p{line-height:1.7;color:var(--muted)}
.oren-lock-card .oren-primary{background:#2675c8;color:white;border:0;border-radius:8px;padding:12px 18px;cursor:pointer}
#orenProfilePage .oren-demo-manager{display:flex;flex-direction:row;align-items:center;gap:8px;margin:16px 0;padding:12px;background:#17304b;border:1px solid #365a79;border-radius:9px;line-height:1.5}
#orenProfilePage .oren-demo-manager input{width:auto;flex:none}
.oren-profile-anchor{flex:none}
@media(max-width:700px){.sidebar{display:flex!important;flex-direction:row;flex-wrap:wrap;align-items:center;gap:3px}.sidebar .brand{width:100%}.sidebar .oren-profile-anchor{display:block;order:100;margin-left:auto;border:0;padding:4px;min-width:185px}.sidebar .oren-profile-menu{bottom:auto;top:calc(100% + 3px);left:auto;right:0;min-width:185px}.sidebar .sidebar-bottom{display:none}#orenProfilePage .oren-profile-head{gap:12px}}
