[hidden]{display:none!important}
.task-delete{color:#ffc0c5;border-color:#9e515e}
.task-delete:hover{background:#4a2029}
#online-compact-menu{display:none}
.production-focus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.production-tile{display:grid;gap:.4rem;min-width:0;padding:1rem;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.production-tile small{color:var(--blue);font-weight:700}
.production-tile strong{overflow-wrap:anywhere;font-size:clamp(1rem,2vw,1.25rem)}
.project-dates .production-tile{align-content:start}
.project-dates .production-tile span{color:var(--muted);font-size:.82rem;overflow-wrap:anywhere}
.project-brief{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.42rem .85rem;margin-top:.8rem}
.project-brief dt{color:var(--blue);font-size:.82rem;font-weight:700}
.project-brief dd{margin:0;color:var(--text);font-size:.87rem}
.project-contacts{display:grid;align-content:start;gap:.9rem}
.project-contacts div{display:grid;gap:.2rem;padding-top:.55rem;border-top:1px solid var(--line)}
.project-contacts small{color:var(--blue);font-weight:700}
.project-contacts a{width:fit-content;color:var(--text);font-weight:700}
.production-focus [data-milestone]{--accent:#a6b3c6;--tint:#1b212b;--edge:#3d495b;background:linear-gradient(125deg,var(--tint),var(--panel) 92%);border-color:var(--edge);border-top:3px solid var(--accent);transition:filter .15s ease}
.production-focus [data-milestone] small{color:var(--accent)}
.production-focus button[data-milestone]:hover{filter:brightness(1.16)}
.production-focus button[data-milestone]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.production-focus [data-milestone="shoot"]{--accent:#8fc8ff;--tint:#192f49;--edge:#38628b}
.production-focus [data-milestone="near"]{--accent:#ffd27d;--tint:#473415;--edge:#8c6a31}
.project-dates [data-milestone="near"] strong{color:#fff2d7;font-size:clamp(1.15rem,2.1vw,1.55rem)}
.production-focus [data-milestone="next"]{--accent:#c9b6fa;--tint:#2b2441;--edge:#51436e}
.production-focus [data-milestone="active"]{--accent:#9cdbae;--tint:#203a2d;--edge:#42664e}
.project-calendar .calendar-scroll{overflow:auto;margin:.8rem 0}
.calendar-shoot-day{display:block;padding:.24rem .4rem;margin:.25rem 0;border-radius:6px;background:#132e50;color:#add4ff;font-weight:700}
.online-time{font-variant-numeric:tabular-nums}
#main .combo-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
#main .combo-card strong{font-size:1.2rem;color:var(--blue)}
#main .combo-card[data-shot-state="approved"]{border-top:2px solid #7cba90}
#main .combo-card[data-shot-state="active"]{border-top:2px solid #f2c16e}
#main .combo-card[data-shot-state="locked"]{border-top:2px solid #8eb9e8}
.priority-row{display:grid;gap:.2rem;padding:.6rem .7rem;border-bottom:1px solid var(--line);border-left:2px solid transparent}
.priority-row small{color:var(--muted)}
.priority-row[data-priority="blocked"]{border-left-color:#e4b86d;background:#352a193d}
.priority-row[data-priority="blocked"] small{color:#ffd27d}
.priority-row[data-priority="active"]{border-left-color:#8eb9e8}
.project-calendar .eventchip.pending{border-inline-start:2px solid #e4b86d!important}
.project-calendar .eventchip.active{border-inline-start:2px solid #8eb9e8!important}
.project-calendar .eventchip.finish{border-inline-start:2px solid #7cba90!important}
.task-actions{position:relative}
.task-actions summary{cursor:pointer;padding:.45rem .75rem;list-style:none;border:1px solid var(--line);border-radius:8px}
.task-actions button{display:block;margin-top:.35rem}
.owner-dialog{width:min(740px,94vw);max-height:85vh;overflow:auto;color:inherit}
.owner-dialog h2{margin-bottom:.75rem}
.owner-member{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,auto);gap:.75rem;align-items:center;overflow-wrap:anywhere}
.owner-checklist{max-height:52vh;overflow:auto;margin:.75rem 0}
.owner-lock{margin-bottom:1rem}
#saveText{color:var(--muted);font-size:.78rem}
#online-status[data-role]{display:flex;align-items:center;gap:.5rem;width:fit-content;padding:.45rem .7rem;margin:.15rem 0;border:1px solid currentColor;border-radius:8px;font-size:.78rem;font-weight:700;line-height:1.3}
#online-status[data-role]::before{content:"";width:.5rem;height:.5rem;flex:none;border-radius:50%;background:currentColor}
#online-status[data-role="guest"],#online-status[data-role="viewer"]{color:#ffe099;background:#34280e}
#online-status[data-role="editor"]{color:#add4ff;background:#132e50}
#online-status[data-role="owner"]{color:#ffc0c5;background:#4a2029}
#online-entry{width:min(32rem,calc(100% - 2rem));margin:clamp(2rem,10vh,8rem) auto;padding:clamp(1rem,5vw,2rem);background:var(--panel);border:1px solid var(--line);border-radius:16px}
#online-entry h1{font-size:clamp(1.55rem,5vw,2.1rem);line-height:1.12;margin:0 0 .75rem}
#online-choices{display:grid;grid-template-columns:1fr 1fr;gap:.625rem;margin-top:1.25rem}
#online-login{margin-top:1.25rem}
#online-login p{margin-bottom:.75rem}
#online-login input:not([type=checkbox]){width:100%;font-size:16px}
#online-login label{display:block;margin-bottom:.25rem}
#online-login .remember{display:flex;gap:.5rem;align-items:center}
.password-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}
#online-entry button{min-height:44px}
.dashboard-brand{display:grid;gap:4px;text-decoration:none;line-height:1.14;color:inherit!important;margin-bottom:.6rem}
.dashboard-brand span{font-size:1rem;letter-spacing:.08em;color:var(--blue)}
.dashboard-brand strong{font-size:clamp(1.32rem,2vw,1.65rem)}
.dashboard-brand small{font-size:.72rem;letter-spacing:.03em;color:var(--muted)}
@media(max-width:1024px){
  #main{min-width:0;max-width:100%}
  #main .table-wrap{max-width:100%;overflow:auto;overscroll-behavior-x:contain}
  #main .tabs{flex-wrap:wrap;gap:.45rem}
  #main .tabs button{min-height:40px}
}
@media(max-width:850px){
  #online-workspace .layout{display:block}
  #online-workspace .sidebar{position:static;width:auto;height:auto;padding:12px;gap:10px}
  #online-workspace #nav{display:flex;flex-wrap:wrap;gap:.35rem}
  #online-workspace #nav button{width:auto;min-height:44px}
  #online-workspace #nav .navgroup{display:none}
  #online-workspace .sidebottom{display:flex;flex-wrap:wrap;gap:.4rem;margin:0}
  #online-workspace .sidebottom button{width:auto;min-height:40px}
  #online-compact-menu{display:inline-flex}
  #online-workspace .sidebar:not(.menu-open) #nav{display:none}
  #online-workspace .sidebar:not(.menu-open) .sidebottom > :not(#online-compact-menu):not(#online-status):not(#saveText){display:none}
  #main{padding:14px}
  #main input:not([type=checkbox]),#main select,#main textarea{font-size:16px}
  #main .table-wrap table{min-width:620px}
}
@media(max-width:600px){
  .project-calendar .calendar7{min-width:650px}
  .production-focus{grid-template-columns:1fr;gap:.5rem}
  #main .table-wrap:has(.mobile-shot-row) .schedule-table{min-width:0;width:100%}
  .schedule-table:has(.mobile-shot-row) thead{display:none}
  .schedule-table:has(.mobile-shot-row) tbody{display:block}
  .schedule-table tr.mobile-shot-row{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:10px;margin-bottom:.65rem;padding:.45rem}
  .schedule-table .mobile-shot-row td{display:block;min-width:0;white-space:normal}
  .schedule-table .mobile-shot-row td::before{content:attr(data-label);display:block;color:var(--muted);font-size:.72rem}
}
@media(max-width:480px){
  #online-choices{grid-template-columns:1fr}
  #main .formgrid,#main .grid2{grid-template-columns:minmax(0,1fr)}
  #main .spread{flex-wrap:wrap}
}
