:root{
  --adih-blue:#0b176f;
  --adih-blue-2:#1c2faa;
  --adih-red:#e52920;
  --adih-orange:#c45708;
  --adih-dark:#111827;
  --adih-text:#24324b;
  --adih-muted:#667085;
  --adih-line:#e5e9f3;
  --adih-soft:#f6f8fd;
  --adih-card:#ffffff;
  --adih-success:#087443;
  --adih-warn:#b54708;
  --adih-danger:#b42318;
  --adih-radius:24px;
  --adih-shadow:0 20px 60px rgba(11,23,111,.10);
  --adih-shadow-soft:0 10px 28px rgba(11,23,111,.07);
}
html:has(body.adih-rc-standalone-page),
body.adih-rc-standalone-page{margin:0!important;padding:0!important;width:100%;min-height:100%;background:#f4f7fd!important;overflow-x:hidden}
body.adih-rc-standalone-page #wpadminbar{display:none!important}
body.adih-rc-standalone-page:before,body.adih-rc-standalone-page:after{display:none!important;content:none!important}
.adih-rc-standalone-root{min-height:100vh;width:100%;background:radial-gradient(circle at 10% 0%,rgba(229,41,32,.10),transparent 26%),radial-gradient(circle at 90% 8%,rgba(11,23,111,.13),transparent 24%),linear-gradient(180deg,#f7f9ff 0%,#edf2fb 100%);font-family:Inter,Arial,sans-serif;color:var(--adih-text)}
.adih-rc-wrap{font-family:Inter,Arial,sans-serif;color:var(--adih-text);min-height:100vh;padding:22px;box-sizing:border-box;max-width:1480px;margin:0 auto;background:transparent}
.adih-rc-wrap *{box-sizing:border-box}
.adih-rc-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;background:rgba(255,255,255,.92);border:1px solid rgba(229,233,243,.96);border-radius:26px;padding:12px 16px;margin-bottom:24px;box-shadow:var(--adih-shadow-soft);position:sticky;top:12px;z-index:100;backdrop-filter:blur(16px)}
.adih-rc-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--adih-blue);font-weight:900;letter-spacing:-.02em}
.adih-rc-brand img{width:142px;max-height:54px;object-fit:contain}.adih-rc-brand span{display:flex;flex-direction:column;line-height:1.05}.adih-rc-brand strong{font-size:16px}.adih-rc-brand small{font-size:12px;color:var(--adih-muted);font-weight:800;margin-top:3px}
.adih-rc-toplinks{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.adih-rc-toplinks a{color:var(--adih-blue);text-decoration:none;font-weight:850;font-size:14px;border:1px solid var(--adih-line);padding:10px 14px;border-radius:999px;background:#fff;transition:.18s ease}.adih-rc-toplinks a:hover{transform:translateY(-1px);box-shadow:var(--adih-shadow-soft)}.adih-rc-toplinks a.logout{color:var(--adih-danger);background:#fff7f6}
.adih-rc-alert{border-radius:18px;padding:14px 16px;margin-bottom:16px;font-weight:800;border:1px solid transparent;box-shadow:var(--adih-shadow-soft)}.adih-rc-alert.success{background:#ecfdf3;color:#067647;border-color:#abefc6}.adih-rc-alert.error{background:#fef3f2;color:#b42318;border-color:#fecdca}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--adih-red);font-size:12px;font-weight:950}.muted{color:var(--adih-muted)!important;font-size:13px}.small-note{display:inline-flex;margin-top:4px}.adih-rc-link{color:var(--adih-blue);font-weight:900;text-decoration:none}.adih-rc-link:hover{text-decoration:underline}
.adih-rc-btn{border:0;border-radius:16px;padding:12px 17px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;line-height:1.1;transition:.18s ease;white-space:nowrap}.adih-rc-btn.primary{background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2));color:#fff;box-shadow:0 14px 28px rgba(11,23,111,.20)}.adih-rc-btn.primary:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(11,23,111,.27)}.adih-rc-btn.ghost,.adih-rc-mini{background:#fff;color:var(--adih-blue);border:1px solid var(--adih-line)}.adih-rc-mini{display:inline-flex;padding:8px 12px;border-radius:999px;text-decoration:none;font-weight:900;font-size:12px}.adih-rc-mini:hover{box-shadow:var(--adih-shadow-soft);transform:translateY(-1px)}
.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950;background:#fff7ed;color:var(--adih-warn);border:1px solid #fed7aa;line-height:1}.pill.ok{background:#ecfdf3;color:var(--adih-success);border-color:#abefc6}.pill.wait{background:#fff7ed;color:var(--adih-warn);border-color:#fed7aa}.pill.danger{background:#fef3f2;color:#b42318;border-color:#fecdca}
.adih-rc-badge{background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2));color:#fff;padding:12px 16px;border-radius:999px;font-weight:950;white-space:nowrap;box-shadow:0 12px 24px rgba(11,23,111,.18)}
/* Auth */
.adih-auth-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.75fr);gap:24px;align-items:stretch;max-width:1040px;margin:7vh auto 0}.adih-auth-layout.compact{max-width:900px}.adih-auth-visual{position:relative;overflow:hidden;background:radial-gradient(circle at 0% 0%,rgba(229,41,32,.22),transparent 34%),linear-gradient(135deg,#09135f,#172aa8);border-radius:32px;padding:42px;color:#fff;box-shadow:var(--adih-shadow);min-height:430px;display:flex;flex-direction:column;justify-content:flex-end}.adih-auth-visual:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-80px;top:-80px;border:44px solid rgba(255,255,255,.14)}.adih-auth-visual .eyebrow{color:#ffb6ad}.adih-auth-visual h1{font-size:48px;letter-spacing:-.055em;line-height:1;margin:12px 0}.adih-auth-visual p{font-size:16px;line-height:1.65;color:rgba(255,255,255,.82);max-width:560px}.auth-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.auth-chips span{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.20);font-weight:850;font-size:12px}.adih-rc-auth-card{background:#fff;border:1px solid var(--adih-line);border-radius:32px;padding:34px;box-shadow:var(--adih-shadow);align-self:center}.adih-rc-auth-card h1{margin:0;color:var(--adih-blue);letter-spacing:-.05em;line-height:1.05;font-size:40px}.adih-rc-auth-card p{color:var(--adih-muted);line-height:1.6}.otp-input{font-size:24px!important;letter-spacing:.25em;text-align:center;font-weight:900;color:var(--adih-blue)!important}
/* Forms */
.adih-rc-form{display:flex;flex-direction:column;gap:11px}.adih-rc-form label{font-weight:900;color:#30364a;font-size:13px;margin-top:4px}.adih-rc-form input,.adih-rc-form textarea,.adih-rc-form select,.copy-input{width:100%;border:1px solid #d7dcea;border-radius:15px;padding:12px 13px;background:#fff;color:#1d2433;outline:none;transition:.18s ease;font-size:14px}.adih-rc-form input:focus,.adih-rc-form textarea:focus,.adih-rc-form select:focus,.copy-input:focus{border-color:var(--adih-blue);box-shadow:0 0 0 4px rgba(11,23,111,.09)}.adih-rc-form small{color:var(--adih-muted);font-size:13px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-row:has(> div:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.check-options{display:grid;gap:8px;background:#f8faff;border:1px solid var(--adih-line);border-radius:18px;padding:12px}.check-options label{margin:0!important}.check-options input,.member-picker input{width:auto;margin-right:8px}.member-picker{max-height:250px;overflow:auto;border:1px solid var(--adih-line);border-radius:18px;padding:10px;background:#f8faff}.member-picker label{display:block;margin:0!important;padding:9px;border-radius:12px;font-weight:800}.member-picker label:hover{background:#fff}.inline-filter{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:12px}.inline-filter label{grid-column:1/-1}
/* Shared cards */
.adih-rc-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:radial-gradient(circle at 12% 8%,rgba(229,41,32,.15),transparent 30%),linear-gradient(135deg,#fff,#f4f6ff);border:1px solid var(--adih-line);border-radius:34px;padding:34px;margin-bottom:20px;box-shadow:var(--adih-shadow)}.adih-rc-hero h1{margin:0;color:var(--adih-blue);letter-spacing:-.06em;line-height:1.03;font-size:48px}.adih-rc-hero p{color:var(--adih-muted);line-height:1.58;max-width:700px}.hero-actions,.hero-side{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.mini-metric{display:inline-flex;flex-direction:column;padding:12px 16px;border-radius:18px;background:#fff;border:1px solid var(--adih-line);font-weight:850;color:var(--adih-muted)}.mini-metric strong{font-size:28px;color:var(--adih-blue);line-height:1}
.adih-rc-card,.adih-rc-empty{background:#fff;border:1px solid var(--adih-line);border-radius:var(--adih-radius);padding:22px;box-shadow:var(--adih-shadow-soft);margin-bottom:18px}.adih-rc-card.elevated{box-shadow:var(--adih-shadow)}.adih-rc-card h2,.adih-card-head h2{margin:0;color:#111a5c;letter-spacing:-.04em}.adih-rc-card h3{margin:20px 0 10px;color:#111a5c}.adih-rc-card p{color:var(--adih-muted);line-height:1.55}.adih-rc-empty{text-align:center;padding:60px 24px}.empty-icon{width:64px;height:64px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eef2ff;color:var(--adih-blue);font-weight:950;font-size:28px;margin-bottom:10px}.adih-empty-inline{border:1px dashed var(--adih-line);background:#f8faff;border-radius:18px;padding:18px;color:var(--adih-muted);font-weight:850;text-align:center}.adih-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.adih-card-head p,.adih-rc-section-head p{margin:.35em 0 0;color:var(--adih-muted);line-height:1.5}
.adih-rc-admin-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}.adih-rc-admin-main{min-width:0}.adih-rc-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.adih-rc-section-head h1{margin:0;color:var(--adih-blue);letter-spacing:-.055em;line-height:1.05;font-size:46px}
.adih-rc-sidebar{background:rgba(255,255,255,.94);border:1px solid var(--adih-line);border-radius:28px;padding:16px;box-shadow:var(--adih-shadow-soft);position:sticky;top:98px}.side-brand{display:flex;align-items:center;gap:10px;padding:6px 8px 16px;border-bottom:1px solid var(--adih-line);margin-bottom:12px;font-weight:950;color:var(--adih-blue)}.side-brand img{width:64px;height:auto}.adih-rc-sidebar nav{display:flex;flex-direction:column;gap:8px}.adih-rc-sidebar a{text-decoration:none;color:#344054;border-radius:16px;padding:12px;font-weight:900;display:flex;align-items:center;gap:10px;transition:.18s ease}.adih-rc-sidebar a.active,.adih-rc-sidebar a:hover{background:#eef2ff;color:var(--adih-blue);box-shadow:inset 0 0 0 1px rgba(11,23,111,.06)}.nav-icon{width:28px;height:28px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--adih-line);font-size:13px}
.adih-rc-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.adih-rc-two-col.wide-left{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)}.adih-rc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
/* Stats */
.adih-rc-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat-card,.adih-rc-stats>div{position:relative;overflow:hidden;background:#fff;border:1px solid var(--adih-line);border-radius:24px;padding:20px;box-shadow:var(--adih-shadow-soft)}.stat-card:after,.adih-rc-stats>div:after{content:"";position:absolute;right:-36px;top:-36px;width:110px;height:110px;border-radius:50%;background:rgba(11,23,111,.06)}.stat-card.accent:after{background:rgba(229,41,32,.10)}.stat-card strong,.adih-rc-stats strong{display:block;font-size:38px;color:var(--adih-blue);letter-spacing:-.06em;line-height:1;margin:8px 0 3px}.stat-card span,.adih-rc-stats span{color:var(--adih-muted);font-weight:950;font-size:13px}.stat-card em,.adih-rc-stats em{font-style:normal;color:#98a2b3;font-weight:800;font-size:12px}.detail-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Object cards instead of tables */
.adih-object-list{display:grid;gap:13px}.adih-object-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid var(--adih-line);border-radius:22px;padding:16px;box-shadow:0 10px 26px rgba(11,23,111,.055);transition:.18s ease}.adih-object-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#cdd5e8}.adih-object-card:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(11,23,111,.10)}.adih-object-card.status-scheduled:before,.adih-object-card.status-draft:before{background:#f59e0b}.adih-object-card.status-in_progress:before,.adih-object-card.status-open:before{background:#f04438}.adih-object-card.status-in_progress{background:linear-gradient(180deg,#fff,#fff7f6);border-color:#fecdca}.adih-object-card.status-past:before,.adih-object-card.status-completed:before,.adih-object-card.status-sealed:before{background:#12b76a}.adih-object-card.status-cancelled:before{background:#f04438}.adih-object-card.status-closed:before{background:#7a5af8}.object-main{display:flex;gap:14px;align-items:center;min-width:0}.object-icon{flex:0 0 56px;width:56px;height:56px;border-radius:18px;background:#eef2ff;color:var(--adih-blue);display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:950;font-size:20px;line-height:1}.object-icon small{font-size:10px;text-transform:uppercase;color:var(--adih-muted);margin-top:3px}.object-icon.vote{font-size:25px}.object-content{min-width:0}.object-content h2,.object-content h3{margin:0;color:#111a5c;letter-spacing:-.035em}.object-title-row{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:7px}.object-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--adih-muted);font-size:13px;font-weight:800}.object-meta span{display:inline-flex;align-items:center;gap:4px;background:#f6f8fd;border:1px solid #edf0f7;border-radius:999px;padding:6px 9px}.object-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.object-actions form{margin:0}.adih-object-card.compact{padding:13px}.compact-list{gap:10px}.agenda{background:#f8faff;border:1px solid var(--adih-line);border-radius:18px;padding:14px;margin:14px 0;color:#344054}.agenda.compact{font-size:13px}.agenda p{margin:.45em 0!important}.presence-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8faff;border:1px solid var(--adih-line);border-radius:16px;padding:12px 14px;margin-top:13px;font-weight:900;color:#344054}
/* People cards */
.adih-people-list{display:grid;gap:10px}.adih-person-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;background:#fbfcff;border:1px solid var(--adih-line);border-radius:20px;padding:13px;box-shadow:0 8px 18px rgba(11,23,111,.045)}.avatar{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#eef2ff,#fff);border:1px solid #dfe5f5;color:var(--adih-blue);display:inline-flex;align-items:center;justify-content:center;font-weight:950}.avatar.ok{background:#ecfdf3;color:var(--adih-success);border-color:#abefc6}.avatar.tiny{width:25px;height:25px;border-radius:9px;font-size:11px}.person-info{display:flex;flex-direction:column;min-width:0}.person-info strong{color:#111a5c;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-info span,.person-info small,.person-meta small{color:var(--adih-muted);font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.present-list{border-top:1px dashed var(--adih-line);padding-top:14px;margin-top:16px}.present-grid{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.present-chip{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--adih-line);border-radius:999px;padding:6px 9px;color:#344054;font-weight:850;font-size:12px}
/* Detail */
.adih-detail-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:linear-gradient(135deg,#fff,#f4f6ff);border:1px solid var(--adih-line);border-radius:32px;padding:28px;margin-bottom:16px;box-shadow:var(--adih-shadow)}.adih-detail-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:#f59e0b}.adih-detail-hero.status-in_progress:before{background:#f04438}.adih-detail-hero.status-in_progress{background:linear-gradient(135deg,#fff,#fff6f5);border-color:#fecdca}.adih-detail-hero.status-past:before,.adih-detail-hero.status-completed:before{background:#12b76a}.adih-detail-hero.status-cancelled:before{background:#f04438}.adih-detail-hero h1{margin:0 0 12px;color:var(--adih-blue);letter-spacing:-.055em;font-size:44px;line-height:1.05}.detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.progress-wrap{background:#f8faff;border:1px solid var(--adih-line);border-radius:18px;padding:14px;margin:14px 0}.progress-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-weight:900;color:#344054}.progress-track{height:10px;background:#e9edf7;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--adih-blue),var(--adih-red));border-radius:999px}.qr-box{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:center;background:#f8faff;border:1px solid var(--adih-line);border-radius:20px;padding:14px}.qr-local-wrap{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:16px;border:1px solid var(--adih-line);padding:8px;width:180px;height:180px;overflow:hidden}.qr-local-wrap svg{width:160px;height:160px;display:block}.qr-box .adih-rc-btn{margin-top:8px}
/* Vote */
.member-votes{border-top:1px dashed var(--adih-line);padding-top:16px;margin-top:18px}.member-votes h3{margin-top:0}.vote-box{background:#f8faff;border:1px solid var(--adih-line);border-radius:20px;padding:15px;margin-top:12px}.vote-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:8px}.vote-options{display:grid;gap:8px;margin:8px 0}.vote-options label{display:block;background:#fff;border:1px solid var(--adih-line);padding:12px 13px;border-radius:14px;font-weight:900;transition:.16s ease}.vote-options label:hover{border-color:var(--adih-blue);box-shadow:0 0 0 4px rgba(11,23,111,.06)}.vote-options input{width:auto;margin-right:8px}.vote-results{border-top:1px dashed var(--adih-line);margin-top:12px;padding-top:12px}.result-row{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff;border:1px solid var(--adih-line);border-radius:16px;padding:13px;margin:8px 0;color:#344054}.result-row strong{color:var(--adih-blue);white-space:nowrap}.vote-admin-options{display:grid;gap:8px;list-style:none;margin:10px 0;padding:0}.vote-admin-options li{background:#f8faff;border:1px solid var(--adih-line);border-radius:14px;padding:10px 12px;color:#344054;font-weight:850}.inline-action-form{display:inline-flex;margin:0 8px 8px 0}.inline-action-form .adih-rc-btn{min-width:145px}.vote-form .adih-rc-btn{margin-top:4px}.vote-card .object-icon{background:#fff4ed;color:var(--adih-orange)}
/* Timeline */
.adih-timeline{display:grid;gap:0}.timeline-item{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:0 0 16px}.timeline-item:not(:last-child):before{content:"";position:absolute;left:9px;top:20px;bottom:0;width:2px;background:#e5e9f3}.timeline-dot{width:20px;height:20px;border-radius:50%;background:#fff;border:5px solid var(--adih-blue);box-shadow:0 0 0 5px #eef2ff;z-index:1}.timeline-content{background:#fbfcff;border:1px solid var(--adih-line);border-radius:18px;padding:14px}.timeline-content strong{color:#111a5c;font-weight:950}
/* Legacy tables are kept only as fallback; principal V4 views use cards. */
.table-scroll{overflow:auto}.adih-rc-table{width:100%;border-collapse:separate;border-spacing:0;min-width:620px}.adih-rc-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#667085;background:#f8f9fc}.adih-rc-table th,.adih-rc-table td{padding:12px;border-bottom:1px solid var(--adih-line);vertical-align:top}.adih-rc-table td{color:#344054;font-size:14px}.adih-rc-table tr:last-child td{border-bottom:0}
@media(max-width:1120px){.adih-rc-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.adih-auth-layout{grid-template-columns:1fr}.adih-auth-visual{min-height:300px}.adih-rc-two-col.wide-left{grid-template-columns:1fr}}
@media(max-width:980px){.adih-rc-wrap{padding:12px}.adih-rc-topbar{position:relative;top:auto;flex-direction:column;align-items:flex-start}.adih-rc-admin-layout,.adih-rc-two-col,.adih-rc-grid,.detail-stats{grid-template-columns:1fr}.adih-rc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.adih-rc-sidebar{position:relative;top:0}.adih-rc-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.form-row,.form-row:has(> div:nth-child(3)){grid-template-columns:1fr}.adih-rc-hero,.adih-detail-hero{flex-direction:column;align-items:flex-start}.hero-actions,.hero-side,.detail-actions{justify-content:flex-start}.adih-object-card{grid-template-columns:1fr}.object-actions{justify-content:flex-start}.qr-box{grid-template-columns:1fr}.qr-local-wrap{width:220px;height:220px}.qr-local-wrap svg{width:200px;height:200px}.adih-rc-brand img{width:128px}.inline-filter{grid-template-columns:1fr}.adih-auth-visual h1,.adih-rc-hero h1,.adih-rc-section-head h1{font-size:38px}.adih-detail-hero h1{font-size:36px}}
@media(max-width:620px){.adih-rc-stats{grid-template-columns:1fr}.adih-rc-auth-card,.adih-auth-visual{padding:24px;border-radius:26px}.adih-auth-layout{margin:20px auto 0}.adih-auth-visual h1{font-size:34px}.adih-rc-toplinks a{font-size:12px;padding:8px 10px}.adih-rc-sidebar nav{grid-template-columns:1fr}.adih-person-card{grid-template-columns:auto minmax(0,1fr)}.adih-person-card>.pill,.person-meta{grid-column:1/-1;align-items:flex-start}.object-main{align-items:flex-start}.object-title-row{align-items:flex-start;flex-direction:column}.result-row{align-items:flex-start;flex-direction:column}.result-row strong{white-space:normal}}
/* V5 enhancements: Haiti time, live prompts, text settings */
.adih-time-pill{display:inline-flex;flex-direction:column;gap:1px;background:linear-gradient(135deg,#0b176f,#1c2faa);color:#fff;border-radius:16px;padding:8px 13px;box-shadow:0 10px 22px rgba(11,23,111,.18);line-height:1.05;min-width:155px;text-align:left}
.adih-time-pill small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.70);font-weight:900}.adih-time-pill strong{font-size:13px;font-weight:950;color:#fff}.side-brand small{display:block;color:#8fa0d5;font-size:11px;font-weight:850;margin-top:4px}.time-stat strong{font-size:20px!important;letter-spacing:-.03em}.checkin-window{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f4f7ff;border:1px solid #dfe6fb;border-radius:16px;padding:12px 14px;margin-top:13px;color:#344054}.checkin-window strong{color:#0b176f;font-weight:950}.checkin-window span{color:#667085;font-size:13px;font-weight:800;text-align:right}.checkin-window.admin{margin:14px 0;background:#fffaf4;border-color:#fed7aa}.checkin-notice-form{margin-top:12px!important}.settings-form .form-row{align-items:start}.adih-text-editor{border:1px solid var(--adih-line);border-radius:22px;background:#f8faff;padding:16px;margin:12px 0;max-height:520px;overflow:auto}.adih-text-editor h3{margin-top:0}.text-key{display:grid!important;grid-template-columns:230px minmax(0,1fr);gap:10px;align-items:center;margin:0!important;padding:8px 0;border-bottom:1px solid #edf0f7}.text-key:last-child{border-bottom:0}.text-key span{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#0b176f;font-size:12px;font-weight:900}.reminder-panel{margin-top:13px;background:#f8faff;border:1px solid var(--adih-line);border-radius:16px;padding:12px 14px}.reminder-panel>div:first-child{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.reminder-panel strong{color:#0b176f}.reminder-panel small{color:#667085;font-weight:750}.reminder-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.reminder-options label{margin:0!important;background:#fff;border:1px solid #e4e9f5;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850;color:#344054}.pill.start{box-shadow:0 8px 18px rgba(240,68,56,.18)}.member-votes.live-created{animation:adihPop .24s ease-out}
.adih-rc-live-modal{position:fixed;inset:0;background:rgba(7,14,58,.42);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:20px;z-index:999999}.adih-rc-live-modal.active{display:flex}.live-modal-card{width:min(480px,100%);background:#fff;border-radius:28px;border:1px solid #e5e9f3;box-shadow:0 30px 90px rgba(0,0,0,.22);padding:28px;position:relative;text-align:center;animation:adihPop .24s ease-out}.live-close{position:absolute;right:16px;top:14px;border:0;background:#f2f4fb;color:#0b176f;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}.live-icon{width:64px;height:64px;border-radius:22px;margin:0 auto 14px;background:linear-gradient(135deg,#0b176f,#12b76a);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:950}.live-modal-card h3{margin:0 0 8px;color:#0b176f;font-size:28px;letter-spacing:-.04em}.live-modal-card p{color:#475467;line-height:1.6}.live-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}@keyframes adihPop{from{opacity:0;transform:scale(.94) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}
@media(max-width:700px){.text-key{grid-template-columns:1fr}.checkin-window{flex-direction:column;align-items:flex-start}.checkin-window span{text-align:left}.adih-time-pill{width:100%}}
/* V7 employee profile management */
.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.permission-grid span,.permission-grid strong{display:flex;align-items:center;min-height:48px;border:1px solid var(--adih-line);background:#f8faff;border-radius:16px;padding:12px 14px;font-weight:900;color:#344054}.permission-grid span:before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#ecfdf3;color:var(--adih-success);margin-right:9px;font-weight:950}.permission-grid strong{grid-column:1/-1;background:#fff7ed;border-color:#fed7aa;color:var(--adih-warn)}.permission-grid strong:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#fffaeb;color:var(--adih-warn);margin-right:9px;font-weight:950}.employee-card .person-meta{min-width:190px}.employee-status-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.employee-status-form select{border:1px solid var(--adih-line);border-radius:999px;padding:8px 10px;background:#fff;color:#344054;font-weight:850;max-width:128px}.pill.warn{background:#fff7ed;color:var(--adih-warn);border-color:#fed7aa}
@media(max-width:980px){.permission-grid{grid-template-columns:1fr}.employee-card .person-meta{min-width:0}}
.adih-rc-mini.danger{background:#fff7f6;color:var(--adih-danger);border-color:#fecdca}.adih-rc-mini.danger:hover{box-shadow:0 10px 20px rgba(180,35,24,.12)}.delete-form{margin:0}.person-meta .delete-form{margin-top:3px}.employee-card .delete-form{display:flex;justify-content:flex-end}.adih-person-card .person-meta{min-width:118px}
/* V10: white-label branding controls */
.auth-brand-logo{display:block;max-width:260px;max-height:86px;object-fit:contain;margin:0 0 18px}.adih-brand-editor{border:1px solid var(--adih-line);border-radius:22px;background:#fff;padding:16px;margin:12px 0;box-shadow:var(--adih-shadow-soft)}.adih-brand-editor h3{margin:0 0 6px;color:var(--adih-blue);font-size:22px}.brand-preview{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2));border-radius:22px;padding:16px;margin:14px 0;color:#fff;box-shadow:0 18px 34px rgba(11,23,111,.18)}.brand-preview img{width:150px;max-height:62px;object-fit:contain;background:rgba(255,255,255,.94);border-radius:16px;padding:8px}.brand-preview strong{display:block;font-size:20px;font-weight:950;letter-spacing:-.03em}.brand-preview small{display:block;color:rgba(255,255,255,.78);font-weight:850;margin-top:3px}.colors-row{grid-template-columns:repeat(4,minmax(0,1fr))!important}.colors-row input[type=color]{height:46px;padding:4px}.inline-check{display:flex!important;align-items:center;gap:8px;margin-top:7px!important;font-size:12px!important;color:#667085!important}.inline-check input{width:auto!important}.adih-rc-form input[type=file]{padding:11px;background:#fff}
@media(max-width:980px){.colors-row{grid-template-columns:1fr 1fr!important}.brand-preview{align-items:flex-start;flex-direction:column}.brand-preview img{width:180px}.auth-brand-logo{max-width:220px}}
@media(max-width:620px){.colors-row{grid-template-columns:1fr!important}}
/* V11: LJ license activation */
.adih-rc-alert.warning{background:#fffaeb;color:#92400e;border-color:#fedf89}
.adih-license-editor{border:1px solid var(--adih-line);border-radius:22px;background:#fffaf4;padding:16px;margin:12px 0;box-shadow:var(--adih-shadow-soft)}
.adih-license-editor h3{margin:0 0 6px;color:var(--adih-blue);font-size:22px}.license-status-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.license-status-row span:not(.adih-rc-badge){background:#fff;border:1px solid #f1e3c7;border-radius:999px;padding:7px 10px;color:#6b4e16;font-weight:850;font-size:12px}.adih-rc-badge.success{background:#ecfdf3!important;color:#067647!important;border-color:#abefc6!important}.adih-rc-badge.warning{background:#fffaeb!important;color:#92400e!important;border-color:#fedf89!important}.adih-rc-badge.error{background:#fef3f2!important;color:#b42318!important;border-color:#fecdca!important}.adih-license-required{max-width:680px;margin:9vh auto;background:#fff;border:1px solid var(--adih-line);border-radius:34px;padding:42px;text-align:center;box-shadow:var(--adih-shadow)}.adih-license-required .license-lock{width:78px;height:78px;border-radius:26px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2));font-size:36px;color:#fff}.adih-license-required h1{margin:0;color:var(--adih-blue);font-size:44px;letter-spacing:-.05em}.adih-license-required p{color:var(--adih-muted);font-size:16px;line-height:1.65}.license-message{background:#f8faff;border:1px solid var(--adih-line);border-radius:18px;padding:14px;margin:18px 0;color:#344054}

/* V13: interface membre ultra simple, mobile-first */
.adih-member-simple-wrap{max-width:960px;padding:18px;background:radial-gradient(circle at 50% -10%,rgba(28,47,170,.10),transparent 34%),linear-gradient(180deg,#f6f8ff 0%,#eef3fb 100%)}
.member-simple-topbar{border-radius:28px;padding:12px 14px;margin-bottom:18px;position:sticky;top:10px;background:rgba(255,255,255,.95)}
.member-simple-topbar .adih-rc-brand{gap:10px;min-width:0}.member-simple-topbar .adih-rc-brand img{width:76px;max-height:42px}.member-simple-topbar .adih-rc-brand strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}.member-simple-topbar .adih-rc-brand small{display:none}.member-simple-topbar .adih-rc-toplinks{gap:8px;flex-wrap:nowrap}.adih-time-pill.simple-clock{min-width:auto;padding:7px 12px;border-radius:999px;text-align:center;background:#fff;color:var(--adih-blue);border:1px solid #e4e9f5;box-shadow:none}.adih-time-pill.simple-clock small{display:none}.adih-time-pill.simple-clock strong{color:var(--adih-blue);font-size:14px;letter-spacing:-.02em}.member-logout-icon{width:42px;height:42px;border-radius:999px;display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;background:#f4f6ff!important;border:1px solid #e3e8f8!important;color:var(--adih-blue)!important;font-size:21px!important;position:relative;padding:0!important}.member-logout-icon span{position:absolute;right:0;top:calc(100% + 8px);opacity:0;pointer-events:none;background:#0b176f;color:#fff;border-radius:999px;padding:6px 10px;font-size:11px;white-space:nowrap;transition:.18s}.member-logout-icon:hover span{opacity:1}.adih-member-message-center{position:relative}.member-message-trigger{width:42px;height:42px;border:0;border-radius:999px;background:#fff;color:var(--adih-blue);border:1px solid #e3e8f8;display:flex;align-items:center;justify-content:center;font-size:19px;cursor:pointer;position:relative}.message-dot{position:absolute;right:9px;top:9px;width:9px;height:9px;border-radius:50%;background:transparent}.adih-member-message-center.has-message .message-dot{background:var(--adih-red);box-shadow:0 0 0 0 rgba(229,41,32,.55);animation:adihBlinkPulse 1.2s infinite}.member-message-panel{display:none;position:absolute;right:0;top:calc(100% + 10px);width:min(320px,86vw);background:#fff;border:1px solid #e4e9f5;border-radius:20px;padding:14px;box-shadow:0 24px 60px rgba(11,23,111,.16);z-index:120}.adih-member-message-center.open .member-message-panel{display:block}.member-message-panel strong{display:block;color:var(--adih-blue);font-size:15px;margin-bottom:8px}.member-message-panel .empty-msg{color:#98a2b3;margin:0;font-size:13px}.member-message-list{display:flex;flex-direction:column;gap:8px}.member-message-item{border:1px solid #e4e9f5;border-radius:16px;background:#f8faff;text-align:left;padding:10px 12px;cursor:pointer;color:#344054}.member-message-item strong{font-size:14px;margin:0 0 3px;color:var(--adih-blue)}.member-message-item span{font-size:12px;color:#667085;font-weight:800}.member-message-item.blink{animation:adihSoftBlink 1.6s ease-in-out infinite}.adih-member-simple-shell{min-height:calc(100vh - 120px);display:flex;flex-direction:column;justify-content:center;gap:22px;padding:16px 0 46px}.member-simple-welcome{text-align:center}.member-simple-welcome span{display:inline-flex;align-items:center;justify-content:center;color:#667085;font-size:13px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px}.member-simple-welcome h1{margin:0;color:var(--adih-blue);font-size:clamp(34px,6vw,62px);line-height:1.02;letter-spacing:-.06em}.member-simple-empty{display:flex;justify-content:center}.simple-status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 16px;font-weight:950;font-size:13px;letter-spacing:.01em;border:1px solid transparent;white-space:nowrap}.simple-status-badge.no-meeting{background:#fff;color:#667085;border-color:#e4e9f5;box-shadow:var(--adih-shadow-soft)}.simple-status-badge.scheduled{background:#fff7ed;color:#b54708;border-color:#fed7aa}.simple-status-badge.started{background:linear-gradient(135deg,#e52920,#b42318);color:#fff;border-color:transparent;box-shadow:0 14px 30px rgba(229,41,32,.22);animation:adihRedPulse 1.4s infinite}.member-simple-card{width:min(720px,100%);margin:0 auto;background:rgba(255,255,255,.98);border:1px solid #e4e9f5;border-radius:34px;padding:30px;box-shadow:0 24px 70px rgba(11,23,111,.12);position:relative;overflow:hidden}.member-simple-card:before{content:"";position:absolute;right:-70px;top:-90px;width:220px;height:220px;border-radius:50%;background:rgba(11,23,111,.045)}.member-simple-card.status-in_progress{border-color:#fecdca;box-shadow:0 24px 80px rgba(229,41,32,.14)}.simple-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;position:relative}.simple-kicker{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#667085;font-weight:950}.member-simple-card h2{margin:0;color:var(--adih-blue);font-size:clamp(30px,5vw,56px);line-height:1.05;letter-spacing:-.06em;max-width:560px}.simple-meeting-title{margin-top:12px;color:#475467;font-size:18px;font-weight:850}.simple-flags{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.simple-flag{display:inline-flex;align-items:center;border:1px solid #e4e9f5;background:#f8faff;color:#667085;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:950}.simple-flag.with-vote{background:#eef4ff;color:#1c2faa;border-color:#c7d7fe}.simple-flag.no-vote{background:#f9fafb;color:#667085}.simple-flag.present{background:#ecfdf3;color:#067647;border-color:#abefc6}.member-hidden-checkin,.member-vote-modal-source{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}.simple-reminders{margin-top:22px!important;background:#f8faff!important;border:1px solid #e4e9f5!important;border-radius:18px!important;padding:12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}.simple-reminders strong{margin:0;color:var(--adih-blue);font-size:14px}.simple-reminders .reminder-options{margin:0}.simple-reminders .reminder-options label{background:#fff;border-color:#e4e9f5;padding:8px 10px}.simple-reminders .reminder-options label input{width:auto!important}.live-extra{margin-top:16px;text-align:left}.live-extra .member-votes,.live-extra .vote-card{display:block!important}.live-extra .member-votes h3{display:none}.live-extra .adih-rc-vote-card,.live-extra .vote-card{box-shadow:none!important;border-radius:18px!important}.live-extra .adih-rc-form{margin-top:12px}.live-extra .vote-options,.live-extra .vote-option-list{display:flex;flex-direction:column;gap:8px}.adih-rc-live-modal .live-modal-card{max-height:92vh;overflow:auto}.adih-rc-live-modal .live-extra:empty{display:none}@keyframes adihBlinkPulse{0%{box-shadow:0 0 0 0 rgba(229,41,32,.45)}70%{box-shadow:0 0 0 8px rgba(229,41,32,0)}100%{box-shadow:0 0 0 0 rgba(229,41,32,0)}}@keyframes adihSoftBlink{0%,100%{background:#fff}50%{background:#fff7ed}}@keyframes adihRedPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.03)}}

/* V19 compact member header shortcuts */
.member-top-icon{width:42px;height:42px;border-radius:999px;display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;background:#fff!important;border:1px solid #e3e8f8!important;color:var(--adih-blue)!important;font-size:18px!important;position:relative;padding:0!important;cursor:pointer;transition:.18s ease;box-shadow:none;line-height:1}
.member-top-icon:hover,.member-message-trigger:hover,.member-logout-icon:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(11,23,111,.10)}
.member-top-icon span{position:absolute;right:0;top:calc(100% + 8px);opacity:0;pointer-events:none;background:#0b176f;color:#fff;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:850;white-space:nowrap;transition:.18s;z-index:130}
.member-top-icon:hover span{opacity:1}
.member-top-icon[data-modal-target="ljmv-last-vote"]{background:#fff8fb!important;color:#cf2e64!important;border-color:#f9c7da!important}
.member-top-icon[data-modal-target="ljmv-recent-meetings"]{background:#f7f9ff!important;color:#0b176f!important;border-color:#d9e3ff!important}
.member-quick-actions{display:none!important}
@media(max-width:720px){.adih-member-simple-wrap .adih-rc-topbar{display:flex!important}.member-simple-topbar{position:sticky!important;top:8px!important}.member-simple-topbar .adih-rc-toplinks{margin-left:auto}.member-top-icon{width:38px;height:38px;font-size:16px!important}.member-top-icon span{display:none}.adih-member-message-center .member-message-panel{top:calc(100% + 8px)}}
@media(max-width:520px){.member-simple-topbar .adih-rc-brand{gap:7px}.member-simple-topbar .adih-rc-brand img{width:44px;max-height:30px}.member-simple-topbar .adih-rc-brand strong{font-size:12px;max-width:96px}.adih-time-pill.simple-clock{padding:5px 8px}.adih-time-pill.simple-clock strong{font-size:11px}.member-message-trigger,.member-logout-icon,.member-top-icon{width:34px!important;height:34px!important;font-size:15px!important}.member-simple-topbar{border-radius:18px;padding:8px;gap:6px}.member-simple-topbar .adih-rc-toplinks{gap:5px}}

@media(max-width:720px){.adih-member-simple-wrap{padding:12px}.member-simple-topbar{border-radius:22px;padding:10px;gap:8px}.member-simple-topbar .adih-rc-brand img{width:50px;max-height:34px}.member-simple-topbar .adih-rc-brand strong{font-size:13px;max-width:146px}.adih-time-pill.simple-clock{padding:6px 9px}.adih-time-pill.simple-clock strong{font-size:12px}.member-message-trigger,.member-logout-icon{width:38px;height:38px}.member-simple-card{padding:22px;border-radius:28px}.simple-card-top{align-items:flex-start;flex-direction:column}.simple-status-badge{font-size:12px}.simple-meeting-title{font-size:16px}.simple-reminders{align-items:flex-start!important;flex-direction:column}.simple-reminders .reminder-options{gap:6px}.simple-reminders .reminder-options label{font-size:12px;padding:7px 9px}.member-message-panel{right:-45px}.live-modal-card{padding:22px;border-radius:24px}.live-modal-card h3{font-size:24px}}
@media(max-width:420px){.member-simple-topbar .adih-rc-brand span{display:none}.member-simple-welcome h1{font-size:38px}.member-simple-card h2{font-size:33px}.simple-flags{flex-direction:column;align-items:flex-start}.member-message-panel{right:-86px}}

/* V14 - Administration simplifiée */
.admin-simple-head p{max-width:780px}.admin-meeting-simple-layout{align-items:start}.adih-wizard-card{overflow:hidden}.adih-setup-wizard{position:relative}.wizard-step{display:none;animation:adihFadeUp .22s ease both}.wizard-step.active{display:block}.wizard-step-title{display:flex;align-items:center;gap:12px;margin:0 0 18px}.wizard-step-title strong{display:grid;place-items:center;width:34px;height:34px;border-radius:14px;background:var(--adih-primary,#0b176f);color:#fff;box-shadow:0 12px 24px rgba(11,23,111,.18)}.wizard-step-title span{font-weight:800;color:var(--adih-primary,#0b176f);font-size:1.08rem}.wizard-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}.compact-options{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:10px}.compact-options label{justify-content:center;background:#f7f8ff;border:1px solid rgba(11,23,111,.12);border-radius:14px;padding:12px;font-weight:800}.advanced-small{margin:14px 0;border:1px solid rgba(11,23,111,.14);border-radius:16px;background:#fbfcff;padding:12px}.advanced-small summary{cursor:pointer;font-weight:800;color:var(--adih-primary,#0b176f)}.toggle-line{display:flex!important;align-items:center;gap:10px;background:linear-gradient(135deg,#f9fbff,#fff);border:1px solid rgba(11,23,111,.12);border-radius:16px;padding:16px!important;font-weight:800;color:var(--adih-primary,#0b176f)}.vote-quick-setup{margin-top:14px;padding:16px;border:1px dashed rgba(11,23,111,.22);border-radius:18px;background:#fbfcff}.compact-picker{max-height:280px;overflow:auto;padding:10px;border:1px solid rgba(11,23,111,.12);border-radius:18px;background:#fff}.select-all-row{position:sticky;top:0;background:#f6f7ff!important;border-bottom:1px solid rgba(11,23,111,.08);z-index:1;font-weight:900!important}.muted-disabled{opacity:.72}.mini.check-options,.check-options.mini{gap:10px}.delegate-box{margin-top:14px;border:1px solid rgba(11,23,111,.12);border-radius:16px;padding:12px;background:#f8faff}.delegate-box summary{cursor:pointer;font-weight:900;color:var(--adih-primary,#0b176f)}.delegation-list{display:flex;flex-direction:column;gap:6px;margin:12px 0;padding:12px;border-radius:14px;background:#fff7e6;border:1px solid rgba(201,151,45,.25);font-size:.92rem}.delegation-list strong{color:var(--adih-primary,#0b176f)}.delegation-list span{color:#6b7280}.reset-form{display:inline-block;margin-left:6px}@keyframes adihFadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:760px){.compact-options{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-actions{justify-content:stretch}.wizard-actions .adih-rc-btn{flex:1}.admin-meeting-simple-layout{grid-template-columns:1fr!important}.adih-setup-wizard .form-row{grid-template-columns:1fr!important}}

/* V15 - admin simplifié, plus proche du rendu membre */
body.adih-rc-standalone-page .adih-rc-wrap:not(.adih-member-simple-wrap){max-width:1180px;padding:18px;background:radial-gradient(circle at 50% -10%,rgba(28,47,170,.08),transparent 34%),linear-gradient(180deg,#f7f9ff 0%,#eef3fb 100%)}
.adih-rc-admin-layout{display:flex;flex-direction:column;gap:18px;min-height:calc(100vh - 120px)}
.adih-rc-sidebar{position:sticky;top:12px;z-index:80;border-radius:28px;padding:10px 12px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(11,23,111,.09)}
.adih-rc-sidebar .side-brand{border:0;margin:0 0 10px 0;padding:4px 6px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}
.adih-rc-sidebar .side-brand img{width:74px;max-height:44px;object-fit:contain}.adih-rc-sidebar .side-brand span{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.adih-rc-sidebar .side-brand small{grid-column:2;color:#98a2b3;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adih-rc-sidebar nav{display:flex;flex-direction:row;gap:8px;overflow-x:auto;padding:2px 2px 4px;scrollbar-width:none}.adih-rc-sidebar nav::-webkit-scrollbar{display:none}.adih-rc-sidebar a{flex:0 0 auto;border-radius:999px;padding:9px 12px;background:#f7f9ff;border:1px solid #e7ecf8;font-size:13px}.adih-rc-sidebar a.active,.adih-rc-sidebar a:hover{background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2));color:#fff}.adih-rc-sidebar a.active .nav-icon,.adih-rc-sidebar a:hover .nav-icon{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.22);color:#fff}.nav-icon{border-radius:999px;width:25px;height:25px;background:#fff}
.adih-rc-admin-main{width:100%}.adih-rc-hero.admin-hero{border-radius:34px;padding:28px;background:rgba(255,255,255,.95);box-shadow:0 24px 70px rgba(11,23,111,.10);border:1px solid #e4e9f5}.adih-rc-hero.admin-hero .eyebrow{display:none}.adih-rc-hero.admin-hero h1,.adih-rc-section-head h1,.adih-detail-hero h1{font-size:clamp(32px,5vw,54px);letter-spacing:-.06em}.adih-rc-hero.admin-hero p,.adih-rc-section-head p,.adih-card-head p{font-size:14px;color:#667085;max-width:620px}.hero-actions{gap:8px}.adih-rc-btn{border-radius:999px;min-height:42px}.adih-rc-btn.primary{box-shadow:0 12px 24px rgba(11,23,111,.16)}
.adih-rc-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat-card,.adih-rc-stats>div{border-radius:26px;padding:18px;background:#fff;border-color:#e4e9f5;box-shadow:0 16px 42px rgba(11,23,111,.07)}.stat-card:after,.adih-rc-stats>div:after{opacity:.65}.stat-card strong,.adih-rc-stats strong{font-size:34px}.stat-card span,.adih-rc-stats span{text-transform:none;letter-spacing:0;font-size:13px}.stat-card em,.adih-rc-stats em{font-size:12px;color:#98a2b3}.time-stat{display:none}
.adih-rc-card,.adih-rc-empty{border-radius:28px;padding:20px;border-color:#e4e9f5;box-shadow:0 16px 44px rgba(11,23,111,.07)}.adih-card-head{margin-bottom:14px}.adih-card-head .eyebrow,.adih-rc-section-head .eyebrow{display:none}.adih-card-head h2{font-size:24px;letter-spacing:-.045em}.adih-object-list{gap:10px}.adih-object-card{border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(11,23,111,.055);border-color:#e4e9f5}.adih-object-card:before{width:4px}.adih-object-card:hover{transform:translateY(-1px)}.object-icon{width:48px;height:48px;flex-basis:48px;border-radius:16px}.object-meta span{background:#f8faff;border-color:#edf1f7}.object-actions{gap:6px}.adih-rc-mini{border-radius:999px;background:#f8faff}.adih-person-card{border-radius:22px;background:#fff;box-shadow:0 10px 24px rgba(11,23,111,.045)}
.adih-detail-hero{border-radius:32px;background:#fff;box-shadow:0 20px 60px rgba(11,23,111,.08);padding:24px}.adih-detail-hero:before{width:5px}.form-row{gap:10px}.adih-rc-form input,.adih-rc-form textarea,.adih-rc-form select,.copy-input{border-radius:18px;background:#fbfcff}.check-options,.member-picker,.agenda,.progress-wrap,.qr-box,.vote-box,.timeline-content{border-radius:22px;background:#f8faff}
.adih-create-steps{background:#fff;border:1px solid #e4e9f5;border-radius:28px;box-shadow:0 18px 50px rgba(11,23,111,.07);padding:18px;margin-bottom:18px}.adih-create-steps .adih-rc-card{box-shadow:none;border-color:#edf1f8;background:#fbfcff}.adih-create-steps .adih-card-head h2{font-size:22px}.adih-create-steps .adih-card-head p{display:none}
@media(max-width:980px){body.adih-rc-standalone-page .adih-rc-wrap:not(.adih-member-simple-wrap){padding:12px}.adih-rc-sidebar{top:8px;border-radius:22px}.adih-rc-sidebar .side-brand img{width:52px}.adih-rc-sidebar .side-brand small{display:none}.adih-rc-sidebar a span:not(.nav-icon){font-size:12px}.adih-rc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.adih-rc-hero.admin-hero{padding:22px;border-radius:28px}.adih-object-card{grid-template-columns:1fr}.object-actions{justify-content:flex-start}.adih-rc-wrap:not(.adih-member-simple-wrap) .adih-rc-topbar{display:none}}
@media(max-width:560px){.adih-rc-stats{grid-template-columns:1fr}.adih-rc-sidebar .side-brand span{font-size:13px}.adih-rc-sidebar nav{gap:6px}.adih-rc-sidebar a{padding:8px 10px}.adih-rc-sidebar a span:not(.nav-icon){display:none}.adih-rc-hero.admin-hero h1,.adih-rc-section-head h1,.adih-detail-hero h1{font-size:34px}.hero-actions{width:100%;justify-content:flex-start}.hero-actions .adih-rc-btn{width:100%}.adih-rc-card,.adih-detail-hero{padding:16px}.object-main{gap:10px}.object-icon{width:42px;height:42px;flex-basis:42px}.object-meta span{font-size:12px}}

/* V16 Live Experience */
.ljmv-toast-wrap{position:fixed;right:18px;bottom:18px;z-index:999999;display:flex;flex-direction:column;gap:10px;pointer-events:none}.ljmv-phone-toast{display:flex;align-items:center;gap:10px;background:rgba(18,24,38,.94);color:#fff;border-radius:22px;padding:12px 15px;box-shadow:0 16px 45px rgba(0,0,0,.22);opacity:0;transform:translateY(14px) scale(.98);transition:.35s ease;max-width:320px}.ljmv-phone-toast.show{opacity:1;transform:translateY(0) scale(1)}.ljmv-phone-toast.hide{opacity:0;transform:translateY(8px) scale(.98)}.ljmv-phone-toast .toast-icon{width:34px;height:34px;border-radius:14px;background:rgba(255,255,255,.16);display:grid;place-items:center}.ljmv-phone-toast strong{font-size:13px;line-height:1.3}.live-count b{font-weight:800}.adih-rc-live-modal{position:fixed;inset:0;background:rgba(4,8,25,.45);z-index:999998;display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(10px)}.adih-rc-live-modal.active{display:flex}.live-modal-card{width:min(520px,96vw);background:#fff;border-radius:30px;padding:28px;box-shadow:0 25px 80px rgba(0,0,0,.28);position:relative;text-align:center}.live-close{position:absolute;right:18px;top:16px;border:0;background:#f3f4f8;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer}.live-icon{width:58px;height:58px;border-radius:22px;margin:0 auto 12px;background:linear-gradient(135deg,var(--adih-primary,#0d1977),var(--adih-accent,#f15a24));color:#fff;display:grid;place-items:center;font-size:26px}.live-modal-card h3{margin:0 0 8px;font-size:24px}.live-modal-card p{margin:0 0 16px;color:#5b6275}.live-extra{text-align:left;max-height:48vh;overflow:auto}.live-actions{display:flex;gap:10px;justify-content:center;margin-top:16px;flex-wrap:wrap}.member-message-item.blink{animation:ljmvSoftBlink 1.2s ease-in-out infinite}@keyframes ljmvSoftBlink{0%,100%{box-shadow:0 0 0 rgba(241,90,36,0)}50%{box-shadow:0 0 0 4px rgba(241,90,36,.14)}}
.adih-live-admin-panel{margin:18px 0 24px}.live-state-dot{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 12px;font-weight:800;font-size:12px}.live-state-dot.on{background:#e9fbf1;color:#17864c}.live-state-dot.off{background:#f2f3f7;color:#697186}.live-state-dot:before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 5px rgba(23,134,76,.12)}.live-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.live-kpi-grid>div{background:#f7f8fc;border:1px solid #e9ecf4;border-radius:20px;padding:14px}.live-kpi-grid small{display:block;color:#71798c;font-weight:700}.live-kpi-grid strong{font-size:28px;color:var(--adih-primary,#0d1977)}.live-progress{height:9px;border-radius:999px;background:#eef1f7;overflow:hidden;margin:8px 0 20px}.live-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--adih-primary,#0d1977),var(--adih-accent,#f15a24));transition:width .3s ease}.live-admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.live-person-row{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;padding:10px;border:1px solid #edf0f7;border-radius:16px;margin-bottom:8px;background:#fff}.live-person-row.online{border-color:#c8f0d8;background:#fbfffc}.live-person-row em{font-style:normal;font-size:12px;font-weight:800;color:#17864c}.live-person-row.offline em{color:#8a91a2}.live-person-row b{font-size:12px;border-radius:999px;padding:5px 8px;background:#f1f4fb;color:#28304b}.live-vote-row{background:#fff;border:1px solid #edf0f7;border-radius:16px;padding:12px;margin-bottom:10px}.live-vote-row{display:grid;grid-template-columns:1fr auto;gap:8px}.live-vote-row small{display:block;color:#71798c}.mini-progress{grid-column:1/-1;height:7px;border-radius:999px;background:#eef1f7;overflow:hidden}.mini-progress i{display:block;height:100%;border-radius:999px;background:var(--adih-accent,#f15a24)}.live-time-row{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f7}.live-time-row span{width:10px;height:10px;border-radius:50%;background:var(--adih-primary,#0d1977);margin-top:4px;box-shadow:0 0 0 5px rgba(13,25,119,.08)}.live-time-row strong{display:block;font-size:13px}.live-time-row small{color:#757d90}.avatar.tiny{width:32px;height:32px;font-size:11px}.loading{opacity:.7;cursor:wait!important}
@media(max-width:780px){.live-kpi-grid{grid-template-columns:repeat(2,1fr)}.live-admin-columns{grid-template-columns:1fr}.live-person-row{grid-template-columns:auto 1fr}.live-person-row em,.live-person-row b{grid-column:auto}.live-modal-card{border-radius:24px;padding:22px}.ljmv-toast-wrap{right:12px;left:12px;bottom:12px}.ljmv-phone-toast{max-width:none}}

/* V17 member live refinement */
.adih-rc-alert.success{transition:opacity .45s ease, transform .45s ease, max-height .45s ease, margin .45s ease, padding .45s ease;}
.adih-rc-alert.success.is-dismissing{opacity:0;transform:translateY(-8px);max-height:0;margin:0;padding-top:0!important;padding-bottom:0!important;overflow:hidden;}
.member-simple-card h2{font-size:clamp(28px,4.4vw,62px)!important;line-height:1.05!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.member-card-grid{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.8fr);gap:28px;align-items:stretch;}
.member-me-card,.member-meeting-info{background:rgba(255,255,255,.68);border:1px solid rgba(15,35,110,.09);border-radius:28px;padding:28px;box-shadow:0 18px 50px rgba(8,20,90,.06);}
.member-me-card h3{margin:12px 0 18px;color:var(--adih-blue);font-size:clamp(24px,2vw,36px);line-height:1.1;}
.simple-flags.vertical{display:flex;align-items:flex-start;flex-direction:column;gap:12px;}
.simple-flag.action-needed{background:#fff4e6;color:#a54400;border-color:#ffd29a;box-shadow:0 8px 25px rgba(218,114,0,.12);}
.simple-flag.wait{background:#f5f7fc;color:#62708a;border-color:#e2e7f3;}
.member-live-strip{display:inline-flex;align-items:center;gap:10px;background:#f8fbff;border:1px solid #e1e9ff;border-radius:999px;padding:9px 14px;margin-bottom:20px;font-weight:800;color:var(--adih-blue);}
.live-pulse-dot,.live-mini-pulse{width:10px;height:10px;border-radius:50%;background:#16a34a;display:inline-block;box-shadow:0 0 0 rgba(22,163,74,.6);animation:ljmvPulse 1.55s infinite;}
.live-mini-pulse{width:8px;height:8px;margin-right:8px;vertical-align:middle;}
@keyframes ljmvPulse{0%{box-shadow:0 0 0 0 rgba(22,163,74,.48)}70%{box-shadow:0 0 0 11px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
.live-extend-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid #edf0f7;}
.ljmv-platform-footer{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:22px 16px 10px;color:#66708a;font-size:13px;text-align:center;}
.ljmv-platform-footer a{color:var(--adih-blue);text-decoration:none;font-weight:800;}
.ljmv-platform-footer a:hover{text-decoration:underline;}
button.loading,.adih-rc-btn.loading{opacity:.7;pointer-events:none;position:relative;}
button.loading:after,.adih-rc-btn.loading:after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;border-radius:50%;border:2px solid currentColor;border-top-color:transparent;animation:ljmvSpin .8s linear infinite;vertical-align:-1px;}
@keyframes ljmvSpin{to{transform:rotate(360deg)}}
@media(max-width:820px){.member-card-grid{grid-template-columns:1fr;gap:16px}.member-simple-card h2{font-size:clamp(26px,9vw,44px)!important;white-space:normal}.member-me-card,.member-meeting-info{padding:22px;border-radius:24px}.member-live-strip{margin-bottom:14px}}

/* V18 member history shortcuts */
.member-quick-actions{width:min(720px,100%);margin:-4px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.member-quick-icon{border:1px solid #e4e9f5;background:rgba(255,255,255,.92);border-radius:26px;padding:18px 16px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--adih-blue);font-weight:950;cursor:pointer;box-shadow:0 16px 45px rgba(11,23,111,.08);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.member-quick-icon:hover{transform:translateY(-2px);box-shadow:0 22px 60px rgba(11,23,111,.13);border-color:#c7d7fe}
.member-quick-icon .quick-icon-symbol{width:44px;height:44px;border-radius:18px;display:grid;place-items:center;background:#f3f6ff;font-size:22px;box-shadow:inset 0 0 0 1px #e4e9f5}
.member-quick-icon strong{font-size:15px;letter-spacing:-.02em}.ljmv-info-modal-content{display:none}.ljmv-popup-summary{display:flex;flex-direction:column;gap:9px}.ljmv-popup-summary strong{font-size:18px;color:var(--adih-blue);line-height:1.25}.ljmv-popup-summary span{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #edf1f8;background:#f8faff;border-radius:14px;padding:10px 12px;color:#475467;font-size:13px;font-weight:800}.ljmv-history-list{display:flex;flex-direction:column;gap:10px}.ljmv-history-item{border:1px solid #edf1f8;background:#f8faff;border-radius:18px;padding:13px 14px}.ljmv-history-item strong{display:block;color:var(--adih-blue);font-size:15px;line-height:1.25}.ljmv-history-item>span{display:block;color:#667085;font-weight:850;font-size:12px;margin-top:4px}.history-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.history-tags em{font-style:normal;border:1px solid #e4e9f5;background:#fff;border-radius:999px;padding:5px 8px;color:#475467;font-size:11px;font-weight:900}.ljmv-history-item small{display:block;margin-top:8px;color:#667085;font-weight:800;line-height:1.4}.live-extra .ljmv-popup-summary,.live-extra .ljmv-history-list{margin-top:4px}@media(max-width:620px){.member-quick-actions{grid-template-columns:1fr;gap:10px}.member-quick-icon{border-radius:22px;padding:14px}.member-quick-icon .quick-icon-symbol{width:40px;height:40px}.ljmv-popup-summary span{align-items:flex-start;flex-direction:column;gap:4px}}


/* V19 safeguard: member topbar must remain visible on mobile */
@media(max-width:980px){.adih-member-simple-wrap .adih-rc-topbar.member-simple-topbar{display:flex!important}.adih-member-simple-wrap .adih-rc-brand{display:flex!important}.adih-member-simple-wrap .adih-rc-toplinks{display:flex!important}}
@media(max-width:980px){.adih-member-simple-wrap .adih-rc-topbar.member-simple-topbar{flex-direction:row!important;align-items:center!important;justify-content:space-between!important}.adih-member-simple-wrap .adih-rc-topbar.member-simple-topbar .adih-rc-brand{min-width:0;flex:0 1 auto}.adih-member-simple-wrap .adih-rc-topbar.member-simple-topbar .adih-rc-toplinks{flex:0 0 auto;flex-wrap:nowrap!important}}

/* V20 - retour UI membre classique + icônes header uniformisées */
.member-header-icon,
.member-message-trigger.member-header-icon,
.member-top-icon.member-header-icon,
.member-logout-icon.member-header-icon{
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;border:1px solid #e3e8f8!important;color:var(--adih-blue)!important;
  box-shadow:none!important;font-size:0!important;line-height:1!important;box-sizing:border-box!important;
}
.member-header-icon svg{width:20px!important;height:20px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2.1!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:0 0 20px!important;}
.member-header-icon:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(11,23,111,.10)!important;}
.member-top-icon[data-modal-target="ljmv-last-vote"],
.member-top-icon[data-modal-target="ljmv-recent-meetings"]{background:#fff!important;color:var(--adih-blue)!important;border-color:#e3e8f8!important;}
.member-message-trigger.member-header-icon .message-dot{right:8px!important;top:8px!important;z-index:2;}
.member-simple-card.member-simple-card-classic{width:min(780px,100%)!important;margin:0 auto!important;padding:32px!important;border-radius:34px!important;background:rgba(255,255,255,.98)!important;}
.member-simple-card.member-simple-card-classic .simple-card-top{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:18px!important;}
.member-simple-card.member-simple-card-classic h2{font-size:clamp(30px,5vw,58px)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.05!important;letter-spacing:-.055em!important;}
.member-simple-card.member-simple-card-classic .simple-meeting-title{font-size:19px!important;margin-top:14px!important;}
.member-simple-card.member-simple-card-classic .simple-flags{margin-top:18px!important;display:flex!important;flex-wrap:wrap!important;gap:9px!important;align-items:center!important;}
.member-simple-card.member-simple-card-classic .simple-reminders{margin-top:22px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#f8faff!important;border:1px solid #e4e9f5!important;border-radius:18px!important;padding:12px 14px!important;box-shadow:none!important;}
.member-simple-card.member-simple-card-classic .simple-reminders .reminder-options{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;}
.member-simple-card.member-simple-card-classic .simple-reminders .reminder-options label{margin:0!important;background:#fff!important;border:1px solid #e4e9f5!important;border-radius:999px!important;padding:8px 11px!important;}
@media(max-width:720px){
  .member-header-icon,.member-message-trigger.member-header-icon,.member-top-icon.member-header-icon,.member-logout-icon.member-header-icon{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;}
  .member-header-icon svg{width:18px!important;height:18px!important;flex-basis:18px!important;}
  .member-simple-card.member-simple-card-classic{padding:22px!important;border-radius:28px!important;}
  .member-simple-card.member-simple-card-classic .simple-card-top{align-items:flex-start!important;flex-direction:column!important;}
  .member-simple-card.member-simple-card-classic .simple-reminders{align-items:flex-start!important;flex-direction:column!important;}
}
@media(max-width:520px){
  .member-header-icon,.member-message-trigger.member-header-icon,.member-top-icon.member-header-icon,.member-logout-icon.member-header-icon{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;}
  .member-header-icon svg{width:16px!important;height:16px!important;flex-basis:16px!important;}
}


/* V21 - rappels déplacés dans une icône du header */
.member-top-icon[data-modal-target="ljmv-reminders"]{background:#fff!important;color:var(--adih-blue)!important;border-color:#e3e8f8!important;}
.member-simple-card.member-simple-card-classic .simple-reminders{display:none!important;}
.ljmv-reminder-popup-form{margin:0!important;background:#fff!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;display:block!important;}
.ljmv-reminder-intro{display:flex;flex-direction:column;gap:3px;margin-bottom:12px!important;}
.ljmv-reminder-intro strong{font-size:18px!important;color:var(--adih-blue)!important;}
.ljmv-reminder-intro small{font-size:13px!important;color:#667085!important;font-weight:750!important;line-height:1.4!important;}
.ljmv-reminder-current{display:inline-flex;align-items:center;width:max-content;max-width:100%;border:1px solid #abefc6;background:#ecfdf3;color:#067647;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;margin-bottom:12px;}
.ljmv-reminder-popup-form .reminder-options{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;}
.ljmv-reminder-popup-form .reminder-options label{background:#f8faff!important;border:1px solid #e4e9f5!important;border-radius:999px!important;padding:9px 12px!important;font-weight:900!important;color:#344054!important;margin:0!important;}
.ljmv-reminder-popup-form .reminder-options label input{width:auto!important;margin-right:6px!important;}
.ljmv-reminder-popup-form .adih-rc-mini{padding:10px 16px!important;border-radius:999px!important;}
.ljmv-reminder-empty{border:1px solid #e4e9f5;background:#f8faff;border-radius:18px;padding:14px 16px;}
@media(max-width:520px){.ljmv-reminder-popup-form .reminder-options{align-items:stretch!important}.ljmv-reminder-popup-form .reminder-options label,.ljmv-reminder-popup-form .adih-rc-mini{width:100%;justify-content:center;text-align:center;}}

/* V22 - popups plus slick + admin vote flow simplifié */
.live-close{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#cf2e64!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  line-height:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  transition:background .18s ease, transform .18s ease!important;
}
.live-close:hover{background:#fff1f6!important;transform:scale(1.03)!important;}
.ljmv-member-history-source{display:contents;}
.ljmv-vote-start-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:center;background:linear-gradient(135deg,#fff,#f7f9ff)!important;}
.ljmv-vote-start-card .vote-start-icon{width:70px;height:70px;border-radius:24px;background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2));color:#fff;display:grid;place-items:center;font-size:30px;font-weight:950;box-shadow:0 16px 38px rgba(11,23,111,.18)}
.ljmv-vote-start-card h2{font-size:clamp(24px,3vw,36px);line-height:1.08;margin:4px 0 8px;color:var(--adih-blue);letter-spacing:-.045em;}
.ljmv-vote-start-card p{max-width:720px;margin:0 0 16px;color:#667085;font-weight:650;}
.clean-admin-head h1{font-size:clamp(34px,4vw,56px)!important;}
.adih-rc-admin-layout{gap:18px;}
.adih-rc-sidebar{border-radius:30px!important;box-shadow:0 18px 50px rgba(11,23,111,.08)!important;}
.adih-rc-sidebar nav a{border-radius:18px!important;}
.adih-object-card.compact.vote-card{border-radius:20px!important;}
@media(max-width:720px){.ljmv-vote-start-card{grid-template-columns:1fr;text-align:center}.ljmv-vote-start-card .vote-start-icon{margin:0 auto}.ljmv-vote-start-card .hero-actions{justify-content:center}}

/* V23 - mandats + zone production */
.member-top-icon[data-modal-target="ljmv-mandate"]{background:#fff!important;color:var(--adih-blue)!important;border-color:#e3e8f8!important;}
.ljmv-mandate-box{display:grid;gap:14px;}
.ljmv-mandate-box .mandate-form{background:#f8faff;border:1px solid #e4e9f5;border-radius:22px;padding:16px;margin:0;}
.mandate-status-list,.mandate-received-actions{display:grid;gap:10px;margin-top:10px;}
.mandate-status-item,.mandate-action-card{display:grid;gap:6px;background:#fff;border:1px solid #e4e9f5;border-radius:18px;padding:14px;}
.mandate-status-item em{width:max-content;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;background:#fff7ed;color:#c2410c;font-style:normal;}
.mandate-status-item.status-approved em{background:#ecfdf3;color:#067647;}
.mandate-status-item.status-rejected em{background:#fff1f3;color:#c01048;}
.mandate-action-card>span{font-size:18px;font-weight:950;color:var(--adih-blue)}
.mandate-vote-details{border:1px solid #e4e9f5;border-radius:16px;padding:10px;background:#f8faff;}
.mandate-vote-details summary{cursor:pointer;font-weight:900;color:var(--adih-blue)}
.mandate-admin-panel{margin-bottom:18px;}
.mandate-admin-list{display:grid;gap:10px;}
.mandate-admin-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;border:1px solid #e4e9f5;background:#fff;border-radius:18px;padding:12px 14px;}
.mandate-admin-item strong{color:var(--adih-blue);font-weight:950;}
.mandate-admin-item small{display:block;color:#667085;font-weight:700;margin-top:4px;}
.adih-rc-mini.danger,.adih-rc-btn.danger{border-color:#fda4af!important;color:#be123c!important;background:#fff1f2!important;}
.danger-zone{border-color:#fecdd3!important;background:linear-gradient(135deg,#fff,#fff7f8)!important;}
.danger-zone h2{color:#be123c!important;}
@media(max-width:720px){.mandate-admin-item{grid-template-columns:1fr}.mandate-admin-item .inline-action-form{width:100%}.mandate-admin-item .adih-rc-mini{width:100%}}

/* V24 mandate refinement */
.mandate-lock-note{
  margin:10px 0 0;
  padding:12px 14px;
  border-radius:18px;
  background:#fff7ed;
  color:#9a3412;
  font-weight:700;
  border:1px solid rgba(251,146,60,.35);
}
.js-mandate-submit.is-disabled{opacity:.55;cursor:not-allowed;}
.mandate-admin-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px;}
.mandate-reject-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.mandate-reject-form select,.mandate-reject-form input[type="text"]{
  min-height:38px;border-radius:12px;border:1px solid rgba(13,25,119,.18);padding:8px 10px;background:#fff;
}
.mandate-status-item small{display:block;margin-top:4px;color:#6b7280;font-weight:700;}

/* V29 - menu admin compact : icônes uniquement, nom au survol */
.adih-rc-sidebar{overflow:visible!important;}
.adih-rc-sidebar nav{overflow:visible!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;}
.adih-rc-sidebar nav a{position:relative!important;width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:18px!important;}
.adih-rc-sidebar nav a .nav-icon{margin:0!important;width:32px!important;height:32px!important;font-size:15px!important;}
.adih-rc-sidebar nav a .nav-label{position:absolute!important;left:50%!important;top:calc(100% + 9px)!important;transform:translateX(-50%) translateY(-4px)!important;z-index:2000!important;background:#0b176f!important;color:#fff!important;border-radius:999px!important;padding:8px 12px!important;font-size:12px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;box-shadow:0 14px 30px rgba(11,23,111,.22)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .16s ease, transform .16s ease, visibility .16s ease!important;}
.adih-rc-sidebar nav a .nav-label:before{content:"";position:absolute;left:50%;top:-5px;transform:translateX(-50%) rotate(45deg);width:10px;height:10px;background:#0b176f;}
.adih-rc-sidebar nav a:hover .nav-label,.adih-rc-sidebar nav a:focus-visible .nav-label{opacity:1!important;visibility:visible!important;transform:translateX(-50%) translateY(0)!important;}
@media(max-width:980px){.adih-rc-sidebar nav{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:8px!important}.adih-rc-sidebar nav a .nav-label{display:none!important}.adih-rc-sidebar nav a{width:48px!important;height:48px!important;min-width:48px!important}}

/* V29 - gouvernance réunion */
.governance-panel{background:linear-gradient(135deg,#fff,#f8faff)!important;}
.governance-summary{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px;}
.governance-summary span{display:inline-flex;align-items:center;border:1px solid #e4e9f5;background:#fff;border-radius:999px;padding:8px 12px;color:#0b176f;font-weight:900;font-size:13px;}
.governance-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;}
.governance-preview>div{border:1px solid #e4e9f5;background:#fff;border-radius:20px;padding:14px;}
.governance-preview h3{margin:0 0 8px;color:#0b176f;font-size:17px;}
.governance-preview ol,.governance-preview ul{margin:0 0 0 18px;padding:0;color:#344054;font-weight:750;line-height:1.5;}
.governance-preview small{color:#667085;font-weight:800;}
@media(max-width:900px){.governance-preview{grid-template-columns:1fr}}

/* V30 - commercial readiness: compact admin menu, setup wizard, demo mode, report exports */
.adih-rc-admin-layout{grid-template-columns:104px minmax(0,1fr)!important;gap:26px!important;align-items:start}
.adih-rc-sidebar.compact-admin-sidebar{width:104px!important;min-width:104px!important;padding:22px 12px!important;overflow:visible!important;position:sticky;top:18px}
.compact-admin-sidebar .side-brand{align-items:center;text-align:center;gap:8px}.compact-admin-sidebar .side-brand img{max-width:48px}.compact-admin-sidebar .side-brand span{display:none}.compact-admin-sidebar .side-brand small{font-size:10px;line-height:1.2;color:var(--adih-muted)}
.compact-admin-sidebar nav{display:flex;flex-direction:column;gap:10px;overflow:visible}.compact-admin-sidebar nav a{position:relative!important;width:64px!important;min-height:58px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:22px!important}.compact-admin-sidebar nav a .nav-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid var(--adih-border);font-size:18px}.compact-admin-sidebar nav a .nav-label{position:absolute;left:76px;top:50%;transform:translateY(-50%) translateX(-6px);background:var(--adih-blue);color:#fff;border-radius:999px;padding:10px 14px;white-space:nowrap;opacity:0;pointer-events:none;transition:.18s ease;box-shadow:0 16px 38px rgba(11,23,111,.18);font-size:14px;font-weight:800;z-index:20}.compact-admin-sidebar nav a:hover .nav-label{opacity:1;transform:translateY(-50%) translateX(0)}.compact-admin-sidebar nav a.active{background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important}.compact-admin-sidebar nav a.active .nav-icon{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.26);color:#fff}.compact-admin-sidebar nav a.active .nav-label{background:var(--adih-blue)}
.setup-wizard-form .wizard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.setup-wizard-form .wizard-grid>div{background:linear-gradient(180deg,#fff,#f7f9ff);border:1px solid var(--adih-border);border-radius:28px;padding:24px}.setup-wizard-form .step-dot{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--adih-blue);color:#fff;font-weight:900;margin-bottom:12px}.setup-wizard-form h2{margin:0 0 16px}.setup-wizard-form label{margin-top:14px}.wizard-actions{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}.report-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.adih-rc-btn.full{width:100%;justify-content:center}.danger-zone .adih-card-head p{max-width:760px}
@media(max-width:900px){.adih-rc-admin-layout{grid-template-columns:1fr!important}.adih-rc-sidebar.compact-admin-sidebar{position:relative;width:auto!important;min-width:0!important;padding:14px!important;border-radius:28px}.compact-admin-sidebar .side-brand{display:none}.compact-admin-sidebar nav{flex-direction:row;overflow-x:auto}.compact-admin-sidebar nav a{min-width:58px}.compact-admin-sidebar nav a .nav-label{display:none}.setup-wizard-form .wizard-grid{grid-template-columns:1fr}.wizard-actions .adih-rc-btn{width:100%;justify-content:center}}

/* V31 - Calendar & external integrations */
.ljmv-calendar-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;align-items:center}
.ljmv-calendar-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border-radius:999px;border:1px solid rgba(12,24,110,.14);background:rgba(255,255,255,.86);color:var(--adih-primary,#0b176f);text-decoration:none;font-weight:800;font-size:14px;box-shadow:0 10px 24px rgba(12,24,110,.06);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.ljmv-calendar-actions a:hover{transform:translateY(-1px);box-shadow:0 16px 36px rgba(12,24,110,.12);background:#fff}
.ljmv-calendar-actions a.zoom-join{background:var(--adih-primary,#0b176f);color:#fff;border-color:var(--adih-primary,#0b176f)}
.ljmv-calendar-actions.admin{margin-top:0}.adih-integrations-settings{margin:22px 0;padding:22px;border:1px solid rgba(12,24,110,.12);border-radius:24px;background:rgba(248,250,255,.72)}
.ljmv-integrations-panel .muted{margin-top:14px}
@media(max-width:720px){.ljmv-calendar-actions{justify-content:center}.ljmv-calendar-actions a{font-size:12px;padding:9px 12px;min-height:38px}}

/* V32 - UI Standardisation globale (pure UI) */
:root{
  --adih-border:#dbe3f3;
  --adih-control-bg:#ffffff;
  --adih-control-bg-soft:#fbfcff;
  --adih-control-border:#d7dfea;
  --adih-focus:rgba(11,23,111,.10);
  --adih-primary:var(--adih-blue);
}

/* Admin : retour au menu horizontal propre, pleine largeur */
.adih-rc-admin-layout{
  display:block!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  width:100%!important;
}
.adih-rc-sidebar,
.adih-rc-sidebar.compact-admin-sidebar{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:14px 18px!important;
  margin:0 0 24px!important;
  border-radius:30px!important;
  overflow:visible!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(219,227,243,.95)!important;
  box-shadow:0 18px 45px rgba(11,23,111,.07)!important;
}
.adih-rc-sidebar .side-brand,
.compact-admin-sidebar .side-brand{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  text-align:left!important;
  min-width:max-content!important;
  margin:0!important;
}
.adih-rc-sidebar .side-brand img,
.compact-admin-sidebar .side-brand img{
  width:58px!important;
  max-width:58px!important;
  height:auto!important;
  object-fit:contain!important;
}
.adih-rc-sidebar .side-brand span,
.compact-admin-sidebar .side-brand span{
  display:flex!important;
  flex-direction:column!important;
  line-height:1.05!important;
  color:var(--adih-blue)!important;
  font-weight:950!important;
  max-width:170px!important;
}
.adih-rc-sidebar .side-brand small,
.compact-admin-sidebar .side-brand small{
  display:block!important;
  font-size:10px!important;
  color:#7b8497!important;
  font-weight:850!important;
  margin-top:3px!important;
}
.adih-rc-sidebar nav,
.compact-admin-sidebar nav{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  padding:6px 2px 8px!important;
  scrollbar-width:thin!important;
}
.adih-rc-sidebar nav a,
.compact-admin-sidebar nav a{
  position:relative!important;
  flex:0 0 54px!important;
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
  max-width:54px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:18px!important;
  border:1px solid var(--adih-border)!important;
  background:#fff!important;
  color:#334155!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease,border-color .18s ease!important;
}
.adih-rc-sidebar nav a:hover,
.compact-admin-sidebar nav a:hover{
  transform:translateY(-1px)!important;
  border-color:#cbd6ea!important;
  box-shadow:0 12px 24px rgba(11,23,111,.08)!important;
}
.adih-rc-sidebar nav a.active,
.compact-admin-sidebar nav a.active{
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(11,23,111,.18)!important;
}
.adih-rc-sidebar nav a .nav-icon,
.compact-admin-sidebar nav a .nav-icon{
  width:36px!important;
  height:36px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:rgba(248,250,255,.9)!important;
  border:1px solid rgba(219,227,243,.95)!important;
  font-size:17px!important;
  line-height:1!important;
  color:inherit!important;
}
.adih-rc-sidebar nav a.active .nav-icon,
.compact-admin-sidebar nav a.active .nav-icon{
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.24)!important;
}
.adih-rc-sidebar nav a .nav-label,
.compact-admin-sidebar nav a .nav-label{
  position:absolute!important;
  left:50%!important;
  top:calc(100% + 10px)!important;
  transform:translateX(-50%) translateY(-4px)!important;
  z-index:5000!important;
  display:block!important;
  background:var(--adih-blue)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:8px 12px!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:0 14px 30px rgba(11,23,111,.22)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
}
.adih-rc-sidebar nav a .nav-label:before,
.compact-admin-sidebar nav a .nav-label:before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:-5px!important;
  transform:translateX(-50%) rotate(45deg)!important;
  width:10px!important;
  height:10px!important;
  background:var(--adih-blue)!important;
}
.adih-rc-sidebar nav a:hover .nav-label,
.adih-rc-sidebar nav a:focus-visible .nav-label,
.compact-admin-sidebar nav a:hover .nav-label,
.compact-admin-sidebar nav a:focus-visible .nav-label{
  opacity:1!important;
  visibility:visible!important;
  transform:translateX(-50%) translateY(0)!important;
}
.adih-rc-admin-main{width:100%!important;max-width:none!important;min-width:0!important;}

/* Standardisation des cartes et espacements */
.adih-rc-card,
.adih-rc-empty,
.adih-detail-hero,
.adih-rc-hero,
.setup-wizard-form .wizard-grid>div,
.adih-integrations-settings,
.vote-quick-setup,
.advanced-small,
.delegate-box,
.member-picker,
.check-options{
  border-color:var(--adih-border)!important;
}
.adih-rc-card,
.setup-wizard-form .wizard-grid>div{
  border-radius:28px!important;
}
.adih-rc-card{padding:24px!important;}
.adih-card-head{gap:18px!important;margin-bottom:20px!important;}
.setup-wizard-form .wizard-grid{gap:26px!important;align-items:stretch!important;}
.setup-wizard-form .wizard-grid>div{padding:28px!important;display:flex!important;flex-direction:column!important;gap:14px!important;}
.setup-wizard-form h2{margin:0 0 6px!important;}
.setup-wizard-form label{margin:0!important;}
.wizard-actions{gap:12px!important;margin-top:24px!important;}
.form-row{gap:16px!important;}
.adih-rc-form{gap:14px!important;}

/* Champs : même radius, même bordure, plus aucun noir par défaut */
.adih-rc-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.adih-rc-wrap textarea,
.adih-rc-wrap select,
.adih-rc-wrap .copy-input,
.adih-rc-standalone-root input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.adih-rc-standalone-root textarea,
.adih-rc-standalone-root select,
.adih-rc-standalone-root .copy-input{
  width:100%!important;
  min-height:48px!important;
  border:1px solid var(--adih-control-border)!important;
  border-radius:18px!important;
  background:var(--adih-control-bg-soft)!important;
  color:#172033!important;
  padding:13px 15px!important;
  box-shadow:none!important;
  outline:0!important;
  font-size:15px!important;
  line-height:1.3!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
  appearance:none;
  -webkit-appearance:none;
}
.adih-rc-wrap textarea,
.adih-rc-standalone-root textarea{min-height:126px!important;resize:vertical!important;}
.adih-rc-wrap select,
.adih-rc-standalone-root select{
  background-image:linear-gradient(45deg,transparent 50%,#667085 50%),linear-gradient(135deg,#667085 50%,transparent 50%)!important;
  background-position:calc(100% - 18px) 50%,calc(100% - 12px) 50%!important;
  background-size:6px 6px,6px 6px!important;
  background-repeat:no-repeat!important;
  padding-right:42px!important;
}
.adih-rc-wrap input:not([type="checkbox"]):not([type="radio"]):focus,
.adih-rc-wrap textarea:focus,
.adih-rc-wrap select:focus,
.adih-rc-standalone-root input:not([type="checkbox"]):not([type="radio"]):focus,
.adih-rc-standalone-root textarea:focus,
.adih-rc-standalone-root select:focus,
.copy-input:focus{
  border-color:var(--adih-blue)!important;
  background:#fff!important;
  box-shadow:0 0 0 4px var(--adih-focus)!important;
}
.adih-rc-wrap input[type="file"],
.adih-rc-standalone-root input[type="file"]{padding:9px 12px!important;}
.adih-rc-wrap input[type="file"]::file-selector-button,
.adih-rc-standalone-root input[type="file"]::file-selector-button{
  border:1px solid var(--adih-border)!important;
  background:#fff!important;
  color:var(--adih-blue)!important;
  border-radius:999px!important;
  padding:8px 12px!important;
  margin-right:12px!important;
  font-weight:850!important;
}
.adih-rc-wrap input[type="checkbox"],
.adih-rc-wrap input[type="radio"],
.adih-rc-standalone-root input[type="checkbox"],
.adih-rc-standalone-root input[type="radio"]{
  accent-color:var(--adih-blue)!important;
  border-color:var(--adih-control-border)!important;
}
.adih-rc-form label,
.setup-wizard-form label{
  color:#253047!important;
  font-size:14px!important;
  font-weight:900!important;
  margin-bottom:0!important;
}

/* Boutons : bleu uniforme, plus de contour rouge sur le bouton principal */
.adih-rc-btn,
.adih-rc-mini,
.adih-rc-wrap button:not(.live-close):not(.member-header-icon):not(.member-message-trigger),
.adih-rc-standalone-root button:not(.live-close):not(.member-header-icon):not(.member-message-trigger){
  border-radius:999px!important;
  box-shadow:none!important;
  outline:0!important;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease,border-color .18s ease!important;
}
.adih-rc-btn.primary,
.adih-rc-btn.full,
.adih-rc-form button[type="submit"],
.adih-rc-card button[type="submit"]:not(.live-close),
.setup-wizard-form button[type="submit"]{
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  color:#fff!important;
  border:1px solid transparent!important;
  box-shadow:0 12px 26px rgba(11,23,111,.16)!important;
}
.adih-rc-btn.primary:hover,
.adih-rc-btn.full:hover,
.adih-rc-form button[type="submit"]:hover,
.adih-rc-card button[type="submit"]:not(.live-close):hover,
.setup-wizard-form button[type="submit"]:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 18px 34px rgba(11,23,111,.20)!important;
}
.adih-rc-btn.ghost,
.adih-rc-mini,
button.adih-rc-mini{
  background:#fff!important;
  color:var(--adih-blue)!important;
  border:1px solid var(--adih-border)!important;
}
.adih-rc-btn.danger,
.adih-rc-mini.danger,
.danger-zone .adih-rc-btn,
.danger-zone .adih-rc-mini{
  background:#fff!important;
  color:var(--adih-blue)!important;
  border:1px solid var(--adih-border)!important;
}
.adih-rc-btn.danger:hover,
.adih-rc-mini.danger:hover,
.danger-zone .adih-rc-btn:hover,
.danger-zone .adih-rc-mini:hover{
  background:#f8faff!important;
  border-color:#cbd6ea!important;
}
.danger-zone{border-color:var(--adih-border)!important;background:#fff!important;}
.danger-zone h2{color:var(--adih-blue)!important;}

/* Listes membres / objets : actions plus propres et alignées */
.adih-object-card,
.member-admin-card,
.ljmv-history-item,
.mandate-admin-item{
  border-color:var(--adih-border)!important;
  border-radius:22px!important;
}
.adih-object-card .object-actions,
.member-admin-card .object-actions,
.member-card-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}

/* Évite les débordements horizontaux sur les pages denses */
.adih-rc-wrap,
.adih-rc-admin-main,
.adih-rc-card{overflow-wrap:anywhere;}
.adih-rc-section-head{align-items:flex-start!important;}

@media(max-width:980px){
  .adih-rc-sidebar,
  .adih-rc-sidebar.compact-admin-sidebar{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:12px!important;
    padding:14px!important;
  }
  .adih-rc-sidebar .side-brand,
  .compact-admin-sidebar .side-brand{justify-content:center!important;}
  .adih-rc-sidebar nav,
  .compact-admin-sidebar nav{
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    padding-bottom:10px!important;
  }
  .adih-rc-sidebar nav a .nav-label,
  .compact-admin-sidebar nav a .nav-label{display:none!important;}
  .form-row,
  .form-row:has(> div:nth-child(3)){
    grid-template-columns:1fr!important;
  }
}
@media(max-width:560px){
  .adih-rc-wrap{padding:14px!important;}
  .adih-rc-card{padding:18px!important;border-radius:24px!important;}
  .adih-rc-section-head h1{font-size:38px!important;}
  .adih-rc-btn,.adih-rc-mini{width:100%;justify-content:center;}
  .adih-rc-sidebar nav a,
  .compact-admin-sidebar nav a{flex-basis:50px!important;width:50px!important;height:50px!important;min-width:50px!important;}
}

/* V33 - UI administrative : menu horizontal nu, cartes 5 par ligne et indicateur démo */
.adih-rc-admin-layout{
  display:block!important;
  width:100%!important;
}
.adih-rc-sidebar,
.adih-rc-sidebar.compact-admin-sidebar{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  position:relative!important;
  top:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  padding:10px 0 18px!important;
  margin:0 0 18px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.adih-rc-sidebar .side-brand,
.compact-admin-sidebar .side-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  min-width:260px!important;
  max-width:420px!important;
}
.adih-rc-sidebar .side-brand img,
.compact-admin-sidebar .side-brand img{
  width:64px!important;
  max-width:64px!important;
  max-height:52px!important;
  object-fit:contain!important;
}
.adih-rc-sidebar .side-brand span,
.compact-admin-sidebar .side-brand span{
  display:block!important;
  max-width:none!important;
  color:var(--adih-blue)!important;
  font-size:20px!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
}
.adih-rc-sidebar .side-brand small,
.compact-admin-sidebar .side-brand small{
  display:none!important;
}
.adih-rc-sidebar nav,
.compact-admin-sidebar nav{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  padding:0!important;
  overflow:visible!important;
  scrollbar-width:none!important;
}
.adih-rc-sidebar nav::-webkit-scrollbar,
.compact-admin-sidebar nav::-webkit-scrollbar{display:none!important;}
.adih-rc-sidebar nav a,
.compact-admin-sidebar nav a{
  position:relative!important;
  flex:0 0 58px!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  max-width:58px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(219,227,243,.98)!important;
  color:#334155!important;
  text-decoration:none!important;
  box-shadow:0 10px 26px rgba(11,23,111,.045)!important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease!important;
}
.adih-rc-sidebar nav a:hover,
.compact-admin-sidebar nav a:hover{
  transform:translateY(-2px)!important;
  background:#fff!important;
  border-color:#cbd6ea!important;
  box-shadow:0 16px 34px rgba(11,23,111,.09)!important;
}
.adih-rc-sidebar nav a.active,
.compact-admin-sidebar nav a.active{
  color:#fff!important;
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  border-color:transparent!important;
  box-shadow:0 16px 32px rgba(11,23,111,.18)!important;
}
.adih-rc-sidebar nav a .nav-icon,
.compact-admin-sidebar nav a .nav-icon{
  width:38px!important;
  height:38px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  font-size:18px!important;
  line-height:1!important;
  background:rgba(255,255,255,.70)!important;
  border:1px solid rgba(219,227,243,.95)!important;
  color:inherit!important;
}
.adih-rc-sidebar nav a.active .nav-icon,
.compact-admin-sidebar nav a.active .nav-icon{
  background:rgba(255,255,255,.17)!important;
  border-color:rgba(255,255,255,.27)!important;
}
.adih-rc-sidebar nav a .nav-label,
.compact-admin-sidebar nav a .nav-label{
  position:absolute!important;
  left:50%!important;
  top:calc(100% + 10px)!important;
  transform:translateX(-50%) translateY(-4px)!important;
  display:block!important;
  z-index:9000!important;
  padding:8px 12px!important;
  background:var(--adih-blue)!important;
  color:#fff!important;
  border-radius:999px!important;
  box-shadow:0 14px 30px rgba(11,23,111,.22)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  transition:opacity .16s ease, visibility .16s ease, transform .16s ease!important;
}
.adih-rc-sidebar nav a .nav-label:before,
.compact-admin-sidebar nav a .nav-label:before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:-5px!important;
  transform:translateX(-50%) rotate(45deg)!important;
  width:10px!important;
  height:10px!important;
  background:var(--adih-blue)!important;
}
.adih-rc-sidebar nav a:hover .nav-label,
.compact-admin-sidebar nav a:hover .nav-label,
.adih-rc-sidebar nav a:focus-visible .nav-label,
.compact-admin-sidebar nav a:focus-visible .nav-label{
  opacity:1!important;
  visibility:visible!important;
  transform:translateX(-50%) translateY(0)!important;
}
.adih-rc-stats{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:16px!important;
}
.adih-rc-stats .stat-card,
.adih-rc-stats>div{
  min-height:150px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.adih-rc-stats .time-stat{display:none!important;}
.adih-rc-admin-main{width:100%!important;max-width:none!important;}

/* Mode démonstration visible mais non intrusif */
.adih-rc-admin-layout.is-demo-mode .adih-rc-admin-main{
  position:relative!important;
}
.adih-rc-admin-layout.is-demo-mode .adih-rc-admin-main:before{
  content:"";
  position:absolute;
  inset:-12px;
  pointer-events:none;
  border-radius:34px;
  background:radial-gradient(circle at 100% 0%,rgba(245,158,11,.13),transparent 28%),radial-gradient(circle at 0% 100%,rgba(229,41,32,.08),transparent 26%);
  z-index:-1;
}
.ljmv-demo-floating{
  position:fixed!important;
  top:22px!important;
  right:22px!important;
  z-index:12000!important;
}
.ljmv-demo-badge{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  height:44px!important;
  border-radius:999px!important;
  padding:0 14px!important;
  color:#8a4300!important;
  background:#fff7ed!important;
  border:1px solid #fed7aa!important;
  box-shadow:0 16px 40px rgba(154,84,0,.16)!important;
  cursor:pointer!important;
  font-weight:950!important;
  animation:ljmvDemoPulse 1.35s ease-in-out infinite!important;
}
.ljmv-demo-badge span{
  display:grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  border-radius:50%!important;
  background:#f59e0b!important;
  color:#fff!important;
  font-size:13px!important;
}
.ljmv-demo-badge strong{font-size:13px!important;white-space:nowrap!important;}
.ljmv-demo-badge em{display:none!important;font-style:normal!important;font-size:12px!important;white-space:nowrap!important;}
.ljmv-demo-badge:hover strong{display:none!important;}
.ljmv-demo-badge:hover em{display:inline!important;}
@keyframes ljmvDemoPulse{0%,100%{transform:translateY(0);box-shadow:0 16px 40px rgba(154,84,0,.16)}50%{transform:translateY(-1px);box-shadow:0 18px 48px rgba(245,158,11,.32)}}
.ljmv-demo-modal[hidden]{display:none!important;}
.ljmv-demo-modal{position:fixed!important;inset:0!important;z-index:13000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;}
.ljmv-demo-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.42)!important;backdrop-filter:blur(8px)!important;}
.ljmv-demo-dialog{position:relative!important;width:min(540px,100%)!important;background:#fff!important;border:1px solid var(--adih-border)!important;border-radius:30px!important;padding:30px!important;box-shadow:0 30px 80px rgba(11,23,111,.25)!important;}
.ljmv-demo-dialog h2{margin:8px 0 10px!important;color:var(--adih-blue)!important;font-size:32px!important;letter-spacing:-.045em!important;}
.ljmv-demo-dialog p{color:#667085!important;line-height:1.55!important;}
.ljmv-demo-dialog form{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:20px!important;}
.ljmv-demo-dialog .live-close{position:absolute!important;right:18px!important;top:16px!important;}
@media(max-width:1280px){
  .adih-rc-sidebar,.adih-rc-sidebar.compact-admin-sidebar{align-items:flex-start!important;flex-direction:column!important;}
  .adih-rc-sidebar nav,.compact-admin-sidebar nav{justify-content:flex-start!important;overflow-x:auto!important;overflow-y:visible!important;width:100%!important;padding-bottom:8px!important;}
  .adih-rc-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:980px){
  .adih-rc-sidebar,.adih-rc-sidebar.compact-admin-sidebar{padding:8px 0 14px!important;}
  .adih-rc-sidebar .side-brand,.compact-admin-sidebar .side-brand{min-width:0!important;}
  .adih-rc-sidebar .side-brand span,.compact-admin-sidebar .side-brand span{font-size:18px!important;}
  .adih-rc-sidebar nav a .nav-label,.compact-admin-sidebar nav a .nav-label{display:none!important;}
  .adih-rc-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .ljmv-demo-floating{top:auto!important;right:14px!important;bottom:14px!important;}
}
@media(max-width:560px){
  .adih-rc-sidebar nav a,.compact-admin-sidebar nav a{flex-basis:50px!important;width:50px!important;height:50px!important;min-width:50px!important;}
  .adih-rc-sidebar nav a .nav-icon,.compact-admin-sidebar nav a .nav-icon{width:34px!important;height:34px!important;font-size:16px!important;}
  .adih-rc-stats{grid-template-columns:1fr!important;}
}

/* V34 - UI polishing : header simplifié, assistant intelligent, standardisation finale */
/* Topbar admin : uniquement heure + déconnexion, plus de raccourcis inutiles */
.adih-rc-wrap:not(.adih-member-simple-wrap) .adih-rc-topbar{
  padding:14px 20px!important;
  border-radius:30px!important;
  margin-bottom:22px!important;
}
.adih-rc-wrap:not(.adih-member-simple-wrap) .adih-rc-topbar .adih-rc-toplinks{
  margin-left:auto!important;
  gap:12px!important;
}
.adih-rc-wrap:not(.adih-member-simple-wrap) .adih-time-pill{
  min-width:170px!important;
  border-radius:18px!important;
  padding:10px 16px!important;
}
.adih-rc-wrap:not(.adih-member-simple-wrap) .adih-time-pill strong{
  font-size:15px!important;
}
.adih-rc-wrap:not(.adih-member-simple-wrap) .adih-rc-toplinks a.logout{
  min-height:46px!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  color:var(--adih-blue)!important;
  border:1px solid var(--adih-border)!important;
  background:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
}
.adih-rc-wrap:not(.adih-member-simple-wrap) .adih-rc-toplinks a.logout:hover{
  background:#f8faff!important;
  box-shadow:0 12px 26px rgba(11,23,111,.08)!important;
}

/* Menu admin : horizontal, pleine largeur, sans effet d'emboîtement */
.adih-rc-sidebar.compact-admin-sidebar,
.adih-rc-sidebar{
  padding:6px 0 18px!important;
  margin:0 0 20px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.adih-rc-sidebar .side-brand,
.compact-admin-sidebar .side-brand{
  min-width:260px!important;
  flex:0 0 auto!important;
}
.adih-rc-sidebar nav,
.compact-admin-sidebar nav{
  justify-content:flex-end!important;
  gap:10px!important;
  overflow-x:auto!important;
  padding:2px 2px 12px!important;
}
.adih-rc-sidebar nav a,
.compact-admin-sidebar nav a{
  flex:0 0 48px!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  max-width:48px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:16px!important;
}
.adih-rc-sidebar nav a .nav-icon,
.compact-admin-sidebar nav a .nav-icon{
  width:38px!important;
  height:38px!important;
  background:#fff!important;
  border:1px solid var(--adih-border)!important;
  box-shadow:0 8px 20px rgba(11,23,111,.045)!important;
}
.adih-rc-sidebar nav a:hover,
.compact-admin-sidebar nav a:hover{
  background:transparent!important;
  box-shadow:none!important;
}
.adih-rc-sidebar nav a:hover .nav-icon,
.compact-admin-sidebar nav a:hover .nav-icon{
  border-color:#cbd6ea!important;
  box-shadow:0 12px 26px rgba(11,23,111,.08)!important;
}
.adih-rc-sidebar nav a.active,
.compact-admin-sidebar nav a.active{
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  box-shadow:0 14px 30px rgba(11,23,111,.18)!important;
}
.adih-rc-sidebar nav a.active .nav-icon,
.compact-admin-sidebar nav a.active .nav-icon{
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.25)!important;
  box-shadow:none!important;
}

/* Dashboard : 5 cartes égales et plus compactes */
.adih-rc-stats{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
.adih-rc-stats .stat-card,
.adih-rc-stats>div{
  min-height:138px!important;
  height:100%!important;
  padding:22px!important;
  border-radius:26px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.adih-rc-stats .stat-card strong,
.adih-rc-stats>div strong{
  font-size:38px!important;
}

/* Standard formulaire final : toutes les entrées identiques */
.adih-rc-wrap input[type="email"],
.adih-rc-wrap input[type="text"],
.adih-rc-wrap input[type="tel"],
.adih-rc-wrap input[type="url"],
.adih-rc-wrap input[type="number"],
.adih-rc-wrap input[type="date"],
.adih-rc-wrap input[type="time"],
.adih-rc-wrap input[type="datetime-local"],
.adih-rc-wrap input[type="password"],
.adih-rc-wrap textarea,
.adih-rc-wrap select{
  border:1px solid var(--adih-control-border)!important;
  border-radius:18px!important;
  background:#fbfcff!important;
  box-shadow:none!important;
  outline:none!important;
  min-height:50px!important;
}
.adih-rc-wrap input[type="email"]:focus,
.adih-rc-wrap input[type="text"]:focus,
.adih-rc-wrap input[type="tel"]:focus,
.adih-rc-wrap input[type="url"]:focus,
.adih-rc-wrap input[type="number"]:focus,
.adih-rc-wrap input[type="date"]:focus,
.adih-rc-wrap input[type="time"]:focus,
.adih-rc-wrap input[type="datetime-local"]:focus,
.adih-rc-wrap input[type="password"]:focus,
.adih-rc-wrap textarea:focus,
.adih-rc-wrap select:focus{
  border-color:var(--adih-blue)!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(11,23,111,.08)!important;
}
.adih-rc-form label{margin-top:0!important;margin-bottom:2px!important;}
.adih-rc-form .form-row{gap:16px!important;}

/* Boutons : même bleu, aucun contour rouge parasite */
.adih-rc-btn.primary,
.adih-rc-btn.full,
.adih-rc-form .adih-rc-btn.primary,
.adih-rc-card .adih-rc-btn.primary,
.adih-rc-form button[type="submit"],
.adih-rc-card button[type="submit"]:not(.live-close):not(.ljmv-demo-badge){
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  color:#fff!important;
  border:1px solid transparent!important;
  outline:0!important;
  box-shadow:0 12px 26px rgba(11,23,111,.15)!important;
}
.adih-rc-btn.primary:focus,
.adih-rc-form button[type="submit"]:focus{
  outline:0!important;
  box-shadow:0 0 0 4px rgba(11,23,111,.12)!important;
}
.adih-rc-btn.ghost,
.adih-rc-mini{
  color:var(--adih-blue)!important;
  border:1px solid var(--adih-border)!important;
  background:#fff!important;
}
.adih-rc-btn.danger,
.adih-rc-mini.danger{
  color:var(--adih-blue)!important;
  border:1px solid var(--adih-border)!important;
  background:#fff!important;
}

/* Listes admin : actions plus sobres, boutons moins énormes */
.adih-person-card.employee-card,
.adih-person-card,
.adih-object-card{
  align-items:center!important;
  border-radius:24px!important;
}
.person-meta,
.member-card-actions,
.object-actions{
  gap:10px!important;
  align-items:center!important;
}
.person-meta form,
.member-card-actions form,
.object-actions form{
  margin:0!important;
  width:auto!important;
}
.person-meta .adih-rc-mini,
.member-card-actions .adih-rc-mini,
.object-actions .adih-rc-mini,
.person-meta button,
.member-card-actions button,
.object-actions button{
  width:auto!important;
  min-width:112px!important;
  max-width:220px!important;
  min-height:40px!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.person-meta select{
  min-width:150px!important;
  width:auto!important;
  max-width:190px!important;
  min-height:42px!important;
  padding:9px 38px 9px 14px!important;
  border-radius:999px!important;
}
.person-meta .pill{font-size:12px!important;padding:8px 12px!important;}

/* Assistant : meilleur espacement et lecture claire */
.setup-wizard-form .wizard-grid{
  gap:28px!important;
  margin-bottom:6px!important;
}
.setup-wizard-form .wizard-grid>div{
  gap:16px!important;
  padding:30px!important;
  min-height:100%!important;
}
.setup-wizard-form .wizard-grid h2{
  margin:4px 0 4px!important;
}
.setup-wizard-form .wizard-actions{
  justify-content:flex-end!important;
  gap:14px!important;
  margin-top:26px!important;
}
.setup-wizard-form .wizard-actions .adih-rc-btn{
  min-width:190px!important;
}

@media(max-width:1280px){
  .adih-rc-sidebar,.compact-admin-sidebar{flex-direction:row!important;align-items:center!important;}
  .adih-rc-sidebar nav,.compact-admin-sidebar nav{justify-content:flex-end!important;}
  .adih-rc-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
}
@media(max-width:1080px){
  .adih-rc-sidebar,.compact-admin-sidebar{flex-direction:column!important;align-items:stretch!important;}
  .adih-rc-sidebar .side-brand,.compact-admin-sidebar .side-brand{min-width:0!important;}
  .adih-rc-sidebar nav,.compact-admin-sidebar nav{justify-content:flex-start!important;overflow-x:auto!important;}
  .adih-rc-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:620px){
  .adih-rc-wrap:not(.adih-member-simple-wrap) .adih-rc-topbar{align-items:stretch!important;}
  .adih-rc-wrap:not(.adih-member-simple-wrap) .adih-rc-toplinks{width:100%!important;justify-content:space-between!important;}
  .adih-rc-wrap:not(.adih-member-simple-wrap) .adih-time-pill{min-width:0!important;flex:1!important;}
  .adih-rc-stats{grid-template-columns:1fr!important;}
  .person-meta{align-items:flex-start!important;}
  .person-meta .adih-rc-mini,.person-meta button,.person-meta select{width:100%!important;max-width:none!important;}
  .setup-wizard-form .wizard-actions .adih-rc-btn{width:100%!important;}
}

/* V35 - Admin UI refinement: clean horizontal menu, dashboard controls, no default time card */
.adih-rc-admin-layout{
  display:block!important;
  max-width:1480px!important;
  margin:0 auto!important;
}
.adih-rc-admin-main{
  min-width:0!important;
}
.adih-rc-sidebar.compact-admin-sidebar,
.adih-rc-sidebar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  width:100%!important;
  min-height:78px!important;
  padding:14px 4px 18px!important;
  margin:0 0 22px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  position:relative!important;
  overflow:visible!important;
}
.adih-rc-sidebar .side-brand,
.compact-admin-sidebar .side-brand{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-width:0!important;
  flex:0 0 auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.adih-rc-sidebar .side-brand img,
.compact-admin-sidebar .side-brand img{
  width:74px!important;
  max-height:48px!important;
  object-fit:contain!important;
}
.adih-rc-sidebar .side-brand span,
.compact-admin-sidebar .side-brand span{
  display:block!important;
  color:var(--adih-blue)!important;
  font-size:20px!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
}
.adih-rc-sidebar nav,
.compact-admin-sidebar nav{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  width:auto!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
}
.adih-rc-sidebar nav a,
.compact-admin-sidebar nav a{
  position:relative!important;
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
  max-width:54px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:20px!important;
  border:1px solid #dfe6f5!important;
  background:rgba(255,255,255,.72)!important;
  box-shadow:0 10px 24px rgba(11,23,111,.045)!important;
  text-decoration:none!important;
  overflow:visible!important;
}
.adih-rc-sidebar nav a .nav-icon,
.compact-admin-sidebar nav a .nav-icon{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:16px!important;
  background:#fff!important;
  border:0!important;
  color:#303b50!important;
  font-size:18px!important;
  line-height:1!important;
  box-shadow:none!important;
}
.adih-rc-sidebar nav a .nav-label,
.compact-admin-sidebar nav a .nav-label{
  position:absolute!important;
  left:50%!important;
  top:calc(100% + 8px)!important;
  transform:translateX(-50%) translateY(-4px)!important;
  background:#1f2937!important;
  color:#fff!important;
  border-radius:8px!important;
  padding:6px 9px!important;
  white-space:nowrap!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:.16s ease!important;
  box-shadow:0 12px 28px rgba(17,24,39,.18)!important;
  font-size:12px!important;
  font-weight:700!important;
  z-index:9999!important;
}
.adih-rc-sidebar nav a:hover,
.compact-admin-sidebar nav a:hover{
  transform:translateY(-1px)!important;
  border-color:#cad5ea!important;
  box-shadow:0 14px 30px rgba(11,23,111,.09)!important;
}
.adih-rc-sidebar nav a:hover .nav-label,
.compact-admin-sidebar nav a:hover .nav-label{
  opacity:1!important;
  transform:translateX(-50%) translateY(0)!important;
}
.adih-rc-sidebar nav a.active,
.compact-admin-sidebar nav a.active{
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  border-color:transparent!important;
  box-shadow:0 16px 34px rgba(11,23,111,.22)!important;
}
.adih-rc-sidebar nav a.active .nav-icon,
.compact-admin-sidebar nav a.active .nav-icon{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
}
.adih-rc-sidebar nav a.active:after,
.compact-admin-sidebar nav a.active:after{
  display:none!important;
  content:none!important;
}

.adih-rc-stats{
  grid-template-columns:repeat(var(--ljmv-dashboard-columns,5),minmax(0,1fr))!important;
  gap:16px!important;
}
.adih-rc-stats .stat-card{
  min-height:132px!important;
  padding:22px!important;
  border-radius:24px!important;
}
.dashboard-card-options{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:center!important;
}
.dashboard-card-options strong{
  grid-column:1/-1!important;
  color:var(--adih-blue)!important;
  font-size:14px!important;
  font-weight:950!important;
}
.dashboard-card-options label{
  background:#fff!important;
  border:1px solid var(--adih-border)!important;
  border-radius:999px!important;
  padding:10px 12px!important;
}

@media(max-width:1100px){
  .adih-rc-sidebar.compact-admin-sidebar,.adih-rc-sidebar{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .adih-rc-sidebar nav,.compact-admin-sidebar nav{
    width:100%!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    padding-bottom:8px!important;
  }
  .adih-rc-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dashboard-card-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:620px){
  .adih-rc-sidebar .side-brand span,.compact-admin-sidebar .side-brand span{font-size:18px!important;}
  .adih-rc-sidebar nav a,.compact-admin-sidebar nav a{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;border-radius:17px!important;}
  .adih-rc-sidebar nav a .nav-icon,.compact-admin-sidebar nav a .nav-icon{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;}
  .adih-rc-stats{grid-template-columns:1fr!important;}
  .dashboard-card-options{grid-template-columns:1fr!important;}
}

/* V36 - Gestionnaires: carte plus lisible, statuts en haut, utilisateur au centre, actions en bas */
.adih-person-card.employee-card-v36{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  padding:22px!important;
  align-items:stretch!important;
}
.employee-card-v36 .employee-status-line{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.employee-card-v36 .employee-user-line{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
}
.employee-card-v36 .person-info strong{
  font-size:22px!important;
  line-height:1.12!important;
}
.employee-card-v36 .person-info span,
.employee-card-v36 .person-info small{
  font-size:15px!important;
  line-height:1.28!important;
}
.employee-card-v36 .employee-action-line{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding-top:2px!important;
}
.employee-card-v36 .employee-action-line form,
.employee-card-v36 .employee-status-form{
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.employee-card-v36 .employee-action-line select{
  width:auto!important;
  min-width:150px!important;
  max-width:180px!important;
  height:44px!important;
  border:1px solid var(--adih-border)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#20283a!important;
  font-weight:900!important;
  padding:0 40px 0 16px!important;
}
.employee-card-v36 .employee-action-line .adih-rc-mini,
.employee-card-v36 .employee-action-line button{
  width:auto!important;
  min-width:132px!important;
  max-width:none!important;
  height:44px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  font-size:14px!important;
  font-weight:900!important;
  border:1px solid var(--adih-border)!important;
  background:#fff!important;
  color:var(--adih-blue)!important;
  box-shadow:none!important;
}
.employee-card-v36 .employee-action-line .employee-status-form .adih-rc-mini{
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  color:#fff!important;
  border-color:transparent!important;
}
.employee-card-v36 .employee-action-line .adih-rc-mini.danger{
  color:#b42318!important;
  background:#fff!important;
  border-color:#fecdca!important;
}
@media(max-width:760px){
  .employee-card-v36 .employee-status-line,
  .employee-card-v36 .employee-action-line{
    justify-content:flex-start!important;
  }
  .employee-card-v36 .employee-action-line form,
  .employee-card-v36 .employee-status-form{
    width:100%!important;
  }
  .employee-card-v36 .employee-action-line select,
  .employee-card-v36 .employee-action-line .adih-rc-mini,
  .employee-card-v36 .employee-action-line button{
    width:100%!important;
    max-width:none!important;
  }
}

/* V37 - section landing choices + cleaner manager cards */
.ljmv-entry-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(260px,1fr));
  gap:18px;
  margin:8px 0 24px;
}
.ljmv-entry-card{
  position:relative;
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:28px;
  border-radius:30px;
  text-decoration:none;
  background:linear-gradient(145deg,#fff,#f7f9ff);
  border:1px solid var(--adih-line);
  color:var(--adih-blue);
  box-shadow:var(--adih-shadow-soft);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ljmv-entry-card:after{
  content:"";
  position:absolute;
  right:-46px;
  top:-52px;
  width:160px;
  height:160px;
  border-radius:50%;
  background:rgba(11,23,111,.045);
}
.ljmv-entry-card:hover{
  transform:translateY(-3px);
  border-color:rgba(11,23,111,.18);
  box-shadow:0 22px 52px rgba(11,23,111,.12);
}
.ljmv-entry-icon{
  width:60px;
  height:60px;
  border-radius:22px;
  display:grid;
  place-items:center;
  background:#eef2ff;
  border:1px solid #dfe6fb;
  font-size:26px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.75);
}
.ljmv-entry-card strong{
  display:block;
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:900;
}
.ljmv-entry-card em{
  max-width:460px;
  font-style:normal;
  color:var(--adih-muted);
  font-weight:750;
  line-height:1.45;
}
.adih-rc-single-col{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
.ljmv-management-panel .adih-rc-card{
  max-width:1120px;
}
.ljmv-panel-list .adih-rc-card{
  max-width:1280px;
}
.btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.35em;
  margin-right:7px;
  font-size:.95em;
}
.employee-card-v36{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px 22px!important;
  align-items:center!important;
  padding:24px!important;
}
.employee-card-v36 .employee-status-line{
  grid-column:1/-1;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  order:1;
}
.employee-card-v36 .employee-user-line{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px;
  align-items:center;
  order:2;
}
.employee-card-v36 .employee-action-line{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:10px;
  padding-top:4px;
  order:3;
}
.employee-card-v36 .employee-action-line form{
  margin:0!important;
}
.employee-card-v36 .employee-status-form{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.employee-card-v36 .employee-action-line .adih-rc-mini,
.employee-card-v36 .employee-status-form select{
  min-height:44px;
  border-radius:999px!important;
}
.employee-card-v36 .employee-action-line .adih-rc-mini{
  padding:11px 18px;
  font-size:14px;
}
.employee-card-v36 .employee-status-form select{
  padding:10px 18px;
  min-width:170px;
  font-weight:900;
  color:#1d2433;
  border-color:var(--adih-line);
}
@media(max-width:820px){
  .ljmv-entry-actions{grid-template-columns:1fr;}
  .ljmv-entry-card{min-height:150px;padding:22px;}
  .ljmv-entry-card strong{font-size:24px;}
  .employee-card-v36 .employee-status-line{justify-content:flex-start;}
  .employee-card-v36 .employee-action-line .adih-rc-mini,
  .employee-card-v36 .employee-status-form select{width:100%;justify-content:center;}
  .employee-card-v36 .employee-status-form{width:100%;}
  .employee-card-v36 .delete-form,.employee-card-v36 .reset-form{width:100%;}
}


/* =========================================================
   V39 - UI polish: boutons centrés + harmonisation globale
   Objectif : correction visuelle uniquement, sans toucher à la logique.
   ========================================================= */

:root{
  --ljmv-btn-min-h:44px;
  --ljmv-btn-radius:999px;
}

/* Tous les boutons/liens d’action doivent centrer leur texte parfaitement. */
.adih-rc-wrap .adih-rc-btn,
.adih-rc-wrap .adih-rc-mini,
.adih-rc-wrap a.adih-rc-mini,
.adih-rc-wrap button.adih-rc-mini,
.adih-rc-wrap .object-actions a,
.adih-rc-wrap .object-actions button,
.adih-rc-wrap .member-card-actions a,
.adih-rc-wrap .member-card-actions button,
.adih-rc-standalone-root .adih-rc-btn,
.adih-rc-standalone-root .adih-rc-mini,
.adih-rc-standalone-root a.adih-rc-mini,
.adih-rc-standalone-root button.adih-rc-mini,
.adih-rc-standalone-root .object-actions a,
.adih-rc-standalone-root .object-actions button,
.adih-rc-standalone-root .member-card-actions a,
.adih-rc-standalone-root .member-card-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  vertical-align:middle!important;
  line-height:1.12!important;
  min-height:var(--ljmv-btn-min-h)!important;
  padding:0 20px!important;
  border-radius:var(--ljmv-btn-radius)!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}

/* Boutons secondaires comme "Ouvrir" : taille cohérente et texte bien au milieu. */
.adih-rc-wrap .adih-rc-mini,
.adih-rc-standalone-root .adih-rc-mini,
.adih-rc-wrap .object-actions .adih-rc-mini,
.adih-rc-standalone-root .object-actions .adih-rc-mini{
  min-width:132px!important;
  height:44px!important;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
  color:var(--adih-blue)!important;
  background:#fff!important;
  border:1px solid var(--adih-border)!important;
}

/* Boutons principaux : même bleu, aucun contour rouge parasite. */
.adih-rc-wrap .adih-rc-btn.primary,
.adih-rc-wrap .adih-rc-btn.full,
.adih-rc-wrap .adih-rc-form button[type="submit"],
.adih-rc-wrap .adih-rc-card button[type="submit"]:not(.live-close):not(.ljmv-demo-badge),
.adih-rc-wrap .setup-wizard-form button[type="submit"],
.adih-rc-standalone-root .adih-rc-btn.primary,
.adih-rc-standalone-root .adih-rc-btn.full,
.adih-rc-standalone-root .adih-rc-form button[type="submit"],
.adih-rc-standalone-root .adih-rc-card button[type="submit"]:not(.live-close):not(.ljmv-demo-badge),
.adih-rc-standalone-root .setup-wizard-form button[type="submit"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2))!important;
  color:#fff!important;
  border:1px solid transparent!important;
  outline:0!important;
  box-shadow:0 14px 30px rgba(11,23,111,.16)!important;
}

/* Actions dans les cartes : alignement propre, sans bouton flottant ou collé au bord. */
.adih-rc-wrap .object-actions,
.adih-rc-standalone-root .object-actions,
.adih-rc-wrap .member-card-actions,
.adih-rc-standalone-root .member-card-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}

/* Cartes d’objets : respirations régulières et grille plus stable. */
.adih-object-card{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  padding:22px!important;
  min-height:112px!important;
}
.adih-object-card .object-main{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
.adih-object-card .object-content{
  min-width:0!important;
}
.adih-object-card .object-content h3,
.adih-object-card .object-title-row h3{
  margin:0 0 6px!important;
  line-height:1.12!important;
}
.adih-object-card .object-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px 10px!important;
  align-items:center!important;
}

/* Cartes d’entrée Ajouter / Voir : bouton et contenu centrés proprement. */
.ljmv-entry-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:14px!important;
}
.ljmv-entry-card .adih-rc-mini,
.ljmv-entry-card .ljmv-entry-open,
.ljmv-entry-card [class*="mini"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  min-height:44px!important;
  min-width:138px!important;
}

/* Formulaires : même hauteur et même rendu pour tous les champs. */
.adih-rc-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.adih-rc-wrap textarea,
.adih-rc-wrap select,
.adih-rc-standalone-root input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.adih-rc-standalone-root textarea,
.adih-rc-standalone-root select{
  border:1px solid var(--adih-control-border)!important;
  border-radius:20px!important;
  background:#fff!important;
  color:#20283a!important;
  box-shadow:none!important;
}
.adih-rc-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.adih-rc-wrap select,
.adih-rc-standalone-root input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.adih-rc-standalone-root select{
  min-height:52px!important;
}

/* Gestionnaires / membres : actions plus lisibles, sans empilement irrégulier. */
.employee-card-v36 .employee-action-line,
.member-admin-card .member-card-actions,
.member-admin-card .object-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.employee-card-v36 .employee-action-line button,
.employee-card-v36 .employee-action-line .adih-rc-mini,
.employee-card-v36 .employee-action-line select{
  min-height:44px!important;
  height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.employee-card-v36 .employee-action-line select{
  display:block!important;
  line-height:44px!important;
}

/* Évite les gros boutons étirés inutilement dans les listes, sauf mobile. */
@media (min-width:761px){
  .adih-rc-wrap .object-actions .adih-rc-mini,
  .adih-rc-wrap .object-actions button,
  .adih-rc-wrap .member-card-actions .adih-rc-mini,
  .adih-rc-wrap .member-card-actions button,
  .adih-rc-standalone-root .object-actions .adih-rc-mini,
  .adih-rc-standalone-root .object-actions button,
  .adih-rc-standalone-root .member-card-actions .adih-rc-mini,
  .adih-rc-standalone-root .member-card-actions button{
    width:auto!important;
    max-width:none!important;
  }
}

/* Responsive : cartes propres, boutons pleine largeur mais texte centré. */
@media (max-width:760px){
  .adih-object-card{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .adih-object-card .object-main{
    align-items:flex-start!important;
  }
  .adih-rc-wrap .object-actions,
  .adih-rc-standalone-root .object-actions,
  .adih-rc-wrap .member-card-actions,
  .adih-rc-standalone-root .member-card-actions{
    justify-content:stretch!important;
  }
  .adih-rc-wrap .object-actions .adih-rc-mini,
  .adih-rc-wrap .object-actions button,
  .adih-rc-wrap .member-card-actions .adih-rc-mini,
  .adih-rc-wrap .member-card-actions button,
  .adih-rc-standalone-root .object-actions .adih-rc-mini,
  .adih-rc-standalone-root .object-actions button,
  .adih-rc-standalone-root .member-card-actions .adih-rc-mini,
  .adih-rc-standalone-root .member-card-actions button{
    width:100%!important;
  }
  .ljmv-entry-actions{
    grid-template-columns:1fr!important;
  }
}


/* V40 Documents & signatures */
.member-top-icon.has-doc-alert{position:relative;border-color:#ffd166!important;box-shadow:0 0 0 4px rgba(255,209,102,.18)!important;animation:ljmvDocPulse 1.4s ease-in-out infinite;}
.member-top-icon.has-doc-alert:after{content:"";position:absolute;right:6px;top:6px;width:9px;height:9px;border-radius:999px;background:#e52920;box-shadow:0 0 0 5px rgba(229,41,32,.12);}
@keyframes ljmvDocPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-1px)}}
.ljmv-doc-list{display:flex;flex-direction:column;gap:12px;max-height:min(68vh,620px);overflow:auto;padding-right:4px;}
.ljmv-doc-item{border:1px solid #e4e9f5;background:#f8faff;border-radius:22px;padding:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.ljmv-doc-item.needs-signature{background:#fffaf1;border-color:#f8dca7;}
.ljmv-doc-item strong{display:block;color:var(--adih-blue);font-size:15px;line-height:1.25;}
.ljmv-doc-item small{display:block;color:#667085;font-weight:800;margin-top:4px;}
.ljmv-doc-item em{display:inline-flex;margin-top:9px;border-radius:999px;padding:6px 10px;background:#fff;color:#c26a00;border:1px solid #f4cc8a;font-size:11px;font-weight:950;font-style:normal;}
.ljmv-doc-item .doc-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;}
.sign-document-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.signature-confirm{font-size:12px!important;background:#fff!important;border:1px solid #e4e9f5!important;border-radius:999px!important;padding:8px 10px!important;}
.scan-ok{color:#087443!important;background:#ecfdf3!important;border:1px solid #abefc6!important;border-radius:999px!important;padding:4px 8px!important;}
.scan-pending{color:#7a4b00!important;background:#fff8e6!important;border:1px solid #f4d59d!important;border-radius:999px!important;padding:4px 8px!important;}
.scan-danger{color:#b42318!important;background:#fef3f2!important;border:1px solid #fecdca!important;border-radius:999px!important;padding:4px 8px!important;}
.adih-document-upload-form input[type=file]{border:1px dashed #cbd6ee!important;border-radius:20px!important;background:#fbfcff!important;padding:14px!important;width:100%;}
.document-card-admin .object-actions{align-items:center!important;}
@media(max-width:720px){.ljmv-doc-item{flex-direction:column}.ljmv-doc-item .doc-actions,.sign-document-form{justify-content:stretch;width:100%;}.ljmv-doc-item .doc-actions .adih-rc-mini,.sign-document-form .adih-rc-mini{width:100%;}.signature-confirm{width:100%;justify-content:center!important;}}

/* V41 — Documents viewer + form validation polish */
.ljmv-doc-list-v41{display:grid;gap:16px;max-height:min(62vh,680px);overflow:auto;padding:4px 6px 8px;}
.ljmv-doc-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px;border:1px solid rgba(11,23,111,.12);border-radius:28px;background:rgba(247,249,255,.72);}
.ljmv-doc-file{display:flex;gap:16px;align-items:flex-start;min-width:0;}
.ljmv-doc-ext{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,var(--adih-blue),var(--adih-blue-2));color:#fff;font-weight:900;font-size:13px;letter-spacing:.05em;}
.ljmv-doc-text{min-width:0;display:flex;flex-direction:column;gap:6px;}
.ljmv-doc-text strong{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.25;color:var(--adih-blue);font-size:clamp(18px,2vw,24px);}
.ljmv-doc-text small{display:block;overflow-wrap:anywhere;word-break:break-word;line-height:1.35;color:#6d7890;font-weight:700;}
.ljmv-doc-text em{font-style:normal;color:#718099;font-weight:800;font-size:14px;}
.signature-state{display:inline-flex;width:max-content;padding:6px 12px;border-radius:999px;font-size:13px;}
.signature-state.is-signed{background:#e9fff0;color:#06763f;border:1px solid #98efbd;}
.signature-state.is-pending{background:#fff7e6;color:#935d00;border:1px solid #f3d18e;}
.ljmv-doc-card .doc-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;}
.ljmv-doc-preview-wrap{width:min(90vw,980px);max-width:100%;}
.ljmv-doc-preview-frame{width:100%;height:min(72vh,720px);border:1px solid rgba(11,23,111,.14);border-radius:22px;background:#f8faff;}
.ljmv-doc-preview-image{max-width:100%;max-height:72vh;display:block;margin:auto;border-radius:22px;border:1px solid rgba(11,23,111,.12);}
.ljmv-doc-preview-empty{display:flex;flex-direction:column;gap:12px;text-align:center;padding:42px;border-radius:24px;border:1px dashed rgba(11,23,111,.22);background:rgba(247,249,255,.85);color:#66738d;}
.ljmv-doc-preview-empty strong{font-size:24px;color:var(--adih-blue);}
.ljmv-form-validation-alert{margin-bottom:20px!important;}
.adih-setup-wizard input:invalid,.adih-setup-wizard select:invalid,.adih-setup-wizard textarea:invalid{box-shadow:none;}
@media (max-width: 760px){
  .ljmv-doc-card{grid-template-columns:1fr;padding:16px;border-radius:22px;}
  .ljmv-doc-card .doc-actions{justify-content:stretch;}
  .ljmv-doc-card .doc-actions .adih-rc-mini,.ljmv-doc-card .doc-actions a{flex:1 1 140px;}
  .ljmv-doc-ext{min-width:52px;height:52px;border-radius:16px;font-size:11px;}
  .ljmv-doc-preview-frame{height:64vh;}
}

/* V42 - documents reader polish + wizard validation */
.ljmv-doc-list-v41{gap:12px!important;max-height:min(70vh,720px)!important;}
.ljmv-doc-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;align-items:start!important;background:#fff!important;border:1px solid #e4e9f5!important;border-radius:22px!important;padding:14px 16px!important;box-shadow:0 12px 28px rgba(11,23,111,.05)!important;}
.ljmv-doc-file{gap:12px!important;align-items:flex-start!important;}
.ljmv-doc-ext{min-width:48px!important;width:48px!important;height:48px!important;border-radius:16px!important;font-size:10px!important;}
.ljmv-doc-text strong{font-size:clamp(15px,1.9vw,18px)!important;line-height:1.28!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;letter-spacing:-.02em!important;}
.ljmv-doc-text small{font-size:12px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.ljmv-doc-card .doc-actions{justify-content:flex-start!important;gap:8px!important;width:100%!important;}
.ljmv-doc-reader-modal .live-modal-card{width:min(1120px,96vw)!important;max-height:94vh!important;text-align:center!important;}
.ljmv-doc-reader-modal .live-modal-card h3{max-width:820px!important;margin-left:auto!important;margin-right:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-size:clamp(22px,3vw,34px)!important;line-height:1.15!important;}
.ljmv-doc-reader-modal .live-modal-card p{max-width:760px!important;margin-left:auto!important;margin-right:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:13px!important;}
.ljmv-doc-preview-wrap{width:100%!important;max-width:100%!important;}
.ljmv-doc-preview-frame{width:100%!important;height:min(74vh,780px)!important;border:1px solid #e4e9f5!important;border-radius:22px!important;background:#f8faff!important;}
.ljmv-doc-preview-image{max-width:100%!important;max-height:74vh!important;object-fit:contain!important;}
.ljmv-doc-preview-empty{padding:28px!important;border-radius:22px!important;}
.adih-setup-wizard .field-error{border-color:#d92d20!important;background:#fff8f7!important;box-shadow:0 0 0 4px rgba(217,45,32,.08)!important;}
.ljmv-form-validation-alert{border:1px solid #fecdca!important;background:#fff1f3!important;color:#b42318!important;border-radius:16px!important;padding:12px 14px!important;margin-bottom:16px!important;font-weight:800!important;}
.document-scan-settings-card{margin:22px 0!important;}
.scan-pending,.scan-danger{font-weight:900!important;}
.scan-pending{color:#b54708!important;}
.scan-danger{color:#b42318!important;}
@media(max-width:720px){.ljmv-doc-reader-modal .live-modal-card{width:98vw!important;padding:20px!important;border-radius:24px!important}.ljmv-doc-preview-frame{height:68vh!important}.ljmv-doc-card .doc-actions .adih-rc-mini,.ljmv-doc-card .doc-actions a{flex:1 1 100%!important}.ljmv-doc-file{align-items:flex-start!important}}

/* V44 - document availability + slick modal normalization */
.adih-rc-live-modal{background:rgba(15,23,42,.42)!important;backdrop-filter:blur(14px)!important;padding:18px!important;}
.adih-rc-live-modal .live-modal-card{border:1px solid rgba(226,232,240,.95)!important;border-radius:34px!important;box-shadow:0 34px 120px rgba(15,23,42,.22)!important;background:rgba(255,255,255,.98)!important;padding:clamp(20px,3vw,34px)!important;}
.adih-rc-live-modal .live-close{background:transparent!important;border:0!important;box-shadow:none!important;color:#c72f63!important;width:38px!important;height:38px!important;border-radius:50%!important;font-weight:500!important;line-height:1!important;}
.adih-rc-live-modal .live-close:hover{background:rgba(199,47,99,.08)!important;transform:none!important;}
.adih-rc-live-modal .live-icon{width:62px!important;height:62px!important;border-radius:24px!important;box-shadow:0 18px 40px rgba(11,23,111,.16)!important;}
.adih-rc-live-modal .live-modal-card h3{font-weight:500!important;letter-spacing:-.045em!important;color:var(--adih-blue)!important;}
.adih-rc-live-modal .live-modal-card p{color:#687386!important;line-height:1.55!important;}
.adih-rc-live-modal .live-extra{max-height:min(66vh,720px)!important;overflow:auto!important;padding-right:2px!important;}
.adih-rc-live-modal .live-actions .adih-rc-btn{border-color:#e4e9f5!important;}
.ljmv-doc-list-v41{gap:10px!important;}
.ljmv-doc-card{border-radius:24px!important;background:#fff!important;padding:14px!important;}
.ljmv-doc-file{align-items:flex-start!important;}
.ljmv-doc-text{min-width:0!important;width:100%!important;}
.ljmv-doc-text strong{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;hyphens:auto!important;max-width:100%!important;font-size:clamp(15px,1.8vw,19px)!important;line-height:1.25!important;}
.ljmv-doc-tags{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:6px!important;}
.ljmv-doc-tags em{margin-top:0!important;font-size:11px!important;padding:5px 9px!important;background:#f8faff!important;border:1px solid #e4e9f5!important;color:#667085!important;}
.ljmv-doc-card .doc-actions{margin-top:2px!important;}
.ljmv-doc-card .doc-actions .adih-rc-mini{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;}
.ljmv-doc-reader-modal .live-modal-card{width:min(1180px,97vw)!important;border-radius:30px!important;}
.ljmv-doc-reader-modal .live-icon{width:58px!important;height:58px!important;}
.ljmv-doc-reader-modal .live-modal-card h3{font-size:clamp(20px,2.6vw,32px)!important;max-width:880px!important;}
.ljmv-doc-preview-frame{background:#fff!important;}
.adih-setup-wizard .field-error,.adih-rc-form .field-error{border-color:#e52920!important;box-shadow:0 0 0 4px rgba(229,41,32,.10)!important;background:#fffafa!important;}
.ljmv-form-validation-alert{border-radius:18px!important;margin-bottom:18px!important;}
.document-card-admin .object-meta span{white-space:normal!important;}
@media(max-width:720px){.adih-rc-live-modal{align-items:flex-end!important;padding:10px!important}.adih-rc-live-modal .live-modal-card{width:100%!important;border-radius:26px 26px 18px 18px!important;max-height:94vh!important}.ljmv-doc-card{padding:12px!important}.ljmv-doc-tags em{font-size:10px!important}.ljmv-doc-ext{width:46px!important;height:46px!important;min-width:46px!important}.ljmv-doc-card .doc-actions{display:grid!important;grid-template-columns:1fr!important}.ljmv-doc-reader-modal .live-modal-card{border-radius:24px 24px 16px 16px!important}}


/* V47 security hardening + adaptive live sync */
.vote-interval-inline{display:none;margin-left:6px;font-style:normal;font-weight:700;opacity:.86;white-space:nowrap}
.vote-interval-hover:hover .vote-interval-inline,.vote-interval-hover:focus-within .vote-interval-inline{display:inline}
.adih-document-registry{display:grid;gap:12px}
.document-registry-meta span{max-width:100%}
.documents-stats{margin-bottom:16px}
@media (max-width: 720px){
  .vote-interval-inline{display:inline;font-size:12px;margin-left:4px}
  .vote-interval-hover:hover .vote-interval-inline{display:inline}
}

.ljmv-phone-toast.action-toast{cursor:pointer}
.ljmv-phone-toast.action-toast:focus{outline:2px solid currentColor;outline-offset:2px}

/* V48 - Documents manager UI */
.ljmv-documents-head{margin-bottom:18px}
.ljmv-doc-stat-row{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:14px;margin:0 0 18px}
.ljmv-doc-stat-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:16px;box-shadow:0 14px 30px rgba(15,23,42,.06);display:flex;flex-direction:column;gap:4px;min-height:104px}
.ljmv-doc-stat-card span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800}
.ljmv-doc-stat-card strong{font-size:30px;line-height:1;color:#0f172a}
.ljmv-doc-stat-card em{font-style:normal;color:#64748b;font-size:12px}
.ljmv-doc-upload-drawer{margin:0 0 18px;display:inline-block;max-width:100%}
.ljmv-doc-upload-drawer>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:8px;background:#0f172a;color:#fff;border-radius:999px;padding:12px 18px;font-weight:800;box-shadow:0 14px 28px rgba(15,23,42,.18)}
.ljmv-doc-upload-drawer>summary::-webkit-details-marker{display:none}
.ljmv-doc-upload-drawer[open]{display:block}
.ljmv-doc-upload-box{margin-top:14px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:18px;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.ljmv-file-manager-card{overflow:hidden}
.ljmv-doc-manager{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}
.ljmv-doc-sidebar{background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:14px;position:sticky;top:20px;display:flex;flex-direction:column;gap:8px}
.ljmv-doc-sidebar>strong{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#475569;margin:4px 6px 8px}
.ljmv-doc-filter{appearance:none;border:1px solid transparent;background:transparent;border-radius:16px;padding:10px;display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer;color:#334155;font-weight:800;transition:.18s ease}
.ljmv-doc-filter:hover,.ljmv-doc-filter.active{background:#fff;border-color:rgba(15,23,42,.08);box-shadow:0 12px 24px rgba(15,23,42,.06);color:#0f172a}
.ljmv-doc-filter em{font-style:normal;background:#e2e8f0;color:#475569;border-radius:999px;min-width:26px;padding:3px 7px;text-align:center;font-size:12px}
.ljmv-doc-type-icon{width:36px;height:42px;display:inline-grid;place-items:center;position:relative;flex:none;color:#475569}
.ljmv-doc-type-icon svg{width:34px;height:42px;display:block;filter:drop-shadow(0 8px 10px rgba(15,23,42,.08))}
.ljmv-doc-type-icon .file-base{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1.6}
.ljmv-doc-type-icon .file-fold{fill:#e2e8f0;stroke:#cbd5e1;stroke-width:1.4}
.ljmv-doc-type-icon .file-badge{fill:#64748b}
.ljmv-doc-type-icon strong{position:absolute;bottom:7px;left:0;right:0;text-align:center;font-size:8px;line-height:1;color:#fff;letter-spacing:.05em}
.ljmv-doc-type-pdf .file-badge{fill:#dc2626}.ljmv-doc-type-word .file-badge{fill:#2563eb}.ljmv-doc-type-excel .file-badge{fill:#16a34a}.ljmv-doc-type-powerpoint .file-badge{fill:#ea580c}.ljmv-doc-type-image .file-badge{fill:#7c3aed}.ljmv-doc-type-meeting .file-badge{fill:#0891b2}.ljmv-doc-type-offline .file-badge{fill:#64748b}.ljmv-doc-type-expired .file-badge{fill:#b45309}
.ljmv-doc-main{min-width:0}
.ljmv-doc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ljmv-doc-search{flex:1;min-width:220px}
.ljmv-doc-search input{width:100%;border:1px solid rgba(15,23,42,.1);border-radius:16px;padding:12px 14px;background:#fff;font-weight:700;color:#0f172a}
.ljmv-doc-view-switch{display:inline-flex;background:#f1f5f9;border:1px solid rgba(15,23,42,.08);border-radius:999px;padding:4px;gap:4px}
.ljmv-doc-view-switch button{border:0;background:transparent;border-radius:999px;padding:8px 12px;font-weight:800;color:#475569;cursor:pointer}
.ljmv-doc-view-switch button.active{background:#fff;color:#0f172a;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.ljmv-doc-actionbar{background:#0f172a;color:#fff;border-radius:18px;margin-bottom:14px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 16px 34px rgba(15,23,42,.18)}
.ljmv-doc-actionbar[hidden]{display:none!important}
.ljmv-doc-actionbar strong{font-size:14px;min-width:180px;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ljmv-doc-actionbar .js-ljmv-selected-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ljmv-doc-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ljmv-doc-file-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:14px;box-shadow:0 16px 34px rgba(15,23,42,.06);cursor:pointer;transition:.18s ease;outline:none;position:relative;min-height:232px;display:flex;flex-direction:column;gap:12px}
.ljmv-doc-file-card:hover,.ljmv-doc-file-card.selected{border-color:rgba(15,23,42,.22);transform:translateY(-1px);box-shadow:0 20px 42px rgba(15,23,42,.1)}
.ljmv-doc-file-card.selected:after{content:'';position:absolute;inset:0;border:2px solid #0f172a;border-radius:22px;pointer-events:none}
.ljmv-doc-file-head{display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:start}
.ljmv-doc-file-head h3{margin:0;color:#0f172a;font-size:15px;line-height:1.25;word-break:break-word}
.ljmv-doc-file-head p{margin:4px 0 0;color:#64748b;font-size:12px;word-break:break-word}
.ljmv-doc-kebab{color:#94a3b8;letter-spacing:-1px;font-weight:900}
.ljmv-doc-badges{display:flex;gap:6px;flex-wrap:wrap}
.ljmv-doc-badges span{font-size:11px;font-weight:800;border-radius:999px;padding:5px 8px;background:#f1f5f9;color:#475569}
.ljmv-doc-badges .scan-ok{background:#dcfce7;color:#166534}.ljmv-doc-badges .scan-pending{background:#fef3c7;color:#92400e}.ljmv-doc-badges .scan-danger{background:#fee2e2;color:#991b1b}
.ljmv-doc-card-meta{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;align-items:start;font-size:12px;color:#64748b}
.ljmv-doc-card-meta strong{color:#334155;font-size:12px;font-weight:800;min-width:0;word-break:break-word}
.ljmv-doc-mini-stats{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap;color:#475569;font-size:12px;font-weight:800}
.ljmv-doc-mini-stats span{background:#f8fafc;border:1px solid rgba(15,23,42,.06);border-radius:999px;padding:6px 8px}
.ljmv-doc-action-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:8px 11px;text-decoration:none;font-size:12px;font-weight:900;line-height:1;cursor:pointer;white-space:nowrap}
.ljmv-doc-action-btn:hover{background:#fff;color:#0f172a;text-decoration:none}
.ljmv-doc-action-btn.danger{background:#fee2e2;border-color:#fecaca;color:#991b1b}.ljmv-doc-action-btn.danger:hover{background:#991b1b;color:#fff}.ljmv-doc-action-btn.primary{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.ljmv-doc-action-form{margin:0!important;display:inline-flex!important}.ljmv-doc-action-form button{font-family:inherit}
.ljmv-doc-info-panel{border-top:1px dashed rgba(15,23,42,.16);padding-top:10px;margin-top:2px}
.ljmv-doc-info-panel dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ljmv-doc-info-panel div{min-width:0}.ljmv-doc-info-panel dt{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;font-weight:900}.ljmv-doc-info-panel dd{margin:2px 0 0;color:#334155;font-size:12px;font-weight:800;word-break:break-word}
.ljmv-doc-manager[data-view="list"] .ljmv-doc-files{display:flex;flex-direction:column;gap:8px}
.ljmv-doc-manager[data-view="list"] .ljmv-doc-file-card{min-height:0;display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(180px,1fr) auto;align-items:center;border-radius:16px;padding:12px}
.ljmv-doc-manager[data-view="list"] .ljmv-doc-badges{justify-content:flex-start}.ljmv-doc-manager[data-view="list"] .ljmv-doc-card-meta{display:none}.ljmv-doc-manager[data-view="list"] .ljmv-doc-mini-stats{margin:0;justify-content:flex-end}.ljmv-doc-manager[data-view="list"] .ljmv-doc-info-panel{grid-column:1/-1}
.ljmv-doc-file-card.is-hidden{display:none!important}
@media (max-width:1180px){.ljmv-doc-stat-row{grid-template-columns:repeat(3,1fr)}.ljmv-doc-files{grid-template-columns:repeat(2,minmax(0,1fr))}.ljmv-doc-manager{grid-template-columns:220px minmax(0,1fr)}}
@media (max-width:820px){.ljmv-doc-stat-row{grid-template-columns:repeat(2,1fr)}.ljmv-doc-manager{grid-template-columns:1fr}.ljmv-doc-sidebar{position:static;display:flex;overflow:auto;flex-direction:row}.ljmv-doc-sidebar>strong{display:none}.ljmv-doc-filter{min-width:170px}.ljmv-doc-files{grid-template-columns:1fr}.ljmv-doc-toolbar,.ljmv-doc-actionbar{align-items:stretch;flex-direction:column}.ljmv-doc-actionbar .js-ljmv-selected-actions{justify-content:flex-start}.ljmv-doc-manager[data-view="list"] .ljmv-doc-file-card{grid-template-columns:1fr}.ljmv-doc-stat-card strong{font-size:24px}}
@media (max-width:520px){.ljmv-doc-stat-row{grid-template-columns:1fr}.ljmv-doc-upload-drawer>summary{width:100%;justify-content:center}.ljmv-doc-info-panel dl{grid-template-columns:1fr}}

/* Final v1 - Documents visual coherence: monochrome icons + symmetric actions */
.ljmv-doc-stat-card{border-radius:20px!important;box-shadow:0 12px 28px rgba(15,23,42,.045)!important;}
.ljmv-doc-upload-drawer>summary{background:#0f172a!important;color:#fff!important;border:1px solid #0f172a!important;border-radius:16px!important;padding:12px 16px!important;gap:10px!important;box-shadow:0 12px 26px rgba(15,23,42,.14)!important;}
.ljmv-doc-upload-drawer>summary .ljmv-doc-action-icon{width:18px;height:18px;color:currentColor;}
.ljmv-doc-upload-drawer>summary span:not(.ljmv-doc-action-icon){font-size:13px;letter-spacing:.01em;}
.ljmv-doc-type-icon{width:38px!important;height:46px!important;color:#334155!important;display:inline-grid!important;place-items:center!important;}
.ljmv-doc-type-icon svg{width:34px!important;height:42px!important;display:block!important;filter:none!important;}
.ljmv-doc-type-icon .file-base,.ljmv-doc-type-icon .file-fold,.ljmv-doc-type-icon .file-line{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.ljmv-doc-type-icon strong{position:absolute!important;bottom:5px!important;left:0!important;right:0!important;text-align:center!important;font-size:7.5px!important;line-height:1!important;color:currentColor!important;letter-spacing:.06em!important;background:#fff!important;display:inline-block!important;margin:auto!important;width:max-content!important;max-width:30px!important;padding:0 3px!important;border-radius:999px!important;}
.ljmv-doc-type-pdf .file-badge,.ljmv-doc-type-word .file-badge,.ljmv-doc-type-excel .file-badge,.ljmv-doc-type-powerpoint .file-badge,.ljmv-doc-type-image .file-badge,.ljmv-doc-type-meeting .file-badge,.ljmv-doc-type-offline .file-badge,.ljmv-doc-type-expired .file-badge{fill:transparent!important;}
.ljmv-doc-filter{grid-template-columns:42px 1fr auto!important;border-radius:18px!important;padding:11px 12px!important;}
.ljmv-doc-filter .ljmv-doc-type-icon{transform:scale(.88);transform-origin:center;}
.ljmv-doc-filter:hover,.ljmv-doc-filter.active{box-shadow:0 10px 22px rgba(15,23,42,.055)!important;}
.ljmv-doc-file-card{border-radius:24px!important;box-shadow:0 14px 32px rgba(15,23,42,.045)!important;}
.ljmv-doc-file-card:hover,.ljmv-doc-file-card.selected{transform:none!important;box-shadow:0 16px 36px rgba(15,23,42,.08)!important;}
.ljmv-doc-file-card.selected:after{border:1.5px solid #0f172a!important;border-radius:24px!important;}
.ljmv-doc-file-head{grid-template-columns:46px 1fr 18px!important;}
.ljmv-doc-kebab{font-size:16px!important;color:#94a3b8!important;line-height:1!important;}
.ljmv-doc-action-icon{width:18px;height:18px;display:inline-grid;place-items:center;flex:0 0 auto;color:currentColor;}
.ljmv-doc-action-icon svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.ljmv-doc-action-btn{min-width:78px;min-height:62px;display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border-radius:16px!important;padding:9px 10px!important;text-decoration:none!important;font-size:11px!important;font-weight:850!important;line-height:1.1!important;text-align:center!important;white-space:normal!important;box-shadow:none!important;}
.ljmv-doc-action-btn .ljmv-doc-action-text{display:block;max-width:86px;overflow:hidden;text-overflow:ellipsis;}
.ljmv-doc-action-btn:hover{background:#fff!important;color:#0f172a!important;text-decoration:none!important;}
.ljmv-doc-action-btn.primary{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.2)!important;color:#fff!important;}
.ljmv-doc-action-btn.primary:hover{background:#fff!important;color:#0f172a!important;}
.ljmv-doc-action-btn.danger{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important;}
.ljmv-doc-action-btn.danger:hover{background:#fff!important;color:#991b1b!important;border-color:#fff!important;}
.ljmv-doc-action-form{margin:0!important;display:inline-flex!important;}
.ljmv-doc-actionbar{background:#0f172a!important;border-radius:22px!important;padding:14px!important;align-items:center!important;}
.ljmv-doc-actionbar .js-ljmv-selected-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(78px,1fr))!important;gap:10px!important;align-items:stretch!important;justify-content:end!important;min-width:min(620px,100%)!important;}
.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-form,.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-btn{width:100%!important;}
.ljmv-doc-view-switch{border-radius:16px!important;padding:4px!important;gap:4px!important;}
.ljmv-doc-view-switch button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:12px!important;padding:8px 10px!important;}
.ljmv-doc-view-switch .ljmv-doc-action-icon{width:15px;height:15px;}
.ljmv-doc-view-switch .ljmv-doc-action-icon svg{width:15px;height:15px;stroke-width:2;}
.ljmv-doc-mini-stats{gap:8px!important;}
.ljmv-doc-mini-stats span{display:inline-flex!important;align-items:center!important;gap:6px!important;border-radius:12px!important;padding:6px 8px!important;color:#475569!important;}
.ljmv-doc-mini-stats .ljmv-doc-action-icon{width:14px;height:14px;}
.ljmv-doc-mini-stats .ljmv-doc-action-icon svg{width:14px;height:14px;stroke-width:2;}
.ljmv-doc-mini-stats b{font-weight:850;color:#334155;}
.ljmv-doc-manager[data-view="list"] .ljmv-doc-actionbar .js-ljmv-selected-actions{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))!important;}
.ljmv-doc-reader-modal .live-icon{background:#0f172a!important;color:#fff!important;font-size:12px!important;letter-spacing:.06em!important;}
@media (max-width:820px){.ljmv-doc-actionbar .js-ljmv-selected-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;min-width:0!important;width:100%!important}.ljmv-doc-action-btn{min-width:0!important}.ljmv-doc-actionbar strong{max-width:100%!important;min-width:0!important}}
@media (max-width:520px){.ljmv-doc-actionbar .js-ljmv-selected-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ljmv-doc-action-btn{min-height:58px!important}.ljmv-doc-view-switch{width:100%;display:grid!important;grid-template-columns:1fr 1fr}.ljmv-doc-view-switch button{width:100%}}


/* Final v1 - Documents UI refinement: neutral monochrome filters and cleaner symmetry */
.ljmv-doc-sidebar{background:#f8fafc!important;border:1px solid #e4e9f5!important;border-radius:28px!important;padding:16px!important;gap:10px!important;box-shadow:0 10px 24px rgba(15,23,42,.04)!important;}
.ljmv-doc-filter{appearance:none!important;-webkit-appearance:none!important;width:100%!important;background:#fff!important;border:1px solid #e4e9f5!important;color:#0f172a!important;border-radius:999px!important;padding:14px 16px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;box-shadow:none!important;outline:none!important;}
.ljmv-doc-filter:hover,.ljmv-doc-filter.active{background:#fff!important;border-color:#cfd8ea!important;color:#0b176f!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important;}
.ljmv-doc-filter:focus-visible{border-color:#0b176f!important;box-shadow:0 0 0 3px rgba(11,23,111,.08)!important;}
.ljmv-doc-filter > span:not(.ljmv-doc-type-icon):not(.ljmv-doc-type-code){font-size:13px!important;font-weight:800!important;line-height:1.2!important;min-width:0!important;}
.ljmv-doc-filter em{background:#eef2f7!important;color:#334155!important;border-radius:999px!important;min-width:30px!important;padding:4px 8px!important;font-size:12px!important;font-weight:800!important;}
.ljmv-doc-type-icon{width:42px!important;height:46px!important;position:relative!important;color:#334155!important;display:inline-grid!important;place-items:center!important;}
.ljmv-doc-type-icon svg{width:30px!important;height:38px!important;display:block!important;filter:none!important;overflow:visible!important;}
.ljmv-doc-type-icon .file-base,.ljmv-doc-type-icon .file-fold,.ljmv-doc-type-icon .file-accent{fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.ljmv-doc-type-icon .file-accent-fill{fill:currentColor!important;stroke:none!important;}
.ljmv-doc-type-icon .file-line,.ljmv-doc-type-icon .file-badge{display:none!important;}
.ljmv-doc-type-code{position:absolute!important;bottom:1px!important;left:50%!important;transform:translateX(-50%)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:26px!important;height:14px!important;padding:0 4px!important;border-radius:999px!important;border:1px solid #d8e0ee!important;background:#fff!important;color:#334155!important;font-size:8px!important;font-weight:800!important;letter-spacing:.05em!important;line-height:1!important;}
.ljmv-doc-type-icon strong{display:none!important;}
.ljmv-doc-actionbar{background:#0f172a!important;border-radius:24px!important;padding:16px!important;display:grid!important;grid-template-columns:minmax(180px,260px) minmax(0,1fr)!important;align-items:start!important;gap:14px!important;}
.ljmv-doc-actionbar strong{font-size:14px!important;line-height:1.35!important;color:#fff!important;max-width:none!important;}
.ljmv-doc-actionbar .js-ljmv-selected-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(88px,1fr))!important;gap:10px!important;min-width:0!important;width:100%!important;justify-content:stretch!important;}
.ljmv-doc-action-btn,.ljmv-doc-action-form button.ljmv-doc-action-btn{min-height:68px!important;width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:10px 8px!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font-size:11px!important;font-weight:800!important;text-align:center!important;box-shadow:none!important;}
.ljmv-doc-action-btn:hover,.ljmv-doc-action-form button.ljmv-doc-action-btn:hover{background:#fff!important;color:#0f172a!important;border-color:#fff!important;}
.ljmv-doc-action-btn .ljmv-doc-action-text{display:block!important;max-width:100%!important;white-space:normal!important;}
.ljmv-doc-action-btn .ljmv-doc-action-icon{width:16px!important;height:16px!important;}
.ljmv-doc-action-btn .ljmv-doc-action-icon svg{width:16px!important;height:16px!important;stroke-width:1.9!important;}
.ljmv-doc-action-btn.primary,.ljmv-doc-action-btn.danger{background:rgba(255,255,255,.06)!important;color:#fff!important;border-color:rgba(255,255,255,.14)!important;}
.ljmv-doc-action-btn.primary:hover{color:#0f172a!important;}
.ljmv-doc-action-btn.danger:hover{color:#991b1b!important;}
.ljmv-doc-file-card{border:1px solid #e4e9f5!important;box-shadow:0 14px 30px rgba(15,23,42,.04)!important;}
.ljmv-doc-file-card.selected:after{border:1.5px solid #0b176f!important;}
@media (max-width:820px){.ljmv-doc-actionbar{grid-template-columns:1fr!important;}.ljmv-doc-actionbar .js-ljmv-selected-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:520px){.ljmv-doc-filter{padding:12px 14px!important;grid-template-columns:38px minmax(0,1fr) auto!important;}.ljmv-doc-actionbar .js-ljmv-selected-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}

/* Final v1 - UI coherence patch: clearer active states, compact one-row document actions */
.ljmv-doc-filter.active,
.ljmv-doc-filter.active:hover{
  background:#0b176f!important;
  border-color:#0b176f!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(11,23,111,.18)!important;
}
.ljmv-doc-filter.active .ljmv-doc-type-icon,
.ljmv-doc-filter.active .ljmv-doc-type-code,
.ljmv-doc-filter.active > span:not(.ljmv-doc-type-icon):not(.ljmv-doc-type-code){
  color:#fff!important;
}
.ljmv-doc-filter.active .ljmv-doc-type-code{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.28)!important;
}
.ljmv-doc-filter.active em{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
}
.ljmv-doc-view-switch button.active{
  background:#0b176f!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(11,23,111,.18)!important;
}
.ljmv-doc-file-card.selected{
  background:#f8faff!important;
  border-color:#0b176f!important;
  box-shadow:0 22px 48px rgba(11,23,111,.13)!important;
}
.ljmv-doc-file-card.selected:after{
  border:2.5px solid #0b176f!important;
  box-shadow:inset 0 0 0 1px rgba(11,23,111,.10)!important;
}
.ljmv-doc-file-card.selected:before{
  content:'✓';
  position:absolute;
  top:12px;
  right:12px;
  width:24px;
  height:24px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#0b176f;
  color:#fff;
  font-size:13px;
  font-weight:900;
  z-index:2;
  box-shadow:0 8px 18px rgba(11,23,111,.22);
}
.ljmv-doc-file-card.selected .ljmv-doc-kebab{opacity:0!important;}
.ljmv-doc-mini-stats span{
  background:#fff!important;
  border:1px solid #d8e0ee!important;
  color:#1f2b3d!important;
  min-height:34px!important;
  padding:7px 10px!important;
}
.ljmv-doc-mini-stats .ljmv-doc-action-icon{
  width:18px!important;
  height:18px!important;
  color:#243044!important;
  opacity:1!important;
}
.ljmv-doc-mini-stats .ljmv-doc-action-icon svg{
  width:18px!important;
  height:18px!important;
  stroke-width:2.45!important;
}
.ljmv-doc-mini-stats b{
  color:#182235!important;
  font-size:14px!important;
  font-weight:900!important;
}
.ljmv-doc-actionbar{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:14px 16px!important;
  overflow:hidden!important;
}
.ljmv-doc-actionbar strong{
  flex:0 0 220px!important;
  min-width:160px!important;
  max-width:240px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.2!important;
}
.ljmv-doc-actionbar .js-ljmv-selected-actions,
.ljmv-doc-manager[data-view="list"] .ljmv-doc-actionbar .js-ljmv-selected-actions{
  display:flex!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  gap:10px!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding-bottom:2px!important;
  scrollbar-width:thin;
}
.ljmv-doc-actionbar .js-ljmv-selected-actions::-webkit-scrollbar{height:6px;}
.ljmv-doc-actionbar .js-ljmv-selected-actions::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px;}
.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-form{
  flex:0 0 auto!important;
  width:auto!important;
}
.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-btn,
.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-form .ljmv-doc-action-btn,
.ljmv-doc-action-btn,
.ljmv-doc-action-form button.ljmv-doc-action-btn{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:108px!important;
  max-width:132px!important;
  min-height:54px!important;
  padding:8px 12px!important;
  border-radius:17px!important;
  gap:6px!important;
  font-size:11px!important;
  line-height:1.05!important;
}
.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-btn .ljmv-doc-action-text{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  max-width:104px!important;
}
.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-icon,
.ljmv-doc-actionbar .js-ljmv-selected-actions .ljmv-doc-action-icon svg{
  width:17px!important;
  height:17px!important;
}
@media (max-width:820px){
  .ljmv-doc-actionbar{align-items:flex-start!important;}
  .ljmv-doc-actionbar strong{flex:0 0 160px!important;max-width:180px!important;}
  .ljmv-doc-actionbar .js-ljmv-selected-actions{justify-content:flex-start!important;}
}
@media (max-width:620px){
  .ljmv-doc-actionbar{display:block!important;}
  .ljmv-doc-actionbar strong{display:block!important;max-width:100%!important;margin-bottom:10px!important;}
  .ljmv-doc-actionbar .js-ljmv-selected-actions{width:100%!important;}
}

/* Final v1 patch - mandat visible + vote popup trigger */
.member-simple-card .simple-flags button.simple-flag{appearance:none;border:0;cursor:pointer;font:inherit;}
.member-simple-card .simple-flags button.simple-flag.action-needed{box-shadow:0 8px 18px rgba(13,25,119,.18);}
.member-simple-card .simple-flags button.simple-flag.action-needed:hover{transform:translateY(-1px);filter:brightness(.98);}
.member-vote-modal-source{display:none!important;}
.member-mandate-summary-card{margin:18px auto 0;max-width:760px;background:#fff;border:1px solid rgba(13,25,119,.12);border-radius:28px;padding:18px;box-shadow:0 18px 40px rgba(15,23,42,.07);}
.mandate-summary-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;}
.mandate-summary-head strong{display:block;font-size:17px;color:#111827;}
.mandate-summary-head span{display:block;font-size:13px;color:#64748b;margin-top:4px;}
.inline-status-list{margin-top:8px;display:grid;gap:10px;}
.mandate-status-list.inline-status-list .mandate-status-item{border:1px solid #e5eaf5;background:#f8fafc;border-radius:18px;padding:12px 14px;display:grid;gap:4px;}
.mandate-status-item em{justify-self:start;border-radius:999px;padding:5px 10px;font-style:normal;font-size:12px;font-weight:800;background:#eef2ff;color:#0d1977;}
.mandate-status-item.status-approved em{background:#dcfce7;color:#166534;}
.mandate-status-item.status-rejected em{background:#fee2e2;color:#991b1b;}
.mandate-status-item.status-pending em{background:#fef3c7;color:#92400e;}
.mandate-dashboard-panel{margin-top:22px;}
.mandate-dashboard-panel .mandate-admin-item{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;}
@media(max-width:720px){.mandate-summary-head{align-items:flex-start;flex-direction:column}.member-mandate-summary-card{border-radius:22px}.mandate-dashboard-panel .mandate-admin-item{grid-template-columns:1fr;}}


/* v1.1.7 - CSV member import preview */
.adih-import-summary{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 16px}
.import-preview-card .adih-table-wrap,.import-log-card .adih-table-wrap{overflow:auto;border:1px solid rgba(15,23,42,.08);border-radius:18px;background:#fff}
.import-preview-card table,.import-log-card table{width:100%;border-collapse:collapse;min-width:920px}
.import-preview-card th,.import-preview-card td,.import-log-card th,.import-log-card td{padding:12px 14px;border-bottom:1px solid rgba(15,23,42,.07);text-align:left;vertical-align:top;font-size:14px}
.import-preview-card th,.import-log-card th{font-weight:800;color:#0f176f;background:#f8fafc}
.import-confirm-form{margin-top:18px}
.import-instructions code{background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:8px;padding:2px 6px}
