.justify-buttons button,.v-align-btn{background-color:#0089f7;cursor:pointer}*,body{margin:0;padding:0}#scheduleTableContainer table,table{width:100%;table-layout:fixed;border-collapse:collapse}.hplan,button,footer{text-align:center}#toggleDarkMode,.justify-buttons button,.v-align-btn,body.dark-mode,button{cursor:pointer}#darkOverlay,td:hover::after{top:0;left:0;pointer-events:none}.layout,td:active,td:focus{outline:0}td,th{vertical-align:middle;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;white-space:normal;padding:8px 10px;line-height:1}.element,.scrollable-element{scrollbar-color:#cdcdcd #f0f0f0}td,th:first-child{pointer-events:auto!important}#darkOverlay,input[type=radio][name=editMode]{display:none}*{box-sizing:border-box;outline:0!important}h4{cursor:default}#colorPickerControls,#fontSettings,#orientationSettings,#textAlignControls,#textColorPicker{margin-bottom:20px}.justify-buttons{display:flex;gap:8px;justify-content:center}.justify-buttons button{border:1px solid #fff;padding:8px 10px;border-radius:4px;transition:background-color .2s}.justify-buttons button:hover,.v-align-btn:hover{background-color:#0464b3;border:1px solid #fff}.justify-buttons i{font-size:16px}#verticalAlignControls{display:flex;justify-content:center;gap:10px;margin:10px auto}.v-align-btn{padding:6px 12px;font-size:18px;border:1px solid #fff;border-radius:5px;transition:background-color .3s}.v-align-btn[data-val=top] i{color:#007bff}.v-align-btn[data-val=middle] i{color:#ffc107}.v-align-btn[data-val=bottom] i{color:#dc3545}#darkOverlay{position:fixed;width:100%;height:100%;background-color:#000;opacity:.5;z-index:9999}#toggleDarkMode{position:fixed;bottom:20px;left:20px;background-color:#333;color:#fff;border:none;padding:10px 16px;font-size:16px;border-radius:5px;z-index:10000;box-shadow:0 0 10px rgba(0,0,0,.4);width:200px}#main-content,#scheduleTableContainer,button,button:hover{background-color:#fff}body,body:hover{outline:0!important;border:none!important}#toggleDarkMode:hover{background-color:#555}body{display:flex;flex-direction:column;height:100vh;font-family:Arial,sans-serif;overflow-x:hidden}body:hover{box-shadow:none!important}label{display:inline-block}.layout{display:flex;flex-direction:row;min-height:100vh}.panel-left,.panel-right{box-sizing:border-box;width:200px;background-color:#eaeaea;padding:15px}input[type=color],input[type=number],input[type=text],input[type=time],select{width:100%;padding:8px;margin:10px 0;box-sizing:border-box;border:1px solid #ccc;border-radius:4px;transition:border-color .3s}.custom-upload,button{transition:background-color .3s}input[type=color]:focus,input[type=number]:focus,input[type=text]:focus,input[type=time]:focus,select:focus{border-color:#28a745;outline:0}.color-description,.section-note,.subsection-label{font-weight:600;font-size:14px;margin-bottom:6px;display:inline-block}.section-note,button{display:block;font-size:14px}.section-note,.upload-description{font-size:14px;font-weight:500;color:#333;margin-bottom:5px;display:block}.section-note{font-weight:500;color:#444;margin-bottom:6px}button{border:1px solid #0464b3;color:#0464b3;border:none;padding:10px 20px;text-decoration:none;width:100%;margin:10px 0;border-radius:5px}#scheduleTableContainer,#scheduleTableContainer td,#scheduleTableContainer th,td:active,td:focus{border:1px solid #000;box-sizing:border-box}button:hover{color:#0464b3;border:1px solid #0464b3}.hplan{font-size:24px;margin-bottom:20px}#main-content{flex:1;padding:20px;margin-left:10px;margin-right:10px;overflow-y:auto;height:calc(100vh - 50px)}footer{background-color:#343a40;color:#fff;padding:10px 0;position:fixed;bottom:0;left:0;width:100%}#scheduleTableContainer{margin:0 auto;width:210mm;padding:0;background-size:contain;background-position:center;background-repeat:no-repeat}#scheduleTableContainer th{padding:10px 15px;text-align:center}#scheduleTableContainer td{max-height:60px;height:60px;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;vertical-align:middle;padding:8px 10px}#scheduleTableContainer td:hover{background-color:rgba(0,0,0,.08);cursor:pointer}td:hover::after{content:"";position:absolute;right:0;bottom:0}th{text-align:inherit}th.thheight,th.thheight1{min-height:30px!important;max-height:30px!important}@media print{#scheduleTableContainer{width:100%;border-collapse:collapse}#scheduleTableContainer,td,th{border:1px solid #000}}td,th{width:100px;border:1px solid #ddd}.scheduleTableContainer th{height:30px!important;line-height:30px!important;background-color:#fff}::-webkit-scrollbar{width:2px}::-webkit-scrollbar-track{background:#f0f0f0}::-webkit-scrollbar-thumb{background:#cdcdcd;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#cdcdcd}.scrollable-element{scrollbar-width:2px}::-ms-scrollbar{width:2px}::-ms-scrollbar-track{background:#f0f0f0}::-ms-scrollbar-thumb{background:#f0f0f0;border-radius:10px}.element{width:300px;height:500px;overflow-y:auto;scrollbar-width:#f0f0f0}.element::-webkit-scrollbar{width:2px}.element::-webkit-scrollbar-track{background:#f0f0f0}.element::-webkit-scrollbar-thumb{background:#f0f0f0;border-radius:10px}.custom-upload,.custom-upload:hover{background-color:#4caf50}.element::-webkit-scrollbar-thumb:hover{background:#f0f0f0}.custom-upload{display:inline-block;padding:6px 18px 6px 8px;color:#fff;border-radius:6px;cursor:pointer!important;font-size:14px;user-select:none}@media (min-width:768px) and (max-width:1024px){.bottom-panel label,.top-panel label{white-space:nowrap;font-weight:600}#textColorPicker label,.bottom-panel label,.last-group label{display:inline-block;vertical-align:middle}#main-content,.panel-left,.panel-right,button{width:100%}button,button:hover{background-color:#fff;color:#0464b3}.layout{flex-direction:column;overflow-x:hidden}.panel-left,.panel-right,.top-panel{gap:10px;overflow-x:auto;overflow-y:hidden;display:flex}.panel-left{order:1;max-height:120px;background-color:#eaeaea;justify-content:center;align-items:center;justify-content:flex-start;flex-wrap:wrap;padding:10px;width:100%}#main-content{order:2}.panel-right{justify-content:center;align-items:center;justify-content:flex-start;flex-wrap:nowrap;padding-top:25px;max-width:100%;max-height:120px;order:3;height:100px;background-color:#f4f4f4;margin-bottom:44px}.top-panel{flex-wrap:nowrap;align-items:center;padding:10px;max-width:100%;box-sizing:border-box;background:#f9f9f9}.top-panel button,.top-panel input,.top-panel select,Wszystkie elementy wewnątrz .top-panel label{flex:0 0 auto;display:inline-block;vertical-align:middle;font-size:14px;line-height:1.2;padding:6px 10px;box-sizing:border-box}.top-panel::-webkit-scrollbar{height:6px!important}.top-panel::-webkit-scrollbar-thumb{background:#00f;border-radius:3px}.top-panel input[type=color]{padding:0;width:42px;height:42px;border:none;background:0 0}.bottom-panel{display:flex;flex-direction:row;flex-wrap:nowrap;gap:5px;align-items:center;justify-content:space-between;justify-content:flex-start;padding:5px;background-color:#f4f4f4;box-sizing:border-box;max-width:100%}.bottom-panel h4{margin:0;font-size:16px;flex:1 1 100%}.bottom-panel label{margin:0;font-size:14px}.bottom-panel button,.bottom-panel input[type=checkbox],.bottom-panel input[type=color],.bottom-panel input[type=file],.bottom-panel input[type=number],.bottom-panel input[type=range],.bottom-panel select{flex:0 0 auto;padding:6px 10px;font-size:14px;box-sizing:border-box;vertical-align:middle}#textColorPicker input[type=color],.bottom-panel input[type=color],.last-group input[type=color]{width:42px;height:42px;padding:0;border:none}.bottom-panel input[type=range]{width:150px}.bottom-panel select{min-width:160px}.bottom-panel input[type=file]{min-width:150px}.bottom-panel input[type=number]{width:70px}.bottom-panel::-webkit-scrollbar{height:6px!important}.bottom-panel::-webkit-scrollbar-thumb{background:#00f;border-radius:3px}#textAlignControls,#textColorPicker,#verticalAlignControls,.last-group{display:flex;flex-direction:row;align-items:center;gap:8px;flex:0 0 auto;padding:0;margin:0;box-sizing:border-box;flex:0 0 auto}.last-group{display:flex;flex-direction:row;align-items:center;gap:8px;flex:0 0 auto;padding:0!important;margin:0!important;box-sizing:border-box;height:auto}.last-group input[type=color]{width:42px;height:42px;padding:0;margin:0;border:none}.last-group label{display:inline-block;vertical-align:middle;margin:0}.last-group button{padding:6px 10px;height:42px;line-height:1.2;font-size:14px;vertical-align:middle;box-sizing:border-box}#saveAsPDF{padding:8px 14px;font-size:14px}input[type=color],input[type=number],input[type=text],input[type=time],select{width:70px;padding:8px;margin:10px 0;box-sizing:border-box;border:1px solid #ccc;border-radius:4px;transition:border-color .3s}.custom-upload,button{font-size:14px;transition:background-color .3s}input[type=color]:focus,input[type=number]:focus,input[type=text]:focus,input[type=time]:focus,select:focus{border-color:#28a745;outline:0}button{border:1px solid #0464b3;border:none;padding:10px 20px;text-align:center;text-decoration:none;display:block;margin:10px 0;cursor:pointer;border-radius:5px}button:hover{border:1px solid #0464b3}label.mobile-hide{display:none!important}.custom-upload{display:inline-block;padding:6px 25px 6px 8px;background-color:#4caf50;color:#fff;border-radius:6px;cursor:pointer!important;user-select:none}.custom-upload:hover{background-color:#45a049}}@media (min-width:480px) and (max-width:767px){.panel-left,.panel-right{background-color:#eaeaea;width:100%}.panel-left,.panel-right,.top-panel{gap:10px;overflow-y:hidden}.bottom-panel,.top-panel{max-width:100%;display:flex;box-sizing:border-box}.bottom-panel label,.top-panel label{white-space:nowrap;font-weight:600}#main-content,.panel-left,.panel-right,button{width:100%}button,button:hover{background-color:#fff;color:#0464b3}.layout{flex-direction:column;overflow-x:hidden}.panel-left{order:1;max-height:120px;display:flex;justify-content:center;align-items:center;justify-content:flex-start;flex-wrap:wrap;padding:10px;overflow-x:auto}#main-content{order:2}.panel-right{display:flex;justify-content:center;align-items:center;justify-content:flex-start;flex-wrap:nowrap;padding-top:25px;max-height:85px;order:3;overflow-x:auto!important;margin-bottom:38px}.top-panel{flex-wrap:nowrap;align-items:center;padding:10px;background:#f9f9f9;overflow-x:auto}.top-panel button,.top-panel input,.top-panel select,Wszystkie elementy wewnątrz .top-panel label{flex:0 0 auto;display:inline-block;vertical-align:middle;font-size:14px;line-height:1.2;padding:6px 10px;box-sizing:border-box}.top-panel::-webkit-scrollbar{height:6px!important}.top-panel::-webkit-scrollbar-thumb{background:#00f;border-radius:3px}.top-panel input[type=color]{padding:0;width:42px;height:42px;border:none;background:0 0}.bottom-panel{flex-direction:row;flex-wrap:nowrap;gap:5px;align-items:center;justify-content:space-between;justify-content:flex-start;padding:5px;background-color:#f4f4f4;max-height:88px;margin-bottom:15px}.bottom-panel h4{margin:0;font-size:16px;flex:1 1 100%}.bottom-panel label{margin:0;font-size:14px;display:inline-block;vertical-align:middle}.bottom-panel button,.bottom-panel input[type=checkbox],.bottom-panel input[type=color],.bottom-panel input[type=file],.bottom-panel input[type=number],.bottom-panel input[type=range],.bottom-panel select{flex:0 0 auto;padding:6px 10px;font-size:14px;box-sizing:border-box;vertical-align:middle}#textColorPicker input[type=color],.bottom-panel input[type=color],.last-group input[type=color]{width:42px;height:42px;padding:0;border:none}.bottom-panel input[type=range]{width:150px}.bottom-panel select{min-width:160px}.bottom-panel input[type=file]{min-width:150px}.bottom-panel input[type=number]{width:70px}.bottom-panel::-webkit-scrollbar{height:6px!important}.bottom-panel::-webkit-scrollbar-thumb{background:#f4f4f4;border-radius:3px}#textAlignControls,#textColorPicker,#verticalAlignControls,.last-group{display:flex;flex-direction:row;align-items:center;gap:8px;flex:0 0 auto;padding:0;margin:0;box-sizing:border-box;flex:0 0 auto}#textAlignControls,#textColorPicker label,.last-group label{display:inline-block;vertical-align:middle}.last-group{display:flex;flex-direction:row;align-items:center;gap:8px;flex:0 0 auto;padding:0!important;margin:0!important;box-sizing:border-box;height:auto}.last-group input[type=color]{width:42px;height:42px;padding:0;margin:0;border:none}.last-group label{display:inline-block;vertical-align:middle;margin:0}.last-group button{padding:6px 10px;height:42px;line-height:1.2;font-size:14px;vertical-align:middle;box-sizing:border-box}#saveAsPDF{padding:8px 14px;font-size:14px}input[type=color],input[type=number],input[type=text],input[type=time],select{width:70px;padding:8px;margin:10px 0;box-sizing:border-box;border:1px solid #ccc;border-radius:4px;transition:border-color .3s}.custom-upload,button{font-size:14px;transition:background-color .3s}input[type=color]:focus,input[type=number]:focus,input[type=text]:focus,input[type=time]:focus,select:focus{border-color:#28a745;outline:0}button{border:1px solid #0464b3;border:none;padding:10px 20px;text-align:center;text-decoration:none;display:block;margin:10px 0;cursor:pointer;border-radius:5px}button:hover{border:1px solid #0464b3}label.mobile-hide{display:none!important}.custom-upload{display:inline-block;padding:6px 25px 6px 8px;background-color:#4caf50;color:#fff;border-radius:6px;cursor:pointer!important;user-select:none}.custom-upload:hover{background-color:#45a049}}@media (min-width:320px) and (max-width:479px){.panel-left,.panel-right{background-color:#eaeaea;overflow-y:hidden;gap:10px;width:100%}.bottom-panel label,.top-panel label{white-space:nowrap;font-weight:600}#main-content,.panel-left,.panel-right,button{width:100%}button,button:hover{background-color:#fff;color:#0464b3}.layout{flex-direction:column;overflow-x:hidden}.panel-left{order:1;max-height:120px;display:flex;justify-content:center;align-items:center;justify-content:flex-start;flex-wrap:wrap;padding:10px;max-width:100vw;overflow-x:auto}.bottom-panel,.top-panel{max-width:100%;display:flex;box-sizing:border-box}#main-content{order:2}.panel-right{display:flex;justify-content:center;align-items:center;justify-content:flex-start;flex-wrap:nowrap;padding-top:25px;order:3;height:130px;overflow-x:auto!important}.top-panel{flex-wrap:nowrap;overflow-x:auto;gap:10px;align-items:center;padding:10px;background:#f9f9f9}.top-panel button,.top-panel input,.top-panel select,Wszystkie elementy wewnątrz .top-panel label{flex:0 0 auto;display:inline-block;vertical-align:middle;font-size:14px;line-height:1.2;padding:6px 10px;box-sizing:border-box}.top-panel::-webkit-scrollbar{height:6px!important}.top-panel::-webkit-scrollbar-thumb{background:#f4f4f4;border-radius:3px}.top-panel input[type=color]{padding:0;width:42px;height:42px;border:none;background:0 0}.bottom-panel{flex-direction:row;flex-wrap:nowrap;gap:5px;align-items:center;justify-content:space-between;justify-content:flex-start;padding:5px;background-color:#f4f4f4;max-height:65px;margin-bottom:43px}.bottom-panel h4{margin:0;font-size:16px;flex:1 1 100%}.bottom-panel label{margin:0;font-size:14px;display:inline-block;vertical-align:middle}.bottom-panel button,.bottom-panel input[type=checkbox],.bottom-panel input[type=color],.bottom-panel input[type=file],.bottom-panel input[type=number],.bottom-panel input[type=range],.bottom-panel select{flex:0 0 auto;padding:6px 10px;font-size:14px;box-sizing:border-box;vertical-align:middle}#textColorPicker input[type=color],.bottom-panel input[type=color],.last-group input[type=color]{width:42px;height:42px;padding:0;border:none}.bottom-panel input[type=range]{width:150px}.bottom-panel select{min-width:160px}.bottom-panel input[type=file]{min-width:150px}.bottom-panel input[type=number]{width:70px}.bottom-panel::-webkit-scrollbar{height:6px!important}.bottom-panel::-webkit-scrollbar-thumb{background:#cdcdcd;border-radius:3px}#textAlignControls,#textColorPicker,#verticalAlignControls,.last-group{display:flex;flex-direction:row;align-items:center;gap:8px;flex:0 0 auto;padding:0;margin:0;box-sizing:border-box;flex:0 0 auto}#textAlignControls,#textColorPicker label,.last-group label{display:inline-block;vertical-align:middle}.last-group{display:flex;flex-direction:row;align-items:center;gap:8px;flex:0 0 auto;padding:0!important;margin:0!important;box-sizing:border-box;height:auto}.last-group input[type=color]{width:42px;height:42px;padding:0;margin:0;border:none}.last-group label{display:inline-block;vertical-align:middle;margin:0}.last-group button{padding:6px 10px;height:42px;line-height:1.2;font-size:14px;vertical-align:middle;box-sizing:border-box}#saveAsPDF{padding:8px 14px;font-size:14px}label.mobile-hide{display:none!important}input[type=color],input[type=number],input[type=text],input[type=time],select{width:70px;padding:8px;margin:10px 0;box-sizing:border-box;border:1px solid #ccc;border-radius:4px;transition:border-color .3s}.custom-upload,button{font-size:14px;transition:background-color .3s}input[type=color]:focus,input[type=number]:focus,input[type=text]:focus,input[type=time]:focus,select:focus{border-color:#28a745;outline:0}button{border:1px solid #0464b3;border:none;padding:10px 20px;text-align:center;text-decoration:none;display:block;margin:10px 0;cursor:pointer;border-radius:5px}button:hover{border:1px solid #0464b3}.custom-upload{display:inline-block;padding:6px 25px 6px 8px;background-color:#4caf50;color:#fff;border-radius:6px;cursor:pointer!important;user-select:none}.custom-upload:hover{background-color:#45a049}}th:first-child{user-select:auto!important}.bold{font-weight:700}.italic{font-style:italic}.underline{text-decoration:underline}body{cursor:default!important;
}