* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}
body {
    background-color: #f5f7fa;
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    padding-left:100px;
    padding-right: 100px;
    border-bottom: 2px solid #3498db;
}
.section {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background-color: #f9f9f9;
    display: flex;
}
.section .left{
    flex:1;
}
.section .right{
    flex:1;
}
h2 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
}
h2:before {
    content: '▸';
    margin-right: 8px;
}
.form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
label {
    width: 140px;
    text-align: right;
    margin-right: 15px;
    color: #333;
    font-weight: 500;
}
input[type="number"], select {
    padding: 10px;
    width: 180px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
input[type="number"]:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.btn-group {
    margin-left: 155px;
    margin-top: 20px;
}
button {
    padding: 10px 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 23px;
    font-size: 14px;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #2980b9;
}
button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}
.data-table th {
    background-color: #f2f4f7;
    color: #333;
    font-weight: 500;
}
.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.data-table input {
    width: 100%;
    padding: 8px;
    border: none;
    background: transparent;
    text-align: center;
}
.result-panel {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    background-color: #fcfcfc;
}
.result-item {
    display: flex;
    margin-bottom: 10px;
}
.result-label {
    width: 120px;
    text-align: right;
    margin-right: 15px;
    color: #666;
}
.result-value {
    font-weight: bold;
    color: #2c3e50;
}
.result-value.error {
    color: #e74c3c;
}
.result-value.success {
    color: #27ae60;
}
.formula {
    margin: 10px 0 0 155px;
    color: #666;
    font-style: italic;
    font-size: 14px;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 3px solid #ddd;
    width: fit-content;
}
.note {
    margin-left: 155px;
    color: #777;
    font-size: 13px;
    margin-top: 5px;
}
.tooltip {
    position: relative;
    margin-left: 5px;
    color: #3498db;
    cursor: help;
}
.tooltip:hover:after {
    content: attr(data-tip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}
.tooltip:hover:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.table-container {
    overflow-x: auto;
    margin-top: 15px;
}
.validation-message {
    color: #e74c3c;
    font-size: 13px;
    margin-left: 15px;
    display: none;
}
.validation-message.show {
    display: inline;
}
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.mark{
    color: red;
    font-size: 20px;
}
#observationTable th{
    font-weight: bold;
}
#observationTable input {
    margin-left: 7px;
}
.right span{
    font-weight: 550;
}
.right p{
    margin-top:15px;
    margin-bottom:15px;
}
