@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f8f9fb;--white:#fff;--ink:#24272e;--muted:#93969f;--line:#eceef1;--orange:#ee724b;--side:246px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{transition:background .18s,transform .18s}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #efa68e;outline-offset:3px}button{color:inherit} .sidebar{width:var(--side);background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:34px 23px 18px}.brand{text-decoration:none;color:#282a30;display:flex;align-items:center;font:800 35px 'Manrope',sans-serif;letter-spacing:-2px;margin:0 8px 37px}.brand-dot{color:var(--orange)}.brand-icon{position:relative;background:var(--orange);color:white;width:35px;height:35px;border-radius:10px;font:bold 35px Georgia;text-align:center;margin-right:10px;line-height:39px;overflow:hidden}.brand-icon span{font-size:16px;position:absolute;right:5px;top:1px}.workspace{display:flex;align-items:center;gap:10px;padding:13px 9px;border:1px solid var(--line);border-radius:9px;font-size:13px;font-weight:650}.workspace-icon{background:#f3eee8;color:#897761;padding:9px 11px;border-radius:7px}.workspace small,.sidebar-bottom small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}.workspace-dot{width:6px;height:6px;background:#85a88d;border-radius:50%;margin-left:auto}.nav-caption{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#9a9ca6;margin:32px 11px 14px;display:flex;justify-content:space-between;align-items:center}.nav-item{border:0;width:100%;padding:13px;border-radius:7px;display:flex;align-items:center;gap:11px;font-weight:600;font-size:13px;text-align:left}.nav-item.active{background:#fff0e9;color:#d66b48}.nav-item>span:first-child{font-size:20px}.nav-arrow{margin-left:auto}.platform-section{margin-top:6px}.nav-caption button{border:0;background:none;color:#9a9ca6;font-size:17px;padding:0}.platform-filter{border:0;background:transparent;width:100%;display:flex;align-items:center;padding:11px 12px;gap:11px;color:#696d77;font-size:13px;text-align:left;border-radius:7px}.platform-filter:hover{background:#f7f8fa}.platform-filter.disabled{opacity:.35}.filter-check{margin-left:auto;border:1px solid #e1e3e8;border-radius:4px;width:14px;height:14px;font-size:11px;text-align:center;color:#a5a8b0}.sidebar-note{margin-top:auto;background:#faf8f4;border:1px solid #f2eee7;padding:18px 16px;border-radius:9px}.sidebar-note>span{font-size:25px;color:#c5b598}.sidebar-note h3{font-size:13px;font-weight:650;margin:11px 0 8px}.sidebar-note p{font-size:12px;color:#999389;line-height:1.8;margin:0}.note-line{height:3px;width:27px;background:#e6dcc9;margin-top:17px;border-radius:5px}.sidebar-bottom{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:21px 1px 0;margin-top:24px;font-size:12px;font-weight:600}.avatar{border-radius:50%;background:#efede9;padding:11px;color:#8c8375;font-size:11px}.sidebar-bottom button{border:0;background:none;margin-left:auto;color:#999;font-size:19px}.status-dot{display:inline-block;width:5px;height:5px;background:#79a48b;border-radius:50%;vertical-align:middle;margin-right:5px}main{margin-left:var(--side);padding:0 39px}header{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:#9a9da5}.breadcrumb span{padding:0 14px;color:#c3c5cb}.breadcrumb strong{font-weight:500;color:#616571}.header-right{display:flex;align-items:center;gap:19px}.local-status{font-size:11px;color:#969ba3}.icon-button{border:1px solid #e5e7eb;background:white;width:30px;height:30px;border-radius:7px;font-size:19px;color:#737984}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:42px 0 34px;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#a3a4ad;margin-bottom:11px}h1{font-family:Manrope,sans-serif;font-size:30px;font-weight:750;letter-spacing:-1.1px;margin:0}h1>span{color:var(--orange)}.page-heading p{font-size:13px;color:#979ba5;margin:10px 0 0}.primary-button{border:0;background:var(--orange);color:white;border-radius:7px;padding:12px 17px;font-size:12px;font-weight:600;box-shadow:0 3px 6px #e9835420;white-space:nowrap}.primary-button:hover{background:#df633d}.primary-button span{font-size:17px;margin-right:6px}.calendar-panel{border:1px solid #e4e7ec;border-radius:11px;background:white;overflow:hidden;box-shadow:0 3px 8px #22222202}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;padding:22px 23px;gap:16px}.month-heading{display:flex;align-items:center;gap:12px}h2{font:700 20px Manrope,sans-serif;letter-spacing:-.5px;margin:0}.count-badge{background:#f5f5f7;color:#9295a0;border:1px solid #ebedf0;border-radius:5px;padding:4px 7px;font-size:10px;white-space:nowrap}.calendar-actions{display:flex;gap:12px;align-items:center}.search-wrap{display:flex;align-items:center;gap:7px}.search-wrap span{font-size:24px;color:#979ca6}.search-wrap input{border:0;outline:none;width:129px;font-size:11px;color:#626875;background:transparent}.search-wrap input::placeholder{color:#a1a5ae}.today-button{border:1px solid #e8e9ed;border-radius:5px;padding:7px 11px;background:white;font-size:11px;color:#777d87}.month-navigation{display:flex;border:1px solid #e8e9ed;border-radius:5px;overflow:hidden}.month-navigation button{border:0;background:white;font-size:21px;line-height:26px;width:29px;color:#858b96}.month-navigation button+button{border-left:1px solid #eee}.month-navigation button:hover{background:#f7f7f9}.weekdays{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fdfdfe}.weekdays span{padding:13px 15px;font-size:9px;font-weight:650;letter-spacing:1px;color:#9197a2}.calendar-viewport{overflow:hidden;touch-action:pan-y}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar{grid-template-columns:repeat(7,minmax(0,1fr))}.day{min-height:143px;padding:10px 7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);position:relative;cursor:pointer}.day:nth-child(8n){border-right:0}.day:nth-last-child(-n+7){border-bottom:0}.day.weekend{background:#fcfcfd}.day.outside{background:#fafbfc}.day:hover{background:#fffcf9}.day-header{display:flex;align-items:center;justify-content:space-between;height:24px;margin:0 4px 8px}.day-number{font-size:11px;color:#717785;width:23px;height:23px;display:grid;place-items:center}.outside .day-number{color:#c8cbd2}.day.is-today .day-number{background:var(--orange);color:white;border-radius:50%;font-weight:600}.day-add{opacity:0;color:#a2a5ac;font-size:16px}.day:hover .day-add{opacity:1}.project-card{width:100%;text-align:left;display:block;margin:5px 0 0;padding:9px 8px 8px;border:1px solid var(--card-border);border-left:3px solid var(--accent);border-radius:5px;background:var(--tint);box-shadow:0 1px 2px #00000002;position:relative}.project-card:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 3px 8px #00000008}.project-title{font-size:11px;font-weight:650;line-height:1.5;color:#4b4c58;overflow-wrap:anywhere;display:block}.project-label{display:flex;gap:4px;align-items:center;color:var(--accent);font-size:9px;margin-top:6px;font-weight:500}.project-card .project-note{display:block;font-size:10px;line-height:1.5;color:#94929e;margin-top:4px;white-space:pre-line;overflow-wrap:anywhere}.platform-icon{width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;flex:none}.platform-icon svg{width:100%;height:100%}.project-label .platform-icon{width:11px;height:11px}.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:14px 19px;color:#a5a8b1;font-size:10px}.tiny-orange{display:inline-block;width:5px;height:5px;border-radius:50%;background:#e9a084;margin-right:5px}kbd{font-family:inherit;border:1px solid #e8e9ec;border-radius:3px;padding:0 4px;font-size:11px}.bottom-caption{display:flex;justify-content:space-between;color:#acb0b8;font-size:10px;padding:20px 1px 25px}.modal-overlay{position:fixed;inset:0;z-index:10;background:#1e233b55;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .2s}.modal-overlay[hidden]{display:none}.modal{width:490px;max-height:90dvh;overflow:auto;position:relative;border:1px solid #ffffff80;border-radius:17px;background:white;padding:34px;box-shadow:0 30px 100px #14223e30;animation:modal-in .25s cubic-bezier(.2,.8,.2,1)}.modal-close{position:absolute;top:14px;right:16px;border:0;background:#f5f6f8;color:#9296a1;border-radius:50%;width:28px;height:28px;font-size:23px}.modal h2{font-size:25px;padding-right:20px;margin:13px 0 9px;overflow-wrap:anywhere}.modal-subtitle{font-size:13px;color:#999eaa;line-height:1.7;margin-bottom:24px}.field{display:block;font-size:12px;font-weight:600;margin:18px 0}.field input,.field select,.field textarea{display:block;width:100%;margin-top:8px;border:1px solid #e1e4ea;border-radius:7px;padding:11px;background:#fdfdfe;color:#444b59;outline:none;font-size:13px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#e69b82;box-shadow:0 0 0 3px #ee724b10}.field textarea{resize:vertical;min-height:95px;line-height:1.7}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-row .field{margin:0}.modal-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.secondary-button{border:1px solid #e3e5e9;border-radius:7px;padding:11px 15px;background:white;font-size:12px}.danger-button{color:#cb6360;background:none;border:0;font-size:12px;margin-right:auto;padding:8px 0}.detail-tag{display:inline-flex;gap:6px;align-items:center;background:var(--tint);color:var(--accent);padding:6px 10px;border-radius:5px;font-size:12px}.detail-description{white-space:pre-wrap;overflow-wrap:anywhere;color:#6b7180;font-size:14px;line-height:1.9;background:#f8f9fb;padding:18px;border-radius:8px}.detail-heading{font-size:10px;letter-spacing:1px;color:#969ca6;margin:25px 0 10px}.storage-actions{display:grid;gap:10px}.storage-actions button{text-align:left;padding:15px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:30;background:#303943;color:white;padding:13px 22px;border-radius:9px;font-size:13px;transition:.2s;box-shadow:0 8px 25px #0002}.toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}@media(min-width:1500px){main{padding:0 55px}.day{min-height:165px}.project-title{font-size:13px}.project-label{font-size:10px}.project-card{padding:10px}.page-heading{padding:49px 0 40px}}@media(max-width:1100px){:root{--side:205px}.sidebar{padding:28px 15px 18px}main{padding:0 23px}.calendar-toolbar{padding:18px 14px}.search-wrap input{width:100px}.calendar-actions{gap:7px}.month-heading{gap:7px}h2{font-size:17px}.day{padding:7px 4px;min-height:127px}.project-card{padding:7px 5px}.weekdays span{font-size:8px;padding:12px 8px}h1{font-size:27px}}@media(max-width:800px){:root{--side:0px}.sidebar{display:none}main{padding:0 16px}header{height:60px}.page-heading{padding:28px 0 24px}h1{font-size:25px}.calendar-toolbar{flex-wrap:wrap}.calendar-actions{margin-left:auto}.calendar-viewport,.weekdays{min-width:0}.day{min-height:115px}.project-title{font-size:10px}.project-note{display:none!important}.calendar-footer>span:last-child{display:none}.toast{left:50%}}@media(max-width:520px){main{padding:0 8px}.page-heading{align-items:flex-start;padding:25px 7px;gap:10px}h1{font-size:22px}.eyebrow{font-size:7px;letter-spacing:1px}.page-heading p{font-size:11px}.page-heading .primary-button{font-size:0;padding:9px 11px;margin-top:13px}.page-heading .primary-button span{font-size:20px;margin:0}.search-wrap{display:none}.calendar-toolbar{padding:15px 10px;gap:8px}.count-badge{font-size:9px}.month-heading h2{font-size:17px}.weekdays span{font-size:0;text-align:center;padding:12px 0}.weekdays span::first-letter{font-size:10px}.day{padding:5px 2px;min-height:103px}.day-header{margin:0 0 5px}.project-title{font-size:9px;line-height:1.4}.project-card{padding:5px 3px;border-left-width:2px}.project-label{font-size:0;gap:2px;margin-top:4px}.project-label .platform-icon{width:10px;height:10px}.day-add{display:none}.bottom-caption{font-size:9px}.modal{padding:27px 22px}.modal-overlay{padding:15px}.local-status{font-size:10px}.breadcrumb{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Donkere studio, met heldere kanaalaccenten. */
:root{color-scheme:dark;--bg:#121419;--white:#1a1d24;--ink:#eceef4;--muted:#7f8593;--line:#2b2e38;--orange:#c6f178}body{background:radial-gradient(ellipse at 75% 0,#21252a55,transparent 55%),var(--bg)}.sidebar{background:#191c22}.brand{color:#f4f4f6}.brand-icon{color:#20271b}.workspace{background:#20232a}.workspace-icon,.avatar{background:#32372c;color:#c6e99a}.workspace small,.sidebar-bottom small{color:#858b96}.nav-item.active{background:#c6f17813;color:#c6f178}.platform-filter{color:#b5b8c4}.platform-filter:hover{background:#252831}.filter-check{border-color:#424650;color:#bdc3ce}.sidebar-note{background:linear-gradient(130deg,#292f26,#20242a);border-color:#353c30}.sidebar-note>span{color:#c6f178}.sidebar-note p{color:#8c9786}.note-line{background:#627a4c}.breadcrumb strong{color:#c2c6cf}.primary-button{color:#202719;box-shadow:0 3px 14px #a5dc4e12}.primary-button:hover{background:#d4ff8d}.icon-button,.today-button,.month-navigation button{background:#21242d;border-color:#383c48;color:#bfc5d0}.month-navigation{border-color:#383c48}.month-navigation button+button{border-color:#383c48}.month-navigation button:hover{background:#333844}.calendar-panel{background:#1b1e25;border-color:#323640;box-shadow:0 15px 50px #00000012}.weekdays{background:#1c1f26}.count-badge{background:#292d35;border-color:#393d46;color:#a5adb9}.search-wrap input{color:#d5d8e1}.day.weekend{background:#191c23}.day.outside{background:#161920}.outside .day-number{color:#505664}.day:hover{background:#22262d}.day-number{color:#9fa7b5;border:0;background:transparent;padding:0;cursor:pointer;border-radius:50%}.day-number:focus-visible{outline:2px solid var(--orange)}.day.is-today .day-number{color:#242c1c}.project-title{color:#e1e1eb}.project-card .project-note{color:#9b9caa}.project-card:hover{filter:brightness(1.16)}.calendar-footer{color:#707886}.tiny-orange{background:#c6f178}kbd{border-color:#3a3e49}.modal-overlay{background:#070910a8}.modal{background:#20242d;border-color:#383e4a}.modal-close{background:#303641;color:#abb4c3}.field input,.field select,.field textarea{background:#181c23;border-color:#3a414e;color:#e0e5ef}.field input:focus,.field select:focus,.field textarea:focus{border-color:#b9de78;box-shadow:0 0 0 3px #c6f17810}.secondary-button{background:#2a303b;border-color:#3d4553;color:#d0d6e1}.secondary-button:hover{background:#343c49}.detail-description{background:#191d25;color:#b1bac9}.toast{background:#c6f178;color:#202719}.local-status{color:#869180}.status-dot{background:#c6f178}.sidebar-bottom button{color:#acb3bf}.modal button:disabled{opacity:.5;cursor:wait}.project-card:focus-visible{outline:2px solid var(--accent)}

/* Weeknummers reizen mee met het volledige maandbord. */
.calendar,.weekdays{grid-template-columns:38px repeat(7,minmax(0,1fr))}
.weekdays .week-heading{padding:13px 0;text-align:center;font-size:9px;letter-spacing:.6px;border-right:1px solid var(--line);color:#747e8d}
.week-number{display:flex;justify-content:center;align-items:flex-start;padding-top:15px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#171a21;color:#899583;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.week-number span{display:grid;place-items:center;height:23px}
.week-number:nth-last-child(8){border-bottom:0}
.calendar-viewport{position:relative}
.calendar{background:#1b1e25}
.calendar-outgoing{position:absolute;inset:0 0 auto;pointer-events:none;z-index:1}
.is-sliding .calendar{pointer-events:none;will-change:transform}
@media(max-width:1100px){.week-number{padding-top:12px}}
@media(max-width:520px){.calendar,.weekdays{grid-template-columns:25px repeat(7,minmax(0,1fr))}.week-number{font-size:9px;padding-top:10px}.weekdays .week-heading{font-size:8px;padding:12px 0}.weekdays .week-heading::first-letter{font-size:8px}}

/* Compact logo met subheader op de plek van het kruimelpad. */
.header-brand{margin:0;gap:1px;letter-spacing:-1.5px}
.brand-copy{display:flex;flex-direction:column;gap:3px}
.brand-name{font-size:29px;line-height:1}
.brand-subtitle{font:500 10px 'DM Sans',sans-serif;letter-spacing:1.2px;color:#8f98a6}
.day-add{display:grid;place-items:center;flex:none;width:23px;height:23px;padding:0;border:1px solid #c6f17825;border-radius:6px;background:#c6f1780b;color:var(--orange);font-size:18px;line-height:1;opacity:.6;cursor:pointer}
.day:hover .day-add,.day:focus-within .day-add,.day-add:hover{opacity:1}
.day-add:hover{background:#c6f17825}
@media(max-width:520px){.header-brand .brand-name{font-size:24px}.header-brand .brand-icon{width:30px;height:30px;font-size:30px;line-height:34px;margin-right:7px}.brand-subtitle{font-size:9px;letter-spacing:.7px}.day-add{width:19px;height:23px;font-size:15px}.header-right{gap:10px}}

/* Rustige bediening boven en in het maandbord. */
.page-heading{justify-content:flex-end;padding:20px 0}
.day-add{border-color:transparent;background:transparent;color:#818a99;opacity:.4}
.day:hover .day-add,.day:focus-within .day-add{opacity:.7}
.day-add:hover,.day-add:focus-visible{opacity:1;background:#ffffff07;color:#a8b0bd}
@media(max-width:520px){.page-heading{padding:15px 0}.page-heading .primary-button{font-size:12px;margin-top:0;padding:10px 13px}.page-heading .primary-button span{font-size:17px;margin-right:5px}}

/* Live serverstatus met een rustig ademend lampje. */
.server-status[data-state="checking"]{color:#949caa}
.server-status[data-state="online"]{color:#77dba0}
.server-status[data-state="offline"]{color:#ff727d}
.server-status .status-dot{width:6px;height:6px;background:currentColor;margin-right:7px;box-shadow:0 0 5px currentColor;animation:server-glow 2.4s ease-in-out infinite}
.server-status[data-state="checking"] .status-dot{animation:none;box-shadow:none}
@keyframes server-glow{0%,100%{opacity:.55;box-shadow:0 0 3px currentColor}50%{opacity:1;box-shadow:0 0 9px currentColor,0 0 15px currentColor}}
@media(prefers-reduced-motion:reduce){.server-status .status-dot{animation:none;opacity:1;box-shadow:0 0 4px currentColor}}

/* Het maandbord volgt direct op de bovenbalk. */
header + .calendar-panel{margin-top:24px}
@media(max-width:520px){header + .calendar-panel{margin-top:16px}}

/* Inschuifbare zijbalk: de kalender gebruikt de vrijgekomen breedte. */
.header-left{display:flex;align-items:center;gap:17px}
.sidebar-toggle{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;background:transparent;color:#8d97a6;border-color:#343945}
.sidebar-toggle:hover{background:#ffffff08;color:#c6f178}
.sidebar-toggle svg{width:20px;height:20px}
.sidebar-chevron{transform-origin:15px 12px;transition:transform .32s ease}
.sidebar{transition:transform .32s ease,visibility .32s;z-index:2}
main{transition:margin-left .32s ease}
body.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden;pointer-events:none}
body.sidebar-collapsed main{margin-left:0}
body.sidebar-collapsed .sidebar-chevron{transform:rotate(180deg)}
@media(max-width:800px){.sidebar-toggle{display:none}.header-left{gap:0}}

.bottom-caption{justify-content:flex-end}

/* Videolabels met herkenbare kanaaliconen en kleuren. */
.platform-picker{position:relative;min-width:0}
.platform-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:11px;border:1px solid #3a414e;border-radius:7px;background:#181c23;font-size:13px;text-align:left}
#platform-selected{display:flex;align-items:center;gap:8px}
.picker-chevron{color:#85909f;font-size:17px;line-height:16px;transition:transform .18s}
.platform-trigger[aria-expanded="true"]{border-color:#a3bf75;box-shadow:0 0 0 3px #c6f1780b}
.platform-trigger[aria-expanded="true"] .picker-chevron{transform:rotate(180deg)}
.platform-options{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:5;padding:5px;background:#252b35;border:1px solid #404957;border-radius:10px;box-shadow:0 15px 35px #0006;animation:fade-in .15s ease}
.platform-options[hidden]{display:none}
.platform-option{position:relative;display:flex;align-items:center;gap:9px;padding:10px 9px;border-radius:6px;color:#c0c8d5;font-size:13px;cursor:pointer;font-weight:500}
.platform-option:hover{background:#ffffff07}
.field .platform-option input{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:pointer}
.option-icon{display:flex;color:var(--accent)}
.option-check{margin-left:auto;color:var(--accent);opacity:0}
.platform-option:has(input:checked){background:#ffffff07;color:var(--accent)}
.platform-option:has(input:checked) .option-check{opacity:1}
.platform-option:focus-within{outline:1px solid var(--accent);outline-offset:-1px;background:#ffffff09}

/* De bovenbalk blijft zichtbaar terwijl de planning eronder scrollt. */
main > header{position:sticky;top:0;z-index:6;background:#121419;box-shadow:0 8px 18px #00000018}

/* Een smalle greep aan de zijbalkrand, die met de zijbalk meeschuift. */
.sidebar-toggle{position:fixed;left:calc(var(--side) - 13px);top:26px;z-index:7;width:26px;height:34px;border-radius:8px;background:#22262f;transition:left .32s ease,width .32s ease,background .18s}
.sidebar-toggle svg{width:18px;height:18px}
body.sidebar-collapsed .sidebar-toggle{left:2px;width:20px;border-radius:0 7px 7px 0}
body.sidebar-collapsed main{margin-left:18px}
body.sidebar-collapsed::before{content:'';position:fixed;inset:0 auto 0 0;width:18px;background:#191c22;border-right:1px solid var(--line);z-index:2}
@media(max-width:800px){.sidebar-toggle{display:none}body.sidebar-collapsed main{margin-left:0}body.sidebar-collapsed::before{display:none}}

/* Projecten verslepen tussen dagen. */
.project-card[draggable="true"]{cursor:grab}
.project-card[draggable="true"]:active{cursor:grabbing}
.project-card.is-dragging{opacity:.4}
.day.drag-over{background:#c6f17810;box-shadow:inset 0 0 0 2px #c6f17890}
.day.drag-over .day-number{color:#c6f178}
.day.drag-over.is-today .day-number{color:#242c1c}
.dragging-project .day-add{opacity:0}
.dragging-project,.dragging-project .day{cursor:grabbing}

/* Maandbediening en weekdagen blijven samen onder de bovenbalk staan. */
.calendar-panel{overflow:visible}
.calendar-sticky-heading{position:sticky;top:85px;z-index:5;background:#1b1e25;border-radius:10px 10px 0 0;box-shadow:0 7px 14px #00000020}
.calendar-toolbar{border-radius:10px 10px 0 0}
.calendar-viewport{border-radius:0 0 10px 10px}
@media(max-width:800px){.calendar-sticky-heading{top:60px}}

/* Geen scheidingslijn of schaduwrand onder de logobalk. */
main > header{border-bottom:0;box-shadow:none}

/* De maandbalk sluit direct aan op de vaste logobalk. */
header + .calendar-panel{margin-top:0;border-top:0}

/* Afronden vanuit de projectdetails, met een vinkje op de kaart. */
.project-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:4px;margin-top:6px}
.project-footer .project-label{margin-top:0;min-width:0;flex-wrap:wrap}
.project-done{flex:none;display:grid;place-items:center;width:16px;height:16px;border-radius:4px;background:#c6f17820;color:#c6f178;font-size:13px;font-weight:700}
.project-card.is-done{background:color-mix(in srgb,var(--tint) 50%,transparent);border-color:color-mix(in srgb,var(--card-border) 50%,transparent);border-left-color:color-mix(in srgb,var(--accent) 50%,transparent)}
.project-card.is-done .project-title,.project-card.is-done .project-note,.project-card.is-done .project-label{opacity:.5}
.project-card.is-done:hover{filter:none}
.project-actions{justify-content:flex-start;flex-wrap:wrap}
.project-actions > button{width:88px;flex:0 0 88px;text-align:center}
.project-actions .danger-button{margin-right:0;margin-left:auto;padding:11px 15px}
#summary{font-size:12px;position:relative;display:block;flex:1;min-width:0;height:24px;overflow:hidden;line-height:24px;text-align:right;white-space:nowrap}
#summary strong{color:var(--orange);font-weight:800;font-variant-numeric:tabular-nums}
.summary-current{display:block;position:absolute;inset:0}
.summary-outgoing{display:block;position:absolute;inset:0;white-space:nowrap;pointer-events:none;animation:summary-fall-out .32s cubic-bezier(.55,0,.85,.4) both}
.summary-incoming{animation:summary-fall-in .58s .15s cubic-bezier(.2,.75,.25,1) both}
@keyframes summary-fall-out{from{transform:translateY(0);opacity:1}to{transform:translateY(28px);opacity:0}}
@keyframes summary-fall-in{0%{transform:translateY(-28px);opacity:0}75%{transform:translateY(2px);opacity:1}100%{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.summary-outgoing{display:none}.summary-incoming{animation:none}}

.project-review{flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:4px;background:#ffcf7020;color:#ffcf70;font-size:14px}
.project-actions .review-button{width:100px;flex-basis:100px;white-space:nowrap}

.project-actions .secondary-button[aria-pressed="true"],.project-actions .secondary-button[aria-pressed="true"]:hover,.project-actions .secondary-button:active{background:#ffcf70;border-color:#ffcf70;color:#292316;box-shadow:none}

.review-hourglass{display:block;line-height:1;transform-origin:center;animation:review-hourglass-turn 4s cubic-bezier(.45,0,.2,1) infinite}
@keyframes review-hourglass-turn{0%,27.5%{transform:rotate(0deg)}45%,77.5%{transform:rotate(180deg)}95%,100%{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.review-hourglass{animation:none}}

.project-done{text-shadow:0 0 5px #c6f178cc,0 0 10px #c6f17880;box-shadow:0 0 6px #c6f17840,0 0 12px #c6f17820}

.project-done{animation:done-glow-breathe 3s ease-in-out infinite}
@keyframes done-glow-breathe{
  0%,100%{text-shadow:0 0 3px #c6f17880,0 0 6px #c6f17840;box-shadow:0 0 4px #c6f17825,0 0 8px #c6f17810}
  50%{text-shadow:0 0 6px #c6f178ee,0 0 12px #c6f17899;box-shadow:0 0 8px #c6f17860,0 0 16px #c6f17830}
}
@media(prefers-reduced-motion:reduce){.project-done{animation:none}}

.search-wrap{height:30px;padding:0 10px;border:1px solid #30343e;border-radius:5px;background:#1b1e25;box-shadow:inset 0 1px 3px #00000030,0 1px 0 #ffffff05;transition:border-color .2s,box-shadow .2s}
.search-wrap:focus-within{border-color:#758e4d;box-shadow:inset 0 1px 3px #00000030,0 0 0 2px #c6f1780a}

.calendar-actions .today-button,.calendar-actions .month-navigation{height:30px}

.project-card.is-search-muted,.project-card.is-search-muted:hover{filter:blur(3px) brightness(.4);transform:none}
.project-card.is-search-match.is-done{background:var(--tint);border-color:var(--card-border);border-left-color:var(--accent)}
.project-card.is-search-match.is-done .project-title,.project-card.is-search-match.is-done .project-note,.project-card.is-search-match.is-done .project-label{opacity:1}

/* BEGIN proef: projecten vergroten bij mouseover (apart terug te draaien). */
@media(hover:hover) and (pointer:fine){
  .project-card{transition:transform .22s cubic-bezier(.2,.7,.3,1),box-shadow .22s,filter .22s;transform-origin:center top}
  .day:has(.project-card:not(.is-search-muted):hover){z-index:5}
  .day:nth-child(8n + 2) .project-card{transform-origin:left top}
  .day:nth-child(8n) .project-card{transform-origin:right top}
  .day:nth-last-child(-n + 7) .project-card{transform-origin:center bottom}
  .day:nth-last-child(7) .project-card{transform-origin:left bottom}
  .day:last-child .project-card{transform-origin:right bottom}
  .project-card:not(.is-dragging):not(.is-search-muted):hover{z-index:6;transform:scale(1.25);filter:brightness(1.08);background:color-mix(in srgb,var(--accent) 8%,#1b1e25);box-shadow:0 10px 28px #00000070,0 2px 6px #00000040}
  .project-card.is-done:not(.is-search-muted):hover .project-title,.project-card.is-done:not(.is-search-muted):hover .project-note,.project-card.is-done:not(.is-search-muted):hover .project-label{opacity:1}
}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}}
/* END proef: projecten vergroten bij mouseover. */

.search-clear{display:grid;place-items:center;flex:none;width:18px;height:18px;padding:0;border:0;border-radius:4px;background:transparent;color:#a1a5ae;font-size:18px;line-height:1}
.search-clear:hover{background:#ffffff0d;color:#eceef4}
.search-clear[hidden]{display:grid;visibility:hidden;pointer-events:none}

.project-card.is-search-muted:hover{box-shadow:0 1px 2px #00000002}

/* Het bord vult het venster; alleen de dagen scrollen bij een volle planning. */
html,body{height:100%;overflow:hidden}
main{height:100vh;height:100dvh;min-width:0;padding:0;display:flex;flex-direction:column}
main > header{position:relative;top:auto;flex:0 0 85px;padding:0 24px}
.header-left,.header-right{min-width:0}
.header-brand .brand-icon{display:block;flex-shrink:0;object-fit:contain;background:transparent}
.calendar-panel{flex:1 1 0;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:0}
.calendar-sticky-heading{position:relative;top:auto;flex:none;border-radius:0}
.calendar-toolbar{border-radius:0}
.calendar-viewport{flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;border-radius:0;overscroll-behavior:contain}
.calendar{min-height:100%;grid-auto-rows:minmax(100px,auto)}
.day{min-height:100px}
.bottom-caption{flex:none;padding:6px 16px}
.sidebar{overflow-y:auto}
@media(max-width:800px){main > header{flex-basis:60px;padding:0 12px}}
@media(max-width:520px){main > header{padding:0 8px}.bottom-caption{padding:4px 8px}}

/* Projecten zonder deadline in de inklapbare zijbalk. */
.sidebar{overflow:hidden}
.workspace,.platform-section,.sidebar > .nav-caption,.sidebar > .nav-item,.sidebar-bottom{flex-shrink:0}
.projects-section{flex:1 1 auto;min-height:110px;overflow-y:auto;margin:22px -8px 16px;padding:10px 8px;border:1px solid transparent;border-radius:8px;overscroll-behavior:contain}
.projects-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 13px;margin-bottom:15px;border:1px solid #c6f17818;border-radius:8px;background:#c6f1780b}
.projects-heading h2{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0;letter-spacing:0}
.projects-wordmark{font:800 24px/1 'Manrope',sans-serif;letter-spacing:-.9px;color:#edf1e7}
.projects-dot{color:var(--orange)}
.projects-subtitle{font:600 10px/1.4 'DM Sans',sans-serif;letter-spacing:1.6px;text-transform:uppercase;color:#aabd90}
.projects-heading .icon-button{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border-radius:7px;border-color:#c6f17830;background:#c6f1780a;color:#c6f178}
.projects-heading .icon-button:hover{background:#c6f17820}
.projects-heading .icon-button svg{display:block;width:18px;height:18px}
.projects-empty{font-size:11px;line-height:1.7;color:#8f98a6}
.projects-empty{font-size:11px;line-height:1.7;color:#8f98a6}
.projects-hint{margin:8px 0 12px}
.projects-empty{padding:16px 5px;border:1px dashed #3a414e;border-radius:7px;text-align:center}
.projects-section.drag-over{background:#c6f17810;border-color:#c6f17890}
.projects-section .project-card{margin-top:8px}
.projects-section .project-card:hover{transform:translateY(-1px)}
.sidebar-bottom{margin-top:auto;padding-top:18px}
.field-hint{display:block;margin-top:7px;font-size:11px;font-weight:400;line-height:1.6;color:#8f98a6}
@media(max-height:760px){.sidebar{overflow-y:auto}.projects-section{flex-shrink:0;min-height:160px;overflow:visible}}

/* Compacte zijbalk en een kalender over de volledige beschikbare hoogte. */
.sidebar-brand{flex-shrink:0;margin:0;padding:0;gap:0;letter-spacing:-1.5px}
.sidebar-brand .brand-icon{display:block;flex:none;object-fit:contain;background:transparent;width:30px;height:30px;margin-right:8px}
.sidebar-brand .brand-subtitle{font-size:9px;letter-spacing:.15px;white-space:nowrap}
.sidebar-bottom{gap:7px}
.sidebar-bottom #backup{margin-left:auto;flex:none;font-size:19px;width:24px;height:28px;padding:0}
.sidebar-bottom #settings{margin-left:auto;padding:0;flex:none}
.calendar-sticky-heading{top:auto}
.bottom-caption{align-items:center;gap:16px;flex-wrap:wrap}
#summary{flex:0 1 auto;min-width:225px}
#last-update{font-size:11px;line-height:24px;font-variant-numeric:tabular-nums}
.projects-section{overflow-x:hidden;padding:28px 8px;margin-left:-8px;margin-right:-8px}
.projects-section .project-card{transform-origin:center center}
@media(hover:hover) and (pointer:fine){
  .projects-section .project-card:not(.is-dragging):not(.is-search-muted):hover{transform:none}
}
@media(max-height:760px){.projects-section{flex-shrink:1;min-height:0;overflow-y:auto;overflow-x:hidden}}
@media(max-width:800px){.calendar-sticky-heading{top:auto}}
@media(max-width:520px){.bottom-caption{gap:0 12px}#last-update{font-size:10px}}

/* De projectkop behoudt zijn breedte naast de ruimte voor kaartzoom. */
.projects-section .projects-heading{margin-left:0;margin-right:0}

/* De vergrote projectkaart zweeft buiten de zijbalk en volgt geen muisacties. */
.project-hover-preview{position:fixed;z-index:9;margin:0;pointer-events:none;transform:scale(1.25);transform-origin:left center;filter:brightness(1.08);background:color-mix(in srgb,var(--accent) 8%,#1b1e25);box-shadow:0 10px 28px #00000070,0 2px 6px #00000040;animation:project-preview-in .22s cubic-bezier(.2,.7,.3,1) both}
.project-hover-preview.is-done .project-title,.project-hover-preview.is-done .project-note,.project-hover-preview.is-done .project-label{opacity:1}
@keyframes project-preview-in{from{transform:scale(1)}to{transform:scale(1.25)}}

/* Compacte statusknoppen in de bestaande stijl. */
.status-picker{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}
.status-picker .status-button{flex:0 0 auto;margin:0;padding:11px 15px;min-height:0;border:1px solid #3d4553;border-radius:7px;background:#2a303b;color:#d0d6e1;font-size:12px;line-height:normal;white-space:nowrap;box-shadow:none}
.status-picker .status-button:hover{background:#343c49}
.status-picker .status-button[aria-pressed="true"],.status-picker .status-button[aria-pressed="true"]:hover{background:#ffcf70;border-color:#ffcf70;color:#292316}
.project-status{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:18px}
.progress-sign{position:relative;display:inline-block;background:#ffdb36;color:#17191a;border:1px solid #fff3a7;border-radius:2px;padding:2px 3px;font:900 7px/1.05 'Manrope',sans-serif;text-align:center;transform:rotate(-9deg);box-shadow:0 1px 2px #0004}
.project-status.status-review{color:#ffcf70}
.live-icon{display:inline-flex;align-items:center;gap:4px;color:#ff727d;font-size:10px;font-weight:800;white-space:nowrap}
.live-icon i,.live-dot{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:#ff4055;animation:live-glow 2.4s ease-in-out infinite}
@keyframes live-glow{0%,100%{opacity:.55;box-shadow:0 0 3px #ff405588}50%{opacity:1;box-shadow:0 0 7px #ff4055,0 0 13px #ff405599}}
@media(prefers-reduced-motion:reduce){.live-icon i,.live-dot{animation:none}}

.status-picker .status-live{display:inline-flex;align-items:center;justify-content:center;gap:7px}

/* Tekst en eventuele indicator staan centraal in alle dialoogknoppen. */
.status-picker .status-button,.modal-actions > button,.storage-actions > button{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:7px;min-height:38px;line-height:16px;
}
.status-picker .status-button > span{display:block;line-height:16px}
.modal-close{display:grid;place-items:center;padding:0;line-height:1}

/* Vier even brede statusknoppen. */
.status-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.status-picker .status-button{width:100%;min-width:0;padding-left:6px;padding-right:6px}
@media(max-width:380px){.status-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}

.project-status .progress-icon{display:block;width:22px;height:22px;object-fit:contain}

.project-status .progress-icon{animation:progress-glow 2.8s ease-in-out infinite}
@keyframes progress-glow{
  0%,100%{filter:drop-shadow(0 0 2px #ffd00066) drop-shadow(0 0 4px #ffd00033)}
  50%{filter:drop-shadow(0 0 5px #ffd000cc) drop-shadow(0 0 9px #ffd00077)}
}
@media(prefers-reduced-motion:reduce){.project-status .progress-icon{animation:none;filter:drop-shadow(0 0 3px #ffd00088)}}

/* Sluiten en verwijderen delen dezelfde ronde bediening en hover. */
.modal-delete{position:absolute;top:14px;right:52px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#303641;color:#abb4c3;line-height:1}
.modal-delete svg{width:15px;height:15px}
.modal-close,.modal-delete{transition:background .18s,color .18s,box-shadow .18s,transform .18s}
.modal-close:hover,.modal-delete:hover{background:#444e5d;color:#fff;box-shadow:0 0 0 3px #ffffff0a;transform:translateY(-1px)}
.modal:has(.modal-delete) .detail-tag{max-width:calc(100% - 55px)}

/* Eigen inlogscherm met een vervaagde, donkere planning op de achtergrond. */
.login-backdrop{position:fixed;inset:-16px;display:flex;filter:blur(9px);pointer-events:none;background:#15181f}
.login-backdrop-sidebar{width:246px;flex:none;padding:50px 30px;background:#20242b;border-right:1px solid #39404b}
.login-backdrop-sidebar>span{font:800 35px 'Manrope',sans-serif;color:#c6f178}
.login-backdrop-sidebar>div{height:32px;margin-top:28px;border-radius:7px;background:#373f48}
.login-backdrop-board{flex:1;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(5,1fr);margin:80px 24px 35px;border:1px solid #414954}
.login-backdrop-board>div{padding:25px 10px;border:1px solid #343b46}
.login-backdrop-board span{display:block;height:45px;border-radius:5px;background:#8671ad40;border-left:3px solid #a191d1}
.login-shade{position:fixed;inset:0;background:#070910a8;backdrop-filter:blur(3px)}
main.login-main{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:100dvh;margin:0;padding:24px;overflow:auto}
.login-card{width:100%;max-width:410px;padding:34px;background:#20242df5;border:1px solid #383e4a;border-radius:17px;box-shadow:0 30px 100px #0006}
.login-brand{margin:0 0 32px;letter-spacing:-1.5px}
.login-brand .brand-icon{object-fit:contain;background:transparent;flex:none}
.login-card h1{font-size:27px}
.login-card .modal-subtitle{margin:10px 0 24px}
.login-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin-top:25px}
.login-error{font-size:13px;line-height:1.6;color:#ff8a93}
.logout-form{flex:none;margin:0;display:flex}
.sidebar-bottom #logout{display:grid;place-items:center;width:24px;height:28px;padding:0;margin:0;border:0;background:transparent;color:#acb3bf;border-radius:5px}
#logout svg{width:17px;height:17px}
.sidebar-bottom #settings:hover,.sidebar-bottom #logout:hover{color:#c6f178;background:#ffffff08}
@media(max-width:520px){.login-card{padding:28px 24px}}

/* Gebruikers en projectinitialen in de bestaande FRAME-huisstijl. */
.owner-badge{display:inline-grid;place-items:center;flex:none;min-width:21px;height:18px;padding:0 4px;border:1px solid #b4bfce38;border-radius:4px;background:#ffffff0a;color:#c2cad6;font-size:9px;font-weight:700;letter-spacing:.3px}
.project-footer{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:5px}
.project-footer .project-label{margin-right:auto}
.sidebar-bottom>div{min-width:0}
#user-display-name{display:block;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-list{display:grid;gap:10px}
.user-row{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}
.user-row>div{min-width:0;flex:1;overflow-wrap:anywhere}
.user-row small{display:block;margin-top:4px;color:#929bab;font-size:11px}
.user-row>button{flex:none}
.audit-list{display:grid;gap:12px}
.audit-entry{padding:13px;border:1px solid #343d4a;border-radius:7px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.audit-meta{font-size:11px;color:#939ead;margin-bottom:5px}
.audit-entry details{margin-top:8px;color:#b5bdca}
.audit-entry summary{cursor:pointer;color:#c6f178}
.log-change{margin-top:8px;padding-top:8px;border-top:1px solid #343b46;white-space:pre-wrap}
/* Wijzigingsmelding voor de assignee: popup over een geblurde planning. */
.notification-overlay{position:fixed;inset:0;z-index:15;display:flex;align-items:center;justify-content:center;padding:24px;background:#070910a8;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);animation:fade-in .2s}
.notification-modal{position:relative;width:min(440px,100%);max-height:85dvh;display:flex;flex-direction:column;padding:30px;border:1px solid #383e4a;border-radius:17px;background:#20242d;box-shadow:0 30px 100px #0008;animation:modal-in .25s cubic-bezier(.2,.8,.2,1)}
.notification-modal h2{font-size:23px;margin:4px 0 18px;padding-right:24px}
.notification-modal .modal-actions{margin-top:18px}
.notification-list{list-style:none;margin:0;padding:0;overflow:auto;min-height:0}
.notification-entry{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-top:1px solid #2f3540;font-size:13px;line-height:1.6;color:#c9d0db;overflow-wrap:anywhere}
.notification-entry:first-child{border-top:0;padding-top:0}
.notification-entry>.owner-badge{width:28px;height:28px;min-width:28px;padding:0;border-radius:50%;font-size:11px;border-color:#c6f17855;color:#c6f178;background:#c6f1780d}
.notification-entry p{margin:0}
.notification-entry strong{color:#eceef4}
.notification-project{color:#c6f178;font-weight:600}
.notification-details{margin:4px 0 0;padding-left:16px;color:#aab3c1;font-size:12px}
.notification-entry small{display:block;margin-top:3px;color:#7f8897;font-size:11px}
@media(max-width:520px){.notification-modal{padding:24px 20px}}

/* Meerdere kanalen naast elkaar onderaan de kaart. */
.project-labels{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;min-width:0;margin-right:auto}
.project-labels .project-label{margin-top:0;margin-right:0}
.platform-icon-kato{background:currentColor;-webkit-mask:url(./icons/kato.png) center/contain no-repeat;mask:url(./icons/kato.png) center/contain no-repeat}
#platform-selected{flex-wrap:wrap;gap:6px 12px;min-width:0}
.selected-channel{display:inline-flex;align-items:center;gap:6px}
.channel-placeholder{color:#85909f}
.detail-tags{display:flex;flex-wrap:wrap;gap:6px}
.modal:has(.modal-delete) .detail-tags{max-width:calc(100% - 55px)}
.project-card.is-readonly{cursor:pointer}
/* Projectformulier en projectdetails krijgen twee keer de normale modalbreedte. */
.modal:has(#project-form),.modal:has(.detail-description){width:980px;max-width:100%}
.modal h2 + #project-form{margin-top:22px}

/* De huidige dag licht op: zachte gloed en een rand in de accentkleur. */
.day.is-today{background:linear-gradient(180deg,#c6f17817,#c6f17808 60%,#c6f17804);box-shadow:inset 0 0 0 1px #c6f17866}
.day.is-today:hover{background:linear-gradient(180deg,#c6f17822,#c6f1780d 60%,#c6f17808)}
.day.is-today .day-number{box-shadow:0 0 0 3px #c6f17826,0 0 14px #c6f17855}
/* Kaarten zijn dekkend, zodat ze boven de gloed van vandaag liggen in plaats van erdoorheen te kleuren. */
/* Lichtere kaartbasis en duidelijkere rand voor meer contrast met de kalender. */
.day .project-card,.projects-section .project-card{background:linear-gradient(var(--tint),var(--tint)),#272c36;border-color:color-mix(in srgb,var(--accent) 30%,#3d4452);box-shadow:0 2px 6px #00000038;z-index:1}
.day .project-card.is-done,.projects-section .project-card.is-done{background:linear-gradient(color-mix(in srgb,var(--tint) 50%,transparent),color-mix(in srgb,var(--tint) 50%,transparent)),#22262e;border-color:#353b47}
/* Kaarten in de kalender tonen geen projectomschrijving; die staat in het detailvenster. */
.day .project-card .project-note{display:none}

/* Done-projecten worden niet gedimd; alleen Live wordt gedempt. */
.day .project-card.is-done:not(.is-live),.projects-section .project-card.is-done:not(.is-live){background:linear-gradient(var(--tint),var(--tint)),#272c36;border-color:color-mix(in srgb,var(--accent) 30%,#3d4452);box-shadow:0 2px 6px #00000038}
.project-card.is-done:not(.is-live) .project-title,.project-card.is-done:not(.is-live) .project-note,.project-card.is-done:not(.is-live) .project-label{opacity:1}

/* Live-projecten zijn klaar en gepubliceerd: extra gedimd, de LIVE-badge blijft leesbaar. */
.day .project-card.is-live,.projects-section .project-card.is-live{background:#1f2229;border-color:#2e333d;box-shadow:none}
.project-card.is-live .project-title,.project-card.is-live .project-note,.project-card.is-live .project-label{opacity:.32}
/* De initialen blijven dekkend (geen doorschijnende rand over de kaarthoek), alleen met gedempte kleuren. */
.project-card.is-live > .owner-badge{background:#23272f;border-color:#3a404b;color:#6f7785;box-shadow:none}
.project-card.is-live .project-status{opacity:.75}
@media(hover:hover) and (pointer:fine){
  .project-card:not(.is-dragging):not(.is-search-muted):hover{background:color-mix(in srgb,var(--accent) 10%,#2c313c)}
  .project-card.is-live:not(.is-search-muted):hover .project-title,.project-card.is-live:not(.is-search-muted):hover .project-note,.project-card.is-live:not(.is-search-muted):hover .project-label,.project-card.is-live:not(.is-search-muted):hover .project-status{opacity:1}
  .project-card.is-live:not(.is-search-muted):hover > .owner-badge{background:#303744;border-color:#626c7b;color:#e2e7ef}
}
.project-hover-preview{background:color-mix(in srgb,var(--accent) 10%,#2c313c)}

/* Geen gekleurde streep links; de kaart heeft rondom dezelfde dunne rand. */
.project-card{border-left:1px solid var(--card-border)}
.project-card.is-done{border-left-color:color-mix(in srgb,var(--card-border) 50%,transparent)}

/* Merkkleuren alleen op de iconen; alle kanaalteksten zijn grijs/wit. */
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.platform-icon.icon-youtube,.platform-icon.icon-short{color:#ff2d3d}
.platform-icon-kato{color:#e6e9ef}
.platform-icon-emoji{font-size:13px;line-height:1}
.project-context-menu .menu-danger{margin-top:4px;border-top:1px solid #353c48;border-radius:0 0 5px 5px;color:#ff8a8a}
.project-context-menu .menu-danger:hover,.project-context-menu .menu-danger:focus-visible{background:#ff5a5a14;color:#ff9d9d}
.project-label .platform-icon-emoji{font-size:10px}
.project-label,.project-labels .project-label{color:#b9c1cd}
.detail-tag{color:#dfe4ec;background:#2a303b}
.selected-channel{color:#dfe4ec}
.platform-option,.platform-option:has(input:checked){color:#dfe4ec}
.platform-option .option-check{color:#c6f178}
.platform-option:focus-within{outline-color:#c6f17890}
.readonly-note{margin:20px 0 0}
@media(max-width:520px){.owner-badge{height:15px;min-width:18px;font-size:8px;padding:0 3px}}

/* Ronde eigenaarsticker valt los over de linkerbovenhoek van de kaart. */
.project-card{overflow:visible;padding-top:15px}
.project-card > .owner-badge{position:absolute;top:-8px;left:-6px;z-index:1;display:grid;place-items:center;width:21px;height:21px;min-width:21px;padding:0;border:1px solid #626c7b;border-radius:50%;background:#303744;color:#e2e7ef;font-size:9px;line-height:1;letter-spacing:0;box-shadow:0 2px 5px #0005}
@media(max-width:520px){.project-card{padding-top:12px}.project-card > .owner-badge{top:-6px;left:-3px;width:17px;height:17px;min-width:17px;font-size:8px}}

.notification-change{display:block;margin-top:5px;color:#d3dfb9;overflow-wrap:anywhere}

.notification-project-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px;font-weight:650;line-height:1.5;color:#eceef4;overflow-wrap:anywhere}

.client-view-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}
.switch-button{display:flex;align-items:center;width:40px;height:24px;padding:3px;border:1px solid #485260;border-radius:20px;background:#303744;flex:none}
.switch-button>span{display:block;width:16px;height:16px;border-radius:50%;background:#a8b2c1;transition:transform .2s,background .2s}
.switch-button[aria-checked="true"]{background:#c6f178;border-color:#c6f178}
.switch-button[aria-checked="true"]>span{background:#263219;transform:translateX(16px)}

.project-context-menu{position:fixed;z-index:20;min-width:175px;padding:5px;border:1px solid #404957;border-radius:9px;background:#252b35;box-shadow:0 12px 32px #0007}
.project-context-menu button{display:block;width:100%;padding:10px 12px;border:0;border-radius:5px;background:transparent;color:#d0d6e1;text-align:left;font-size:13px;line-height:18px}
.project-context-menu button:hover,.project-context-menu button:focus-visible{outline:none;background:#c6f17814;color:#c6f178}

/* Weeknummers verticaal gecentreerd in hun rij. */
.week-number{align-items:center;padding-top:0}
