.task-connect-calendar-content-view { min-width: 0; max-width: 100%; overflow: hidden; }
.tcrp { --person-width: 220px; display: flex; width: 100%; max-width: 100%; height: var(--tcrp-available-height, calc(100dvh - 180px)); min-width: 0; min-height: 180px; flex-direction: column; border: 1px solid #dce1e7; border-radius: 8px; background: #fff; overflow: hidden; box-sizing: border-box; }
.tcrp-chrome { position: relative; z-index: 50; flex: 0 0 auto; min-width: 0; background: #fff; }
.tcrp-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px; border-bottom: 1px solid #e5e7eb; background: #fff; position: relative; z-index: 30; }
.tcrp-toolbar .hidden { display: none !important; }
.tcrp-toolbar > .btn-group,.tcrp-toolbar-group { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.tcrp-toolbar .btn { white-space: nowrap; }
.tcrp-toolbar > .btn-group { display: inline-flex; flex-wrap: nowrap; }
.tcrp-toolbar-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tcrp-toolbar-group > .btn-group { flex: 0 0 auto; }
.tcrp-navigation-tools { margin-left: auto; }
.tcrp-navigation { flex-wrap: nowrap; }
.tcrp-native-actions { display: flex; min-width: 0; flex: 0 0 auto; align-items: center; }
.tcrp-native-actions:empty { display: none; }
.tcrp-native-actions .js-sfp-button-bar { display: flex; gap: 8px; align-items: center; margin: 0; }
.tcrp-native-actions .js-sfp-button-bar--start { justify-content: flex-start; }
.tcrp-range { width: 92px; }
.tcrp-check { display: flex; gap: 5px; align-items: center; margin: 0; font-size: 12px; white-space: nowrap; }
.tcrp-account-filter { position: relative; }
.tcrp-account-menu { display: none; position: absolute; top: calc(100% + 5px); right: 0; z-index: 60; width: 280px; max-width:calc(100vw - 24px); padding: 8px; border: 1px solid #dce1e7; border-radius: 7px; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.18); }
.tcrp-account-menu.open { display: grid; gap: 3px; }
.tcrp-account-menu label,.tcrp-account-menu button { padding: 5px 7px; margin: 0; border: 0; background: transparent; text-align: left; font-size: 12px; }
.tcrp-account-actions { display:flex; justify-content:space-between; border-bottom:1px solid #e5e7eb; padding-bottom:5px; }
.tcrp-account-actions button { color:var(--primary,#2196f3); cursor:pointer; }
.tcrp-account-list { max-height:280px; overflow:auto; overscroll-behavior:contain; }
.tcrp-account-list label { display:flex; align-items:center; gap:8px; cursor:pointer; }
.tcrp-account-list label:hover { background:#f8fafc; }
.tcrp-account-avatar { position:relative; display:inline-flex; width:28px; height:28px; flex:0 0 28px; align-items:center; justify-content:center; border-radius:50%; background:#eef2f6; color:#64748b; overflow:hidden; }
.tcrp-account-avatar svg { width:20px; height:20px; fill:currentColor; }
.tcrp-account-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#eef2f6; }
.tcrp-person-header .tcrp-person-button { display:flex; align-items:center; gap:7px; }
.tcrp-person-name { min-width:0; }
.tcrp-person-name small { display:block; }
.tcrp-status { min-height: 0; padding: 0 10px; color: #64748b; }
.tcrp-status:not(:empty) { padding-top: 8px; padding-bottom: 8px; }
.tcrp-status.error { color: #b91c1c; background: #fef2f2; }
.tcrp-legend { display: flex; gap: 14px; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid #e5e7eb; font-size: 11px; color: #64748b; }.tcrp-legend span::before { content:""; display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:4px; }.tcrp-legend .capacity::before{background:#3b82f6}.tcrp-legend .reservation-filled::before{background:#7c3aed}.tcrp-legend .reservation-free::before{border:1px solid #a78bfa;background:repeating-linear-gradient(135deg,#ede9fe,#ede9fe 3px,#c4b5fd 3px,#c4b5fd 5px)}.tcrp-legend .safe::before{background:#16a34a}.tcrp-legend .risk::before{background:#f59e0b}.tcrp-legend .late::before{background:#dc2626}.tcrp-legend .fixed::before{background:#fb923c}.tcrp-legend .weekend::before{border:1px solid #cbd5e1;background:#f1f3f5}.tcrp-legend .holiday::before{border:1px solid #bae6fd;background:#e0f2fe}.tcrp-legend .no-calendar::before{content:"—";border:1px solid #cbd5e1;background:#fff;color:#94a3b8;line-height:8px;text-align:center}.tcrp-legend .slot::before{border:1px dashed #0ea5e9}
.tcrp-viewport { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.tcrp-grid { min-width: calc(var(--person-width) + 616px); }
.tcrp-overview { min-width: max-content; }
.tcrp-overview-head,.tcrp-overview-row { display: grid; grid-template-columns: var(--person-width) var(--tcrp-day-columns, repeat(var(--overview-days, 14), 116px)); }
.tcrp .tcrp-calendar-row { grid-template-columns: var(--person-width) var(--tcrp-day-columns, repeat(var(--calendar-days, 14), 132px)); }
.tcrp-overview-day,.tcrp-calendar-day-head { min-width: 0; overflow: hidden; }
.tcrp .tcrp-calendar-task { display: block; }
.tcrp-task-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.tcrp-task-slack { flex: 0 0 auto; margin-left: auto; font-size: 9px; font-weight: 500; }
.tcrp-overview-head { position: sticky; top: 0; z-index: 30; min-height: 60px; background: #fff; border-bottom: 1px solid #dce1e7; }
.tcrp-overview-day { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #e5e7eb; color: #475569; }
.tcrp-overview-day small { color: #94a3b8; }
.tcrp-overview-day.nonworking { background: #f1f3f5; }
.tcrp-overview-day.holiday { background: #e0f2fe; color: #075985; }
.tcrp-holiday-title { display: block; max-width: 100%; overflow: hidden; color: #0369a1 !important; font-size: 9px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.tcrp-overview-row { min-height: 104px; border-bottom: 1px solid #e5e7eb; }
.tcrp-overview-person { position: sticky; left: 0; z-index: 20; padding: 8px 9px 8px 12px; border: 0; border-right: 1px solid #dce1e7; background: #fff; text-align: left; }
.tcrp-overview-head > .tcrp-overview-person { z-index: 40; }
.tcrp-overview-person strong,.tcrp-overview-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcrp-overview-person small { color: #64748b; font-size: 10px; }
.tcrp-overview-row > .tcrp-overview-person { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem; align-items: center; }
.tcrp-person-button { min-width: 0; padding: .2rem; border: 0; width: 100%; background: transparent; text-align: left; cursor: pointer; }
.tcrp-person-button:hover { background: #f8fafc; }
.tcrp-person-order { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid #d0d5dd; border-radius: .3rem; background: #fff; color: #475467; }
.tcrp-person-order:hover { border-color: #84adff; background: #eff4ff; color: #175cd3; }
.tcrp-capacity-cell { position: relative; min-width: 0; padding: 9px 8px; border: 0; border-right: 1px solid #e5e7eb; background: #fff; text-align: left; color: #334155; }
.tcrp-capacity-cell:hover { background: #f0f7ff; box-shadow: inset 0 0 0 2px #93c5fd; }
.tcrp-capacity-cell.nonworking { background-color: #f1f3f5; }
.tcrp-capacity-cell.holiday { background-color: #e0f2fe; }
.tcrp-capacity-cell.nonworking-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.tcrp-capacity-cell.nonworking-empty .tcrp-cell-special { max-width: 100%; margin: 0; text-align: center; white-space: normal; }
.tcrp-capacity-cell::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #cbd5e1; }
.tcrp-capacity-cell.nonworking-empty::after { display: none; }
.tcrp-capacity-cell.safe::after { background: #16a34a; }.tcrp-capacity-cell.atrisk::after { background: #f59e0b; }.tcrp-capacity-cell.impossible::after { background: #dc2626; }
.tcrp-cell-top,.tcrp-cell-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 10px; }
.tcrp-cell-top strong { font-size: 11px; white-space: nowrap; }.tcrp-cell-top span,.tcrp-cell-bottom { color: #64748b; }
.tcrp-capacity-bar { display:flex; height: 7px; margin: 8px 0; overflow: hidden; border-radius: 4px; background: #e2e8f0; }.tcrp-capacity-bar span { display: block; height: 100%; }.tcrp-capacity-bar .elapsed{background:#94a3b8}.tcrp-capacity-bar .planned{background:#3b82f6}.tcrp-capacity-bar .reservation-filled{background:#7c3aed}.tcrp-capacity-bar .reservation-free{background:repeating-linear-gradient(135deg,#ede9fe,#ede9fe 3px,#c4b5fd 3px,#c4b5fd 5px);box-shadow:inset 0 0 0 1px rgba(124,58,237,.35)}.tcrp-capacity-cell.full .tcrp-capacity-bar .planned { background: #f59e0b; }.tcrp-capacity-cell.overload .tcrp-capacity-bar .planned { background: #dc2626; }
.tcrp-cell-badge { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 2px; border-radius: 50%; font-size: 9px; font-weight: 700; }.tcrp-cell-badge.fixed { color: #9a3412; background: #ffedd5; }.tcrp-cell-badge.absence { color: #0369a1; background: #e0f2fe; }
.tcrp-cell-special { margin-top: 5px; overflow: hidden; color: #0369a1; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.tcrp-empty { padding: 20px; color: #64748b; }
.tcrp-row { display: grid; grid-template-columns: var(--person-width) var(--timeline-width); min-width: calc(var(--person-width) + var(--timeline-width)); border-bottom: 1px solid #e5e7eb; }
.tcrp-head { height: 52px; position: sticky; top: 0; z-index: 30; background: #fff; }
.tcrp-person { position: sticky; left: 0; z-index: 20; padding: 9px 12px; background: #fff; border-right: 1px solid #dce1e7; overflow: hidden; }
.tcrp-head > .tcrp-person { z-index: 40; }
.tcrp-person strong,.tcrp-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcrp-person small { color: #94a3b8; font-size: 10px; }
.tcrp-timeline { position: relative; overflow: hidden; }
.tcrp-day-head,.tcrp-day-bg { position: absolute; top: 0; bottom: 0; border-right: 1px solid #e5e7eb; box-sizing: border-box; }
.tcrp-day-head { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #475569; }
.tcrp-day-head small { color: #94a3b8; }
.tcrp-day-head.nonworking,.tcrp-day-bg.nonworking { background: #f8fafc; }
.tcrp-capacity { position: absolute; top: 0; z-index: 2; background: repeating-linear-gradient(135deg, rgba(100,116,139,.18), rgba(100,116,139,.18) 6px, rgba(100,116,139,.08) 6px, rgba(100,116,139,.08) 12px); border-left: 1px solid rgba(100,116,139,.35); border-right: 1px solid rgba(100,116,139,.35); pointer-events: none; }
.tcrp-capacity.fixedtask { background: repeating-linear-gradient(135deg, rgba(249,115,22,.24), rgba(249,115,22,.24) 6px, rgba(249,115,22,.10) 6px, rgba(249,115,22,.10) 12px); }
.tcrp-capacity.holiday { background: rgba(14,165,233,.10); }
.tcrp-slot { position: absolute; top: 5px; z-index: 3; border: 1px dashed #0ea5e9; background: rgba(14,165,233,.035); pointer-events: none; }
.tcrp-task { position: absolute; z-index: 10; height: 28px; min-width: 10px; display: flex; align-items: center; color: #fff; border-radius: 5px; box-shadow: 0 1px 2px rgba(15,23,42,.22); overflow: hidden; cursor: default; user-select: none; }
.tcrp-task.safe { background: #16a34a; }.tcrp-task.atrisk { background: #f59e0b; }.tcrp-task.impossible { background: #dc2626; }.tcrp-task.unknown { background: #64748b; }
.tcrp-task.atomic { box-shadow: inset 0 0 0 2px rgba(255,255,255,.75), 0 1px 2px rgba(15,23,42,.25); }
.tcrp-task.dragging { opacity: .18; }
.tcrp-handle { flex: 0 0 22px; height: 100%; display: grid; place-items: center; cursor: grab; background: rgba(0,0,0,.16); font-weight: 700; }
.tcrp-task-label { padding: 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.tcrp-drop { display: none; position: absolute; top: 5px; bottom: 5px; z-index: 15; width: 4px; border-radius: 2px; background: #2563eb; pointer-events: none; }.tcrp-drop.active { display: block; }
.tcrp-ghost { position: fixed !important; top: -1000px !important; left: -1000px !important; opacity: .9; }
.tcrp-modal-backdrop { padding: 24px; }.tcrp-modal { width: min(920px, 96vw); max-height: 90vh; overflow: hidden; background:#fff; border-radius:10px; box-shadow:0 24px 70px rgba(0,0,0,.3); }.tcrp-modal-head,.tcrp-modal-foot { display:flex; align-items:center; gap:8px; padding:14px 18px; border-bottom:1px solid #e5e7eb; }.tcrp-modal-head h4{margin:0;flex:1}.tcrp-modal-head button{font-size:1rem}.tcrp-modal-body{padding:18px}.tcrp-modal-foot{justify-content:flex-end;border-top:1px solid #e5e7eb;border-bottom:0}.tcrp-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0}.tcrp-metrics span{background:#f8fafc;border:1px solid #e5e7eb;padding:8px;border-radius:6px;font-size:11px}.tcrp-metrics strong{display:block;font-size:13px}.tcrp-credit-list{display:flex;gap:6px;flex-wrap:wrap}
.tcrp-modal-loading { padding: 25px; color: #64748b; text-align: center; }
.tcrp-day-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }.tcrp-day-summary span { padding: 9px; border: 1px solid #e5e7eb; border-radius: 6px; background: #f8fafc; font-size: 11px; }.tcrp-day-summary strong { display: block; font-size: 14px; }
.tcrp-special-row { display: block; margin-bottom: 8px; padding: 7px 10px; border-radius: 5px; background: #e0f2fe; color: #0369a1; }
.tcrp-day-list,.tcrp-order-list { display: grid; gap: 7px; }
.tcrp-day-task { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 10px; border: 1px solid #dce1e7; border-left: 4px solid #94a3b8; border-radius: 6px; background: #fff; text-align: left; }.tcrp-day-task.safe{border-left-color:#16a34a}.tcrp-day-task.atrisk{border-left-color:#f59e0b}.tcrp-day-task.impossible{border-left-color:#dc2626}.tcrp-day-time{color:#64748b}.tcrp-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.tcrp-order-modal .tcrp-modal { width: min(1050px,96vw); }.tcrp-order-item { display:flex;align-items:center;gap:9px;min-height:56px;padding:7px;border:1px solid #dce1e7;border-radius:6px;background:#fff; }.tcrp-order-item.highlight{box-shadow:0 0 0 2px #60a5fa}.tcrp-order-item.drop-before{box-shadow:inset 0 4px 0 #2563eb}.tcrp-order-item.drop-after{box-shadow:inset 0 -4px 0 #2563eb}.tcrp-order-item.locked .tcrp-handle{opacity:.35;cursor:not-allowed}.tcrp-order-main{min-width:0;flex:1}.tcrp-order-main strong,.tcrp-order-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tcrp-order-main small{color:#64748b}.tcrp-order-actions{display:flex;align-items:center;gap:4px}.tcrp-order-actions select{width:170px}.tcrp-lock{padding:4px}.tcrp-awaiting-heading{margin:14px 0 2px;padding-top:12px;border-top:1px solid #fecaca;color:#b91c1c}
.tcrp-calendar-view{min-width:max-content}.tcrp-calendar-row{display:grid;grid-template-columns:var(--person-width) repeat(var(--calendar-days,14),132px);border-bottom:1px solid #e5e7eb}.tcrp-calendar-head{position:sticky;top:0;z-index:30;min-height:60px;background:#fff}.tcrp-calendar-person{position:sticky;left:0;z-index:20;padding:9px 12px;border:0;border-right:1px solid #dce1e7;background:#fff;text-align:left}.tcrp-calendar-head>.tcrp-calendar-person{z-index:40}.tcrp-calendar-person strong,.tcrp-calendar-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tcrp-calendar-person small{color:#64748b;font-size:10px}.tcrp-calendar-day-head{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #e5e7eb;color:#475569}.tcrp-calendar-day-head small{color:#94a3b8}.tcrp-calendar-day-head.nonworking,.tcrp-calendar-cell.nonworking{background:#f1f3f5}.tcrp-calendar-day-head.holiday,.tcrp-calendar-cell.holiday{background:#e0f2fe;color:#075985}.tcrp-calendar-cell{display:flex;min-height:68px;flex-direction:column;gap:3px;padding:5px;border-right:1px solid #e5e7eb;cursor:pointer}.tcrp-calendar-cell:hover{background:#f0f7ff}.tcrp-calendar-cell.holiday{background:#e0f2fe}.tcrp-calendar-task{display:block;width:100%;overflow:hidden;padding:3px 5px;border:0;border-left:3px solid #64748b;border-radius:3px;background:#f1f5f9;color:#334155;font-size:10px;line-height:1.2;text-align:left;text-overflow:ellipsis;white-space:nowrap}.tcrp-calendar-task span{font-weight:700}.tcrp-calendar-task.safe{border-left-color:#16a34a;background:#f0fdf4}.tcrp-calendar-task.atrisk{border-left-color:#f59e0b;background:#fffbeb}.tcrp-calendar-task.impossible{border-left-color:#dc2626;background:#fef2f2}.tcrp-calendar-task.fixed{box-shadow:inset 0 0 0 1px #fdba74}.tcrp-calendar-special{overflow:hidden;color:#0369a1;text-overflow:ellipsis;white-space:nowrap}.tcrp-calendar-empty{margin:auto;color:#cbd5e1}.tcrp-form-check{display:block;margin:7px 0}.tcrp-finder-results,.tcrp-slot-results{display:grid;gap:5px;margin-top:12px}.tcrp-finder-row,.tcrp-slot-row{display:grid;grid-template-columns:1fr 180px 180px;gap:8px;padding:8px;border:1px solid #e5e7eb;border-left:4px solid #64748b;border-radius:5px;background:#fff;text-align:left}.tcrp-finder-row.atrisk{border-left-color:#f59e0b}.tcrp-finder-row.impossible{border-left-color:#dc2626}.tcrp-slot-row{border-left-color:#0ea5e9}
.tcrp-calendar-load{width:100%;height:4px;flex:0 0 4px;margin-top:auto;overflow:hidden;border-radius:999px;background:#e2e8f0}.tcrp-calendar-load>span{display:block;height:100%;background:#94a3b8}
.tcrp-calendar-reservation{display:grid;gap:3px;padding:3px;border:1px solid var(--tcrp-reservation-border,#a78bfa);border-radius:5px;background:var(--tcrp-reservation-soft,rgba(124,58,237,.08));box-shadow:inset 3px 0 0 var(--tcrp-reservation-color,#7c3aed)}.tcrp-calendar-reservation-head{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-width:0;padding:1px 3px;border:0;background:transparent;color:var(--tcrp-reservation-color,#5b21b6);font-size:9px;text-align:left}.tcrp-calendar-reservation-head>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tcrp-calendar-reservation-head small{flex:0 0 auto;color:var(--tcrp-reservation-color,#7c3aed);font-weight:700}.tcrp-calendar-reservation-head:hover{text-decoration:underline;filter:brightness(.78)}.tcrp-calendar-task.reservation-member{margin-left:4px;width:calc(100% - 4px);box-shadow:inset 0 0 0 1px var(--tcrp-reservation-border,rgba(124,58,237,.16))}.tcrp-calendar-reservation-free{overflow:hidden;padding:2px 5px;border:1px solid var(--tcrp-reservation-border,#c4b5fd);border-radius:3px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.72) 4px,var(--tcrp-reservation-stripe,#ede9fe) 4px,var(--tcrp-reservation-stripe,#ede9fe) 7px);color:var(--tcrp-reservation-color,#6d28d9);font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.tcrp{--person-width:160px}.tcrp-toolbar{flex-wrap:wrap}.tcrp-metrics,.tcrp-day-summary{grid-template-columns:repeat(2,1fr)}.tcrp-day-task{grid-template-columns:1fr}.tcrp-order-actions select{width:120px}}
.tcrp-overview-row.is-paused .tcrp-overview-person,.tcrp-calendar-row.is-paused .tcrp-calendar-person { background:#fff7e8; border-left:3px solid #f79009; }
.tcrp-overview-row.is-paused .tcrp-overview-person small,.tcrp-calendar-row.is-paused .tcrp-calendar-person small { color:#b54708; font-weight:600; }
.tcrp-overview-row.is-paused .tcrp-capacity-cell,.tcrp-calendar-row.is-paused .tcrp-calendar-cell { opacity:.68; }
.tcrp-queue-slack { display: block; color: #64748b; font-size: 10px; line-height: 1.25; white-space: normal; margin-top: 3px; }

/* Shared compact/detail presentation (NAV-018). */
.tcrp-overview-row { min-height:68px; }
.tcrp-overview .tcrp-capacity-cell { padding:6px 5px; }
.tcrp-overview .tcrp-cell-top { flex-wrap:wrap; gap:2px; }
.tcrp-overview .tcrp-cell-top strong { font-size:10px; }
.tcrp-overview .tcrp-cell-top>span:empty { display:none; }
.tcrp-overview .tcrp-cell-bottom { min-width:0; }
.tcrp-overview .tcrp-queue-slack { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tcrp-capacity-cell { min-height:68px; padding:8px; border-left:0; }
.tcrp-capacity-cell::after { display:none; }
.tcrp-capacity-cell.day-critical,.tcrp-calendar-cell.day-critical { background:#fff0f0; color:#334155; }
.tcrp-capacity-cell.day-risk,.tcrp-calendar-cell.day-risk { background:#fff7e6; color:#334155; }
.tcrp-person-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:6px; }
.tcrp-person-identity { display:flex; align-items:center; gap:5px; min-width:0; }
.tcrp-planning-warning { display:inline-flex; align-items:center; justify-content:center; flex:0 0 24px; width:24px; height:24px; padding:0; border:1px solid #fcd34d; border-radius:50%; background:#fffbeb; color:#92400e; font-size:15px; font-weight:700; cursor:pointer; }
.tcrp-planning-warning:hover,.tcrp-planning-warning:focus-visible { background:#fef3c7; outline:2px solid #b45309; outline-offset:2px; }
.tcrp-planning-issues { margin:0; padding-left:18px; }
.tcrp-planning-issues li+li { margin-top:10px; }
.tcrp-planning-issues li>small,.tcrp-planning-issues li>span { display:block; }
.tcrp-planning-issues li>small { color:#64748b; }
.tcrp-planning-issues-modal .tcrp-planning-issues { max-height:60vh; overflow:auto; padding-right:8px; }
.tcrp-task-popover .tcrp-planning-issues { max-height:280px; overflow:hidden; }
.tcrp-person-header .tcrp-person-button { width:100%; min-width:0; border:0; padding:0; background:transparent; text-align:left; }
.tcrp-person-header .tcrp-person-button strong { white-space:normal; }
.tcrp-person-header .tcrp-person-button:hover strong { color:var(--primary,#2196f3); text-decoration:underline; }
.tcrp .tcrp-unified-load { position:relative; display:block; width:100%; height:6px; min-height:6px; flex:0 0 6px; margin-top:auto; overflow:hidden; border-radius:3px; background:#e8edf2; }
.tcrp .tcrp-unified-load>span { display:block; height:100%; background:var(--primary,#2196f3); }
.tcrp-load-wrap { position:relative; margin:5px 0; }
.tcrp-free-reservation-marker { position:absolute; top:0; height:6px; pointer-events:none; background:repeating-linear-gradient(135deg,transparent,transparent 2px,rgba(255,255,255,.8) 2px,rgba(255,255,255,.8) 4px); }
.tcrp-legend [hidden] { display:none; }
.tcrp-legend .capacity::before { background:var(--primary,#2196f3); }
.tcrp-legend .capacity-free::before { background:#e8edf2; }
.tcrp-legend .reservation-hatch::before { background:repeating-linear-gradient(135deg,transparent,transparent 2px,rgba(255,255,255,.8) 2px,rgba(255,255,255,.8) 4px) var(--primary,#2196f3); }
.tcrp-legend .reservation-outline::before { border:1px solid #a78bfa; background:#f5f0ff; box-shadow:inset 2px 0 #7c3aed; }
.tcrp-legend .risk-day::before { border:1px solid #eac889; background:#fff7e6; }
.tcrp-legend .late-day::before { border:1px solid #efb7b7; background:#fff0f0; }
.tcrp-legend .risk-task::before { border-left:3px solid #f59e0b; background:#fffbeb; }
.tcrp-legend .late-task::before { border-left:3px solid #dc2626; background:#fef2f2; }
.tcrp-legend .fixed::before,.tcrp-legend .absence::before { width:14px; height:14px; line-height:14px; border-radius:50%; text-align:center; font-weight:700; }
.tcrp-legend .fixed::before { content:"F"; color:#9a3412; background:#ffedd5; }
.tcrp-legend .absence::before { content:"N"; color:#0369a1; background:#e0f2fe; }
.tcrp-legend .fixed-frame::before { border:1px solid #fdba74; background:#f6f8fb; }
.tcrp-legend .absence-text::before { content:"N"; color:#0369a1; }
.tcrp-calendar-task,.tcrp-calendar-reservation-head { display:block; white-space:normal; padding:5px 6px; font-size:11px; line-height:1.3; }
.tcrp-calendar-task { background:#f6f8fb; }
.tcrp-task-name,.tcrp-task-project { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tcrp-task-project { font-size:11px; font-weight:700; }
.tcrp-calendar-task .tcrp-task-name,.tcrp-calendar-reservation-head .tcrp-task-name { color:#64748b; font-size:10px; font-weight:400; }
.tcrp-task-values { display:flex; justify-content:space-between; gap:5px; font-size:10px; margin-top:2px; }
.tcrp-calendar-task .tcrp-task-values span { font-weight:400; }
.tcrp-calendar-reservation-head>span { display:block; }
.tcrp-task-popover { max-width:380px; width:min(380px,calc(100vw - 24px)); z-index:1045; box-shadow:0 8px 24px rgba(15,23,42,.16); }
.tcrp-popover-fields { display:grid; grid-template-columns:minmax(100px,1fr) minmax(120px,1.2fr); gap:5px 12px; margin:0; font-size:12px; }
.tcrp-popover-label { font-weight:400; color:#64748b; }
.tcrp-popover-fields strong { margin:0; font-weight:500; overflow-wrap:anywhere; }
.tcrp-slack-spinner { display:inline-block; width:11px; height:11px; margin-left:3px; border:2px solid #dbe3eb; border-top-color:var(--primary,#2196f3); border-radius:50%; vertical-align:middle; animation:tcrp-slack-spin .8s linear infinite; }
@keyframes tcrp-slack-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .tcrp-slack-spinner { animation-duration:2s; } }
