:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,sans-serif;background:#0f172a}*{box-sizing:border-box}body{margin:0}.app{min-height:100vh;background:linear-gradient(135deg,#0f172a,#111827);color:#e5e7eb;padding:1rem;max-width:960px;margin:0 auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.card{background:#111827;border:1px solid #1f2937;border-radius:12px;padding:1rem;margin-bottom:1rem;box-shadow:0 10px 40px #0003}.stack{display:flex;flex-direction:column;gap:.5rem}.row{display:flex;align-items:center;gap:.5rem}.wrap{flex-wrap:wrap}.spread{justify-content:space-between}input,textarea,button,select{font:inherit;border-radius:10px;border:1px solid #1f2937;padding:.75rem;background:#0b1222;color:#e5e7eb}textarea{min-height:70px;resize:vertical}button{background:#2563eb;border:1px solid #2563eb;cursor:pointer;transition:.2s ease}button:hover{opacity:.9}button:disabled{opacity:.5;cursor:not-allowed}.outline{background:transparent;border-color:#2563eb}.ghost{background:transparent;border-color:#1f2937}.muted{color:#94a3b8;margin:.25rem 0}.chip{border-radius:999px;background:transparent;border:1px solid #1f2937;padding:.45rem .85rem}.chip-active{background:#2563eb20;border-color:#2563eb}.chip-row{display:flex;align-items:center;gap:.35rem}.dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:6px}.danger{color:#f87171;border-color:#1f2937}.list{display:flex;flex-direction:column;gap:.75rem}.list-item{border:1px solid #1f2937;border-radius:10px;padding:.75rem;display:flex;justify-content:space-between;gap:.5rem;background:#0b1222}.badge{padding:.35rem .65rem;border-radius:999px;text-transform:uppercase;font-size:.75rem;letter-spacing:.02em}.badge-active{background:#2563eb20;border:1px solid #2563eb}.badge-terminee{background:#16a34a20;border:1px solid #16a34a}.badge-annulee{background:#f59e0b20;border:1px solid #f59e0b}.week-timeline{position:relative;border:1px solid #1f2937;border-radius:12px;background:#0b1222;padding:.5rem;overflow:hidden;min-height:160px}.week-timeline-grid{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(7,1fr);pointer-events:none}.week-timeline-day{border-left:1px solid #1f2937;padding:.35rem}.week-timeline-day:first-child{border-left:none}.week-timeline-day.today{background:#2563eb15;border-top:2px solid #2563eb;border-bottom:2px solid #2563eb}.week-timeline-bars{position:relative;margin-top:1.2rem;min-height:120px}.timeline-bar{position:absolute;top:.25rem;height:50px;border-radius:10px;padding:.4rem .6rem;background:#111827;border:1px solid #2563eb55;overflow:hidden;cursor:pointer}.event-title{font-weight:600}.event-child,.event-time{color:#94a3b8;font-size:.9rem}.event-detail{margin-top:.75rem;padding:.75rem;border:1px solid #1f2937;border-radius:10px;background:#0b1222}.month-timeline{position:relative;border:1px solid #1f2937;border-radius:12px;background:#0b1222;padding:.5rem;overflow-x:auto}.month-grid{display:grid;gap:0;border-bottom:1px solid #1f2937}.month-day-cell{border-left:1px solid #1f2937;padding:.35rem;text-align:center}.month-day-cell:first-child{border-left:none}.month-day-cell.today{background:#2563eb15;border-top:2px solid #2563eb;border-bottom:2px solid #2563eb}.month-day-label{font-size:.9rem}.month-bars{position:relative;margin-top:.6rem}.month-vertical{position:relative;border:1px solid #1f2937;border-radius:12px;background:#0b1222;padding:8px 8px 8px 110px;overflow:auto;background-image:repeating-linear-gradient(to bottom,#1f2937 0,#1f2937 1px,transparent 1px,transparent 32px);background-position:0 8px}.month-vertical-days{position:absolute;top:8px;left:8px;width:90px}.month-vertical-day{position:absolute;left:0;right:0;border-bottom:1px solid #1f2937;display:flex;align-items:center;padding-left:6px;color:#e5e7eb}.month-vertical-day.today{background:#2563eb15;border-top:2px solid #2563eb;border-bottom:2px solid #2563eb}.month-vertical-bars{position:relative}.event-active{border-color:#2563eb}.event-terminee{border-color:#16a34a}.event-annulee{border-color:#f59e0b}@media (min-width: 768px){.topbar{margin-top:.5rem}}
