@media print{body{font-size:12pt;line-height:1.3;font-family:Arial, sans-serif}table{width:100%;border-collapse:collapse;margin-bottom:20px}table th,table td{padding:8px;border:1px solid #ddd}.page-break{page-break-before:always}header,footer,nav,.no-print{display:none}}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;line-height:1.5;color:#333;margin:0;padding:0}.container{max-width:1200px;margin:0 auto;padding:0 1rem}header{background-color:white;box-shadow:0 1px 3px rgba(0,0,0,0.1)}.logo{color:var(--primary-color);font-weight:bold}.text-primary-color{color:var(--primary-color)}.bg-primary-color{background-color:var(--primary-color)}.hover\:bg-primary-dark:hover{background-color:var(--primary-dark)}header .hidden.md\:flex{display:flex !important}@media (max-width: 768px){header .hidden.md\:flex{display:none !important}#mobile-menu:not(.hidden){display:block !important}}@media (min-width: 769px){.hidden.md\:block{display:block !important}.md\:hidden{display:none !important}}header .space-x-4>*{margin-left:1rem}header .space-x-4>*:first-child{margin-left:0}input,select,textarea{display:block;width:100%;padding:0.5rem;font-size:1rem;border:1px solid #ddd;border-radius:0.25rem;margin-bottom:1rem}button,.button,input[type="submit"]{display:inline-block;background-color:#14b0aa;color:white;padding:0.5rem 1rem;border:none;border-radius:0.25rem;cursor:pointer;font-size:1rem;text-decoration:none}button:hover,.button:hover,input[type="submit"]:hover{background-color:#108f8a}.alert,.notice{padding:0.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:0.25rem}.alert-success,.notice{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-danger,.alert{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}:root{--primary-color: #14b0aa;--primary-dark: #108f8a;--secondary-color: #f39c12;--warning-color: #e74c3c;--success-color: #2ecc71;--text-dark: #2c3e50;--text-light: #ecf0f1;--background-light: #f5f7fa;--background-white: #ffffff;--border-color: #dfe4ea;--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1)}.service-sheet-card{background-color:var(--background-white);border-radius:8px;box-shadow:var(--box-shadow);margin-bottom:30px;overflow:hidden}.service-sheet-card-header{padding:15px 20px;background-color:var(--primary-color);color:var(--text-light);font-weight:600;display:flex;justify-content:space-between;align-items:center}.service-sheet-card-body{padding:20px}.machine-info{display:flex;background-color:#f8f9fa;padding:15px;border-radius:8px;margin-bottom:20px}.machine-info-item{flex:1;border-right:1px solid var(--border-color);padding:0 15px}.machine-info-item:last-child{border-right:none}.machine-info-item .label{font-size:12px;color:gray}.machine-info-item .value{font-weight:600;margin-top:5px}.info-box{padding:15px;background-color:#ebf5fb;border-left:4px solid var(--primary-color);margin-bottom:20px;border-radius:4px}.service-sheet-tabs{display:flex;border-bottom:1px solid var(--border-color);margin-bottom:20px}.service-sheet-tab{padding:10px 20px;cursor:pointer;transition:all 0.3s;border-bottom:3px solid transparent;font-weight:500}.service-sheet-tab.active{border-bottom:3px solid var(--primary-color);color:var(--primary-color)}.service-sheet-tab-content{display:none}.service-sheet-tab-content.active{display:block}.section-title{font-size:18px;font-weight:600;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid var(--border-color)}.add-item-btn,.add-task-btn,.add-material-btn,.add-info-btn,.add-bug-btn{display:flex;align-items:center;font-size:14px;color:var(--primary-color);cursor:pointer;margin-top:10px;background:none;border:none;padding:0;text-align:left}.status{display:inline-block;padding:5px 10px;border-radius:20px;font-size:12px;font-weight:600}.status-pending{background-color:#ffeaa7;color:#d35400}.status-complete{background-color:#d5f5e3;color:#27ae60}.status-in-progress{background-color:#d6eaf8;color:#108f8a}.service-sheet-footer{display:flex;justify-content:flex-end;padding:20px;border-top:1px solid var(--border-color)}.service-sheet-footer button,.service-sheet-footer input[type="submit"],.service-sheet-footer .button{margin-left:10px}.modal-form{width:100%}.form-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));gap:1rem;margin-bottom:1.5rem}.hidden{display:none !important}.relative{position:relative}[x-show],div[x-show="open"]{display:none;position:absolute;z-index:10;right:0;margin-top:0.5rem;background-color:#fff;border-radius:0.375rem;box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}.dropdown-active{display:block !important}@media (max-width: 768px){.service-sheet-card-header{flex-direction:column;align-items:flex-start}.service-sheet-card-header>div{margin-top:10px;width:100%}.service-sheet-card-header .flex.space-x-2{display:flex;flex-direction:column;width:100%}.service-sheet-card-header .flex.space-x-2>a{margin:5px 0;width:100%;text-align:center}.service-sheet-tab-content table thead{display:none}.service-sheet-tab-content table,.service-sheet-tab-content table tbody,.service-sheet-tab-content table tr{display:block;width:100%}.service-sheet-tab-content table tr{margin-bottom:15px;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,0.05);background-color:white;overflow:hidden}.service-sheet-tab-content table td{display:flex;padding:10px 15px !important;border-bottom:1px solid #f0f0f0;text-align:left;align-items:center}.service-sheet-tab-content table td:last-child{border-bottom:none}.service-sheet-tab-content table td:nth-child(1)::before{content:"Group: ";font-weight:600;min-width:100px;margin-right:10px}.service-sheet-tab-content table td:nth-child(2)::before{content:"Name: ";font-weight:600;min-width:100px;margin-right:10px}#tasks-tab table td:nth-child(2)::before{content:"Task: ";font-weight:600;min-width:100px;margin-right:10px}#tasks-tab table td:nth-child(3)::before{content:"Note: ";font-weight:600;min-width:100px;margin-right:10px}#tasks-tab table td:nth-child(4)::before{content:"Status: ";font-weight:600;min-width:100px;margin-right:10px}#materials-tab table td:nth-child(2)::before{content:"Material: ";font-weight:600;min-width:100px;margin-right:10px}#materials-tab table td:nth-child(3)::before{content:"Value: ";font-weight:600;min-width:100px;margin-right:10px}#materials-tab table td:nth-child(4)::before{content:"Unit: ";font-weight:600;min-width:100px;margin-right:10px}#materials-tab table td:nth-child(5)::before{content:"Done: ";font-weight:600;min-width:100px;margin-right:10px}#info-tab table td:nth-child(2)::before{content:"Info: ";font-weight:600;min-width:100px;margin-right:10px}#info-tab table td:nth-child(3)::before{content:"Value: ";font-weight:600;min-width:100px;margin-right:10px}#info-tab table td:nth-child(4)::before{content:"Unit: ";font-weight:600;min-width:100px;margin-right:10px}.service-sheet-tab-content table td:last-of-type::before{content:"Actions: ";font-weight:600;min-width:100px;margin-right:10px}.action-buttons{display:flex;gap:15px}.service-sheet-tab-content table td{white-space:normal !important}.service-sheet-tabs{flex-wrap:wrap}.service-sheet-tab{flex:1 0 33.333%;text-align:center;padding:10px 5px;font-size:14px}.form-group{margin-bottom:15px}input,select{height:40px}button,.button,input[type="submit"]{padding:10px 15px;width:100%;margin-bottom:10px;display:block}.service-sheet-footer{flex-direction:column}.service-sheet-footer button,.service-sheet-footer input[type="submit"],.service-sheet-footer .button{margin-left:0;margin-bottom:10px}.service-sheet-footer .button:last-child{margin-bottom:0}.machine-info{flex-direction:column}.machine-info-item{border-right:none;border-bottom:1px solid var(--border-color);padding:10px 0}.machine-info-item:last-child{border-bottom:none}.form-grid{grid-template-columns:1fr}#info-tab .bug-table thead{display:none}#info-tab .bug-table,#info-tab .bug-table tbody,#info-tab .bug-table tr{display:block;width:100%}#info-tab .bug-table tr{margin-bottom:15px;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,0.05);background-color:white;overflow:hidden}#info-tab .bug-table td{display:flex;padding:10px 15px !important;border-bottom:1px solid #f0f0f0;text-align:left;align-items:center;white-space:normal !important}#info-tab .bug-table td:last-child{border-bottom:none}#info-tab .bug-table td:nth-child(1)::before{content:"Issue: ";font-weight:600;min-width:100px;margin-right:10px}#info-tab .bug-table td:nth-child(2)::before{content:"Date: ";font-weight:600;min-width:100px;margin-right:10px}#info-tab .bug-table td:nth-child(3)::before{content:"Value: ";font-weight:600;min-width:100px;margin-right:10px}#info-tab .bug-table td:nth-child(4)::before{content:"Notes: ";font-weight:600;min-width:100px;margin-right:10px}#info-tab .bug-table td:nth-child(5)::before{content:"Actions: ";font-weight:600;min-width:100px;margin-right:10px}}@media (max-width: 768px){.mobile-template-dropdown-view{margin-top:20px}.mobile-template-item{background-color:white;border:1px solid var(--border-color);border-radius:8px;margin-bottom:10px;overflow:hidden}.mobile-template-header{background-color:#f8f9fa;padding:15px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.mobile-template-body{padding:15px}.mobile-template-row{display:flex;border-bottom:1px solid #eee;padding:8px 0}.mobile-template-row:last-child{border-bottom:none}.mobile-template-label{font-weight:600;width:40%}.mobile-template-value{width:60%}.mobile-template-actions{display:flex;justify-content:space-around;margin-top:10px;border-top:1px solid #eee;padding-top:10px}}@media (min-width: 769px) and (max-width: 1024px){.service-sheet-card-header{display:flex;flex-direction:row}.service-sheet-tabs{flex-wrap:nowrap}}
