.ak-seances{max-width:56rem;margin:1.25rem auto 3rem;color:#17343b;line-height:1.55;font-family:inherit}
.ak-standalone{padding:1.25rem;font-family:system-ui,sans-serif}
.ak-seances .ak-panel,.ak-seances .ak-card{padding:clamp(1rem,3vw,1.6rem);border:1px solid #d1e1df;border-radius:.75rem;margin:1rem 0;background:white}
.ak-seances h2,.ak-seances h3{color:#17343b;margin:1rem 0 .5rem}
.ak-seances summary{cursor:pointer;font-weight:650;padding:.35rem 0}
.ak-seances form{margin:1rem 0;display:grid;gap:.7rem;max-width:42rem}
.ak-seances label:not(.ak-choice){display:grid;gap:.2rem}
.ak-seances input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ak-seances select{box-sizing:border-box;width:100%;min-height:2.7rem;border:1px solid #849a99;padding:.4rem .6rem;border-radius:.35rem;background:white;color:#16363b;font:inherit}
.ak-seances fieldset{padding:.65rem .8rem;border:1px solid #c5d7d4;min-width:0}
.ak-seances .ak-choice{display:flex;gap:.6rem;align-items:baseline;margin:.3rem 0}
.ak-seances .ak-choice input{flex:none}
.ak-seances .ak-btn,.ak-seances .ak-add{justify-self:start;display:inline-block;padding:.55rem .9rem;border:0;border-radius:.4rem;background:#07696a;color:#fff;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.ak-seances .ak-add{background:#e5f3f1;color:#18474b;margin:.5rem 0}
.ak-seances [hidden]{display:none}
.ak-seances a:not(.ak-btn){color:#006467;text-decoration:underline}
.ak-seances .ak-state{color:#176568;font-weight:650;margin:0}
.ak-seances :focus-visible{outline:3px solid #224eae;outline-offset:3px}
.ak-month nav{display:flex;justify-content:space-between;margin:.5rem 0}
.ak-month table{table-layout:fixed;border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
.ak-month th,.ak-month td{border:1px solid #d0dfdd;padding:clamp(.15rem,1vw,.55rem);text-align:left;vertical-align:top}
.ak-month th{background:#e9f3f1}
.ak-month td{height:3.2rem}
.ak-month td a{display:block;font-weight:bold}
@media(max-width:450px){.ak-month th,.ak-month td{font-size:.8rem}.ak-month td{height:2.5rem}}
.ak-week nav{display:flex;gap:1rem;flex-wrap:wrap;margin:.75rem 0;align-items:center}.ak-week nav b{background:#e3f2f0;padding:.25rem .5rem}.ak-scroll{overflow:auto;max-height:34rem;border:1px solid #d1dfde}.ak-grid{border-collapse:separate;border-spacing:0;min-width:43rem;width:100%;font-size:.86rem;table-layout:fixed}.ak-grid td,.ak-grid th,.ak-month-grid>*{border:1px solid #d5e4e1;padding:.2rem .32rem}.ak-grid th{background:#f3f8f7}.ak-grid thead th{position:sticky;top:0;z-index:1}.ak-grid th:first-child{width:4rem}.ak-grid td{height:2rem;vertical-align:top}.ak-grid .ak-booked,.ak-event{background:#cae8e4}.ak-event{display:block;overflow-wrap:anywhere;padding:.2rem}.ak-grid .ak-away{background:#ececec;text-align:center}.ak-range-slot{display:block;width:100%;min-height:1.6rem;color:#37686c;background:transparent;border:0;cursor:pointer}.ak-range-slot:hover,.ak-range-slot:focus-visible{background:#d5eeea}.ak-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));font-size:.85rem}.ak-month-grid>div{min-height:3rem}.ak-new summary{color:#006669}#ak-calendrier{scroll-margin-top:5rem}
/* 1.3: calendar workspace, scoped to the private Tutor dashboard. */
.ak-seances{max-width:none;width:100%;min-width:0;margin:0 auto 2rem;--ak-brand:#009698;--ak-border:#dbe3e7;--ak-muted:#53676d;--ak-hour:64px}
.ak-seances .ak-calendar{margin:1.2rem 0;border:1px solid var(--ak-border);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #16363b08}
.ak-seances .ak-toolbar,.ak-seances .ak-subbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem;padding:.85rem 1rem;border-bottom:1px solid var(--ak-border)}
.ak-seances .ak-toolbar h3{font-size:1.1rem;margin:0;flex:1;text-align:center;font-weight:650}
.ak-seances .ak-toolbar nav,.ak-seances .ak-tabs{display:flex;align-items:center;gap:.25rem;flex-wrap:wrap}
.ak-seances .ak-toolbar nav a,.ak-seances .ak-toolbar nav b{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ak-border);border-radius:7px;padding:.35rem .65rem;text-decoration:none;color:#174a4d;font-size:.87rem;line-height:1.7;font-weight:600;min-height:32px}
.ak-seances .ak-toolbar nav a:hover{background:#edf8f7}
.ak-seances .ak-toolbar nav b{background:#006e70;border-color:#006e70;color:white}
.ak-seances .ak-datejump{display:flex;align-items:center;gap:.4rem;margin:0;max-width:none;flex-wrap:wrap}
.ak-seances .ak-datejump label{display:flex;align-items:center;gap:.35rem;font-size:.82rem}
.ak-seances .ak-datejump input[type=date]{width:auto;min-height:36px;font-size:.85rem;padding:.25rem .4rem}
.ak-seances .ak-datejump .ak-add{margin:0;padding:.4rem .7rem;font-size:.85rem}
.ak-seances .ak-create{background:#007b7d;border-radius:8px;font-size:.88rem}
.ak-seances .ak-zone{font-size:.78rem;color:var(--ak-muted)}
.ak-seances .ak-legend{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;padding:.65rem 1rem;font-size:.76rem;color:var(--ak-muted)}
.ak-seances .ak-dot{height:.65rem;width:.65rem;border-radius:3px;display:inline-block;margin-left:.65rem}
.ak-seances .ak-dot:first-child{margin-left:0}.ak-seances .ak-dot.single{background:#007b7d}.ak-seances .ak-dot.group{background:#4063a5}.ak-seances .ak-dot.blocked{background:#aeb9be}
.ak-seances .ak-timeline{max-height:min(68vh,740px);border:0;overflow:auto;scrollbar-color:#b6c9c8 transparent;overscroll-behavior:contain}
.ak-seances .ak-timegrid{display:grid;grid-template-columns:60px repeat(var(--ak-days),minmax(90px,1fr));grid-template-rows:58px calc(var(--ak-hours)*var(--ak-hour));min-width:calc(60px + var(--ak-days)*90px);position:relative;isolation:isolate}
.ak-seances .ak-timehead,.ak-seances .ak-dayhead{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--ak-border);border-right:1px solid var(--ak-border);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.8rem;line-height:1.25}
.ak-seances .ak-timehead{left:0;z-index:7;color:var(--ak-muted);font-size:.7rem}
.ak-seances .ak-dayhead a{text-decoration:none!important;color:var(--ak-muted)!important}.ak-seances .ak-dayhead strong{font-size:1.25rem;padding:.22rem .5rem;border-radius:30px}
.ak-seances .ak-dayhead.ak-today strong{background:#007b7d;color:#fff}.ak-seances .ak-hours{position:sticky;left:0;background:#fff;z-index:4;border-right:1px solid var(--ak-border);display:flex;flex-direction:column;overflow:hidden}
.ak-seances .ak-hours span{box-sizing:border-box;height:var(--ak-hour);flex-shrink:0;font-size:.72rem;text-align:right;padding:0 .5rem;color:var(--ak-muted);font-variant-numeric:tabular-nums}
.ak-seances .ak-daycol{position:relative;border-right:1px solid var(--ak-border);background:#fff;min-width:0}.ak-seances .ak-todaycol{background:#f5fbfa}
.ak-seances .ak-slot{position:absolute;left:0;width:100%;box-sizing:border-box;border:0;border-bottom:1px solid #e8eeee;background:transparent;margin:0;padding:0;min-height:0;display:block;border-radius:0}
.ak-seances .ak-slot:nth-child(even){border-bottom-color:#d3dddf}.ak-seances .ak-slot.ak-blocked{background:repeating-linear-gradient(135deg,#edf0f1,#edf0f1 5px,#e4e9eb 5px,#e4e9eb 9px)}
.ak-seances .ak-slot.ak-past{background:#f7f8f8}.ak-seances .ak-range-slot{color:transparent;font-size:1.05rem}.ak-seances .ak-range-slot:hover,.ak-seances .ak-range-slot:focus-visible{color:#006669;background:#d9f0ed;z-index:2}
.ak-seances .ak-timeevent{position:absolute;z-index:3;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;line-height:1.23;padding:.23rem .32rem;border:1px solid #fff;border-left-width:4px;border-radius:6px;text-decoration:none!important;min-height:2px;white-space:normal;overflow-wrap:anywhere;font-size:.75rem}
.ak-seances .ak-timeevent span{font-size:.67rem;font-variant-numeric:tabular-nums}.ak-seances .ak-timeevent strong{font-weight:650}.ak-seances .ak-single{background:#d9f3f0;color:#084c4e!important;border-left-color:#007b7d}.ak-seances .ak-group{background:#e4ecfc;color:#234778!important;border-left-color:#4063a5}
.ak-seances .ak-now{position:absolute;left:0;right:0;height:2px;background:#bc3030;z-index:4;pointer-events:none}.ak-seances .ak-now:before{content:'';position:absolute;left:0;top:-3px;height:8px;width:8px;border-radius:50%;background:#bc3030}
.ak-seances .ak-month-grid{border-top:1px solid var(--ak-border);grid-auto-rows:minmax(30px,auto)}.ak-seances .ak-month-grid>b{background:#f6f9f9;text-align:center;font-size:.75rem;color:var(--ak-muted);min-height:0}.ak-seances .ak-month-grid>div{min-height:5.5rem;padding:.4rem;min-width:0}.ak-seances .ak-month-grid>div>a:first-child{text-decoration:none;font-weight:600}.ak-seances .ak-month-day.ak-today{background:#f0faf9}.ak-seances .ak-month-day.ak-today>a:first-child{background:#007b7d;color:#fff;padding:.1rem .35rem;border-radius:20px}.ak-seances .ak-month-grid .ak-event{font-size:.72rem;margin:.25rem 0;border-radius:4px;padding:.25rem;border-left:3px solid;text-decoration:none!important}
.ak-seances .ak-agenda-day{margin:.6rem 1rem;color:var(--ak-muted);font-size:.85rem}.ak-seances .ak-agenda-row{display:flex;gap:.8rem;align-items:center;padding:.7rem .8rem;margin:.4rem 1rem;border-left:4px solid;border-radius:6px;text-decoration:none!important;font-size:.86rem}.ak-seances .ak-agenda-row strong{font-variant-numeric:tabular-nums;white-space:nowrap}.ak-seances .ak-mode{margin-left:auto;font-size:.75rem}.ak-seances .ak-empty{padding:1.5rem;color:var(--ak-muted)}
.ak-seances .ak-filter{margin:1rem 0;display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.ak-seances .ak-filter strong{font-size:.85rem}.ak-seances .ak-filterlinks{display:flex;gap:.35rem;flex-wrap:wrap}.ak-seances .ak-filterlinks a,.ak-seances .ak-filterlinks span{padding:.3rem .65rem;border:1px solid var(--ak-border);border-radius:20px;font-size:.8rem;text-decoration:none!important}.ak-seances .ak-filterlinks span{background:#006e70;color:white;border-color:#006e70}
.ak-seances .ak-card{scroll-margin-top:6rem}.ak-seances .ak-card:target{border-color:#009698;box-shadow:0 0 0 3px #00969825}.ak-seances .ak-new{border-top:4px solid #009698}
@media(max-width:650px){.ak-seances{--ak-hour:58px}.ak-seances .ak-toolbar{justify-content:flex-start;padding:.65rem}.ak-seances .ak-toolbar h3{flex:1 1 100%;text-align:left;order:-1}.ak-seances .ak-subbar{padding:.65rem}.ak-seances .ak-timeline{max-height:60vh}.ak-seances .ak-timegrid{grid-template-columns:44px repeat(var(--ak-days),minmax(98px,1fr));min-width:calc(44px + var(--ak-days)*98px)}.ak-seances .ak-month-grid>div{min-height:3.6rem;padding:.18rem}.ak-seances .ak-month-grid .ak-event{font-size:.65rem;padding:.1rem}.ak-seances .ak-agenda-row{flex-wrap:wrap;margin:.35rem .65rem}.ak-seances .ak-mode{margin:0}}

/* 1.3.2: Full 24-hour grid (00:00–23:59) with selection feedback and explicit booking confirmation. */
.ak-seances .ak-selection{padding:.7rem 1rem;background:#f4fbfa;border-bottom:1px solid var(--ak-border)}
.ak-seances .ak-selection-help{font-size:.82rem;color:#38595d;margin:.25rem 0 .55rem}
.ak-seances .ak-selection-bar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;font-size:.84rem}
.ak-seances [data-ak-selection-status]{flex:1 1 12rem;font-weight:650;color:#174a4d}
.ak-seances .ak-selection-bar button{margin:0;font-size:.82rem}
.ak-seances .ak-selection-bar button:disabled{opacity:.45;cursor:not-allowed}
.ak-seances .ak-daycol{user-select:none;-webkit-user-select:none}
.ak-seances .ak-range-slot{cursor:crosshair;touch-action:manipulation}
.ak-seances .ak-slot.ak-range-slot.ak-selected{background:#009698;color:transparent;box-shadow:inset 2px 0 #00696b,inset -2px 0 #00696b;border-bottom-color:#80caca;z-index:2}
.ak-seances .ak-range-slot.ak-selected:focus-visible{outline-offset:-3px;color:white}
.ak-seances .ak-new{scroll-margin-top:6rem}
.ak-seances .ak-datejump{display:flex!important;max-width:none!important}
.ak-seances .ak-toolbar nav a[data-ak-nav]{pointer-events:auto;position:relative;z-index:6}
@media(max-width:650px){.ak-seances .ak-selection{padding:.6rem}.ak-seances .ak-selection-bar{gap:.4rem}.ak-seances .ak-selection-bar button{min-height:40px}}
/* 1.3.3: the preliminary selection is available without booking permissions. */
.ak-seances button.ak-slot.ak-range-slot{appearance:none;-webkit-appearance:none;min-height:0!important;max-height:none;min-width:0;line-height:1;padding:0!important;margin:0!important;box-shadow:none;cursor:crosshair;pointer-events:auto}
.ak-seances button.ak-slot.ak-selected{background:#009698!important;box-shadow:inset 2px 0 #00696b,inset -2px 0 #00696b!important;color:transparent!important}
.ak-seances [data-ak-choose]:focus{outline:2px solid #009698;outline-offset:4px}

/* 1.3.5: explicit continuation after two-click scheduling. */
.ak-seances .ak-quick-dialog{box-sizing:border-box;width:min(480px,calc(100% - 2rem));max-height:85vh;overflow:auto;padding:1.4rem;border:1px solid #d1e1df;border-radius:14px;background:white;color:#17343b;box-shadow:0 14px 65px #142f3c44}
.ak-seances .ak-quick-dialog::backdrop{background:#17343b80}
.ak-seances .ak-quick-dialog h3{margin:0 0 .5rem}.ak-seances .ak-quick-summary{font-weight:650;color:#006e70}.ak-seances .ak-quick-list{display:grid;gap:.4rem}.ak-seances .ak-quick-list a{display:block;padding:.6rem .75rem;border:1px solid #d1e1df;border-radius:7px;text-decoration:none;background:#f6fbfa}.ak-seances .ak-quick-list a:hover,.ak-seances .ak-quick-list a:focus-visible{background:#d9f0ed}.ak-seances .ak-quick-dialog .ak-add{margin-top:1rem}.ak-seances button.ak-slot.ak-range-slot{cursor:pointer}

/* 1.4.0: local pointer-range engine; no external scripts. */
.ak-seances .ak-range-slot{touch-action:pan-y;cursor:crosshair!important}
.ak-seances .ak-quick-dialog .ak-duration-field{display:grid;gap:.35rem;margin:1rem 0;max-width:100%}
.ak-seances .ak-quick-dialog .ak-duration-field select{width:100%;font-size:1rem}
.ak-seances .ak-quick-dialog .ak-quick-summary{font-size:1.05rem;padding:.75rem;background:#e5f3f1;border-radius:8px;line-height:1.4}
.ak-seances .ak-quick-dialog .ak-quick-list{max-height:36vh;overflow:auto}
.ak-seances .ak-quick-dialog .ak-btn{margin:.5rem 0}
.ak-seances .ak-slot.ak-selected{background:#009698!important;border-bottom-color:#80caca!important;box-shadow:none!important}
.ak-seances .ak-timegrid .ak-daycol{user-select:none;-webkit-user-select:none}
.ak-seances .ak-quick-dialog::backdrop{background:#17343b80}
.ak-seances .ak-range-slot:focus-visible{outline-offset:-3px}

/* 1.4.1: mouse range and cancellation. */
.ak-seances.ak-dragging,.ak-seances.ak-dragging *{user-select:none!important;-webkit-user-select:none!important;cursor:crosshair!important}
.ak-seances .ak-event-person{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.ak-seances .ak-timeevent strong,.ak-seances .ak-event-person{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ak-seances .ak-cancel-panel{border:1px solid #e6c6c6;border-radius:8px;padding:.6rem .8rem;margin-top:1rem}
.ak-seances .ak-cancel-panel summary,.ak-seances .ak-cancelled-card .ak-state{color:#a12727}
.ak-seances .ak-cancel-panel textarea{width:100%;box-sizing:border-box;border:1px solid #849a99;border-radius:.35rem;padding:.6rem;font:inherit;color:#16363b;background:#fff}
.ak-seances .ak-btn.ak-danger{background:#a12727;color:white}
.ak-seances .ak-cancelled-card{border-left:4px solid #a12727}

.ak-seances .ak-timeevent.ak-short-event{padding:1px 3px;line-height:1.1;font-size:.72rem}
.ak-seances .ak-short-event>span:first-child{display:none}
.ak-seances .ak-short-event .ak-event-person{font-size:.68rem}

.ak-seances .ak-offers,.ak-seances .ak-upcoming{margin:1rem 0;padding:1rem;border:1px solid #d1e1df;border-radius:12px;background:#fff}
.ak-seances .ak-offers h3,.ak-seances .ak-upcoming h3{margin:0 0 .75rem}
.ak-seances .ak-offer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.65rem}
.ak-seances a.ak-offer{display:flex;flex-direction:column;gap:.25rem;border:1px solid #c6dedb;border-left:4px solid #009698;border-radius:9px;padding:.8rem;color:#17343b;text-decoration:none;background:#f6fbfa;overflow-wrap:anywhere}
.ak-seances .ak-offer small{color:#006467;font-weight:600}
.ak-seances .ak-next{display:grid;gap:.2rem;padding:.7rem 0;border-bottom:1px solid #d1e1df;overflow-wrap:anywhere}
.ak-seances .ak-next:last-child{border-bottom:0}
.ak-seances .ak-next-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.ak-seances .ak-next-actions a,.ak-seances .ak-btn{min-height:44px;box-sizing:border-box;align-content:center}
.ak-seances .ak-auto-course{background:#e5f3f1;padding:.8rem;border-radius:8px}
@media(max-width:650px){.ak-seances .ak-offer-list{grid-template-columns:1fr}.ak-seances .ak-next-actions a{width:100%;margin:0;text-align:center}.ak-seances .ak-offers,.ak-seances .ak-upcoming{padding:.75rem}}

.ak-seances .ak-fast-action{margin:.4rem 0;padding:.5rem;border:1px solid #c6dedb;border-radius:8px}.ak-seances .ak-fast-action summary{cursor:pointer;min-height:44px;align-content:center;font-weight:650}.ak-seances .ak-fast-action form{display:grid;gap:.65rem;margin:.4rem 0}.ak-seances .ak-fast-action input:not([type=checkbox]),.ak-seances .ak-fast-action select,.ak-seances .ak-fast-action textarea{width:100%;min-height:44px;font-size:16px;box-sizing:border-box}.ak-seances .ak-fast-action label{display:grid;gap:.25rem}.ak-seances .ak-fast-action .ak-choice{display:flex;align-items:center;gap:.5rem}.ak-seances .ak-fast-action button{width:100%}
.ak-seances .ak-slot-feedback:not(:empty){padding:12px;background:#f1f7f7;color:#153d3d;border-radius:8px;margin:8px 0;display:grid;gap:8px}.ak-seances .ak-slot-feedback button{white-space:normal;min-height:44px;text-align:left}.ak-seances .ak-progress dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:12px 0}.ak-seances .ak-progress dl div{padding:10px;border:1px solid #cddcdb;border-radius:8px}.ak-seances .ak-progress dt{font-size:.85rem}.ak-seances .ak-progress dd{margin:4px 0 0;font-weight:700;color:#007b7d}
.ak-seances .ak-batch-days{display:flex;flex-wrap:wrap;gap:.5rem 1rem}.ak-seances .ak-batch-days .ak-choice{min-width:110px;min-height:40px}.ak-seances .ak-batch-feedback ol{max-height:320px;overflow:auto;padding-inline-start:1.5rem}.ak-seances .ak-batch [disabled]{opacity:.55;cursor:not-allowed}.ak-seances .ak-batch button{margin-block:.5rem;min-height:44px}
