:root { --prod-red:#e81717; --prod-ink:#111113; --prod-copy:#5d626a; --prod-muted:#8a8f96; --prod-line:#e5e5e8; --prod-soft:#f5f5f7; --prod-white:#fff; }
.guestMode #navProduction,.lindaMode #navProduction { display:none!important; }
.productionApp { min-height:calc(100dvh - 68px); color:var(--prod-ink); background:#f5f5f7; }
.productionShell { width:min(100%,1680px); margin:0 auto; padding:42px 34px 72px; font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif; }
.productionHero { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; padding:0 4px 28px; }
.productionKicker,.productionDrawerSection>header span,.productionDrawerHead>div>span,.productionSectionHead span { display:block; margin-bottom:8px; color:var(--prod-red); font-size:10px; font-weight:900; letter-spacing:.18em; }
.productionHero h1 { margin:0; font-size:clamp(38px,4vw,64px); font-weight:900; line-height:.94; letter-spacing:-.065em; }
.productionHero p { margin:13px 0 0; color:var(--prod-copy); font-size:14px; }
.productionHeroActions { display:flex; gap:10px; }
.productionPrimary,.productionRefresh,.productionArchiveButton,.productionProjectForm button,.productionTaskEditor button,.productionAddTask button,.productionAddUpdate button { min-height:44px; padding:0 17px; border:1px solid var(--prod-line); border-radius:14px; color:var(--prod-ink); background:#fff; font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.productionPrimary { border-color:var(--prod-red)!important; color:#fff!important; background:var(--prod-red)!important; }
.productionRefresh { width:44px; padding:0; font-size:20px; }
.productionMetrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:hidden; margin-bottom:20px; border:1px solid var(--prod-line); border-radius:22px; background:#fff; }
.productionMetrics>div { display:flex; align-items:flex-end; justify-content:space-between; min-height:100px; padding:22px 24px; border-right:1px solid var(--prod-line); }
.productionMetrics>div:last-child { border-right:0; }
.productionMetrics span { color:var(--prod-muted); font-size:11px; font-weight:750; }
.productionMetrics b { font-size:28px; letter-spacing:-.05em; }
.productionMetrics .attention b { color:var(--prod-red); }
.productionToolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:18px; }
.productionBoardTabs { display:flex; gap:6px; min-width:0; overflow-x:auto; padding:2px; scrollbar-width:none; }
.productionBoardTabs::-webkit-scrollbar { display:none; }
.productionBoardTabs button { flex:0 0 auto; min-height:40px; padding:0 15px; border:1px solid var(--prod-line); border-radius:13px; color:#555a61; background:#fff; font-size:11px; font-weight:800; }
.productionBoardTabs button.active { border-color:#171719; color:#fff; background:#171719; }
.productionSearch { display:flex; align-items:center; flex:0 0 min(330px,32vw); min-height:42px; padding:0 14px; border:1px solid var(--prod-line); border-radius:14px; background:#fff; }
.productionSearch svg { width:17px; height:17px; margin-right:9px; fill:none; stroke:currentColor; stroke-width:1.8; }
.productionSearch input { min-width:0; width:100%; border:0; outline:0; color:var(--prod-ink); background:transparent; font:inherit; font-size:12px; }
.productionBoard { display:grid; grid-template-columns:repeat(5,minmax(250px,1fr)); gap:12px; align-items:start; overflow-x:auto; padding-bottom:18px; scroll-snap-type:x proximity; }
.productionLane { min-width:250px; min-height:460px; padding:10px; border:1px solid var(--prod-line); border-radius:20px; background:rgba(255,255,255,.62); scroll-snap-align:start; }
.productionLane>header { display:flex; align-items:center; justify-content:space-between; min-height:66px; padding:3px 6px 10px; }
.productionLane>header span { display:block; margin-bottom:3px; color:var(--prod-muted); font-size:9px; font-weight:750; text-transform:uppercase; letter-spacing:.1em; }
.productionLane>header h2 { margin:0; font-size:16px; letter-spacing:-.03em; }
.productionLane>header>b { display:grid; place-items:center; width:28px; height:28px; border-radius:10px; color:var(--prod-copy); background:var(--prod-soft); font-size:11px; }
.productionLaneDrop { display:grid; align-content:start; gap:9px; min-height:370px; border-radius:15px; transition:background .18s ease,box-shadow .18s ease; }
.productionLaneDrop.dragOver { background:rgba(232,23,23,.045); box-shadow:inset 0 0 0 2px rgba(232,23,23,.22); }
.productionLaneEmpty { display:grid; place-items:center; min-height:92px; border:1px dashed #d9d9de; border-radius:15px; color:#a2a5ab; font-size:10px; font-weight:700; }
.productionCard { position:relative; padding:15px; overflow:hidden; border:1px solid var(--prod-line); border-radius:17px; background:#fff; box-shadow:0 5px 18px rgba(17,17,19,.035); transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
.productionCard:hover { border-color:#cacbd0; box-shadow:0 12px 28px rgba(17,17,19,.075); transform:translateY(-2px); }
.productionCard.dragging { opacity:.42; transform:scale(.98); }
.productionCardOpen { position:absolute; inset:0; z-index:1; width:100%; border:0; background:transparent; cursor:pointer; }
.productionCardTop,.productionCardMeta,.productionCardFoot { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.productionCardTop { position:relative; z-index:2; }
.productionCardTop>span { overflow:hidden; color:var(--prod-muted); font-size:8px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; text-overflow:ellipsis; white-space:nowrap; }
.productionCardTop em { margin-left:auto; padding:4px 7px; border-radius:7px; color:#7c5613; background:#fff3d8; font-size:8px; font-style:normal; font-weight:850; }
.productionCardTop button { width:28px; height:28px; padding:0; border:0; border-radius:9px; color:var(--prod-muted); background:transparent; cursor:pointer; }
.productionCard h3 { margin:15px 0 6px; font-size:16px; line-height:1.14; letter-spacing:-.035em; }
.productionCard>p { display:-webkit-box; overflow:hidden; margin:0 0 13px; color:var(--prod-copy); font-size:10px; line-height:1.45; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.productionProgress { height:4px; margin:16px 0 8px; overflow:hidden; border-radius:99px; background:#ebebee; }
.productionProgress i { display:block; height:100%; border-radius:inherit; background:var(--prod-red); }
.productionCardMeta { align-items:flex-start; color:var(--prod-muted); font-size:8.5px; line-height:1.35; }
.productionCardMeta span:last-child { text-align:right; }
.productionCardFoot { margin-top:13px; padding-top:12px; border-top:1px solid #eeeeF0; }
.productionPeople { display:flex; align-items:center; }
.productionPeople i { display:grid; place-items:center; width:26px; height:26px; margin-right:-5px; border:2px solid #fff; border-radius:50%; color:#fff; background:#222226; font-size:8px; font-style:normal; font-weight:850; }
.productionPeople i:nth-child(2){background:#e81717}.productionPeople i:nth-child(3){background:#696970}
.productionPeople span { color:var(--prod-muted); font-size:9px; }
.productionCardFoot>b { font-size:11px; }
.productionArchive { padding:8px 0; }
.productionSectionHead { display:flex; align-items:end; justify-content:space-between; margin:8px 4px 20px; }
.productionSectionHead h2 { margin:0; font-size:27px; letter-spacing:-.05em; }
.productionSectionHead p { margin:0; color:var(--prod-muted); font-size:11px; }
.productionArchiveGrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:11px; }
.productionEmpty,.productionLoading { display:grid; place-items:center; min-height:330px; padding:40px; border:1px solid var(--prod-line); border-radius:22px; color:var(--prod-copy); background:#fff; text-align:center; }
.productionEmpty b,.productionLoading b { color:var(--prod-ink); font-size:18px; }.productionEmpty span,.productionLoading span { margin:8px 0 18px; font-size:12px; }
.productionLoading i { width:36px; height:36px; margin-bottom:17px; border:3px solid #ececef; border-top-color:var(--prod-red); border-radius:50%; animation:productionSpin .8s linear infinite; }
@keyframes productionSpin{to{transform:rotate(360deg)}}
.productionDrawer { position:fixed; inset:0; z-index:4000; display:flex; justify-content:flex-end; visibility:hidden; opacity:0; transition:opacity .24s ease,visibility 0s linear .3s; }
.productionDrawer.show { visibility:visible; opacity:1; transition-delay:0s; }
.productionDrawerScrim { position:absolute; inset:0; border:0; background:rgba(17,17,19,.38); backdrop-filter:blur(5px); }
.productionDrawerPanel { position:relative; width:min(690px,94vw); height:100dvh; overflow:auto; background:#fff; box-shadow:-28px 0 70px rgba(17,17,19,.18); transform:translateX(30px); transition:transform .32s cubic-bezier(.32,.72,0,1); }
.productionDrawer.show .productionDrawerPanel { transform:none; }
body.productionDrawerOpen { overflow:hidden; }
.productionDrawerHead { position:sticky; top:0; z-index:5; display:flex; align-items:flex-start; justify-content:space-between; gap:22px; padding:30px 34px 24px; border-bottom:1px solid var(--prod-line); background:rgba(255,255,255,.94); backdrop-filter:blur(18px); }
.productionDrawerHead h2 { margin:0; font-size:30px; line-height:1; letter-spacing:-.055em; }.productionDrawerHead p { margin:8px 0 0; color:var(--prod-muted); font-size:11px; }
.productionDrawerHead>button { flex:0 0 42px; width:42px; height:42px; border:1px solid var(--prod-line); border-radius:14px; background:#fff; font-size:24px; }
.productionProjectForm { display:grid; grid-template-columns:1fr 1fr; gap:15px; padding:28px 34px 32px; border-bottom:1px solid var(--prod-line); background:#fafafa; }
.productionProjectForm label { display:grid; gap:7px; }.productionProjectForm label>span { color:var(--prod-muted); font-size:9px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.productionProjectForm input,.productionProjectForm select,.productionProjectForm textarea,.productionTaskEditor input,.productionTaskEditor textarea,.productionAddTask input,.productionAddUpdate textarea { width:100%; min-height:45px; padding:10px 12px; border:1px solid #dcdce0; border-radius:12px; outline:0; color:var(--prod-ink); background:#fff; font:inherit; font-size:12px; }
.productionProjectForm textarea { min-height:100px; resize:vertical; line-height:1.5; }.productionProjectForm input:focus,.productionProjectForm select:focus,.productionProjectForm textarea:focus,.productionTaskEditor input:focus,.productionTaskEditor textarea:focus,.productionAddTask input:focus,.productionAddUpdate textarea:focus { border-color:var(--prod-red); box-shadow:0 0 0 3px rgba(232,23,23,.08); }
.productionWide { grid-column:1/-1; }.productionFormActions { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; margin-top:4px; }.productionArchiveButton { color:#b31212!important; }
.productionDrawerSection { padding:30px 34px; border-bottom:1px solid var(--prod-line); }.productionDrawerSection>header { display:flex; align-items:end; justify-content:space-between; margin-bottom:18px; }.productionDrawerSection>header h3 { margin:0; font-size:23px; letter-spacing:-.045em; }.productionDrawerSection>header>b { color:var(--prod-muted); font-size:11px; }
.productionTaskList { display:grid; }.productionTaskWrap { margin-left:calc(var(--task-depth) * 24px); }.productionTask { display:grid; grid-template-columns:28px minmax(0,1fr) 108px; align-items:center; gap:10px; min-height:58px; border-top:1px solid #ededf0; }.productionTaskWrap:first-child>.productionTask { border-top:0; }
.productionTaskCheck { display:grid; place-items:center; width:24px; height:24px; padding:0; border:1.5px solid #cfd0d5; border-radius:8px; color:#fff; background:#fff; font-size:12px; font-weight:900; }.productionTask.done .productionTaskCheck { border-color:var(--prod-red); background:var(--prod-red); }.productionTaskTitle { min-width:0; padding:8px 0; border:0; background:transparent; text-align:left; }.productionTaskTitle b { display:block; overflow:hidden; color:var(--prod-ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.productionTask.done .productionTaskTitle b { color:#8b8f95; text-decoration:line-through; }.productionTaskTitle span { display:block; margin-top:3px; color:var(--prod-muted); font-size:9px; }.productionTask select { min-width:0; height:34px; border:1px solid var(--prod-line); border-radius:10px; color:#555a61; background:#fff; font-size:9px; font-weight:750; }
.productionTaskEditor { display:grid; gap:9px; margin:0 0 12px 38px; padding:13px; border:1px solid var(--prod-line); border-radius:14px; background:var(--prod-soft); }.productionTaskEditor>div:not(.productionTaskEditorActions) { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.productionTaskEditor textarea { min-height:72px; resize:vertical; }.productionTaskEditorActions { display:grid; grid-template-columns:auto 1fr auto auto; gap:8px; }.productionTaskEditorActions button:first-child { color:#b31212; }
.productionAddTask { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; margin-top:14px; }.productionAddUpdate { display:grid; gap:9px; margin-bottom:24px; }.productionAddUpdate textarea { min-height:82px; resize:vertical; }.productionAddUpdate button { justify-self:end; }
.productionUpdates { display:grid; gap:14px; }.productionUpdate { display:grid; grid-template-columns:34px minmax(0,1fr); gap:11px; }.productionUpdate>i { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#fff; background:#202024; font-size:9px; font-style:normal; font-weight:850; }.productionUpdate header { display:flex; align-items:center; justify-content:space-between; gap:10px; }.productionUpdate header b { font-size:11px; }.productionUpdate header span { color:var(--prod-muted); font-size:8.5px; }.productionUpdate p { margin:6px 0 0; color:var(--prod-copy); font-size:11px; line-height:1.55; white-space:pre-wrap; }.productionNoUpdates { padding:20px; border:1px dashed #dddde1; border-radius:14px; color:var(--prod-muted); font-size:10px; text-align:center; }
@media(max-width:1100px){.productionBoard{grid-template-columns:repeat(5,280px)}.productionMetrics>div{padding:18px}.productionMetrics span{font-size:9px}}
@media(max-width:767px){
  .productionShell.productionMobile { width:100%; padding:0 0 30px; }
  .productionMobile .productionHero { align-items:flex-start; padding:24px 2px 20px; }.productionMobile .productionHero h1{font-size:38px}.productionMobile .productionHero p{max-width:260px;font-size:11px;line-height:1.45}.productionMobile .productionHeroActions{padding-top:1px}.productionMobile .productionRefresh{display:none}.productionMobile .productionPrimary{min-height:46px;padding:0 13px;font-size:10px}
  .productionMobile .productionMetrics { grid-template-columns:1fr 1fr; margin:0 0 16px; border-radius:18px; }.productionMobile .productionMetrics>div{min-height:72px;padding:15px;border-bottom:1px solid var(--prod-line)}.productionMobile .productionMetrics>div:nth-child(2){border-right:0}.productionMobile .productionMetrics>div:nth-child(n+3){border-bottom:0}.productionMobile .productionMetrics b{font-size:23px}
  .productionMobile .productionToolbar { display:grid; gap:10px; }.productionMobile .productionBoardTabs{margin:0 -14px;padding:0 14px}.productionMobile .productionBoardTabs button{min-height:38px}.productionMobile .productionSearch{width:100%;min-height:44px;flex-basis:auto}
  .productionMobile .productionBoard { display:grid; grid-template-columns:1fr; gap:14px; overflow:visible; }.productionMobile .productionLane{min-width:0;min-height:0;padding:9px;border-radius:18px}.productionMobile .productionLane>header{min-height:56px}.productionMobile .productionLaneDrop{min-height:0}.productionMobile .productionLaneEmpty{min-height:66px}.productionMobile .productionCard{padding:15px}.productionMobile .productionArchiveGrid{grid-template-columns:1fr}.productionMobile .productionSectionHead{align-items:flex-start;flex-direction:column;gap:7px}
  .productionDrawerPanel { width:100%; border-radius:24px 24px 0 0; margin-top:5dvh; height:95dvh; }.productionDrawer { align-items:flex-end; }.productionDrawerHead{padding:22px 19px 18px}.productionDrawerHead h2{font-size:25px}.productionProjectForm{grid-template-columns:1fr;padding:21px 19px 25px}.productionWide{grid-column:1}.productionDrawerSection{padding:25px 19px}.productionFormActions{grid-template-columns:1fr 1fr}.productionFormActions>span{display:none}.productionArchiveButton{grid-column:1/-1}.productionTask{grid-template-columns:28px minmax(0,1fr) 92px}.productionTaskWrap{margin-left:calc(var(--task-depth) * 13px)}.productionTaskEditor{margin-left:0}.productionTaskEditorActions{grid-template-columns:1fr 1fr}.productionTaskEditorActions>span{display:none}.productionUpdate header{align-items:flex-start;flex-direction:column;gap:2px}
}

/* Sickos visual system and clearer interaction layer */
:root{--prod-red:#ed1717;--prod-black:#111113;--prod-charcoal:#232327;--prod-paper:#fbfbfc;--prod-line:#dedee3}
.productionShell.productionMonday{background:var(--prod-paper)}
.productionBoardRail{border-right:0;color:#f7f7f8;background:#121214;box-shadow:12px 0 30px rgba(0,0,0,.06)}
.productionRailBrand{color:#fff}.productionRailBrand>b{background:var(--prod-red);box-shadow:0 7px 18px rgba(237,23,23,.3)}.productionRailLabel{color:#85858e;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:850}
.productionBoardRail>button,.productionBoardRail details button{min-height:41px;color:#d9d9dd;border-radius:9px}.productionBoardRail button:hover{color:#fff;background:#252529}.productionBoardRail button.active{color:#fff;background:var(--prod-red);box-shadow:0 8px 20px rgba(237,23,23,.19)}.productionBoardRail button.active .productionBoardIcon{color:#fff}.productionBoardIcon{color:#777780}.productionBoardRail details{border-top-color:#29292e}.productionBoardRail summary{color:#8f8f98}.productionBoardRail summary span{color:#bbbcc3;background:#29292e}
.productionAddBoard{display:flex!important;align-items:center!important;gap:9px!important;margin:0 0 20px!important;border:1px solid #34343a!important;color:#fff!important;background:#1e1e22!important}.productionAddBoard:hover{border-color:#5a5a63!important;background:#29292e!important}.productionAddBoard>span{font-size:18px}.productionAddBoard strong{font-size:11px}
.productionBoardWorkspace{background:linear-gradient(180deg,#fff 0,#fbfbfc 180px)}.productionBoardTitle h1{color:var(--prod-black);font-weight:900;letter-spacing:-.055em}.productionTextAction{display:inline-flex!important;align-items:center!important;width:auto!important;gap:6px!important;min-height:34px!important;padding:0 10px!important;border:1px solid #e1e1e5!important;border-radius:9px!important;color:#55565d!important;background:#fff!important;font-size:10px!important;font-weight:750!important}.productionTextAction:hover{border-color:#c7c7cc!important;color:var(--prod-black)!important;background:#f5f5f7!important}.productionTextAction span{font-size:13px}.productionMondayHeader p{font-size:12px;line-height:1.5}.productionHeaderPeople i{background:var(--prod-black)}.productionHeaderPeople i:nth-child(2){background:var(--prod-red)}.productionHeaderPeople i:nth-child(3){background:#55565e}.productionHeaderPeople i:nth-child(4){background:#8f1111}
.productionViewTabs button.active:after{background:var(--prod-red)}.productionMondayToolbar{gap:8px}.productionNewItem{min-height:38px;padding:0 16px;border-radius:9px!important;background:var(--prod-red);font-weight:800;box-shadow:0 7px 18px rgba(237,23,23,.16)}.productionNewItem:hover{background:#cb0d0d}.productionMondaySearch,.productionToolbarSelect{height:38px!important;border-color:#e1e1e5;border-radius:9px!important;background:#fff}.productionMondaySearch:focus-within,.productionToolbarSelect:hover{border-color:#aaaab2;box-shadow:0 0 0 3px rgba(17,17,19,.04)}.productionToolbarSelect>span{color:#85858d;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.productionToolbarSelect select{font-weight:650}
.productionGroup{border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(17,17,19,.045)}.productionGroupHeader{min-height:46px;padding:0 10px;border:1px solid #e4e4e8;border-bottom:0;border-radius:14px 14px 0 0}.productionGroup.collapsed .productionGroupHeader{border-bottom:1px solid #e4e4e8;border-radius:14px}.productionGroupTitle{font-weight:850;letter-spacing:-.02em}.productionGroupMenu{width:auto;height:30px;margin-left:auto;padding:0 10px;border:1px solid #e1e1e5;color:#5f6067;background:#fff;font-size:9px;font-weight:800}.productionGroupMenu:hover{border-color:#b9b9c0;color:var(--prod-black);background:#f7f7f8}.productionGroupBody{margin-left:0;border-left-width:5px;border-radius:0 0 14px 14px;overflow:hidden}.productionTableHead{color:#767780;background:#f6f6f8;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.productionTableRow{background:#fff}.productionTableRow:hover{background:#faf0f0}.productionTableRow.subitem{background:#fafafd}.productionUpdateBubble{display:grid;place-items:center;width:43px;padding:0;border:0;border-left:1px solid #e1e1e5;color:#85858d;background:transparent;font-size:8px;font-weight:850;cursor:pointer}.productionUpdateBubble:hover{color:var(--prod-red);background:#fff}.productionInlineAdd{grid-template-columns:31px minmax(0,1fr) 74px}.productionInlineAdd button{border-radius:7px;background:var(--prod-red);font-weight:800}.productionGroupBody>footer>span:after{background:var(--prod-red)}
.productionMobileBoardPicker{gap:10px;background:#121214}.productionMobileBoardPicker>span{color:#94949d}.productionMobileBoardPicker select{border-color:#303037;color:#fff;background:#202024}.productionMobileBoardPicker button{height:38px;padding:0 11px;border:0;border-radius:8px;color:#fff;background:var(--prod-red);font-size:9px;font-weight:800;white-space:nowrap}

.productionDrawerPanel{width:min(760px,96vw);color:var(--prod-black);background:#f7f7f9}.productionItemHead{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:9px;padding:24px 29px 20px;border-bottom:1px solid #e1e1e5;background:rgba(255,255,255,.96);backdrop-filter:blur(18px)}.productionItemBreadcrumb{display:flex;align-items:center;gap:7px;color:#898991;font-size:9px;font-weight:700}.productionItemBreadcrumb b{color:#bebec4}.productionItemHead>button{grid-column:2;grid-row:1/3;width:40px;height:40px;border:1px solid #e1e1e5;border-radius:12px;color:#55565d;background:#fff;font-size:22px;cursor:pointer}.productionItemHead>button:hover{color:#fff;background:var(--prod-black)}.productionItemHead>form{grid-column:1;display:flex;gap:8px}.productionItemHead>form input{min-width:0;flex:1;height:45px;padding:0 5px;border:1px solid transparent;border-radius:8px;outline:0;color:var(--prod-black);background:transparent;font:inherit;font-size:25px;font-weight:900;letter-spacing:-.045em}.productionItemHead>form input:hover,.productionItemHead>form input:focus{padding:0 11px;border-color:#d8d8dd;background:#fff}.productionItemHead>form button{align-self:center;height:34px;padding:0 11px;border:0;border-radius:8px;color:#fff;background:var(--prod-black);font-size:9px;font-weight:800;cursor:pointer}.productionItemMeta{grid-column:1;display:flex;align-items:center;gap:8px;color:#85858d;font-size:9px}.productionItemMeta span+span+span:before{margin-right:8px;color:#d0d0d5;content:"•"}.productionItemStatusDot{width:8px;height:8px;border-radius:50%;background:#c4c4c4}.productionItemStatusDot.status-in-progress{background:#fdab3d}.productionItemStatusDot.status-blocked{background:#e2445c}.productionItemStatusDot.status-done{background:#00c875}
.productionItemTabs{position:sticky;top:133px;z-index:4;display:flex;gap:4px;padding:0 29px;border-bottom:1px solid #e1e1e5;background:#fff}.productionItemTabs button{position:relative;min-height:46px;padding:0 13px;border:0;color:#777780;background:transparent;font-size:11px;font-weight:750;cursor:pointer}.productionItemTabs button.active{color:var(--prod-black)}.productionItemTabs button.active:after{position:absolute;right:8px;bottom:-1px;left:8px;height:3px;border-radius:3px 3px 0 0;background:var(--prod-red);content:""}.productionItemPanel{padding:27px 29px 50px}.productionItemUpdates{display:grid;gap:24px}.productionComposerIntro{display:grid;gap:4px}.productionComposerIntro b{font-size:15px}.productionComposerIntro span{color:#85858d;font-size:10px}.productionItemComposer{overflow:hidden;border:1px solid #d9d9df;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(17,17,19,.04)}.productionItemComposer textarea{display:block;width:100%;min-height:110px;padding:16px;border:0;outline:0;resize:vertical;color:var(--prod-black);background:#fff;font:inherit;font-size:12px;line-height:1.55}.productionItemComposer>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 11px 10px 15px;border-top:1px solid #ededf0;background:#fafafa}.productionItemComposer>div>span{color:#9a9aa1;font-size:8px}.productionItemComposer button{min-height:36px;border-radius:9px}.productionItemUpdates .productionUpdates{gap:12px}.productionItemUpdates .productionUpdate{padding:16px;border:1px solid #e1e1e5;border-radius:14px;background:#fff}
.productionItemDetails{display:grid;grid-template-columns:1fr 1fr;gap:11px}.productionItemProperty{display:grid;grid-template-columns:95px minmax(0,1fr);align-items:center;min-height:55px;padding:7px 9px;border:1px solid #e1e1e5;border-radius:12px;background:#fff}.productionItemProperty>span,.productionItemNotes>span{color:#85858d;font-size:9px;font-weight:800}.productionItemProperty input,.productionItemProperty select{min-width:0;width:100%;height:36px;padding:0 9px;border:1px solid #e5e5e9;border-radius:8px;outline:0;color:var(--prod-black);background:#fafafa;font:inherit;font-size:10px}.productionItemProperty .productionStatusCell{color:#fff}.productionItemNotes{grid-column:1/-1;display:grid;gap:8px;padding:14px;border:1px solid #e1e1e5;border-radius:14px;background:#fff}.productionItemNotes textarea{width:100%;min-height:125px;padding:12px;border:1px solid #e1e1e5;border-radius:10px;outline:0;resize:vertical;font:inherit;font-size:11px;line-height:1.55}.productionItemSave{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin-top:8px}.productionDangerText{min-height:40px;padding:0 12px;border:1px solid #f2c6c6;border-radius:10px;color:#b20f0f;background:#fff;font-size:10px;font-weight:800;cursor:pointer}

.productionBoardModal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;visibility:hidden;opacity:0;transition:opacity .2s,visibility 0s linear .25s}.productionBoardModal.show{visibility:visible;opacity:1;transition-delay:0s}.productionModalScrim{position:absolute;inset:0;border:0;background:rgba(10,10,12,.55);backdrop-filter:blur(7px)}.productionBoardDialog{position:relative;width:min(560px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border-radius:22px;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.28);transform:translateY(12px);transition:transform .24s}.productionBoardModal.show .productionBoardDialog{transform:none}.productionBoardDialog>div>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:25px 27px 21px;border-bottom:1px solid #e3e3e7}.productionBoardDialog header span,.productionBoardDanger>span{color:var(--prod-red);font-size:8px;font-weight:900;letter-spacing:.17em}.productionBoardDialog h2{margin:7px 0 0;font-size:24px;letter-spacing:-.045em}.productionBoardDialog header p{margin:7px 0 0;color:#777780;font-size:10px}.productionBoardDialog header>button{width:39px;height:39px;border:1px solid #e1e1e5;border-radius:11px;background:#fff;font-size:20px}.productionBoardForm{display:grid;gap:14px;padding:24px 27px}.productionBoardForm label{display:grid;gap:7px}.productionBoardForm label>span{color:#66666e;font-size:9px;font-weight:800}.productionBoardForm label em{color:#aaaab1;font-style:normal;font-weight:500}.productionBoardForm input,.productionBoardForm textarea,.productionBoardDanger input{width:100%;min-height:45px;padding:10px 12px;border:1px solid #d9d9df;border-radius:11px;outline:0;font:inherit;font-size:11px}.productionBoardForm textarea{min-height:90px;resize:vertical}.productionBoardForm footer{display:flex;justify-content:flex-end;gap:9px}.productionBoardForm footer button{min-height:42px;padding:0 15px;border:1px solid #dedee3;border-radius:10px;background:#fff;font-size:10px;font-weight:800}.productionBoardDanger{margin:0 27px 27px;padding:18px;border:1px solid #f3cccc;border-radius:15px;background:#fff8f8}.productionBoardDanger h3{margin:7px 0 4px;font-size:15px}.productionBoardDanger p{margin:0;color:#76767e;font-size:9px;line-height:1.5}.productionBoardDanger form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:13px}.productionBoardDanger form button{padding:0 13px;border:0;border-radius:10px;color:#fff;background:#b90f0f;font-size:9px;font-weight:800}

@media(max-width:767px){.productionTextAction{font-size:0!important}.productionTextAction span{font-size:14px}.productionMobile .productionBoardTitle{flex-wrap:wrap}.productionMobile .productionMondayToolbar{gap:7px}.productionMobile .productionToolbarSelect>span{display:none}.productionMobile .productionGroupMenu{display:none}.productionUpdateBubble{width:37px}.productionDrawerPanel{width:100%}.productionItemHead{padding:20px 17px 17px}.productionItemHead>form input{font-size:21px}.productionItemTabs{top:125px;padding:0 14px}.productionItemPanel{padding:20px 16px 40px}.productionItemDetails{grid-template-columns:1fr}.productionItemNotes,.productionItemSave{grid-column:1}.productionItemComposer>div>span{display:none}.productionBoardDialog>div>header,.productionBoardForm{padding-right:20px;padding-left:20px}.productionBoardDanger{margin-right:20px;margin-left:20px}.productionBoardDanger form{grid-template-columns:1fr}.productionBoardDanger form button{min-height:42px}}
@media(prefers-reduced-motion:reduce){.productionCard,.productionDrawer,.productionDrawerPanel{transition:none!important}.productionLoading i{animation:none!important}}

/* Monday-style production board */
.productionApp{background:#fff}
.productionShell.productionMonday{display:grid;grid-template-columns:255px minmax(0,1fr);width:100%;max-width:none;min-height:calc(100dvh - 68px);margin:0;padding:0;background:#fff}
.productionBoardRail{position:sticky;top:68px;align-self:start;height:calc(100dvh - 68px);overflow:auto;padding:18px 12px;border-right:1px solid #d0d4e4;background:#f6f7fb}
.productionRailBrand{display:flex;align-items:center;gap:10px;margin:1px 5px 22px;color:#323338;font-size:14px}.productionRailBrand>b{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;color:#fff;background:#e81717;font-size:15px}.productionRailLabel{margin:0 9px 8px;color:#676879;font-size:11px;font-weight:600}
.productionBoardRail>button,.productionBoardRail details button{display:flex;align-items:center;gap:9px;width:100%;min-height:37px;padding:0 10px;border:0;border-radius:5px;color:#323338;background:transparent;font:inherit;font-size:12px;text-align:left;cursor:pointer}.productionBoardRail button:hover{background:#e6e9ef}.productionBoardRail button.active{color:#111;background:#cce5ff}.productionBoardIcon{color:#676879;font-size:17px}.productionBoardRail details{margin-top:15px;border-top:1px solid #dfe1e8;padding-top:10px}.productionBoardRail summary{display:flex;align-items:center;justify-content:space-between;padding:7px 9px;color:#676879;font-size:11px;font-weight:650;cursor:pointer;list-style:none}.productionBoardRail summary span{display:grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:#e6e9ef;font-size:9px}
.productionBoardWorkspace{min-width:0;padding:28px 34px 80px;overflow:hidden}.productionMondayHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;max-width:1500px}.productionBoardTitle{display:flex;align-items:center;gap:8px}.productionBoardTitle h1{margin:0;color:#323338;font-size:28px;font-weight:500;line-height:1.2;letter-spacing:-.025em}.productionBoardTitle button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:5px;color:#676879;background:transparent;font-size:17px;cursor:pointer}.productionBoardTitle button:hover{background:#f0f1f4}.productionMondayHeader p{margin:7px 0 0;color:#676879;font-size:12px}.productionHeaderPeople{display:flex;align-items:center;padding-top:2px}.productionHeaderPeople i{display:grid;place-items:center;width:30px;height:30px;margin-left:-6px;border:2px solid #fff;border-radius:50%;color:#fff;background:#579bfc;font-size:9px;font-style:normal;font-weight:750}.productionHeaderPeople i:nth-child(2){background:#a25ddc}.productionHeaderPeople i:nth-child(3){background:#00c875}.productionHeaderPeople i:nth-child(4){background:#ff642e}.productionHeaderPeople span{margin-left:10px;color:#676879;font-size:11px}
.productionViewTabs{display:flex;gap:7px;margin-top:24px;border-bottom:1px solid #d0d4e4}.productionViewTabs button{position:relative;min-height:38px;padding:0 12px;border:0;color:#676879;background:transparent;font-size:12px}.productionViewTabs button.active{color:#323338}.productionViewTabs button.active:after{position:absolute;right:5px;bottom:-1px;left:5px;height:2px;background:#0073ea;content:""}.productionViewTabs button:disabled{opacity:.45}
.productionMondayToolbar{display:flex;align-items:center;gap:5px;min-height:72px;max-width:1500px}.productionMondayToolbar button,.productionMondayToolbar label{height:34px;border-radius:4px}.productionNewItem{padding:0 14px;border:0;color:#fff;background:#0073ea;font-size:12px;cursor:pointer}.productionNewItem:hover{background:#0060b9}.productionNewItem span{margin-left:12px;padding-left:10px;border-left:1px solid rgba(255,255,255,.35)}.productionMondaySearch,.productionToolbarSelect{display:flex;align-items:center;gap:6px;padding:0 9px;border:1px solid transparent;color:#323338;background:#fff}.productionMondaySearch:focus-within,.productionToolbarSelect:hover{border-color:#0073ea}.productionMondaySearch>span,.productionToolbarSelect>span{font-size:17px}.productionMondaySearch input{width:118px;border:0;outline:0;color:#323338;background:transparent;font:inherit;font-size:12px}.productionToolbarSelect select{max-width:135px;border:0;outline:0;color:#323338;background:transparent;font:inherit;font-size:12px}.productionToolbarIcon{width:34px;padding:0;border:0;color:#323338;background:#fff;font-size:17px;cursor:pointer}.productionToolbarIcon:hover{background:#f0f1f4}
.productionGroups{display:grid;align-content:start;gap:31px;max-width:1500px;padding:6px 0 40px}.productionGroup{position:relative;min-width:800px;transition:opacity .14s ease,transform .14s ease}.productionGroup.dragging{opacity:.35;transform:scale(.995)}.productionGroup.dragOver:before{position:absolute;z-index:4;right:0;top:-8px;left:0;height:4px;border-radius:4px;background:#0073ea;content:""}.productionGroupHeader{display:flex;align-items:center;min-height:37px;color:var(--group-color)}.productionCollapse{width:28px;height:28px;padding:0;border:0;color:inherit;background:transparent;font-size:17px;transform:rotate(0);transition:transform .15s;cursor:pointer}.productionGroup.collapsed .productionCollapse{transform:rotate(-90deg)}.productionGroupDrag{opacity:0;margin-right:3px;color:#9699a6;cursor:grab}.productionGroup:hover .productionGroupDrag{opacity:1}.productionGroupTitle{min-width:0;padding:0;border:0;overflow:hidden;color:inherit;background:transparent;font:inherit;font-size:16px;font-weight:600;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.productionGroupHeader>span:not(.productionGroupDrag){margin-left:10px;color:#9699a6;font-size:10px}.productionGroupMenu{width:31px;height:28px;margin-left:7px;border:0;border-radius:4px;color:#676879;background:transparent;cursor:pointer}.productionGroupMenu:hover{background:#f0f1f4}.productionGroupBody{display:block;margin-left:7px;border-left:6px solid var(--group-color)}.productionGroup.collapsed .productionGroupBody{display:none}
.productionTableHead,.productionTableRow{display:grid;grid-template-columns:minmax(330px,1fr) 145px 145px 115px 105px;min-width:800px}.productionTableHead{min-height:34px;border-top:1px solid #d0d4e4;border-bottom:1px solid #d0d4e4;color:#676879;background:#fff;font-size:10px}.productionTableHead>div{display:flex;align-items:center;justify-content:center;border-right:1px solid #d0d4e4}.productionTableHead>div:first-child{justify-content:flex-start;padding-left:15px}.productionTableRow{min-height:38px;border-bottom:1px solid #d0d4e4;color:#323338;background:#f5f6f8;font-size:11px}.productionTableRow:hover{background:#e6e9ef}.productionRowItem{display:flex;align-items:stretch;min-width:0;border-right:1px solid #d0d4e4;background:inherit}.productionRowGrip{display:flex;align-items:center;width:26px;padding-left:5px;color:#b2b4bd;font-size:14px;cursor:grab}.productionRowItem>button{display:flex;align-items:center;min-width:0;flex:1;padding:0 8px 0 calc(var(--row-depth,0) * 22px);border:0;color:#323338;background:transparent;font:inherit;text-align:left;cursor:pointer}.productionRowTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productionRowItem small{margin-left:9px;color:#9699a6;font-size:8px}.productionUpdateBubble{display:grid;place-items:center;width:36px;border-left:1px solid #d0d4e4;color:#9699a6;font-size:17px}.productionCell{display:flex;align-items:center;justify-content:center;min-width:0;border-right:1px solid #d0d4e4;color:#676879}.productionPeopleCell{padding:0 6px}.productionPerson{display:flex;align-items:center;min-width:0}.productionPerson i{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;color:#fff;background:#579bfc;font-size:8px;font-style:normal;font-weight:700}.productionPerson>span{overflow:hidden;margin-left:5px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.productionBlankCell{color:#b5b7c0}.productionStatusCell{width:100%;height:100%;padding:0 6px;border:0;outline:0;color:#fff;background:#c4c4c4;font:inherit;font-size:10px;font-weight:650;text-align:center;text-align-last:center;cursor:pointer;-webkit-appearance:none;appearance:none}.productionStatusCell.status-todo,.productionStatusCell.status-planning{background:#c4c4c4}.productionStatusCell.status-in-progress{background:#fdab3d}.productionStatusCell.status-blocked{background:#e2445c}.productionStatusCell.status-ready{background:#579bfc}.productionStatusCell.status-done{background:#00c875}.productionStatusCell.status-archived{background:#676879}.productionDateCell,.productionBudgetCell{font-size:10px}.productionTableRow.subitem{background:#fbfbfc}.productionTableRow.subitem .productionRowTitle{font-size:10px}.productionProjectRow .productionRowItem small{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.productionInlineAdd{display:grid;grid-template-columns:26px minmax(0,1fr) 58px;min-height:37px;border-bottom:1px solid #d0d4e4;background:#fff}.productionInlineAdd>span{display:grid;place-items:center;color:#9699a6}.productionInlineAdd input{min-width:0;border:0;outline:0;color:#323338;background:transparent;font:inherit;font-size:11px}.productionInlineAdd input::placeholder{color:#9699a6}.productionInlineAdd button{visibility:hidden;margin:4px;border:0;border-radius:4px;color:#fff;background:#0073ea;font-size:10px}.productionInlineAdd:focus-within button{visibility:visible}.productionGroupBody>footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;height:28px;color:#9699a6;font-size:9px}.productionGroupBody>footer>span{width:120px;height:6px;overflow:hidden;border-radius:5px;background:#e6e9ef}.productionGroupBody>footer>span:after{display:block;width:var(--done);height:100%;background:#00c875;content:""}.productionNoRows{min-height:45px;padding:14px;border-bottom:1px solid #d0d4e4;color:#9699a6;background:#f5f6f8;font-size:10px}
.productionMobileBoardPicker{display:flex;align-items:center;gap:8px;padding:12px 15px;border-bottom:1px solid #d0d4e4;background:#f6f7fb}.productionMobileBoardPicker span{color:#676879;font-size:10px;font-weight:700;text-transform:uppercase}.productionMobileBoardPicker select{min-width:0;flex:1;height:38px;padding:0 10px;border:1px solid #d0d4e4;border-radius:6px;color:#323338;background:#fff;font:inherit;font-size:12px;font-weight:600}
@media(max-width:1000px) and (min-width:768px){.productionShell.productionMonday{grid-template-columns:210px minmax(0,1fr)}.productionBoardWorkspace{padding-right:22px;padding-left:22px}.productionTableHead,.productionTableRow{grid-template-columns:minmax(300px,1fr) 125px 130px 100px 90px}}
@media(max-width:767px){
 .productionShell.productionMonday.productionMobile{display:block;min-height:0;padding:0;background:#fff}.productionMobile .productionBoardWorkspace{padding:20px 0 60px;overflow:hidden}.productionMobile .productionMondayHeader{padding:0 15px}.productionMobile .productionBoardTitle h1{font-size:25px}.productionMobile .productionMondayHeader p{font-size:10px;line-height:1.4}.productionMobile .productionHeaderPeople{display:none}.productionMobile .productionViewTabs{margin-top:18px;padding-left:10px}.productionMobile .productionMondayToolbar{min-height:62px;padding:0 10px;overflow-x:auto;scrollbar-width:none}.productionMobile .productionMondayToolbar>*{flex:0 0 auto}.productionMobile .productionMondaySearch input{width:85px}.productionMobile .productionToolbarSelect select{max-width:96px}.productionMobile .productionGroups{gap:25px;padding:2px 10px 35px}.productionMobile .productionGroup{min-width:0;width:100%}.productionMobile .productionGroupHeader{position:sticky;left:0}.productionMobile .productionGroupTitle{font-size:15px}.productionMobile .productionGroupBody{overflow:hidden}.productionMobile .productionTableHead,.productionMobile .productionTableRow{grid-template-columns:minmax(160px,1fr) 112px 80px;min-width:0}.productionMobile .productionTableHead>div:nth-child(2),.productionMobile .productionTableHead>div:nth-child(5),.productionMobile .productionPeopleCell,.productionMobile .productionBudgetCell{display:none}.productionMobile .productionTableHead>div:nth-child(3){grid-column:2}.productionMobile .productionTableHead>div:nth-child(4){grid-column:3}.productionMobile .productionRowGrip{width:20px;font-size:11px}.productionMobile .productionUpdateBubble{width:28px}.productionMobile .productionRowItem>button{padding-right:4px;padding-left:calc(var(--row-depth,0) * 12px)}.productionMobile .productionStatusCell{font-size:9px}.productionMobile .productionInlineAdd,.productionMobile .productionGroupBody>footer{min-width:0;width:100%}.productionMobile .productionGroupBody>footer>span{width:90px}
}

/* Final theme overrides: keep Monday's structure, use Sickos styling. */
.productionShell.productionMonday{background:#fbfbfc}.productionBoardRail{border-right:0;color:#f7f7f8;background:#121214;box-shadow:12px 0 30px rgba(0,0,0,.06)}.productionRailBrand{color:#fff}.productionRailLabel{color:#85858e;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:850}.productionBoardRail>button,.productionBoardRail details button{min-height:41px;color:#d9d9dd;border-radius:9px}.productionBoardRail button:hover{color:#fff;background:#252529}.productionBoardRail button.active{color:#fff;background:#ed1717;box-shadow:0 8px 20px rgba(237,23,23,.19)}.productionBoardRail button.active .productionBoardIcon{color:#fff}.productionBoardIcon{color:#777780}.productionBoardRail details{border-top-color:#29292e}.productionBoardRail summary{color:#8f8f98}.productionBoardRail summary span{color:#bbbcc3;background:#29292e}.productionAddBoard{display:flex!important;align-items:center!important;gap:9px!important;margin:0 0 20px!important;border:1px solid #34343a!important;color:#fff!important;background:#1e1e22!important}.productionBoardWorkspace{background:linear-gradient(180deg,#fff 0,#fbfbfc 180px)}.productionBoardTitle h1{color:#111113;font-weight:900;letter-spacing:-.055em}.productionTextAction{display:inline-flex!important;align-items:center!important;width:auto!important;gap:6px!important;min-height:34px!important;padding:0 10px!important;border:1px solid #e1e1e5!important;border-radius:9px!important;color:#55565d!important;background:#fff!important;font-size:10px!important;font-weight:750!important}.productionTextAction span{font-size:13px}.productionViewTabs button.active:after{background:#ed1717}.productionMondayToolbar{gap:8px}.productionNewItem{min-height:38px;padding:0 16px;border-radius:9px!important;background:#ed1717;font-weight:800;box-shadow:0 7px 18px rgba(237,23,23,.16)}.productionNewItem:hover{background:#cb0d0d}.productionMondaySearch,.productionToolbarSelect{height:38px!important;border-color:#e1e1e5;border-radius:9px!important}.productionToolbarSelect>span{color:#85858d;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.productionGroup{border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(17,17,19,.045)}.productionGroupHeader{min-height:46px;padding:0 10px;border:1px solid #e4e4e8;border-bottom:0;border-radius:14px 14px 0 0}.productionGroup.collapsed .productionGroupHeader{border-bottom:1px solid #e4e4e8;border-radius:14px}.productionGroupTitle{font-weight:850}.productionGroupMenu{width:auto;height:30px;margin-left:auto;padding:0 10px;border:1px solid #e1e1e5;color:#5f6067;background:#fff;font-size:9px;font-weight:800}.productionGroupBody{margin-left:0;border-left-width:5px;border-radius:0 0 14px 14px;overflow:hidden}.productionTableHead{background:#f6f6f8;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.productionTableRow{background:#fff}.productionTableRow:hover{background:#fff5f5}.productionRowItem>button.productionUpdateBubble{display:grid;flex:0 0 43px;place-items:center;width:43px;padding:0;border-left:1px solid #e1e1e5;color:#85858d;background:transparent;font-size:8px;font-weight:850}.productionRowItem>button.productionUpdateBubble:hover{color:#ed1717;background:#fff}.productionInlineAdd{grid-template-columns:31px minmax(0,1fr) 74px}.productionInlineAdd button{border-radius:7px;background:#ed1717;font-weight:800}.productionGroupBody>footer>span:after{background:#ed1717}.productionMobileBoardPicker{gap:10px;background:#121214}.productionMobileBoardPicker span{color:#94949d}.productionMobileBoardPicker select{border-color:#303037;color:#fff;background:#202024}.productionMobileBoardPicker button{height:38px;padding:0 11px;border:0;border-radius:8px;color:#fff;background:#ed1717;font-size:9px;font-weight:800;white-space:nowrap}
@media(max-width:767px){.productionTextAction{font-size:0!important}.productionTextAction span{font-size:14px}.productionMobile .productionToolbarSelect>span{display:none}.productionMobile .productionGroupMenu{display:none}.productionMobile .productionRowItem>button.productionUpdateBubble{flex-basis:37px;width:37px;padding:0}}

/* 2026 interaction pass — Monday's hierarchy, Sickos' light/red visual system. */
:root {
  --prod-red: #ed1717;
  --prod-red-dark: #c70e0e;
  --prod-ink: #171719;
  --prod-copy: #606168;
  --prod-muted: #898a92;
  --prod-line: #e2e2e6;
  --prod-soft: #f6f6f8;
  --prod-paper: #fbfbfc;
  --prod-white: #fff;
  --prod-ease: cubic-bezier(.22,.78,.2,1);
}
.productionDemoMode #loginOverlay { display: none !important; }
.productionApp { min-height: calc(100dvh - 68px); background: var(--prod-paper); }
.productionShell.productionMonday {
  display: grid;
  grid-template-columns: 238px minmax(0,1fr);
  width: 100%;
  max-width: none;
  min-height: calc(100dvh - 68px);
  padding: 0;
  color: var(--prod-ink);
  background: var(--prod-paper);
}
.productionBoardRail {
  position: sticky;
  top: 68px;
  align-self: start;
  height: calc(100dvh - 68px);
  padding: 18px 12px 28px;
  overflow: auto;
  border-right: 1px solid var(--prod-line) !important;
  color: var(--prod-ink) !important;
  background: #f7f7f9 !important;
  box-shadow: none !important;
}
.productionRailBrand { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 5px 18px; color: var(--prod-ink) !important; }
.productionRailBrand > img { width: 39px; height: 39px; padding: 3px; object-fit: contain; border: 1px solid #e1e1e5; border-radius: 12px; background: #fff; }
.productionRailBrand > span { display: grid; gap: 2px; }
.productionRailBrand b { color: var(--prod-ink); font-size: 13px; letter-spacing: -.025em; }
.productionRailBrand small { color: var(--prod-muted); font-size: 8px; font-weight: 700; }
.productionAddBoard {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: calc(100% - 4px) !important;
  min-height: 41px !important;
  margin: 0 2px 20px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(237,23,23,.2) !important;
  border-radius: 10px !important;
  color: var(--prod-red) !important;
  background: rgba(237,23,23,.055) !important;
  box-shadow: none !important;
}
.productionAddBoard:hover { border-color: rgba(237,23,23,.36) !important; color: var(--prod-red-dark) !important; background: #fff !important; }
.productionAddBoard strong { font-size: 10px; }
.productionRailLabel { margin: 0 10px 8px; color: #96979e !important; font-size: 8px !important; font-weight: 900 !important; letter-spacing: .13em !important; text-transform: uppercase; }
.productionBoardRail > button:not(.productionAddBoard),
.productionBoardRail details button {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) 6px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 39px;
  padding: 0 10px 0 8px;
  border: 0;
  border-radius: 9px;
  color: #4f5057 !important;
  background: transparent !important;
  font-size: 10px;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
.productionBoardRail > button:not(.productionAddBoard):hover,
.productionBoardRail details button:hover { color: var(--prod-ink) !important; background: #ededf0 !important; }
.productionBoardRail > button.active,
.productionBoardRail details button.active {
  color: var(--prod-ink) !important;
  background: rgba(237,23,23,.075) !important;
  box-shadow: inset 3px 0 var(--prod-red) !important;
}
.productionBoardRail button.active .productionBoardIcon { color: var(--prod-red) !important; }
.productionBoardRail button > i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.productionBoardRail button.active > i { background: var(--prod-red); }
.productionBoardIcon { display: grid; place-items: center; color: #8a8b92 !important; }
.productionBoardRail details { margin-top: 17px; padding-top: 10px; border-top: 1px solid #e4e4e7 !important; }
.productionBoardRail summary { padding: 7px 9px; color: #85868e !important; font-size: 9px; font-weight: 750; }
.productionBoardRail summary span { color: #85868e !important; background: #e9e9ec !important; }
.productionBoardRail .justCreated { animation: productionBoardArrive .8s var(--prod-ease) both; }

.productionBoardWorkspace { min-width: 0; padding: 31px 34px 90px; overflow: hidden; background: linear-gradient(180deg,#fff 0,#fbfbfc 220px) !important; }
.productionMondayHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; width: min(100%,1500px); }
.productionBoardIdentity { min-width: 0; }
.productionBoardTitle { display: flex; align-items: center; gap: 7px; }
.productionBoardTitle h1 { margin: 0; overflow: hidden; color: var(--prod-ink) !important; font-size: clamp(28px,2.3vw,38px) !important; font-weight: 880 !important; line-height: 1; letter-spacing: -.052em !important; text-overflow: ellipsis; white-space: nowrap; }
.productionBoardTitleMenu { display: grid !important; place-items: center; width: 34px !important; height: 34px !important; padding: 0 !important; border: 0 !important; border-radius: 10px !important; color: #7b7c83 !important; background: transparent !important; }
.productionBoardTitleMenu:hover { color: var(--prod-ink) !important; background: var(--prod-soft) !important; }
.productionMondayHeader p { max-width: 680px; margin: 9px 0 0; color: var(--prod-copy); font-size: 11px; line-height: 1.5; }
.productionHeaderActions { display: flex; align-items: center; gap: 7px; }
.productionHeaderPeople { display: flex; align-items: center; margin-right: 4px; }
.productionHeaderPeople i { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -6px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #1f2024 !important; font-size: 8px; font-style: normal; font-weight: 850; }
.productionHeaderPeople i:nth-child(2) { background: var(--prod-red) !important; }
.productionHeaderPeople i:nth-child(3) { background: #62636b !important; }
.productionHeaderPeople i:nth-child(4) { background: #8f1111 !important; }
.productionHeaderPeople span { margin-left: 9px; color: var(--prod-muted); font-size: 9px; white-space: nowrap; }
.productionTextAction {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 6px !important;
  width: auto !important;
  min-height: 36px !important;
  padding: 0 11px !important;
  border: 1px solid var(--prod-line) !important;
  border-radius: 10px !important;
  color: #5d5e65 !important;
  background: #fff !important;
  font-size: 9px !important;
  font-weight: 780 !important;
}
.productionTextAction:hover { border-color: #cfcfd4 !important; color: var(--prod-ink) !important; background: var(--prod-soft) !important; }
.productionViewTabs { display: flex; align-items: center; gap: 9px; width: min(100%,1500px); margin-top: 25px; border-bottom: 1px solid var(--prod-line); }
.productionViewTabs button { position: relative; min-height: 39px; padding: 0 11px; border: 0; color: var(--prod-copy); background: transparent; font-size: 10px; font-weight: 740; }
.productionViewTabs button.active { color: var(--prod-ink); }
.productionViewTabs button.active::after { position: absolute; right: 5px; bottom: -1px; left: 5px; height: 2px; border-radius: 2px; background: var(--prod-red) !important; content: ""; }
.productionViewTabs > span { margin-left: auto; color: #a0a1a7; font-size: 8px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }

.productionMondayToolbar {
  position: sticky;
  top: 68px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 7px !important;
  width: min(100%,1500px);
  min-height: 68px;
  padding: 12px 0;
  background: rgba(251,251,252,.94);
  backdrop-filter: blur(18px) saturate(145%);
}
.productionCreate { position: relative; display: flex; align-items: stretch; }
.productionNewItem,
.productionCreateToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px !important;
  border: 0 !important;
  color: #fff;
  background: var(--prod-red) !important;
  box-shadow: 0 7px 18px rgba(237,23,23,.15);
}
.productionNewItem { gap: 7px; padding: 0 14px !important; border-radius: 10px 0 0 10px !important; font-size: 10px; font-weight: 840 !important; }
.productionCreateToggle { width: 35px; padding: 0; border-left: 1px solid rgba(255,255,255,.28) !important; border-radius: 0 10px 10px 0 !important; }
.productionCreate:hover .productionNewItem,
.productionCreate:hover .productionCreateToggle { background: var(--prod-red-dark) !important; }
.productionCreateToggle svg { transition: transform .2s ease; }
.productionCreate.open .productionCreateToggle svg { transform: rotate(180deg); }
.productionCreateMenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  display: grid;
  gap: 3px;
  width: 270px;
  padding: 9px;
  border: 1px solid var(--prod-line);
  border-radius: 15px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 20px 55px rgba(17,17,19,.16);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(.985);
  transform-origin: 30px 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .22s var(--prod-ease), visibility 0s linear .22s;
}
.productionCreate.open .productionCreateMenu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.productionCreateMenu > span { padding: 5px 8px 6px; color: #92939a; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.productionCreateMenu > button { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 9px; min-height: 51px; padding: 5px 7px; border: 0; border-radius: 10px; color: var(--prod-ink); background: transparent; text-align: left; }
.productionCreateMenu > button > svg { padding: 8px; width: 34px; height: 34px; border-radius: 10px; color: var(--prod-red); background: rgba(237,23,23,.07); }
.productionCreateMenu > button span { display: grid; gap: 3px; }
.productionCreateMenu > button b { font-size: 10px; }
.productionCreateMenu > button small { color: var(--prod-muted); font-size: 8px; }
.productionCreateMenu > button:hover { background: var(--prod-soft); }
.productionMondaySearch,
.productionToolbarSelect { display: flex; align-items: center; gap: 7px; height: 40px !important; padding: 0 10px; border: 1px solid var(--prod-line) !important; border-radius: 10px !important; color: #74757c; background: #fff !important; }
.productionMondaySearch { min-width: 170px; }
.productionMondaySearch:focus-within,
.productionToolbarSelect:hover { border-color: rgba(237,23,23,.36) !important; box-shadow: 0 0 0 3px rgba(237,23,23,.055); }
.productionMondaySearch input { min-width: 0; width: 125px; border: 0; outline: 0; color: var(--prod-ink); background: transparent; font: inherit; font-size: 10px; }
.productionToolbarSelect select { max-width: 128px; border: 0; outline: 0; color: #55565d; background: transparent; font: inherit; font-size: 9px; font-weight: 680; }

.productionGroups { display: grid; align-content: start; gap: 25px; width: min(100%,1500px); padding: 5px 0 45px; }
.productionGroup { position: relative; min-width: 820px; border: 1px solid var(--prod-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 25px rgba(17,17,19,.035); transition: opacity .16s ease, transform .18s var(--prod-ease), box-shadow .18s ease; }
.productionGroup:hover { box-shadow: 0 11px 32px rgba(17,17,19,.055); }
.productionGroup.dragging { opacity: .42; transform: scale(.992); }
.productionGroup.dragOver::before { position: absolute; z-index: 8; top: -14px; right: 0; left: 0; height: 4px; border-radius: 5px; background: var(--prod-red); content: ""; box-shadow: 0 0 0 4px rgba(237,23,23,.08); }
.productionGroupHeader { display: flex; align-items: center; min-height: 49px; padding: 0 10px 0 7px; border: 0 !important; border-radius: 15px 15px 0 0; color: var(--group-color); background: #fff; }
.productionCollapse { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 9px; color: inherit; background: transparent; }
.productionCollapse svg { transform: rotate(0); transition: transform .24s var(--prod-ease); }
.productionGroup.collapsed .productionCollapse svg { transform: rotate(-90deg); }
.productionCollapse:hover { background: var(--prod-soft); }
.productionGroupDrag { opacity: 0; margin-right: 5px; color: #a2a3aa; cursor: grab; transition: opacity .15s ease; }
.productionGroup:hover .productionGroupDrag { opacity: 1; }
.productionGroupTitle { min-width: 0; padding: 0; overflow: hidden; border: 0; color: inherit; background: transparent; font: inherit; font-size: 14px; font-weight: 860; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.productionGroupHeader > span:not(.productionGroupDrag) { margin-left: 9px; color: #93949b; font-size: 8px; }
.productionGroupMenu { display: grid; place-items: center; width: 32px !important; height: 30px !important; margin-left: auto !important; padding: 0 !important; border: 0 !important; border-radius: 9px !important; color: #7a7b82 !important; background: transparent !important; opacity: .35; transition: opacity .15s ease, background .15s ease; }
.productionGroup:hover .productionGroupMenu { opacity: 1; }
.productionGroupMenu:hover { color: var(--prod-ink) !important; background: var(--prod-soft) !important; }
.productionGroupBody { display: block !important; max-height: 12000px; margin: 0 !important; overflow: hidden; border: 0 !important; border-left: 5px solid var(--group-color) !important; border-radius: 0 0 15px 15px; opacity: 1; transform: translateY(0); transition: max-height .35s var(--prod-ease), opacity .18s ease, transform .24s var(--prod-ease); }
.productionGroup.collapsed .productionGroupHeader { border-radius: 15px; }
.productionGroup.collapsed .productionGroupBody { display: block !important; max-height: 0; opacity: 0; transform: translateY(-6px); pointer-events: none; }
.productionTableHead,
.productionTableRow { display: grid; grid-template-columns: minmax(340px,1fr) 150px 145px 115px 105px; min-width: 820px; }
.productionTableHead { min-height: 34px; border-top: 1px solid var(--prod-line); border-bottom: 1px solid var(--prod-line); color: #85868d; background: #f7f7f9 !important; font-size: 8px; font-weight: 860 !important; letter-spacing: .08em; text-transform: uppercase; }
.productionTableHead > div { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--prod-line); }
.productionTableHead > div:first-child { justify-content: flex-start; padding-left: 42px; }
.productionTableRow { position: relative; min-height: 43px; border-bottom: 1px solid var(--prod-line); color: var(--prod-ink); background: #fff !important; font-size: 10px; transition: background .14s ease, box-shadow .18s ease, transform .18s var(--prod-ease); }
.productionTableRow:hover { background: #fff6f6 !important; }
.productionTableRow.subitem { background: #fbfbfc !important; }
.productionTableRow.dragging { z-index: 4; opacity: .48; transform: scale(.995); }
.productionTableRow.dropBefore::before,
.productionTableRow.dropAfter::after { position: absolute; z-index: 6; right: 0; left: 0; height: 3px; border-radius: 3px; background: var(--prod-red); content: ""; box-shadow: 0 0 0 3px rgba(237,23,23,.075); }
.productionTableRow.dropBefore::before { top: -2px; }
.productionTableRow.dropAfter::after { bottom: -2px; }
.productionTableRow.justCreated { animation: productionItemArrive 1.05s var(--prod-ease) both; }
.productionRowItem { display: flex; align-items: stretch; min-width: 0; border-right: 1px solid var(--prod-line); background: inherit; }
.productionRowGrip { display: flex; align-items: center; justify-content: center; width: 30px; padding: 0; color: #b0b1b7; font-size: 12px; cursor: grab; opacity: .24; transition: opacity .15s ease; }
.productionTableRow:hover .productionRowGrip { opacity: 1; }
.productionRowItem > button:not(.productionUpdateBubble) { display: flex; align-items: center; min-width: 0; flex: 1; padding: 0 9px 0 calc(var(--row-depth,0) * 20px); border: 0; color: var(--prod-ink); background: transparent; font: inherit; text-align: left; }
.productionRowTitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.productionRowItem small { margin-left: 8px; color: #9a9ba2; font-size: 7px; }
.productionRowItem > button.productionUpdateBubble { display: flex !important; align-items: center; justify-content: center; gap: 3px; flex: 0 0 42px !important; width: 42px !important; padding: 0 !important; border: 0 !important; border-left: 1px solid var(--prod-line) !important; color: #a0a1a7 !important; background: transparent !important; font-size: 7px !important; }
.productionRowItem > button.productionUpdateBubble.hasUpdates { color: var(--prod-red) !important; }
.productionRowItem > button.productionUpdateBubble:hover { color: var(--prod-red) !important; background: #fff !important; }
.productionCell { display: flex; align-items: center; justify-content: center; min-width: 0; border-right: 1px solid var(--prod-line); color: #66676e; }
.productionPerson { display: flex; align-items: center; min-width: 0; }
.productionPerson i { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: #26272b; font-size: 7px; font-style: normal; font-weight: 820; }
.productionPerson > span { overflow: hidden; margin-left: 6px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.productionStatusCell { width: calc(100% - 12px) !important; height: 29px !important; margin: 0 6px; padding: 0 7px !important; border: 1px solid transparent !important; border-radius: 8px !important; color: #484950 !important; background: #efeff1 !important; font: inherit; font-size: 8px !important; font-weight: 800 !important; text-align: center; text-align-last: center; cursor: pointer; appearance: none; }
.productionStatusCell.status-todo,
.productionStatusCell.status-planning { color: #62636a !important; background: #efeff1 !important; }
.productionStatusCell.status-in-progress { color: #a50d0d !important; background: #ffe5e5 !important; }
.productionStatusCell.status-blocked { color: #fff !important; background: #c91313 !important; }
.productionStatusCell.status-ready { color: #762020 !important; background: #f4caca !important; }
.productionStatusCell.status-done { color: #15623a !important; background: #dff4e8 !important; }
.productionStatusCell:focus { border-color: rgba(237,23,23,.42) !important; box-shadow: 0 0 0 3px rgba(237,23,23,.07); }
.productionDateCell,
.productionBudgetCell { font-size: 8px; }
.productionInlineAdd { display: grid; grid-template-columns: 31px minmax(0,1fr) 64px !important; min-height: 42px; border-bottom: 1px solid var(--prod-line); background: #fff; }
.productionInlineAdd > span { display: grid; place-items: center; color: #a1a2a8; }
.productionInlineAdd input { min-width: 0; padding: 0 8px; border: 0; outline: 0; color: var(--prod-ink); background: transparent; font: inherit; font-size: 9px; }
.productionInlineAdd input::placeholder { color: #9899a0; }
.productionInlineAdd button { align-self: center; visibility: hidden; min-height: 30px; margin: 4px; border: 0; border-radius: 8px !important; color: #fff; background: var(--prod-red) !important; font-size: 8px; font-weight: 830; }
.productionInlineAdd:focus-within { background: #fff8f8; box-shadow: inset 0 0 0 1px rgba(237,23,23,.14); }
.productionInlineAdd:focus-within button { visibility: visible; }
.productionGroupBody > footer { display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-height: 31px; padding: 0 12px; color: #96979e; background: #fbfbfc; font-size: 8px; }
.productionGroupBody > footer > span { width: 105px; height: 5px; overflow: hidden; border-radius: 5px; background: #e6e6e9; }
.productionGroupBody > footer > span::after { display: block; width: var(--done); height: 100%; border-radius: inherit; background: var(--prod-red); content: ""; transition: width .3s ease; }
.productionNoRows { min-height: 45px; padding: 14px 14px 14px 30px; border-bottom: 1px solid var(--prod-line); color: #999aa1; background: #fff; font-size: 8px; }
.productionBoardBlank { display: grid; justify-items: center; min-height: 360px; padding: 55px 24px; border: 1px dashed #d9d9dd; border-radius: 18px; background: #fff; text-align: center; }
.productionBoardBlank > span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; color: var(--prod-red); background: rgba(237,23,23,.07); }
.productionBoardBlank h2 { margin: 19px 0 0; font-size: 21px; letter-spacing: -.045em; }
.productionBoardBlank p { max-width: 410px; margin: 8px 0 21px; color: var(--prod-copy); font-size: 10px; line-height: 1.55; }
.productionBoardBlank button { display: inline-flex; align-items: center; gap: 7px; }

.productionDrawer { z-index: 4200; transition: opacity .2s ease, visibility 0s linear .28s; }
.productionDrawerScrim { background: rgba(17,17,19,.24); backdrop-filter: blur(3px); }
.productionDrawerPanel { width: min(680px,94vw); background: #fff; box-shadow: -30px 0 80px rgba(17,17,19,.16); transform: translateX(44px); transition: transform .32s var(--prod-ease); }
.productionDrawer.show .productionDrawerPanel { transform: none; }
.productionItemHead,
.productionDrawerHead { border-bottom: 1px solid var(--prod-line); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.productionItemHead > form button { color: #fff; background: var(--prod-red); opacity: 0; transform: translateX(5px); pointer-events: none; transition: opacity .15s ease, transform .18s var(--prod-ease); }
.productionItemHead > form:focus-within button { opacity: 1; transform: none; pointer-events: auto; }
.productionItemTabs { border-bottom-color: var(--prod-line); background: #fff; }
.productionItemTabs button.active::after { background: var(--prod-red); }
.productionItemComposer,
.productionItemDetails,
.productionProjectForm { background: #fafafc; }
.productionItemComposer:focus-within,
.productionItemDetails input:focus,
.productionItemDetails textarea:focus,
.productionProjectForm input:focus,
.productionProjectForm textarea:focus,
.productionProjectForm select:focus { border-color: rgba(237,23,23,.45) !important; box-shadow: 0 0 0 3px rgba(237,23,23,.065) !important; }
.productionBoardModal { backdrop-filter: blur(4px); }
.productionBoardDialog { border-color: var(--prod-line); border-radius: 20px; box-shadow: 0 28px 90px rgba(17,17,19,.2); transform: translateY(12px) scale(.985); transition: transform .26s var(--prod-ease); }
.productionBoardModal.show .productionBoardDialog { transform: none; }
.productionBoardForm input,
.productionBoardForm textarea,
.productionBoardDanger input { border-color: #d8d8dd !important; color: var(--prod-ink) !important; background: #fff !important; }
.productionBoardForm input::placeholder,
.productionBoardForm textarea::placeholder,
.productionBoardDanger input::placeholder { color: #9a9ba2 !important; }
.productionBoardForm input:focus,
.productionBoardForm textarea:focus,
.productionBoardDanger input:focus { border-color: rgba(237,23,23,.52) !important; box-shadow: 0 0 0 3px rgba(237,23,23,.065) !important; }

@keyframes productionItemArrive {
  0% { opacity: 0; transform: translateY(-8px); background: rgba(237,23,23,.15); box-shadow: inset 4px 0 var(--prod-red); }
  40% { opacity: 1; transform: translateY(0); background: rgba(237,23,23,.09); box-shadow: inset 4px 0 var(--prod-red); }
  100% { background: #fff; box-shadow: inset 0 0 transparent; }
}
@keyframes productionBoardArrive {
  0% { opacity: 0; transform: translateX(-8px); }
  45% { opacity: 1; transform: translateX(0); background: rgba(237,23,23,.14); }
}

@media (max-width: 1120px) and (min-width: 768px) {
  .productionShell.productionMonday { grid-template-columns: 210px minmax(0,1fr); }
  .productionBoardWorkspace { padding-right: 22px; padding-left: 22px; }
  .productionTextAction span { display: none; }
  .productionTextAction { width: 36px !important; padding: 0 !important; }
  .productionHeaderPeople span { display: none; }
  .productionTableHead,
  .productionTableRow { grid-template-columns: minmax(310px,1fr) 125px 132px 100px 90px; }
}

@media (max-width: 767px) {
  .productionApp { min-height: 0; }
  .productionShell.productionMonday.productionMobile { display: block; min-height: 0; padding: 0; background: #fff; }
  .productionMobileBoardPicker { position: sticky; top: 0; z-index: 24; display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 9px 14px; border-bottom: 1px solid var(--prod-line); color: var(--prod-ink); background: rgba(255,255,255,.96) !important; backdrop-filter: blur(18px); }
  .productionMobileBoardPicker > span { color: #96979e !important; font-size: 8px; }
  .productionMobileBoardPicker select { min-width: 0; flex: 1; height: 38px; padding: 0 10px; border: 1px solid var(--prod-line) !important; border-radius: 10px !important; color: var(--prod-ink) !important; background: var(--prod-soft) !important; font: inherit; font-size: 10px; font-weight: 720; }
  .productionMobileBoardPicker button { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; color: #fff; background: var(--prod-red); font-size: 8px; font-weight: 820; }
  .productionMobile .productionBoardWorkspace { padding: 23px 0 60px; overflow: hidden; background: #fff !important; }
  .productionMobile .productionMondayHeader { display: block; padding: 0 15px; }
  .productionMobile .productionBoardTitle h1 { font-size: 27px !important; }
  .productionMobile .productionMondayHeader p { margin-top: 7px; font-size: 9px; line-height: 1.45; }
  .productionMobile .productionHeaderActions { margin-top: 14px; }
  .productionMobile .productionHeaderPeople { display: none; }
  .productionMobile .productionTextAction { min-height: 34px !important; }
  .productionMobile .productionViewTabs { margin-top: 19px; padding: 0 10px; }
  .productionMobile .productionViewTabs > span { display: none; }
  .productionMobile .productionMondayToolbar { position: relative; top: auto; z-index: 20; min-height: 64px; padding: 11px 10px; overflow-x: auto; background: rgba(255,255,255,.98); scrollbar-width: none; }
  .productionMobile .productionMondayToolbar::-webkit-scrollbar { display: none; }
  .productionMobile .productionMondayToolbar > * { flex: 0 0 auto; }
  .productionMobile .productionNewItem { min-height: 40px !important; }
  .productionMobile .productionMondaySearch { min-width: 124px; }
  .productionMobile .productionMondaySearch input { width: 76px; }
  .productionMobile .productionToolbarSelect select { max-width: 92px; }
  .productionMobile .productionCreateMenu { position: fixed; top: auto; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; width: auto; transform-origin: 45px 100%; }
  .productionMobile .productionGroups { gap: 22px; width: 100%; padding: 3px 10px 36px; }
  .productionMobile .productionGroup { min-width: 0; width: 100%; border-radius: 14px; box-shadow: 0 7px 23px rgba(17,17,19,.045); }
  .productionMobile .productionGroupHeader { min-height: 49px; padding-right: 8px; }
  .productionMobile .productionGroupTitle { font-size: 13px; }
  .productionMobile .productionGroupDrag { display: none; }
  .productionMobile .productionGroupMenu { display: grid; opacity: 1; }
  .productionMobile .productionGroupBody { width: 100%; }
  .productionMobile .productionTableHead,
  .productionMobile .productionTableRow { grid-template-columns: minmax(150px,1fr) 105px 76px; min-width: 0; }
  .productionMobile .productionTableHead > div:nth-child(2),
  .productionMobile .productionTableHead > div:nth-child(5),
  .productionMobile .productionPeopleCell,
  .productionMobile .productionBudgetCell { display: none; }
  .productionMobile .productionTableHead > div:nth-child(3) { grid-column: 2; }
  .productionMobile .productionTableHead > div:nth-child(4) { grid-column: 3; }
  .productionMobile .productionTableHead > div:first-child { padding-left: 12px; }
  .productionMobile .productionTableRow { min-height: 46px; }
  .productionMobile .productionRowGrip { display: none; }
  .productionMobile .productionRowItem > button:not(.productionUpdateBubble) { padding-left: calc(8px + var(--row-depth,0) * 11px); }
  .productionMobile .productionRowItem > button.productionUpdateBubble { flex-basis: 34px !important; width: 34px !important; }
  .productionMobile .productionStatusCell { margin: 0 4px; width: calc(100% - 8px) !important; font-size: 7px !important; }
  .productionMobile .productionInlineAdd { grid-template-columns: 28px minmax(0,1fr) 54px !important; min-width: 0; }
  .productionMobile .productionGroupBody > footer > span { width: 78px; }
  .productionMobile .productionBoardBlank { min-height: 310px; margin: 0 4px; }
  .productionDrawer { align-items: flex-end; }
  .productionDrawerPanel { width: 100%; height: 94dvh; margin-top: 6dvh; border-radius: 24px 24px 0 0; transform: translateY(35px); }
  .productionDrawer.show .productionDrawerPanel { transform: none; }
  .productionItemHead { padding: 20px 17px 16px; }
  .productionItemHead > form input { font-size: 21px; }
  .productionItemTabs { top: 124px; padding: 0 14px; }
  .productionItemPanel { padding: 20px 16px 40px; }
  .productionItemDetails { grid-template-columns: 1fr; }
  .productionItemNotes,
  .productionItemSave { grid-column: 1; }
  .productionProjectForm { grid-template-columns: 1fr; padding: 21px 18px 25px; }
  .productionWide { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .productionGroup,
  .productionGroupBody,
  .productionCollapse svg,
  .productionCreateMenu,
  .productionDrawer,
  .productionDrawerPanel,
  .productionBoardDialog,
  .productionTableRow { transition: none !important; animation: none !important; }
}

/* Production workflow v3 — fast inline editing, clear hierarchy, calmer type */
.productionShell.productionMonday {
  --prod-status-gray: #ececef;
  --prod-status-amber: #fff0ce;
  --prod-status-green: #dff5e9;
  --prod-status-blue: #e4efff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: normal;
}
.productionBoardTitle h1 { font-size: 30px; font-weight: 760; letter-spacing: -.04em; }
.productionMondayHeader p { font-size: 13px; }
.productionToolbarSelect > span,
.productionRailLabel { font-size: 10px !important; font-weight: 700 !important; letter-spacing: .08em !important; }
.productionToolbarSelect select,
.productionMondaySearch input { font-size: 12px; }

.productionGroup { overflow: visible; border: 1px solid #dedee3; border-radius: 16px; box-shadow: 0 8px 28px rgba(17,17,19,.045) !important; }
.productionGroup:hover { border-color: #d1d1d7; box-shadow: 0 13px 38px rgba(17,17,19,.075) !important; transform: translateY(-1px); }
.productionGroupHeader { min-height: 56px; padding: 0 12px 0 7px; border-radius: 15px 15px 0 0; }
.productionGroupTitle { flex: 0 1 auto; max-width: min(42vw,540px); font-size: 16px; font-weight: 720; letter-spacing: -.018em; }
.productionGroupCount { flex: 0 0 auto; font-size: 11px !important; }
.productionGroupQuick { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.productionGroupBudget { min-height: 32px; padding: 0 11px; border: 1px solid #dedee3; border-radius: 9px; color: #575860; background: #fff; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; transition: border-color .16s ease, box-shadow .18s ease, transform .18s var(--prod-spring); }
.productionGroupBudget:hover { border-color: #bfc0c7; color: #151517; box-shadow: 0 5px 15px rgba(17,17,19,.08); transform: translateY(-1px); }
.productionGroupMenu { flex: 0 0 34px; width: 34px !important; height: 34px !important; margin-left: 2px !important; opacity: .72; }
.productionGroupBody { overflow: hidden; border-left-width: 5px; border-radius: 0 0 15px 15px; }

.productionTableHead,
.productionTableRow { grid-template-columns: minmax(360px,1fr) 160px 150px 125px 120px; }
.productionTableHead { min-height: 39px; color: #73747b; background: #f7f7f9; font-size: 11px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.productionTableRow { min-height: 50px; color: #202024; font-size: 12px; }
.productionTableRow:hover { background: #fafafc !important; box-shadow: inset 0 1px #eeeef1, inset 0 -1px #eeeef1 !important; transform: none; }
.productionTableRow::before { width: 2px; background: var(--group-color,var(--prod-red)); }
.productionRowItem { overflow: visible; }
.productionRowGrip { flex-basis: 26px; width: 26px !important; }
.productionRowGrip::before { font-size: 13px; }
.productionRowGrip::after { display: none; }
.productionTableRow:hover .productionRowGrip::before { color: var(--group-color,var(--prod-red)); opacity: .72; transform: none; }
.productionSubitemSpacer { flex: 0 0 28px; width: 28px; }
.productionSubitemToggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 3px; flex: 0 0 34px !important; width: 34px !important; min-width: 34px !important; padding: 0 !important; border: 0 !important; color: #777880 !important; background: transparent !important; font: inherit; cursor: pointer; }
.productionSubitemToggle svg { transition: transform .18s var(--prod-spring); }
.productionSubitemToggle.open svg { transform: rotate(180deg); }
.productionSubitemToggle span { display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; color: #5d5e65; background: #ececef; font-size: 9px; font-weight: 720; }
.productionSubitemToggle:hover span { color: #fff; background: var(--prod-red); }
.productionRowTitleButton { flex: 1 1 auto !important; padding: 0 7px 0 calc(var(--row-depth,0) * 15px) !important; font-size: 12px !important; font-weight: 590 !important; }
.productionRowTitleButton small { margin-left: 8px; padding: 3px 6px; border-radius: 7px; color: #72737b; background: #ebebef; font-size: 9px; font-weight: 650; }
.productionRowMenu { display: grid !important; place-items: center; flex: 0 0 30px !important; width: 30px !important; min-width: 30px !important; padding: 0 !important; border: 0 !important; border-radius: 8px !important; color: #777880 !important; background: transparent !important; opacity: 0; cursor: pointer; transition: opacity .14s ease, background .14s ease; }
.productionTableRow:hover .productionRowMenu,
.productionTableRow:focus-within .productionRowMenu { opacity: 1; }
.productionRowMenu:hover { color: #171719 !important; background: #ececef !important; }
.productionRowItem > button.productionUpdateBubble { flex: 0 0 42px; width: 42px; border-left: 1px solid #e4e4e8; }
.productionUpdateBubble.hasUpdates { color: var(--prod-red) !important; background: #fff5f5 !important; }

.productionCell { padding: 5px 7px; }
.productionQuickField { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 34px; padding: 0 8px; border: 1px solid transparent; border-radius: 9px; color: #5f6068; background: transparent; font: inherit; font-size: 11px; cursor: pointer; transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .18s ease; }
.productionQuickField:hover { border-color: #dedee3; color: #18181b; background: #fff; box-shadow: 0 4px 14px rgba(17,17,19,.065); }
.productionQuickEmpty { color: #999aa1; font-size: 10px; font-weight: 600; }
.productionPerson { width: 100%; justify-content: flex-start; }
.productionPerson i { flex-basis: 27px; width: 27px; height: 27px; background: #242428; font-size: 9px; }
.productionPerson > span { margin-left: 7px; font-size: 11px; font-weight: 580; }
.productionDateField,
.productionMoneyField { font-variant-numeric: tabular-nums; }

.productionStatusButton { display: grid; grid-template-columns: 8px minmax(0,1fr) 13px; align-items: center; gap: 7px; width: 100%; min-height: 34px; padding: 0 9px; border: 1px solid transparent; border-radius: 9px; color: #56575e; background: var(--prod-status-gray); font: inherit; font-size: 11px; font-weight: 680; text-align: left; cursor: pointer; transition: box-shadow .16s ease, transform .16s var(--prod-spring), filter .16s ease; }
.productionStatusButton > i { width: 8px; height: 8px; border-radius: 50%; background: #92939a; }
.productionStatusButton svg { opacity: .62; }
.productionStatusButton.status-in-progress { color: #774900; background: var(--prod-status-amber); }
.productionStatusButton.status-in-progress > i { background: #f0a31f; }
.productionStatusButton.status-blocked { color: #fff; background: #c91c24; }
.productionStatusButton.status-blocked > i { background: #fff; }
.productionStatusButton.status-ready { color: #174b85; background: var(--prod-status-blue); }
.productionStatusButton.status-ready > i { background: #468ee0; }
.productionStatusButton.status-done { color: #17643c; background: var(--prod-status-green); }
.productionStatusButton.status-done > i { background: #24a864; }
.productionStatusButton.status-planning { color: #55565d; background: #eeeef1; }
.productionStatusButton:hover { box-shadow: 0 5px 14px rgba(17,17,19,.1); filter: saturate(1.04); transform: translateY(-1px); }
.productionProjectStatus.compact { width: 132px; min-height: 32px; }

.productionSubitemLane { position: relative; background: linear-gradient(90deg,#f4f4f7 0,#fafafd 56px,#fafafd 100%); }
.productionSubitemLane::before { position: absolute; z-index: 2; top: 0; bottom: 16px; left: 40px; width: 1px; background: #cfd0d6; content: ""; }
.productionSubitemLane > .productionTableRow.subitem { background: #fafafd !important; }
.productionSubitemLane > .productionTableRow.subitem::after { position: absolute; z-index: 2; top: 24px; left: 40px; width: 15px; height: 1px; background: #cfd0d6; content: ""; }
.productionSubitemLane .productionRowGrip { opacity: .15; }
.productionSubitemAdd { position: relative; z-index: 3; display: grid; grid-template-columns: 58px minmax(0,1fr) 64px; min-height: 44px; border-bottom: 1px solid #e1e1e5; background: #fafafd; }
.productionSubitemAdd > span { display: grid; place-items: center; color: #898a91; }
.productionSubitemAdd input { min-width: 0; padding: 0 8px; border: 0; outline: 0; color: #252529; background: transparent; font: inherit; font-size: 11px; }
.productionSubitemAdd button { align-self: center; min-height: 30px; margin: 5px 7px; border: 1px solid #d7d7dc; border-radius: 8px; color: #313136; background: #fff; font: inherit; font-size: 10px; font-weight: 650; opacity: 0; pointer-events: none; }
.productionSubitemAdd:focus-within button { opacity: 1; pointer-events: auto; }

.productionInlineTitleForm { inset: 6px 75px 6px 58px; }
.productionInlineTitleForm input { border-color: #bfc0c7; font-size: 12px; font-weight: 580; box-shadow: 0 0 0 3px rgba(17,17,19,.055); }
.productionTableRow.isRenaming { background: #fafafc !important; box-shadow: inset 0 0 0 1px #dddde2 !important; transform: none; }
.productionInlineAdd { grid-template-columns: 40px minmax(0,1fr) 92px !important; min-height: 47px; }
.productionInlineAdd input { font-size: 12px; }
.productionInlineAdd small { font-size: 9px; }
.productionInlineAdd:focus-within { min-height: 55px; background: #fafafc !important; box-shadow: inset 0 0 0 1px #dedee3 !important; }
.productionInlineAdd:focus-within .productionAddIcon { color: #5d5e65; transform: none; }
.productionInlineAdd button { min-height: 34px !important; color: #fff; background: #1b1b1f !important; font-size: 10px; }
.productionTableRow.justCreated { animation: productionItemArriveClean .65s var(--prod-spring) both !important; }
@keyframes productionItemArriveClean { from { opacity: .2; background: #eaf8f0 !important; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.productionQuickMenu { position: fixed; z-index: 5100; inset: 0; visibility: hidden; pointer-events: none; }
.productionQuickMenu.show { visibility: visible; pointer-events: auto; }
.productionQuickScrim { position: absolute; inset: 0; border: 0; background: transparent; }
.productionQuickPanel { position: fixed; z-index: 1; max-height: min(520px,calc(100dvh - 28px)); overflow: auto; border: 1px solid #d9d9df; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(17,17,19,.2),0 3px 12px rgba(17,17,19,.08); opacity: 0; transform: translateY(6px) scale(.98); transform-origin: 50% 0; transition: opacity .15s ease, transform .2s var(--prod-spring); }
.productionQuickMenu.show .productionQuickPanel { opacity: 1; transform: none; }
.productionQuickHead { display: grid; gap: 4px; padding: 16px 17px 12px; border-bottom: 1px solid #ececef; }
.productionQuickHead > span,
.productionMoveHead > span,
.productionConfirmHead > span { color: var(--prod-red); font-size: 10px; font-weight: 760; letter-spacing: .1em; }
.productionQuickHead > b { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.productionStatusPalette { display: grid; gap: 5px; padding: 9px; }
.productionStatusPalette > button { display: grid; grid-template-columns: 11px minmax(0,1fr) 18px; align-items: center; gap: 10px; min-height: 54px; padding: 7px 11px; border: 1px solid transparent; border-radius: 11px; color: #4f5057; background: #f3f3f5; font: inherit; text-align: left; cursor: pointer; }
.productionStatusPalette > button > i { width: 10px; height: 10px; border-radius: 50%; background: #92939a; }
.productionStatusPalette > button span { display: grid; gap: 2px; }
.productionStatusPalette > button b { font-size: 12px; }
.productionStatusPalette > button small { color: currentColor; font-size: 10px; font-weight: 500; opacity: .7; }
.productionStatusPalette > button.status-in-progress { color: #774900; background: var(--prod-status-amber); }
.productionStatusPalette > button.status-in-progress > i { background: #f0a31f; }
.productionStatusPalette > button.status-blocked { color: #fff; background: #c91c24; }
.productionStatusPalette > button.status-blocked > i { background: #fff; }
.productionStatusPalette > button.status-ready { color: #174b85; background: var(--prod-status-blue); }
.productionStatusPalette > button.status-ready > i { background: #468ee0; }
.productionStatusPalette > button.status-done { color: #17643c; background: var(--prod-status-green); }
.productionStatusPalette > button.status-done > i { background: #24a864; }
.productionStatusPalette > button:hover { border-color: rgba(17,17,19,.15); filter: saturate(1.06); transform: translateX(2px); }
.productionPersonChoices { display: grid; gap: 4px; max-height: 260px; padding: 9px; overflow: auto; }
.productionPersonChoices > button { display: grid; grid-template-columns: 32px minmax(0,1fr) 18px; align-items: center; gap: 9px; min-height: 43px; padding: 4px 9px; border: 0; border-radius: 10px; color: #303035; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.productionPersonChoices > button:hover { background: #f3f3f5; }
.productionPersonChoices i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: #242428; font-size: 9px; font-style: normal; }
.productionPersonChoices span { font-size: 12px; font-weight: 600; }
.productionQuickForm { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 12px; border-top: 1px solid #ececef; background: #fafafc; }
.productionQuickFormSolo { border-top: 0; }
.productionQuickForm label { display: grid; gap: 5px; }
.productionQuickForm label span { color: #777880; font-size: 10px; font-weight: 650; }
.productionQuickForm input,
.productionMoveForm select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #d3d3d9; border-radius: 10px; outline: 0; color: #202024; background: #fff; font: inherit; font-size: 12px; }
.productionQuickForm input:focus,
.productionMoveForm select:focus { border-color: #92939b; box-shadow: 0 0 0 3px rgba(17,17,19,.055); }
.productionQuickForm > button { align-self: end; min-height: 42px; padding: 0 13px; border: 0; border-radius: 10px; color: #fff; background: #1b1b1f; font: inherit; font-size: 11px; font-weight: 680; }
.productionActionList { display: grid; gap: 4px; padding: 8px; }
.productionActionList > button { display: grid; grid-template-columns: 38px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 10px; min-height: 58px; padding: 8px 10px; border: 0; border-radius: 11px; color: #29292e; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.productionActionList > button:hover { background: #f3f3f5; }
.productionActionList > button > span { grid-row: 1/3; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #4e4f56; background: #ececef; font-size: 17px; }
.productionActionList > button > b { align-self: end; font-size: 12px; }
.productionActionList > button > small { align-self: start; color: #85868d; font-size: 10px; }
.productionActionList > button.danger { color: #af161c; }
.productionActionList > button.danger > span { color: #b3161c; background: #ffe8e8; }

.productionActionModal { position: fixed; z-index: 5200; inset: 0; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .18s ease,visibility 0s linear .2s; }
.productionActionModal.show { visibility: visible; opacity: 1; transition-delay: 0s; }
.productionActionScrim { position: absolute; inset: 0; border: 0; background: rgba(15,15,17,.44); backdrop-filter: blur(7px); }
.productionActionDialog { position: relative; width: min(500px,calc(100vw - 30px)); max-height: 90dvh; overflow: auto; border-radius: 22px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.26); opacity: 0; transform: translateY(15px) scale(.97); transition: opacity .2s ease,transform .3s var(--prod-spring); }
.productionActionModal.show .productionActionDialog { opacity: 1; transform: none; }
.productionConfirmHead,
.productionMoveHead { position: relative; padding: 25px 26px 20px; }
.productionConfirmHead > button,
.productionMoveHead > button { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid #e0e0e4; border-radius: 11px; color: #57585f; background: #fff; font-size: 19px; }
.productionConfirmIcon { display: grid; place-items: center; width: 48px; height: 48px; margin: 24px 0 13px; border-radius: 15px; color: #303035; background: #eeeef1; font-size: 21px; font-weight: 700; }
.productionConfirmIcon.danger { color: #b4161c; background: #ffe8e8; }
.productionConfirmHead h2,
.productionMoveHead h2 { margin: 9px 0 0; color: #151517; font-size: 24px; letter-spacing: -.035em; }
.productionConfirmHead p,
.productionMoveHead p { margin: 8px 0 0; color: #696a72; font-size: 12px; line-height: 1.55; }
.productionConfirmActions { display: flex; justify-content: flex-end; gap: 9px; padding: 17px 26px 24px; border-top: 1px solid #ececef; }
.productionConfirmActions button,
.productionMoveForm footer button { min-height: 43px; padding: 0 15px; border: 1px solid #dcdce1; border-radius: 11px; color: #34343a; background: #fff; font: inherit; font-size: 11px; font-weight: 680; }
.productionConfirmActions button.productionPrimary,
.productionMoveForm footer button.productionPrimary { border-color: #1b1b1f; color: #fff; background: #1b1b1f; }
.productionConfirmActions button.danger { border-color: #bd171e; color: #fff; background: #bd171e; }
.productionMoveForm { display: grid; gap: 18px; padding: 0 26px 24px; }
.productionMoveForm label { display: grid; gap: 7px; }
.productionMoveForm label span { color: #686970; font-size: 10px; font-weight: 680; }
.productionMoveForm footer { display: flex; justify-content: flex-end; gap: 9px; }

.productionBoardRecovery { margin: 0 27px 22px; padding: 18px; border: 1px solid #dedee3; border-radius: 15px; background: #fafafc; }
.productionBoardRecovery > span { color: var(--prod-red); font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.productionBoardRecovery h3 { margin: 6px 0 3px; font-size: 16px; }
.productionBoardRecovery p { margin: 0 0 11px; color: #73747b; font-size: 11px; }
.productionBoardRecovery > div { display: grid; gap: 6px; }
.productionBoardRecovery button { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: 42px; padding: 5px 9px; border: 1px solid #e1e1e5; border-radius: 10px; color: #2d2d32; background: #fff; font: inherit; text-align: left; }
.productionBoardRecovery button i { color: #85868d; font-size: 9px; font-style: normal; }
.productionBoardRecovery button b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.productionBoardRecovery button span { color: var(--prod-red); font-size: 10px; font-weight: 680; }

@media (max-width: 1120px) and (min-width: 768px) {
  .productionTableHead,
  .productionTableRow { grid-template-columns: minmax(310px,1fr) 135px 140px 105px 105px; }
  .productionGroupTitle { max-width: 320px; }
  .productionGroupBudget { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 767px) {
  .productionMobile .productionBoardTitle h1 { font-size: 28px; font-weight: 760; }
  .productionMobile .productionMondayHeader p { font-size: 12px; }
  .productionMobile .productionGroups { gap: 18px; padding-right: 8px; padding-left: 8px; }
  .productionMobile .productionGroup { border-radius: 15px; }
  .productionMobile .productionGroupHeader { flex-wrap: wrap; min-height: 58px; padding: 7px 8px 7px 5px; }
  .productionMobile .productionGroupTitle { flex: 1 1 180px; max-width: none; font-size: 15px; }
  .productionMobile .productionGroupCount { display: none; }
  .productionMobile .productionGroupQuick { order: 5; width: 100%; margin: 4px 2px 0 34px; }
  .productionMobile .productionProjectStatus.compact { flex: 1; width: auto; }
  .productionMobile .productionGroupBudget { flex: 1; min-width: 0; }
  .productionMobile .productionGroupMenu { flex: 0 0 34px; display: grid; opacity: 1; }
  .productionMobile .productionTableHead,
  .productionMobile .productionTableRow { grid-template-columns: minmax(0,1fr) 116px; }
  .productionMobile .productionTableHead > div:nth-child(2),
  .productionMobile .productionTableHead > div:nth-child(4),
  .productionMobile .productionTableHead > div:nth-child(5),
  .productionMobile .productionPeopleCell,
  .productionMobile .productionDateCell,
  .productionMobile .productionBudgetCell { display: none !important; }
  .productionMobile .productionTableHead > div:nth-child(3) { display: flex; grid-column: 2; }
  .productionMobile .productionTableRow { min-height: 55px; }
  .productionMobile .productionCell { padding: 6px 5px; }
  .productionMobile .productionStatusButton { min-height: 37px; padding: 0 7px; font-size: 10px; }
  .productionMobile .productionSubitemSpacer { flex-basis: 21px; width: 21px; }
  .productionMobile .productionSubitemToggle { flex-basis: 30px !important; width: 30px !important; min-width: 30px !important; }
  .productionMobile .productionRowTitleButton { padding-left: calc(var(--row-depth,0) * 9px) !important; font-size: 11px !important; }
  .productionMobile .productionRowMenu { flex-basis: 30px !important; opacity: 1; }
  .productionMobile .productionRowItem > button.productionUpdateBubble { flex-basis: 34px; width: 34px; }
  .productionMobile .productionInlineTitleForm { inset: 6px 65px 6px 6px; display: flex; }
  .productionMobile .productionSubitemLane::before,
  .productionMobile .productionSubitemLane > .productionTableRow.subitem::after { left: 22px; }
  .productionMobile .productionSubitemAdd { grid-template-columns: 40px minmax(0,1fr) 57px; }
  .productionMobile .productionInlineAdd { grid-template-columns: 34px minmax(0,1fr) 75px !important; }
  .productionMobile .productionInlineAdd button { font-size: 9px !important; }
  .productionQuickPanel { right: 10px !important; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px !important; top: auto !important; width: auto !important; max-height: min(72dvh,620px); border-radius: 22px; transform: translateY(24px) scale(.985); transform-origin: 50% 100%; }
  .productionQuickScrim { background: rgba(15,15,17,.22); backdrop-filter: blur(3px); }
  .productionQuickHead { padding: 18px 18px 13px; }
  .productionActionModal { place-items: end center; }
  .productionActionDialog { width: 100%; max-height: 88dvh; border-radius: 25px 25px 0 0; transform: translateY(50px); }
  .productionConfirmHead,
  .productionMoveHead { padding: 24px 20px 18px; }
  .productionConfirmActions,
  .productionMoveForm { padding-right: 20px; padding-left: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .productionBoardRecovery { margin-right: 20px; margin-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .productionQuickPanel,
  .productionActionDialog,
  .productionStatusButton { transition: none !important; }
}

/* Interaction system v2 — responsive, tactile, and intentionally restrained. */
:root {
  --prod-spring: cubic-bezier(.2,.86,.24,1);
  --prod-shadow-hover: 0 13px 34px rgba(23,23,25,.09), 0 2px 7px rgba(23,23,25,.045);
}

.productionApp button,
.productionDrawer button,
.productionBoardModal button {
  -webkit-tap-highlight-color: transparent;
}
.productionApp button:not(:disabled),
.productionDrawer button:not(:disabled),
.productionBoardModal button:not(:disabled) {
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .2s ease, transform .18s var(--prod-spring), opacity .16s ease;
}
.productionApp button:not(:disabled):active,
.productionDrawer button:not(:disabled):active,
.productionBoardModal button:not(:disabled):active { transform: scale(.965); }
.productionHasPulse { position: relative !important; isolation: isolate; overflow: hidden !important; }
.productionTapPulse {
  position: absolute;
  z-index: 20;
  width: 12px;
  height: 12px;
  margin: -6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .13;
  pointer-events: none;
  animation: productionTapPulse .5s ease-out forwards;
}
@keyframes productionTapPulse {
  from { opacity: .16; transform: scale(0); }
  to { opacity: 0; transform: scale(18); }
}

.productionActionNotice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 6100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px,calc(100vw - 28px));
  padding: 11px 16px 11px 11px;
  border: 1px solid #dedee3;
  border-radius: 15px;
  color: #222226;
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 60px rgba(17,17,19,.2), 0 3px 10px rgba(17,17,19,.06);
  opacity: 0;
  transform: translateY(14px) scale(.97);
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity .2s ease, transform .3s var(--prod-spring);
}
.productionActionNotice.show { opacity: 1; transform: none; }
.productionActionNotice i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: #171719; font-size: 12px; font-style: normal; font-weight: 900; }
.productionActionNotice.error i { background: var(--prod-red); }
.productionActionNotice span { font-size: 10px; font-weight: 780; }

.productionAddBoard { transform-origin: center; }
.productionAddBoard:hover { box-shadow: 0 9px 24px rgba(237,23,23,.1) !important; transform: translateY(-1px); }
.productionBoardRail > button:not(.productionAddBoard),
.productionBoardRail details button { overflow: hidden; }
.productionBoardRail > button:not(.productionAddBoard)::before,
.productionBoardRail details button::before {
  position: absolute;
  inset: 5px auto 5px 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--prod-red);
  content: "";
  opacity: 0;
  transform: scaleY(.25);
  transition: opacity .16s ease, transform .22s var(--prod-spring);
}
.productionBoardRail > button:not(.productionAddBoard):hover,
.productionBoardRail details button:hover { transform: translateX(3px); }
.productionBoardRail > button.active::before,
.productionBoardRail details button.active::before { opacity: 1; transform: none; }
.productionBoardRail > button.active,
.productionBoardRail details button.active { box-shadow: 0 7px 19px rgba(237,23,23,.075) !important; }

.productionNewItem,
.productionCreateToggle { box-shadow: 0 8px 20px rgba(237,23,23,.18) !important; }
.productionCreate:hover .productionNewItem,
.productionCreate:hover .productionCreateToggle { box-shadow: 0 12px 26px rgba(237,23,23,.25) !important; transform: translateY(-1px); }
.productionCreateMenu { box-shadow: 0 24px 64px rgba(17,17,19,.18), 0 3px 10px rgba(17,17,19,.05) !important; }
.productionCreateMenu > button { position: relative; overflow: hidden; }
.productionCreateMenu > button::after { position: absolute; right: 14px; color: #9c9da4; content: "›"; opacity: 0; transform: translateX(-5px); transition: opacity .16s ease, transform .2s var(--prod-spring); }
.productionCreateMenu > button:hover { background: #f6f6f8 !important; transform: translateX(2px); }
.productionCreateMenu > button:hover::after { opacity: 1; transform: none; }
.productionMondaySearch,
.productionToolbarSelect { transition: border-color .16s ease, box-shadow .18s ease, transform .18s var(--prod-spring); }
.productionToolbarSelect:hover { transform: translateY(-1px); }

.productionGroup { transition: border-color .18s ease, box-shadow .22s ease, transform .22s var(--prod-spring), opacity .16s ease !important; }
.productionGroup:hover { border-color: #d7d7dc; box-shadow: var(--prod-shadow-hover) !important; transform: translateY(-1px); }
.productionGroupHeader { position: relative; transition: background-color .18s ease; }
.productionGroup:hover .productionGroupHeader { background: linear-gradient(90deg,color-mix(in srgb,var(--group-color) 5%,#fff),#fff 38%); }
.productionGroupTitle { transition: transform .2s var(--prod-spring); }
.productionGroupHeader:hover .productionGroupTitle { transform: translateX(2px); }
.productionGroupMenu { transform: scale(.9); }
.productionGroup:hover .productionGroupMenu { opacity: 1; transform: none; }
.productionGroupMenu:hover { box-shadow: 0 4px 13px rgba(17,17,19,.08); }

.productionTableRow { isolation: isolate; }
.productionTableRow::before {
  position: absolute;
  z-index: 6;
  inset: 5px auto 5px 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--group-color,var(--prod-red));
  content: "";
  opacity: 0;
  transform: scaleY(.25);
  transition: opacity .14s ease, transform .22s var(--prod-spring);
}
.productionTableRow:hover {
  z-index: 3;
  background: #f6f7f9 !important;
  box-shadow: 0 7px 18px rgba(17,17,19,.07), inset 0 1px #fff, inset 0 -1px #dddde2 !important;
  transform: translateY(-1px);
}
.productionTableRow:hover::before,
.productionTableRow:focus-within::before { opacity: 1; transform: none; }
.productionRowItem { position: relative; overflow: hidden; }
.productionRowGrip { position: relative; flex: 0 0 31px; width: 31px !important; font-size: 0 !important; }
.productionRowGrip::before,
.productionRowGrip::after { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .16s ease, transform .2s var(--prod-spring); }
.productionRowGrip::before { content: "⠿"; font-size: 12px; opacity: .32; }
.productionRowGrip::after { color: var(--group-color,var(--prod-red)); content: "›"; font-size: 20px; font-weight: 700; opacity: 0; transform: translateX(-5px); }
.productionTableRow:hover .productionRowGrip::before { opacity: 0; transform: translateX(4px); }
.productionTableRow:hover .productionRowGrip::after { opacity: 1; transform: none; }
.productionRowTitleButton { flex: 1 1 auto !important; }
.productionRowTitle { transition: color .16s ease, transform .2s var(--prod-spring); }
.productionTableRow:hover .productionRowTitle { color: #08080a; transform: translateX(2px); }
.productionRowExpand {
  display: grid !important;
  flex: 0 0 32px !important;
  place-items: center;
  width: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid transparent !important;
  color: #8d8e95 !important;
  background: transparent !important;
  opacity: 0;
  transform: translateX(5px) scale(.88);
  pointer-events: none;
}
.productionTableRow:hover .productionRowExpand,
.productionTableRow:focus-within .productionRowExpand { opacity: 1; transform: none; pointer-events: auto; }
.productionRowExpand:hover { border-left-color: #dedee3 !important; color: var(--prod-red) !important; background: #fff !important; }
.productionUpdateBubble { transition: color .16s ease, background .16s ease, transform .18s var(--prod-spring) !important; }
.productionUpdateBubble:hover { transform: scale(1.08); }
.productionPerson i { transition: box-shadow .18s ease, transform .2s var(--prod-spring); }
.productionTableRow:hover .productionPerson i { box-shadow: 0 5px 14px rgba(17,17,19,.17); transform: scale(1.06); }
.productionStatusCell { transition: box-shadow .17s ease, transform .18s var(--prod-spring), filter .16s ease; }
.productionStatusCell:hover { box-shadow: 0 5px 13px rgba(17,17,19,.1); filter: saturate(1.08); transform: translateY(-1px); }

.productionInlineTitleForm {
  position: absolute;
  z-index: 9;
  inset: 4px 76px 4px 31px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  visibility: hidden;
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
  transition: opacity .16s ease, transform .2s var(--prod-spring), visibility 0s linear .2s;
}
.productionInlineTitleForm input { min-width: 0; flex: 1; padding: 0 10px; border: 1px solid rgba(237,23,23,.52); border-radius: 8px; outline: 0; color: var(--prod-ink); background: #fff; font: inherit; font-size: 10px; font-weight: 680; box-shadow: 0 0 0 3px rgba(237,23,23,.07), 0 5px 14px rgba(17,17,19,.08); }
.productionInlineTitleForm button { flex: 0 0 31px; width: 31px; padding: 0; border: 0; border-radius: 8px; color: #fff; background: #171719; font-size: 11px; font-weight: 900; }
.productionInlineTitleForm button[data-prod-cancel-rename] { color: #66676e; background: #ececef; }
.productionTableRow.isRenaming { z-index: 5; background: #fff8f8 !important; box-shadow: 0 9px 24px rgba(17,17,19,.09) !important; transform: translateY(-1px); }
.productionTableRow.isRenaming .productionInlineTitleForm { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.productionTableRow.isRenaming .productionRowTitleButton,
.productionTableRow.isRenaming .productionRowExpand,
.productionTableRow.isRenaming .productionUpdateBubble { opacity: 0; pointer-events: none; }

.productionInlineAdd {
  grid-template-columns: 35px minmax(0,1fr) 88px !important;
  min-height: 44px;
  overflow: hidden;
  transition: min-height .25s var(--prod-spring), background-color .18s ease, box-shadow .2s ease;
}
.productionInlineAdd > label { display: grid; align-content: center; min-width: 0; padding: 6px 8px; cursor: text; }
.productionInlineAdd input { width: 100%; padding: 0 !important; }
.productionInlineAdd small { max-height: 0; margin-top: 0; overflow: hidden; color: #92939a; font-size: 7px; opacity: 0; transform: translateY(-3px); transition: max-height .22s ease, margin .22s ease, opacity .17s ease, transform .22s var(--prod-spring); }
.productionInlineAdd .productionAddIcon { transition: color .17s ease, transform .23s var(--prod-spring); }
.productionInlineAdd button {
  align-self: center;
  visibility: visible !important;
  min-height: 32px !important;
  margin: 5px 6px !important;
  opacity: 0;
  transform: translateX(7px) scale(.94);
  pointer-events: none;
}
.productionInlineAdd:hover { background: #fafafc; }
.productionInlineAdd:focus-within { min-height: 61px; background: #fff !important; box-shadow: inset 4px 0 var(--prod-red), inset 0 0 0 1px rgba(237,23,23,.13), 0 8px 22px rgba(17,17,19,.055) !important; }
.productionInlineAdd:focus-within small { max-height: 12px; margin-top: 3px; opacity: 1; transform: none; }
.productionInlineAdd:focus-within .productionAddIcon { color: var(--prod-red); transform: rotate(90deg) scale(1.08); }
.productionInlineAdd:focus-within button { opacity: 1; transform: none; pointer-events: auto; }

.productionBoardWorkspace.boardEntering .productionMondayHeader { animation: productionLayerIn .3s var(--prod-spring) both; }
.productionBoardWorkspace.boardEntering .productionViewTabs,
.productionBoardWorkspace.boardEntering .productionMondayToolbar { animation: productionLayerIn .34s .035s var(--prod-spring) both; }
.productionBoardWorkspace.boardEntering .productionGroups,
.productionBoardWorkspace.boardEntering .productionBoardBlank { animation: productionLayerIn .4s .07s var(--prod-spring) both; }
@keyframes productionLayerIn { from { opacity: 0; transform: translateY(9px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }

.productionDrawerScrim { background: rgba(15,15,17,.3) !important; backdrop-filter: blur(5px) saturate(90%); }
.productionDrawerPanel {
  width: min(720px,95vw) !important;
  overflow-x: hidden !important;
  border-left: 1px solid rgba(255,255,255,.7);
  border-radius: 24px 0 0 24px;
  box-shadow: -38px 0 100px rgba(17,17,19,.22), -2px 0 8px rgba(17,17,19,.06) !important;
  transform: translateX(72px) scale(.985) !important;
  transform-origin: 100% 50%;
  transition: transform .42s var(--prod-spring) !important;
}
.productionDrawer.show .productionDrawerPanel { transform: none !important; }
.productionDrawer.contentFresh #productionDrawerBody > * { animation: productionDrawerContent .34s var(--prod-spring) both; }
.productionDrawer.contentFresh #productionDrawerBody > :nth-child(2) { animation-delay: .035s; }
.productionDrawer.contentFresh #productionDrawerBody > :nth-child(3) { animation-delay: .065s; }
@keyframes productionDrawerContent { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.productionItemHead > button,
.productionDrawerHead > button { box-shadow: 0 4px 13px rgba(17,17,19,.05); }
.productionItemHead > button:hover,
.productionDrawerHead > button:hover { color: #fff !important; background: #171719 !important; box-shadow: 0 8px 20px rgba(17,17,19,.16); transform: rotate(3deg) scale(1.03); }
.productionItemTabs { gap: 7px !important; padding-top: 7px !important; }
.productionItemTabs button { border-radius: 9px 9px 0 0; }
.productionItemTabs button:hover { color: var(--prod-ink); background: #f5f5f7; }
.productionItemComposer { transition: border-color .18s ease, box-shadow .22s ease, transform .22s var(--prod-spring); }
.productionItemComposer:hover { border-color: #cccdd2; box-shadow: 0 12px 30px rgba(17,17,19,.075); transform: translateY(-1px); }
.productionItemUpdates .productionUpdate,
.productionItemProperty,
.productionItemNotes { transition: border-color .17s ease, box-shadow .2s ease, transform .2s var(--prod-spring); }
.productionItemUpdates .productionUpdate:hover,
.productionItemProperty:hover,
.productionItemNotes:hover { border-color: #d3d3d8; box-shadow: 0 8px 22px rgba(17,17,19,.055); transform: translateY(-1px); }

.productionBoardDialog { transform: translateY(22px) scale(.96) !important; opacity: .7; transition: opacity .22s ease, transform .36s var(--prod-spring) !important; }
.productionBoardModal.show .productionBoardDialog { opacity: 1; transform: none !important; }
.productionBoardForm label { transition: transform .2s var(--prod-spring); }
.productionBoardForm label:focus-within { transform: translateY(-1px); }

@media (max-width: 767px) {
  .productionActionNotice { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); left: 14px; max-width: none; }
  .productionTableRow:hover { transform: none; }
  .productionRowGrip { display: none !important; }
  .productionRowExpand { display: none !important; }
  .productionInlineTitleForm { display: none; }
  .productionInlineAdd { grid-template-columns: 31px minmax(0,1fr) 68px !important; }
  .productionInlineAdd button { font-size: 7px !important; }
  .productionDrawerPanel { width: 100% !important; border-left: 0; border-radius: 25px 25px 0 0; transform: translateY(62px) scale(.985) !important; transform-origin: 50% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .productionTapPulse { display: none !important; }
  .productionBoardWorkspace.boardEntering *,
  .productionDrawer.contentFresh #productionDrawerBody > *,
  .productionActionNotice { animation: none !important; transition: none !important; }
}

/* v3 must remain last in the cascade. */
.productionShell.productionMonday { font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif; font-size:13px; letter-spacing:normal; }
.productionBoardTitle h1 { font-size:30px; font-weight:760; letter-spacing:-.04em; }
.productionMondayHeader p { font-size:13px; }
.productionToolbarSelect>span,.productionRailLabel { font-size:10px!important; font-weight:700!important; letter-spacing:.08em!important; }
.productionToolbarSelect select,.productionMondaySearch input { font-size:12px; }
.productionGroup { overflow:visible; border:1px solid #dedee3; border-radius:16px; box-shadow:0 8px 28px rgba(17,17,19,.045)!important; }
.productionGroup:hover { border-color:#d1d1d7; box-shadow:0 13px 38px rgba(17,17,19,.075)!important; transform:translateY(-1px); }
.productionGroupHeader { min-height:56px; padding:0 12px 0 7px; border:0!important; border-radius:15px 15px 0 0; }
.productionGroupTitle { flex:0 1 auto; max-width:min(42vw,540px); font-size:16px; font-weight:720; letter-spacing:-.018em; }
.productionGroupCount { flex:0 0 auto; font-size:11px!important; }
.productionGroupQuick { display:flex; align-items:center; gap:7px; margin-left:auto; }
.productionGroupBudget { min-height:32px; padding:0 11px; border:1px solid #dedee3; border-radius:9px; color:#575860; background:#fff; font:inherit; font-size:11px; font-weight:650; cursor:pointer; }
.productionGroupMenu { flex:0 0 34px; display:grid; place-items:center; width:34px!important; height:34px!important; margin-left:2px!important; padding:0!important; border:0!important; border-radius:9px!important; opacity:.72; }
.productionGroupBody { margin-left:0; overflow:hidden; border-left-width:5px; border-radius:0 0 15px 15px; }
.productionTableHead,.productionTableRow { display:grid; grid-template-columns:minmax(360px,1fr) 160px 150px 125px 120px; min-width:820px; }
.productionTableHead { min-height:39px; color:#73747b; background:#f7f7f9; font-size:11px; font-weight:650; letter-spacing:0; text-transform:none; }
.productionTableRow { position:relative; min-height:50px; color:#202024; background:#fff!important; font-size:12px; }
.productionTableRow:hover { background:#fafafc!important; box-shadow:inset 0 1px #eeeef1,inset 0 -1px #eeeef1!important; transform:none; }
.productionTableRow::before { width:2px; }
.productionRowItem { position:relative; overflow:visible; }
.productionRowGrip { flex:0 0 26px; width:26px!important; padding-left:5px; font-size:0!important; }
.productionRowGrip::after { display:none; }
.productionTableRow:hover .productionRowGrip::before { color:var(--group-color,var(--prod-red)); opacity:.72; transform:none; }
.productionSubitemSpacer { flex:0 0 28px; width:28px; }
.productionSubitemToggle { display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:3px; flex:0 0 34px!important; width:34px!important; min-width:34px!important; padding:0!important; border:0!important; color:#777880!important; background:transparent!important; }
.productionRowTitleButton { flex:1 1 auto!important; padding:0 7px 0 calc(var(--row-depth,0)*15px)!important; font-size:12px!important; font-weight:590!important; }
.productionRowTitleButton small { margin-left:8px; padding:3px 6px; border-radius:7px; color:#72737b; background:#ebebef; font-size:9px; font-weight:650; }
.productionRowMenu { display:grid!important; place-items:center; flex:0 0 30px!important; width:30px!important; min-width:30px!important; padding:0!important; border:0!important; border-radius:8px!important; color:#777880!important; background:transparent!important; opacity:0; }
.productionTableRow:hover .productionRowMenu,.productionTableRow:focus-within .productionRowMenu { opacity:1; }
.productionRowItem>button.productionUpdateBubble { flex:0 0 42px; width:42px; padding:0; border-left:1px solid #e4e4e8; }
.productionCell { padding:5px 7px; }
.productionQuickField { display:flex; align-items:center; justify-content:center; width:100%; min-height:34px; padding:0 8px; border:1px solid transparent; border-radius:9px; color:#5f6068; background:transparent; font:inherit; font-size:11px; }
.productionPerson { width:100%; justify-content:flex-start; }
.productionPerson i { flex:0 0 27px; width:27px; height:27px; background:#242428; font-size:9px; }
.productionPerson>span { margin-left:7px; font-size:11px; font-weight:580; }
.productionSubitemLane { position:relative; background:linear-gradient(90deg,#f4f4f7 0,#fafafd 56px,#fafafd 100%); }
.productionSubitemLane>.productionTableRow.subitem { background:#fafafd!important; }
.productionInlineTitleForm { inset:6px 75px 6px 58px; }
.productionInlineTitleForm input { border-color:#bfc0c7; font-size:12px; font-weight:580; box-shadow:0 0 0 3px rgba(17,17,19,.055); }
.productionTableRow.isRenaming { background:#fafafc!important; box-shadow:inset 0 0 0 1px #dddde2!important; transform:none; }
.productionInlineAdd { grid-template-columns:40px minmax(0,1fr) 92px!important; min-height:47px; }
.productionInlineAdd input { font-size:12px; }
.productionShell.productionMonday .productionInlineAdd input:focus,
.productionShell.productionMonday .productionInlineAdd input:focus-visible { border:0!important; outline:0!important; box-shadow:none!important; }
.productionInlineAdd small { font-size:9px; }
.productionInlineAdd:focus-within { min-height:55px; background:#fafafc!important; box-shadow:inset 0 0 0 1px #dedee3!important; }
.productionInlineAdd:focus-within .productionAddIcon { color:#5d5e65; transform:none; }
.productionInlineAdd button { min-height:34px!important; color:#fff; background:#1b1b1f!important; font-size:10px; }
.productionTableRow.justCreated { animation:productionItemArriveClean .65s var(--prod-spring) both!important; }

@media (max-width:1120px) and (min-width:768px) {
  .productionTableHead,.productionTableRow { grid-template-columns:minmax(310px,1fr) 135px 140px 105px 105px; }
  .productionGroupTitle { max-width:320px; }
}
@media (max-width:767px) {
  .productionMobile .productionBoardTitle h1 { font-size:28px; font-weight:760; }
  .productionMobile .productionMondayHeader p { font-size:12px; }
  .productionMobile .productionGroups { gap:18px; padding-right:8px; padding-left:8px; }
  .productionMobile .productionGroup { min-width:0; width:100%; border-radius:15px; }
  .productionMobile .productionGroupHeader { position:relative; left:auto; flex-wrap:wrap; min-height:58px; padding:7px 8px 7px 5px; }
  .productionMobile .productionGroupTitle { flex:1 1 180px; max-width:none; font-size:15px; }
  .productionMobile .productionGroupCount { display:none; }
  .productionMobile .productionGroupQuick { order:5; width:100%; margin:4px 2px 0 34px; }
  .productionMobile .productionProjectStatus.compact { flex:1; width:auto; }
  .productionMobile .productionGroupBudget { flex:1; min-width:0; }
  .productionMobile .productionGroupMenu { flex:0 0 34px; display:grid; opacity:1; }
  .productionMobile .productionTableHead,.productionMobile .productionTableRow { grid-template-columns:minmax(0,1fr) 116px; min-width:0; }
  .productionMobile .productionTableHead>div:nth-child(2),.productionMobile .productionTableHead>div:nth-child(4),.productionMobile .productionTableHead>div:nth-child(5),.productionMobile .productionPeopleCell,.productionMobile .productionDateCell,.productionMobile .productionBudgetCell { display:none!important; }
  .productionMobile .productionTableHead>div:nth-child(3) { display:flex; grid-column:2; }
  .productionMobile .productionTableRow { min-height:55px; }
  .productionMobile .productionCell { padding:6px 5px; }
  .productionMobile .productionStatusButton { min-height:37px; padding:0 7px; font-size:10px; }
  .productionMobile .productionRowGrip { display:none!important; }
  .productionMobile .productionSubitemSpacer { flex-basis:21px; width:21px; }
  .productionMobile .productionSubitemToggle { flex-basis:30px!important; width:30px!important; min-width:30px!important; }
  .productionMobile .productionRowTitleButton { padding-left:calc(var(--row-depth,0)*9px)!important; font-size:11px!important; }
  .productionMobile .productionRowMenu { flex-basis:30px!important; opacity:1; }
  .productionMobile .productionRowItem>button.productionUpdateBubble { flex-basis:34px; width:34px; }
  .productionMobile .productionInlineTitleForm { inset:6px 65px 6px 6px; display:flex; }
  .productionMobile .productionSubitemAdd { grid-template-columns:40px minmax(0,1fr) 57px; }
  .productionMobile .productionInlineAdd { grid-template-columns:34px minmax(0,1fr) 75px!important; }
  .productionMobile .productionInlineAdd button { font-size:9px!important; }
}

/* Comfortable desktop scale: keep the board tactile instead of shrinking it to fit. */
@media (min-width:768px) {
  .productionShell.productionMonday {
    grid-template-columns:258px minmax(0,1fr);
    font-size:14px;
  }
  .productionBoardRail { padding:22px 14px 32px; }
  .productionRailBrand { min-height:56px; margin:0 6px 22px; gap:12px; }
  .productionRailBrand>img { width:44px; height:44px; border-radius:13px; }
  .productionRailBrand b { font-size:15px; }
  .productionRailBrand small { font-size:10px; }
  .productionAddBoard {
    min-height:46px!important;
    margin-bottom:24px!important;
    padding:0 13px!important;
  }
  .productionAddBoard strong { font-size:12px; }
  .productionRailLabel { margin-bottom:10px; font-size:11px!important; }
  .productionBoardRail>button:not(.productionAddBoard),
  .productionBoardRail details button {
    grid-template-columns:26px minmax(0,1fr) 7px;
    min-height:45px;
    gap:9px;
    padding:0 12px 0 10px;
    border-radius:10px;
    font-size:12px;
  }
  .productionBoardRail summary { padding:9px 10px; font-size:11px; }

  .productionBoardWorkspace {
    padding:38px 42px 110px;
    overflow-x:hidden;
  }
  .productionMondayHeader,
  .productionViewTabs,
  .productionMondayToolbar,
  .productionGroups { width:min(100%,1540px); }
  .productionBoardTitle h1 { font-size:36px!important; }
  .productionMondayHeader p { margin-top:11px; font-size:14px; line-height:1.55; }
  .productionHeaderPeople i { width:34px; height:34px; font-size:10px; }
  .productionHeaderPeople span { font-size:11px; }
  .productionTextAction {
    min-height:42px!important;
    padding:0 14px!important;
    border-radius:11px!important;
    font-size:12px!important;
  }
  .productionViewTabs { margin-top:30px; }
  .productionViewTabs button { min-height:45px; padding:0 14px; font-size:12px; }
  .productionViewTabs>span { font-size:10px; }

  .productionMondayToolbar { min-height:78px; gap:9px!important; padding:16px 0; }
  .productionNewItem,
  .productionCreateToggle { min-height:44px!important; }
  .productionNewItem { padding:0 17px!important; font-size:12px; }
  .productionCreateToggle { width:39px; }
  .productionMondaySearch,
  .productionToolbarSelect {
    height:44px!important;
    gap:9px;
    padding:0 13px;
    border-radius:11px!important;
  }
  .productionMondaySearch { min-width:210px; }
  .productionMondaySearch input { width:158px; font-size:13px; }
  .productionToolbarSelect>span { font-size:11px!important; }
  .productionToolbarSelect select { max-width:150px; font-size:13px; }

  .productionGroups { gap:32px; padding-top:8px; }
  .productionGroup { min-width:0; border-radius:18px; }
  .productionGroupHeader {
    min-height:66px;
    padding:0 15px 0 10px;
    border-radius:17px 17px 0 0;
  }
  .productionCollapse { width:36px; height:36px; }
  .productionGroupDrag { margin-right:7px; }
  .productionGroupTitle { max-width:min(46vw,620px); font-size:18px; }
  .productionGroupCount { font-size:12px!important; }
  .productionGroupQuick { gap:9px; }
  .productionGroupBudget,
  .productionProjectStatus.compact { min-height:39px; padding:0 13px; border-radius:10px; font-size:12px; }
  .productionProjectStatus.compact { width:154px; }
  .productionStatusButton>span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .productionGroupMenu {
    flex-basis:38px;
    width:38px!important;
    height:38px!important;
    border-radius:10px!important;
  }
  .productionGroupBody {
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    scrollbar-color:#c9c9ce #f4f4f6;
    scrollbar-width:thin;
  }
  .productionGroupBody::-webkit-scrollbar { height:9px; }
  .productionGroupBody::-webkit-scrollbar-track { background:#f4f4f6; }
  .productionGroupBody::-webkit-scrollbar-thumb { border:2px solid #f4f4f6; border-radius:10px; background:#c9c9ce; }
  .productionTableHead,
  .productionTableRow {
    grid-template-columns:minmax(480px,1fr) 190px 175px 150px 145px;
    min-width:1140px;
  }
  .productionTableHead { min-height:45px; font-size:12px; }
  .productionTableHead>div:first-child { padding-left:48px; }
  .productionTableRow { min-height:60px; font-size:14px; }
  .productionRowGrip { flex-basis:32px; width:32px!important; }
  .productionSubitemSpacer { flex-basis:34px; width:34px; }
  .productionSubitemToggle { flex-basis:39px!important; width:39px!important; min-width:39px!important; }
  .productionRowTitleButton {
    padding-right:10px!important;
    padding-left:calc(var(--row-depth,0)*18px)!important;
    font-size:14px!important;
  }
  .productionRowTitleButton small { font-size:10px; }
  .productionRowMenu { flex-basis:35px!important; width:35px!important; min-width:35px!important; }
  .productionRowItem>button.productionUpdateBubble { flex-basis:48px; width:48px; font-size:9px!important; }
  .productionCell { padding:7px 9px; }
  .productionQuickField { min-height:40px; padding:0 10px; border-radius:10px; font-size:13px; }
  .productionPerson i { flex-basis:31px; width:31px; height:31px; font-size:10px; }
  .productionPerson>span { margin-left:9px; font-size:13px; }
  .productionStatusButton,
  .productionStatusCell { min-height:40px!important; font-size:12px!important; }
  .productionInlineTitleForm { inset:7px 84px 7px 68px; }
  .productionInlineTitleForm input { font-size:14px; }
  .productionInlineAdd,
  .productionSubitemAdd,
  .productionGroupBody>footer,
  .productionNoRows { min-width:1140px; }
  .productionInlineAdd {
    grid-template-columns:46px minmax(0,1fr) 106px!important;
    min-height:56px;
  }
  .productionInlineAdd input { font-size:14px; }
  .productionInlineAdd small { font-size:10px; }
  .productionInlineAdd button { min-height:38px!important; font-size:11px; }
  .productionInlineAdd:focus-within { min-height:66px; }
  .productionGroupBody>footer { min-height:38px; padding:0 16px; font-size:10px; }
}

@media (min-width:768px) and (max-width:1199px) {
  .productionShell.productionMonday { grid-template-columns:222px minmax(0,1fr); }
  .productionBoardWorkspace { padding:32px 26px 100px; }
  .productionGroupTitle { max-width:360px; }
  .productionMondayToolbar { overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; }
  .productionMondayToolbar::-webkit-scrollbar { display:none; }
  .productionMondayToolbar>* { flex:0 0 auto; }
  .productionMondaySearch { min-width:180px; }
  .productionMondaySearch input { width:130px; }
}

/* Contacts live inside an item's subitem lane without pretending to be tasks. */
.productionSubitemComposer {
  display:grid;
  grid-template-columns:minmax(380px,540px) 142px 1fr;
  min-width:820px;
  border-bottom:1px solid #e1e1e5;
  background:#fafafd;
}
.productionSubitemComposer .productionSubitemAdd {
  min-width:0!important;
  border-bottom:0;
}
.productionAddContact {
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  gap:7px;
  margin:6px 8px 6px 0;
  border:1px solid #dfcfd2;
  border-radius:9px;
  color:#941723;
  background:#fff7f8;
  font:inherit;
  font-size:10px;
  font-weight:750;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.productionAddContact:hover { border-color:#e51b2a; background:#fff; transform:translateY(-1px); }
.productionContactRow {
  min-height:58px;
  background:linear-gradient(90deg,#fffafb 0,#fff 64%)!important;
}
.productionContactCell {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  min-width:0;
  gap:12px;
  padding:8px 11px 8px 58px;
}
.productionContactAvatar {
  display:grid;
  flex:0 0 34px;
  width:34px;
  height:34px;
  place-items:center;
  border:1px solid #f1cbd0;
  border-radius:50%;
  color:#d71928;
  background:linear-gradient(145deg,#fff,#fff0f2);
  box-shadow:0 5px 14px rgba(202,24,40,.08);
}
.productionContactIdentity { display:flex; flex:0 1 280px; min-width:140px; max-width:280px; flex-direction:column; gap:2px; }
.productionContactIdentity small { color:#a81c29; font-size:8px; font-weight:850; letter-spacing:.13em; }
.productionContactIdentity b { overflow:hidden; color:#17171a; font-size:13px; font-weight:730; text-overflow:ellipsis; white-space:nowrap; }
.productionContactPhone {
  display:flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 12px;
  border:1px solid #e1e1e5;
  border-radius:9px;
  color:#2f3035;
  background:#fff;
  font-size:12px;
  font-weight:650;
  text-decoration:none;
  transition:border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.productionContactPhone:hover { border-color:#e51b2a; color:#c51625; box-shadow:0 5px 15px rgba(25,25,28,.07); }
.productionContactEdit {
  min-height:34px;
  padding:0 12px;
  border:0;
  border-radius:9px;
  color:#696a70;
  background:transparent;
  font:inherit;
  font-size:10px;
  font-weight:750;
  cursor:pointer;
}
.productionContactEdit:hover { color:#b71826; background:#fff1f3; }
.productionContactMenu { flex:0 0 34px!important; width:34px!important; min-width:34px!important; opacity:1; }
.productionContactForm {
  display:grid;
  grid-template-columns:42px minmax(180px,1fr) minmax(180px,1fr) auto auto;
  align-items:end;
  min-width:820px;
  gap:9px;
  padding:10px 11px 10px 58px;
  border-bottom:1px solid #eadadd;
  background:linear-gradient(90deg,#fff5f6,#fff 58%);
  animation:productionContactReveal .28s cubic-bezier(.2,.8,.2,1) both;
}
.productionContactCell .productionContactForm { flex:1; min-width:0; margin:-8px -11px -8px -58px; border-bottom:0; }
.productionContactForm .productionContactAvatar { align-self:center; }
.productionContactForm label { display:flex; min-width:0; flex-direction:column; gap:4px; }
.productionContactForm label>span { color:#7a7173; font-size:8px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.productionContactForm input {
  width:100%;
  min-height:36px;
  padding:0 11px;
  border:1px solid #dcdce1;
  border-radius:9px;
  outline:0;
  color:#19191c;
  background:#fff;
  font:inherit;
  font-size:12px;
  box-sizing:border-box;
}
.productionContactForm input:focus { border-color:#e51b2a; box-shadow:0 0 0 3px rgba(229,27,42,.1); }
.productionContactForm button {
  min-height:36px;
  padding:0 13px;
  border:1px solid #dcdce1;
  border-radius:9px;
  color:#4c4d52;
  background:#fff;
  font:inherit;
  font-size:10px;
  font-weight:750;
  cursor:pointer;
  white-space:nowrap;
}
.productionContactForm .productionContactSave { border-color:#e51b2a; color:#fff; background:#e51b2a; }
.productionContactForm button:disabled { opacity:.55; cursor:wait; }
.productionDrawerContact .productionTask { grid-template-columns:36px minmax(0,1fr) auto; }
.productionDrawerContact .productionTask>a { display:flex; align-items:center; gap:5px; color:#c51625; font-size:11px; font-weight:750; text-decoration:none; }
@keyframes productionContactReveal { from { opacity:0; transform:translateY(-7px); } to { opacity:1; transform:none; } }

@media (min-width:768px) {
  .productionSubitemComposer,.productionContactForm { min-width:1140px; }
  .productionContactCell { padding-left:73px; }
  .productionContactForm { padding-left:73px; }
  .productionContactCell .productionContactForm { margin-left:-73px; }
}

@media (max-width:767px) {
  .productionMobile .productionSubitemComposer { grid-template-columns:minmax(0,1fr) 94px; min-width:0; }
  .productionMobile .productionAddContact { gap:4px; margin:5px 5px 5px 0; padding:0 6px; font-size:8px; }
  .productionMobile .productionContactCell { padding:8px 6px 8px 26px; gap:7px; }
  .productionMobile .productionContactAvatar { flex-basis:30px; width:30px; height:30px; }
  .productionMobile .productionContactIdentity { flex-basis:95px; min-width:0; }
  .productionMobile .productionContactIdentity b { font-size:11px; }
  .productionMobile .productionContactPhone { min-height:32px; padding:0 8px; font-size:10px; }
  .productionMobile .productionContactPhone svg { display:none; }
  .productionMobile .productionContactEdit { display:none; }
  .productionMobile .productionContactMenu { flex-basis:30px!important; width:30px!important; min-width:30px!important; }
  .productionMobile .productionContactForm {
    grid-template-columns:34px minmax(0,1fr) minmax(0,1fr);
    min-width:0;
    gap:7px;
    padding:9px 7px 9px 25px;
  }
  .productionMobile .productionContactCell .productionContactForm { margin:-8px -6px -8px -26px; }
  .productionMobile .productionContactForm .productionContactAvatar { grid-row:1/3; }
  .productionMobile .productionContactForm label { grid-row:1; }
  .productionMobile .productionContactForm button { grid-row:2; }
  .productionMobile .productionContactForm button[data-prod-contact-cancel] { grid-column:2; }
  .productionMobile .productionContactForm .productionContactSave { grid-column:3; }
}

/* Production mini date picker */
.productionDateInput {
  padding-right: 39px !important;
  cursor: pointer;
  caret-color: transparent;
  color-scheme: light;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23e91717' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 18px 18px !important;
}
.productionDateInput:hover { border-color: rgba(233,23,23,.42) !important; background-color: #fffafa !important; }
.productionDateInput:focus-visible { border-color: #e91717 !important; box-shadow: 0 0 0 3px rgba(233,23,23,.09) !important; }
.productionDateInput::-webkit-calendar-picker-indicator { width: 22px; opacity: 0; cursor: pointer; }

.productionDatePicker {
  position: fixed;
  inset: 0;
  z-index: 7200;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, visibility 0s linear .2s;
}
.productionDatePicker.show { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.productionDatePickerScrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: default; }
.productionDatePickerPanel {
  position: fixed;
  width: 336px;
  overflow: hidden;
  border: 1px solid #dedee3;
  border-radius: 18px;
  color: #18181b;
  background: rgba(255,255,255,.985);
  box-shadow: 0 24px 70px rgba(17,17,19,.2), 0 3px 12px rgba(17,17,19,.08);
  backdrop-filter: blur(22px) saturate(1.15);
  transform: translateY(-4px) scale(.985);
  transform-origin: 50% 0;
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.productionDatePicker.show .productionDatePickerPanel { transform: none; }
.productionDatePickerHead { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; align-items: center; gap: 7px; padding: 15px 15px 8px; }
.productionDatePickerHead > button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #e6e6e9;
  border-radius: 11px;
  color: #5d5e65;
  background: #fff;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.productionDatePickerHead > button:hover { color: #e91717; border-color: rgba(233,23,23,.25); background: #fff5f5; transform: translateY(-1px); }
.productionDatePickerHead > div { min-width: 0; text-align: center; }
.productionDatePickerHead span { display: block; margin-bottom: 2px; color: #e91717; font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.productionDatePickerHead h2 { margin: 0; overflow: hidden; font-size: 17px; font-weight: 850; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.productionDatePickerCurrent { min-height: 18px; margin: 0; padding: 0 17px 8px; overflow: hidden; color: #777880; font-size: 9px; font-weight: 650; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.productionDatePickerWeekdays,
.productionDatePickerGrid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.productionDatePickerWeekdays { padding: 5px 13px 2px; }
.productionDatePickerWeekdays span { display: grid; place-items: center; height: 22px; color: #9a9ba1; font-size: 7px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.productionDatePickerGrid { gap: 2px; padding: 2px 13px 12px; }
.productionDatePickerGrid button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #323339;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 720;
  cursor: pointer;
  transition: color .13s ease, background .13s ease, box-shadow .13s ease, transform .13s ease;
}
.productionDatePickerGrid button:hover:not(:disabled) { color: #a90e0e; background: #fff0f0; transform: scale(1.035); }
.productionDatePickerGrid button:focus-visible { outline: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(233,23,23,.55); }
.productionDatePickerGrid button.outside { color: #b6b7bc; }
.productionDatePickerGrid button.today:not(.selected) { color: #d31010; box-shadow: inset 0 0 0 1.5px rgba(233,23,23,.48); }
.productionDatePickerGrid button.inRange:not(.selected) { border-radius: 8px; color: #9d1111; background: #ffeaea; }
.productionDatePickerGrid button.selected,
.productionDatePickerGrid button.rangeStart,
.productionDatePickerGrid button.rangeEnd { z-index: 1; color: #fff; background: linear-gradient(145deg,#f02222,#d70d0d); box-shadow: 0 6px 14px rgba(233,23,23,.25); }
.productionDatePickerGrid button:disabled { color: #d8d8dc; background: transparent; cursor: not-allowed; text-decoration: line-through; }
.productionDatePickerPanel footer { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 55px; padding: 8px 13px; border-top: 1px solid #ececef; background: #fafafc; }
.productionDatePickerPanel footer button { min-height: 34px; padding: 0 11px; border: 1px solid #e0e0e4; border-radius: 10px; color: #55565d; background: #fff; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.productionDatePickerPanel footer button:last-child { color: #fff; border-color: #e91717; background: #e91717; }
.productionDatePickerPanel footer button:disabled { color: #b1b2b8; border-color: #e6e6e9; background: #f1f1f3; cursor: not-allowed; }
.productionDatePickerPanel footer span { overflow: hidden; color: #9a9ba1; font-size: 7px; line-height: 1.35; text-align: center; }

@media (max-width:767px) {
  .productionDatePickerScrim { background: rgba(12,12,14,.32); backdrop-filter: blur(3px); }
  .productionDatePickerPanel {
    top: auto !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px !important;
    width: auto !important;
    border-radius: 23px;
    transform: translateY(28px) scale(.99);
    transform-origin: 50% 100%;
  }
  .productionDatePickerHead { padding: 17px 17px 9px; }
  .productionDatePickerHead h2 { font-size: 20px; }
  .productionDatePickerCurrent { padding-bottom: 10px; font-size: 10px; }
  .productionDatePickerWeekdays { padding-right: 14px; padding-left: 14px; }
  .productionDatePickerGrid { gap: 3px; padding: 3px 14px 14px; }
  .productionDatePickerGrid button { height: 44px; border-radius: 13px; font-size: 12px; }
  .productionDatePickerPanel footer { min-height: 61px; padding: 9px 15px; }
  .productionDatePickerPanel footer button { min-height: 40px; padding: 0 14px; font-size: 10px; }
}

@media (prefers-reduced-motion:reduce) {
  .productionDatePicker,
  .productionDatePickerPanel,
  .productionDatePickerGrid button,
  .productionDatePickerHead > button { transition: none !important; transform: none !important; }
}

/* Project dates save independently, so a long drawer can never hide an unsaved calendar change. */
.productionDateSync {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-top: -4px;
  padding: 7px 10px;
  border: 1px solid #e2e2e6;
  border-radius: 10px;
  color: #6f7078;
  background: #fafafc;
  font-size: 8px;
  font-weight: 760;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.productionDateSync i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #a9abb1;
  box-shadow: 0 0 0 4px rgba(169,171,177,.12);
}
.productionDateSync[data-state="saving"] { color: #795300; border-color: #ead9ad; background: #fffaf0; }
.productionDateSync[data-state="saving"] i { background: #e1a21a; box-shadow: 0 0 0 4px rgba(225,162,26,.14); animation: productionDateSaving 1s ease-in-out infinite; }
.productionDateSync[data-state="saved"] { color: #17643c; border-color: #c9e8d8; background: #f3fcf7; }
.productionDateSync[data-state="saved"] i { background: #2d9560; box-shadow: 0 0 0 4px rgba(45,149,96,.13); }
.productionDateSync[data-state="error"] { color: #a8141d; border-color: #efc3c6; background: #fff5f5; }
.productionDateSync[data-state="error"] i { background: #d92532; box-shadow: 0 0 0 4px rgba(217,37,50,.12); }
.productionLongScheduleSlot:empty { display: none; }
.productionLongSchedule {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #eadbb9;
  border-radius: 12px;
  color: #664b12;
  background: #fffaf0;
}
.productionLongSchedule > svg { width: 17px; margin-top: 1px; flex: 0 0 auto; color: #d08c0d; }
.productionLongSchedule span { display: grid; gap: 3px; }
.productionLongSchedule b { font-size: 9px; }
.productionLongSchedule small { color: #8d7441; font-size: 8px; line-height: 1.45; }

@keyframes productionDateSaving {
  0%,100% { opacity: .45; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width:767px) {
  .productionDateSync { min-height: 35px; font-size: 9px; }
  .productionLongSchedule { padding: 12px; }
  .productionLongSchedule b { font-size: 10px; }
  .productionLongSchedule small { font-size: 9px; }
}

@media (prefers-reduced-motion:reduce) {
  .productionDateSync,.productionDateSync i { transition: none !important; animation: none !important; }
}
