/* Sigma OS Stage 3.4 — Shared Calendar + Bookings presentation only. No core logic changes. */
#body>.toolbar{margin-bottom:10px!important;padding:0 1px;gap:8px!important}#body>.toolbar>div{display:flex;gap:6px}#body>.toolbar .btn{min-height:34px;border-radius:10px;padding:0 11px;font-size:9px;font-weight:600;background:#1a1b1f;border-color:rgba(255,255,255,.07);box-shadow:none}#body>.toolbar .btn.red{background:#a7242b;border-color:#a7242b}#body>.toolbar .btn.red:hover{background:#ba2931;border-color:#ba2931}
#body>.panel:has(.calendar-head){padding:0!important;border:1px solid rgba(255,255,255,.065)!important;border-radius:19px!important;background:#17181c!important;overflow:hidden;box-shadow:none!important}#body .calendar-head{min-height:58px;margin:0!important;padding:14px 16px 12px;border-bottom:1px solid rgba(255,255,255,.055)}#body .calendar-head h3{margin:0;font-size:16px;font-weight:640;letter-spacing:-.025em;color:#f4f4f6}#body .calendar-head .muted{font-size:9px;color:#77777f!important}
#body .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:1px!important;background:rgba(255,255,255,.045);padding:0!important}#body .dow{height:34px;display:flex;align-items:center;justify-content:center;padding:0!important;background:#141519;color:#686870;font-size:8px!important;font-weight:600;letter-spacing:.045em}#body .day{position:relative;min-height:126px!important;padding:9px!important;border:0!important;border-radius:0!important;background:#17181c!important;transition:background .14s ease;overflow:hidden}#body .day:hover{background:#1b1c21!important}#body .day.today{background:linear-gradient(145deg,rgba(167,36,43,.10),#191a1e)!important;box-shadow:inset 0 0 0 1px rgba(167,36,43,.48)}#body .day.today .daynum{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#a7242b;color:#fff}#body .daynum{height:24px;display:flex;align-items:center;margin:0 0 7px!important;color:#9b9ba3;font-size:9px!important;font-weight:620!important;font-variant-numeric:tabular-nums}
#body .event{margin:4px 0!important;padding:6px 7px!important;border:0!important;border-left:2px solid #a7242b!important;border-radius:7px!important;background:#232429!important;color:#e7e7ea;font-size:8px!important;line-height:1.3;cursor:pointer;transition:.13s ease;overflow:hidden}#body .event:hover{background:#292a30!important;transform:translateY(-1px)}#body .event strong{display:block;font-size:8px;font-weight:620;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#body .event .muted{color:#77777f!important;font-size:7px!important}#body .event.booking{border-left-color:#6d87a8!important}#body .event.marketing{border-left-color:#8f6da8!important}#body .event.finance{border-left-color:#657a69!important}#body .event.meeting{border-left-color:#9d8659!important}
/* Booking view */
#body>.kpis+.table,#body>.toolbar+.kpis+.table{margin-top:10px}#body>.table{border:1px solid rgba(255,255,255,.065)!important;border-radius:16px!important;background:#17181c!important;box-shadow:none;overflow:auto}#body>.table table{min-width:820px}#body>.table th{height:38px;padding:0 13px!important;background:#141519!important;color:#686870!important;border-bottom:1px solid rgba(255,255,255,.055)!important;font-size:8px!important;font-weight:600!important;letter-spacing:.045em}#body>.table td{height:48px;padding:10px 13px!important;border-bottom:1px solid rgba(255,255,255,.045)!important;color:#d3d3d8;font-size:10px!important;vertical-align:middle}#body>.table tr:last-child td{border-bottom:0!important}#body>.table tbody tr{transition:background .12s ease}#body>.table tbody tr:hover{background:#1c1d22}
#body>.kpis{gap:8px!important;margin:0 0 10px!important}#body>.kpis .kpi{min-height:91px!important;padding:14px!important;border:1px solid rgba(255,255,255,.065)!important;border-radius:15px!important;background:#191a1e!important;box-shadow:none!important;display:flex;flex-direction:column;justify-content:space-between}#body>.kpis .kpi small{font-size:8px!important;letter-spacing:.02em!important;text-transform:none!important;color:#75757d!important}#body>.kpis .kpi strong{font-size:20px!important;line-height:1.05;letter-spacing:-.035em;font-weight:650;color:#f4f4f6}
/* Calendar/event forms */
.modal .modalbox:has(input[name="title"]),.modal .modalbox:has(input[name="service"]){border-radius:20px!important;border-color:rgba(255,255,255,.09)!important;background:#17181c!important;box-shadow:0 30px 90px rgba(0,0,0,.5)!important}.modal .modalbox .ph{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.055)}.modal .modalbox .field label{font-size:8px!important;letter-spacing:.055em!important;color:#74747c!important}.modal .modalbox .field input,.modal .modalbox .field select,.modal .modalbox .field textarea{min-height:40px;border-radius:10px!important;border-color:rgba(255,255,255,.075)!important;background:#111216!important;padding:10px 11px!important;color:#f3f3f5}.modal .modalbox .field textarea{min-height:92px}
@media(max-width:900px){#body>.toolbar{position:relative;align-items:center!important;flex-direction:row!important;flex-wrap:wrap;margin-bottom:8px!important}#body>.toolbar>div{order:1}#body>.toolbar>.btn.red{order:2;margin-left:auto}#body>.panel:has(.calendar-head){border-radius:17px!important;overflow:visible;background:transparent!important;border:0!important}#body .calendar-head{min-height:52px;padding:11px 4px!important;border:0!important}#body .calendar-head h3{font-size:18px}#body .calendar-grid{display:block!important;background:transparent!important}#body .dow{display:none!important}#body .day{min-height:0!important;margin-bottom:7px;padding:11px 12px!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:14px!important;background:#18191d!important}#body .day:not(:has(.event)){display:none}#body .day.today{border-color:rgba(167,36,43,.45)!important;box-shadow:none!important}#body .daynum{margin-bottom:5px!important}#body .daynum:before{content:'Date ';margin-right:4px;color:#5f5f67;font-size:8px;font-weight:500}#body .event{padding:8px 9px!important;border-radius:9px!important}#body .event strong{font-size:10px}#body .event .muted{font-size:8px!important}#body>.kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}#body>.kpis .kpi{min-height:80px!important;padding:12px!important;border-radius:14px!important}#body>.kpis .kpi strong{font-size:18px!important}#body>.table{border-radius:14px!important;scrollbar-width:none}#body>.table::-webkit-scrollbar{display:none}#body>.table table{min-width:720px}.modal .modalbox:has(input[name="title"]),.modal .modalbox:has(input[name="service"]){width:calc(100vw - 16px)!important;max-height:calc(100dvh - 20px)!important;border-radius:18px!important;padding:15px!important}}
@media(max-width:370px){#body>.toolbar>.btn.red{width:100%;margin-left:0}#body>.kpis .kpi strong{font-size:16px!important}}
