/* ToolCMS V3.1.82 (c) ToolWorld https://www.toolworld.cn/ */
*{box-sizing:border-box;margin:0;padding:0}
body{margin:0;padding:0;font-family:inherit;background:transparent;color:var(--text-1,#333);font-size:14px;line-height:1.6}
.ocs-container{max-width:100%;margin:0 auto;padding:16px}
.ocs-header{text-align:center;margin-bottom:16px}
.ocs-title{font-size:20px;font-weight:700;color:var(--text-1,#1f2937)}
.ocs-subtitle{font-size:13px;color:var(--text-3,#94a3b8);margin-top:4px}

.ocs-gender-tabs{display:flex;justify-content:center;gap:8px;margin-bottom:16px}
.ocs-tab{padding:8px 24px;border:1px solid var(--border,#d1d5db);border-radius:999px;background:var(--bg-card,#fff);color:var(--text-2,#555);cursor:pointer;font-size:14px;transition:all .15s}
.ocs-tab-active{background:var(--primary,var(--primary-hover));color:#fff;border-color:var(--primary,var(--primary-hover))}

.ocs-picker-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.ocs-field{flex:1;min-width:180px}
.ocs-label{display:block;font-weight:600;font-size:13px;color:var(--text-2,#555);margin-bottom:6px}
.ocs-select,.ocs-input{width:100%;padding:9px 12px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);font-size:14px;background:var(--bg-card,#fff);color:var(--text-1,#333);outline:none;transition:border-color .15s}
.ocs-select:focus,.ocs-input:focus{border-color:var(--primary,var(--primary-hover))}
.ocs-measure-input{position:relative}
.ocs-measure-input .ocs-input{padding-right:36px}
.ocs-unit{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--text-3,#94a3b8)}

.ocs-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.ocs-btn{padding:8px 16px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-1,#333);cursor:pointer;font-size:13px;transition:background .15s}
.ocs-btn:hover{background:var(--primary-light)}

.ocs-btn-primary{background:var(--primary,var(--primary-hover));color:#fff;border-color:var(--primary,var(--primary-hover))}
.ocs-btn-primary:hover{background:var(--primary-light);color:var(--primary)}


.ocs-table-wrap{overflow-x:auto;border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,10px);margin-bottom:14px}
.ocs-table{width:100%;border-collapse:collapse;font-size:13px}
.ocs-table th{background:var(--bg-soft,#f8fafc);padding:10px 12px;text-align:left;font-weight:600;color:var(--text-2,#555);border-bottom:1px solid var(--border,#e2e8f0);white-space:nowrap}
.ocs-table td{padding:10px 12px;border-bottom:1px solid var(--border-light,#f1f5f9);color:var(--text-1,#333)}
.ocs-table tbody tr:last-child td{border-bottom:none}
.ocs-table tbody tr{transition:background .12s}
.ocs-table tbody tr.ocs-row-active{background:var(--primary-light)}
.ocs-table tbody tr.ocs-row-active td:first-child{font-weight:700;color:var(--primary,var(--primary-hover))}

.ocs-match-result{margin-bottom:14px;padding:14px;border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,10px);background:var(--bg-card,#fff);display:none}
.ocs-match-result.show{display:block}
.ocs-match-title{font-weight:600;font-size:14px;color:var(--text-1,#1f2937);margin-bottom:8px}
.ocs-match-text{font-size:14px;color:var(--text-2,#444);line-height:1.7}
.ocs-match-text strong{color:var(--primary,var(--primary-hover));font-size:16px}

.ocs-guide{background:var(--bg-soft,#f8fafc);border-radius:var(--radius,10px);padding:16px;margin-bottom:14px}
.ocs-guide-title{font-size:14px;font-weight:600;color:var(--text-1,#1f2937);margin-bottom:8px}
.ocs-guide-list{list-style:none;padding:0}
.ocs-guide-list li{font-size:13px;color:var(--text-2,#555);padding:4px 0 4px 16px;position:relative}
.ocs-guide-list li::before{content:"•";position:absolute;left:0;color:var(--primary,var(--primary-hover))}

.ocs-message{margin-bottom:10px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none}
.ocs-message.show{display:block}
.ocs-message.success{background:var(--primary-light);color:var(--primary,var(--primary-hover))}
.ocs-message.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}

.ocs-footer{margin-top:16px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8);display:flex;justify-content:space-between;align-items:center}
.ocs-footer-right{margin-left:auto}

@media(max-width:640px){
    .ocs-container{padding:10px}
    .ocs-picker-row{flex-direction:column;gap:10px}
    .ocs-btn{flex:1 1 auto}
    .ocs-footer{flex-direction:column;gap:4px;text-align:center}
    .ocs-table{font-size:12px}
    .ocs-table th,.ocs-table td{padding:8px 8px}
}
