/* Volley Urbain — interface légère, sans framework. */
.vute-app {
  --vute-night: #071a2d;
  --vute-navy: #0d2945;
  --vute-panel: #123653;
  --vute-panel-2: #173f5c;
  --vute-white: #f7fbff;
  --vute-muted: #b8c9d8;
  --vute-line: rgba(220, 239, 250, .16);
  --vute-cyan: #39d3d5;
  --vute-orange: #ff914d;
  --vute-red: #ff6868;
  width: min(100% - 24px, 1120px);
  margin: 28px auto;
  color: var(--vute-white) !important;
  background: radial-gradient(ellipse at 90% 0%, rgba(57,211,213,.12), transparent 34%), linear-gradient(145deg, var(--vute-night), #0b2944 68%, #0a2037);
  border: 1px solid rgba(116, 188, 215, .22);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(3, 17, 31, .22);
  font-family: inherit;
  line-height: 1.55;
}
.vute-app, .vute-app * { box-sizing: border-box; }
.vute-app-hero { position: relative; padding: clamp(26px, 5vw, 48px); background: linear-gradient(115deg, rgba(11,37,61,.98), rgba(18,65,91,.86)); border-bottom: 1px solid var(--vute-line); }
.vute-app-hero:after { content: ""; position: absolute; right: 5%; top: 20%; width: 110px; height: 110px; border: 2px solid rgba(57,211,213,.28); border-radius: 50%; box-shadow: 0 0 0 13px rgba(57,211,213,.035), 0 0 0 27px rgba(57,211,213,.025); pointer-events: none; }
.vute-app-kicker { color: var(--vute-cyan); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.vute-app-hero h2 { position: relative; z-index: 1; margin: 8px 0 4px; color: #fff !important; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.08; font-weight: 850; letter-spacing: -.035em; }
.vute-app-hero p { position: relative; z-index: 1; max-width: 650px; margin: 12px 0 0; color: #d4e4ee !important; font-size: 1rem; }
.vute-app-content { padding: clamp(16px, 3vw, 30px); }
.vute-app h3, .vute-app h4, .vute-app h5 { color: #fff !important; line-height: 1.2; }
.vute-app h3 { margin: 0 0 16px; font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 800; }
.vute-app h4 { margin: 22px 0 12px; font-size: 1.08rem; font-weight: 750; }
.vute-app h5 { margin: 18px 0 9px; font-size: .95rem; font-weight: 750; }
.vute-app p, .vute-app li, .vute-app small, .vute-app label, .vute-app legend { color: #d6e4ed; }
.vute-app a { color: var(--vute-cyan); text-underline-offset: 3px; }
.vute-app .vute-panel, .vute-app .vute-dashboard, .vute-app .vute-captain-panel { display: block; margin: 16px 0; padding: clamp(17px, 2.5vw, 24px); background: linear-gradient(145deg, rgba(18,54,83,.94), rgba(13,43,68,.96)); border: 1px solid var(--vute-line); border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.vute-app details.vute-panel { padding: 0; overflow: hidden; }
.vute-app details.vute-panel > summary { padding: 19px 22px; color: #fff; font-weight: 800; cursor: pointer; list-style: none; }
.vute-app details.vute-panel > summary::-webkit-details-marker { display: none; }
.vute-app details.vute-panel > summary:after { content: "+"; float: right; color: var(--vute-cyan); font-size: 1.25rem; line-height: 1; }
.vute-app details.vute-panel[open] > summary:after { content: "−"; }
.vute-app details.vute-panel > form, .vute-app details.vute-panel > p { margin-left: 22px; margin-right: 22px; }
.vute-app details.vute-panel > form:last-child { margin-bottom: 22px; }
.vute-app .vute-help { margin: 0 22px 14px; color: var(--vute-muted) !important; font-size: .9rem; }
.vute-app form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 14px 0; }
.vute-app label { display: grid; flex: 1 1 190px; min-width: 0; gap: 7px; color: #eaf3f8; font-size: .91rem; font-weight: 650; }
.vute-app input:not([type=checkbox]):not([type=hidden]), .vute-app select, .vute-app textarea { display: block; width: 100%; min-height: 46px; max-width: 100%; padding: 10px 13px; color: #10283d !important; background: #f5f9fc !important; border: 1px solid #c4d5e0 !important; border-radius: 9px !important; box-shadow: none !important; font: inherit; }
.vute-app input::placeholder, .vute-app textarea::placeholder { color: #627789; }
.vute-app input:focus, .vute-app select:focus, .vute-app textarea:focus { outline: 3px solid rgba(57,211,213,.32) !important; border-color: var(--vute-cyan) !important; }
.vute-app fieldset { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 9px 16px; min-width: 0; margin: 4px 0; padding: 13px 15px; border: 1px solid var(--vute-line); border-radius: 11px; }
.vute-app fieldset legend { padding: 0 7px; color: #fff; font-weight: 750; }
.vute-app fieldset label, .vute-app label:has(input[type=checkbox]) { display: flex; flex: 0 1 auto; align-items: center; gap: 9px; min-width: 0; font-weight: 500; }
.vute-app input[type=checkbox] { width: 19px; height: 19px; margin: 0; accent-color: var(--vute-cyan); flex: 0 0 auto; }
.vute-app button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 17px; color: #062237 !important; background: linear-gradient(110deg, var(--vute-cyan), #71e3d8) !important; border: 0 !important; border-radius: 9px !important; box-shadow: 0 5px 14px rgba(57,211,213,.18); cursor: pointer; font: inherit; font-weight: 800; line-height: 1.2; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; }
.vute-app button:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(57,211,213,.24); }
.vute-app button:focus-visible { outline: 3px solid #fff !important; outline-offset: 3px; }
.vute-app button.vute-button-secondary, .vute-app .vute-button-secondary { color: #eff8fc !important; background: #28516e !important; box-shadow: none; border: 1px solid rgba(222,242,250,.2) !important; }
.vute-app button.vute-danger { color: #fff !important; background: #a93645 !important; box-shadow: none; }
.vute-app .vute-welcome { padding: 12px 16px; background: rgba(57,211,213,.09); border: 1px solid rgba(57,211,213,.22); border-radius: 10px; }
.vute-app .vute-status, .vute-app .vute-pill { display: inline-flex; align-items: center; padding: 4px 10px; color: #062237; background: var(--vute-cyan); border-radius: 999px; font-size: .78rem; font-weight: 850; }
.vute-app .vute-card { margin: 13px 0; padding: 18px; color: var(--vute-white); background: linear-gradient(145deg, #143b5a, #102d48); border: 1px solid var(--vute-line); border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.vute-app .vute-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vute-app .vute-card-head strong { color: #fff; font-size: 1.12rem; }
.vute-app .vute-card > p { color: var(--vute-muted); }
.vute-app .vute-slots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 16px 0; }
.vute-app .vute-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 104px; padding: 12px 8px; text-align: center; background: rgba(4,20,35,.35); border: 1px dashed rgba(174,213,230,.3); border-radius: 12px; }
.vute-app .vute-avatar { display: grid; place-items: center; width: 38px; height: 38px; color: #09243a; background: linear-gradient(135deg, var(--vute-orange), #ffd08a); border-radius: 50%; font-size: 1.1rem; font-weight: 900; }
.vute-app .vute-slot small { color: #e4eef4; font-size: .78rem; overflow-wrap: anywhere; }
.vute-app .vute-slot em { color: var(--vute-cyan); font-size: .72rem; font-style: normal; font-weight: 800; }
.vute-app .vute-score { display: inline-flex; margin: 4px 0; padding: 7px 11px; color: #062237; background: linear-gradient(110deg, var(--vute-orange), #ffc17b); border-radius: 8px; font-weight: 850; }
.vute-app .vute-notice, .vute-app .vute-notification { margin: 12px 0; padding: 14px 16px; color: #eff8fc; background: #173d58; border: 1px solid var(--vute-line); border-left: 4px solid var(--vute-cyan); border-radius: 10px; }
.vute-app .vute-notice-error { background: #512b39; border-color: rgba(255,104,104,.5); border-left-color: var(--vute-red); }
.vute-app .vute-notice-success { background: #123f46; border-left-color: var(--vute-cyan); }
.vute-app .vute-notification.is-read { opacity: .62; }
.vute-app .vute-row { padding: 13px 0; border-bottom: 1px solid var(--vute-line); }
.vute-app .vute-row form { margin: 8px 0 0; }
.vute-app .vute-team-status { padding: 10px 12px; color: #fff; background: rgba(255,145,77,.12); border: 1px solid rgba(255,145,77,.32); border-radius: 9px; }
.vute-app .vute-footnote { margin-top: 24px; padding-top: 14px; color: var(--vute-muted) !important; border-top: 1px solid var(--vute-line); }
.vute-app .vute-logout-form { justify-content: flex-end; }
.vute-app .vute-activation-panel { max-width: 620px; margin: 22px auto; }

/* Administration WordPress — style limité à l'écran du plugin. */
.vute-admin { max-width: 1480px; margin: 22px 20px 30px 0; color: #eaf3f8; }
.vute-admin, .vute-admin * { box-sizing: border-box; }
.vute-admin-hero { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 18px 0 20px; padding: 30px 34px; color: #f7fbff; background: radial-gradient(circle at 88% 15%, rgba(57,211,213,.18), transparent 28%), linear-gradient(120deg, #071a2d, #123c5b); border: 1px solid #1b4d6b; border-radius: 17px; box-shadow: 0 12px 30px rgba(5,23,39,.15); }
.vute-admin-kicker { color: #58e0df; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.vute-admin-hero h1 { margin: 7px 0 5px; color: #fff; font-size: 27px; font-weight: 800; }
.vute-admin-hero p { margin: 0; color: #c7dce8; font-size: 14px; }
.vute-admin-tag { display: inline-flex; align-items: center; padding: 8px 12px; color: #09283d; background: #ffb06f; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.vute-admin-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin: 0 0 18px; }
.vute-admin-stat { display: flex; flex-direction: column; gap: 5px; min-height: 92px; padding: 17px 18px; color: #f7fbff; background: linear-gradient(145deg,#123a59,#0d2944); border: 1px solid #1d4d68; border-radius: 13px; box-shadow: 0 6px 16px rgba(5,23,39,.09); }
.vute-admin-stat strong { color: #55dddd; font-size: 27px; line-height: 1; }
.vute-admin-stat span { color: #d4e5ee; font-size: 12px; font-weight: 650; }
.vute-admin-panel { margin: 16px 0; padding: 22px; color: #eaf3f8; background: #0d2943; border: 1px solid #1a4865; border-radius: 15px; box-shadow: 0 8px 22px rgba(5,23,39,.1); }
.vute-admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.vute-admin-section-head h2 { margin: 0 0 5px; color: #fff; font-size: 18px; font-weight: 800; }
.vute-admin-section-head p { margin: 0; color: #b9cddb; font-size: 13px; }
.vute-admin-count { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 9px; color: #08243a; background: #42d6d4; border-radius: 50px; font-weight: 850; }
.vute-admin-settings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.vute-admin-settings label { display: grid; gap: 7px; color: #eef7fb; font-weight: 700; }
.vute-admin-settings input, .vute-admin-settings textarea { width: 100%; max-width: 100%; padding: 9px 11px; color: #10283d; background: #f5f9fc; border: 1px solid #c4d5e0; border-radius: 8px; }
.vute-admin-settings small { color: #b9cddb; font-weight: 400; }
.vute-admin-form-actions { grid-column: 1 / -1; }
.vute-admin-help { margin: 12px 0 0; padding: 11px 13px; color: #c8e3ed; background: rgba(57,211,213,.08); border-left: 3px solid #39d3d5; border-radius: 7px; font-size: 12px; }
.vute-admin .button-primary { min-height: 36px; padding: 4px 13px; color: #07243a; background: #43d5d4; border-color: #43d5d4; font-weight: 750; }
.vute-admin .button-primary:hover, .vute-admin .button-primary:focus { color: #07243a; background: #79e5dc; border-color: #79e5dc; }
.vute-admin-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #214a65; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.vute-admin-table { min-width: 760px; border: 0 !important; border-collapse: separate !important; border-spacing: 0; background: #102f4a !important; color: #edf6fa; }
.vute-admin-table thead th { padding: 12px 13px !important; color: #bce9ee !important; background: #173f5c !important; border-bottom: 1px solid #2b5972 !important; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.vute-admin-table tbody td { padding: 12px 13px !important; color: #e7f0f5 !important; background: #102f4a !important; border-bottom: 1px solid rgba(196,224,238,.1) !important; vertical-align: middle; }
.vute-admin-table tbody tr:nth-child(even) td { background: #123653 !important; }
.vute-admin-table tbody tr:hover td { background: #194563 !important; }
.vute-admin-table select { max-width: 150px; min-height: 34px; color: #10283d; background: #f5f9fc; border: 1px solid #c4d5e0; border-radius: 7px; }
.vute-admin-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vute-admin-level, .vute-admin-count-inline { display: inline-flex; padding: 4px 9px; color: #08243a; background: #ffb06f; border-radius: 999px; font-weight: 800; }
.vute-admin-status { display: inline-flex; padding: 4px 9px; color: #09263c; background: #b7c9d5; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.vute-admin-status.is-on, .vute-admin-status.is-forming { color: #062a35; background: #59d9cf; }
.vute-admin-status.is-complete, .vute-admin-status.is-finalized { color: #38210d; background: #ffbf79; }
.vute-admin-status.is-off, .vute-admin-status.is-dissolved { color: #fff; background: #7c4855; }
.vute-admin-footer { color: #647d8d; font-size: 12px; }

@media (max-width: 900px) {
  .vute-admin-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .vute-admin-hero { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .vute-app { width: calc(100% - 16px); margin: 12px auto; border-radius: 15px; }
  .vute-app-hero { padding: 25px 20px; }
  .vute-app-hero:after { right: 7%; top: 24%; width: 64px; height: 64px; }
  .vute-app-content { padding: 12px; }
  .vute-app .vute-panel, .vute-app .vute-dashboard, .vute-app .vute-captain-panel { padding: 15px; border-radius: 12px; }
  .vute-app details.vute-panel > summary { padding: 17px; }
  .vute-app details.vute-panel > form, .vute-app details.vute-panel > p { margin-left: 16px; margin-right: 16px; }
  .vute-app form { align-items: stretch; flex-direction: column; gap: 10px; }
  .vute-app label { flex-basis: auto; width: 100%; }
  .vute-app button { width: 100%; min-height: 46px; }
  .vute-app .vute-slots { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .vute-app .vute-slot { min-height: 92px; }
  .vute-app .vute-logout-form { align-items: stretch; }
  .vute-admin { margin-right: 10px; }
  .vute-admin-hero { padding: 22px 18px; }
  .vute-admin-hero h1 { font-size: 22px; }
  .vute-admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .vute-admin-stat { min-height: 82px; padding: 13px; }
  .vute-admin-panel { padding: 15px; }
  .vute-admin-settings { grid-template-columns: 1fr; }
  .vute-admin-form-actions { grid-column: auto; }
  .vute-admin-inline-form { align-items: stretch; flex-direction: column; }
  .vute-admin-inline-form select, .vute-admin-inline-form .button { width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vute-app button { transition: none; }
}
@media (max-width: 640px) {
  .vute-admin-table-wrap { overflow: visible; border: 0; }
  .vute-admin-table { display: block; min-width: 0; background: transparent !important; }
  .vute-admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .vute-admin-table tbody { display: grid; gap: 10px; }
  .vute-admin-table tbody tr { display: block; padding: 6px 12px; background: #102f4a !important; border: 1px solid #28516c; border-radius: 11px; }
  .vute-admin-table tbody tr:nth-child(even) { background: #123653 !important; }
  .vute-admin-table tbody td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 2px !important; background: transparent !important; border-bottom: 1px solid rgba(196,224,238,.1) !important; text-align: right; overflow-wrap: anywhere; }
  .vute-admin-table tbody td:before { content: attr(data-label); flex: 0 0 38%; color: #a9dbe3; font-size: 11px; font-weight: 800; text-align: left; text-transform: uppercase; }
  .vute-admin-table tbody td:last-child { align-items: flex-start; border-bottom: 0 !important; }
  .vute-admin-table tbody td[colspan]:before { content: none; }
  .vute-admin-inline-form { width: 60%; }
  .vute-admin-inline-form select, .vute-admin-inline-form .button { width: 100%; max-width: none; }
}
.vute-app .vute-member-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--vute-line); }
.vute-app .vute-member-row form { flex: 0 0 auto; margin: 0; }
.vute-app .vute-member-row button { min-height: 36px; padding: 8px 12px; }
@media (max-width: 640px) {
  .vute-app .vute-member-row { align-items: stretch; flex-direction: column; }
  .vute-app .vute-member-row form, .vute-app .vute-member-row button { width: 100%; }
}
/* Phase 4, shared desktop/mobile actions. */
.vute-app .vute-substitutes { padding-top: 10px; border-top: 1px solid var(--vute-line); }
.vute-app .vute-phase4 details > summary { cursor: pointer; color: #fff; font-weight: 700; }
.vute-admin-panel > form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 14px 0; }
.vute-admin-panel > form label { display: grid; gap: 6px; color: #eaf3f8; }
.vute-admin-panel > form input, .vute-admin-panel > form select { max-width: 100%; }
.vute-admin-panel h3 { color: #fff; }
.vute-admin-panel > form label:has(input[type=checkbox]) { display: flex; align-items: center; }
@media (max-width: 640px) {
  .vute-admin-panel > form { flex-direction: column; align-items: stretch; }
  .vute-admin-panel > form label { width: 100%; }
  .vute-admin-panel > form input:not([type=checkbox]), .vute-admin-panel > form select { width: 100%; }
  .vute-app .vute-phase4 { overflow-wrap: anywhere; }
}
.vute-admin-panel > h2 { color: #fff; }
.vute-admin-group { margin: 14px 0; padding: 12px; border: 1px solid #28516c; border-radius: 10px; }
.vute-admin-group > summary { color: #fff; cursor: pointer; font-size: 15px; font-weight: 700; }
.vute-admin-group[open] > summary { margin-bottom: 12px; }
.vute-admin-group > form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.vute-admin-group form label { display: grid; gap: 6px; color: #eaf3f8; }
.vute-admin-group form label:has(input[type=checkbox]) { display: flex; align-items: center; }
@media (max-width:640px) {
  .vute-admin-group > form { flex-direction: column; align-items: stretch; }
  .vute-admin-group form label, .vute-admin-group form input:not([type=checkbox]), .vute-admin-group form select { width: 100%; max-width: 100%; }
}
/* Phase 4.2: common brand accents and calm, readable decision screens. */
.vute-app-hero, .vute-admin-hero { border-top: 3px solid #39d3d5; }
.vute-app-hero h2:after, .vute-admin-hero h1:after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; border-radius: 2px; background: #ff914d; }
.vute-app .vute-activation-panel { max-width: 720px; margin-inline: auto; }
.vute-app .vute-inline-alert, .vute-app .vute-activation-panel [role=alert] { padding: 14px 16px; border-left: 3px solid #ff914d; background: rgba(255,145,77,.08); border-radius: 8px; }
.vute-admin .vute-admin-table td > p { margin: 8px 0 0; color: #d6e4ed; line-height: 1.6; }
.vute-admin .vute-admin-version { display: inline-block; margin: 0 0 16px; padding: 8px 12px; color: #123653; background: #fff; border: 1px solid #c4d5e0; border-radius: 8px; }
.vute-admin .notice, .vute-admin .notice p { color: #123653 !important; }
