.schedule-panel{position:relative;flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto;margin:18px 0;padding:20px;border:1px solid #24362f;border-radius:14px;background:linear-gradient(145deg,rgba(12,23,19,.98),rgba(13,27,30,.97));color:#e5f7e8;scrollbar-width:thin;scrollbar-color:#375f49 transparent;overscroll-behavior:contain}
.schedule-panel::before{position:absolute;inset:0;z-index:0;border-radius:inherit;background-image:linear-gradient(rgba(89,151,111,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(89,151,111,.035) 1px,transparent 1px);background-size:28px 28px;content:"";pointer-events:none}.schedule-panel>*{position:relative;z-index:1}
.schedule-panel::-webkit-scrollbar,.schedule-timeline-scroll::-webkit-scrollbar{width:7px;height:7px}.schedule-panel::-webkit-scrollbar-track,.schedule-timeline-scroll::-webkit-scrollbar-track{background:transparent}.schedule-panel::-webkit-scrollbar-thumb,.schedule-timeline-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:#375f49}.schedule-panel::-webkit-scrollbar-thumb:hover,.schedule-timeline-scroll::-webkit-scrollbar-thumb:hover{background:#4d7d60}
.schedule-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.schedule-header h3{margin:3px 0;color:#effff1}.schedule-header p{margin:0;color:#8ea39a;font-size:12px}.schedule-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.schedule-header-actions button,.schedule-picker button,.schedule-toolbar button,.schedule-toolbar select,.schedule-toolbar input{min-height:34px;border:1px solid #355545;border-radius:8px;padding:7px 11px;background:#101d18;color:#c8efd0;font:inherit;font-size:11px;cursor:pointer}.schedule-header-actions button:hover,.schedule-picker button:hover,.schedule-toolbar button:hover{border-color:#58ce6a;background:rgba(91,236,110,.09)}
.schedule-feedback{margin:9px 0;color:#ffaaa5;font-size:12px}.schedule-feedback.is-success{color:#7ee28d}.schedule-picker{display:flex;gap:7px;overflow-x:auto;margin:13px 0;padding-bottom:2px}.schedule-picker button{display:grid;flex:0 0 auto;gap:3px;text-align:left}.schedule-picker button.is-active{border-color:#5bec6e;background:rgba(91,236,110,.13);color:#f1fff2}.schedule-picker small{color:#82988d;font-size:8px}.schedule-empty{margin:12px 0;padding:24px;border:1px dashed #355545;border-radius:10px;color:#8ea39a;text-align:center}
.schedule-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:12px 0}.schedule-summary article{display:grid;align-content:center;min-height:55px;gap:3px;padding:8px 10px;border:1px solid rgba(113,165,132,.2);border-radius:9px;background:rgba(10,22,17,.68)}.schedule-summary article.is-progress{border-color:rgba(91,236,110,.34);background:rgba(91,236,110,.07)}.schedule-summary article.is-alert{border-color:rgba(214,114,105,.34);background:rgba(214,114,105,.06)}.schedule-summary span{color:#82988d;font-size:8px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.schedule-summary strong{color:#effff1;font-size:16px;font-variant-numeric:tabular-nums}
.schedule-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:8px 0;padding:8px;border:1px solid #29453a;border-radius:9px;background:rgba(8,17,14,.7)}.schedule-toolbar label{display:grid;gap:3px;color:#84998e;font-size:8px;text-transform:uppercase}.schedule-search{flex:1 1 190px}.schedule-toolbar input{box-sizing:border-box;width:100%;cursor:text}.schedule-zoom{display:flex;gap:4px}.schedule-zoom button[aria-pressed="true"]{border-color:#5bec6e;background:rgba(91,236,110,.15);color:#effff1}
.schedule-loading{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px}.schedule-loading span{height:42px;border-radius:8px;background:linear-gradient(90deg,rgba(65,100,79,.12),rgba(96,145,112,.24),rgba(65,100,79,.12));background-size:200% 100%;animation:scheduleSkeleton 1.4s linear infinite}@keyframes scheduleSkeleton{to{background-position:-200% 0}}
.schedule-loading[hidden]{display:none}
.schedule-gantt{min-width:0;border:1px solid #2a4639;border-radius:10px;overflow:hidden;background:#0a1511}.schedule-grid{display:grid;grid-template-columns:minmax(360px,42%) minmax(0,58%);min-width:0}.schedule-fixed{position:relative;z-index:3;border-right:1px solid #345344;background:#0d1914}.schedule-grid-head,.schedule-timeline-head{height:38px;box-sizing:border-box;border-bottom:1px solid #345344;background:#14251d;color:#8fa89a;font-size:8px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.schedule-grid-head{display:flex;align-items:center;padding:0 10px}.schedule-task-info{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title progress" "meta actions";gap:4px 8px;min-height:60px;box-sizing:border-box;padding:8px 9px;border-bottom:1px solid rgba(74,111,89,.28);transition:background .18s,border-color .18s}.schedule-task-info:hover,.schedule-task-info.is-selected{background:rgba(91,236,110,.055);box-shadow:inset 3px 0 #4c9b61}.schedule-task-title{grid-area:title;display:flex;align-items:flex-start;min-width:0;gap:7px}.schedule-task-title strong{overflow:hidden;color:#e7f5e9;font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.schedule-task-code{flex:0 0 34px;color:#74a985;font-size:9px}.schedule-task-meta{grid-area:meta;overflow:hidden;color:#7f9589;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.schedule-quick-progress{grid-area:progress;display:flex;align-items:center;justify-content:flex-end;gap:4px}.schedule-quick-progress button,.schedule-row-actions button{border:1px solid #355545;border-radius:6px;background:#102019;color:#bfeac7;cursor:pointer}.schedule-quick-progress button{width:25px;height:25px;padding:0}.schedule-quick-progress b{min-width:39px;color:#e7f5e9;font-size:9px;text-align:center}.schedule-status{max-width:74px;overflow:hidden;border-radius:999px;padding:3px 6px;background:rgba(71,115,89,.22);color:#a8c8b2;font-size:7px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.status-atrasada{background:rgba(214,114,105,.13);color:#efa9a3}.status-concluida{color:#75da84}.schedule-row-actions{grid-area:actions;display:flex;justify-content:flex-end;gap:4px}.schedule-row-actions button{padding:3px 6px;font-size:8px}.schedule-row-actions .is-danger{border-color:rgba(214,114,105,.24);color:#d99d99}
.schedule-timeline-scroll{min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#375f49 transparent}.schedule-timeline{position:relative;min-width:100%;background-image:repeating-linear-gradient(90deg,transparent 0,transparent calc(var(--day-unit) - 1px),rgba(91,128,105,.12) calc(var(--day-unit) - 1px),rgba(91,128,105,.12) var(--day-unit))}.schedule-timeline-head{position:relative}.schedule-timeline-head span{position:absolute;bottom:8px;padding-left:3px;white-space:nowrap}.schedule-timeline-row{position:relative;height:60px;box-sizing:border-box;border-bottom:1px solid rgba(74,111,89,.28);transition:background .18s}.schedule-timeline-row:hover,.schedule-timeline-row.is-selected{background:rgba(91,236,110,.04)}.schedule-bar{position:absolute;top:20px;height:20px;overflow:hidden;border:1px solid rgba(108,151,126,.52);border-radius:5px;background:#203a43;box-shadow:0 5px 12px rgba(0,0,0,.18);cursor:pointer}.schedule-bar span{position:absolute;inset:0 auto 0 0;background:#3a9b55;transition:width .22s ease}.situation-atrasada .schedule-bar{border-color:rgba(214,114,105,.55);background:#3a2c31}.situation-atrasada .schedule-bar span{background:#b35f59}.situation-adiantada .schedule-bar span,.situation-concluída .schedule-bar span{background:#48b860}.schedule-today{position:absolute;z-index:2;top:0;bottom:0;width:1px;border-left:1px dashed #dfab63;color:#eac386;font-size:7px;font-weight:700;letter-spacing:.05em;writing-mode:vertical-rl;pointer-events:none}
.schedule-modal{width:min(560px,calc(100vw - 28px))}.schedule-task-modal{width:min(680px,calc(100vw - 28px))}.schedule-modal textarea,.schedule-task-modal textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid rgba(121,168,137,.4);border-radius:8px;padding:9px;background:#0c1510;color:#eaffed;font:inherit}.schedule-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.schedule-modal input,.schedule-modal select,.schedule-task-modal input,.schedule-task-modal select{box-sizing:border-box;width:100%}.schedule-export-modal{width:min(430px,calc(100vw - 28px))}.schedule-export-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.schedule-export-options button{display:grid;gap:4px;border:1px solid #355545;border-radius:10px;padding:13px;background:#0e1b15;color:#dff5e3;text-align:left;cursor:pointer}.schedule-export-options small{color:#84998e;font-size:9px}
@media(max-width:1100px){.schedule-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-grid{grid-template-columns:minmax(330px,48%) minmax(0,52%)}}
@media(max-width:760px){.schedule-panel{margin:10px 0;padding:13px}.schedule-header{flex-direction:column}.schedule-header-actions{justify-content:flex-start}.schedule-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-grid{display:block}.schedule-fixed{border-right:0}.schedule-grid-head{display:none}.schedule-task-info{min-height:86px;border:1px solid #2c493b;border-radius:9px;margin:7px;grid-template-areas:"title progress" "meta meta" "actions actions"}.schedule-timeline-scroll{margin:0 7px 10px;border:1px solid #29453a;border-radius:8px}.schedule-timeline-head{height:30px}.schedule-timeline-row{height:42px}.schedule-bar{top:11px}.schedule-today{top:0}.schedule-form-grid{grid-template-columns:1fr}.schedule-export-options{grid-template-columns:1fr}}
@media(max-width:430px){.schedule-panel{padding:10px}.schedule-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-toolbar{display:grid;grid-template-columns:1fr}.schedule-zoom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-task-info{grid-template-columns:1fr;grid-template-areas:"title" "meta" "progress" "actions"}.schedule-quick-progress,.schedule-row-actions{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.schedule-panel *{scroll-behavior:auto!important}.schedule-bar span,.schedule-task-info,.schedule-timeline-row{transition:none}.schedule-loading span{animation:none}}
.schedule-task-info{grid-template-areas:"title progress" "meta actions" "error error"}.schedule-task-info.is-saving .schedule-quick-progress{opacity:.72}.schedule-quick-progress button:disabled{cursor:wait;opacity:.55}.schedule-task-error{grid-area:error;color:#ffaaa5;font-size:8px}.schedule-task-error[hidden]{display:none}
@media(max-width:760px){.schedule-task-info{grid-template-areas:"title progress" "meta meta" "actions actions" "error error"}}
@media(max-width:430px){.schedule-task-info{grid-template-areas:"title" "meta" "progress" "actions" "error"}}
.schedule-permissions-modal{width:min(900px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 28px))}.schedule-permissions-head{display:flex;justify-content:space-between;gap:16px}.schedule-permissions-head h3{margin:0}.schedule-permissions-head p{margin:5px 0 14px;color:#8fa398;font-size:11px}.schedule-permissions-layout{display:grid;grid-template-columns:minmax(220px,32%) minmax(0,1fr);min-height:390px;border:1px solid #29473a;border-radius:11px;overflow:hidden}.schedule-permission-users{overflow-y:auto;padding:8px;border-right:1px solid #29473a;background:#0a1511}.schedule-permission-user{display:grid;width:100%;gap:2px;margin-bottom:5px;border:1px solid transparent;border-radius:8px;padding:9px;background:transparent;color:#dff6e3;text-align:left;cursor:pointer}.schedule-permission-user small{color:#81958a}.schedule-permission-user.is-active{border-color:#4ebd62;background:rgba(91,236,110,.08)}.schedule-permission-editor{padding:15px}.schedule-permission-owner{padding:15px;border:1px solid rgba(91,236,110,.25);border-radius:9px;background:rgba(91,236,110,.06)}.schedule-permission-presets{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.schedule-permission-presets button{border:1px solid #355545;border-radius:999px;padding:5px 8px;background:#102019;color:#bfeac7;font-size:9px;cursor:pointer}.schedule-permission-group{margin:10px 0;padding:10px;border:1px solid rgba(74,111,89,.35);border-radius:8px}.schedule-permission-group legend{padding:0 5px;color:#70bb81;font-size:9px;font-weight:700;text-transform:uppercase}.schedule-permission-group label{display:flex;align-items:center;gap:7px;margin:7px 0;color:#d5ead9;font-size:11px}.schedule-permission-group input{accent-color:#57d269}.schedule-permissions-modal .is-danger{margin-right:auto;color:#ffaaa5}@media(max-width:680px){.schedule-permissions-layout{grid-template-columns:1fr}.schedule-permission-users{max-height:170px;border-right:0;border-bottom:1px solid #29473a}.schedule-permissions-modal{max-height:calc(100vh - 16px)}}
