:root{--primary-color: #005a9c;--primary-color-rgb: 0, 90, 156;--secondary-color: #1e7e34;--danger-color: #c82333;--warning-color: #ffc107;--info-color: #0069d9;--text-color: #343a40;--text-light: #6c757d;--border-color: #dee2e6;--background-light: #f8f9fa;--background-white: #ffffff;--font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;--border-radius: 8px;--box-shadow: 0 4px 12px rgba(0, 0, 0, .08);--transition-speed: .2s ease-in-out}*,*:before,*:after{box-sizing:border-box}body{font-family:var(--font-family-sans-serif);margin:0;padding:30px 30px 100px;color:var(--text-color);background-color:var(--background-light);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.section-container{border:1px solid var(--border-color);padding:20px;margin-bottom:30px;border-radius:var(--border-radius);background-color:var(--background-white);box-shadow:var(--box-shadow)}.tab-nav{margin-bottom:20px;border-bottom:2px solid var(--primary-color);display:flex;flex-wrap:wrap}h2{border-bottom:2px solid var(--primary-color);padding-bottom:8px;margin-top:0;display:flex;justify-content:space-between;align-items:center;font-size:1.8em;color:var(--primary-color)}h3{border-bottom:1px solid var(--border-color);padding-bottom:8px;margin-top:30px;color:var(--text-color);font-weight:600;font-size:1.4em}.rotating-logo{animation:swing 3s ease-in-out infinite}@keyframes swing{0%{transform:rotateY(-45deg)}50%{transform:rotateY(45deg)}to{transform:rotateY(-45deg)}}table{width:100%;border-collapse:collapse;margin-top:15px}th,td{border:1px solid var(--border-color);padding:6px 12px;text-align:left;vertical-align:middle}th{background-color:var(--background-light);font-weight:600;color:var(--primary-color)}tbody tr:nth-child(2n){background-color:#fdfdfd}.total-row{font-weight:700;background-color:#eaf3fb;color:var(--primary-color)}.bs-head-row{font-weight:700;background-color:#f7f7f7}.bs-sub-row td:first-child{padding-left:30px}.right-align{text-align:right}.balance-status{text-align:center;font-weight:700;margin-top:20px}.financial-table{table-layout:fixed;width:100%}.financial-table th:nth-child(1),.financial-table td:nth-child(1){width:50%}.financial-table th:nth-child(2),.financial-table td:nth-child(2){width:25%}.financial-table th:nth-child(3),.financial-table td:nth-child(3){width:25%}.master-controls button,.print-button,.add-row-btn,.add-head-btn,.tab-button{padding:8px 16px;font-size:14px;font-weight:600;cursor:pointer;color:#fff;border-radius:6px;border:none;transition:all var(--transition-speed)}.master-controls button:hover,.print-button:hover,.add-row-btn:hover,.add-head-btn:hover,.tab-button:hover{filter:brightness(1.1);transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.master-controls button:focus,.print-button:focus,.add-row-btn:focus,.add-head-btn:focus,.tab-button:focus{outline:none;box-shadow:0 0 0 3px rgba(var(--primary-color-rgb),.4)}.print-button{background-color:var(--primary-color)}.export-btn{background-color:var(--secondary-color)}.import-btn{background-color:var(--info-color)}.clear-btn{background-color:var(--danger-color);color:#fff;border-radius:6px}.clear-btn:hover{filter:brightness(1.1);transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.add-row-btn{margin:10px auto;display:block;padding:5px 10px;font-size:12px;background-color:var(--secondary-color)}.add-head-btn{margin:10px auto;display:block;padding:5px 10px;font-size:12px;background-color:var(--warning-color);color:var(--text-color)}.remove-btn{cursor:pointer;color:var(--danger-color);font-weight:700;margin-left:10px;transition:color var(--transition-speed)}.remove-btn:hover{color:#a01a27}.tab-button{background-color:#e9ecef;color:var(--text-light);border:1px solid var(--border-color);border-bottom:none;margin-right:5px}.tab-button.active{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.editable{background-color:#fffde7;cursor:pointer;padding:5px;min-width:50px;display:inline-block;border-radius:4px;transition:box-shadow var(--transition-speed)}.editable:hover,.editable:focus{box-shadow:0 0 0 2px rgba(var(--primary-color-rgb),.3)}.feature-item{display:flex;align-items:center;gap:16px}.report-header-container{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid var(--primary-color);padding-bottom:15px;margin-bottom:25px}.report-header{text-align:center;flex-grow:1;font-size:1.4em;font-weight:600;color:var(--text-color)}.report-header>div{font-size:.8em;font-weight:400;color:var(--text-light)}.signature-block{margin-top:80px;text-align:right;padding-right:20px}.signature-block>div{display:block;margin-left:auto;margin-right:0;width:250px;text-align:center}.signature-line{margin-top:60px;padding-top:8px;border-top:1px solid var(--text-color)}.assessee{font-weight:700}.app-footer{position:fixed;bottom:0;left:0;width:100%;background-color:#343a40ee;color:#f8f9fa;text-align:center;padding:10px;font-size:.85em;box-shadow:0 -2px 10px #0003;z-index:1000}.app-footer p{margin:2px 0}.app-footer a{color:#87bfff;text-decoration:none}.app-footer a:hover{text-decoration:underline}.instructions-container{background-color:#eaf2f8;border:1px solid #b4cde0;border-radius:var(--border-radius);padding:15px;margin:20px 0;position:relative}.instructions-container h3{margin-top:0;color:var(--primary-color);border-bottom:none}.instructions-container ul{padding-left:20px;margin-bottom:0}.instructions-container li{margin-bottom:8px}.dismiss-btn{position:absolute;top:10px;right:15px;background:none;border:none;font-size:24px;cursor:pointer;color:#999}.dismiss-btn:hover{color:#333}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:2000}.modal-content{background:white;padding:25px;border-radius:var(--border-radius);box-shadow:0 5px 15px #0000004d;width:90%;max-width:450px}.modal-content h4{margin-top:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.modal-actions button{padding:8px 20px}.modal-actions .btn-secondary{background-color:#6c757d;color:#fff;border-radius:6px}.modal-actions .btn-secondary:hover{filter:brightness(1.1);transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.hidden{display:none}@media screen and (max-width: 768px){body{padding:15px 15px 120px;font-size:14px}.section-container{padding:15px}.report-header-container{flex-direction:column;align-items:center;text-align:center}.report-header{margin-bottom:10px}table,thead,tbody,th,td,tr{display:block}thead tr{position:absolute;top:-9999px;left:-9999px}tr{border:1px solid var(--border-color);margin-bottom:15px;border-radius:var(--border-radius);overflow:hidden}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%;text-align:right;display:flex;justify-content:space-between;align-items:center;min-height:38px}tr td:last-child{border-bottom:0}.bs-sub-row td:first-child{padding-left:50%}td:before{content:attr(data-label);position:absolute;left:10px;width:45%;padding-right:10px;white-space:nowrap;text-align:left;font-weight:700;color:var(--primary-color)}td[colspan="3"]{padding-left:8px}td[colspan="3"]:before{content:""}}@media print{:root{--box-shadow: none}body{font-size:9.5pt;background-color:#fff;margin:0;padding:0}.no-print{display:none!important}#root>*{display:none!important}#root>.print-visible{display:block!important}.section-container{border:1px solid #ccc!important;box-shadow:none!important;margin:0;padding:10px;border-radius:0}h2,h3{margin-top:10px;margin-bottom:8px}h3{border-bottom:none}table{display:table!important;width:100%;margin-top:10px;border-collapse:collapse!important}thead{display:table-header-group!important}tbody{display:table-row-group!important}tr{display:table-row!important}th,td{display:table-cell!important;padding:2px 4px!important;border:1px solid #ccc!important;vertical-align:middle}.editable{display:block!important;padding:0!important;background-color:transparent!important;min-width:unset!important;border:none!important}td:before{display:none!important}td{text-align:left!important;padding-left:4px!important}.right-align{text-align:right!important}.bs-sub-row td:first-child{padding-left:20px!important}.report-header-container{margin-bottom:15px;padding-bottom:8px}.report-header{font-size:1.1em}.signature-block{margin-top:25px!important;page-break-inside:avoid}.signature-line{margin-top:30px!important}a[href]:after{content:none!important}.add-row-btn,.add-head-btn,.remove-btn,.print-button{display:none!important}@page{size:A4;margin:1.5cm;@bottom-center{content:"Generated by Best Way Solution Financial Statement Tool";font-size:8pt;font-style:italic;color:#888}}}
