@import"https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700&family=Nanum+Myeongjo:wght@400;700&family=Nanum+Pen+Script&family=Nanum+Brush+Script&family=Jua&family=Gowun+Dodum&family=Gowun+Batang:wght@400;700&family=Dongle:wght@400;700&family=Gamja+Flower&family=Hi+Melody&display=swap";.split-view-container{display:flex;height:calc(100vh - 60px);width:100%;overflow:hidden;margin:-20px -40px;width:calc(100% + 80px)}.split-view-container.dragging{cursor:col-resize;-webkit-user-select:none;user-select:none}.split-panel{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#fff}.split-panel .panel-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:20px;height:0}.left-panel{border-right:none}.right-panel{border-left:1px solid #e0e0e0;box-shadow:-2px 0 8px #0000001a}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;box-shadow:0 2px 4px #0000001a}.panel-title{font-size:14px;display:flex;align-items:center;gap:8px}.panel-title:before{content:"📋"}.panel-close-btn{background:#fff3;border:none;color:#fff;width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;transition:all .2s}.panel-close-btn:hover{background:#ffffff4d;transform:scale(1.1)}.split-resizer{width:8px;background:#f0f0f0;cursor:col-resize;display:flex;align-items:center;justify-content:center;transition:background .2s;flex-shrink:0}.split-resizer:hover{background:#e0e0e0}.resizer-handle{width:4px;height:40px;background:#ccc;border-radius:2px;transition:all .2s}.split-resizer:hover .resizer-handle{background:#667eea;height:60px}.split-view-container.dragging .split-resizer{background:#667eea}.split-view-container.dragging .resizer-handle{background:#fff}.split-view-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:4px;font-size:11px;cursor:pointer;transition:all .2s;margin-left:8px}.split-view-btn:hover{transform:translateY(-1px);box-shadow:0 2px 8px #667eea66}.split-view-btn.active{background:#ff6b6b}.split-menu-container{position:relative;display:inline-block}.split-menu-dropdown{position:absolute;top:100%;right:0;margin-top:4px;background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;min-width:160px;z-index:1000;overflow:hidden}.split-menu-item{display:block;width:100%;padding:10px 16px;border:none;background:none;text-align:left;cursor:pointer;transition:background .2s;font-size:13px}.split-menu-item:hover{background:#f5f5f5}.split-menu-item.active{background:#667eea;color:#fff}.board-page{padding:20px;max-width:1200px;margin:0 auto}.page-header{margin-bottom:24px;border:none}.page-header h2{margin:0 0 8px;font-size:24px;color:#333;display:flex;align-items:center;gap:12px;border:none}.page-description{margin:0;color:#666;font-size:14px;border:none;text-decoration:none}.unread-badge{background:#ff4757;color:#fff;font-size:12px;padding:4px 10px;border-radius:12px;animation:pulse 1.5s infinite}.post-table-container{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.post-table{width:100%;border-collapse:collapse}.post-table th{background:#f8f9fa;padding:12px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #dee2e6;font-size:14px}.post-table td{padding:12px;font-size:14px;border:none}.post-table td:nth-child(2){border:none!important}.post-table tbody tr{cursor:pointer;transition:background .2s;border-bottom:1px solid #eee}.post-table tbody tr:hover{background:#f8f9fa}.post-table tbody tr.unread{background:#fffde7}.post-table tbody tr.unread:hover{background:#fff9c4}.post-title-cell{display:flex;flex-direction:column;gap:4px;border:none!important}.title-row{display:flex;align-items:center;gap:8px;font-weight:500;border:none!important}.content-preview{font-size:12px;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:400px;border:none!important;text-decoration:none!important}.new-dot{width:8px;height:8px;background:#ff4757;border-radius:50%;flex-shrink:0}.badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.badge-pending{background:#fff3cd;color:#856404}.badge-replied{background:#d4edda;color:#155724}.badge-closed{background:#e2e3e5;color:#383d41}.modal-title-area h3{margin:0 0 8px;font-size:18px;color:#333}.post-info{display:flex;gap:16px;font-size:13px;color:#666}.post-content-box{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:16px}.post-content-box pre{margin:0;white-space:pre-wrap;font-family:inherit;font-size:14px;line-height:1.6}.status-control{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding:12px;background:#f8f9fa;border-radius:6px}.status-control span{font-weight:500;color:#333}.status-control select{padding:6px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.replies-section{margin-bottom:20px}.replies-section h4{margin:0 0 12px;font-size:15px;color:#333}.no-replies{color:#888;font-size:14px;text-align:center;padding:20px}.replies-list{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow-y:auto;padding-right:8px}.reply-item{padding:12px;border-radius:8px;font-size:14px}.reply-item.from-agency{background:#e3f2fd;margin-left:40px}.reply-item.from-student{background:#fff3e0;margin-right:40px}.reply-header{display:flex;justify-content:space-between;margin-bottom:8px}.reply-writer{font-weight:500;color:#333}.reply-date{font-size:12px;color:#888}.reply-content{color:#333;line-height:1.5;white-space:pre-wrap}.reply-input-section{border-top:1px solid #eee;padding-top:20px}.reply-input-section h4{margin:0 0 12px;font-size:15px;color:#333}.reply-input-section textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;font-size:14px;resize:vertical;min-height:100px;margin-bottom:12px;box-sizing:border-box}.btn-send-reply{background:#27ae60;color:#fff;border:none;padding:10px 24px;border-radius:6px;font-size:14px;cursor:pointer;float:right}.btn-send-reply:hover{background:#219a52}.btn-send-reply:disabled{background:#bdc3c7;cursor:not-allowed}.tab-navigation{display:flex;gap:8px;margin-bottom:20px;border-bottom:2px solid #eee;padding-bottom:0}.tab-btn{padding:12px 20px;border:none;background:none;font-size:15px;color:#666;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:all .2s;display:flex;align-items:center;gap:8px}.tab-badge{background:#ff4757;color:#fff;font-size:11px;padding:2px 6px;border-radius:10px;font-weight:500}.announcement-header{display:flex;justify-content:flex-end;margin-bottom:16px}.btn-new-announcement{background:#3498db;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:14px;cursor:pointer;font-weight:500}.btn-new-announcement:hover{background:#2980b9}.announcement-table-container{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.important-row{background:#fffde7!important}.important-row:hover{background:#fff9c4!important}.important-tag{color:#e65100;font-size:12px;margin-right:4px}.announcement-title-cell{display:flex;flex-direction:column;gap:4px}.date-range-cell{font-size:12px;color:#666;line-height:1.5}.btn-edit-small,.btn-delete-small{padding:4px 10px;border:none;border-radius:4px;font-size:12px;cursor:pointer;margin-right:4px}.btn-edit-small{background:#3498db;color:#fff}.btn-edit-small:hover{background:#2980b9}.btn-delete-small{background:#e74c3c;color:#fff}.btn-delete-small:hover{background:#c0392b}.form-group input[type=text],.form-group input[type=date],.form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;box-sizing:border-box}.form-group textarea{resize:vertical;min-height:150px;font-family:inherit;line-height:1.6}@media(max-width:768px){.filter-row{flex-direction:column;align-items:stretch}.search-box{max-width:none}.post-table th:nth-child(4),.post-table td:nth-child(4),.post-table th:nth-child(5),.post-table td:nth-child(5){display:none}.reply-item.from-agency{margin-left:20px}.reply-item.from-student{margin-right:20px}.tab-navigation{overflow-x:auto}.tab-btn{padding:10px 16px;font-size:14px;white-space:nowrap}.form-row{flex-direction:column;gap:0}}.student-link{color:#667eea;cursor:pointer;text-decoration:underline;transition:all .2s}.student-link:hover{color:#764ba2;font-weight:600}.btn-push-small{padding:4px 8px;border:none;border-radius:4px;font-size:14px;cursor:pointer;margin-right:4px;background:#ff9800;color:#fff;transition:all .2s}.btn-push-small:hover{background:#f57c00;transform:scale(1.1)}.push-preview{background:#f5f5f5;border-radius:8px;padding:16px;margin-bottom:16px}.push-preview h4{margin:0 0 12px;font-size:14px;color:#666}.push-preview-content{background:#fff;border-radius:8px;padding:12px;box-shadow:0 2px 8px #0000001a}.push-title{font-weight:600;font-size:15px;color:#333;margin-bottom:8px}.push-body{font-size:14px;color:#666;line-height:1.5}.push-stats{background:#e3f2fd;border-radius:8px;padding:16px;margin-bottom:16px}.push-stats h4{margin:0 0 8px;font-size:14px;color:#1565c0}.push-stats p{margin:0 0 8px;font-size:14px}.device-breakdown{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.device-tag{background:#fff;padding:4px 10px;border-radius:12px;font-size:12px;color:#333}.push-warning{background:#fff3e0;border:1px solid #ffcc80;border-radius:8px;padding:12px 16px;color:#e65100;font-size:14px;margin-bottom:16px}.btn-push{background:#ff9800;color:#fff;border:none;padding:10px 24px;border-radius:6px;font-size:14px;cursor:pointer;font-weight:500}.btn-push:hover{background:#f57c00}.btn-push:disabled{background:#bdbdbd;cursor:not-allowed}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .2s ease-in-out}.modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-width:600px;width:90%;max-height:85vh;overflow-y:auto;animation:slideUp .3s ease-out}.modal-content.stop-modal{max-width:700px}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;font-size:20px;font-weight:600;color:#333}.close-button{background:none;border:none;font-size:28px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s,color .2s}.close-button:hover{background-color:#f5f5f5;color:#333}.modal-body{padding:24px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e0e0e0;background-color:#f9f9f9}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#333;font-size:14px}.form-group label.required:after{content:" *";color:#f44336}.form-input{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .2s;box-sizing:border-box}.form-input:focus{outline:none;border-color:#4caf50}.form-hint{display:block;margin-top:6px;font-size:12px;color:#666}.radio-group{display:flex;gap:20px}.radio-group label{display:flex;align-items:center;cursor:pointer;margin-bottom:0;font-weight:400}.radio-group input[type=radio],.radio-group input[type=checkbox]{margin-right:6px;cursor:pointer}.ml-2{margin-left:8px}.ml-4{margin-left:16px}.product-select-container{position:relative}.product-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 4px 4px;max-height:200px;overflow-y:auto;z-index:10;box-shadow:0 4px 8px #0000001a}.product-dropdown-item{padding:10px 12px;cursor:pointer;display:flex;gap:10px;transition:background-color .15s}.product-dropdown-item:hover{background-color:#f5f5f5}.product-code{font-weight:500;color:#4caf50;min-width:80px}.product-name{color:#333}.selected-product{margin-top:8px;padding:8px 12px;background-color:#e8f5e9;border-radius:4px;font-size:13px;color:#2e7d32}.weekday-products{display:flex;flex-direction:column;gap:12px}.weekday-product-row{display:grid;grid-template-columns:50px 1fr 80px 70px;gap:10px;align-items:center}.weekday-label{font-weight:500;color:#555;text-align:center}.selected-product-mini{font-size:12px;color:#4caf50;font-weight:500;text-align:center}.quantity-input,.quantity-input-mini{width:100%;padding:8px;border:1px solid #ddd;border-radius:4px;text-align:center}.quantity-input-mini{padding:6px;font-size:13px}.product-row-info{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:6px;padding:16px;margin-bottom:20px}.product-row-info h3{margin:0 0 12px;font-size:16px;color:#333}.info-row{display:flex;margin-bottom:8px}.info-label{font-weight:500;color:#666;min-width:100px}.info-value{color:#333}.weekday-products-info{margin-top:12px}.products-table{width:100%;border-collapse:collapse;border:1px solid #ddd;background:#fff}.products-table th,.products-table td{padding:8px;border:1px solid #ddd;text-align:left}.products-table th{background-color:#e3f2fd;font-weight:500;color:#333;font-size:13px}.products-table td{font-size:13px;color:#555}.warning-box{background-color:#fff3e0;border:1px solid #ff9800;border-radius:6px;padding:12px 16px;margin-top:16px}.warning-box strong{display:block;margin-bottom:8px;color:#e65100}.warning-box ul{margin:0;padding-left:20px}.warning-box li{margin-bottom:4px;color:#555;font-size:13px}.mt-4{margin-top:24px}.btn{padding:10px 20px;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s,transform .1s}.btn:active{transform:scale(.98)}.btn-primary{background-color:#4caf50;color:#fff}.btn-primary:hover{background-color:#45a049}.btn-secondary{background-color:#e0e0e0;color:#333}.btn-secondary:hover{background-color:#d5d5d5}.btn-danger{background-color:#f44336;color:#fff}.btn-danger:hover{background-color:#da190b}@media(max-width:600px){.modal-content{width:95%;max-height:90vh}.modal-header,.modal-body{padding:16px}.modal-footer{padding:12px 16px}.weekday-product-row{grid-template-columns:40px 1fr;gap:8px}.selected-product-mini,.quantity-input-mini{grid-column:2}}.product-select-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1100;padding:20px}.product-select-modal{background:#fff;border-radius:16px;width:100%;max-width:500px;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 40px #0003}.product-select-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e9ecef;background:#f8f9fa}.product-select-modal .modal-header h3{margin:0;font-size:16px;color:#2c3e50}.product-select-modal .modal-close{background:none;border:none;font-size:24px;color:#7f8c8d;cursor:pointer;padding:0;line-height:1}.product-select-modal .modal-body{flex:1;overflow-y:auto;padding:15px;min-height:300px}.product-select-modal .modal-footer{padding:12px 20px;border-top:1px solid #e9ecef;display:flex;justify-content:flex-end;gap:10px}.product-type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.product-type-card{background:#f8f9fa;border:2px solid #e9ecef;border-radius:12px;padding:20px 12px;text-align:center;cursor:pointer;transition:all .2s ease}.product-type-card:hover,.product-type-card:active{border-color:#3498db;background:#ebf5fb;transform:translateY(-2px);box-shadow:0 4px 12px #3498db33}.product-type-icon{font-size:32px;margin-bottom:8px}.product-type-name{font-size:14px;font-weight:600;color:#2c3e50}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.product-card{background:#fff;border:2px solid #e9ecef;border-radius:12px;overflow:hidden;cursor:pointer;transition:all .2s ease}.product-card:hover,.product-card:active{border-color:#27ae60;box-shadow:0 4px 12px #27ae6033;transform:translateY(-2px)}.product-card-image{width:100%;height:80px;background:#f8f9fa;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-card-image img{width:100%;height:100%;object-fit:contain;background:#f5f5f5}.product-card-placeholder{font-size:36px;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#f0f0f0}.product-card-info{padding:10px 8px;text-align:center}.product-card-name{font-size:12px;font-weight:600;color:#2c3e50;margin-bottom:4px;line-height:1.3;min-height:32px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card-volume{font-size:11px;color:#7f8c8d;margin-bottom:4px}.product-card-price{font-size:13px;font-weight:700;color:#27ae60}.btn-step-back{background:#ecf0f1;border:none;padding:8px 12px;border-radius:6px;color:#7f8c8d;font-size:13px;cursor:pointer;margin-bottom:12px}.btn-step-back:hover{background:#dfe6e9;color:#2c3e50}.product-select-modal .btn-cancel{background:#ecf0f1;border:none;padding:10px 20px;border-radius:8px;color:#7f8c8d;font-size:14px;cursor:pointer}.product-select-modal .btn-cancel:hover{background:#dfe6e9;color:#2c3e50}.no-items-message{text-align:center;padding:40px;color:#7f8c8d;grid-column:1 / -1}.flat-rate-schedule-preview{margin-top:15px;padding-top:15px;border-top:1px solid #e9ecef}.flat-rate-schedule-table{width:100%;border-collapse:collapse;font-size:11px}.flat-rate-schedule-table th{padding:6px 4px;background:#f8f9fa;border:1px solid #dee2e6;text-align:center;font-weight:600;color:#495057}.flat-rate-schedule-table td{padding:4px;border:1px solid #dee2e6;text-align:center;vertical-align:middle;height:50px}.flat-rate-week-label{font-weight:700;background:#f8f9fa;width:40px}.flat-rate-cell-content{display:flex;flex-direction:column;align-items:center;gap:2px}.flat-rate-cell-img{width:28px;height:28px;object-fit:contain;border-radius:3px}.flat-rate-cell-name{font-size:9px;line-height:1.1;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#495057}@media(max-width:400px){.product-type-grid,.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-card-image{height:70px}.product-type-card{padding:15px 10px}.product-type-icon{font-size:28px}}.student-list-page{padding:20px;max-width:100%}.page-header h2{margin:0;color:#333;font-size:22px}.message{padding:12px 16px;border-radius:6px;margin-bottom:15px;font-size:14px;white-space:pre-line}.filter-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.filter-group{display:flex;flex-direction:column;gap:6px;min-width:150px}.filter-group.wide{min-width:250px;flex:1}.filter-group label{font-size:12px;font-weight:600;color:#555}.filter-group select,.filter-group input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:13px;height:36px;box-sizing:border-box}.checkbox-inline{display:flex;align-items:center;gap:6px;height:36px;cursor:pointer;font-size:13px;white-space:nowrap}.checkbox-inline input[type=checkbox]{width:16px;height:16px;cursor:pointer}.filter-group select:focus,.filter-group input:focus{outline:none;border-color:#4a90a4}.button-group{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0}.button-divider{width:1px;background:#ddd;margin:0 4px}.btn{padding:8px 14px;border:none;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.btn-primary{background:#4a90a4;color:#fff}.btn-primary:hover:not(:disabled){background:#3a7a94}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-success{background:#28a745;color:#fff}.btn-success:hover:not(:disabled){background:#218838}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background:#c82333}.btn-warning{background:#ff9800;color:#fff}.btn-warning:hover:not(:disabled){background:#f57c00}.btn-purple{background:#9b59b6;color:#fff}.btn-purple:hover:not(:disabled){background:#8e44ad}.btn-green{background:#27ae60;color:#fff}.btn-green:hover:not(:disabled){background:#219a52}.btn-orange{background:#e67e22;color:#fff}.btn-orange:hover:not(:disabled){background:#d35400}.btn-teal{background:#00897b;color:#fff}.btn-teal:hover:not(:disabled){background:#00695c}.col-check{width:30px;text-align:center;padding:4px!important}.col-check input[type=checkbox]{cursor:pointer}.btn-small{padding:5px 10px;font-size:12px}.summary-section{display:flex;gap:20px;margin-bottom:20px;padding:16px 20px;background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-radius:8px;border:1px solid #a5d6a7}.summary-card{flex:1;text-align:center;padding:12px;background:#fff;border-radius:8px;box-shadow:0 2px 4px #00000014}.summary-card .card-value{font-size:28px;font-weight:700;color:#2e7d32;line-height:1.2}.summary-card .card-label{font-size:13px;color:#666;margin-top:4px}.summary-card.blue .card-value{color:#1976d2}.loading-message{text-align:center;padding:40px;color:#666;font-size:15px}.table-container{overflow-x:auto;border:1px solid #ddd;border-radius:8px;margin-bottom:20px}.student-table{width:100%;min-width:900px;border-collapse:collapse;font-size:12px;table-layout:fixed}.student-table th,.student-table td{padding:8px 6px;border-bottom:1px solid #eee;text-align:left;white-space:nowrap}.student-table th{background:#f8f9fa;font-weight:600;color:#333;font-size:11px;border-bottom:2px solid #ddd;position:sticky;top:0;z-index:10}.student-table tbody tr:hover{background:#f5f9fc}.col-sticky-left{position:sticky;left:0;background:#fff;z-index:5;border-right:1px solid #eee}.col-sticky-right{position:sticky;right:0;background:#fff;z-index:5;border-left:1px solid #eee}.student-table th.col-sticky-left,.student-table th.col-sticky-right{background:#f8f9fa;z-index:15}.col-id{width:5%;color:#888}.col-school{width:10%;overflow:hidden;text-overflow:ellipsis}.col-grade{width:5%;font-weight:600;color:#3498db}.col-student-number{width:6%}.col-name{width:7%;font-weight:600}.col-nickname{width:7%;color:#666}.col-phone{width:12%}.col-payment{width:5%}.col-extra{width:10%}.col-status{width:5%;text-align:center}.col-actions{width:9%}.status-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:600;text-align:center}.status-badge.active{background:#e8f5e9;color:#2e7d32}.status-badge.suspended{background:#ffebee;color:#c62828}.status-badge.archived{background:#f5f5f5;color:#757575}.payment-badge{display:inline-block;padding:2px 6px;border-radius:2px;font-size:10px;font-weight:500;color:#fff;min-width:28px;text-align:center;box-sizing:border-box}.payment-badge.cash{background:#28a745}.payment-badge.cms{background:#007bff}.payment-badge.card{background:#ff9800;padding:2px 6px;border-radius:2px;box-shadow:none;margin-bottom:0}.extra-badges{display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-start}.extra-badge{display:inline-block;padding:1px 4px;border-radius:2px;font-size:9px;font-weight:500;white-space:nowrap}.extra-badge.free{background:#d4edda;border:1px solid #28a745;color:#155724}.extra-badge.gift{background:#fff3cd;border:1px solid #ffc107;color:#856404}.extra-badge.discount{background:#cce5ff;border:1px solid #007bff;color:#004085}.extra-badge.home{background:#f8d7da;border:1px solid #dc3545;color:#721c24}.empty-data{text-align:center;padding:50px 20px;color:#999;font-size:14px}.text-muted{color:#ccc}.pagination-section{display:flex;justify-content:center;align-items:center;gap:8px;padding:16px;background:#f8f9fa;border-radius:8px;flex-wrap:wrap}.pagination-btn{padding:8px 14px;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:12px;cursor:pointer;transition:all .2s}.pagination-btn:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-numbers{display:flex;gap:4px;align-items:center}.pagination-number{padding:8px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:12px;cursor:pointer;transition:all .2s}.pagination-number:hover{background:#e9ecef}.pagination-number.active{background:#4a90a4;color:#fff;border-color:#4a90a4;font-weight:600}.pagination-ellipsis{padding:8px 6px;color:#666}.pagination-info{margin-left:16px;padding:8px 14px;background:#fff;border:1px solid #ddd;border-radius:4px;font-size:12px;font-weight:600;color:#333}.modal-content{background:#fff;border-radius:10px;width:90%;max-width:600px;max-height:85vh;overflow:hidden;box-shadow:0 4px 20px #0000004d}.modal-header{padding:16px 20px;border-bottom:2px solid #4A90A4;background:#f8f9fa}.modal-body{padding:20px;max-height:calc(85vh - 140px);overflow-y:auto}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #eee;background:#f8f9fa}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-group label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:#333}.form-group input,.form-group textarea,.form-group select{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;box-sizing:border-box;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#4a90a4}.form-group input:disabled{background:#f0f0f0;color:#666}.form-group textarea{resize:vertical;min-height:80px}.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#333}.checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer}@media(max-width:768px){.student-list-page{padding:12px}.page-header{flex-direction:column;gap:12px;align-items:flex-start}.filter-row{flex-direction:column}.filter-group{width:100%}.button-group{flex-direction:column}.button-group .btn{width:100%;justify-content:center}.summary-section{flex-direction:column;gap:12px}.form-row{grid-template-columns:1fr}.pagination-section{flex-direction:column;gap:12px}.pagination-info{margin-left:0}}.meal-settlement-page{padding:20px;max-width:1600px;margin:0 auto}.meal-settlement-page h2{margin-bottom:15px;color:#2d3748}.tab-menu{display:flex;gap:5px;margin-bottom:20px;border-bottom:2px solid #e2e8f0;padding-bottom:0}.tab-btn{padding:12px 24px;background:#f8f9fa;border:1px solid #e2e8f0;border-bottom:none;border-radius:8px 8px 0 0;cursor:pointer;font-size:14px;font-weight:600;color:#718096;transition:all .2s;margin-bottom:-2px}.tab-btn:hover{background:#edf2f7;color:#4a5568}.tab-btn.active{background:#fff;color:#3182ce;border-color:#e2e8f0;border-bottom:2px solid white}.tab-content{padding:20px 0}.under-development-small{background:#fef3c7;border:1px solid #f59e0b;color:#92400e;padding:20px;border-radius:8px;text-align:center;font-size:16px}.under-development-small span{font-size:24px;margin-right:10px}.filter-item select{padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:200px;height:44px;line-height:1.4}.btn-search{padding:10px 24px;background:#4299e1;color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer}.btn-search:hover:not(:disabled){background:#3182ce}.btn-search:disabled{background:#cbd5e0;cursor:not-allowed}.btn-add{padding:10px 20px;background:#48bb78;color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer}.btn-add:hover{background:#38a169}.btn-export{padding:10px 20px;background:#805ad5;color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}.btn-export:hover{background:#6b46c1}.add-form-section{background:#e6fffa;border:1px solid #81e6d9;padding:20px;border-radius:8px;margin-bottom:20px}.add-form-section h3{margin:0 0 15px;color:#234e52}.add-form-row{display:flex;gap:15px;align-items:flex-end;flex-wrap:wrap}.form-item{display:flex;flex-direction:column;gap:6px}.form-item label{font-size:12px;font-weight:600;color:#4a5568}.form-item input,.form-item select{padding:8px 10px;border:1px solid #cbd5e0;border-radius:4px;font-size:13px}.form-item input[type=date]{width:140px}.form-item input[type=text]{width:150px}.form-item input[type=number]{width:70px}.form-item select{width:130px}.form-buttons{display:flex;gap:8px}.btn-confirm{padding:8px 16px;background:#4299e1;color:#fff;border:none;border-radius:4px;font-size:13px;cursor:pointer}.btn-confirm:hover{background:#3182ce}.btn-cancel{padding:8px 16px;background:#a0aec0;color:#fff;border:none;border-radius:4px;font-size:13px;cursor:pointer}.btn-cancel:hover{background:#718096}.settlement-table tbody tr.manual-entry{background:#e6fffa}.message.info{background:#bee3f8;color:#2b6cb0;border:1px solid #90cdf4}.summary-table{margin-bottom:15px;background:#fff;border-radius:6px;box-shadow:0 1px 3px #0000001a;border-collapse:collapse}.summary-table th,.summary-table td{padding:10px 12px;white-space:nowrap}.summary-table th{background:#f8f9fa;font-size:12px;font-weight:600;color:#718096;border-right:1px solid #e2e8f0}.summary-table td{font-size:14px;font-weight:700;color:#2d3748;border-right:1px solid #e2e8f0}.summary-table td:last-child{border-right:none}.summary-table td.margin{color:#38a169}.summary-table td.deposit{color:#3182ce}.summary-table td.balance{color:#e53e3e}.settlement-table-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.settlement-table th,.settlement-table td{padding:10px 8px;border-bottom:1px solid #e2e8f0;text-align:center}.settlement-table th{background:#2d3748;color:#fff;font-weight:600;white-space:nowrap;position:sticky;top:0}.settlement-table tbody tr:hover{background:#f7fafc}.settlement-table tbody tr.no-product{background:#fffaf0}.food-item{text-align:left!important;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-cell{white-space:nowrap}.editable-date{cursor:pointer;padding:4px 8px;border-radius:4px;transition:background .2s}.editable-date:hover{background:#e2e8f0}.date-input{width:120px;padding:4px 6px;border:2px solid #4299e1;border-radius:4px;font-size:13px}.product-select{width:130px;padding:5px;border:1px solid #ddd;border-radius:4px;font-size:12px}.product-select-btn{min-width:100px;padding:6px 12px;background:#f8f9fa;border:1px solid #ddd;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.product-select-btn:empty:before,.product-select-btn:not(:empty){color:#2c3e50}.add-form-row .product-select-btn{min-width:140px;padding:10px 14px;font-size:14px}.quantity-input{width:55px;padding:5px;border:1px solid #ddd;border-radius:4px;text-align:center}.price-input{width:70px;padding:4px;border:1px solid #4299e1;border-radius:4px;text-align:right}.memo-input{width:80px;padding:4px;border:1px solid #ddd;border-radius:4px;font-size:11px}.btn-delete{background:#e53e3e;color:#fff;border:none;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:12px}.btn-delete:hover{background:#c53030}.no-data{text-align:center;padding:60px 20px;background:#f8f9fa;border-radius:8px;color:#718096}.no-data p:first-child{font-size:18px}.total-settlement-table{font-size:12px}.total-settlement-table th,.total-settlement-table td{padding:8px 6px}.total-settlement-table .school-name{text-align:left!important;font-weight:600;white-space:nowrap}.date-input-small{width:110px;padding:4px 6px;border:1px solid #cbd5e0;border-radius:4px;font-size:11px}.date-input-small:focus{border-color:#4299e1;outline:none}.discount-input{width:80px;padding:4px 6px;border:1px solid #cbd5e0;border-radius:4px;text-align:right;font-size:12px;-moz-appearance:textfield}.discount-input::-webkit-outer-spin-button,.discount-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.discount-input:focus{border-color:#4299e1;outline:none}.deposit-checkbox{width:18px;height:18px;cursor:pointer}.deposit-input{width:90px;padding:4px 6px;border:1px solid #cbd5e0;border-radius:4px;text-align:right;font-size:12px}.deposit-input:focus{border-color:#4299e1;outline:none}.deposit-input:disabled{background:#e2e8f0;color:#a0aec0}.balance-positive{color:#e53e3e!important;font-weight:600}.balance-zero{color:#38a169!important;font-weight:600}.total-settlement-table tbody tr.deposited-row{background:#e6fffa}.total-settlement-table tbody tr.deposited-row:hover{background:#d6f5ef}.btn-save-small{padding:4px 10px;background:#4299e1;color:#fff;border:none;border-radius:4px;font-size:11px;cursor:pointer;white-space:nowrap}.btn-save-small:hover{background:#3182ce}.month-selector select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:80px}.change-summary-section{background:#fff;border:2px solid #ed8936;border-radius:8px;padding:20px;margin-bottom:20px}.change-summary-section h3{margin:0 0 15px;color:#c05621;font-size:16px}.change-summary-row{display:flex;gap:30px;align-items:center;flex-wrap:wrap}.change-summary-item{display:flex;align-items:center;gap:10px}.change-summary-item label{font-weight:600;color:#4a5568;font-size:14px}.change-summary-value{font-size:18px;font-weight:700;color:#2d3748}.change-summary-value.positive{color:#38a169}.change-summary-value.negative{color:#e53e3e}.status-select{padding:8px 12px;border:2px solid #ed8936;border-radius:4px;font-size:14px;font-weight:600;min-width:120px;cursor:pointer;background:#fff}.status-select:focus{outline:none;border-color:#dd6b20}.btn-save-status{padding:8px 20px;background:#ed8936;color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}.btn-save-status:hover:not(:disabled){background:#dd6b20}.btn-save-status:disabled{background:#cbd5e0;cursor:not-allowed}.change-settlement-table{font-size:13px}.change-settlement-table th,.change-settlement-table td{padding:10px 8px}.change-settlement-table .change-qty{font-weight:600}.change-settlement-table .change-qty.increased{color:#38a169}.change-settlement-table .change-qty.decreased{color:#e53e3e}.change-settlement-table .change-amount{font-weight:600;font-family:monospace}.change-settlement-table .change-amount.positive{color:#38a169}.change-settlement-table .change-amount.negative{color:#e53e3e}.change-memo-input{width:120px;padding:6px 8px;border:1px solid #cbd5e0;border-radius:4px;font-size:12px}.change-memo-input:focus{border-color:#ed8936;outline:none}.change-settlement-table tbody tr.qty-changed{background:#fefcbf}.change-settlement-table tbody tr.price-changed{background:#fed7e2}.change-settlement-table tbody tr.both-changed{background:#feebc8}.change-settlement-table tbody tr:hover{background:#f7fafc}.school-milk-change-page{padding:20px;max-width:1400px;margin:0 auto}.filter-row{display:flex;gap:15px;align-items:flex-end;flex-wrap:wrap}.filter-item{display:flex;flex-direction:column;gap:6px;min-width:120px}.filter-item input,.filter-item select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;height:42px;line-height:1.4}.filter-buttons{display:flex;gap:8px}.btn-reset{padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer;background:#f5f5f5;color:#666;border:1px solid #ddd}.btn-reset:hover{background:#eee}.data-table td.center{text-align:center}.badge{display:inline-block;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.badge-blue{background:#e3f2fd;color:#1976d2}.badge-orange{background:#fff3e0;color:#e65100}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #eee}.modal-header h2{font-size:20px;font-weight:600}.btn-close{background:none;border:none;font-size:28px;cursor:pointer;color:#999}.btn-close:hover{color:#333}.form-section-title{font-size:14px;font-weight:600;color:#333;margin:20px 0 12px;padding-bottom:8px;border-bottom:1px solid #eee}.form-group label{font-size:13px;font-weight:500;color:#666}.form-group .required{color:#dc3545}.checkbox-row{gap:30px}.checkbox-group{flex:none!important}.checkbox-label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.checkbox-label input[type=checkbox]{width:18px;height:18px;margin-top:2px;cursor:pointer}.checkbox-text{display:flex;flex-direction:column;gap:2px}.checkbox-help{font-size:12px;color:#999}@media(max-width:768px){.filter-row{flex-direction:column}.filter-item{width:100%}.form-row{flex-direction:column;gap:15px}.quantity-row{flex-direction:row;flex-wrap:wrap}.quantity-row .form-group{min-width:45%}.checkbox-row{flex-direction:column;gap:15px}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-container{background:#fff;border-radius:16px;padding:40px;width:100%;max-width:400px;box-shadow:0 20px 60px #0000004d}.login-header{text-align:center;margin-bottom:30px}.login-header .logo-icon{font-size:48px;margin-bottom:10px}.login-header h1{font-size:24px;color:#333;margin:0 0 5px}.login-header p{color:#666;margin:0;font-size:14px}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#333;font-size:14px;display:flex;justify-content:space-between;align-items:center}.form-group input{padding:14px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#667eea}.form-group input:disabled{background:#f5f5f5}.input-hint{font-size:12px;color:#888}.timer{color:#e74c3c;font-weight:700;font-size:14px}.verification-info{background:#f8f9fa;padding:16px;border-radius:8px;text-align:center}.verification-info p{margin:0;line-height:1.6;color:#555}.verification-info strong{color:#333}.btn{padding:14px 24px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-full{width:100%}.btn-link{background:none;border:none;color:#667eea;cursor:pointer;font-size:14px;padding:8px}.btn-link:hover:not(:disabled){text-decoration:underline}.btn-link:disabled{color:#999;cursor:not-allowed}.verification-actions{display:flex;justify-content:center;gap:20px}.error-message{background:#fee2e2;color:#dc2626;padding:12px 16px;border-radius:8px;font-size:14px;text-align:center}.success-message{background:#d1fae5;color:#059669;padding:12px 16px;border-radius:8px;font-size:14px;text-align:center}.login-footer{margin-top:30px;text-align:center;padding-top:20px;border-top:1px solid #eee}.login-footer p{margin:0;font-size:12px;color:#888}.school-detail-page{padding:0}.school-detail-layout{display:grid;grid-template-columns:400px 1fr;gap:20px;margin-top:20px}.school-detail-left{display:flex;flex-direction:column;gap:20px}.school-detail-right{min-width:0}.school-detail-right .card{height:100%;display:flex;flex-direction:column}.info-grid{margin-top:15px}.info-row{display:flex;padding:10px 0;border-bottom:1px solid #eee}.info-row:last-child{border-bottom:none}.info-label{width:100px;font-weight:600;color:#555;flex-shrink:0}.info-value{flex:1;color:#333}.student-stats{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0;padding:15px;background:#f8f9fa;border-radius:8px}.stat-item{display:flex;flex-direction:column;align-items:center;padding:10px 15px;background:#fff;border-radius:6px;min-width:70px;box-shadow:0 1px 3px #0000001a}.stat-item .stat-label{font-size:12px;color:#666;margin-bottom:4px}.stat-item .stat-value{font-size:16px;font-weight:700;color:#333}.stat-item.active .stat-value{color:#27ae60}.stat-item.suspended .stat-value{color:#e67e22}.stat-item.graduated .stat-value{color:#3498db}.stat-item.free-support .stat-value{color:#9b59b6}.stat-item.free-gift .stat-value{color:#e74c3c}.student-list-container{flex:1;overflow:auto;max-height:calc(100vh - 400px);min-height:300px}.student-table{width:100%;border-collapse:collapse;font-size:13px}.student-table thead{position:sticky;top:0;background:#f8f9fa;z-index:1}.student-table th{padding:10px 8px;text-align:left;font-weight:600;color:#555;border-bottom:2px solid #ddd}.student-table td{padding:10px 8px;border-bottom:1px solid #eee}.student-table tbody tr:hover{background:#f5f5f5}.student-table .center{text-align:center}.student-table .inactive-row{opacity:.6;background:#fafafa}.status-badge{display:inline-block;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:500}.status-badge.status-active{background:#d4edda;color:#155724}.status-badge.status-suspended{background:#fff3cd;color:#856404}.status-badge.status-graduated{background:#cce5ff;color:#004085}@media(max-width:1200px){.school-detail-layout{grid-template-columns:350px 1fr}}@media(max-width:992px){.school-detail-layout{grid-template-columns:1fr}.student-list-container{max-height:500px}}@media(max-width:768px){.student-stats{justify-content:center}.stat-item{min-width:60px;padding:8px 12px}.student-table{font-size:12px}.student-table th,.student-table td{padding:8px 5px}}.home-page{padding:20px;max-width:1600px;margin:0 auto}.schedule-container{display:flex;gap:20px;align-items:flex-start}.schedule-main{flex:1;min-width:0}.schedule-sidebar{width:350px;flex-shrink:0}.day-detail-placeholder{background:#f8f9fa;border-radius:8px;padding:40px 20px;text-align:center;color:#888;border:2px dashed #ddd;min-height:300px;display:flex;align-items:center;justify-content:center}.day-detail-placeholder p{margin:0;font-size:14px}.schedule-top-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.schedule-nav{display:flex;align-items:center;gap:15px}.schedule-nav button{padding:8px 16px;background:#f0f0f0;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:16px}.schedule-nav button:hover{background:#e0e0e0}.schedule-nav h2{margin:0;min-width:150px;text-align:center}.btn-today{padding:8px 16px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer}.btn-today:hover{background:#0056b3}.loading-bar{text-align:center;padding:10px;color:#666}.schedule-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#e2e8f0;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.schedule-header-cell{background:#4a5568;padding:12px;text-align:center;font-weight:600;color:#fff}.schedule-header-cell.sunday{color:#fc8181}.schedule-header-cell.saturday{color:#90cdf4}.schedule-cell{background:#fff;min-height:100px;max-height:150px;padding:8px;cursor:pointer;transition:background-color .2s ease;overflow:hidden;display:flex;flex-direction:column}.schedule-cell.empty{background:#f8f9fa;cursor:default}.schedule-cell.has-day:hover{background:#f7fafc}.schedule-cell.today{background:#ebf4ff;border:2px solid #667eea}.schedule-cell.selected{background:#bee3f8;border:2px solid #3182ce}.schedule-cell.sunday{background:#fff5f5}.schedule-cell.sunday .schedule-day-number{color:#e53e3e}.schedule-cell.saturday{background:#ebf8ff}.schedule-cell.saturday .schedule-day-number{color:#3182ce}.schedule-day-number{font-weight:600;font-size:14px;margin-bottom:4px}.schedule-day-events{display:flex;flex-direction:column;gap:3px;flex:1;overflow:hidden}.schedule-event-badge{padding:4px 8px;border-radius:4px;font-size:11px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .2s}.schedule-event-badge:hover{opacity:.85;transform:translate(2px)}.schedule-event-more{font-size:10px;color:#718096;padding:2px 4px;background:#edf2f7;border-radius:3px;text-align:center}.day-detail{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:20px;position:sticky;top:20px;max-height:calc(100vh - 200px);overflow-y:auto}.day-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #eee}.day-detail-header h3{margin:0;color:#333}.btn-add-event{padding:8px 16px;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer}.btn-add-event:hover{background:#218838}.no-events{color:#666;text-align:center;padding:20px}.event-list{list-style:none;padding:0;margin:0}.event-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-left:4px solid #3788d8;background:#f8f9fa;margin-bottom:8px;border-radius:0 4px 4px 0}.event-info{flex:1}.event-info strong{display:block;margin-bottom:4px}.event-info p{margin:4px 0 0;color:#666;font-size:13px}.event-type-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;margin-left:8px}.event-type-badge.holiday{background:#ff6b6b;color:#fff}.event-type-badge.public-holiday{background:#e53935;color:#fff}.school-info{color:#666;font-size:12px}.event-actions{display:flex;gap:8px}.event-actions button{padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:12px}.event-actions button:first-child{background:#007bff;color:#fff}.event-actions button:last-child{background:#dc3545;color:#fff}.modal-content h3{margin:0 0 20px;color:#333}.form-group input[type=text],.form-group input[type=date],.form-group textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.form-row{display:flex;gap:16px}.form-row .form-group{flex:1}.color-picker{display:flex;gap:8px}.color-option{width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;border:2px solid transparent}.color-option.selected{border-color:#333;transform:scale(1.1)}.color-option input{display:none}.memo-section{margin-top:16px;padding-top:16px;border-top:2px dashed #dee2e6}.memo-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.memo-section-header h4{margin:0;color:#495057;font-size:14px}.memo-unsaved{font-size:11px;color:#e67e22;background:#fef3e2;padding:2px 8px;border-radius:10px}.memo-textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:13px;resize:vertical;min-height:80px;box-sizing:border-box;font-family:inherit;line-height:1.5}.memo-textarea:focus{border-color:#80bdff;outline:none;box-shadow:0 0 0 2px #007bff26}.btn-save-memo{margin-top:8px;width:100%;padding:8px 16px;background:#17a2b8;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px}.btn-save-memo:hover:not(:disabled){background:#138496}.btn-save-memo:disabled{background:#b8daff;cursor:not-allowed}.schedule-day-number-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.memo-indicator{font-size:12px;line-height:1}.dashboard-page{padding:20px;display:flex;justify-content:center;align-items:center;min-height:60vh}.under-development{text-align:center;padding:60px;background:#f8f9fa;border-radius:16px;box-shadow:0 4px 12px #0000001a}.dev-icon{font-size:80px;margin-bottom:20px}.under-development h2{margin:0 0 10px;color:#333;font-size:32px}.under-development p{margin:0;color:#666;font-size:16px}.delivery-product-page{padding:20px;max-width:1400px;margin:0 auto}.delivery-product-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.delivery-product-page .page-header h2{margin:0;color:#333;font-size:24px}.delivery-product-page .btn-add{background:#4a90a4;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.delivery-product-page .btn-add:hover{background:#3a7a8f;transform:translateY(-1px)}.delivery-product-page .message{padding:12px 16px;border-radius:8px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;font-size:14px}.delivery-product-page .message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.delivery-product-page .message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.delivery-product-page .message button{background:none;border:none;font-size:18px;cursor:pointer;color:inherit;opacity:.7}.delivery-product-page .message button:hover{opacity:1}.delivery-product-page .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.delivery-product-page .empty-state{grid-column:1 / -1;text-align:center;padding:60px 20px;background:#f8f9fa;border-radius:12px;border:2px dashed #dee2e6}.delivery-product-page .empty-icon{font-size:48px;display:block;margin-bottom:16px}.delivery-product-page .empty-state p{color:#6c757d;margin-bottom:20px;font-size:16px}.delivery-product-page .btn-add-empty{background:#4a90a4;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;cursor:pointer;transition:all .2s}.delivery-product-page .btn-add-empty:hover{background:#3a7a8f}.delivery-product-page .product-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden;cursor:pointer;transition:all .2s;position:relative;border:1px solid #e9ecef}.delivery-product-page .product-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px #0000001f}.delivery-product-page .product-card.inactive{opacity:.6}.delivery-product-page .product-card.inactive:hover{opacity:.8}.delivery-product-page .card-image{position:relative;height:180px;background:#f8f9fa;display:flex;align-items:center;justify-content:center;overflow:hidden}.delivery-product-page .card-image img{width:100%;height:100%;object-fit:contain;padding:10px}.delivery-product-page .card-image .no-image{text-align:center;color:#adb5bd}.delivery-product-page .card-image .no-image span{font-size:40px;display:block;margin-bottom:8px}.delivery-product-page .card-image .no-image p{margin:0;font-size:13px}.delivery-product-page .btn-delete-image{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:50%;border:none;background:#e74c3ce6;color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}.delivery-product-page .product-card:hover .btn-delete-image{opacity:1}.delivery-product-page .btn-delete-image:hover{background:#c0392b}.delivery-product-page .status-badge{position:absolute;top:8px;left:8px;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600}.delivery-product-page .status-badge.active{background:#27ae60;color:#fff}.delivery-product-page .status-badge.inactive{background:#95a5a6;color:#fff}.delivery-product-page .card-content{padding:16px}.delivery-product-page .product-name{font-size:16px;font-weight:600;color:#333;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-product-page .product-code{font-size:12px;color:#3498db;font-weight:500;margin-bottom:8px}.delivery-product-page .product-price{font-size:18px;font-weight:700;color:#e74c3c;margin-bottom:8px}.delivery-product-page .product-important-note{background:#fff3e0;color:#e53935;font-size:12px;font-weight:700;padding:4px 8px;border-radius:4px;border:1px solid #ffcc80;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-product-page .product-description{font-size:13px;color:#6c757d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-product-page .card-actions{display:flex;gap:8px;padding:12px 16px;background:#f8f9fa;border-top:1px solid #e9ecef}.delivery-product-page .card-actions button{flex:1;padding:8px 12px;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.delivery-product-page .btn-toggle.deactivate{background:#f39c12;color:#fff}.delivery-product-page .btn-toggle.deactivate:hover{background:#d68910}.delivery-product-page .btn-toggle.activate{background:#27ae60;color:#fff}.delivery-product-page .btn-toggle.activate:hover{background:#219a52}.delivery-product-page .card-actions .btn-delete{background:#e74c3c;color:#fff}.delivery-product-page .card-actions .btn-delete:hover{background:#c0392b}.delivery-product-page .sort-order{position:absolute;bottom:60px;right:12px;background:#00000080;color:#fff;padding:4px 8px;border-radius:4px;font-size:11px;font-weight:500}.delivery-product-page .modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.delivery-product-page .modal-content{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.delivery-product-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#f8f9fa;border-bottom:1px solid #e9ecef}.delivery-product-page .modal-header h3{margin:0;font-size:18px;color:#333}.delivery-product-page .btn-close{background:none;border:none;font-size:24px;color:#6c757d;cursor:pointer;padding:0;line-height:1}.delivery-product-page .btn-close:hover{color:#333}.delivery-product-page .modal-body{padding:20px;overflow-y:auto}.delivery-product-page .form-group{margin-bottom:16px}.delivery-product-page .form-group label{display:block;font-size:13px;font-weight:500;color:#495057;margin-bottom:6px}.delivery-product-page .form-group input[type=text],.delivery-product-page .form-group input[type=number]{width:100%;padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:14px;transition:border-color .2s}.delivery-product-page .form-group input:focus{outline:none;border-color:#4a90a4;box-shadow:0 0 0 3px #4a90a41a}.delivery-product-page .input-with-button{display:flex;gap:8px}.delivery-product-page .input-with-button input{flex:1}.delivery-product-page .btn-select{background:#4a90a4;color:#fff;border:none;padding:10px 16px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}.delivery-product-page .btn-select:hover{background:#3a7a8f}.delivery-product-page .selected-code{display:block;margin-top:6px;color:#27ae60;font-size:12px}.delivery-product-page .form-row{display:flex;gap:12px}.delivery-product-page .form-row .form-group{flex:1}.delivery-product-page .checkbox-group{display:flex;align-items:flex-end;padding-bottom:10px}.delivery-product-page .checkbox-label{display:flex!important;align-items:center;gap:8px;cursor:pointer;font-size:14px}.delivery-product-page .checkbox-label input{width:18px;height:18px;cursor:pointer}.delivery-product-page .image-upload-area{text-align:center}.delivery-product-page .upload-label{display:block;border:2px dashed #ced4da;border-radius:8px;padding:20px;cursor:pointer;transition:all .2s}.delivery-product-page .upload-label:hover{border-color:#4a90a4;background:#f8f9fa}.delivery-product-page .upload-placeholder{color:#6c757d}.delivery-product-page .upload-placeholder span{font-size:32px;display:block;margin-bottom:8px}.delivery-product-page .upload-placeholder p{margin:0 0 4px;font-size:14px}.delivery-product-page .upload-placeholder small{font-size:11px;color:#adb5bd}.delivery-product-page .preview-image{max-width:100%;max-height:200px;border-radius:6px}.delivery-product-page .btn-remove-image{margin-top:12px;background:#e74c3c;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:13px;cursor:pointer}.delivery-product-page .btn-remove-image:hover{background:#c0392b}.delivery-product-page .modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;background:#f8f9fa;border-top:1px solid #e9ecef}.delivery-product-page .btn-cancel{background:#6c757d;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:14px;cursor:pointer}.delivery-product-page .btn-cancel:hover{background:#5a6268}.delivery-product-page .btn-submit{background:#4a90a4;color:#fff;border:none;padding:10px 24px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer}.delivery-product-page .btn-submit:hover{background:#3a7a8f}.delivery-product-page .btn-submit:disabled{background:#adb5bd;cursor:not-allowed}@media(max-width:768px){.delivery-product-page{padding:16px}.delivery-product-page .page-header{flex-direction:column;gap:12px;align-items:stretch}.delivery-product-page .btn-add{width:100%;text-align:center}.delivery-product-page .product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.delivery-product-page .form-row{flex-direction:column;gap:0}.delivery-product-page .modal-content{max-height:95vh}}.school-holiday-page{padding:20px;max-width:1000px;margin:0 auto}.school-holiday-page h2{margin-bottom:20px;color:#333}.tab-container{display:flex;gap:0;margin-bottom:20px;border-bottom:2px solid #e0e0e0}.tab-btn{padding:12px 24px;background:#f5f5f5;border:none;border-bottom:2px solid transparent;cursor:pointer;font-size:14px;font-weight:500;color:#666;transition:all .2s;margin-bottom:-2px}.tab-btn.active{background:#fff;color:#007bff;border-bottom:2px solid #007bff}.year-month-filter{display:flex;gap:10px;margin-bottom:15px}.year-month-filter select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.public-holiday-name{font-weight:500}.filter-section{display:flex;flex-direction:row;flex-wrap:nowrap;gap:10px;margin-bottom:20px;align-items:center;justify-content:flex-start}.filter-section select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.btn-add{padding:8px 16px;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-add:hover{background:#218838}.btn-add:disabled{background:#ccc;cursor:not-allowed}.error-message{background:#f8d7da;color:#721c24;padding:10px;border-radius:4px;margin-bottom:20px}.empty-message{text-align:center;padding:40px;color:#666;background:#f8f9fa;border-radius:8px}.holiday-table{width:100%;border-collapse:collapse;background:#fff;box-shadow:0 1px 3px #0000001a}.holiday-table th,.holiday-table td{padding:12px;text-align:left;border-bottom:1px solid #eee}.holiday-table th{background:#f8f9fa;font-weight:600;color:#333}.holiday-table tr:hover{background:#f5f5f5}.badge{padding:4px 8px;border-radius:4px;font-size:12px}.badge.all{background:#28a745;color:#fff}.badge.partial{background:#ffc107;color:#333}.badge.vacation{background:#17a2b8;color:#fff}.badge.other{background:#6c757d;color:#fff}.btn-edit,.btn-delete{padding:4px 10px;border:none;border-radius:4px;cursor:pointer;font-size:12px;margin-right:5px}.btn-edit{background:#007bff;color:#fff}.btn-delete{background:#dc3545;color:#fff}.modal-content{background:#fff;padding:24px;border-radius:8px;width:90%;max-width:500px;max-height:80vh;overflow-y:auto}.modal-content h3{margin-bottom:20px;color:#333}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333}.form-group input[type=date],.form-group input[type=text]{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.form-group input[type=checkbox]{margin-right:8px}.grade-codes-wrapper{border:1px solid #ddd;border-radius:4px;padding:10px}.btn-select-all{padding:6px 12px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:12px;margin-bottom:10px}.btn-select-all:hover{background:#5a6268}.grade-codes-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.grade-code-item{display:flex;align-items:center;padding:6px;background:#f8f9fa;border-radius:4px;cursor:pointer;font-size:14px}.grade-code-item:hover{background:#e9ecef}.form-buttons{display:flex;gap:10px;margin-top:20px}.btn-save{flex:1;padding:12px;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-save:hover{background:#218838}.btn-save:disabled{background:#ccc;cursor:not-allowed}.btn-cancel{flex:1;padding:12px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.date-range-group .date-range-inputs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.date-range-group .date-input-wrapper{display:flex;flex-direction:column;gap:4px;flex:1;min-width:140px}.date-range-group .date-label{font-size:12px;color:#666}.date-range-group .date-separator{font-size:18px;color:#666;padding-top:20px}.date-range-group .date-hint{display:block;margin-top:6px;font-size:12px;color:#888}.date-range-group input[type=date]{width:100%;padding:8px;border:1px solid #ddd;border-radius:4px;font-size:14px}.excluded-schools-wrapper{border:1px solid #ddd;border-radius:4px;padding:10px;background:#fafafa}.excluded-schools-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px;max-height:200px;overflow-y:auto;margin-top:8px}.excluded-school-item{display:flex;align-items:center;padding:6px 8px;background:#fff;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;font-size:13px;transition:background .2s}.excluded-school-item:hover{background:#fff3cd}.excluded-school-item input[type=checkbox]{margin-right:6px}.excluded-hint{display:block;margin-top:8px;font-size:12px;color:#dc3545;font-weight:500}.excluded-badge{display:inline-block;padding:3px 8px;background:#fff3cd;color:#856404;border-radius:4px;font-size:12px;cursor:help}.no-excluded{color:#999}.btn-complete{padding:4px 8px;border:none;background:transparent;cursor:pointer;font-size:20px;transition:transform .2s}.btn-complete:hover{transform:scale(1.2)}.btn-complete.done{color:#28a745}.completed-row{background:#f8fff8!important}.completed-row:hover{background:#f0fff0!important}.text-completed{text-decoration:line-through;color:#999}.badge.monthly{background:#17a2b8;color:#fff}.badge.yearly{background:#6f42c1;color:#fff}.form-group select{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.form-group textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box;resize:vertical}.label-print-page{padding:20px}.label-print-page .page-header{margin-bottom:20px}.label-print-page .page-header h1{font-size:24px;color:#333;margin:0}.tab-menu{display:flex;gap:2px;margin-bottom:20px;border-bottom:2px solid #e0e0e0}.tab-btn{padding:12px 24px;border:none;background:#f5f5f5;color:#666;font-size:14px;font-weight:500;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s}.tab-btn:hover{background:#e8e8e8}.tab-btn.active{background:#3b82f6;color:#fff}.tab-content{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:20px}.filter-section{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:20px}.filter-row-wrapper{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.filter-row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;flex:1}.filter-item{display:flex;flex-direction:column;gap:6px}.filter-item label{font-size:13px;font-weight:500;color:#555;line-height:1.4}.filter-item select{padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;line-height:1.4;min-width:100px;background:#fff;height:44px}.filter-item select:focus{outline:none;border-color:#3b82f6}.button-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0}.action-btn{padding:9px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;color:#fff;white-space:nowrap}.action-btn:disabled{background:#9ca3af!important;cursor:not-allowed}.action-btn-search{background:#3b82f6}.action-btn-search:hover:not(:disabled){background:#2563eb}.action-btn-print{background:#10b981}.action-btn-print:hover:not(:disabled){background:#059669}.action-btn-class{background:#9b59b6}.action-btn-class:hover:not(:disabled){background:#8e44ad}.action-btn-class-print{background:#8e44ad}.action-btn-class-print:hover:not(:disabled){background:#7d3c98}.action-btn-excel{background:#27ae60}.action-btn-excel:hover:not(:disabled){background:#1e8449}.action-btn-record{background:#8b5cf6}.action-btn-record:hover:not(:disabled){background:#7c3aed}.button-row .last-print-info{font-size:13px;color:#666;margin-left:auto}.search-btn,.print-btn,.record-btn{padding:9px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.search-btn{background:#3b82f6;color:#fff}.search-btn:hover:not(:disabled){background:#2563eb}.search-btn:disabled{background:#9ca3af;cursor:not-allowed}.print-btn{background:#10b981;color:#fff}.print-btn:hover:not(:disabled){background:#059669}.print-btn:disabled{background:#9ca3af;cursor:not-allowed}.record-btn{background:#8b5cf6;color:#fff}.record-btn:hover:not(:disabled){background:#7c3aed}.record-btn:disabled{background:#9ca3af;cursor:not-allowed}.preview-section{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:500}.label-count{color:#3b82f6;font-size:14px}.label-preview-container{padding:20px;min-height:400px;background:#fafafa}.no-data{display:flex;justify-content:center;align-items:center;height:300px;color:#999;font-size:14px}.label-grid-preview{display:grid!important;grid-template-columns:repeat(4,1fr)!important;grid-template-rows:repeat(10,auto)!important;gap:3px!important;width:100%!important;max-width:700px!important;margin:0 auto!important;padding:10px!important;background:#fff!important;border:2px solid #ccc!important;box-sizing:border-box!important}.label-item-preview{border:1px solid #ddd;padding:4px;background:#fff;font-size:10px;min-height:50px;height:50px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:2px;overflow:hidden}.label-address{font-size:9px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}.label-name{font-size:11px;font-weight:600;color:#333;text-align:center}.label-product{font-size:10px;color:#3b82f6;font-weight:500;text-align:center}.label-message{font-size:8px;color:#888;font-style:italic;text-align:center;line-height:1.3;word-break:keep-all}.quote-input-section{display:flex;flex-direction:column;gap:6px;min-width:280px;flex-shrink:0}.quote-input-section label{font-size:13px;font-weight:500;color:#555}.quote-input-section textarea{padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;resize:none;font-family:inherit;line-height:1.5;width:100%}.quote-input-section textarea:focus{outline:none;border-color:#3b82f6}.quote-input-section textarea::placeholder{color:#999}.last-print-info{margin-top:12px;padding:8px 12px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;font-size:13px;color:#0369a1}.quote-section{background:#fff8e1;border:1px solid #ffe082;border-radius:8px;padding:12px 16px;margin-bottom:20px}.quote-header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.quote-title{font-size:14px;font-weight:600;color:#f57c00}.quote-btn{padding:5px 12px;border:none;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.quote-btn-input{background:#3b82f6;color:#fff}.quote-btn-input:hover{background:#2563eb}.quote-btn-random{background:#10b981;color:#fff}.quote-btn-random:hover{background:#059669}.quote-btn-clear{background:#ef4444;color:#fff}.quote-btn-clear:hover:not(:disabled){background:#dc2626}.quote-btn-clear:disabled{background:#9ca3af;cursor:not-allowed}.quote-input-row{display:flex;align-items:center;gap:10px}.quote-input-text{flex:1;padding:10px 14px;border:1px solid #ddd;border-radius:6px;font-size:14px;background:#fff}.quote-input-text:focus{outline:none;border-color:#f57c00}.quote-input-text::placeholder{color:#999}.quote-modal{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:80vh;overflow:hidden;box-shadow:0 4px 20px #0000004d}.quote-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#f57c00;color:#fff}.quote-modal-header h3{margin:0;font-size:18px}.modal-close-btn{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;line-height:1;padding:0}.modal-close-btn:hover{opacity:.8}.quote-modal-body{padding:20px;overflow-y:auto;max-height:calc(80vh - 60px)}.quote-add-form{display:flex;gap:10px;margin-bottom:20px}.quote-add-form input{flex:1;padding:10px 14px;border:1px solid #ddd;border-radius:6px;font-size:14px}.quote-add-form input:focus{outline:none;border-color:#f57c00}.quote-add-form button{padding:10px 20px;background:#f57c00;color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:background .2s}.quote-add-form button:hover{background:#ef6c00}.quote-add-form .excel-btn{background:#4caf50}.quote-add-form .excel-btn:hover{background:#43a047}.quote-excel-info{font-size:12px;color:#888;margin-bottom:15px;padding-left:5px}.quote-list{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.quote-list-header{background:#f5f5f5;padding:10px 14px;font-size:13px;font-weight:500;color:#666;border-bottom:1px solid #e0e0e0}.quote-list-empty{padding:30px;text-align:center;color:#999;font-size:14px;line-height:1.6}.quote-list-items{list-style:none;margin:0;padding:0;max-height:300px;overflow-y:auto}.quote-list-item{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #f0f0f0;transition:background .2s}.quote-list-item:last-child{border-bottom:none}.quote-list-item:hover{background:#fff8e1}.quote-text{flex:1;font-size:14px;color:#333;cursor:pointer;padding-right:10px}.quote-text:hover{color:#f57c00}.quote-delete-btn{background:none;border:none;color:#999;font-size:20px;cursor:pointer;padding:0 5px;line-height:1}.quote-delete-btn:hover{color:#ef4444}.label-item-preview.new-label{background:#e8f5e9;border-color:#4caf50}.label-item-preview.changed-label{background:#fff3e0;border-color:#ff9800}.label-original-product{font-size:9px;color:#888;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.label-new-product{font-size:12px;font-weight:700;color:#d32f2f;text-align:center;line-height:1.3;word-break:keep-all}.birthday-settings{display:flex;gap:30px;margin-bottom:20px;padding:16px;background:#f8f9fa;border-radius:8px}.birthday-message-section{flex:1;display:flex;flex-direction:column;gap:8px}.birthday-message-section label{font-size:14px;font-weight:500;color:#555}.birthday-message-section textarea{padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;resize:none;font-family:inherit;line-height:1.5}.birthday-message-section textarea:focus{outline:none;border-color:#e91e63}.birthday-image-section{flex:1;display:flex;flex-direction:column;gap:8px}.birthday-image-section label{font-size:14px;font-weight:500;color:#555}.image-upload-row{display:flex;align-items:center;gap:10px}.image-upload-btn{padding:10px 20px;background:#e91e63;color:#fff;border:none;border-radius:6px;font-size:14px;cursor:pointer;transition:background .2s}.image-upload-btn:hover{background:#c2185b}.image-file-name{font-size:13px;color:#666;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-clear-btn{padding:6px 12px;background:#f44336;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer}.image-clear-btn:hover{background:#d32f2f}.image-preview{margin-top:10px;max-width:200px;max-height:120px;border:1px solid #ddd;border-radius:6px;overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:contain;background:#f5f5f5}.image-options{margin-top:15px;padding:12px;background:#fff;border:1px solid #e0e0e0;border-radius:6px}.image-option-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.image-option-row:last-child{margin-bottom:0}.image-option-row label{min-width:70px;font-size:12px;color:#666}.position-buttons{display:flex;gap:4px}.pos-btn{padding:6px 12px;border:1px solid #ddd;background:#fff;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s}.pos-btn:hover{background:#f5f5f5}.pos-btn.active{background:#e91e63;color:#fff;border-color:#e91e63}.slider{flex:1;height:6px;cursor:pointer}.birthday-grid{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(10,1fr);gap:3px}.label-item-preview.birthday-label{background-color:#fff8e1;background-size:cover;background-position:center;background-repeat:no-repeat;border:1px solid #ffc107;display:flex;flex-direction:column;justify-content:space-between;padding:8px}.birthday-header{font-size:8px;font-weight:600;color:#333;text-align:center;background:#fffc;padding:2px 4px;border-radius:2px}.birthday-text{font-size:10px;font-weight:500;color:#333;text-align:center;background:#fffc;padding:4px;border-radius:2px;line-height:1.4;word-break:keep-all;white-space:pre-line}.label-item-preview.birthday-label.birthday-left,.label-item-preview.birthday-label.birthday-right{flex-direction:row;padding:4px;gap:4px}.birthday-img-side{width:40%;height:100%;border-radius:2px;flex-shrink:0}.birthday-content{display:flex;flex-direction:column;justify-content:space-between;flex:1}.birthday-content.side-layout{width:60%}.birthday-content.side-layout .birthday-header,.birthday-content.side-layout .birthday-text{background:transparent}.coming-soon{display:flex;flex-direction:column;justify-content:center;align-items:center;height:300px;color:#999}.coming-soon h3{margin-bottom:10px;color:#666}.print-area{display:none}.class-label-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(10,1fr)}.class-label-item{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#f3e5f5!important;border:1px solid #9b59b6!important}.class-label-text{font-size:11px;font-weight:700;color:#333;line-height:1.2;margin-bottom:4px}.class-label-count{font-size:18px;font-weight:900;color:#9b59b6;line-height:1.2}.class-label-btn,.excel-export-btn{padding:10px 16px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;color:#fff;transition:all .2s}.class-label-btn:hover,.excel-export-btn:hover{opacity:.9}.class-label-btn:disabled,.excel-export-btn:disabled{opacity:.5;cursor:not-allowed}.message-only-check{display:flex;align-items:center}.message-only-check .checkbox-label{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:14px;font-weight:500;color:#e91e63;padding:8px 12px;background:#fce4ec;border-radius:6px;border:1px solid #f48fb1;transition:all .2s}.message-only-check .checkbox-label:hover{background:#f8bbd9}.message-only-check .checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:#e91e63;cursor:pointer}.birthday-message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.birthday-message-header label{font-size:14px;font-weight:500;color:#555}.message-register-btn{padding:6px 14px;background:#e91e63;color:#fff;border:none;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:background .2s}.message-register-btn:hover{background:#c2185b}.birthday-message-info{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:12px}.font-size-info{color:#888}.birthday-message-section textarea{min-height:80px;line-height:1.6}.birthday-modal .quote-add-form button{background:#e91e63}.birthday-modal .quote-add-form button:hover{background:#c2185b}.birthday-modal .quote-list-item:hover{background:#fce4ec}.birthday-modal .quote-text:hover{color:#e91e63}.message-style-options{margin-top:10px;padding:10px 12px;background:#fff;border:1px solid #e0e0e0;border-radius:6px;display:flex;flex-direction:column;gap:8px}.style-option-row{display:flex;align-items:center;gap:10px}.style-option-row label{font-size:13px;font-weight:500;color:#555;white-space:nowrap;min-width:70px}.style-option-row .color-picker{width:36px;height:28px;padding:0;border:1px solid #ddd;border-radius:4px;cursor:pointer;background:none}.style-option-row .color-picker::-webkit-color-swatch-wrapper{padding:2px}.style-option-row .color-picker::-webkit-color-swatch{border-radius:2px;border:none}.color-presets{display:flex;gap:4px;margin-left:4px}.color-presets .color-btn{width:20px;height:20px;border:2px solid #fff;border-radius:50%;cursor:pointer;transition:all .2s;box-shadow:0 1px 3px #0003}.color-presets .color-btn:hover{transform:scale(1.15);box-shadow:0 2px 5px #0000004d}.font-size-select,.font-family-select{padding:6px 10px;border:1px solid #ddd;border-radius:4px;font-size:13px;background:#fff;cursor:pointer}.font-size-select:focus,.font-family-select:focus{outline:none;border-color:#e91e63}.font-family-select{min-width:140px}.shipment-summary-page{padding:20px;max-width:1400px;margin:0 auto}.shipment-summary-page h1{margin-bottom:20px;color:#333}.date-mode-row{display:flex;align-items:center;gap:20px;margin-bottom:12px}.date-mode-toggle{display:flex;border:1px solid #ddd;border-radius:6px;overflow:hidden}.date-mode-toggle button{padding:8px 16px;border:none;background:#fff;cursor:pointer;font-size:14px;color:#666;transition:all .2s}.date-mode-toggle button:first-child{border-right:1px solid #ddd}.date-mode-toggle button:hover{background:#f0f0f0}.date-mode-toggle button.active{background:#007bff;color:#fff}.date-navigation button{padding:8px 12px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:16px}.date-navigation input[type=date]{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:16px;font-weight:700}.date-range{display:flex;align-items:center;gap:8px}.date-range input[type=date]{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.date-range span{color:#666;font-weight:700}.detail-filter-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-row select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;min-width:130px;background:#fff;height:42px;line-height:1.4}.multi-select-dropdown{position:relative;min-width:160px}.dropdown-header{padding:8px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;height:42px;box-sizing:border-box;font-size:14px;color:#666;-webkit-user-select:none;user-select:none}.dropdown-header.has-selection{border-color:#007bff;color:#333;font-weight:500}.dropdown-arrow{font-size:10px;margin-left:8px;color:#999}.dropdown-list{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 4px 4px;max-height:250px;overflow-y:auto;z-index:100;box-shadow:0 4px 12px #00000026;min-width:180px}.dropdown-item{display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;font-size:13px;border-bottom:1px solid #f0f0f0}.dropdown-item:hover{background:#f0f7ff}.dropdown-item input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#007bff}.dropdown-item.select-all{background:#f8f9fa;font-weight:700;border-bottom:2px solid #dee2e6;position:sticky;top:0}.dropdown-item.select-all:hover{background:#e9ecef}.confirmed-badge.partial{background:#ffc1074d}.btn-reset{padding:8px 16px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer}.summary-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;margin-bottom:20px}.total-info{font-size:16px}.total-info strong{font-size:24px;margin:0 5px}.confirmed-badge{background:#fff3;padding:5px 10px;border-radius:4px;font-size:12px}.btn-excel{padding:10px 20px;background:#17a2b8;color:#fff;border:none;border-radius:4px;cursor:pointer}.section h3{margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #007bff;color:#333}.table-container.scrollable{max-height:500px;overflow-y:auto}.pivot-table{width:100%;border-collapse:collapse;font-size:13px;min-width:600px}.pivot-table th,.pivot-table td{padding:8px 10px;border:1px solid #dee2e6;text-align:center}.pivot-table thead th{background:#f8f9fa;font-weight:700;position:sticky;top:0;z-index:2}.pivot-table .hq-header{background:#e3f2fd;color:#1976d2;font-weight:700}.pivot-table .product-header{background:#f5f5f5;font-size:11px;white-space:nowrap}.pivot-table .sticky-col{position:sticky;left:0;background:#fff;z-index:1;text-align:left;font-weight:500}.pivot-table thead .sticky-col{z-index:3;background:#f8f9fa}.pivot-table .school-name{min-width:100px;white-space:nowrap}.pivot-table .total-col{background:#fff3e0!important;font-weight:700;color:#e65100}.pivot-table .number{text-align:right;font-family:Courier New,monospace}.pivot-table tbody tr:hover td,.pivot-table tbody tr:hover .sticky-col{background:#e8f4fd!important}.pivot-table .total-row td{background:#e9ecef!important;font-weight:700}.pivot-table .total-row .sticky-col{background:#e9ecef!important}.holiday-notice{text-align:center;padding:40px;background:#fff3cd;border:1px solid #ffc107;border-radius:8px;color:#856404;font-size:18px}@media(max-width:768px){.shipment-summary-page{padding:10px}.date-mode-row{flex-direction:column;align-items:flex-start;gap:10px}.summary-header{flex-direction:column;gap:15px}.summary-info{flex-direction:column;gap:10px;text-align:center}.detail-filter-row{flex-direction:column;align-items:stretch}.filter-row select,.multi-select-dropdown{width:100%}.pivot-table{font-size:11px}.pivot-table th,.pivot-table td{padding:4px 6px}}.pivot-table td.clickable{cursor:pointer;color:#007bff;font-weight:700}.pivot-table td.clickable:hover{background:#cce5ff!important;text-decoration:underline}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:700px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 10px 40px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 0 0}.modal-close{background:transparent;border:none;color:#fff;font-size:24px;cursor:pointer;padding:0 5px;line-height:1}.modal-close:hover{opacity:.7}.modal-body{padding:20px;overflow-y:auto;flex:1}.modal-summary{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;background:#f8f9fa;border-radius:8px;margin-bottom:15px}.modal-summary .source-type{background:#e3f2fd;color:#1976d2;padding:4px 10px;border-radius:4px;font-size:13px;font-weight:700}.modal-summary .total-qty{font-size:14px;color:#333}.modal-summary .total-qty strong{font-size:18px;color:#e65100}.detail-table{width:100%;border-collapse:collapse;font-size:13px}.detail-table th,.detail-table td{padding:10px 12px;border:1px solid #dee2e6;text-align:left}.detail-table thead th{background:#f8f9fa;font-weight:700;white-space:nowrap}.detail-table tbody tr:hover{background:#f5f5f5}.detail-table .address{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-table .number{text-align:right;font-family:Courier New,monospace;font-weight:700}.modal-body .loading,.modal-body .no-data{padding:30px;text-align:center;color:#666}.inventory-page{padding:20px;max-width:1600px;margin:0 auto}.inventory-page h1{margin-bottom:20px;color:#333;text-align:center}.filter-section{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px}.filter-row{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.date-navigation{display:flex;align-items:center;gap:8px}.date-navigation button{padding:8px 12px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:16px;height:38px}.date-navigation button:hover{background:#f0f0f0}.date-navigation input[type=date]{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:16px;font-weight:700;height:38px}.hq-checkbox-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:8px 12px;background:#e8f5e9;border-radius:6px;border:1px solid #a5d6a7}.hq-checkbox-item{display:flex;align-items:center;gap:4px;cursor:pointer;font-size:13px;font-weight:500;color:#2e7d32;padding:4px 8px;border-radius:4px;transition:background .15s;-webkit-user-select:none;user-select:none}.hq-checkbox-item:hover{background:#2e7d321a}.hq-checkbox-item input[type=checkbox]{width:15px;height:15px;cursor:pointer;accent-color:#2e7d32}.hq-checkbox-item.hq-all{font-weight:700;color:#1b5e20;border-right:1px solid #a5d6a7;padding-right:12px;margin-right:4px}.hq-filter-count{font-size:12px;color:#7f8c8d;padding:2px 8px;background:#fff;border-radius:10px}.hq-filter-divider{color:#a5d6a7;font-size:16px;margin:0 4px}.hq-checkbox-item.hq-exclude{color:#e65100;font-weight:600;border-left:1px solid #a5d6a7;padding-left:12px;margin-left:auto}.hq-checkbox-item.hq-exclude input[type=checkbox]{accent-color:#e65100}.hq-checkbox-item.hq-exclude.active{background:#e651001a}.filter-row select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;min-width:150px;background:#fff;height:38px}.btn-search{padding:8px 20px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:700}.btn-search:hover{background:#0056b3}.summary-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border-radius:8px;margin-bottom:20px}.summary-info{display:flex;align-items:center;gap:20px}.date-label{font-size:18px;font-weight:700}.stats-info{display:flex;gap:15px;font-size:14px}.stats-info span{background:#fff3;padding:5px 10px;border-radius:4px}.confirmed-badge{background:#ffffff4d!important;font-weight:700}.action-buttons{display:flex;gap:10px}.btn-save{padding:10px 20px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:700}.btn-save:hover{background:#0056b3}.btn-save:disabled{background:#6c757d;cursor:not-allowed}.btn-confirm{padding:10px 20px;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:700}.btn-confirm:hover{background:#218838}.btn-confirm:disabled{background:#6c757d;cursor:not-allowed}.btn-cancel{padding:10px 20px;background:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer}.btn-cancel:hover{background:#c82333}.btn-refresh{padding:8px 16px;background:#17a2b8;color:#fff;border:none;border-radius:4px;cursor:pointer;height:38px;font-size:14px}.btn-refresh:hover{background:#138496}.btn-refresh:disabled{background:#6c757d;cursor:not-allowed}.btn-carry-over{padding:8px 16px;background:#6f42c1;color:#fff;border:none;border-radius:4px;cursor:pointer;height:38px;font-size:14px}.btn-carry-over:hover{background:#5a32a3}.btn-carry-over:disabled{background:#6c757d;cursor:not-allowed}.btn-excel{padding:10px 20px;background:#20c997;color:#fff;border:none;border-radius:4px;cursor:pointer}.btn-excel:hover{background:#1aa179}.section{margin-bottom:25px}.section h3{margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #28a745;color:#333}.table-container.scrollable{max-height:600px;overflow-y:auto}.inventory-table{width:100%;border-collapse:collapse;font-size:13px;min-width:900px}.inventory-table th,.inventory-table td{padding:8px 10px;border:1px solid #dee2e6;text-align:center}.inventory-table thead th{background:#f8f9fa;font-weight:700;position:sticky;top:0;z-index:2}.inventory-table .hq-group-header{background:linear-gradient(135deg,#e3f2fd,#bbdefb);color:#1565c0;font-weight:700;font-size:14px}.inventory-table .hq-group-header td{text-align:left;padding:10px 15px}.inventory-table tbody tr:hover td{background:#e8f4fd!important}.inventory-table .product-name-cell{text-align:left;font-weight:500;white-space:nowrap}.inventory-table .number{text-align:right;font-family:Courier New,monospace}.inventory-table .input-cell{text-align:center}.inventory-table input[type=number]{width:70px;padding:4px 6px;border:1px solid #ddd;border-radius:3px;text-align:right;font-size:13px;font-family:Courier New,monospace}.inventory-table input[type=number]:focus{border-color:#007bff;outline:none;box-shadow:0 0 3px #007bff4d}.inventory-table .memo-cell{text-align:center}.inventory-table input[type=text]{width:80px;padding:4px 6px;border:1px solid #ddd;border-radius:3px;font-size:12px}.inventory-table tr.modified,.inventory-table tr.modified td{background:#fff3cd!important}.inventory-table .previous-stock{background:#f5f5f5;color:#666}.inventory-table .incoming{background:#e8f5e9}.inventory-table .outgoing{background:#ffebee}.inventory-table .self-sale{background:#fff3e0}.inventory-table .adjustment{background:#e3f2fd}.inventory-table .current-stock{background:#e8f5e9;font-weight:700;color:#2e7d32}.inventory-table .subtotal-row td{background:#e3f2fd!important;font-weight:700;color:#1565c0}.inventory-table .total-row td{background:#c8e6c9!important;font-weight:700;color:#1b5e20;font-size:14px}.loading{text-align:center;padding:40px;color:#666;font-size:16px}.no-data{text-align:center;padding:40px;color:#999;background:#f8f9fa;border-radius:8px}.status-message{margin-bottom:15px;padding:12px 15px;border-radius:4px;font-size:14px}.status-message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.status-message.info{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}@media(max-width:768px){.inventory-page{padding:10px}.date-navigation{flex-wrap:wrap}.summary-header{flex-direction:column;gap:15px}.summary-info{flex-direction:column;gap:10px;text-align:center}.stats-info{flex-wrap:wrap;justify-content:center}.detail-filter-row{flex-direction:column;align-items:stretch}.filter-row select{width:100%}.action-buttons{flex-wrap:wrap;justify-content:center}.inventory-table{font-size:11px}.inventory-table th,.inventory-table td{padding:4px 6px}.inventory-table input[type=number]{width:50px}}.table-container.scrollable::-webkit-scrollbar{width:8px;height:8px}.table-container.scrollable::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.table-container.scrollable::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.table-container.scrollable::-webkit-scrollbar-thumb:hover{background:#555}.confirmed-status{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;background:#ffffff4d;border-radius:4px;font-size:13px}.tooltip-text{font-size:11px;color:#fffc;margin-left:5px}.headquarters-tab-page{padding:20px;max-width:1400px;margin:0 auto}.headquarters-tab-page .page-header{display:flex;align-items:center;gap:15px;margin-bottom:20px}.headquarters-tab-page .page-header h1{font-size:24px;font-weight:600;margin:0}.headquarters-tab-page .back-btn{background:none;border:1px solid #ddd;padding:8px 12px;border-radius:4px;cursor:pointer;font-size:16px}.headquarters-tab-page .back-btn:hover{background-color:#f5f5f5}.headquarters-tab-page .main-tabs{display:flex;gap:10px;margin-bottom:20px;border-bottom:2px solid #e0e0e0;padding-bottom:0}.headquarters-tab-page .main-tab{padding:12px 24px;border:none;background:#f5f5f5;color:#666;font-size:15px;font-weight:500;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s;margin-bottom:-2px}.headquarters-tab-page .main-tab:hover{background:#e0e0e0}.headquarters-tab-page .main-tab.active{background:#007bff;color:#fff;border-bottom:2px solid #007bff}.headquarters-tab-page .tab-content{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.headquarters-tab-page .filter-section{background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.headquarters-tab-page .filter-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:10px}.headquarters-tab-page .filter-row:last-child{margin-bottom:0}.headquarters-tab-page .filter-group{display:flex;align-items:center;gap:8px}.headquarters-tab-page .filter-group label{font-weight:500;color:#555}.headquarters-tab-page .filter-group select,.headquarters-tab-page .filter-group input[type=date]{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:100px}.headquarters-tab-page .btn{padding:8px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.headquarters-tab-page .btn.primary{background-color:#007bff;color:#fff}.headquarters-tab-page .btn.primary:hover:not(:disabled){background-color:#0056b3}.headquarters-tab-page .btn.success{background-color:#28a745;color:#fff}.headquarters-tab-page .btn.success:hover:not(:disabled){background-color:#1e7e34}.headquarters-tab-page .btn:disabled{opacity:.6;cursor:not-allowed}.headquarters-tab-page .summary-section{display:flex;gap:15px;margin-bottom:20px;flex-wrap:wrap}.headquarters-tab-page .summary-card{background:#fff;padding:15px 20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;gap:5px;min-width:150px}.headquarters-tab-page .summary-card.total{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.headquarters-tab-page .summary-label{font-size:13px;color:#666}.headquarters-tab-page .summary-card.total .summary-label{color:#fffc}.headquarters-tab-page .summary-value{font-size:18px;font-weight:600;color:#333}.headquarters-tab-page .summary-value.cost{color:#e74c3c}.headquarters-tab-page .summary-value.selling{color:#3498db}.headquarters-tab-page .summary-value.margin{color:#27ae60}.headquarters-tab-page .summary-value.rate{color:#9b59b6}.headquarters-tab-page .action-buttons{margin-bottom:15px}.headquarters-tab-page .table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.headquarters-tab-page .data-table,.headquarters-tab-page .settlement-table,.headquarters-tab-page .purchase-table{width:100%;border-collapse:collapse;font-size:14px}.headquarters-tab-page .data-table th,.headquarters-tab-page .data-table td,.headquarters-tab-page .settlement-table th,.headquarters-tab-page .settlement-table td,.headquarters-tab-page .purchase-table th,.headquarters-tab-page .purchase-table td{border:1px solid #dee2e6;padding:10px 12px;text-align:center}.headquarters-tab-page .data-table th,.headquarters-tab-page .settlement-table th,.headquarters-tab-page .purchase-table th{background-color:#f8f9fa;font-weight:600;white-space:nowrap;color:#333}.headquarters-tab-page .data-table tbody tr:hover,.headquarters-tab-page .settlement-table tbody tr:hover,.headquarters-tab-page .purchase-table tbody tr:hover{background-color:#f5f5f5}.headquarters-tab-page .data-table .number,.headquarters-tab-page .purchase-table .amount-cell{text-align:right}.headquarters-tab-page .data-table .cost{color:#e74c3c}.headquarters-tab-page .data-table .selling{color:#3498db}.headquarters-tab-page .settlement-table th.highlight-blue{background-color:#e7f1ff}.headquarters-tab-page .settlement-table th.highlight-yellow{background-color:#fff3cd}.headquarters-tab-page .settlement-table td.highlight-blue{background-color:#f0f7ff}.headquarters-tab-page .settlement-table td.highlight-yellow{background-color:#fffaeb}.headquarters-tab-page .settlement-table td.cell-with-bg{background-color:#fff}.headquarters-tab-page .settlement-table tbody tr:hover td.cell-with-bg{background-color:#f5f5f5}.headquarters-tab-page .settlement-table input[type=text],.headquarters-tab-page .settlement-table input[type=date],.headquarters-tab-page .settlement-table select{width:100%;padding:6px 8px;border:1px solid #ddd;border-radius:4px;font-size:13px;box-sizing:border-box;background-color:#fff;color:#333}.headquarters-tab-page .settlement-table .number-input{text-align:right}.headquarters-tab-page .settlement-table .readonly-input{background-color:#f8f9fa;color:#495057}.headquarters-tab-page .settlement-table input:focus,.headquarters-tab-page .settlement-table select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff1a}.headquarters-tab-page .btn-delete{padding:4px 10px;background-color:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:12px}.headquarters-tab-page .btn-delete:hover{background-color:#c82333}.headquarters-tab-page .settlement-table tfoot .total-row,.headquarters-tab-page .purchase-table tfoot .total-row{background-color:#f8f9fa;font-weight:600}.headquarters-tab-page .settlement-table tfoot .total-row td,.headquarters-tab-page .purchase-table tfoot .total-row td{padding:12px 10px}.headquarters-tab-page .number-cell{text-align:right}.headquarters-tab-page .empty-message{padding:40px!important;color:#999;font-style:italic}.headquarters-tab-page .chart-section{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;overflow-x:auto}.headquarters-tab-page .purchase-chart{display:block;margin:0 auto;max-width:100%}.headquarters-tab-page .purchase-table .rank-cell{width:60px;font-weight:500}.headquarters-tab-page .purchase-table .company-cell{text-align:left;font-weight:500}.headquarters-tab-page .purchase-table .count-cell{width:100px}.headquarters-tab-page .purchase-table .amount-cell{width:150px;text-align:right;font-weight:500;color:#2c3e50}.headquarters-tab-page .purchase-table .ratio-cell{width:80px;color:#666}.headquarters-tab-page .no-data-message{background:#fff;padding:60px 20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center;color:#999;font-size:16px}@media(max-width:768px){.headquarters-tab-page{padding:10px}.headquarters-tab-page .main-tabs{flex-wrap:wrap}.headquarters-tab-page .main-tab{flex:1;min-width:100px;text-align:center}.headquarters-tab-page .filter-row{flex-direction:column;align-items:stretch}.headquarters-tab-page .filter-group{width:100%;justify-content:space-between}.headquarters-tab-page .filter-group select,.headquarters-tab-page .filter-group input[type=date]{flex:1}.headquarters-tab-page .btn{width:100%;padding:12px}.headquarters-tab-page .summary-section{flex-direction:column}.headquarters-tab-page .summary-card{width:100%}.headquarters-tab-page .data-table,.headquarters-tab-page .settlement-table,.headquarters-tab-page .purchase-table{font-size:12px}.headquarters-tab-page .data-table th,.headquarters-tab-page .data-table td,.headquarters-tab-page .settlement-table th,.headquarters-tab-page .settlement-table td,.headquarters-tab-page .purchase-table th,.headquarters-tab-page .purchase-table td{padding:8px 6px}}.archive-page{padding:20px;max-width:1200px;margin:0 auto}.page-header{margin-bottom:24px}.page-header h2{margin:0 0 8px;font-size:24px;color:#333;display:flex;align-items:center;gap:12px}.page-description{margin:0;color:#666;font-size:14px}.tab-navigation{display:flex;gap:8px;margin-bottom:20px;border-bottom:2px solid #eee}.tab-btn{padding:12px 20px;border:none;background:none;font-size:15px;color:#666;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:all .2s}.tab-btn:hover{color:#333}.tab-btn.active{color:#3498db;border-bottom-color:#3498db;font-weight:600}.filter-section{background:#fff;padding:16px;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.filter-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.filter-select{padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;background:#fff}.search-box{display:flex;flex:1;max-width:400px}.search-box input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:6px 0 0 6px;font-size:14px}.search-box button{padding:8px 16px;background:#3498db;color:#fff;border:none;border-radius:0 6px 6px 0;cursor:pointer}.search-box button:hover{background:#2980b9}.btn-refresh{padding:8px 16px;background:#27ae60;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px}.btn-refresh:hover{background:#219a52}.btn-new-archive{padding:8px 16px;background:#9b59b6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500}.btn-new-archive:hover{background:#8e44ad}.error-message{background:#fee;color:#c0392b;padding:12px;border-radius:6px;margin-bottom:16px}.loading{text-align:center;padding:60px;color:#888;font-size:16px}.empty-state{text-align:center;padding:80px 20px;background:#fff;border-radius:8px;color:#888}.empty-icon{font-size:64px;display:block;margin-bottom:16px}.archive-table-container{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.archive-table{width:100%;border-collapse:collapse}.archive-table th{background:#f8f9fa;padding:12px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #dee2e6;font-size:14px}.archive-table td{padding:12px;font-size:14px;border-bottom:1px solid #eee}.archive-table tbody tr{cursor:pointer;transition:background .2s}.archive-table tbody tr:hover{background:#f8f9fa}.archive-table tbody tr.pinned-row{background:#fffde7}.archive-table tbody tr.pinned-row:hover{background:#fff9c4}.archive-title-cell{display:flex;flex-direction:column;gap:4px}.title-row{display:flex;align-items:center;gap:8px;font-weight:500}.pinned-tag{color:#e65100}.content-preview{font-size:12px;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:400px}.category-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:12px;font-weight:500}.category-general{background:#e3f2fd;color:#1565c0}.category-document{background:#e8f5e9;color:#2e7d32}.category-image{background:#fce4ec;color:#c2185b}.category-system{background:#f3e5f5;color:#7b1fa2}.file-indicator{color:#27ae60;font-size:13px}.no-file{color:#bbb}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:20px;padding:16px}.pagination button{padding:8px 16px;background:#3498db;color:#fff;border:none;border-radius:6px;cursor:pointer}.pagination button:disabled{background:#bdc3c7;cursor:not-allowed}.pagination span{color:#666;font-size:14px}.system-info-section{display:flex;justify-content:center;padding:40px 20px}.system-info-card{background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;padding:30px 40px;max-width:500px;width:100%}.system-info-card h3{margin:0 0 24px;font-size:20px;color:#333;text-align:center;padding-bottom:16px;border-bottom:2px solid #eee}.system-info-table{width:100%;border-collapse:collapse}.system-info-table th,.system-info-table td{padding:14px 12px;text-align:left;border-bottom:1px solid #f0f0f0}.system-info-table th{width:100px;color:#666;font-weight:500;font-size:14px}.system-info-table td{color:#333;font-size:15px}.system-info-table a{color:#3498db;text-decoration:none}.system-info-table a:hover{text-decoration:underline}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.modal-lg{max-width:800px}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:20px;border-bottom:1px solid #eee}.modal-title-area{flex:1}.modal-title-area h3{margin:0 0 8px;font-size:18px;color:#333;display:flex;align-items:center;gap:8px}.archive-info{display:flex;gap:12px;font-size:13px;color:#666;flex-wrap:wrap;align-items:center}.modal-close{background:none;border:none;font-size:28px;color:#888;cursor:pointer;line-height:1;padding:0}.archive-content-box{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:16px}.archive-content-box pre{margin:0;white-space:pre-wrap;font-family:inherit;font-size:14px;line-height:1.6}.file-section{margin-bottom:16px}.file-section h4{margin:0 0 12px;font-size:15px;color:#333}.file-box{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f8f9fa;border-radius:8px;cursor:pointer;transition:background .2s}.file-box:hover{background:#e9ecef}.file-icon{font-size:24px}.file-name{flex:1;font-weight:500;color:#333}.file-size{color:#888;font-size:13px}.btn-download{background:#3498db;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:13px;cursor:pointer}.btn-download:hover{background:#2980b9}.action-buttons{display:flex;gap:12px;margin-bottom:20px;padding:12px;background:#f8f9fa;border-radius:6px}.btn-edit,.btn-delete{padding:8px 16px;border:none;border-radius:6px;font-size:14px;cursor:pointer}.btn-edit{background:#3498db;color:#fff}.btn-edit:hover{background:#2980b9}.btn-delete{background:#e74c3c;color:#fff}.btn-delete:hover{background:#c0392b}.comments-section{border-top:1px solid #eee;padding-top:20px}.comments-section h4{margin:0 0 16px;font-size:15px;color:#333}.no-comments{color:#888;font-size:14px;text-align:center;padding:20px}.comments-list{display:flex;flex-direction:column;gap:12px;max-height:300px;overflow-y:auto;margin-bottom:16px}.comment-item{padding:12px;background:#f8f9fa;border-radius:8px}.comment-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.comment-writer{font-weight:500;color:#333}.comment-date{font-size:12px;color:#888;flex:1}.btn-delete-comment{background:none;border:none;color:#e74c3c;font-size:12px;cursor:pointer}.btn-delete-comment:hover{text-decoration:underline}.comment-content{color:#333;font-size:14px;line-height:1.5;white-space:pre-wrap}.comment-input-section{display:flex;flex-direction:column;gap:12px}.comment-input-section textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;font-size:14px;resize:vertical;box-sizing:border-box}.btn-send-comment{align-self:flex-end;background:#27ae60;color:#fff;border:none;padding:10px 24px;border-radius:6px;font-size:14px;cursor:pointer}.btn-send-comment:hover{background:#219a52}.btn-send-comment:disabled{background:#bdc3c7;cursor:not-allowed}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333;font-size:14px}.form-group input[type=text],.form-group input[type=file],.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;box-sizing:border-box}.form-group select{background:#fff}.form-group textarea{resize:vertical;min-height:100px;font-family:inherit;line-height:1.6}.file-hint{margin-top:6px;font-size:12px;color:#888}.checkbox-group label{display:flex;align-items:center;gap:8px;font-weight:400;cursor:pointer}.checkbox-group input[type=checkbox]{width:18px;height:18px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid #eee}.btn-cancel{background:#95a5a6;color:#fff;border:none;padding:10px 24px;border-radius:6px;font-size:14px;cursor:pointer}.btn-cancel:hover{background:#7f8c8d}.btn-save{background:#27ae60;color:#fff;border:none;padding:10px 24px;border-radius:6px;font-size:14px;cursor:pointer;font-weight:500}.btn-save:hover{background:#219a52}@media(max-width:768px){.filter-row{flex-direction:column;align-items:stretch}.search-box{max-width:none}.btn-new-archive{width:100%}.archive-table th:nth-child(4),.archive-table td:nth-child(4),.archive-table th:nth-child(5),.archive-table td:nth-child(5),.archive-table th:nth-child(6),.archive-table td:nth-child(6){display:none}.system-info-card{padding:20px}.action-buttons{flex-direction:column}.file-box{flex-wrap:wrap}.tab-navigation{overflow-x:auto}.tab-btn{white-space:nowrap}}.content-with-links{word-break:break-word}.content-link{color:#3498db;text-decoration:none;word-break:break-all}.content-link:hover{text-decoration:underline;color:#2980b9}.documents-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.doc-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8f9fa;border-bottom:1px solid #eee;gap:12px;flex-wrap:wrap}.doc-toolbar-left,.doc-toolbar-right{display:flex;gap:8px;flex-wrap:wrap}.doc-btn{padding:8px 14px;border:1px solid #ddd;border-radius:6px;background:#fff;font-size:13px;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:6px}.doc-btn:hover:not(:disabled){background:#f0f0f0;border-color:#ccc}.doc-btn:disabled{opacity:.5;cursor:not-allowed}.doc-btn-primary{background:#3498db;color:#fff;border-color:#3498db}.doc-btn-primary:hover:not(:disabled){background:#2980b9;border-color:#2980b9}.doc-btn-success{background:#27ae60;color:#fff;border-color:#27ae60}.doc-btn-success:hover:not(:disabled){background:#219a52;border-color:#219a52}.doc-breadcrumb{padding:12px 16px;background:#fff;border-bottom:1px solid #eee;font-size:14px;display:flex;align-items:center;flex-wrap:wrap;gap:4px}.breadcrumb-item{color:#666}.breadcrumb-item.clickable{color:#3498db;cursor:pointer}.breadcrumb-item.clickable:hover{text-decoration:underline}.breadcrumb-item.current{color:#333;font-weight:500}.breadcrumb-separator{color:#999;margin:0 4px}.doc-list-container{overflow-x:auto}.doc-table{width:100%;border-collapse:collapse}.doc-table th{background:#f8f9fa;padding:12px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #dee2e6;font-size:13px}.doc-table td{padding:10px 12px;font-size:14px;border-bottom:1px solid #eee;vertical-align:middle}.doc-folder-row{background:#fafbfc}.doc-folder-row:hover{background:#f0f4f8}.doc-file-row:hover{background:#f8f9fa}.doc-icon-cell{text-align:center;font-size:20px}.doc-name-cell{max-width:400px}.doc-name-cell.clickable{cursor:pointer}.doc-name-cell.clickable:hover .doc-name{color:#3498db;text-decoration:underline}.doc-name{word-break:break-word}.doc-actions{display:flex;gap:4px}.doc-action-btn{padding:4px 8px;border:none;background:none;cursor:pointer;font-size:14px;border-radius:4px;transition:background .2s}.doc-action-btn:hover{background:#e9ecef}.doc-action-btn.delete:hover{background:#fee}.doc-footer{padding:12px 16px;background:#f8f9fa;border-top:1px solid #eee;font-size:13px;color:#666;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.doc-footer-info{display:flex;gap:16px;align-items:center}.doc-page-info{color:#1976d2;font-weight:500}.modal-sm{max-width:400px}@media(max-width:768px){.doc-toolbar{flex-direction:column;align-items:stretch}.doc-toolbar-left,.doc-toolbar-right{justify-content:center}.doc-table th:nth-child(3),.doc-table td:nth-child(3),.doc-table th:nth-child(4),.doc-table td:nth-child(4),.doc-table th:nth-child(5),.doc-table td:nth-child(5){display:none}.doc-name-cell{max-width:200px}}.preview-badge{display:inline-block;margin-left:8px;padding:2px 6px;font-size:10px;background:#e3f2fd;color:#1565c0;border-radius:3px;vertical-align:middle}.modal-preview{max-width:90vw;max-height:90vh;width:900px;display:flex;flex-direction:column}.preview-body{flex:1;min-height:400px;max-height:60vh;overflow:auto;background:#f5f5f5;display:flex;align-items:center;justify-content:center}.preview-image-container{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:20px}.preview-image{max-width:100%;max-height:55vh;object-fit:contain;border-radius:4px;box-shadow:0 2px 8px #00000026}.preview-pdf-container{width:100%;height:100%}.preview-pdf{width:100%;height:60vh;border:none}.preview-text-container{width:100%;height:100%}.preview-text{width:100%;height:60vh;border:none;background:#fff}.preview-unavailable{text-align:center;padding:60px 20px;color:#666}.preview-icon-large{font-size:80px;margin-bottom:20px}.preview-unavailable p{margin:8px 0;font-size:16px}.preview-hint{color:#999;font-size:14px!important}.preview-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#f8f9fa;border-top:1px solid #eee}.preview-info{display:flex;gap:20px;font-size:13px;color:#666}.preview-actions{display:flex;gap:12px}.btn-download-lg{padding:10px 20px;background:#3498db;color:#fff;border:none;border-radius:6px;font-size:14px;cursor:pointer;font-weight:500}.btn-download-lg:hover{background:#2980b9}@media(max-width:768px){.modal-preview{width:100%;max-width:100%;max-height:100vh;border-radius:0}.preview-body{min-height:300px}.preview-pdf,.preview-text{height:50vh}.preview-footer{flex-direction:column;gap:12px}.preview-info{flex-direction:column;gap:4px;text-align:center}.preview-actions{width:100%;justify-content:center}}.doc-btn-warning{background:#f39c12;color:#fff}.doc-btn-warning:hover:not(:disabled){background:#e67e22}.doc-btn-warning:disabled{background:#ccc;cursor:not-allowed}.doc-checkbox-cell{text-align:center}.doc-checkbox-cell input[type=checkbox]{width:18px;height:18px;cursor:pointer}.doc-file-row.selected{background:#e3f2fd!important}.fax-file-info{background:#f8f9fa;padding:12px;border-radius:8px;margin-bottom:16px}.fax-file-info strong{display:block;margin-bottom:8px;color:#333}.fax-file-list{margin:0;padding:0 0 0 20px;list-style:disc;max-height:150px;overflow-y:auto}.fax-file-list li{padding:4px 0;font-size:13px;color:#555}.doc-table thead th input[type=checkbox]{width:18px;height:18px;cursor:pointer}.general-sale-page{padding:20px}.date-picker{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.btn-filter{padding:8px 16px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.btn-filter:hover{background:#f0f0f0}.btn-filter.active{background:#3498db;color:#fff;border-color:#3498db}.filter-checkbox{display:flex;align-items:center;gap:5px;padding:8px 12px;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;cursor:pointer;font-size:14px;color:#856404;-webkit-user-select:none;user-select:none}.filter-checkbox:hover{background:#ffe69c}.filter-checkbox input[type=checkbox]{width:16px;height:16px;cursor:pointer}.status.paid{color:#27ae60;font-weight:600}.status.unpaid{color:#e74c3c;font-weight:600}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:800px;max-height:90vh;overflow-y:auto}.sale-form{padding:20px}.items-section{margin-bottom:20px;border:1px solid #eee;border-radius:4px;padding:15px}.items-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.items-header h4{margin:0}.btn-add-item{background-color:#27ae60;color:#fff;border:none;padding:5px 15px;border-radius:4px;cursor:pointer;font-size:12px}.items-table{width:100%;border-collapse:collapse}.items-table th,.items-table td{padding:8px;border:1px solid #eee;text-align:center}.items-table th{background-color:#f8f9fa;font-weight:500}.items-table input{width:100%;padding:6px;border:1px solid #ddd;border-radius:3px;box-sizing:border-box}.items-table input[type=number]{text-align:right}.items-table .amount-cell{text-align:right;font-family:Courier New,monospace;font-weight:500}.items-table tfoot td{font-weight:600;background-color:#f8f9fa}.btn-remove{background-color:#e74c3c;color:#fff;border:none;width:24px;height:24px;border-radius:50%;cursor:pointer;font-size:14px;line-height:1}.btn-remove:hover{background-color:#c0392b}.modal-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:20px;border-top:1px solid #eee;margin-top:20px}.product-select-btn{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer;font-size:13px;text-align:center;color:#333;transition:all .2s}.product-select-btn:hover{border-color:#3498db;background:#f0f8ff}.doc-btn-group{display:flex;gap:5px}.btn-doc-header{padding:6px 12px;border:1px solid #17a2b8;background:#fff;color:#17a2b8;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s}.btn-doc-header:hover{background:#17a2b8;color:#fff}.row-checkbox{width:18px;height:18px;cursor:pointer}.data-table tr.selected-row{background-color:#e3f2fd!important}.data-table tr.selected-row:hover{background-color:#bbdefb!important}.btn-customer{padding:8px 16px;border:1px solid #28a745;background:#fff;color:#28a745;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.btn-customer:hover{background:#28a745;color:#fff}.customer-modal{max-width:900px}.customer-form{padding:20px}.customer-form .required{color:#e74c3c}.customer-list-section{margin-top:20px;border-top:1px solid #eee;padding-top:15px}.customer-list-section h4{margin:0 0 10px;font-size:14px;color:#333}.customer-list{max-height:200px;overflow-y:auto;border:1px solid #eee;border-radius:4px}.customer-list .empty-list{padding:20px;text-align:center;color:#999}.customer-table{width:100%;border-collapse:collapse}.customer-table th,.customer-table td{padding:8px 12px;text-align:center;border-bottom:1px solid #eee;font-size:13px}.customer-table th{background-color:#f8f9fa;font-weight:600;position:sticky;top:0}.customer-table tr:hover{background-color:#f8f9fa}.customer-table .actions{display:flex;gap:5px;justify-content:center}.btn-sms-small{background:none;border:none;cursor:pointer;font-size:14px;padding:2px 4px;border-radius:3px;opacity:.6;transition:all .2s}.btn-sms-small:hover{background-color:#e3f2fd;opacity:1;transform:scale(1.15)}.btn-tax-invoice{padding:8px 16px;background:#1976d2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;display:flex;align-items:center;gap:4px}.btn-tax-invoice:hover{background:#1565c0}.btn-tax-invoice.registered{background:#4caf50;cursor:default}.btn-tax-invoice:disabled{opacity:.7}.tax-invoice-group{display:flex;align-items:center;gap:8px}.tax-type-select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:13px;cursor:pointer}.tax-type-select:disabled{background:#f5f5f5;cursor:default}.remittance-page{padding:20px}.filter-checkbox{display:flex;align-items:center;gap:5px;font-size:14px;cursor:pointer}.filter-checkbox input{cursor:pointer}.summary-card{flex:1;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;align-items:center}.summary-card .label{font-size:14px;color:#666;margin-bottom:5px}.summary-card .value.balance{color:#e74c3c}.data-table td.number.positive{color:#e74c3c}.data-table td.number.negative{color:#27ae60}.remittance-form{padding:20px}.modal-content.large{max-width:900px}.form-section{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #eee}.form-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-section h4{margin:0 0 15px;font-size:15px;color:#3498db;padding-bottom:8px;border-bottom:2px solid #3498db;display:inline-block}.purchase-input-row{display:flex;gap:10px;align-items:flex-end;margin-bottom:15px;flex-wrap:wrap}.purchase-input-row .form-group{flex:none}.purchase-input-row .form-group input{width:100%}.purchase-input-row .form-group:nth-child(1){width:120px}.purchase-input-row .form-group:nth-child(2){width:150px}.purchase-input-row .form-group:nth-child(3){width:80px}.purchase-input-row .form-group:nth-child(4){width:100px}.purchase-input-row .form-group:nth-child(5){width:100px}.btn-add-item{padding:8px 15px;background-color:#27ae60;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;white-space:nowrap;margin-bottom:0}.btn-add-item:hover{background-color:#229954}.purchase-table{width:100%;border-collapse:collapse;margin-bottom:15px;font-size:13px}.purchase-table th,.purchase-table td{padding:8px 10px;text-align:center;border:1px solid #ddd}.purchase-table th{background-color:#f8f9fa;font-weight:600;font-size:12px}.purchase-table td.number{text-align:right;font-family:Courier New,monospace}.purchase-table .btn-delete-item{padding:3px 8px;background-color:#e74c3c;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:11px}.purchase-table .btn-delete-item:hover{background-color:#c0392b}.purchase-total{text-align:right;font-weight:600;padding:10px 0;color:#333;font-size:14px}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500}.status-badge.status-completed{background-color:#d4edda;color:#155724}.status-badge.status-carryover{background-color:#fff3cd;color:#856404}.status-badge.status-pending{background-color:#f8d7da;color:#721c24}.phone-cell{display:flex;align-items:center;justify-content:center;gap:5px}.btn-sms-small{background:none;border:none;cursor:pointer;font-size:14px;padding:2px 4px;border-radius:3px;opacity:.7;transition:all .2s}.btn-sms-small:hover{background-color:#e3f2fd;opacity:1;transform:scale(1.1)}.memo-cell{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clickable-input{cursor:pointer;background-color:#f8f9fa!important}.clickable-input:hover{background-color:#e9ecef!important}.btn-remove-item{padding:3px 8px;background-color:#e74c3c;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:11px}.btn-remove-item:hover{background-color:#c0392b}.total-row{background-color:#f8f9fa;font-weight:600}.total-label{text-align:right!important;padding-right:15px!important}.total-value{color:#3498db}.vehicle-page{padding:20px}.tab.active{color:#3498db;border-bottom-color:#3498db;font-weight:600}.summary-card{flex:1;background:#fff;padding:15px 20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;align-items:center}.summary-card.total{background:#3498db}.summary-card.total .label,.summary-card.total .value{color:#fff}.summary-card .label{font-size:13px;color:#666;margin-bottom:5px}.data-table td.number.total{font-weight:600;color:#3498db}.vehicle-form,.repair-form{padding:20px}.summary-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:20px;width:100%;box-sizing:border-box}.summary-layout{display:flex;flex-direction:row;gap:20px;align-items:stretch;width:100%}.summary-table-container{flex:1;overflow-x:auto;overflow-y:auto}.summary-chart{flex:1;background:#fafafa;border-radius:8px;padding:15px;border:1px solid #eee;display:flex;flex-direction:column}.summary-chart h4{margin:0 0 10px;text-align:center;color:#333;font-size:14px}.chart-wrapper{flex:1;min-height:400px;width:100%}.year-selector{display:flex;align-items:center;gap:10px}.year-selector button{padding:6px 12px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:16px;font-weight:700}.year-selector button:hover{background:#f0f0f0}.year-label{font-size:18px;font-weight:600;color:#333;min-width:70px;text-align:center}.summary-table-container{overflow-x:auto;box-shadow:none}.summary-table.vertical-layout{min-width:auto;font-size:13px;border-collapse:collapse}.summary-table th,.summary-table td{padding:8px 10px;white-space:nowrap;text-align:center;border:1px solid #ddd}.summary-table thead th{background-color:#f8f9fa;position:sticky;top:0;z-index:1}.summary-table .sticky-col{position:sticky;left:0;background:#fff;z-index:2}.summary-table thead .sticky-col{background:#f8f9fa;z-index:3}.summary-table .month-header{width:80px;min-width:80px;max-width:80px;padding:8px!important;background:#e8f4fd!important}.summary-table .month-cell{width:80px;min-width:80px;max-width:80px;padding:8px!important;font-weight:600;background:#f8f9fa;text-align:center}.summary-table .vehicle-header{background:#5dade2!important;color:#fff;font-weight:600;border-left:1px solid #85c1e9}.summary-table .card-badge-small{font-size:10px;font-weight:400;opacity:.9;margin-left:4px}.summary-table .sub-header{font-size:12px;font-weight:500;padding:6px 10px}.summary-table .sub-header.repair{background:#fff5eb!important;color:#e67e22;border-left:1px solid #fdebd0}.summary-table .sub-header.fuel{background:#eafaf1!important;color:#27ae60;border-right:2px solid #ddd}.summary-table .repair-cell{background:#fffbf7}.summary-table .fuel-cell{background:#f7fdf9;border-right:2px solid #eee}.summary-table .total-cell{background:#f0f4f8;font-weight:500}.summary-table tbody tr:hover td{background:#f5f5f5!important}.summary-table tbody tr:hover .sticky-col{background:#e8e8e8!important}.summary-table .total-header{background:#85c1e9!important;color:#fff;font-weight:600}.summary-table .sub-header.total-sub{background:#d4e6f1!important}.summary-table .month-total-cell{background:#ebf5fb;font-weight:500;border-left:2px solid #85c1e9}.summary-table tfoot .grand-total{background:#fef9e7;color:#333;border-top:3px solid #f1c40f}.summary-table tfoot .grand-total td{font-weight:600;padding:12px 10px;background:#fef9e7;border:1px solid #ddd}.summary-table tfoot .grand-total .footer-label{background:#f9e79f;font-weight:700;text-align:center;width:80px;min-width:80px;max-width:80px}.summary-table tfoot .grand-total .vehicle-total{background:#fef9e7}.summary-table tfoot .grand-total .repair-total{background:#fff8e1}.summary-table tfoot .grand-total .fuel-total{background:#e8f5e9}.summary-table tfoot .grand-total .grand-total-cell{background:#f9e79f;font-weight:700}.fruit-settlement-page{padding:20px}.month-picker{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.tabs{display:flex;gap:5px;margin-bottom:20px;border-bottom:2px solid #eee;padding-bottom:0}.tab{padding:10px 20px;border:none;background:none;cursor:pointer;font-size:14px;color:#666;border-bottom:2px solid transparent;margin-bottom:-2px}.tab:hover{color:#333}.tab.active{color:#27ae60;border-bottom-color:#27ae60;font-weight:600}.summary-cards{display:flex;gap:20px;margin-bottom:20px}.summary-card{flex:1;max-width:300px;background:linear-gradient(135deg,#27ae60,#2ecc71);padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;color:#fff}.summary-card .label{font-size:14px;opacity:.9}.summary-card .value{font-size:24px;font-weight:600;display:block;margin-top:5px}.data-table td.number.positive{color:#e74c3c;font-weight:600}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;padding:20px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid #eee;margin-bottom:20px}.form-group input.readonly{background-color:#f8f9fa;font-weight:600}.product-select-btn{width:100%;padding:10px 14px;background:#f8f9fa;border:1px solid #ddd;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-select-btn:hover{background:#e9ecef;border-color:#3498db}.namyang-settlement-page{padding:20px}.upload-section{display:flex;justify-content:center;margin-bottom:30px}.upload-box{background:#fff;border-radius:12px;padding:40px;text-align:center;box-shadow:0 2px 8px #0000001a;max-width:500px;width:100%}.upload-icon{font-size:48px;margin-bottom:15px}.upload-box h3{margin:0 0 10px;color:#333}.upload-box p{color:#666;margin-bottom:20px;font-size:14px}.file-input-wrapper{margin-bottom:20px}.file-input-wrapper input[type=file]{display:none}.file-label{display:inline-block;padding:12px 30px;background-color:#f8f9fa;border:2px dashed #ddd;border-radius:8px;cursor:pointer;transition:all .3s;color:#666}.file-label:hover{border-color:#3498db;background-color:#e8f4fc;color:#3498db}.error-message{color:#e74c3c;background-color:#fde8e8;padding:10px 15px;border-radius:4px;margin-bottom:15px;font-size:14px}.button-group{display:flex;gap:10px;justify-content:center}.btn-parse{background-color:#3498db;color:#fff;border:none;padding:12px 30px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500}.btn-parse:hover:not(:disabled){background-color:#2980b9}.btn-parse:disabled{background-color:#bdc3c7;cursor:not-allowed}.btn-clear{background-color:#fff;color:#666;border:1px solid #ddd;padding:12px 30px;border-radius:6px;cursor:pointer;font-size:14px}.btn-clear:hover:not(:disabled){background-color:#f8f9fa}.result-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.result-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #eee}.result-header h3{margin:0}.result-meta{display:flex;gap:20px;color:#666;font-size:14px}.summary-cards{display:flex;gap:15px;padding:20px;background-color:#f8f9fa}.summary-card{flex:1;background:#fff;padding:15px 20px;border-radius:8px;box-shadow:0 1px 3px #0000001a;text-align:center}.summary-card.total{background:linear-gradient(135deg,#9b59b6,#8e44ad);color:#fff}.summary-card.total .label{color:#ffffffe6}.summary-card .value{font-size:18px;font-weight:600;color:#333}.summary-card.total .value{color:#fff}.data-table th{background-color:#f8f9fa;font-weight:600;color:#333;position:sticky;top:0}.data-table td.number.total{font-weight:600;color:#9b59b6}.data-table td.product-name{text-align:left;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table .empty{text-align:center;color:#999;padding:40px}.data-table tfoot{background-color:#f0f0f0;font-weight:600}.data-table tfoot td{border-top:2px solid #ddd}.action-buttons{padding:20px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eee}.btn-print{background-color:#27ae60;color:#fff;border:none;padding:10px 25px;border-radius:4px;cursor:pointer;font-size:14px}.btn-print:hover{background-color:#229954}@media print{.upload-section,.action-buttons{display:none}.result-section{box-shadow:none}.summary-cards{break-inside:avoid}}.refund-page{padding:20px}.header-controls{display:flex;gap:10px;align-items:center}.month-picker,.status-filter{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.summary-cards{display:flex;gap:15px;margin-bottom:20px}.summary-card{flex:1;max-width:200px;background:#fff;padding:15px 20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center}.summary-card.pending{border-left:4px solid #f39c12}.summary-card.completed{border-left:4px solid #27ae60}.summary-card .label{font-size:13px;color:#666;display:block;margin-bottom:5px}.summary-card .value{font-size:20px;font-weight:600;color:#333}.table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.data-table th,.data-table td{padding:12px;text-align:center;border-bottom:1px solid #eee}.data-table th{background-color:#f8f9fa;font-weight:600;color:#333}.data-table td.number{text-align:right;font-family:Courier New,monospace}.data-table .loading,.data-table .empty{text-align:center;color:#999;padding:40px}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500}.status-badge.pending{background-color:#fef3cd;color:#856404}.status-badge.completed{background-color:#d4edda;color:#155724}.status-badge.cancelled{background-color:#f8d7da;color:#721c24}.actions{display:flex;gap:5px;justify-content:center}.btn-edit,.btn-delete{padding:5px 10px;border:none;border-radius:3px;cursor:pointer;font-size:12px}.refund-form{padding:20px}.btn-save:disabled{background-color:#ccc;cursor:not-allowed}.btn-load{background-color:#9b59b6;color:#fff;border:none;padding:10px 15px;border-radius:4px;cursor:pointer;font-size:14px}.btn-load:hover{background-color:#8e44ad}.btn-export{background-color:#27ae60;color:#fff;border:none;padding:10px 15px;border-radius:4px;cursor:pointer;font-size:14px}.btn-export:hover{background-color:#229954}.btn-upload{background-color:#f39c12;color:#fff;border:none;padding:10px 15px;border-radius:4px;cursor:pointer;font-size:14px}.btn-upload:hover{background-color:#e67e22}.load-modal{max-width:1000px}.load-modal-body{padding:20px;max-height:60vh;overflow-y:auto}.load-info{background-color:#e8f4f8;padding:12px 15px;border-radius:4px;margin-bottom:15px;font-size:14px;color:#2c3e50}.load-info p{margin:5px 0}.load-summary{display:flex;align-items:center;gap:15px;margin-bottom:10px;font-size:14px}.load-summary .selected-count{color:#3498db;font-weight:600}.btn-select-all{padding:5px 12px;font-size:13px;background-color:#ecf0f1;border:1px solid #bdc3c7;border-radius:4px;cursor:pointer}.btn-select-all:hover{background-color:#d5dbdb}.pending-table-container{max-height:400px;overflow-y:auto;border:1px solid #ddd;border-radius:4px}.pending-table{width:100%;border-collapse:collapse;font-size:13px}.pending-table th,.pending-table td{padding:10px 8px;text-align:center;border-bottom:1px solid #eee}.pending-table th{background-color:#f8f9fa;font-weight:600;position:sticky;top:0;z-index:1}.pending-table tbody tr{cursor:pointer;transition:background-color .2s}.pending-table tbody tr:hover{background-color:#f5f5f5}.pending-table tbody tr.selected{background-color:#e3f2fd}.pending-table td.number{text-align:right;font-family:Courier New,monospace}.loading-spinner,.empty-message{text-align:center;padding:40px;color:#999}@media(max-width:1200px){.header-controls{flex-wrap:wrap}}.meal-input-page{padding:20px;max-width:1600px;margin:0 auto}.meal-input-page h2{margin-bottom:20px;color:#2d3748}.control-section{background:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:20px}.control-row{display:flex;gap:20px;align-items:flex-end;flex-wrap:wrap}.control-item{display:flex;flex-direction:column;gap:8px}.control-item label{font-weight:600;color:#4a5568}.control-item select,.control-item input[type=file]{padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:200px}.control-buttons{display:flex;gap:10px}.btn-parse,.btn-save{padding:10px 20px;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}.btn-parse{background:#4299e1;color:#fff}.btn-parse:hover:not(:disabled){background:#3182ce}.btn-save{background:#48bb78;color:#fff}.btn-save:hover:not(:disabled){background:#38a169}.btn-parse:disabled,.btn-save:disabled{background:#cbd5e0;cursor:not-allowed}.message{padding:12px 16px;border-radius:4px;margin-bottom:20px}.message.success{background:#c6f6d5;color:#276749;border:1px solid #9ae6b4}.message.error{background:#fed7d7;color:#c53030;border:1px solid #feb2b2}.parsed-data-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.parsed-data-section h3{padding:15px 20px;margin:0;background:#2d3748;color:#fff}.parsed-table{width:100%;border-collapse:collapse;font-size:13px}.parsed-table th,.parsed-table td{padding:10px 8px;border-bottom:1px solid #e2e8f0;text-align:center}.parsed-table th{background:#f7fafc;font-weight:600;color:#4a5568;white-space:nowrap}.parsed-table tbody tr:hover{background:#f7fafc}.parsed-table tbody tr.no-product{background:#fffaf0}.food-item{text-align:left!important;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-select{width:140px;padding:6px;border:1px solid #ddd;border-radius:4px;font-size:12px}.quantity-input{width:60px;padding:6px;border:1px solid #ddd;border-radius:4px;text-align:center}.price{text-align:right!important;font-family:monospace}.price.total{font-weight:600;color:#2b6cb0}.price.margin{color:#38a169}.btn-delete-row{background:#e53e3e;color:#fff;border:none;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:12px}.btn-delete-row:hover{background:#c53030}.parsed-table tfoot tr{background:#edf2f7;font-weight:600}.parsed-table tfoot td{padding:12px 8px}.guide-section{background:#ebf8ff;padding:20px 30px;border-radius:8px;border:1px solid #bee3f8}.guide-section h3{margin-top:0;color:#2b6cb0}.guide-section ol{margin:0;padding-left:20px;line-height:1.8;color:#2d3748}.guide-section strong{color:#2b6cb0}.parse-info{color:#e53e3e;font-size:13px;margin:10px 20px;font-weight:500}.history-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:20px;margin-top:20px}.history-section h3{margin:0 0 15px;color:#2d3748}.history-table{width:100%;border-collapse:collapse;font-size:14px}.history-table th,.history-table td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:center}.history-table th{background:#f7fafc;font-weight:600;color:#4a5568}.history-table tbody tr:hover{background:#f7fafc}.btn-rollback{background:#e53e3e;color:#fff;border:none;border-radius:4px;padding:6px 12px;cursor:pointer;font-size:12px}.btn-rollback:hover{background:#c53030}.period-cell{white-space:nowrap;color:#4a5568}.settlement-month-cell{min-width:200px}.settlement-edit{display:flex;gap:6px;align-items:center;justify-content:center}.month-select{padding:6px 10px;border:1px solid #4299e1;border-radius:4px;font-size:13px;background:#fff}.btn-edit-month{background:#4299e1;color:#fff;border:none;border-radius:4px;padding:6px 12px;cursor:pointer;font-size:13px;transition:background .2s}.btn-edit-month:hover{background:#3182ce}.btn-save-small{background:#48bb78;color:#fff;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:12px}.btn-save-small:hover{background:#38a169}.btn-cancel-small{background:#a0aec0;color:#fff;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:12px}.btn-cancel-small:hover{background:#718096}.loading-indicator{color:#4299e1;font-weight:600;padding:10px}.no-history{color:#718096;text-align:center;padding:30px}.guide-tip{margin-top:15px;padding:12px 15px;background:#fffaf0;border-radius:4px;border:1px solid #fbd38d;color:#744210;font-size:14px}.meal-calendar-page{padding:20px;max-width:1600px;margin:0 auto}.meal-calendar-page h2{margin-bottom:20px;color:#2d3748}.filter-item select{padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:150px;height:44px;line-height:1.4}.month-selector{display:flex;align-items:center;gap:8px}.month-selector button{padding:8px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer}.month-selector button:hover{background:#f0f0f0}.month-selector input[type=month]{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.calendar-layout{display:flex;gap:20px;align-items:flex-start}.calendar-container{flex:1;position:relative;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.loading-overlay{position:absolute;inset:0;background:#fffc;display:flex;align-items:center;justify-content:center;font-size:18px;color:#4a5568;z-index:10}.calendar-table{width:100%;border-collapse:collapse;table-layout:fixed}.calendar-table th{padding:12px;background:#2d3748;color:#fff;font-weight:600;text-align:center}.calendar-table th.sunday{color:#fc8181}.calendar-table th.saturday{color:#90cdf4}.calendar-cell{border:1px solid #e2e8f0;vertical-align:top;height:90px;padding:6px;position:relative;cursor:pointer;transition:background .2s}.calendar-cell:hover:not(.empty){background:#edf2f7}.calendar-cell.empty{background:#f7fafc;cursor:default}.calendar-cell.sunday{background:#fff5f5}.calendar-cell.saturday{background:#ebf8ff}.calendar-cell.has-data{background:#f0fff4}.calendar-cell.selected{background:#bee3f8!important;border:2px solid #3182ce}.day-number{font-size:14px;font-weight:600;color:#2d3748;margin-bottom:4px}.sunday .day-number{color:#e53e3e}.saturday .day-number{color:#3182ce}.day-content{max-height:60px;overflow-y:auto}.school-products{display:flex;align-items:center;gap:4px;margin-bottom:2px;font-size:11px}.school-name{font-weight:600;color:#276749;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80px}.product-count{color:#718096;font-size:10px}.daily-list-panel{width:280px;min-width:280px;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;max-height:500px}.panel-header{padding:15px;background:#2d3748;color:#fff;border-radius:8px 8px 0 0;display:flex;align-items:center;justify-content:space-between}.panel-header h3{margin:0;font-size:15px}.selected-date-badge{background:#4299e1;padding:4px 10px;border-radius:12px;font-size:13px;font-weight:600}.panel-content{flex:1;padding:15px;overflow-y:auto}.no-selection,.no-data{color:#a0aec0;text-align:center;padding:30px 0;font-size:14px}.delivery-list{list-style:none;margin:0;padding:0}.delivery-item{padding:10px 12px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:6px;font-size:13px}.delivery-item:last-child{border-bottom:none}.delivery-item:hover{background:#f7fafc}.item-school{font-weight:600;color:#2d3748}.item-separator{color:#cbd5e0}.item-product{color:#38a169;font-weight:500}.panel-footer{padding:12px 15px;background:#f7fafc;border-top:1px solid #e2e8f0;text-align:center;font-weight:600;color:#4a5568;border-radius:0 0 8px 8px}.legend-section{margin-top:20px;padding:15px 20px;background:#ebf8ff;border-radius:8px;border:1px solid #bee3f8}.legend-section h4{margin:0 0 10px;color:#2b6cb0}.legend-section p{margin:5px 0;color:#2d3748;font-size:14px}.day-content::-webkit-scrollbar,.panel-content::-webkit-scrollbar{width:4px}.day-content::-webkit-scrollbar-track,.panel-content::-webkit-scrollbar-track{background:#f1f1f1}.day-content::-webkit-scrollbar-thumb,.panel-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:2px}@media(max-width:1200px){.calendar-layout{flex-direction:column}.daily-list-panel{width:100%;min-width:auto;max-height:300px}}@media(max-width:768px){.calendar-table{font-size:12px}.calendar-cell{height:70px;padding:4px}.day-number{font-size:12px}.school-name{font-size:9px;max-width:60px}.product-count{font-size:9px}}.detail-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.detail-modal{background:#fff;border-radius:12px;width:95%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 40px #0000004d}.detail-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:linear-gradient(135deg,#2d3748,#4a5568);color:#fff;border-radius:12px 12px 0 0}.detail-modal-header h3{margin:0;font-size:18px}.modal-close-btn{background:none;border:none;font-size:28px;color:#fff;cursor:pointer;padding:0 8px;opacity:.8;transition:opacity .2s}.modal-close-btn:hover{opacity:1}.detail-modal-content{flex:1;overflow-y:auto;padding:20px}.detail-loading,.detail-empty{text-align:center;padding:60px 20px;color:#718096;font-size:16px}.detail-group{margin-bottom:24px;background:#f8fafc;border-radius:8px;padding:16px;border:1px solid #e2e8f0}.detail-group-title{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:10px;border-bottom:2px solid #e2e8f0}.food-item-badge{background:linear-gradient(135deg,#38a169,#48bb78);color:#fff;padding:8px 16px;border-radius:20px;font-weight:600;font-size:15px}.item-count{background:#e2e8f0;color:#4a5568;padding:4px 12px;border-radius:12px;font-size:13px;font-weight:500}.detail-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff;border-radius:6px;overflow:hidden}.detail-table thead{background:#4a5568;color:#fff}.detail-table th{padding:10px 8px;text-align:left;font-weight:600;font-size:12px;white-space:nowrap}.detail-table th.num-col{text-align:right}.detail-table td{padding:10px 8px;border-bottom:1px solid #e2e8f0}.detail-table tbody tr:hover{background:#f7fafc}.detail-table tbody tr:last-child td{border-bottom:none}.attr-cell{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#718096;font-size:12px}.meal-type-badge{display:inline-block;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:600}.meal-type-badge.breakfast{background:#fef3c7;color:#92400e}.meal-type-badge.lunch{background:#dbeafe;color:#1e40af}.meal-type-badge.dinner{background:#fce7f3;color:#9d174d}.school-cell{font-weight:600;color:#2d3748;white-space:nowrap}.product-cell{color:#38a169;font-weight:500}.num-col{text-align:right;white-space:nowrap}.total-cell{font-weight:600;color:#2563eb}.subtotal-row{background:#f1f5f9;font-weight:600}.subtotal-label{text-align:right!important;color:#4a5568}.detail-modal-footer{padding:16px 24px;background:#1a202c;border-radius:0 0 12px 12px}.grand-total{display:flex;align-items:center;justify-content:flex-end;gap:16px;color:#fff}.total-label{font-size:15px;color:#a0aec0}.total-count{font-size:18px;font-weight:600;color:#48bb78}.total-amount{font-size:22px;font-weight:700;color:#63b3ed}.detail-modal-content::-webkit-scrollbar{width:8px}.detail-modal-content::-webkit-scrollbar-track{background:#f1f5f9}.detail-modal-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.detail-modal-content::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media(max-width:1024px){.detail-table{font-size:11px}.detail-table th,.detail-table td{padding:8px 6px}.attr-cell{max-width:120px}}@media(max-width:768px){.detail-modal{width:100%;max-height:95vh;border-radius:8px}.detail-modal-content{padding:12px}.detail-table{font-size:10px}.detail-table th,.detail-table td{padding:6px 4px}.food-item-badge{font-size:13px;padding:6px 12px}.grand-total{flex-wrap:wrap;gap:8px}.total-amount{font-size:18px}}.menu-buttons{display:flex;gap:10px;align-items:flex-end;margin-left:auto}.menu-btn{padding:10px 16px;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.menu-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.daily-btn{background:linear-gradient(135deg,#38a169,#48bb78);color:#fff}.daily-btn:hover{background:linear-gradient(135deg,#2f855a,#38a169)}.weekly-btn{background:linear-gradient(135deg,#3182ce,#4299e1);color:#fff}.weekly-btn:hover{background:linear-gradient(135deg,#2b6cb0,#3182ce)}.invoice-btn{background:linear-gradient(135deg,#d69e2e,#ecc94b);color:#744210}.invoice-btn:hover{background:linear-gradient(135deg,#b7791f,#d69e2e)}.daily-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.daily-modal{background:#fff;border-radius:12px;width:90%;max-width:900px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 40px #0000004d}.daily-modal-header{display:flex;align-items:center;gap:15px;padding:20px 24px;background:linear-gradient(135deg,#38a169,#48bb78);color:#fff;border-radius:12px 12px 0 0}.daily-modal-header h3{margin:0;font-size:18px}.daily-date-badge{background:#fff3;padding:6px 14px;border-radius:20px;font-size:14px;font-weight:600}.daily-modal-header .modal-close-btn{margin-left:auto}.daily-modal-content{flex:1;overflow-y:auto;padding:20px}.daily-loading,.daily-empty{text-align:center;padding:60px 20px;color:#718096;font-size:16px}.daily-table{width:100%;border-collapse:collapse;font-size:14px}.daily-table thead{background:#2d3748;color:#fff}.daily-table th{padding:12px 10px;text-align:center;font-weight:600;white-space:nowrap}.daily-table td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:center}.daily-table tbody tr:hover{background:#f7fafc}.daily-table .col-no{width:60px;color:#718096;font-weight:500}.daily-table .col-school{font-weight:600;color:#2d3748;text-align:left}.daily-table .col-meal{width:80px}.daily-table .col-product{text-align:left;color:#38a169;font-weight:500}.daily-table .col-unit{width:100px;color:#718096}.daily-table .col-qty{width:70px;font-weight:600;color:#2563eb}.daily-table .col-memo{width:120px;text-align:left;font-size:12px;color:#666}.meal-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600}.meal-badge.breakfast{background:#fef3c7;color:#92400e}.meal-badge.lunch{background:#dbeafe;color:#1e40af}.meal-badge.dinner{background:#fce7f3;color:#9d174d}.daily-table .total-row{background:#edf2f7;font-weight:600}.daily-table .total-label{text-align:right;padding-right:20px;color:#4a5568}.daily-table .total-qty{font-size:16px;color:#2563eb}.daily-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:#f7fafc;border-top:1px solid #e2e8f0;border-radius:0 0 12px 12px}.daily-count{font-weight:600;color:#4a5568}.print-btn{padding:10px 24px;background:linear-gradient(135deg,#4a5568,#718096);color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.print-btn:hover{background:linear-gradient(135deg,#2d3748,#4a5568);transform:translateY(-2px);box-shadow:0 4px 12px #0003}.daily-modal-content::-webkit-scrollbar{width:8px}.daily-modal-content::-webkit-scrollbar-track{background:#f1f5f9}.daily-modal-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}@media(max-width:768px){.menu-buttons{flex-wrap:wrap;margin-left:0;margin-top:10px;width:100%;justify-content:flex-start}.menu-btn{padding:8px 12px;font-size:12px}.daily-modal{width:100%;max-height:95vh}.daily-table{font-size:12px}.daily-table th,.daily-table td{padding:8px 6px}}.school-separator td{background:#2d3748;height:3px;padding:0!important;border:none!important}.first-of-school td{border-top:2px solid #4a5568}.daily-table .col-school{background:#f7fafc;vertical-align:middle;border-right:2px solid #e2e8f0}.region-badge{background:#ffffff40;padding:6px 14px;border-radius:20px;font-size:13px;font-weight:600;margin-left:10px}.schedule-section{margin-top:24px;padding-top:20px;border-top:2px dashed #e2e8f0}.schedule-section h4{margin:0 0 16px;font-size:15px;color:#2d3748;font-weight:600}.meal-schedule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.schedule-item{background:#f0f9ff;border:1px solid #bae6fd;border-left:4px solid #3788d8;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:6px}.schedule-item.holiday{background:#fef2f2;border:1px solid #fecaca;border-left:4px solid #ef4444}.schedule-item.holiday .schedule-title{color:#991b1b}.schedule-item.holiday .schedule-desc{color:#dc2626}.schedule-title{font-weight:600;color:#0c4a6e;font-size:13px}.schedule-desc{color:#0369a1;font-size:12px;line-height:1.5}@media(max-width:768px){.meal-schedule-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.meal-schedule-grid{grid-template-columns:1fr}}.weekly-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.weekly-modal{background:#fff;border-radius:12px;width:95%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 40px #0000004d}.weekly-modal-header{display:flex;align-items:center;gap:15px;padding:20px 24px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border-radius:12px 12px 0 0}.weekly-modal-header h3{margin:0;font-size:18px}.weekly-date-badge{background:#fff3;padding:6px 14px;border-radius:20px;font-size:14px;font-weight:600}.weekly-modal-header .modal-close-btn{margin-left:auto}.weekly-modal-content{flex:1;overflow-y:auto;padding:20px}.weekly-loading,.weekly-empty{text-align:center;padding:60px 20px;color:#718096;font-size:16px}.weekly-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.weekly-table thead{background:#1e3a5f;color:#fff}.weekly-table th{padding:10px 6px;text-align:center;font-weight:600;border:1px solid #2c5282;width:14.28%}.weekly-table th.sunday{background:#b91c1c;color:#fff}.weekly-table th.saturday{background:#1e40af;color:#fff}.weekly-table td{padding:8px;border:1px solid #e2e8f0;vertical-align:top}.weekly-table .col-day-cell{min-height:150px;background:#fff}.weekly-table .col-day-cell.sunday{background:#fef2f2}.weekly-table .col-day-cell.saturday{background:#eff6ff}.day-items{display:flex;flex-direction:column;gap:4px}.delivery-item{padding:4px 6px;background:#f8fafc;border-radius:4px;border-left:3px solid #38a169;font-size:11px;line-height:1.4}.delivery-item .school-name{font-weight:600;color:#2d3748}.delivery-item .product-info{color:#38a169}.no-data{text-align:center;color:#a0aec0;padding:20px 0}.weekly-table .total-row td{background:#e8f4fc;font-weight:600;text-align:center;padding:10px;color:#1e3a5f}.weekly-table .col-day-total{font-size:13px}.weekly-table .col-day-total.sunday{background:#fee2e2;color:#b91c1c}.weekly-table .col-day-total.saturday{background:#dbeafe;color:#1e40af}.weekly-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:#f7fafc;border-top:1px solid #e2e8f0;border-radius:0 0 12px 12px}.weekly-count{font-weight:600;color:#4a5568}.weekly-modal-content::-webkit-scrollbar{width:8px}.weekly-modal-content::-webkit-scrollbar-track{background:#f1f5f9}.weekly-modal-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}@media(max-width:900px){.weekly-modal{width:100%;max-height:95vh}.weekly-table{font-size:11px}.weekly-table th,.weekly-table td{padding:6px 4px}}.invoice-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000}.invoice-modal{background:#fff;border-radius:12px;width:95%;max-width:1400px;min-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.invoice-modal-header{display:flex;align-items:center;gap:12px;padding:16px 24px;background:linear-gradient(135deg,#38a169,#2f855a);border-radius:12px 12px 0 0;color:#fff}.invoice-modal-header h3{margin:0;font-size:20px;font-weight:700}.invoice-school-badge{background:#ffffff40;padding:6px 14px;border-radius:20px;font-size:14px;font-weight:600}.invoice-modal-content{flex:1;overflow-y:auto;padding:24px;background:#f8f9fa}.invoice-loading,.invoice-empty{text-align:center;padding:60px 20px;color:#718096;font-size:16px}.invoice-title-section{text-align:center;margin-bottom:24px}.invoice-title-section h2{margin:0;font-size:28px;font-weight:700;color:#2d3748;letter-spacing:8px}.invoice-info-section{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.supplier-info,.invoice-summary{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 4px #0000000d}.supplier-info h4,.invoice-summary h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#4a5568;padding-bottom:8px;border-bottom:2px solid #e2e8f0}.info-table th{text-align:left;width:90px;min-width:90px;padding:10px 16px 10px 0;color:#718096;font-weight:500;font-size:14px;white-space:nowrap}.info-table td{padding:10px 0;color:#2d3748;font-weight:600;font-size:15px}.info-table td.total-amount{color:#c53030;font-size:18px;font-weight:700}.invoice-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000000d}.invoice-table th{background:#38a169;color:#fff;padding:12px 8px;font-weight:600;font-size:13px;text-align:center;border-bottom:2px solid #2f855a;white-space:nowrap}.invoice-table td{padding:10px 8px;border-bottom:1px solid #e2e8f0;text-align:center;font-size:13px}.invoice-table tbody tr:hover{background:#f7fafc}.invoice-table .col-no{width:50px;min-width:50px;color:#718096}.invoice-table .col-date{width:110px;min-width:110px}.invoice-table .col-attr{width:140px;min-width:140px;color:#718096}.invoice-table .col-product{text-align:left;padding-left:12px;font-weight:500;min-width:150px}.invoice-table .col-unit{width:110px;min-width:110px;color:#718096}.invoice-table .col-qty{width:80px;min-width:80px;font-weight:600;color:#38a169}.invoice-table .col-price{width:110px;min-width:110px;text-align:right;padding-right:12px}.invoice-table .col-total{width:120px;min-width:120px;text-align:right;padding-right:12px;font-weight:600;color:#2d3748}.invoice-table tfoot .total-row{background:#e8f4fc}.invoice-table tfoot .total-row td{font-weight:700;padding:14px 8px;border:none}.invoice-table tfoot .total-label{text-align:center;font-size:15px;color:#1e3a5f}.invoice-table tfoot .total-qty{color:#38a169;font-size:15px}.invoice-table tfoot .total-amount{color:#c53030;font-size:16px;text-align:right;padding-right:12px}.invoice-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:#f7fafc;border-top:1px solid #e2e8f0;border-radius:0 0 12px 12px}.invoice-info{font-weight:600;color:#4a5568;font-size:14px}.invoice-actions{display:flex;gap:10px}.export-btn{padding:10px 16px;border-radius:6px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.export-btn.excel-btn{background:#22543d;color:#fff}.export-btn.excel-btn:hover{background:#1c4532}.export-btn.pdf-btn{background:#c53030;color:#fff}.export-btn.pdf-btn:hover{background:#9b2c2c}.invoice-modal-footer .print-btn{background:#3182ce;color:#fff;padding:10px 16px;border-radius:6px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.invoice-modal-footer .print-btn:hover{background:#2b6cb0}.invoice-modal-footer .export-btn.email-btn{background:linear-gradient(135deg,#38a169,#48bb78);color:#fff}.invoice-modal-footer .export-btn.email-btn:hover{background:linear-gradient(135deg,#2f855a,#38a169)}.invoice-actions .email-input-wrapper{display:flex;align-items:center;gap:8px}.invoice-actions .email-select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;min-width:180px;color:#2d3748}.invoice-actions .email-input{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;width:180px;color:#2d3748}.invoice-actions .email-select:focus,.invoice-actions .email-input:focus{outline:none;border-color:#38a169;box-shadow:0 0 0 3px #38a16933}.invoice-actions .btn-send-email{padding:8px 14px;background:linear-gradient(135deg,#38a169,#48bb78);color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.invoice-actions .btn-send-email:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #38a1694d}.invoice-actions .btn-send-email:disabled{background:#a0aec0;cursor:not-allowed}.invoice-actions .btn-cancel-email{padding:8px 12px;background:#e2e8f0;color:#4a5568;border:none;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s}.invoice-actions .btn-cancel-email:hover{background:#cbd5e0}.invoice-modal-content::-webkit-scrollbar{width:8px}.invoice-modal-content::-webkit-scrollbar-track{background:#f1f5f9}.invoice-modal-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}@media(max-width:960px){.invoice-modal{width:98%;min-width:auto;max-height:95vh;border-radius:8px}.invoice-modal-content{overflow-x:auto}.invoice-info-section{grid-template-columns:1fr}.invoice-table{font-size:12px;min-width:800px}.invoice-table th,.invoice-table td{padding:8px 6px}.invoice-actions{flex-wrap:wrap;gap:6px}.export-btn,.invoice-modal-footer .print-btn{padding:8px 12px;font-size:12px}.invoice-actions .email-input-wrapper{flex-wrap:wrap;width:100%;justify-content:center}.invoice-actions .email-select,.invoice-actions .email-input{width:100%;min-width:auto}}.detail-modal-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:#f8fafc;border-top:1px solid #e2e8f0}.statement-btn{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #667eea4d}.statement-btn:hover{transform:translateY(-1px);box-shadow:0 4px 8px #667eea66}.statement-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.statement-modal{background:#fff;border-radius:12px;width:95%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.statement-modal-header{display:flex;align-items:center;gap:12px;padding:16px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 0 0}.statement-modal-header .modal-close-btn{margin-left:auto}.statement-modal-header h3{margin:0;font-size:18px;font-weight:600}.statement-date-badge{background:#fff3;padding:4px 12px;border-radius:20px;font-size:13px}.statement-modal-content{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:20px}.statement-school-selection{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:15px}.selection-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.selection-title{font-size:14px;font-weight:600;color:#334155}.selection-actions{display:flex;gap:8px}.select-all-btn,.deselect-all-btn{padding:6px 12px;font-size:12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;cursor:pointer;transition:all .2s ease}.select-all-btn:hover{background:#667eea;color:#fff;border-color:#667eea}.deselect-all-btn:hover{background:#ef4444;color:#fff;border-color:#ef4444}.school-checkbox-list{display:flex;flex-wrap:wrap;gap:10px}.school-checkbox-item{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .2s ease}.school-checkbox-item:hover{border-color:#667eea;background:#f5f3ff}.school-checkbox-item input[type=checkbox]{width:16px;height:16px;accent-color:#667eea}.school-checkbox-name{font-size:13px;font-weight:500;color:#334155}.school-checkbox-count{font-size:11px;color:#94a3b8}.statement-preview{border:1px solid #e2e8f0;border-radius:8px;padding:15px;background:#fff}.statement-preview h4{margin:0 0 15px;font-size:14px;font-weight:600;color:#334155;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.statement-page-preview{padding:20px;border:2px solid #e2e8f0;border-radius:8px;margin-bottom:15px;background:#fafafa}.statement-title{text-align:center;font-size:24px;font-weight:700;color:#1e293b;padding:15px 0;border-bottom:2px solid #334155;margin-bottom:20px;letter-spacing:8px}.statement-info-section{display:flex;gap:30px;margin-bottom:20px}.supplier-section,.receiver-section{flex:1;background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.section-title{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:10px 15px;font-size:14px;font-weight:600;text-align:center}.info-table{width:100%;border-collapse:collapse}.info-table th,.info-table td{padding:10px 15px;border-bottom:1px solid #e2e8f0;font-size:13px}.info-table th{background:#f8fafc;color:#64748b;font-weight:500;width:35%;text-align:left}.info-table td{color:#334155;font-weight:500}.info-table tr:last-child th,.info-table tr:last-child td{border-bottom:none}.representative-cell{display:flex;align-items:center;gap:10px}.stamp-image{width:40px;height:40px;object-fit:contain}.statement-table-wrapper{overflow-x:auto}.statement-table{width:100%;border-collapse:collapse;font-size:12px;background:#fff;border:1px solid #e2e8f0}.statement-table th{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:12px 8px;font-weight:600;text-align:center;white-space:nowrap}.statement-table td{padding:10px 8px;border-bottom:1px solid #e2e8f0;text-align:center}.statement-table tbody tr:hover{background:#f5f3ff}.statement-table .col-no{width:40px}.statement-table .col-date{width:90px}.statement-table .col-attr{width:120px;text-align:left}.statement-table .col-product{text-align:left}.statement-table .col-spec{width:80px}.statement-table .col-qty{width:60px}.statement-table .col-price{width:90px;text-align:right}.statement-table .col-total{width:100px;text-align:right;font-weight:600}.statement-table tfoot .total-row{background:#f1f5f9;font-weight:600}.statement-table tfoot .total-label{text-align:center;color:#334155;font-size:13px}.statement-table tfoot .total-qty{color:#667eea}.statement-table tfoot .total-amount{color:#059669;font-size:14px}.page-break-indicator{text-align:center;padding:15px;color:#94a3b8;font-size:12px;border-top:2px dashed #e2e8f0;margin-top:15px}.no-selection-message{text-align:center;padding:40px;color:#94a3b8;font-size:14px}.statement-modal-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:#f8fafc;border-top:1px solid #e2e8f0;border-radius:0 0 12px 12px}.statement-info{font-size:14px;font-weight:600;color:#667eea}.statement-actions{display:flex;gap:10px}.statement-modal-footer .print-btn{padding:10px 24px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.statement-modal-footer .print-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #3b82f666}.statement-modal-footer .print-btn:disabled{background:#cbd5e0;cursor:not-allowed}.statement-modal-content::-webkit-scrollbar{width:8px}.statement-modal-content::-webkit-scrollbar-track{background:#f1f5f9}.statement-modal-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}@media(max-width:768px){.statement-modal{width:100%;max-height:95vh;border-radius:8px}.statement-info-section{flex-direction:column;gap:15px}.statement-table{font-size:11px}.statement-table th,.statement-table td{padding:8px 4px}.school-checkbox-list{flex-direction:column}.school-checkbox-item{width:100%}}@media print{.statement-page{page-break-after:always}.statement-page:last-child{page-break-after:auto}.statement-info-section{display:flex!important;flex-direction:row!important;gap:20px!important}.supplier-section,.receiver-section{flex:1!important}.statement-table{font-size:11px!important}.statement-title{font-size:20px!important;letter-spacing:6px!important}}.estimate-btn{background:linear-gradient(135deg,#805ad5,#9f7aea);color:#fff}.estimate-btn:hover{background:linear-gradient(135deg,#6b46c1,#805ad5)}.delivery-btn{background:linear-gradient(135deg,#38b2ac,#4fd1c5);color:#fff}.delivery-btn:hover{background:linear-gradient(135deg,#2c7a7b,#38b2ac)}.date-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000}.date-modal{background:#fff;border-radius:12px;width:90%;max-width:400px;box-shadow:0 20px 40px #0000004d}.date-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 0 0}.date-modal-header h3{margin:0;font-size:18px}.date-modal-content{padding:24px 20px}.date-input-group{margin-bottom:16px}.date-input-group label{display:block;margin-bottom:8px;font-weight:600;color:#4a5568;font-size:14px}.date-input-group input[type=date]{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;color:#2d3748}.date-input-group input[type=date]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea33}.date-modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:16px 20px;background:#f7fafc;border-top:1px solid #e2e8f0;border-radius:0 0 12px 12px}.btn-cancel{padding:10px 20px;background:#e2e8f0;color:#4a5568;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#cbd5e0}.btn-confirm{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-confirm:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.doc-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.doc-modal{background:#fff;border-radius:12px;width:95%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.doc-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 0 0}.doc-modal-header.estimate{background:linear-gradient(135deg,#805ad5,#9f7aea)}.doc-modal-header.delivery{background:linear-gradient(135deg,#38b2ac,#4fd1c5)}.doc-modal-header h3{margin:0;font-size:20px;font-weight:700}.doc-modal-content{flex:1;overflow-y:auto;padding:24px;background:#f8f9fa}.doc-preview{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:30px;box-shadow:0 2px 4px #0000000d}.doc-title-section{text-align:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #2d3748}.doc-title-section h2{margin:0;font-size:28px;font-weight:700;color:#2d3748;letter-spacing:8px}.doc-title-section .doc-date{margin-top:8px;font-size:14px;color:#718096}.doc-info-section{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.doc-supplier-info,.doc-receiver-info{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.doc-supplier-info h4,.doc-receiver-info h4{margin:0;padding:12px 16px;background:#4a5568;color:#fff;font-size:14px;font-weight:600}.doc-info-table{width:100%;border-collapse:collapse}.doc-info-table th{text-align:left;padding:10px 16px;color:#718096;font-weight:500;font-size:13px;width:100px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.doc-info-table td{padding:10px 16px;color:#2d3748;font-weight:600;font-size:14px;border-bottom:1px solid #e2e8f0}.stamp-img{width:50px;height:50px;object-fit:contain;vertical-align:middle;margin-left:10px}.doc-items-table{width:100%;border-collapse:collapse;margin-top:20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.doc-items-table th{background:#4a5568;color:#fff;padding:12px 8px;font-weight:600;font-size:13px;text-align:center}.doc-items-table td{padding:10px 8px;border-bottom:1px solid #e2e8f0;text-align:center;font-size:13px}.doc-items-table tbody tr:hover{background:#f7fafc}.doc-items-table .col-product{text-align:left;padding-left:12px;font-weight:500}.doc-items-table .col-price,.doc-items-table .col-amount{text-align:right;padding-right:12px}.doc-items-table tfoot .total-row{background:#e8f4fc;font-weight:600}.doc-items-table tfoot td{padding:14px 8px;border:none}.doc-footer-text{text-align:center;margin-top:30px;padding-top:20px;border-top:1px solid #e2e8f0;font-size:15px;color:#4a5568;font-weight:500}.doc-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:#f7fafc;border-top:1px solid #e2e8f0;border-radius:0 0 12px 12px}.doc-modal-info{font-weight:600;color:#4a5568;font-size:14px}.doc-modal-actions{display:flex;gap:10px;align-items:center}.btn-print{padding:10px 20px;background:linear-gradient(135deg,#3182ce,#4299e1);color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-print:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3182ce4d}.btn-email{padding:10px 20px;background:linear-gradient(135deg,#38a169,#48bb78);color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-email:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #38a1694d}.btn-email:disabled{background:#a0aec0;cursor:not-allowed}.email-input-group{display:flex;align-items:center;gap:8px}.email-select{padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;min-width:180px;color:#2d3748}.email-input{padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;width:220px;color:#2d3748}.email-input:focus,.email-select:focus{outline:none;border-color:#38a169;box-shadow:0 0 0 3px #38a16933}.btn-send{padding:10px 16px;background:linear-gradient(135deg,#38a169,#48bb78);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-send:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #38a1694d}.btn-send:disabled{background:#a0aec0;cursor:not-allowed}.btn-close-email{padding:8px 12px;background:#e2e8f0;color:#4a5568;border:none;border-radius:6px;font-size:13px;cursor:pointer;transition:all .2s}.btn-close-email:hover{background:#cbd5e0}.doc-modal-content::-webkit-scrollbar{width:8px}.doc-modal-content::-webkit-scrollbar-track{background:#f1f5f9}.doc-modal-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}@media(max-width:768px){.doc-modal{width:100%;max-height:95vh;border-radius:8px}.doc-info-section{grid-template-columns:1fr}.doc-items-table{font-size:11px}.doc-items-table th,.doc-items-table td{padding:8px 4px}.doc-modal-footer{flex-direction:column;gap:12px;align-items:stretch}.doc-modal-actions,.email-input-group{flex-wrap:wrap;justify-content:center}.email-input,.email-select{width:100%;min-width:auto}}@media print{.doc-preview{border:none;box-shadow:none;padding:0}.doc-info-section{display:grid!important;grid-template-columns:1fr 1fr!important}.doc-items-table{font-size:11px!important}.doc-title-section h2{font-size:24px!important;letter-spacing:6px!important}}.meal-label-page{padding:20px;max-width:1400px;margin:0 auto}.meal-label-page h2{margin-bottom:20px;color:#2d3748}.filter-section{background:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:20px}.filter-row{display:flex;gap:20px;align-items:flex-end;flex-wrap:wrap}.filter-item{display:flex;flex-direction:column;gap:8px}.filter-item label{font-weight:600;color:#4a5568}.filter-item input[type=date],.filter-item select{padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:150px;height:44px;line-height:1.4}.filter-buttons{display:flex;gap:10px}.filter-buttons button{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:600}.btn-primary{background:#3182ce;color:#fff}.btn-primary:hover{background:#2c5282}.btn-primary:disabled{background:#a0aec0;cursor:not-allowed}.btn-secondary{background:#ed8936;color:#fff}.btn-secondary:hover{background:#dd6b20}.label-preview-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.preview-header{padding:15px 20px;background:#2d3748;color:#fff;display:flex;justify-content:space-between;align-items:center}.preview-header h3{margin:0;font-size:16px}.preview-info{display:flex;gap:15px;align-items:center}.preview-info span{background:#fff3;padding:4px 12px;border-radius:12px;font-size:13px}.btn-print{padding:8px 16px;background:#38a169;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:600}.btn-print:hover{background:#2f855a}.label-pages-container{padding:20px;background:#edf2f7;max-height:600px;overflow-y:auto}.label-page-preview{background:#fff;margin-bottom:20px;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.page-number{padding:8px 15px;background:#4a5568;color:#fff;font-size:12px;text-align:center}.label-grid-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:10px;background:#f7fafc}.label-cell-preview{background:#fff;border:1px solid #e2e8f0;border-radius:4px;padding:8px;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}.label-cell-preview.empty{background:#f7fafc;border-style:dashed}.label-school-preview,.label-product-preview{font-weight:700;color:#2d3748;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.label-memo-preview{color:#4a5568;font-size:10px;margin-bottom:2px}.label-notice-preview{color:#e53e3e;font-size:9px;background:#fff5f5;padding:2px 6px;border-radius:3px}.no-data-message{padding:60px 20px;text-align:center;background:#f8f9fa;border-radius:8px;color:#718096}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:700px;max-height:80vh;display:flex;flex-direction:column}.modal-header{padding:15px 20px;background:#2d3748;color:#fff;display:flex;justify-content:space-between;align-items:center;border-radius:8px 8px 0 0}.modal-header h3{margin:0;font-size:16px}.modal-close{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:0;line-height:1}.modal-body{padding:20px;overflow-y:auto}.notice-add-form{display:flex;gap:10px;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e2e8f0}.notice-add-form select{flex:0 0 180px;padding:8px;border:1px solid #ddd;border-radius:4px}.notice-add-form input{flex:1;padding:8px;border:1px solid #ddd;border-radius:4px}.notice-add-form button{padding:8px 16px;background:#3182ce;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:600}.notice-add-form button:hover{background:#2c5282}.notices-list{max-height:400px;overflow-y:auto}.no-notices{text-align:center;color:#718096;padding:30px 0}.notices-table{width:100%;border-collapse:collapse}.notices-table th{padding:10px;text-align:left;background:#edf2f7;border-bottom:2px solid #cbd5e0}.notices-table th:first-child{width:25%}.notices-table th:last-child{width:40px}.notices-table td{padding:8px 10px;border-bottom:1px solid #edf2f7}.notice-school{font-weight:600;color:#2d3748}.notice-input{width:100%;padding:6px 8px;border:1px solid transparent;border-radius:4px;background:transparent;transition:all .2s}.notice-input:hover,.notice-input:focus{border-color:#cbd5e0;background:#fff;outline:none}.btn-delete{background:none;border:none;color:#e53e3e;font-size:18px;cursor:pointer;padding:4px 8px;opacity:.6}.btn-delete:hover{opacity:1}.label-pages-container::-webkit-scrollbar,.notices-list::-webkit-scrollbar,.modal-body::-webkit-scrollbar{width:6px}.label-pages-container::-webkit-scrollbar-track,.notices-list::-webkit-scrollbar-track,.modal-body::-webkit-scrollbar-track{background:#f1f1f1}.label-pages-container::-webkit-scrollbar-thumb,.notices-list::-webkit-scrollbar-thumb,.modal-body::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}@media(max-width:768px){.filter-row{flex-direction:column;align-items:stretch}.filter-item,.filter-item input[type=date],.filter-item select{width:100%}.filter-buttons{flex-direction:column}.filter-buttons button{width:100%}.preview-header{flex-direction:column;gap:10px}.label-grid-preview{grid-template-columns:repeat(2,1fr)}.notice-add-form{flex-direction:column}.notice-add-form select{flex:1}}.meal-price-list-page{padding:20px;max-width:1400px;margin:0 auto}.meal-price-list-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:15px}.meal-price-list-page .page-header h2{margin:0;color:#2c3e50}.meal-price-list-page .header-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.meal-price-list-page .year-select,.meal-price-list-page .month-select{padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;background:#fff;cursor:pointer}.meal-price-list-page .price-type-checkboxes{display:flex;gap:12px;align-items:center;padding:6px 14px;background:#e8f5e9;border-radius:6px;border:1px solid #a5d6a7}.meal-price-list-page .price-checkbox{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:13px;font-weight:500;color:#2e7d32}.meal-price-list-page .price-checkbox input{width:16px;height:16px;cursor:pointer;accent-color:#2e7d32}.meal-price-list-page .btn{padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:14px;display:flex;align-items:center;gap:5px;transition:all .2s}.meal-price-list-page .btn-primary{background:#3498db;color:#fff}.meal-price-list-page .btn-primary:hover{background:#2980b9}.meal-price-list-page .btn-secondary{background:#95a5a6;color:#fff}.meal-price-list-page .btn-secondary:hover{background:#7f8c8d}.meal-price-list-page .btn-info{background:#9b59b6;color:#fff}.meal-price-list-page .btn-info:hover{background:#8e44ad}.meal-price-list-page .btn-success{background:#27ae60;color:#fff}.meal-price-list-page .btn-success:hover{background:#219a52}.meal-price-list-page .btn-warning{background:#e67e22;color:#fff}.meal-price-list-page .pdf-type-toggle{display:flex;gap:8px}.meal-price-list-page .pdf-type-toggle .toggle-btn{flex:1;padding:8px 12px;border:2px solid #ddd;border-radius:6px;background:#fff;cursor:pointer;font-size:13px;transition:all .2s}.meal-price-list-page .pdf-type-toggle .toggle-btn:hover{border-color:#3498db}.meal-price-list-page .pdf-type-toggle .toggle-btn.active{border-color:#3498db;background:#ebf5fb;font-weight:700;color:#2980b9}.meal-price-list-page .btn-warning:hover{background:#d35400}.meal-price-list-page .loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#7f8c8d}.meal-price-list-page .loading-spinner{width:50px;height:50px;border:4px solid #f0f0f0;border-top:4px solid #3498db;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:15px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.meal-price-list-page .flyer-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:30px}.meal-price-list-page .flyer-title{text-align:center;font-size:32px;font-weight:700;color:#2c3e50;margin-bottom:10px;letter-spacing:2px}.meal-price-list-page .flyer-subtitle{text-align:center;font-size:16px;color:#7f8c8d;margin-bottom:40px;padding-bottom:20px;border-bottom:2px dashed #eee}.meal-price-list-page .type-section{margin-bottom:35px}.meal-price-list-page .type-header{background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;padding:15px 25px;font-size:20px;font-weight:700;border-radius:10px 10px 0 0;display:flex;align-items:center;gap:10px;-webkit-user-select:none;user-select:none}.meal-price-list-page .type-header:hover{filter:brightness(1.05)}.meal-price-list-page .type-section:not(:has(.products-grid)) .type-header{border-radius:10px}.meal-price-list-page .type-icon{font-size:24px}.meal-price-list-page .type-count{font-size:14px;font-weight:400;opacity:.8;margin-left:10px}.meal-price-list-page .type-toggle{display:inline-block;transition:transform .2s;font-size:14px}.meal-price-list-page .type-toggle.expanded{transform:rotate(90deg)}.meal-price-list-page .btn-outline{padding:8px 12px;border:1px solid #95a5a6;border-radius:6px;cursor:pointer;font-size:13px;background:#fff;color:#2c3e50;transition:all .2s}.meal-price-list-page .btn-outline:hover{background:#ecf0f1;border-color:#7f8c8d}.meal-price-list-page .products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:20px;background:linear-gradient(135deg,#f8f9fa,#ecf0f1);border-radius:0 0 10px 10px;border:1px solid #e0e0e0;border-top:none}.meal-price-list-page .product-card{background:#fff;border-radius:12px;padding:20px;text-align:center;box-shadow:0 3px 12px #00000014;transition:all .3s;border:1px solid #eee}.meal-price-list-page .product-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #00000026}.meal-price-list-page .product-image-container{width:120px;height:120px;margin:0 auto 15px;position:relative;overflow:hidden;background:#fafafa;border-radius:10px;border:2px solid #f0f0f0}.meal-price-list-page .product-image{width:100%;height:100%;object-fit:contain;border-radius:8px}.meal-price-list-page .product-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#f5f7fa,#e4e9ed);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:50px}.meal-price-list-page .product-info{display:flex;flex-direction:column;gap:8px}.meal-price-list-page .product-name{font-size:15px;font-weight:700;color:#2c3e50;line-height:1.3;min-height:40px;display:flex;align-items:center;justify-content:center}.meal-price-list-page .product-volume{font-size:13px;color:#7f8c8d}.meal-price-list-page .product-prices{display:flex;flex-direction:column;gap:4px;margin:5px 0}.meal-price-list-page .product-price{font-size:20px;font-weight:700;padding:6px 8px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:6px}.meal-price-list-page .product-price .price-label{font-size:11px;font-weight:600;padding:2px 6px;border-radius:4px;background:#0000001a}.meal-price-list-page .product-price.meal-price{color:#e74c3c;background:linear-gradient(135deg,#fff5f5,#ffebeb)}.meal-price-list-page .product-price.meal-price .price-label{background:#fdd;color:#c0392b}.meal-price-list-page .product-price.student-price{color:#2980b9;background:linear-gradient(135deg,#f0f8ff,#e8f4fd)}.meal-price-list-page .product-price.student-price .price-label{background:#d6eaf8;color:#2471a3}.meal-price-list-page .product-price.no-price{font-size:14px;color:#95a5a6;background:#f5f5f5}.meal-price-list-page .product-memo-container{margin-top:10px}.meal-price-list-page .product-memo-input{width:100%;padding:8px 10px;border:1px solid #ddd;border-radius:6px;font-size:12px;text-align:center;transition:all .2s}.meal-price-list-page .product-memo-input:focus{outline:none;border-color:#27ae60;background:#f0fff4}.meal-price-list-page .product-memo-input::placeholder{color:#bdc3c7}.meal-price-list-page .no-products{text-align:center;padding:60px;color:#7f8c8d;font-size:18px}.meal-price-list-page .modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.meal-price-list-page .modal-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.meal-price-list-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid #eee;background:#f8f9fa;border-radius:12px 12px 0 0}.meal-price-list-page .modal-header h3{margin:0;color:#2c3e50}.meal-price-list-page .modal-close{background:none;border:none;font-size:28px;cursor:pointer;color:#7f8c8d;line-height:1}.meal-price-list-page .modal-close:hover{color:#e74c3c}.meal-price-list-page .modal-body{padding:25px}.meal-price-list-page .modal-body .form-group{margin-bottom:20px}.meal-price-list-page .modal-body .form-group label{display:block;margin-bottom:8px;font-weight:600;color:#2c3e50}.meal-price-list-page .modal-body .form-group input,.meal-price-list-page .modal-body .form-group textarea{width:100%;padding:12px 15px;border:1px solid #ddd;border-radius:8px;font-size:14px;transition:all .2s}.meal-price-list-page .modal-body .form-group input:focus,.meal-price-list-page .modal-body .form-group textarea:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.meal-price-list-page .modal-body .form-group textarea{font-family:monospace;line-height:1.5;resize:vertical}.meal-price-list-page .modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:20px 25px;border-top:1px solid #eee;background:#f8f9fa;border-radius:0 0 12px 12px}.meal-price-list-page .email-modal{max-width:700px}.meal-price-list-page .form-row{display:flex;gap:15px;margin-bottom:15px}.meal-price-list-page .form-group.half{flex:1;margin-bottom:0}.meal-price-list-page .form-group select{width:100%;padding:12px 15px;border:1px solid #ddd;border-radius:8px;font-size:14px;transition:all .2s;background:#fff;cursor:pointer}.meal-price-list-page .form-group select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.meal-price-list-page .school-info-box{background:linear-gradient(135deg,#f0f9ff,#e8f4fd);border:1px solid #b3d9f7;border-radius:10px;padding:15px 20px;margin-bottom:20px}.meal-price-list-page .school-info-title{font-weight:700;color:#2980b9;margin-bottom:12px;font-size:15px}.meal-price-list-page .school-info-row{display:flex;padding:5px 0;font-size:14px}.meal-price-list-page .school-info-row .label{width:80px;color:#7f8c8d;font-weight:500}.meal-price-list-page .school-info-row .value{color:#2c3e50}.meal-price-list-page .school-info-row .value.email{color:#27ae60;font-weight:600}.meal-price-list-page .school-info-row.no-email{color:#e74c3c;font-size:13px;padding:8px 0}@media(max-width:1200px){.meal-price-list-page .products-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.meal-price-list-page .page-header{flex-direction:column;align-items:flex-start}.meal-price-list-page .header-controls{width:100%;justify-content:flex-start}.meal-price-list-page .products-grid{grid-template-columns:repeat(2,1fr);gap:15px;padding:15px}.meal-price-list-page .product-card{padding:15px}.meal-price-list-page .product-image-container{width:80px;height:80px}.meal-price-list-page .flyer-title{font-size:24px}.meal-price-list-page .type-header{font-size:16px;padding:12px 15px}}@media(max-width:480px){.meal-price-list-page .products-grid{grid-template-columns:1fr}.meal-price-list-page .header-controls .btn{padding:6px 10px;font-size:12px}}@media print{.meal-price-list-page .page-header,.meal-price-list-page .header-controls,.meal-price-list-page .product-memo-input{display:none!important}.meal-price-list-page .flyer-container{box-shadow:none;padding:0}.meal-price-list-page .type-section{page-break-inside:avoid}.meal-price-list-page .products-grid{grid-template-columns:repeat(4,1fr);gap:10px}.meal-price-list-page .product-card{box-shadow:none;border:1px solid #ddd;page-break-inside:avoid;break-inside:avoid}.meal-price-list-page .product-image-container{width:80px;height:80px}}.school-milk-info-page{padding:20px;max-width:1400px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-header h1{font-size:24px;font-weight:600;color:#333}.header-buttons{display:flex;gap:10px}.btn-batch{background-color:#28a745;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500}.btn-batch:hover{background-color:#218838}.btn-bulk-delete{background-color:#dc3545;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500}.btn-bulk-delete:hover{background-color:#c82333}.btn-bulk-delete:disabled{background-color:#e9acb1;cursor:not-allowed}.col-checkbox{width:40px;text-align:center}.col-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer}.data-table tr.selected-row{background-color:#fff3cd}.btn-primary{background-color:#007bff;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500}.btn-primary:hover{background-color:#0056b3}.filter-section{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.filter-row{display:flex;gap:20px;flex-wrap:wrap}.filter-item{display:flex;flex-direction:column;gap:6px;min-width:180px}.filter-item label{font-size:13px;font-weight:500;color:#666}.filter-item select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;height:42px;line-height:1.4}.loading,.no-data{padding:40px;text-align:center;color:#666}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #eee}.data-table th{background:#f8f9fa;font-weight:600;font-size:13px;color:#555;white-space:nowrap}.data-table td{font-size:14px}.data-table td.number{text-align:right}.data-table td.total{font-weight:600;color:#007bff}.data-table td.actions{white-space:nowrap}.date-range{font-size:12px;color:#666}.btn-edit,.btn-delete{padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:12px;margin-right:4px}.btn-edit{background-color:#28a745;color:#fff}.btn-edit:hover{background-color:#218838}.btn-delete{background-color:#dc3545;color:#fff}.btn-delete:hover{background-color:#c82333}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:700px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #eee;background-color:#e3f2fd}.modal-header h2{font-size:20px;font-weight:600;color:#333!important}.btn-close{background:none;border:none;font-size:28px;cursor:pointer;color:#333}.btn-close:hover{color:#e0e0e0}.form-section{padding:20px;border-bottom:1px solid #eee}.form-section:last-of-type{border-bottom:none}.form-section h3{font-size:15px;font-weight:600;color:#333;margin-bottom:15px}.form-row{display:flex;gap:20px;margin-bottom:15px}.form-row:last-child{margin-bottom:0}.form-group{flex:1;display:flex;flex-direction:column;gap:6px}.form-group.full-width{flex:100%}.form-group label{font-size:13px;font-weight:500;color:#333}.form-group input,.form-group select,.form-group textarea{padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px}.form-group input:disabled{background:#f5f5f5;color:#999}.form-help{font-size:12px;color:#999;margin-top:4px}.school-filter-row{background:#f8f9fa;padding:12px;border-radius:6px;margin-bottom:12px}.school-filter-row .form-group{min-width:120px}.quantity-row .form-group{flex:1}.quantity-row .total-group input{background:#e3f2fd;font-weight:600;color:#1976d2}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:20px;border-top:1px solid #eee}.btn-cancel,.btn-submit{padding:10px 24px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer}.btn-cancel{background:#f5f5f5;border:1px solid #ddd;color:#666}.btn-cancel:hover{background:#eee}.btn-submit{background:#007bff;border:none;color:#fff}.btn-submit:hover{background:#0056b3}.batch-modal-content{background:#fff;border-radius:12px;width:98%;max-width:1800px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.batch-modal-body{flex:1;overflow:hidden;padding:20px;display:flex;flex-direction:column}.batch-info{display:flex;align-items:center;gap:15px;padding:10px 15px;background:#f8f9fa;border-radius:6px;margin-bottom:15px;font-size:14px;color:#333}.select-all-label{display:flex;align-items:center;gap:6px;margin-left:auto;cursor:pointer;font-weight:500;color:#333}.batch-table-container{flex:1;overflow:auto;border:1px solid #ddd;border-radius:6px}.batch-table{width:100%;border-collapse:collapse;font-size:13px}.batch-table th,.batch-table td{padding:8px 6px;text-align:center;border-bottom:1px solid #eee;white-space:nowrap;color:#333}.batch-table th{background:#f8f9fa;font-weight:600;position:sticky;top:0;z-index:1;color:#333}.batch-table td{color:#333}.batch-table .col-check{width:40px}.batch-table .col-name{min-width:120px;text-align:left;font-weight:500;color:#333}.batch-table .col-type,.batch-table .col-agency,.batch-table .col-region{min-width:70px;color:#333}.batch-table .col-delivery{min-width:90px}.batch-table .col-delivery select{width:100%;padding:4px;border:1px solid #ddd;border-radius:4px;font-size:12px;color:#333}.batch-table .col-date{min-width:110px}.batch-table .col-date input{width:100%;padding:4px;border:1px solid #ddd;border-radius:4px;font-size:12px;color:#333}.batch-table .col-price{min-width:80px}.batch-table .col-price input{width:70px;padding:4px;border:1px solid #ddd;border-radius:4px;text-align:right;font-size:12px;color:#333}.batch-table .col-qty{min-width:60px}.batch-table .col-qty input{width:50px;padding:4px;border:1px solid #ddd;border-radius:4px;text-align:center;font-size:12px;color:#333}.batch-table tr.row-disabled{opacity:.5;background:#f5f5f5}.batch-table input[type=checkbox]{width:18px;height:18px;cursor:pointer}@media(max-width:768px){.filter-row{flex-direction:column}.filter-item{width:100%}.form-row{flex-direction:column;gap:15px}.quantity-row{flex-direction:row;flex-wrap:wrap}.quantity-row .form-group{min-width:45%}.header-buttons{flex-direction:column;gap:8px}.batch-modal-content{width:100%;max-width:100%;height:100vh;max-height:100vh;border-radius:0}.batch-table{font-size:11px}.batch-table th,.batch-table td{padding:6px 4px}}.school-milk-calendar-page{padding:20px;max-width:1200px;margin:0 auto}.school-milk-calendar-page h2{margin-bottom:20px;color:#333;font-size:1.5rem}.filter-row{display:flex;flex-wrap:wrap;gap:15px}.filter-item{display:flex;flex-direction:column;gap:5px;min-width:150px}.month-navigation{display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:15px}.nav-btn{padding:8px 16px;background:#4a90a4;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.nav-btn:hover{background:#3a7a8a}.current-month{font-size:1.3rem;font-weight:700;color:#333;min-width:150px;text-align:center}.school-info-bar{background:#e8f4f8;padding:10px 15px;border-radius:6px;margin-bottom:15px;display:flex;flex-wrap:wrap;gap:20px}.info-item{font-size:.9rem;color:#444}.info-item strong{color:#333}.calendar-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.calendar-table{width:100%;border-collapse:collapse}.calendar-table th{background:#4a90a4;color:#fff;padding:12px 5px;text-align:center;font-size:.9rem;font-weight:500}.calendar-table th.weekend{background:#3a7a8a}.calendar-day{border:1px solid #e0e0e0;vertical-align:top;height:100px;width:14.28%;padding:5px;background:#fff}.calendar-day.empty{background:#f5f5f5}.calendar-day.weekend{background:#fafafa}.calendar-day.no-delivery{background:#f9f9f9}.calendar-day.delivery{background:#fff}.day-number{font-weight:700;font-size:.95rem;color:#333;margin-bottom:5px}.calendar-day.weekend .day-number{color:#e74c3c}.day-quantities{display:flex;flex-direction:column;gap:2px}.qty{font-size:.75rem;padding:2px 4px;border-radius:3px;white-space:nowrap}.qty.paid{background:#e3f2fd;color:#1565c0}.qty.local{background:#e8f5e9;color:#2e7d32}.qty.central{background:#fff3e0;color:#ef6c00}.monthly-totals{padding:20px;background:#f8f9fa;border-top:2px solid #4a90a4}.totals-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.totals-header h3{margin:0;font-size:1.1rem;color:#333}.doc-btn-group{display:flex;gap:8px}.btn-doc{padding:8px 16px;border:1px solid #17a2b8;background:#fff;color:#17a2b8;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.btn-doc:hover{background:#17a2b8;color:#fff}.monthly-totals h3{margin:0 0 15px;font-size:1.1rem;color:#333}.totals-grid{display:flex;flex-wrap:wrap;gap:15px}.total-item{flex:1;min-width:150px;padding:15px;border-radius:6px;text-align:center}.total-item.paid{background:#e3f2fd;border:1px solid #bbdefb}.total-item.local{background:#e8f5e9;border:1px solid #c8e6c9}.total-item.central{background:#fff3e0;border:1px solid #ffe0b2}.total-item.all{background:#f3e5f5;border:1px solid #e1bee7}.total-item.days{background:#e0e0e0;border:1px solid #bdbdbd}.total-item .label{display:block;font-size:.85rem;color:#666;margin-bottom:5px}.total-item .value{display:block;font-size:1.5rem;font-weight:700;color:#333}.total-item .amount{display:block;font-size:.9rem;color:#666;margin-top:3px}.loading,.no-school-selected{text-align:center;padding:60px 20px;color:#666;font-size:1.1rem;background:#f8f9fa;border-radius:8px}@media(max-width:768px){.school-milk-calendar-page{padding:10px}.filter-row{flex-direction:column}.filter-item{width:100%}.calendar-day{height:80px;padding:3px}.day-number{font-size:.85rem}.qty{font-size:.65rem;padding:1px 2px}.totals-grid{flex-direction:column}.total-item{min-width:auto}.school-info-bar{flex-direction:column;gap:8px}}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.date-modal{max-width:400px}.date-form{display:flex;gap:15px;margin-bottom:20px}.date-form .form-group{flex:1}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#333;font-size:.9rem}.form-group input[type=date]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.form-group input[type=date]:focus{outline:none;border-color:#4a90a4}.date-info{background:#e8f4f8;padding:15px;border-radius:6px}.date-info p{margin:0 0 8px;font-size:.95rem;color:#444}.date-info p:last-child{margin-bottom:0}.date-info strong{color:#1565c0}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-top:1px solid #eee}.modal-footer-actions{display:flex;gap:8px;align-items:center}.btn-cancel{padding:10px 20px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:14px}.btn-confirm{padding:10px 20px;background-color:#4a90a4;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-confirm:hover{background-color:#3a7a8a}.doc-modal-content{background:#fff;border-radius:8px;width:90%;max-width:900px;max-height:90vh;overflow-y:auto}.doc-preview{padding:20px;background:#f5f5f5;max-height:60vh;overflow-y:auto}.doc-container{max-width:800px;margin:0 auto;border:2px solid #333;padding:30px;background:#fff}.doc-header{text-align:center;margin-bottom:30px;border-bottom:2px solid #333;padding-bottom:20px}.doc-title{font-size:28px;font-weight:700;margin-bottom:10px}.doc-date{font-size:14px;color:#666}.doc-section{margin-bottom:25px}.section-title{font-size:14px;font-weight:700;background:#f5f5f5;padding:8px 12px;margin-bottom:10px;border-left:4px solid #333}.info-row{display:flex;padding:8px 12px;border-bottom:1px solid #eee}.info-row-2col{display:flex;border-bottom:1px solid #eee}.info-col{flex:1;display:flex;padding:8px 12px;align-items:center}.info-col:first-child{border-right:1px solid #eee}.info-col .info-label{width:80px;min-width:80px}.info-col .info-value{flex:1}.info-label{width:100px;font-weight:500;color:#666}.info-value{flex:1}.representative-name{display:flex;align-items:center;gap:10px}.stamp-image{width:60px;height:60px;object-fit:contain}.doc-preview .items-table{width:100%;border-collapse:collapse;margin-top:10px}.doc-preview .items-table th,.doc-preview .items-table td{border:1px solid #ddd;padding:10px;text-align:center}.doc-preview .items-table th{background:#f5f5f5;font-weight:600}.doc-preview .items-table .amount{text-align:right}.doc-preview .items-table .total-row{font-weight:700;background:#f9f9f9}.stamp-section{display:flex;justify-content:flex-end;margin-top:30px;padding-top:20px;border-top:1px solid #ddd}.stamp-box{text-align:center}.btn-print{padding:10px 20px;background-color:#17a2b8;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-print:hover{background-color:#138496}.btn-email{padding:10px 16px;background-color:#3498db;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-email:hover{background-color:#2980b9}.email-input-wrapper{display:flex;gap:6px;align-items:center}.email-input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;width:200px;font-size:14px}.email-input:focus{outline:none;border-color:#3498db}.email-select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;min-width:250px;font-size:14px;background:#fff}.email-select:focus{outline:none;border-color:#3498db}.btn-send-email{padding:8px 14px;background-color:#27ae60;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px}.btn-send-email:hover:not(:disabled){background-color:#219a52}.btn-send-email:disabled{background-color:#bdc3c7;cursor:not-allowed}.btn-cancel-email{padding:8px 12px;background-color:#e74c3c;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px}.btn-cancel-email:hover{background-color:#c0392b}.tax-invoice-option{margin-top:16px;padding:12px;background:#e3f2fd;border-radius:8px;border:1px solid #90caf9}.tax-invoice-option .checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;color:#1565c0}.tax-invoice-option .checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.tax-invoice-option .option-desc{margin-top:6px;font-size:12px;color:#666;padding-left:26px}.tax-invoice-option .tax-type-selector{display:flex;gap:20px;margin:10px 0;padding-left:26px}.tax-invoice-option .radio-label{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:14px;color:#333}.tax-invoice-option .radio-label input[type=radio]{width:16px;height:16px;cursor:pointer}.performance-summary-page{padding:20px;max-width:1400px;margin:0 auto}.performance-summary-page h2{margin-bottom:20px;color:#333;font-size:1.5rem}.tab-menu{display:flex;gap:5px;margin-bottom:20px;border-bottom:2px solid #4a90a4;padding-bottom:0}.tab-btn{padding:12px 24px;border:none;background:#e9ecef;color:#666;font-size:.95rem;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s;font-weight:500}.tab-btn:hover{background:#dee2e6}.tab-btn.active{background:#4a90a4;color:#fff}.filter-section{background:#f8f9fa;padding:15px;border-radius:8px;margin-bottom:20px}.filter-item{display:flex;flex-direction:column;gap:5px;min-width:120px}.filter-item select{padding:8px 10px;border:1px solid #ddd;border-radius:4px;font-size:.9rem;background:#fff;height:42px;line-height:1.4}.filter-item select:focus{outline:none;border-color:#4a90a4}.search-btn{padding:8px 20px;background:#4a90a4;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500}.search-btn:hover{background:#3a7a8a}.period-info{margin-bottom:15px;font-size:1.1rem;color:#333}.period-info strong{color:#4a90a4}.school-count{margin-left:10px;color:#666;font-size:.9rem}.table-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow-x:auto;margin-bottom:20px}.performance-table{width:100%;border-collapse:collapse;min-width:1000px}.performance-table th{background:#4a90a4;color:#fff;padding:12px 8px;text-align:center;font-size:.85rem;font-weight:500;border:1px solid #3a7a8a}.performance-table th.sub-header{background:#5ca0b4;font-size:.8rem}.performance-table td{padding:10px 8px;border:1px solid #e0e0e0;font-size:.85rem}.performance-table tbody tr:hover{background:#f5f9fc}.performance-table tbody tr:nth-child(2n){background:#fafafa}.performance-table tbody tr:nth-child(2n):hover{background:#f5f9fc}.performance-table .center{text-align:center}.performance-table .right{text-align:right}.performance-table .total{font-weight:700;color:#2c3e50}.performance-table .subsidy{color:#27ae60;font-weight:500}.performance-table tfoot .totals-row{background:#e8f4f8;font-weight:700}.performance-table tfoot .totals-row td{border-top:2px solid #4a90a4}.summary-cards{display:flex;flex-wrap:wrap;gap:15px;margin-top:20px}.summary-card{flex:1;min-width:200px;padding:20px;border-radius:8px;text-align:center}.summary-card.paid{background:#e3f2fd;border:1px solid #bbdefb}.summary-card.local{background:#e8f5e9;border:1px solid #c8e6c9}.summary-card.central{background:#fff3e0;border:1px solid #ffe0b2}.summary-card.total{background:#f3e5f5;border:1px solid #e1bee7}.card-title{font-size:.9rem;color:#666;margin-bottom:8px}.card-value{font-size:1.4rem;font-weight:700;color:#333;margin-bottom:5px}.card-sub{font-size:.85rem;color:#888}@media(max-width:768px){.performance-summary-page{padding:10px}.tab-menu{overflow-x:auto}.tab-btn{padding:10px 16px;font-size:.85rem;white-space:nowrap}.filter-row{flex-direction:column}.filter-item{width:100%}.summary-cards{flex-direction:column}.summary-card{min-width:auto}}.settlement-groups-container{display:flex;flex-direction:column;gap:0}.settlement-group-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.section-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#4a90a4;color:#fff;font-size:1rem;font-weight:600}.section-header h3{margin:0;font-size:1rem;color:#fff}.header-school-names{font-size:.85rem;font-weight:400;opacity:.9;margin-left:6px}.school-select-btn{padding:6px 14px;background:#fff;color:#4a90a4;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:500;transition:background .2s}.school-select-btn:hover{background:#e8f4f8}.settlement-table{min-width:700px}.settlement-date-input{border:1px solid #ddd;border-radius:4px;padding:5px 8px;font-size:.83rem;width:130px;text-align:center}.settlement-date-input:focus{outline:none;border-color:#4a90a4;box-shadow:0 0 0 2px #4a90a433}.settlement-actions{padding:12px 16px;text-align:right;border-top:1px solid #e0e0e0;background:#f8f9fa}.save-btn{padding:10px 24px;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.95rem;font-weight:500}.save-btn:hover:not(:disabled){background:#218838}.save-btn:disabled{background:#aaa;cursor:not-allowed}.settlement-tags{flex:1;min-width:200px}.school-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}.school-tag{display:inline-block;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:500}.school-tag.send{background:#e3f2fd;color:#1565c0;border:1px solid #bbdefb}.school-tag.receive{background:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9}.no-tag{font-size:.8rem;color:#999;font-style:italic}.no-data{text-align:center;padding:60px 20px;color:#666}.no-data p{margin:10px 0}.no-data strong{color:#4a90a4}.modal-content.school-modal{background:#fff;border-radius:10px;width:500px;max-width:90vw;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 10px 30px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0}.modal-header h3{margin:0;font-size:1.1rem;color:#333}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:0 4px;line-height:1}.modal-body{padding:16px 20px;overflow-y:auto;flex:1}.modal-actions-top{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #eee}.btn-select-all,.btn-deselect-all{padding:5px 12px;border:1px solid #ddd;border-radius:4px;background:#f8f9fa;color:#333;cursor:pointer;font-size:.82rem;flex-shrink:0}.btn-select-all:hover,.btn-deselect-all:hover{background:#e9ecef}.selected-count{margin-left:auto;font-size:.85rem;color:#4a90a4;font-weight:500}.school-list{display:flex;flex-direction:column;gap:4px}.school-checkbox-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background .15s}.school-checkbox-item:hover{background:#f5f9fc}.school-checkbox-item input[type=checkbox]{width:16px;height:16px;accent-color:#4a90a4}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid #e0e0e0;background:#f8f9fa;border-radius:0 0 10px 10px}.btn-cancel{padding:8px 20px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.btn-cancel:hover{background:#5a6268}.btn-save{padding:8px 20px;background:#4a90a4;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500}.btn-save:hover{background:#3a7a8a}.header-buttons{display:flex;gap:8px}.statement-btn{padding:6px 14px;background:#f0ad4e;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:500;transition:background .2s}.statement-btn:hover{background:#ec971f}.modal-content.statement-modal{background:#fff;border-radius:10px;width:650px;max-width:90vw;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 10px 30px #0000004d}.modal-content.statement-modal .modal-body{padding:20px;overflow-y:auto;flex:1}.modal-content.statement-modal .title{text-align:center;font-size:1.3rem;font-weight:700;margin-bottom:5px}.modal-content.statement-modal .subtitle{text-align:center;font-size:.95rem;color:#666;margin-bottom:15px}.statement-email-section{margin-top:20px;padding-top:15px;border-top:1px solid #eee}.statement-email-section label{display:block;font-size:.85rem;color:#666;font-weight:500;margin-bottom:8px}.email-input-row{display:flex;gap:8px}.email-input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:.9rem}.email-input:focus{outline:none;border-color:#4a90a4;box-shadow:0 0 0 2px #4a90a433}.email-send-btn{padding:8px 16px;background:#5cb85c;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:500;white-space:nowrap}.email-send-btn:hover:not(:disabled){background:#449d44}.email-send-btn:disabled{background:#aaa;cursor:not-allowed}@media print{.tab-menu,.filter-section,.search-btn,.statement-email-section,.modal-footer,.modal-header{display:none}.performance-summary-page{padding:0}.table-container{box-shadow:none;overflow:visible}.performance-table{min-width:auto;font-size:10pt}.summary-cards{page-break-before:always}}.report-management-page{padding:20px;max-width:1200px;margin:0 auto}.report-management-page h2{margin-bottom:20px;color:#333;font-size:1.5rem;padding-bottom:10px;border-bottom:2px solid #4a90a4}.filter-section{background:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.filter-row{display:flex;flex-wrap:wrap;gap:15px;align-items:flex-end}.filter-item{display:flex;flex-direction:column;gap:5px;min-width:140px}.filter-item label{font-size:.85rem;color:#666;font-weight:500}.filter-item select{padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:.95rem;background:#fff;cursor:pointer;height:44px;line-height:1.4}.filter-item select:focus{outline:none;border-color:#4a90a4;box-shadow:0 0 0 2px #4a90a433}.summary-box{background:linear-gradient(135deg,#e8f4f8,#d4e8ed);padding:20px;border-radius:8px;margin-bottom:25px;border:1px solid #b8d4dc}.summary-box h3{margin:0 0 15px;color:#2c5f6e;font-size:1.1rem;display:flex;align-items:center;gap:8px}.summary-box h3:before{content:"📋"}.summary-info{display:flex;flex-wrap:wrap;gap:20px}.summary-info .info-item{display:flex;align-items:center;gap:8px}.summary-info .info-label{font-size:.9rem;color:#666}.summary-info .info-value{font-size:1rem;font-weight:600;color:#2c5f6e}.forms-section{background:#fff;padding:25px;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px}.forms-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e0e0e0}.forms-header h3{margin:0;color:#333;font-size:1.1rem}.select-all-btn{padding:8px 16px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background .2s}.select-all-btn:hover{background:#5a6268}.forms-header-buttons{display:flex;gap:10px}.save-settings-btn{padding:8px 16px;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background .2s}.save-settings-btn:hover:not(:disabled){background:#218838}.save-settings-btn:disabled{background:#aaa;cursor:not-allowed}.forms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.form-checkbox{display:flex;align-items:center;gap:10px;padding:12px 15px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;transition:all .2s}.form-checkbox:hover{background:#e9ecef;border-color:#4a90a4}.form-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#4a90a4}.form-checkbox span{font-size:.95rem;color:#333}.form-checkbox.checked{background:#e3f2fd;border-color:#4a90a4}.action-buttons{display:flex;gap:10px;justify-content:center;margin-top:25px}.print-btn{padding:12px 30px;background:#4a90a4;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;display:flex;align-items:center;gap:8px;transition:all .2s}.print-btn:hover:not(:disabled){background:#3a7a8a;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.print-btn:disabled{background:#aaa;cursor:not-allowed;transform:none;box-shadow:none}.print-btn:before{content:"🖨️";font-size:1.1rem}.loading{text-align:center;padding:60px 20px;color:#666;font-size:1.1rem;background:#f8f9fa;border-radius:8px}.form-category{margin-bottom:25px}.form-category h4{margin:0 0 12px;padding:8px 12px;background:#4a90a4;color:#fff;font-size:.95rem;font-weight:500;border-radius:4px}.form-category .forms-grid{padding-left:10px}@media(max-width:768px){.report-management-page{padding:10px}.filter-row{flex-direction:column}.filter-item{width:100%}.forms-grid{grid-template-columns:1fr}.summary-info{flex-direction:column;gap:10px}.action-buttons{flex-direction:column}.print-btn{width:100%;justify-content:center}}@media print{.filter-section,.action-buttons,.select-all-btn{display:none}.report-management-page{padding:0}.forms-section{box-shadow:none;border:1px solid #ddd}}.school-settlement-page{padding:20px;max-width:100%}.school-settlement-page h2{margin-bottom:20px;color:#333}.school-settlement-page .message{padding:10px 15px;border-radius:4px;margin-bottom:15px;display:flex;justify-content:space-between;align-items:center}.school-settlement-page .message.error{background-color:#ffebee;color:#c62828;border:1px solid #ef9a9a}.school-settlement-page .message.success{background-color:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}.school-settlement-page .message button{background:none;border:none;cursor:pointer;font-size:16px}.school-settlement-page .filter-section{background:#f8f9fa;padding:15px;border-radius:8px;margin-bottom:15px}.school-settlement-page .filter-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.school-settlement-page .filter-row:last-child{margin-bottom:0}.school-settlement-page .filter-group{display:flex;flex-direction:column;gap:4px;min-width:120px}.school-settlement-page .filter-group label{font-size:11px;color:#666;font-weight:500}.school-settlement-page .filter-group select{padding:6px 8px;border:1px solid #ddd;border-radius:4px;font-size:12px;min-width:100px;height:38px;line-height:1.4}.school-settlement-page .filter-buttons{flex-direction:row;align-items:flex-end;gap:8px}.school-settlement-page .filter-buttons .btn{padding:6px 12px;font-size:12px}.school-settlement-page .delivery-info{background:#e3f2fd;padding:10px 15px;border-radius:6px;margin-bottom:15px;font-size:13px}.school-settlement-page .delivery-info strong{color:#1565c0}.school-settlement-page .day-detail{color:#666;margin-left:10px;font-size:12px}.school-settlement-page .action-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.school-settlement-page .result-count{font-size:13px;color:#666}.school-settlement-page .result-count strong{color:#1976d2;font-size:15px}.school-settlement-page .totals-card{display:flex;gap:15px;margin-bottom:15px;flex-wrap:wrap}.school-settlement-page .total-item{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:12px 20px;min-width:150px;text-align:center}.school-settlement-page .total-item .label{display:block;font-size:11px;color:#666;margin-bottom:4px}.school-settlement-page .total-item .value{display:block;font-size:16px;font-weight:700;color:#333}.school-settlement-page .total-item.profit{background:#e8f5e9;border-color:#a5d6a7}.school-settlement-page .total-item.profit .value{color:#2e7d32}.school-settlement-page .table-container{overflow-x:auto;background:#fff;border-radius:8px;border:1px solid #e0e0e0}.school-settlement-page .data-table{width:100%;border-collapse:collapse;font-size:12px;min-width:1200px}.school-settlement-page .grouped-table{min-width:800px}.school-settlement-page .data-table th{background:#f5f5f5;padding:10px 8px;text-align:left;font-weight:600;border-bottom:2px solid #ddd;position:sticky;top:0;white-space:nowrap}.school-settlement-page .data-table td{padding:8px;border-bottom:1px solid #eee}.school-settlement-page .data-table tbody tr:hover{background:#f8f9fa}.school-settlement-page .data-table .text-left{text-align:left}.school-settlement-page .data-table .text-right{text-align:right;font-family:Consolas,monospace}.school-settlement-page .data-table .text-center{text-align:center}.school-settlement-page .data-table .profit-cell{color:#2e7d32;font-weight:500}.school-settlement-page .btn{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:background-color .2s}.school-settlement-page .btn-primary{background:#1976d2;color:#fff}.school-settlement-page .btn-primary:hover{background:#1565c0}.school-settlement-page .btn-secondary{background:#757575;color:#fff}.school-settlement-page .btn-secondary:hover{background:#616161}.school-settlement-page .btn-success{background:#388e3c;color:#fff}.school-settlement-page .btn-success:hover{background:#2e7d32}.school-settlement-page .btn-invoice{background:#1976d2;color:#fff}.school-settlement-page .btn-invoice:hover{background:#1565c0}.school-settlement-page .btn-estimate{background:#7b1fa2;color:#fff}.school-settlement-page .btn-estimate:hover{background:#6a1b9a}.school-settlement-page .btn-delivery{background:#f57c00;color:#fff}.school-settlement-page .btn-delivery:hover{background:#ef6c00}.school-settlement-page .action-buttons{display:flex;gap:8px}.school-settlement-page .modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.school-settlement-page .modal-content{background:#fff;border-radius:8px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.school-settlement-page .date-modal{width:400px}.school-settlement-page .doc-modal{width:900px;max-width:95vw}.school-settlement-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #eee}.school-settlement-page .modal-header h3{margin:0;font-size:16px}.school-settlement-page .close-btn{background:none;border:none;font-size:20px;cursor:pointer;color:#666}.school-settlement-page .modal-body{padding:20px;overflow-y:auto;flex:1}.school-settlement-page .modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:15px 20px;border-top:1px solid #eee}.school-settlement-page .date-inputs{display:flex;gap:20px}.school-settlement-page .date-group{flex:1}.school-settlement-page .date-group label{display:block;margin-bottom:5px;font-size:13px;color:#666}.school-settlement-page .date-group input{width:100%;padding:8px 10px;border:1px solid #ddd;border-radius:4px;font-size:14px}.school-settlement-page .doc-preview{background:#f5f5f5;padding:20px}.school-settlement-page .doc-container{background:#fff;max-width:800px;margin:0 auto;border:2px solid #333;padding:30px}.school-settlement-page .doc-header{text-align:center;margin-bottom:30px;border-bottom:2px solid #333;padding-bottom:20px}.school-settlement-page .doc-title{font-size:28px;font-weight:700;margin-bottom:10px}.school-settlement-page .doc-date{font-size:14px;color:#666}.school-settlement-page .doc-section{margin-bottom:25px}.school-settlement-page .section-title{font-size:14px;font-weight:700;background:#f5f5f5;padding:8px 12px;margin-bottom:10px;border-left:4px solid #333}.school-settlement-page .info-row{display:flex;padding:8px 12px;border-bottom:1px solid #eee}.school-settlement-page .info-row-2col{display:flex;border-bottom:1px solid #eee}.school-settlement-page .info-col{flex:1;display:flex;padding:8px 12px;align-items:center}.school-settlement-page .info-col:first-child{border-right:1px solid #eee}.school-settlement-page .info-label{width:100px;font-weight:500;color:#666}.school-settlement-page .info-value{flex:1}.school-settlement-page .representative-name{display:flex;align-items:center;gap:10px}.school-settlement-page .stamp-image{width:60px;height:60px;object-fit:contain}.school-settlement-page .items-table{width:100%;border-collapse:collapse;margin-top:10px}.school-settlement-page .items-table th,.school-settlement-page .items-table td{border:1px solid #ddd;padding:10px}.school-settlement-page .items-table th{background:#f5f5f5;font-weight:600;text-align:center}.school-settlement-page .items-table .text-left{text-align:left}.school-settlement-page .items-table .text-right{text-align:right}.school-settlement-page .items-table .text-center{text-align:center}.school-settlement-page .total-row{font-weight:700;background:#f9f9f9}.school-settlement-page .tax-invoice-option{display:flex;align-items:center;gap:15px;padding:15px;background:#fff8e1;border:1px solid #ffcc02;border-radius:6px;margin-bottom:15px}.school-settlement-page .tax-invoice-option label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;cursor:pointer}.school-settlement-page .tax-invoice-option input[type=checkbox]{width:18px;height:18px;cursor:pointer}.school-settlement-page .tax-type-selector{display:flex;gap:15px;margin-left:20px}.school-settlement-page .tax-type-selector label{display:flex;align-items:center;gap:5px;font-size:13px;cursor:pointer}.school-settlement-page .tax-type-selector input[type=radio]{width:16px;height:16px;cursor:pointer}.school-settlement-page .email-input-wrapper{display:flex;flex-direction:column;gap:10px;padding:15px;background:#e3f2fd;border:1px solid #90caf9;border-radius:6px;margin-bottom:15px}.school-settlement-page .email-input-wrapper h4{margin:0 0 5px;font-size:14px;color:#1565c0}.school-settlement-page .email-options{display:flex;flex-wrap:wrap;gap:10px}.school-settlement-page .email-option{display:flex;align-items:center;gap:5px}.school-settlement-page .email-option input[type=radio]{width:16px;height:16px;cursor:pointer}.school-settlement-page .email-option label{font-size:13px;cursor:pointer}.school-settlement-page .email-direct-input{display:flex;gap:10px;align-items:center}.school-settlement-page .email-direct-input input[type=email]{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.school-settlement-page .btn-email{background:#0288d1;color:#fff}.school-settlement-page .btn-email:hover{background:#0277bd}.school-settlement-page .btn-email:disabled{background:#b0bec5;cursor:not-allowed}@media(max-width:768px){.school-settlement-page .filter-group{min-width:100%}.school-settlement-page .totals-card{flex-direction:column}.school-settlement-page .total-item{min-width:100%}.school-settlement-page .action-bar{flex-direction:column;gap:10px;align-items:flex-start}}.sungsim-clean-page{padding:20px}.filter-select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background:#fff;min-width:120px}.search-input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:150px}.btn-search{padding:8px 16px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-search:hover{background:#5a6268}.btn-excel{padding:8px 16px;background:#17a2b8;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-excel:hover{background:#138496}.btn-primary{background-color:#28a745;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px}.btn-primary:hover{background-color:#218838}.table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.sungsim-table{width:100%;border-collapse:collapse;min-width:1800px;font-size:12px}.sungsim-table th,.sungsim-table td{padding:8px 6px;text-align:center;border:1px solid #dee2e6}.sungsim-table .header-group th{background:#ff9800;color:#000;font-weight:600}.sungsim-table thead tr:nth-child(2) th{background-color:#f8f9fa;font-weight:600;color:#333}.sungsim-table td.number{text-align:right;font-family:Courier New,monospace}.sungsim-table .loading,.sungsim-table .empty{text-align:center;color:#999;padding:40px}.type-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600}.type-badge.hood{background:#e3f2fd;color:#1976d2}.type-badge.aircon{background:#e8f5e9;color:#388e3c}.remaining.positive{color:#28a745;font-weight:600}.remaining.negative{color:#dc3545;font-weight:600}.actions{display:flex;gap:4px;justify-content:center}.btn-edit{padding:4px 8px;background:#007bff;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:11px}.btn-edit:hover{background:#0056b3}.btn-delete{padding:4px 8px;background:#dc3545;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:11px}.btn-delete:hover{background:#c82333}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.sungsim-modal{background:#fff;border-radius:12px;width:95%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:2px solid #667eea;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 0 0}.modal-header h3{margin:0;font-size:18px}.close-btn{background:#fff3;border:none;font-size:24px;cursor:pointer;color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center}.close-btn:hover{background:#ffffff4d}.sungsim-form{padding:20px}.form-section{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px}.form-section h4{color:#667eea;margin-bottom:12px;font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}@media(max-width:768px){.form-grid{grid-template-columns:repeat(2,1fr)}}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:1 / -1}.form-group label{display:block;margin-bottom:4px;font-weight:600;color:#555;font-size:12px}.form-group label .required{color:#dc3545}.form-group input,.form-group select,.form-group textarea{width:100%;padding:8px 10px;border:1px solid #ddd;border-radius:6px;font-size:13px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.form-group input.readonly{background:#e9ecef;color:#495057}.modal-footer{display:flex;gap:10px;padding:20px;border-top:1px solid #eee;justify-content:flex-end}.btn-cancel{padding:12px 24px;background:#6c757d;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600}.btn-cancel:hover{background:#545b62}.btn-save{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600}.btn-save:hover{transform:translateY(-2px);box-shadow:0 5px 20px #667eea66}.address-book-page{padding:20px;max-width:100%}.page-header{margin-bottom:20px}.page-header h2{margin:0 0 5px;color:#333}.page-header .subtitle{margin:0;color:#666;font-size:14px}.filter-section{background:#f8f9fa;padding:15px;border-radius:8px;margin-bottom:20px;display:flex;flex-direction:column;gap:0}.filter-row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.filter-row-top{width:100%;margin-bottom:12px;padding-bottom:12px;border-bottom:2px solid #4A90A4}.filter-actions{display:flex;gap:6px;align-items:flex-end;margin-left:auto}.filter-actions button{padding:6px 14px;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all .2s;white-space:nowrap;height:32px;box-sizing:border-box}.filter-row-bottom{width:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.btn-group-left{display:flex;gap:6px;align-items:center}.btn-group-center{display:flex;gap:8px;align-items:center}.btn-group-right{display:flex;gap:6px;align-items:center}.filter-group{display:flex;flex-direction:column;gap:5px}.filter-group label{font-size:12px;color:#666;font-weight:500}.filter-group select,.filter-group input{padding:6px 10px;border:1px solid #ddd;border-radius:4px;font-size:13px;min-width:90px;height:32px;box-sizing:border-box}.filter-group.search-group input{min-width:180px;height:32px;box-sizing:border-box}.filter-row-bottom button{padding:8px 14px;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-search{background:#4a90a4;color:#fff}.btn-search:hover{background:#3a7a94}.btn-reset{background:#6c757d;color:#fff}.btn-reset:hover{background:#5a6268}.btn-export{background:#28a745;color:#fff}.btn-export:hover{background:#218838}.btn-invoice{background:#fd7e14;color:#fff}.btn-invoice:hover{background:#e96b02}.btn-push{background:#9c27b0;color:#fff}.btn-push:hover{background:#7b1fa2}.message{padding:10px 15px;border-radius:4px;margin-bottom:15px}.message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.result-info{margin-bottom:10px;font-size:14px;color:#666}.result-info strong{color:#4a90a4}.table-container{overflow-x:auto;border:1px solid #ddd;border-radius:8px;margin-bottom:15px}.address-table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.address-table th,.address-table td{padding:8px 10px;border-bottom:1px solid #eee;text-align:center}.address-table th{background:#f8f9fa;font-weight:600;color:#333;border-bottom:2px solid #ddd;position:sticky;top:0;z-index:10}.address-table tbody tr:hover{background:#f5f5f5}.col-check{width:35px;min-width:35px}.col-check input[type=checkbox]{width:16px;height:16px;cursor:pointer}.address-table tbody tr.selected-row{background-color:#fff8e1!important}.address-table tbody tr.selected-row:hover{background-color:#ffecb3!important}.col-no{width:40px;color:#999}.col-school{max-width:100px;overflow:hidden;text-overflow:ellipsis}.col-name{font-weight:500}.col-number{color:#666}.col-phone{font-size:12px;color:#666}.col-address{max-width:200px;overflow:hidden;text-overflow:ellipsis;text-align:left}.col-free{width:40px;color:#28a745;font-weight:700}.col-month{width:55px;min-width:55px;cursor:pointer;transition:all .2s}.col-month:hover{background:#e9ecef!important}.col-month select{width:100%;padding:2px;font-size:12px;border:1px solid #4A90A4;border-radius:3px}.product-value{font-size:12px}.no-data{text-align:center;color:#999;padding:40px!important}.loading{text-align:center;padding:40px;color:#666}.summary-section{background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:15px 20px;border-radius:10px;margin-bottom:20px;border:1px solid #dee2e6}.summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.summary-title{font-size:16px;font-weight:600;color:#333}.summary-total{font-size:14px;color:#666}.summary-total strong{color:#4a90a4;font-size:16px}.summary-cards{display:flex;gap:15px;flex-wrap:wrap}.summary-card{flex:1;min-width:100px;padding:12px 16px;border-radius:8px;text-align:center;box-shadow:0 2px 4px #0000001a}.summary-card .card-label{display:block;font-size:12px;color:#666;margin-bottom:4px}.summary-card .card-value{display:block;font-size:20px;font-weight:700}.summary-card.sterilized{background:#e3f2fd;border:1px solid #90caf9}.summary-card.sterilized .card-value{color:#1976d2}.summary-card.cheese{background:#fff3e0;border:1px solid #ffcc80}.summary-card.cheese .card-value{color:#f57c00}.summary-card.etc{background:#f3e5f5;border:1px solid #ce93d8}.summary-card.etc .card-value{color:#7b1fa2}.summary-card.total{background:#eceff1;border:1px solid #b0bec5}.summary-card.total .card-value{color:#455a64}.address-table th.selected-month,.address-table td.selected-month{background-color:#e8f4f8!important;border-left:2px solid #4A90A4;border-right:2px solid #4A90A4}.address-table th.selected-month{background-color:#d0e8f0!important;color:#2c6980;font-weight:700}.legend{display:flex;align-items:center;gap:15px;font-size:12px;color:#666}.legend-title{font-weight:500}.legend-item{padding:4px 10px;border-radius:4px;border:1px solid #ddd}.filter-group.checkbox-group{justify-content:flex-end}.checkbox-label{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;color:#333;padding:6px 10px;height:32px;box-sizing:border-box;background:#fff;border:1px solid #ddd;border-radius:4px}.checkbox-label:hover{background:#f5f5f5;border-color:#bbb}.checkbox-label input[type=checkbox]{width:14px;height:14px;cursor:pointer}.checkbox-label input[type=checkbox]:disabled{cursor:not-allowed}.checkbox-label input[type=checkbox]:disabled+span{color:#999}.filter-group.bulk-group{min-width:160px}.filter-group.bulk-group label{font-size:12px;color:#666;font-weight:500}.bulk-select-wrapper{display:flex;gap:4px;align-items:center}.bulk-select-wrapper select{flex:1;min-width:80px;height:32px;box-sizing:border-box}.btn-bulk-apply{padding:6px 12px;height:32px;box-sizing:border-box;background:#ff5722;color:#fff;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-bulk-apply:hover:not(:disabled){background:#e64a19}.btn-bulk-apply:disabled{background:#bdbdbd;cursor:not-allowed}.summary-divider{width:1px;height:50px;background:#ccc;margin:0 5px}.summary-card.delivery-parcel{background:#e8f5e9;border:1px solid #a5d6a7}.summary-card.delivery-parcel .card-value{color:#2e7d32}.summary-card.delivery-other{background:#fff8e1;border:1px solid #ffcc80}.summary-card.delivery-other .card-value{color:#ef6c00}.summary-card.delivery-direct{background:#e3f2fd;border:1px solid #90caf9}.summary-card.delivery-direct .card-value{color:#1565c0}.legend-divider{color:#ccc;margin:0 5px}.invoice-modal{width:400px}.invoice-info{text-align:center;margin-bottom:20px;font-size:15px}.invoice-info strong{color:#1976d2;font-size:20px}.invoice-month{display:block;margin-top:8px;color:#666;font-size:14px}.delivery-type-selector{text-align:center}.selector-label{display:block;margin-bottom:15px;font-size:14px;color:#333}.delivery-type-buttons{display:flex;gap:10px;justify-content:center}.delivery-type-btn{flex:1;padding:15px 20px;border:2px solid #ddd;border-radius:8px;background:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.delivery-type-btn:hover{border-color:#1976d2;background:#e3f2fd}.delivery-type-btn.active{border-color:#1976d2;background:#1976d2;color:#fff}.push-modal{width:450px}.push-info{text-align:center;margin-bottom:20px;font-size:15px}.push-info strong{color:#9c27b0;font-size:20px}.push-form .form-group{margin-bottom:15px}.push-form .form-group label{display:block;margin-bottom:6px;font-weight:600;color:#333;font-size:13px}.push-form .form-group input[type=text],.push-form .form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;box-sizing:border-box}.push-form .form-group input[type=text]:focus,.push-form .form-group textarea:focus{outline:none;border-color:#9c27b0}.push-form .form-group textarea{resize:vertical;min-height:80px}.push-form .checkbox-option{margin-top:10px}.push-form .checkbox-option .checkbox-label{background:#f5f5f5;padding:10px 12px;border-radius:6px}.push-form .checkbox-option .checkbox-label:hover{background:#ede7f6}.exported-mark.type-택배{color:#2e7d32}.exported-mark.type-타대리점{color:#ef6c00}.exported-mark.type-직배{color:#1565c0}.exported-cell{position:relative}.exported-mark{color:#28a745;font-weight:700;font-size:10px;margin-right:2px}.summary-card.exported{background:#e8e8e8;border:1px solid #bdbdbd}.summary-card.exported .card-value{color:#616161}.col-source{width:50px;min-width:50px}.source-badge{display:inline-block;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:500}.source-badge.student{background:#e8f5e9;color:#2e7d32}.source-badge.delivery{background:#fff3e0;color:#e65100}.btn-upload{background:#9c27b0;color:#fff}.btn-upload:hover{background:#7b1fa2}.btn-upload-main{background:#1976d2;color:#fff}.btn-upload-main:hover{background:#1565c0}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;border-radius:10px;max-width:90%;max-height:80%;overflow:hidden;box-shadow:0 4px 20px #0000004d}.upload-modal{width:900px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:#f5f5f5;border-bottom:1px solid #ddd}.modal-header h3{margin:0;font-size:18px;color:#333}.modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#666}.modal-close:hover{color:#333}.modal-body{padding:20px;max-height:500px;overflow-y:auto}.upload-info{margin-bottom:15px;color:#333}.upload-info strong{color:#1976d2}.upload-info small{color:#666}.upload-preview{overflow-x:auto}.upload-preview table{width:100%;border-collapse:collapse;font-size:13px}.upload-preview th,.upload-preview td{padding:8px 10px;border:1px solid #ddd;text-align:left}.upload-preview th{background:#f5f5f5;font-weight:600}.upload-preview .invalid-row{background:#ffebee}.upload-preview .error{color:#d32f2f;font-weight:500}.upload-preview .more-rows{text-align:center;color:#666;font-style:italic}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:15px 20px;background:#f5f5f5;border-top:1px solid #ddd}.btn-cancel{padding:8px 20px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#666;cursor:pointer}.btn-cancel:hover{background:#f5f5f5}.btn-confirm{padding:8px 20px;border:none;border-radius:4px;background:#1976d2;color:#fff;cursor:pointer}.btn-confirm:hover{background:#1565c0}.btn-confirm:disabled{background:#bdbdbd;cursor:not-allowed}.tab-navigation{display:flex;gap:0;margin-bottom:20px;border-bottom:2px solid #ddd}.tab-button{padding:12px 24px;border:none;background:#f5f5f5;font-size:14px;font-weight:500;color:#666;cursor:pointer;transition:all .2s;border-radius:8px 8px 0 0;margin-bottom:-2px;border:2px solid transparent;border-bottom:none}.tab-button:hover{background:#e8e8e8;color:#333}.tab-button.active{background:#fff;color:#4a90a4;border-color:#ddd;border-bottom:2px solid white;font-weight:600}.delivery-order-table th,.delivery-order-table td{padding:10px 8px}.delivery-order-table .col-order-date,.delivery-order-table .col-delivery-date{width:90px;min-width:90px}.delivery-order-table .col-product{min-width:120px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.delivery-order-table .col-status{width:70px;min-width:70px}.status-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:500}.status-badge.pending{background:#fff3e0;color:#e65100}.status-badge.confirmed{background:#e3f2fd;color:#1565c0}.status-badge.shipped{background:#e8f5e9;color:#2e7d32}.status-badge.delivered{background:#eceff1;color:#455a64}.delivery-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:500}.delivery-badge.택배{background:#e8f5e9;color:#2e7d32}.delivery-badge.퀵{background:#fff3e0;color:#e65100}.delivery-badge.직접{background:#e3f2fd;color:#1565c0}.summary-card.delivery-quick{background:#fff3e0;border:1px solid #ffcc80}.summary-card.delivery-quick .card-value{color:#e65100}.invoice-exported{color:#28a745;font-weight:700;font-size:10px}.address-modal{width:500px}.address-edit-info{padding:10px 15px;background:#e3f2fd;border-radius:6px;margin-bottom:20px;font-size:14px}.address-form .form-group{margin-bottom:15px}.address-form .form-group label{display:block;margin-bottom:6px;font-weight:600;color:#333;font-size:13px}.address-form .form-group input{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;box-sizing:border-box}.address-form .form-group input:focus{outline:none;border-color:#4a90a4}.address-input-row{display:flex;gap:8px}.address-input-row input{flex:1;background:#f5f5f5}.btn-address-search{padding:10px 16px;background:#4a90a4;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:13px;white-space:nowrap;transition:background .2s}.btn-address-search:hover{background:#3d7a8c}.address-validation{margin-top:6px;padding:6px 10px;border-radius:4px;font-size:12px;font-weight:500}.address-validation.validating{background:#fff3e0;color:#e65100}.address-validation.valid{background:#e8f5e9;color:#2e7d32}.address-validation.invalid{background:#ffebee;color:#c62828}.address-validation.error{background:#fce4ec;color:#ad1457}.clickable-address:hover{background:#e3f2fd!important;text-decoration:underline}.btn-validate{padding:8px 14px;background:#7cb342;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:13px;transition:background .2s}.btn-validate:hover:not(:disabled){background:#689f38}.btn-validate:disabled{background:#c5e1a5;cursor:not-allowed}.btn-clear-validation{padding:8px 12px;background:#9e9e9e;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:13px;transition:background .2s}.btn-clear-validation:hover{background:#757575}.invalid-address{background:#ffebee!important}.invalid-address:hover{background:#ffcdd2!important}.invalid-badge{color:#d32f2f;margin-right:4px;font-weight:700}.message.warning{background:#fff3e0;color:#e65100;border:1px solid #ffcc80}.btn-kakao{background:#fee500;color:#3c1e1e;font-weight:600}.btn-kakao:hover{background:#ffd43b}.kakao-modal{width:500px}.kakao-info{text-align:center;margin-bottom:20px;font-size:15px}.kakao-info strong{color:#3c1e1e;font-size:20px}.kakao-type-selector{display:flex;gap:10px;margin-bottom:20px}.kakao-type-btn{flex:1;padding:12px 16px;border:2px solid #ddd;border-radius:8px;background:#fff;font-size:14px;cursor:pointer;transition:all .2s}.kakao-type-btn:hover{border-color:#fee500}.kakao-type-btn.active{border-color:#fee500;background:#fff9c4}.kakao-form .form-group{margin-bottom:15px}.kakao-form .form-group label{display:block;margin-bottom:6px;font-weight:600;color:#333;font-size:13px}.kakao-form .form-group select,.kakao-form .form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;box-sizing:border-box}.kakao-form .form-group select:focus,.kakao-form .form-group textarea:focus{outline:none;border-color:#fee500}.kakao-form .form-group textarea{resize:vertical;min-height:100px}.template-preview{margin-top:15px}.template-preview label{display:block;margin-bottom:8px;font-weight:600;color:#333;font-size:13px}.template-preview .preview-content{background:#f5f5f5;border:1px solid #ddd;border-radius:8px;padding:15px;font-size:13px;line-height:1.6;white-space:pre-wrap;max-height:200px;overflow-y:auto}.kakao-notice{font-size:12px;color:#ff6b00;margin-top:10px;padding:8px 12px;background:#fff3e0;border-radius:6px}.btn-kakao-send{background:#fee500!important;color:#3c1e1e!important}.btn-kakao-send:hover{background:#ffd43b!important}.btn-kakao-send:disabled{background:#ccc!important;color:#666!important}@media(max-width:768px){.filter-row{flex-direction:column}.filter-group select,.filter-group input{width:100%}.filter-actions{flex-wrap:wrap}.modal-content{width:95%;max-height:90%}.upload-modal,.kakao-modal,.settlement-modal{width:95%}}.embedded-page{margin:0}.embedded-page .push-send-page>.page-header>h2,.embedded-page .contact-page>.page-header>h2{display:none}.embedded-page .push-send-page,.embedded-page .contact-page{padding:0}.btn-settlement{background:#17a2b8;color:#fff}.btn-settlement:hover{background:#138496}.settlement-modal{width:700px;max-width:95vw}.settlement-table{width:100%;border-collapse:collapse;font-size:13px}.settlement-table th{background:#333;color:#fff;padding:7px 10px;font-size:12px;font-weight:600}.settlement-table td{border:1px solid #e0e0e0;padding:5px 10px;font-size:12px}.settlement-table .school-header-row td{background:#f5f5f5;font-weight:700;font-size:13px;padding:8px 10px;border-top:2px solid #ccc}.settlement-table .subtotal-row td{background:#fafafa;border-top:1px solid #999}.settlement-table .grand-total-row td{border-top:2px solid #333;background:#e8f5e9;font-size:13px;padding:8px 10px}.settlement-email-section{margin-top:16px;padding-top:16px;border-top:1px solid #eee}.settlement-content{max-height:400px;overflow-y:auto}@media print{body>*:not(.modal-overlay){display:none!important}.modal-overlay{position:static;background:none}.modal-content.settlement-modal{box-shadow:none;border:none;width:100%;max-width:none}.modal-footer,.settlement-email-section,.delivery-type-selector{display:none!important}}.push-send-page{padding:20px;max-width:1400px;margin:0 auto}.push-send-page .page-header{margin-bottom:20px}.push-send-page .page-header h1{font-size:24px;margin:0 0 8px;color:#333}.push-send-page .page-header p{margin:0;color:#666;font-size:14px}.push-send-page .filter-section{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:20px;overflow:visible}.push-send-page .filter-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.push-send-page .filter-group{display:flex;flex-direction:column;gap:5px}.push-send-page .filter-group label{font-size:12px;color:#666;font-weight:500}.push-send-page .filter-group select,.push-send-page .filter-group input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:140px}.push-send-page .btn-search{padding:8px 20px;background:#4a90a4;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:600}.push-send-page .btn-search:hover{background:#3d7a8c}.push-send-page .btn-reset{padding:8px 16px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.push-send-page .btn-reset:hover{background:#5a6268}.push-send-page .send-section{display:flex;gap:20px;margin-bottom:20px;background:#fff;padding:20px;border:1px solid #e0e0e0;border-radius:8px}.push-send-page .send-form{flex:1}.push-send-page .send-form .form-group{margin-bottom:12px}.push-send-page .send-form .form-group label{display:block;font-size:13px;font-weight:500;color:#333;margin-bottom:4px}.push-send-page .send-form input[type=text]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.push-send-page .send-form textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical}.push-send-page .template-vars{margin-top:6px;font-size:12px;color:#888;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.push-send-page .var-tag{display:inline-block;padding:2px 8px;background:#e9ecef;border:1px solid #ced4da;border-radius:4px;font-size:12px;color:#495057;cursor:pointer;transition:background .15s}.push-send-page .var-tag:hover{background:#dee2e6;color:#212529}.push-send-page .form-options{margin-top:12px}.push-send-page .checkbox-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#333;cursor:pointer}.push-send-page .checkbox-label input[type=checkbox]{width:16px;height:16px}.push-send-page .send-stats{min-width:200px;padding:16px;background:#f8f9fa;border-radius:8px;display:flex;flex-direction:column;gap:12px}.push-send-page .stat-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e0e0e0}.push-send-page .stat-item:last-of-type{border-bottom:none}.push-send-page .stat-label{font-size:13px;color:#666}.push-send-page .stat-value{font-size:16px;font-weight:600;color:#333}.push-send-page .stat-value.highlight{color:#007bff}.push-send-page .stat-value.push{color:#28a745}.push-send-page .stat-value.sms{color:#fd7e14}.push-send-page .btn-send{margin-top:auto;padding:12px 24px;background:#4a90a4;color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s}.push-send-page .btn-send:hover:not(:disabled){background:#3d7a8c}.push-send-page .btn-send:disabled{background:#ccc;cursor:not-allowed}.push-send-page .message{padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:14px}.push-send-page .message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.push-send-page .message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.push-send-page .table-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.push-send-page .student-table{width:100%;border-collapse:collapse;font-size:13px}.push-send-page .student-table th{background:#f8f9fa;padding:12px 8px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #e0e0e0;white-space:nowrap}.push-send-page .student-table td{padding:10px 8px;border-bottom:1px solid #f0f0f0;color:#333}.push-send-page .student-table tbody tr{cursor:pointer;transition:background .15s}.push-send-page .student-table tbody tr:hover{background:#f8f9fa}.push-send-page .student-table tbody tr.selected{background:#e7f3ff}.push-send-page .student-table tbody tr.selected:hover{background:#d4e9ff}.push-send-page .col-check{width:40px;text-align:center}.push-send-page .col-region{width:70px}.push-send-page .col-school{min-width:120px}.push-send-page .col-name{width:80px}.push-send-page .col-phone{width:110px}.push-send-page .col-extra{min-width:100px}.push-send-page .col-contract{width:80px}.push-send-page .col-push{width:70px;text-align:center}.push-send-page .push-badge{display:inline-block;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:500}.push-send-page .push-badge.enabled{background:#d4edda;color:#155724}.push-send-page .push-badge.disabled{background:#f8d7da;color:#721c24}.push-send-page .loading-cell,.push-send-page .empty-cell{text-align:center;padding:40px!important;color:#666}@media(max-width:1024px){.push-send-page .send-section{flex-direction:column}.push-send-page .send-stats{min-width:100%;flex-direction:row;flex-wrap:wrap}.push-send-page .stat-item{flex:1;min-width:100px;border-bottom:none;border-right:1px solid #e0e0e0;padding:8px 12px}.push-send-page .stat-item:last-of-type{border-right:none}.push-send-page .btn-send{width:100%}.push-send-page .table-section{overflow-x:auto}}.cms-management-page{padding:20px;max-width:1400px;margin:0 auto}.cms-management-page h2{margin-bottom:20px;color:#333}.cms-management-page .message{padding:12px 16px;border-radius:4px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.cms-management-page .message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.cms-management-page .message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.cms-management-page .message button{background:none;border:none;font-size:18px;cursor:pointer;color:inherit}.cms-management-page .tabs{display:flex;gap:0;margin-bottom:20px;border-bottom:2px solid #ddd}.cms-management-page .tabs button{padding:12px 24px;border:none;background:#f5f5f5;cursor:pointer;font-size:14px;color:#666;border-radius:8px 8px 0 0;margin-right:4px;transition:all .2s}.cms-management-page .tabs button:hover{background:#e9e9e9}.cms-management-page .tabs button.active{background:#2196f3;color:#fff}.cms-management-page .filter-section{display:flex;flex-direction:row;gap:10px;margin-bottom:20px;flex-wrap:nowrap;align-items:center}.cms-management-page .filter-section select,.cms-management-page .filter-section input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.cms-management-page .filter-section button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;background:#f5f5f5;color:#333}.cms-management-page .filter-section button:hover{background:#e9e9e9}.cms-management-page .filter-section .btn-primary{background:#2196f3;color:#fff}.cms-management-page .filter-section .btn-primary:hover{background:#1976d2}.cms-management-page .filter-section .btn-secondary{background:#ff9800;color:#fff}.cms-management-page .filter-section .btn-secondary:hover{background:#f57c00}.cms-management-page .summary-cards{display:flex;gap:16px;margin-bottom:20px;flex-wrap:wrap}.cms-management-page .summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px 24px;min-width:150px;display:flex;flex-direction:column;gap:8px}.cms-management-page .summary-card .label{font-size:13px;color:#666}.cms-management-page .summary-card .value{font-size:18px;font-weight:600;color:#333}.cms-management-page .eb21-section{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;padding:20px;margin-bottom:20px}.cms-management-page .eb21-section h4{margin:0 0 16px;color:#333}.cms-management-page .eb21-form{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.cms-management-page .eb21-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#666}.cms-management-page .eb21-form input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;width:180px}.cms-management-page .eb21-form .selected-info{font-size:14px;color:#2196f3;font-weight:600;padding:8px 0}.cms-management-page .data-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;font-size:13px}.cms-management-page .data-table th,.cms-management-page .data-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #e0e0e0}.cms-management-page .data-table th{background:#f5f5f5;font-weight:600;color:#333;white-space:nowrap}.cms-management-page .data-table td.amount{text-align:right;font-family:Roboto Mono,monospace}.cms-management-page .data-table td.amount.total{font-weight:600;color:#2196f3}.cms-management-page .data-table tr:hover{background:#f9f9f9}.cms-management-page .data-table tr.disabled-row{background:#f5f5f5;color:#999}.cms-management-page .data-table .no-data{text-align:center;color:#999;padding:40px}.cms-management-page .btn-small{padding:4px 8px;font-size:12px;border:none;border-radius:4px;cursor:pointer;margin-right:4px}.cms-management-page .btn-success{background:#4caf50;color:#fff}.cms-management-page .btn-danger{background:#f44336;color:#fff}.cms-management-page .btn-warning{background:#ff9800;color:#fff}.cms-management-page .btn-warning:hover{background:#f57c00}.cms-management-page .btn-primary{background:#2196f3;color:#fff}.cms-management-page .btn-primary:hover{background:#1976d2}.cms-management-page .btn-primary:disabled{background:#ccc;cursor:not-allowed}.cms-management-page .modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.cms-management-page .modal{background:#fff;border-radius:8px;width:500px;max-height:90vh;overflow-y:auto}.cms-management-page .modal.modal-large{width:700px}.cms-management-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0}.cms-management-page .modal-header h3{margin:0;font-size:18px}.cms-management-page .modal-header button{background:none;border:none;font-size:24px;cursor:pointer;color:#999}.cms-management-page .modal-body{padding:20px}.cms-management-page .modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e0e0e0}.cms-management-page .modal-footer button{padding:8px 16px;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;background:#fff}.cms-management-page .form-group{margin-bottom:16px}.cms-management-page .form-group label{display:block;margin-bottom:6px;font-size:13px;color:#333;font-weight:500}.cms-management-page .form-group input,.cms-management-page .form-group select,.cms-management-page .form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.cms-management-page .form-group textarea{resize:vertical;min-height:80px}.cms-management-page .search-input{display:flex;gap:8px}.cms-management-page .search-input input{flex:1}.cms-management-page .search-input button{padding:10px 16px;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer}.cms-management-page .search-results{list-style:none;padding:0;margin:8px 0 0;border:1px solid #ddd;border-radius:4px;max-height:150px;overflow-y:auto}.cms-management-page .search-results li{padding:10px 12px;cursor:pointer;border-bottom:1px solid #eee}.cms-management-page .search-results li:hover{background:#f5f5f5}.cms-management-page .search-results li:last-child{border-bottom:none}.cms-management-page .selected-student{margin-top:8px;padding:10px 12px;background:#e3f2fd;border-radius:4px;font-size:14px;color:#1976d2}.cms-management-page .loading-overlay{position:fixed;inset:0;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:1001;font-size:18px;color:#666}.doc-pagination{display:flex;align-items:center;gap:6px}.doc-page-btn{padding:4px 10px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;font-size:12px;cursor:pointer;transition:all .2s}.doc-page-btn:hover:not(:disabled){background:#e3f2fd;border-color:#1976d2;color:#1976d2}.doc-page-btn:disabled{opacity:.4;cursor:default}.doc-page-current{padding:4px 12px;font-weight:600;color:#1976d2;font-size:13px}.toss-payments-page{padding:20px;max-width:1400px;margin:0 auto}.toss-payments-page h2{margin-bottom:20px;color:#333}.toss-payments-page .message{padding:12px 16px;border-radius:6px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.toss-payments-page .message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.toss-payments-page .message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.toss-payments-page .message.warning{background:#fff3cd;color:#856404;border:1px solid #ffeeba}.toss-payments-page .message button{background:none;border:none;font-size:18px;cursor:pointer;opacity:.7}.toss-payments-page .tab-menu{display:flex;gap:8px;margin-bottom:20px;border-bottom:2px solid #e0e0e0;padding-bottom:0}.toss-payments-page .tab-btn{padding:12px 24px;border:none;background:none;cursor:pointer;font-size:14px;font-weight:500;color:#666;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s}.toss-payments-page .tab-btn:hover{color:#0064ff}.toss-payments-page .tab-btn.active{color:#0064ff;border-bottom-color:#0064ff}.toss-payments-page .filter-bar{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap;align-items:center}.toss-payments-page .filter-bar select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.toss-payments-page .btn{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.toss-payments-page .btn-primary{background:#0064ff;color:#fff}.toss-payments-page .btn-primary:hover{background:#0052d4}.toss-payments-page .btn-primary:disabled{background:#ccc;cursor:not-allowed}.toss-payments-page .btn-secondary{background:#6c757d;color:#fff}.toss-payments-page .btn-secondary:hover{background:#5a6268}.toss-payments-page .btn-danger{background:#dc3545;color:#fff}.toss-payments-page .btn-danger:hover{background:#c82333}.toss-payments-page .btn-info{background:#17a2b8;color:#fff}.toss-payments-page .btn-info:hover{background:#138496}.toss-payments-page .btn-warning{background:#ffc107;color:#212529}.toss-payments-page .btn-warning:hover{background:#e0a800}.toss-payments-page .btn-sm{padding:4px 8px;font-size:12px}.toss-payments-page table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.toss-payments-page th,.toss-payments-page td{padding:12px;text-align:left;border-bottom:1px solid #eee}.toss-payments-page th{background:#f8f9fa;font-weight:600;color:#333;font-size:13px}.toss-payments-page td{font-size:13px;color:#555}.toss-payments-page tbody tr:hover{background:#f8f9fa}.toss-payments-page .no-data{text-align:center;color:#888;padding:40px 0}.toss-payments-page td.amount{font-weight:600;color:#333}.toss-payments-page .status-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.toss-payments-page .status-done{background:#d4edda;color:#155724}.toss-payments-page .status-canceled{background:#f8d7da;color:#721c24}.toss-payments-page .status-ready{background:#fff3cd;color:#856404}.toss-payments-page .status-progress{background:#cce5ff;color:#004085}.toss-payments-page .status-partial{background:#e2e3e5;color:#383d41}.toss-payments-page .status-aborted,.toss-payments-page .status-expired{background:#f5f5f5;color:#666}.toss-payments-page .status-waiting{background:#e2e3e5;color:#383d41}.toss-payments-page .stats-cards{display:flex;gap:16px;margin-bottom:24px}.toss-payments-page .stat-card{flex:1;background:#fff;padding:20px;border-radius:8px;box-shadow:0 1px 3px #0000001a;text-align:center}.toss-payments-page .stat-label{font-size:13px;color:#666;margin-bottom:8px}.toss-payments-page .stat-value{font-size:24px;font-weight:700;color:#0064ff}.toss-payments-page .batch-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:12px 16px;background:#f8f9fa;border-radius:8px}.toss-payments-page .modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.toss-payments-page .modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.toss-payments-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}.toss-payments-page .modal-header h3{margin:0;font-size:18px}.toss-payments-page .modal-header button{background:none;border:none;font-size:24px;cursor:pointer;color:#666}.toss-payments-page .modal-body{padding:20px}.toss-payments-page .modal-footer{display:flex;gap:12px;justify-content:flex-end;padding:16px 20px;border-top:1px solid #eee}.toss-payments-page .form-group{margin-bottom:16px}.toss-payments-page .form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333;font-size:14px}.toss-payments-page .search-input{display:flex;gap:8px}.toss-payments-page .search-input input{flex:1;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.toss-payments-page .search-input button{padding:10px 16px;background:#0064ff;color:#fff;border:none;border-radius:4px;cursor:pointer}.toss-payments-page .search-results{max-height:200px;overflow-y:auto;border:1px solid #ddd;border-radius:4px;margin-top:8px}.toss-payments-page .search-result-item{padding:10px 12px;display:flex;gap:12px;cursor:pointer;border-bottom:1px solid #eee}.toss-payments-page .search-result-item:last-child{border-bottom:none}.toss-payments-page .search-result-item:hover{background:#f0f7ff}.toss-payments-page .selected-student{padding:12px;background:#e8f4fd;border-radius:8px;margin-top:16px;display:flex;gap:12px;align-items:center}.toss-payments-page .selected-student strong{color:#0064ff}.toss-payments-page .help-text{font-size:13px;color:#666;margin-top:16px;padding:12px;background:#f8f9fa;border-radius:4px}.toss-payments-page .detail-row{display:flex;padding:10px 0;border-bottom:1px solid #eee}.toss-payments-page .detail-row:last-child{border-bottom:none}.toss-payments-page .detail-row label{width:100px;font-weight:500;color:#666}.toss-payments-page .detail-row span,.toss-payments-page .detail-row a{flex:1;color:#333}.toss-payments-page .detail-row a{color:#0064ff;text-decoration:none}.toss-payments-page .detail-row a:hover{text-decoration:underline}.toss-payments-page .loading{text-align:center;padding:40px;color:#666}.toss-payments-page .account-number{font-family:Courier New,Courier,monospace;font-weight:600;color:#333}.toss-payments-page .virtual-account-section h4{margin:0 0 12px;font-size:16px;color:#333}.toss-payments-page .batch-issue-section{background:#fff;padding:20px;border-radius:8px;box-shadow:0 1px 3px #0000001a}.toss-payments-page .form-group select,.toss-payments-page .form-group input[type=text],.toss-payments-page .form-group input[type=number]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}@media(max-width:768px){.toss-payments-page{padding:12px}.toss-payments-page .tab-menu{overflow-x:auto}.toss-payments-page .tab-btn{padding:10px 16px;white-space:nowrap}.toss-payments-page .filter-bar{flex-direction:column;align-items:stretch}.toss-payments-page .filter-bar select{width:100%}.toss-payments-page .stats-cards{flex-direction:column}.toss-payments-page table{font-size:12px}.toss-payments-page th,.toss-payments-page td{padding:8px 6px}}.status-badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:500}.badge-success{background-color:#d4edda;color:#155724}.badge-warning{background-color:#fff3cd;color:#856404}.badge-info{background-color:#cce5ff;color:#004085}.badge-danger{background-color:#f8d7da;color:#721c24}.badge-default{background-color:#e9ecef;color:#495057}.cash-payment-page{padding:20px;max-width:1400px;margin:0 auto}.cash-payment-page h2{margin-bottom:20px;color:#333}.cash-payment-page .message{padding:12px 16px;border-radius:6px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.cash-payment-page .message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.cash-payment-page .message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.cash-payment-page .message button{background:none;border:none;font-size:18px;cursor:pointer;opacity:.7}.cash-payment-page .top-actions{margin-bottom:20px}.cash-payment-page .info-box{padding:15px;background:#d4edda;border-radius:8px;margin-bottom:20px;border:1px solid #c3e6cb}.cash-payment-page .info-box strong{color:#155724}.cash-payment-page .info-box p{margin:10px 0 0;font-size:14px;color:#155724}.cash-payment-page .filter-bar{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap;align-items:center;padding:15px;background:#f8f9fa;border-radius:8px}.cash-payment-page .filter-bar select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.cash-payment-page .btn{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.cash-payment-page .btn-primary{background:#007bff;color:#fff}.cash-payment-page .btn-primary:hover{background:#0056b3}.cash-payment-page .btn-success{background:#28a745;color:#fff}.cash-payment-page .btn-success:hover{background:#218838}.cash-payment-page .btn-secondary{background:#6c757d;color:#fff}.cash-payment-page .btn-secondary:hover{background:#5a6268}.cash-payment-page .btn-danger{background:#dc3545;color:#fff}.cash-payment-page .btn-danger:hover{background:#c82333}.cash-payment-page .btn-sm{padding:4px 8px;font-size:12px}.cash-payment-page .stats-cards{display:flex;gap:16px;margin-bottom:20px}.cash-payment-page .stat-card{flex:1;padding:20px;background:#e3f2fd;border-radius:8px;text-align:center}.cash-payment-page .stat-card.success{background:#e8f5e9}.cash-payment-page .stat-label{font-size:13px;color:#666;margin-bottom:8px}.cash-payment-page .stat-value{font-size:24px;font-weight:700;color:#1976d2}.cash-payment-page .stat-card.success .stat-value{color:#388e3c}.cash-payment-page table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.cash-payment-page th,.cash-payment-page td{padding:12px;text-align:left;border-bottom:1px solid #eee}.cash-payment-page th{background:#f8f9fa;font-weight:600;color:#333;font-size:13px}.cash-payment-page td{font-size:13px;color:#555}.cash-payment-page tbody tr:hover{background:#f8f9fa}.cash-payment-page .no-data{text-align:center;color:#888;padding:40px!important}.cash-payment-page .text-right{text-align:right}.cash-payment-page td.amount{font-weight:600;color:#333}.cash-payment-page td.memo{font-size:12px;color:#666;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cash-payment-page .modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.cash-payment-page .modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.cash-payment-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}.cash-payment-page .modal-header h3{margin:0;font-size:18px}.cash-payment-page .modal-header button{background:none;border:none;font-size:24px;cursor:pointer;color:#666}.cash-payment-page .modal-body{padding:20px}.cash-payment-page .modal-footer{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.cash-payment-page .form-group{margin-bottom:16px}.cash-payment-page .form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333;font-size:14px}.cash-payment-page .form-group input,.cash-payment-page .form-group select,.cash-payment-page .form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.cash-payment-page .form-row{display:flex;gap:12px}.cash-payment-page .form-group.half{flex:1}.cash-payment-page .search-results{border:1px solid #ddd;border-radius:4px;max-height:150px;overflow-y:auto;margin-top:4px}.cash-payment-page .search-result-item{padding:10px 12px;cursor:pointer;border-bottom:1px solid #eee}.cash-payment-page .search-result-item:last-child{border-bottom:none}.cash-payment-page .search-result-item:hover{background:#f5f5f5}.cash-payment-page .selected-student{margin-top:8px;padding:8px 12px;background:#e8f5e9;border-radius:4px;color:#28a745;font-size:14px}@media(max-width:768px){.cash-payment-page{padding:12px}.cash-payment-page .filter-bar{flex-direction:column;align-items:stretch}.cash-payment-page .filter-bar select{width:100%}.cash-payment-page .stats-cards{flex-direction:column}.cash-payment-page table{font-size:12px}.cash-payment-page th,.cash-payment-page td{padding:8px 6px}.cash-payment-page .form-row{flex-direction:column;gap:0}}.tax-invoice-page{padding:20px;max-width:1400px;margin:0 auto}.tax-invoice-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:10px}.tax-invoice-page .page-header h2{margin:0;font-size:24px;color:#333}.tax-invoice-page .config-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tax-invoice-page .config-info .status{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500}.tax-invoice-page .config-info .status.connected{background:#e8f5e9;color:#2e7d32}.tax-invoice-page .config-info .status.disconnected{background:#ffebee;color:#c62828}.tax-invoice-page .config-info .test-badge{background:#fff3e0;color:#e65100;padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600}.tax-invoice-page .config-info .balance,.tax-invoice-page .config-info .unit-cost{font-size:13px;color:#666}.tax-invoice-page .filter-section{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:20px}.tax-invoice-page .filter-row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.tax-invoice-page .filter-row.single-line{flex-wrap:nowrap;align-items:center}.tax-invoice-page .filter-group{display:flex;flex-direction:row;gap:6px;align-items:center}.tax-invoice-page .filter-group label{font-size:12px;color:#666;font-weight:500}.tax-invoice-page .filter-group select,.tax-invoice-page .filter-group input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:80px}.tax-invoice-page .filter-group input[type=text]{min-width:180px}.tax-invoice-page .filter-group.search-group{flex:1}.tax-invoice-page .filter-actions{margin-left:auto}.tax-invoice-page .btn-add{padding:8px 16px;background:#1976d2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.tax-invoice-page .btn-add:hover{background:#1565c0}.tax-invoice-page .btn-popbill{padding:8px 16px;background:#ff6b35;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;margin-left:8px}.tax-invoice-page .btn-popbill:hover{background:#e55a2b}.tax-invoice-page .subsidy-invoices-section{background:#e8f5e9;border:1px solid #a5d6a7;border-radius:8px;padding:16px;margin-bottom:20px}.tax-invoice-page .subsidy-invoices-section h3{margin:0 0 12px;font-size:15px;color:#2e7d32}.tax-invoice-page .subsidy-table-container{overflow-x:auto}.tax-invoice-page .subsidy-table{width:100%;border-collapse:collapse;background:#fff;border-radius:6px;overflow:hidden;font-size:13px}.tax-invoice-page .subsidy-table th,.tax-invoice-page .subsidy-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #e0e0e0}.tax-invoice-page .subsidy-table th{background:#f5f5f5;font-weight:600;color:#333}.tax-invoice-page .subsidy-table .center{text-align:center}.tax-invoice-page .subsidy-table .right{text-align:right}.tax-invoice-page .subsidy-table .col-amount{text-align:right;font-family:monospace;font-weight:600;color:#1976d2}.tax-invoice-page .subsidy-table .badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:11px;font-weight:600}.tax-invoice-page .subsidy-table .badge.central{background:#e3f2fd;color:#1565c0}.tax-invoice-page .subsidy-table .badge.local{background:#fce4ec;color:#c2185b}.tax-invoice-page .subsidy-table .badge.tax-free{background:#fff3e0;color:#e65100}.tax-invoice-page .subsidy-table .badge.ready{background:#e8f5e9;color:#2e7d32}.tax-invoice-page .summary-cards{display:flex;gap:16px;margin-bottom:20px;flex-wrap:wrap}.tax-invoice-page .summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px 20px;min-width:140px;display:flex;flex-direction:column;gap:4px}.tax-invoice-page .summary-card .label{font-size:12px;color:#666}.tax-invoice-page .summary-card .value{font-size:20px;font-weight:600;color:#333}.tax-invoice-page .summary-card .amount{font-size:13px;color:#666}.tax-invoice-page .summary-card.not-issued{border-left:4px solid #ff9800}.tax-invoice-page .summary-card.issued{border-left:4px solid #4caf50}.tax-invoice-page .summary-card.selected{border-left:4px solid #2196f3}.tax-invoice-page .batch-action-bar{background:#e3f2fd;padding:12px 16px;border-radius:8px;margin-bottom:16px;display:flex;justify-content:flex-end}.tax-invoice-page .btn-batch-issue{padding:10px 24px;background:#1976d2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500}.tax-invoice-page .btn-batch-issue:hover{background:#1565c0}.tax-invoice-page .table-container{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.tax-invoice-page .data-table{width:100%;border-collapse:collapse;font-size:13px}.tax-invoice-page .data-table th,.tax-invoice-page .data-table td{padding:12px;text-align:left;border-bottom:1px solid #e0e0e0}.tax-invoice-page .data-table th{background:#f5f5f5;font-weight:600;color:#333;position:sticky;top:0}.tax-invoice-page .data-table tr:hover{background:#fafafa}.tax-invoice-page .data-table tr.issued{background:#f1f8e9}.tax-invoice-page .data-table tr.subsidy-row{background:#e8f5e9}.tax-invoice-page .data-table tr.subsidy-row:hover{background:#c8e6c9}.tax-invoice-page .badge.subsidy-badge{margin-right:6px;font-size:10px;padding:2px 6px}.tax-invoice-page .badge.subsidy-badge.central{background:#e3f2fd;color:#1565c0}.tax-invoice-page .badge.subsidy-badge.local{background:#fce4ec;color:#c2185b}.tax-invoice-page .badge.tax-free{background:#fff3e0;color:#e65100}.tax-invoice-page .data-table .col-check{width:40px;text-align:center}.tax-invoice-page .data-table .col-amount{text-align:right;font-family:monospace}.tax-invoice-page .data-table .col-amount.total{font-weight:600;color:#1976d2}.tax-invoice-page .data-table .col-name{font-weight:500}.tax-invoice-page .data-table .col-nts{font-size:11px;color:#666;font-family:monospace}.tax-invoice-page .data-table .col-actions{white-space:nowrap}.tax-invoice-page .data-table .loading,.tax-invoice-page .data-table .empty{text-align:center;padding:40px;color:#999}.tax-invoice-page .badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:11px;font-weight:500}.tax-invoice-page .badge.issued{background:#e8f5e9;color:#2e7d32}.tax-invoice-page .badge.not-issued{background:#fff3e0;color:#e65100}.tax-invoice-page .badge.tax-normal{background:#e3f2fd;color:#1565c0}.tax-invoice-page .btn-sm{padding:4px 8px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:12px;margin-right:4px}.tax-invoice-page .btn-sm:hover{background:#f5f5f5}.tax-invoice-page .btn-sm.primary{background:#1976d2;color:#fff;border-color:#1976d2}.tax-invoice-page .btn-sm.primary:hover{background:#1565c0}.tax-invoice-page .btn-sm.danger{color:#d32f2f;border-color:#d32f2f}.tax-invoice-page .btn-sm.danger:hover{background:#ffebee}.tax-invoice-page .btn-sm.warning{color:#f57c00;border-color:#f57c00}.tax-invoice-page .btn-sm.warning:hover{background:#fff3e0}.tax-invoice-page .btn-sm.secondary{color:#7b1fa2;border-color:#7b1fa2}.tax-invoice-page .btn-sm.secondary:hover{background:#f3e5f5}.tax-invoice-page .modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.tax-invoice-page .modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.tax-invoice-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0}.tax-invoice-page .modal-header h3{margin:0;font-size:18px}.tax-invoice-page .modal-header .btn-close{background:none;border:none;font-size:24px;cursor:pointer;color:#666}.tax-invoice-page .modal-body{padding:20px}.tax-invoice-page .modal-body .form-group{margin-bottom:16px}.tax-invoice-page .modal-body .form-group label{display:block;margin-bottom:6px;font-size:13px;font-weight:500;color:#333}.tax-invoice-page .modal-body .form-group input,.tax-invoice-page .modal-body .form-group select{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.tax-invoice-page .modal-body .form-row{display:flex;gap:12px}.tax-invoice-page .modal-body .form-group.half{flex:1}.tax-invoice-page .modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 20px;border-top:1px solid #e0e0e0}.tax-invoice-page .modal-footer .btn-cancel{padding:10px 20px;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer}.tax-invoice-page .modal-footer .btn-save{padding:10px 20px;background:#1976d2;color:#fff;border:none;border-radius:4px;cursor:pointer}.tax-invoice-page .modal-footer .btn-save:hover{background:#1565c0}.tax-invoice-page .issue-modal{max-width:450px}.tax-invoice-page .issue-info{background:#f5f5f5;padding:16px;border-radius:8px;margin-bottom:16px}.tax-invoice-page .issue-info p{margin:6px 0;font-size:14px}.tax-invoice-page .issue-info p strong{display:inline-block;width:80px;color:#666}.tax-invoice-page .modal-footer .btn-issue{padding:10px 20px;background:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer}.tax-invoice-page .modal-footer .btn-issue:hover{background:#43a047}.tax-invoice-page .modal-footer .btn-issue:disabled{background:#ccc;cursor:not-allowed}.tax-invoice-page .modify-modal{max-width:480px}.tax-invoice-page .modify-code-desc{background:#e8f5e9;padding:10px 14px;border-radius:6px;margin-bottom:16px;font-size:13px;color:#2e7d32}.tax-invoice-page .modify-code-desc p{margin:0}.tax-invoice-page .modal-footer .btn-modify{padding:10px 20px;background:#7b1fa2;color:#fff;border:none;border-radius:4px;cursor:pointer}.tax-invoice-page .modal-footer .btn-modify:hover{background:#6a1b9a}@media(max-width:768px){.tax-invoice-page{padding:12px}.tax-invoice-page .page-header{flex-direction:column;align-items:flex-start}.tax-invoice-page .filter-row{flex-direction:column}.tax-invoice-page .filter-group select,.tax-invoice-page .filter-group input{width:100%}.tax-invoice-page .filter-actions{margin-left:0;width:100%}.tax-invoice-page .btn-add{width:100%}.tax-invoice-page .summary-cards{flex-direction:column}.tax-invoice-page .summary-card{min-width:100%}.tax-invoice-page .table-container{overflow-x:auto}.tax-invoice-page .data-table{min-width:900px}}.server-monitor-page{padding:20px;max-width:1400px;margin:0 auto}.server-monitor-page h2{margin:0 0 20px;font-size:22px;color:#333}.monitor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:10px}.monitor-header-left{display:flex;align-items:center;gap:15px}.monitor-header-left .server-info{font-size:13px;color:#888}.monitor-header-right{display:flex;align-items:center;gap:12px}.auto-refresh-toggle{display:flex;align-items:center;gap:6px;font-size:13px;color:#666;cursor:pointer;-webkit-user-select:none;user-select:none}.auto-refresh-toggle input[type=checkbox]{width:16px;height:16px;cursor:pointer}.monitor-refresh-btn{background:#4a90d9;color:#fff;border:none;padding:8px 18px;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.monitor-refresh-btn:hover{background:#357abd}.monitor-refresh-btn:disabled{background:#aaa;cursor:not-allowed}.monitor-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.monitor-card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 2px 8px #00000014;text-align:center}.monitor-card .card-label{font-size:13px;color:#888;margin-bottom:8px}.monitor-card .card-value{font-size:28px;font-weight:700;color:#333}.monitor-card .card-sub{font-size:12px;color:#aaa;margin-top:4px}.progress-bar-container{width:100%;background:#e9ecef;border-radius:8px;height:24px;margin-top:10px;overflow:hidden;position:relative}.progress-bar-fill{height:100%;border-radius:8px;transition:width .5s ease;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#fff;min-width:40px}.progress-bar-fill.green{background:linear-gradient(90deg,#28a745,#20c997)}.progress-bar-fill.yellow{background:linear-gradient(90deg,#ffc107,#fd7e14)}.progress-bar-fill.red{background:linear-gradient(90deg,#dc3545,#e74c3c)}.monitor-section{background:#fff;border-radius:10px;padding:20px;box-shadow:0 2px 8px #00000014;margin-bottom:20px}.monitor-section h3{margin:0 0 16px;font-size:16px;color:#333;border-bottom:2px solid #f0f0f0;padding-bottom:10px}.chart-container{width:100%;height:300px}.pm2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.pm2-card{border:1px solid #e9ecef;border-radius:8px;padding:14px;background:#fafafa}.pm2-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.pm2-card-name{font-weight:600;font-size:15px;color:#333}.pm2-status{padding:2px 10px;border-radius:12px;font-size:12px;font-weight:600}.pm2-status.online{background:#d4edda;color:#155724}.pm2-status.stopped,.pm2-status.errored{background:#f8d7da;color:#721c24}.pm2-card-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:13px;color:#555}.pm2-card-stats span{display:flex;justify-content:space-between}.pm2-card-stats .stat-label{color:#888}.ip-table{width:100%;border-collapse:collapse;font-size:14px}.ip-table th{background:#f8f9fa;padding:10px 14px;text-align:left;font-weight:600;color:#555;border-bottom:2px solid #dee2e6}.ip-table td{padding:8px 14px;border-bottom:1px solid #f0f0f0;color:#333}.ip-table tr:hover td{background:#f8f9fa}.ip-rank{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;font-size:12px;font-weight:700}.ip-rank.top3{background:#ffc107;color:#fff}.ip-rank.normal{background:#e9ecef;color:#666}.domain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.domain-card{text-align:center;padding:16px;background:#f8f9fa;border-radius:8px}.domain-card .domain-name{font-size:13px;color:#888;margin-bottom:6px}.domain-card .domain-count{font-size:24px;font-weight:700;color:#333}.monitor-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;color:#888;font-size:16px;gap:12px}.monitor-loading .spinner{width:40px;height:40px;border:4px solid #e9ecef;border-top-color:#4a90d9;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.monitor-error{text-align:center;padding:40px;color:#dc3545}.monitor-error button{margin-top:12px;background:#dc3545;color:#fff;border:none;padding:8px 20px;border-radius:6px;cursor:pointer}.monitor-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}@media(max-width:900px){.monitor-row,.domain-grid{grid-template-columns:1fr}.monitor-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:500px){.server-monitor-page{padding:12px}.monitor-cards{grid-template-columns:1fr}}.contact-page{padding:20px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:10px}.page-header h2{margin:0;font-size:24px;color:#333}.header-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.search-input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;width:250px}.category-filter{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.btn-favorite-filter{padding:8px 15px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:14px;color:#666}.btn-favorite-filter:hover{background-color:#f8f9fa}.btn-favorite-filter.active{background-color:#fff3cd;border-color:#ffc107;color:#856404}.btn-primary{background-color:#3498db;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px}.btn-primary:hover{background-color:#2980b9}.loading-message,.empty-message{text-align:center;padding:60px;color:#999;font-size:16px}.contact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.contact-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;transition:transform .2s,box-shadow .2s}.contact-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.card-header{display:flex;justify-content:space-between;align-items:center;padding:15px;background-color:#f8f9fa;border-bottom:1px solid #eee}.name-section{display:flex;align-items:center;gap:10px}.favorite-btn{background:none;border:none;font-size:20px;cursor:pointer;color:#ddd;padding:0;line-height:1}.favorite-btn:hover,.favorite-btn.active{color:#ffc107}.name-section h3{margin:0;font-size:16px;color:#333}.category-badge{display:inline-block;padding:2px 8px;background-color:#e9ecef;border-radius:10px;font-size:11px;color:#666}.card-actions{display:flex;gap:5px}.btn-edit,.btn-delete{padding:4px 8px;border:none;border-radius:3px;cursor:pointer;font-size:11px}.btn-edit{background-color:#3498db;color:#fff}.btn-delete{background-color:#e74c3c;color:#fff}.btn-edit:hover{background-color:#2980b9}.btn-delete:hover{background-color:#c0392b}.card-body{padding:15px}.info-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px}.info-row .icon{width:20px;text-align:center}.info-row a{color:#3498db;text-decoration:none}.info-row a:hover{text-decoration:underline}.memo-row{margin-top:10px;padding-top:10px;border-top:1px dashed #eee;font-size:13px;color:#666}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:700px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #eee}.modal-header h3{margin:0}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#999}.close-btn:hover{color:#333}.contact-form{padding:20px}.form-row{display:flex;gap:15px;margin-bottom:15px}.form-group{flex:1}.form-group.full-width{width:100%}.form-group.checkbox-group{display:flex;align-items:flex-end;padding-bottom:8px}.form-group.checkbox-group label{display:flex;align-items:center;gap:5px;cursor:pointer}.form-group.checkbox-group input[type=checkbox]{width:auto}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.form-group input,.form-group select,.form-group textarea{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.form-group textarea{resize:vertical}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:20px;border-top:1px solid #eee;margin-top:20px}.btn-cancel{padding:10px 20px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.btn-cancel:hover{background-color:#f8f9fa}.btn-save{padding:10px 20px;background-color:#27ae60;color:#fff;border:none;border-radius:4px;cursor:pointer}.btn-save:hover{background-color:#229954}.btn-sms{background:none;border:none;cursor:pointer;font-size:16px;padding:2px 6px;margin-left:auto;border-radius:4px;transition:all .2s;opacity:.6}.btn-sms:hover{background-color:#e3f2fd;opacity:1;transform:scale(1.1)}.form-section-divider{width:100%;display:flex;align-items:center;margin:20px 0 15px;color:#666}.form-section-divider:before,.form-section-divider:after{content:"";flex:1;border-bottom:1px solid #ddd}.form-section-divider span{padding:0 15px;font-size:13px;font-weight:500;color:#3498db}.client-info-section{border-top:1px solid #eee;background-color:#f8f9fa;margin:12px -15px -15px;padding:12px 15px 15px;border-radius:0 0 8px 8px}.client-info-section .info-row{margin-bottom:6px}.client-info-section .info-row:last-child{margin-bottom:0}.wn-panel{display:flex;gap:0;height:calc(100vh - 160px);min-height:600px}.wn-left{width:25%;min-width:240px;max-width:300px;border-right:1px solid #e0e0e0;padding:16px;overflow-y:auto;background:#fafbfc}.wn-center{flex:1;padding:16px 20px;overflow-y:auto}.wn-right{width:25%;min-width:240px;max-width:300px;border-left:1px solid #e0e0e0;padding:16px;overflow-y:auto;background:#fafbfc}.wn-section{margin-bottom:16px;background:#fff;border-radius:8px;padding:12px;box-shadow:0 1px 3px #0000000f}.wn-section-title{font-size:13px;font-weight:600;color:#333;margin:0 0 8px}.wn-empty-small{font-size:12px;color:#999;text-align:center;padding:8px 0}.wn-cal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.wn-cal-title{font-size:14px;font-weight:600;color:#2c3e50}.wn-btn-nav{background:none;border:none;cursor:pointer;font-size:12px;color:#666;padding:4px 8px;border-radius:4px;transition:background .2s}.wn-btn-nav:hover{background:#f0f0f0}.wn-cal-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;margin-bottom:4px}.wn-cal-day{font-size:11px;font-weight:600;color:#999;padding:4px 0}.wn-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.wn-cal-cell{text-align:center;font-size:12px;padding:4px 0;border-radius:4px;cursor:pointer;position:relative;color:#333;transition:background .2s}.wn-cal-cell.empty{cursor:default}.wn-cal-cell:not(.empty):hover{background:#e3f2fd}.wn-cal-cell.today{font-weight:700;border:1px solid #3498db}.wn-cal-cell.selected{background:#3498db;color:#fff}.wn-cal-cell.selected.today{border-color:#2980b9}.wn-cal-dot{display:block;width:4px;height:4px;background:#3498db;border-radius:50%;margin:1px auto 0}.wn-cal-cell.selected .wn-cal-dot{background:#fff}.wn-pending-list{display:flex;flex-direction:column;gap:4px}.wn-pending-item{display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:4px;cursor:pointer;font-size:12px;transition:background .2s}.wn-pending-item:hover{background:#f0f0f0}.wn-pending-date{color:#999;font-size:11px;white-space:nowrap}.wn-pending-title{color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wn-pending-more{font-size:11px;color:#3498db;text-align:center;padding:4px 0;cursor:pointer;border-radius:4px;transition:background .2s;-webkit-user-select:none;user-select:none}.wn-pending-more:hover{background:#ebf5fb;color:#2980b9}.wn-stats{display:flex;flex-direction:column;gap:4px}.wn-stat-item{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:13px}.wn-stat-label{color:#666}.wn-stat-value{font-weight:600;color:#333}.wn-stat-value.completed{color:#27ae60}.wn-stat-value.pending{color:#e74c3c}.wn-date-nav{display:flex;align-items:center;gap:12px;margin-bottom:12px}.wn-date-title{font-size:18px;font-weight:600;color:#2c3e50;margin:0}.wn-btn-today{background:#f0f0f0;border:1px solid #ddd;border-radius:4px;padding:4px 12px;font-size:12px;cursor:pointer;color:#333;transition:background .2s}.wn-btn-today:hover{background:#e0e0e0}.wn-action-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.wn-action-right{display:flex;gap:8px}.wn-btn-add{background:#3498db;color:#fff;border:none;border-radius:6px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.wn-btn-add:hover{background:#2980b9}.wn-btn-report{background:#27ae60;color:#fff;border:none;border-radius:6px;padding:8px 14px;font-size:13px;cursor:pointer;transition:background .2s}.wn-btn-report:hover{background:#219a52}.wn-note-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.wn-card{background:#fff;border-radius:8px;border:1px solid #eee;padding:12px;transition:all .2s}.wn-card:hover{border-color:#ddd;box-shadow:0 2px 6px #0000000f}.wn-card.completed{opacity:.55}.wn-card.completed .wn-card-title{text-decoration:line-through;color:#999}.wn-card-main{display:flex;align-items:flex-start;gap:10px}.wn-card-check{padding-top:2px}.wn-card-check input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#3498db}.wn-card-body{flex:1;min-width:0}.wn-card-top{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.wn-priority-badge{font-size:11px;font-weight:500;padding:2px 8px;border-radius:10px;white-space:nowrap}.wn-category-tag{font-size:11px;color:#666;background:#f0f0f0;padding:2px 8px;border-radius:10px;white-space:nowrap}.wn-source-tag{font-size:10px;padding:2px 6px;border-radius:10px;white-space:nowrap}.wn-source-tag.carry-over{background:#fff3cd;color:#856404}.wn-source-tag.todo{background:#d1ecf1;color:#0c5460}.wn-card-title{font-size:14px;font-weight:500;color:#333;margin-bottom:2px;word-break:break-word}.wn-card-assignee{font-size:12px;color:#666;margin-bottom:2px}.wn-phone{color:#999}.wn-card-memo-toggle{font-size:11px;color:#3498db;cursor:pointer;margin-top:4px}.wn-card-memo{font-size:12px;color:#666;background:#f8f9fa;padding:8px;border-radius:4px;margin-top:4px;white-space:pre-wrap}.wn-card-actions{display:flex;gap:4px;flex-shrink:0}.wn-btn-icon{background:none;border:none;cursor:pointer;font-size:14px;padding:4px;border-radius:4px;transition:background .2s}.wn-btn-icon:hover{background:#f0f0f0}.wn-divider{font-size:12px;color:#999;text-align:center;padding:8px 0;margin:4px 0;border-top:1px solid #eee}.wn-empty{text-align:center;padding:40px 0;color:#999}.wn-empty-icon{font-size:40px;margin-bottom:8px}.wn-empty p{margin:8px 0;font-size:14px}.wn-btn-add-empty{background:#3498db;color:#fff;border:none;border-radius:6px;padding:8px 20px;font-size:13px;cursor:pointer;margin-top:8px;transition:background .2s}.wn-btn-add-empty:hover{background:#2980b9}.wn-loading{text-align:center;padding:40px 0;color:#999;font-size:14px}.wn-memo-section{background:#fff;border-radius:8px;padding:12px;border:1px solid #eee}.wn-memo-textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:13px;font-family:inherit;resize:vertical;min-height:80px;box-sizing:border-box;transition:border-color .2s}.wn-memo-textarea:focus{outline:none;border-color:#3498db}.wn-import-buttons{display:flex;flex-direction:column;gap:6px}.wn-btn-import{width:100%;background:#fff;border:1px solid #ddd;border-radius:6px;padding:8px 12px;font-size:12px;cursor:pointer;text-align:left;transition:all .2s}.wn-btn-import:hover{background:#f0f0f0;border-color:#bbb}.wn-btn-import:disabled{opacity:.5;cursor:not-allowed}.wn-ref-list{display:flex;flex-direction:column;gap:4px}.wn-ref-item{display:flex;align-items:flex-start;gap:6px;padding:6px 8px;border-radius:6px;font-size:12px}.wn-ref-item.todo{background:#f0f7ff}.wn-ref-item.holiday{background:#fff5f5}.wn-ref-item.schedule{background:#f0fff4}.wn-ref-icon{flex-shrink:0}.wn-ref-content{display:flex;flex-direction:column;gap:2px;min-width:0}.wn-ref-text{color:#333;font-size:12px;word-break:break-word}.wn-ref-sub{color:#999;font-size:11px}.wn-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.wn-modal{background:#fff;border-radius:12px;width:520px;max-width:90vw;max-height:90vh;overflow-y:auto}.wn-modal.wn-modal-sm{width:400px}.wn-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}.wn-modal-header h3{margin:0;font-size:16px;color:#2c3e50}.wn-modal-close{background:none;border:none;font-size:18px;color:#999;cursor:pointer;padding:4px}.wn-modal-close:hover{color:#333}.wn-modal-body{padding:20px}.wn-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid #eee}.wn-form-group{margin-bottom:14px}.wn-form-group label{display:block;margin-bottom:6px;font-size:13px;font-weight:500;color:#333}.wn-form-group .required{color:#e74c3c}.wn-form-group input[type=text],.wn-form-group textarea{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:13px;font-family:inherit;box-sizing:border-box;transition:border-color .2s}.wn-form-group input[type=text]:focus,.wn-form-group textarea:focus{outline:none;border-color:#3498db}.wn-form-row{display:flex;gap:12px}.wn-form-row .wn-form-group{flex:1}.wn-radio-group{display:flex;gap:8px}.wn-radio-btn{display:flex;align-items:center;gap:4px;padding:6px 12px;border:1px solid #ddd;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s}.wn-radio-btn input[type=radio]{display:none}.wn-radio-btn.active{border-color:#3498db;background:#e3f2fd}.wn-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.wn-category-btn{display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 4px;border:1px solid #ddd;border-radius:6px;font-size:11px;cursor:pointer;transition:all .2s;text-align:center}.wn-category-btn input[type=radio]{display:none}.wn-category-btn.active{border-color:#3498db;background:#e3f2fd}.wn-category-btn:hover{border-color:#bbb}.wn-btn-cancel{background:#f0f0f0;border:1px solid #ddd;border-radius:6px;padding:8px 20px;font-size:13px;cursor:pointer;transition:background .2s}.wn-btn-cancel:hover{background:#e0e0e0}.wn-btn-save{background:#3498db;color:#fff;border:none;border-radius:6px;padding:8px 20px;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.wn-btn-save:hover{background:#2980b9}.wn-btn-filter-toggle{background:#f0f0f0;border:1px solid #ddd;border-radius:6px;padding:8px 12px;font-size:12px;cursor:pointer;transition:all .2s}.wn-btn-filter-toggle:hover{background:#e0e0e0}.wn-btn-filter-toggle.active{background:#e3f2fd;border-color:#3498db;color:#3498db}.wn-btn-filter-toggle.has-filter{background:#fff3cd;border-color:#f39c12;color:#856404}.wn-btn-excel{background:#27ae60;color:#fff;border:none;border-radius:6px;padding:8px 12px;font-size:12px;cursor:pointer;transition:background .2s}.wn-btn-excel:hover{background:#219a52}.wn-filter-panel{background:#f8f9fa;border:1px solid #eee;border-radius:8px;padding:10px 12px;margin-bottom:12px}.wn-filter-row{display:flex;gap:8px;margin-bottom:6px}.wn-filter-row:last-child{margin-bottom:0}.wn-filter-search{flex:1;padding:6px 10px;border:1px solid #ddd;border-radius:6px;font-size:12px;font-family:inherit;box-sizing:border-box}.wn-filter-search:focus{outline:none;border-color:#3498db}.wn-filter-row select{padding:6px 8px;border:1px solid #ddd;border-radius:6px;font-size:12px;font-family:inherit;background:#fff;cursor:pointer}.wn-filter-row select:focus{outline:none;border-color:#3498db}.wn-btn-clear-filter{background:none;border:1px solid #ddd;border-radius:6px;padding:4px 10px;font-size:11px;color:#e74c3c;cursor:pointer;white-space:nowrap}.wn-btn-clear-filter:hover{background:#fde8e8}.wn-drag-wrapper{transition:transform .15s,opacity .15s}.wn-drag-wrapper[draggable=true]{cursor:grab}.wn-drag-wrapper[draggable=true]:active{cursor:grabbing}.wn-drag-wrapper.dragging{opacity:.4}.wn-drag-wrapper.drag-over{border-top:2px solid #3498db;padding-top:2px}.wn-form-select{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:13px;font-family:inherit;background:#fff;box-sizing:border-box;cursor:pointer}.wn-form-select:focus{outline:none;border-color:#3498db}.wn-form-group input[type=date]{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:13px;font-family:inherit;box-sizing:border-box}.wn-form-group input[type=date]:focus{outline:none;border-color:#3498db}.wn-template-list{display:flex;flex-direction:column;gap:6px}.wn-template-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #eee;border-radius:6px;background:#fff;transition:background .2s}.wn-template-item:hover{background:#f8f9fa}.wn-template-item.inactive{opacity:.5}.wn-template-info{flex:1;min-width:0}.wn-template-name{font-size:13px;font-weight:600;color:#333;margin-bottom:2px}.wn-template-repeat{font-size:11px;font-weight:400;color:#3498db;margin-left:6px}.wn-template-title{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wn-template-assignee{font-size:11px;color:#999}.wn-template-actions{display:flex;gap:2px;flex-shrink:0}.wn-section-header-row{display:flex;justify-content:space-between;align-items:center}.wn-btn-template-manage{background:#f0f0f0;border:1px solid #ddd;border-radius:4px;padding:2px 10px;font-size:11px;cursor:pointer;color:#666;transition:all .2s}.wn-btn-template-manage:hover{background:#e0e0e0;color:#333}@media(max-width:1200px){.wn-left,.wn-right{min-width:200px;max-width:240px}}@media(max-width:900px){.wn-panel{flex-direction:column;height:auto}.wn-left,.wn-right{width:100%;max-width:none;min-width:auto;border-right:none;border-left:none;border-bottom:1px solid #e0e0e0}.wn-category-grid{grid-template-columns:repeat(3,1fr)}}.wn-contact-select-row{display:flex;gap:8px;align-items:center}.wn-contact-select{flex:1;padding:8px 10px;border:1px solid #ddd;border-radius:6px;font-size:13px;background:#fff}.work-note-page{padding:0}.work-note-header{padding:16px 20px 0}.work-note-header h2{margin:0;font-size:20px;color:#2c3e50}.work-note-tabs{display:flex;gap:0;padding:12px 20px 0;border-bottom:2px solid #e9ecef}.work-note-tab{display:flex;align-items:center;gap:6px;padding:10px 20px;border:none;background:none;color:#6c757d;font-size:14px;font-weight:500;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s}.work-note-tab:hover{color:#495057;background:#f8f9fa}.work-note-tab.active{color:#2c3e50;border-bottom-color:#3498db;font-weight:600}.tab-icon{font-size:16px}.work-note-content{padding:0}.note-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;color:#999}.placeholder-icon{font-size:48px;margin-bottom:16px}.note-placeholder h3{margin:0 0 8px;color:#666;font-size:18px}.note-placeholder p{margin:0;font-size:14px}*{margin:0;padding:0;box-sizing:border-box}.filter-group select,.filter-item select,.filter-row select{height:42px!important;line-height:1.4!important}input:not([type=number]):not([type=email]):not([type=url]),textarea{ime-mode:active;-webkit-ime-mode:active}input,textarea,select,button{font-family:Malgun Gothic,맑은 고딕,-apple-system,BlinkMacSystemFont,sans-serif}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5}#root{min-height:100vh}.app-container{display:flex;flex-direction:column;min-height:100vh}.header{background:#2c3e50;color:#fff;padding:0;box-shadow:0 2px 4px #0000001a;position:relative}.header-top{display:flex;justify-content:space-between;align-items:center;padding:0 40px;border-bottom:1px solid #34495e}.header h1{padding:15px 0;font-size:1.5rem;margin:0}.hamburger-btn{display:none;background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:10px}.top-nav{display:flex;align-items:center;padding:0 40px;gap:0}.nav-link{padding:15px 25px;color:#ecf0f1;text-decoration:none;transition:all .2s;border-bottom:3px solid transparent;font-weight:500}.nav-link:hover,.nav-link.active{background:#34495e;border-bottom-color:#3498db}.nav-dropdown{position:relative}.dropdown-toggle{background:none;border:none;cursor:pointer;font-size:inherit;font-family:inherit;color:inherit}.dropdown-menu{position:absolute;top:100%;left:0;background:#fff;min-width:180px;box-shadow:0 4px 8px #00000026;border-radius:4px;z-index:1000;margin-top:3px}.dropdown-item{display:block;padding:12px 20px;color:#2c3e50;text-decoration:none;transition:background .2s;border-bottom:1px solid #ecf0f1}.dropdown-item:last-child{border-bottom:none}.dropdown-item:hover{background:#f8f9fa}.main-content{flex:1;padding:20px 40px;max-width:100%;overflow-y:auto}.page-header{margin-bottom:30px}.page-header h2{font-size:2rem;color:#2c3e50;margin-bottom:10px}.page-header p{color:#7f8c8d}.card{background:#fff;border-radius:8px;padding:25px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.card h3{margin-bottom:20px;color:#2c3e50;font-size:1.3rem}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#2c3e50;font-weight:500}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3498db}.form-group input[readonly]{background:#ecf0f1;cursor:not-allowed}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.btn{padding:10px 20px;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s;font-weight:500}.btn-primary{background:#3498db;color:#fff}.btn-primary:hover{background:#2980b9}.btn-success{background:#27ae60;color:#fff}.btn-success:hover{background:#229954}.btn-danger{background:#e74c3c;color:#fff}.btn-danger:hover{background:#c0392b}.btn-secondary{background:#95a5a6;color:#fff}.btn-secondary:hover{background:#7f8c8d}.btn-info{background:#3498db;color:#fff}.btn-info:hover{background:#2980b9}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-group{display:flex;gap:10px;margin-top:20px}.table-container{overflow-x:auto}table{width:100%;border-collapse:collapse;background:#fff}table th,table td{padding:12px;text-align:left;border-bottom:1px solid #ecf0f1}table th{background:#f8f9fa;font-weight:600;color:#2c3e50}table tr:hover{background:#f8f9fa}table button{margin-right:5px}.alert{padding:12px 20px;border-radius:4px;margin-bottom:20px}.alert-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.alert-error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.alert-info{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}.loading{text-align:center;padding:40px;color:#7f8c8d}.address-preview{background:#e8f4f8;padding:15px;border-radius:4px;margin-top:10px;border-left:4px solid #3498db}.address-preview strong{color:#2c3e50;font-size:1.1rem}.two-column-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.left-column,.right-column{display:flex;flex-direction:column;gap:20px}@media(max-width:768px){.header-top{padding:0 15px}.header h1{font-size:1.2rem}.hamburger-btn{display:block}.top-nav{display:none;flex-direction:column;padding:0;position:absolute;top:100%;left:0;right:0;background:#2c3e50;z-index:1000;max-height:70vh;overflow-y:auto;box-shadow:0 4px 8px #0003}.top-nav.mobile-open{display:flex}.nav-link{padding:12px 20px;border-bottom:1px solid #34495e}.nav-dropdown{width:100%}.dropdown-toggle{width:100%;text-align:left;padding:12px 20px;border-bottom:1px solid #34495e}.dropdown-menu{position:static!important;box-shadow:none;background:#34495e;border-radius:0;margin-top:0!important}.dropdown-item{color:#ecf0f1;padding:10px 30px;border-bottom:1px solid #3d566e}.dropdown-item:hover{background:#4a6785}.main-content{padding:15px}.form-row,.two-column-layout{grid-template-columns:1fr}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 4px 6px #0000001a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #ecf0f1}.modal-header h3{margin:0;color:#2c3e50}.modal-close{background:none;border:none;font-size:28px;color:#7f8c8d;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.modal-close:hover{background:#ecf0f1;color:#2c3e50}.modal-body{padding:20px}.modal-footer{padding:15px 20px;border-top:1px solid #ecf0f1;display:flex;justify-content:flex-end;gap:10px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}
