/* Estilos dedicados à ferramenta gratuita Escala de Trabalho 5x2 - Semear */
.header .links{gap:17px}.header .nav{gap:18px}.header .actions .button{padding:11px 15px}
.schedule-page{background:linear-gradient(135deg,#eef6f7,#eaf5ed);padding:40px max(4vw,16px) 28px;min-height:100vh;color:#20383b}.schedule-intro{max-width:1350px;margin:0 auto 28px;display:flex;align-items:center;gap:30px}.intro-icon{font-size:76px;color:#005b39;border:3px solid #005b39;border-radius:22px;padding:0 25px;background:#fff}.free-label{background:#d6f29b;color:#004b32;border-radius:30px;padding:6px 15px;font-weight:700;font-size:14px}.schedule-intro h1{font-size:clamp(28px,3.5vw,46px);letter-spacing:-1px;margin:14px 0 8px;line-height:1.15}.schedule-intro p{margin:0;font-size:17px;color:#44565a}.schedule-panel{background:#fff;border:1px solid #e3eeea;box-shadow:0 15px 50px #005b3908;border-radius:24px;padding:26px;max-width:1350px;margin:auto}button{cursor:pointer}.schedule-panel button,.dialog-actions button,.empty button{border:1px solid #d3dfda;background:#fff;color:#20383b;border-radius:9px;padding:10px 14px;font-size:14px;font-weight:600}.schedule-panel button:hover,.dialog-actions button:hover{background:#eef6f2}.schedule-panel .primary,.dialog-actions .primary,.empty .primary{color:#fff;background:#005b39;border-color:#005b39}.period-toolbar,.editing-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.view-switch{display:flex;border:1px solid #d7e2de;border-radius:10px;padding:3px;background:#f4f8f6}.view-switch button{border:0;background:transparent}.view-switch .active{background:#005b39;color:#fff}.period-navigation{display:flex;align-items:center;gap:10px}.period-navigation button{font-size:25px;padding:1px 12px}.date-picker{position:relative;display:grid;text-align:center;min-width:220px;font-size:15px;font-weight:600}.date-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 1.3fr;border:1px solid #dae5df;border-radius:14px;margin:23px 0;overflow:hidden}.stats>div{padding:16px 20px;border-right:1px solid #dae5df;display:flex;flex-direction:column;gap:5px}.stats>div:last-child{border:0}.stats span{font-size:14px;color:#4b5b5a}.stats strong{font-size:26px;line-height:1.2}.stats small{font-size:12px}.status-box{background:#eef6f2}.status-box strong{font-size:19px;color:#005b39}.status-box.warning{background:#fff6dd}.status-box.warning strong{color:#815c06}.secondary-tools{display:flex;gap:8px;flex-wrap:wrap}.editing-hint{font-size:13px;margin:17px 0 12px;color:#596963}.table-scroll{overflow:auto;max-height:620px;border:1px solid #dae5df;border-radius:12px}#schedule{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;text-align:center}#schedule th,#schedule td{border-right:1px solid #e5ece8;border-bottom:1px solid #e5ece8;padding:5px;min-width:99px}#schedule thead th{background:#eaf2ee;position:sticky;top:0;z-index:2;padding:12px 7px;white-space:nowrap}#schedule th small{display:block;font-size:12px;font-weight:400}#schedule th:first-child,#schedule td:first-child{position:sticky;left:0;background:#fff;z-index:1;text-align:left;min-width:205px;max-width:245px}#schedule thead th:first-child{z-index:3;background:#eaf2ee}.person-button{display:flex;align-items:center;gap:9px;border:0!important;background:transparent!important;width:100%;text-align:left;overflow-wrap:anywhere}.avatar{display:grid;place-items:center;background:#e7eeea;border-radius:50%;width:32px;height:32px;flex-shrink:0;font-size:12px}.day-button{width:100%;padding:7px 5px!important;font-size:12px!important;white-space:nowrap;border:1px solid transparent!important}.day-button.work{background:#e8f7d9;color:#15532c}.day-button.rest{background:#edf0f3;color:#45505b}.day-button.unset{background:#fff5df;color:#82601b}.week-total{font-size:12px;min-width:145px!important}.week-total.bad{color:#855914;background:#fffbf0}.week-total.good{color:#005b39}.empty{text-align:center;padding:42px 20px}.empty h2{font-size:23px}.empty p{max-width:570px;margin:10px auto 20px;font-size:15px;color:#5b6965}.schedule-tip{background:#eaf6f1;border:1px solid #d4e9de;border-radius:10px;padding:14px 17px;font-size:14px;margin:20px 0 10px}.scope-note,.save-note{font-size:12px;color:#63736b;margin:9px 0 0}.schedule-bottom{text-align:center;margin:28px auto 0;font-size:16px}.schedule-bottom p{margin-bottom:12px}dialog{max-width:450px;width:calc(100% - 32px);border:0;border-radius:15px;padding:26px;box-shadow:0 20px 70px #001d2b40}dialog::backdrop{background:#10342d80}dialog h2{font-size:23px;margin:0 0 16px}dialog label{display:block;font-size:14px}dialog input{width:100%;padding:12px;border:1px solid #aebfb7;border-radius:7px;font:inherit;margin:8px 0 20px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.dialog-actions .danger{color:#a32a2a;margin-right:auto}[hidden]{display:none!important}:focus-visible{outline:3px solid #00be7d;outline-offset:3px}
@media(max-width:1000px){.header .actions{display:none}.stats{grid-template-columns:repeat(2,1fr)}.stats>div:nth-child(2){border-right:0}.stats>div:nth-child(-n+2){border-bottom:1px solid #dae5df}}
@media(max-width:740px){.header .links{gap:15px}.schedule-page{padding:25px 12px}.intro-icon{display:none}.schedule-intro{margin:0 6px 22px}.schedule-intro h1{font-size:30px}.schedule-intro p{font-size:15px}.schedule-panel{padding:15px;border-radius:17px}.period-toolbar{justify-content:center}.date-picker{min-width:200px}.stats>div{padding:13px}.stats strong{font-size:23px}.status-box strong{font-size:16px}.editing-toolbar>.primary{width:100%}.secondary-tools{width:100%;display:grid;grid-template-columns:1fr 1fr}.secondary-tools button{font-size:12px;padding:9px 7px}.table-scroll{max-height:500px}#schedule th:first-child,#schedule td:first-child{min-width:155px;max-width:175px}.person-button{padding:4px!important;font-size:12px!important}.avatar{width:25px;height:25px}.editing-hint{font-size:12px}}
@media print{@page{size:A4 landscape;margin:10mm}.header,.schedule-intro,.editing-toolbar,.editing-hint,.schedule-bottom,.save-note,.scope-note,dialog,.period-navigation button,.view-switch,.date-picker input{display:none!important}.schedule-page{padding:0;background:#fff}.schedule-panel{border:0;box-shadow:none;padding:0}.table-scroll{overflow:visible;max-height:none;border:0}#schedule{font-size:9px;table-layout:fixed}#schedule th,#schedule td{min-width:0!important;padding:3px!important;position:static!important;max-width:none!important;white-space:normal!important}#schedule th:first-child,#schedule td:first-child{width:17%}.day-button{font-size:9px!important;padding:3px 0!important}.avatar{display:none}.person-button{font-size:10px!important;padding:0!important}.stats{margin:10px 0}.stats>div{padding:8px}.stats strong{font-size:18px}.schedule-tip{font-size:10px}.period-toolbar{justify-content:center}.period-navigation:before{content:'Escala de trabalho 5x2 — ';font-weight:bold}.monthly-table .day-button{font-size:0!important}.monthly-table .work:after{content:'T';font-size:8px}.monthly-table .rest:after{content:'F';font-size:8px}.monthly-table .unset:after{content:'–';font-size:8px}.monthly-table th small{font-size:7px!important}.monthly-table .person-button{font-size:9px!important}.week-total{font-size:8px!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.tool-logo{width:100px;height:auto}.print-semear{display:none}@media(max-width:740px){.schedule-intro{flex-direction:column;align-items:flex-start;gap:12px}.tool-logo{width:72px}}@media print{.print-semear{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:2px solid #005b39;padding:10px 0;margin-top:14px;font-size:11px;color:#20383b;break-inside:avoid}}
#print-weeks{display:none}@media print{.schedule-page:has(.monthly-table) .schedule-panel{display:none!important}.schedule-page:has(.monthly-table) #print-weeks{display:block}#print-weeks section+section{break-before:page}#print-weeks h2{font-size:18px;margin:0 0 14px}.print-week-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:center}.print-week-table th,.print-week-table td{border:1px solid #d3dfda;padding:8px 4px;font-size:11px}.print-week-table th:first-child{width:20%;overflow-wrap:anywhere}.print-week-table thead{display:table-header-group;background:#eaf6f1}.print-week-table th small{display:block}.print-week-table tr{break-inside:avoid}.print-week-table button{border:0;background:none}.print-week-table .day-button{font-size:11px!important;white-space:normal}}
@media print{.schedule-tip{display:none!important}.schedule-page .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));break-inside:avoid}.schedule-page .stats>div{padding:5px 8px;border:0;border-right:1px solid #dae5df;gap:2px}.schedule-page .stats>div:last-child{border:0}.schedule-page .stats span{font-size:10px}.schedule-page .stats strong{font-size:13px}}
