/* v377 — operational scheduling performance and practical planning */
.schedule374[data-schedule377="1"]{--s377-red:#98282b;--s377-ink:#102033;--s377-muted:#64748b;--s377-line:#dbe4ec;--s377-soft:#f6f9fb;--s377-green:#147a5a;--s377-amber:#b7791f}
.schedule374[data-schedule377="1"] *{box-sizing:border-box}
.schedule374[data-schedule377="1"] .schedule374-commandbar,.schedule374[data-schedule377="1"] .schedule374-readiness,.schedule374[data-schedule377="1"] .schedule374-tabs,.schedule374[data-schedule377="1"] .schedule376-mode-switch,.schedule374[data-schedule377="1"] .schedule374-panel{box-shadow:none!important}
.schedule374[data-schedule377="1"] .schedule374-commandbar{border:1px solid var(--s377-line);background:#fff;padding:18px 20px;gap:18px}
.schedule374[data-schedule377="1"] .schedule374-titleblock p{max-width:620px}
.schedule374[data-schedule377="1"] .schedule374-datebox{background:var(--s377-soft);border:1px solid var(--s377-line);border-radius:16px;padding:6px}
.schedule374[data-schedule377="1"] .schedule374-datebox input{font-weight:900;color:var(--s377-ink)}
.schedule374[data-schedule377="1"] .schedule377-refresh{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#fff;border:1px solid var(--s377-line)}
.schedule374[data-schedule377="1"] .schedule376-mode-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:transparent;border:0;padding:0}
.schedule374[data-schedule377="1"] .schedule376-mode-switch a{min-height:66px;border:1px solid var(--s377-line);box-shadow:none;padding:10px 12px}
.schedule374[data-schedule377="1"] .schedule376-mode-switch a.active{border-color:var(--s377-red);background:#fff7f7}
.schedule374[data-schedule377="1"] .schedule374-readiness{padding:12px 16px;min-height:auto}
.schedule374[data-schedule377="1"] .schedule374-readiness-score .ring{width:58px;height:58px}
.schedule374[data-schedule377="1"] .schedule374-tabs{position:sticky;top:4px;z-index:20;background:rgba(238,243,247,.94);backdrop-filter:blur(8px);padding:6px;border-radius:14px}
.schedule374[data-schedule377="1"] .schedule374-tabs button{min-height:44px}
.schedule374[data-schedule377="1"] .schedule374-planner{grid-template-columns:minmax(0,1fr) 330px;gap:12px;align-items:start}
.schedule374[data-schedule377="1"] .schedule374-operations,.schedule374[data-schedule377="1"] .schedule374-roster{border:1px solid var(--s377-line);box-shadow:none;background:#fff}
.schedule374[data-schedule377="1"] .schedule374-roster{position:sticky;top:62px;max-height:calc(100vh - 76px);overflow:hidden}
.schedule374[data-schedule377="1"] .schedule374-roster-list{overflow:auto;max-height:calc(100vh - 300px);overscroll-behavior:contain}
.schedule374[data-schedule377="1"] .schedule374-operation-list{display:grid;gap:10px}
.schedule374[data-schedule377="1"] .schedule377-operation{content-visibility:auto;contain:layout style paint;contain-intrinsic-size:210px;border-radius:16px;box-shadow:none;transition:none!important}
.schedule374[data-schedule377="1"] .schedule377-operation:hover{transform:none!important;box-shadow:0 8px 20px rgba(15,32,51,.06)!important}
.schedule374[data-schedule377="1"] .schedule374-op-time{width:78px}
.schedule374[data-schedule377="1"] .schedule374-op-time em{font-size:11px;font-weight:1000;color:var(--s377-muted);background:#eef3f7;border-radius:999px;padding:4px 8px}
.schedule374[data-schedule377="1"] .schedule374-op-time b{font-size:20px}
.schedule374[data-schedule377="1"] .schedule374-op-content{padding:14px 14px 12px}
.schedule374[data-schedule377="1"] .schedule374-op-content header{margin-bottom:6px}
.schedule374[data-schedule377="1"] .schedule374-op-title h3{font-size:17px;line-height:1.15;margin-top:5px}
.schedule374[data-schedule377="1"] .schedule374-op-meta{gap:7px 14px;margin:6px 0 10px}
.schedule374[data-schedule377="1"] .schedule374-op-meta span{font-size:11px}
.schedule374[data-schedule377="1"] .schedule374-staffing-head{margin-top:6px}
.schedule374[data-schedule377="1"] .schedule374-staffing-slots{gap:7px}
.schedule374[data-schedule377="1"] .schedule374-slot{min-height:46px;border-radius:11px}
.schedule374[data-schedule377="1"] .schedule374-suggestions{margin-top:7px;gap:5px}
.schedule374[data-schedule377="1"] .schedule374-suggestions button{padding:6px 8px;border-radius:8px;font-size:10px}
.schedule374[data-schedule377="1"] .schedule374-op-status{width:94px}
.schedule374[data-schedule377="1"] .schedule374-employee{content-visibility:auto;contain-intrinsic-size:56px;transition:none!important}
.schedule374[data-schedule377="1"] .schedule374-employee .identity b{font-size:12px}
.schedule374[data-schedule377="1"] .schedule374-employee .identity small{font-size:9px}
.schedule374[data-schedule377="1"] .schedule375-quick-program{border:1px solid #e2e8ef;background:linear-gradient(180deg,#fbfdff,#f6f9fb);box-shadow:none}
.schedule374[data-schedule377="1"] .schedule375-quick-grid{grid-template-columns:1.2fr .9fr .7fr .65fr 1.5fr 1.2fr 1.2fr .8fr .65fr auto;gap:7px}
.schedule374[data-schedule377="1"] .schedule375-quick-grid label span{font-size:8px}
.schedule374[data-schedule377="1"] .schedule375-quick-grid input,.schedule374[data-schedule377="1"] .schedule375-quick-grid select{height:38px;border-radius:9px}
.schedule374[data-schedule377="1"] .schedule376-terminal-search input[type=search]{min-width:0}
.schedule374[data-schedule377="1"] .schedule376-auto-sync{border:1px solid #cfe2db;background:#f1faf6;border-radius:14px;box-shadow:none}
.schedule374[data-schedule377="1"] .schedule376-auto-sync button{background:var(--s377-green);border-radius:10px}
.schedule374[data-schedule377="1"] .schedule377-whatsapp-download{background:#128c7e!important;color:#fff!important;border-color:#128c7e!important}

/* Dedicated practical layout for vessel and non-stuffing services. */
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-planner{grid-template-columns:minmax(0,1fr) 290px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule377-services-list{gap:7px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule377-operation{display:grid;grid-template-columns:76px minmax(0,1fr) 86px;min-height:132px;border-left-width:5px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-content{padding:10px 12px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-title h3{font-size:14px;margin:0;flex:1 1 260px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-meta{display:flex;flex-wrap:wrap;margin:5px 0 7px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-staffing-head{display:none}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-staffing-slots{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-slot{min-height:36px;max-width:240px;padding:5px 7px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-slot.empty{width:170px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-suggestions{display:flex;white-space:nowrap;overflow:auto;padding-bottom:2px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-suggestions>span{display:none}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-status{padding:8px 6px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-status small{font-size:8px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-time b{font-size:17px}
.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-op-time small{display:none}

@media(max-width:1250px){
  .schedule374[data-schedule377="1"] .schedule374-planner,.schedule374[data-schedule377="1"][data-mode="services"] .schedule374-planner{grid-template-columns:1fr}
  .schedule374[data-schedule377="1"] .schedule374-roster{position:relative;top:auto;max-height:none}
  .schedule374[data-schedule377="1"] .schedule374-roster-list{max-height:360px}
  .schedule374[data-schedule377="1"] .schedule375-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
  .schedule374[data-schedule377="1"] .schedule376-mode-switch{grid-template-columns:1fr}
  .schedule374[data-schedule377="1"] .schedule374-commandbar{padding:12px}
  .schedule374[data-schedule377="1"] .schedule374-readiness{display:none}
  .schedule374[data-schedule377="1"] .schedule374-operation,.schedule374[data-schedule377="1"][data-mode="services"] .schedule377-operation{grid-template-columns:62px minmax(0,1fr)}
  .schedule374[data-schedule377="1"] .schedule374-op-status{grid-column:1/-1;width:auto;display:flex;justify-content:center;gap:8px}
  .schedule374[data-schedule377="1"] .schedule375-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
