*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{font-size:14px;-webkit-text-size-adjust:100%}
body{color:#555;line-height:1.6;background:#f8f8f8;min-height:100vh}
a{color:#333;text-decoration:none}
a:hover{color:#3592e2}
ul,ol{list-style:none}
img{border:0;max-width:100%}
input,select,textarea,button{font-family:inherit;font-size:inherit}
.clearfix::after{content:"";display:block;clear:both}

/* === Layout === */
.body1000{max-width:1000px;margin:0 auto;padding:0 10px}
.tool-container{max-width:800px;margin:0 auto;padding:20px 10px}

/* === Top Bar === */
.bartop{background:#f8f8f8;border-bottom:1px solid #e8e8e8;height:32px;line-height:32px;font-size:12px;width:100%}
.bartop .barcenter{max-width:1000px;margin:0 auto;padding:0 10px;display:flex;align-items:center;justify-content:space-between}
.bartop a{color:#585858;font-size:12px}
.bartop a:hover{color:#3592e2}

/* === Navigation Bar === */
.daohang{background:#fff;border-bottom:3px solid #3592e2;margin:0 auto;max-width:1000px;overflow-x:auto;white-space:nowrap}
.daohang ul{display:flex;padding:0 10px}
.daohang li{flex-shrink:0}
.daohang a{display:block;padding:0 15px;height:40px;line-height:40px;color:#3d3d3d;font-weight:700;font-size:14px}
.daohang a:hover,.daohang a.current{color:#3592e2}

/* === Breadcrumb === */
.breadcrumb{max-width:1000px;margin:10px auto;padding:0 10px;font-size:12px;color:#888}
.breadcrumb a{color:#888}
.breadcrumb a:hover{color:#3592e2}
.breadcrumb span{margin:0 5px}

/* === Page Title === */
.tool-header{max-width:800px;margin:0 auto;padding:20px 10px 10px}
.tool-header h1{font-size:22px;color:#333;margin-bottom:5px}
.tool-header .subtitle{font-size:13px;color:#888}
.tool-header .keyword{font-size:12px;color:#aaa;margin-top:5px}

/* === Input Section === */
.input-section{background:#fff;border:1px solid #e8e8e8;padding:20px;margin:0 auto 15px;max-width:800px;border-radius:3px}
.input-section h2{font-size:16px;color:#333;margin-bottom:15px;padding-bottom:8px;border-bottom:1px solid #eee}
.input-group{margin-bottom:15px}
.input-group label{display:block;font-size:13px;color:#555;margin-bottom:5px;font-weight:700}
.input-group input[type="text"],
.input-group input[type="number"],
.input-group input[type="date"],
.input-group input[type="time"],
.input-group select,
.input-group textarea{width:100%;padding:8px 10px;border:1px solid #ddd;border-radius:3px;font-size:14px;line-height:1.5;background:#fff}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus{outline:none;border-color:#3592e2;box-shadow:0 0 3px rgba(53,146,226,0.3)}
.input-group textarea{resize:vertical;min-height:100px}
.input-group .hint{font-size:11px;color:#999;margin-top:3px}
.input-row{display:flex;gap:15px;flex-wrap:wrap}
.input-row .input-group{flex:1;min-width:200px}
.input-inline{display:flex;align-items:center;gap:10px}
.input-inline label{margin-bottom:0;white-space:nowrap}

/* === Buttons === */
.btn{display:inline-block;padding:10px 25px;border:none;border-radius:3px;font-size:14px;font-weight:700;cursor:pointer;text-align:center;line-height:1.4;transition:background .2s}
.btn-primary{background:#3592e2;color:#fff}
.btn-primary:hover{background:#2283d4;color:#fff}
.btn-accent{background:#F78015;color:#fff}
.btn-accent:hover{background:#e68a00;color:#fff}
.btn-outline{background:#fff;color:#3592e2;border:1px solid #3592e2}
.btn-outline:hover{background:#3592e2;color:#fff}
.btn-sm{padding:5px 15px;font-size:12px}
.btn-block{display:block;width:100%}
.btn-group{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}

/* === Result Section === */
.result-section{background:#fff;border:1px solid #e8e8e8;padding:20px;margin:0 auto 15px;max-width:800px;border-radius:3px;display:none}
.result-section.visible{display:block}
.result-section h2{font-size:16px;color:#333;margin-bottom:15px;padding-bottom:8px;border-bottom:1px solid #eee}
.result-big{font-size:36px;font-weight:700;color:#3592e2;text-align:center;padding:15px 0;line-height:1.3}
.result-big .unit{font-size:16px;color:#888;font-weight:400}
.result-label{font-size:13px;color:#888;text-align:center;margin-bottom:5px}
.result-breakdown{margin-top:15px;padding:15px;background:#f9f9f9;border-radius:3px}
.result-breakdown table{width:100%;border-collapse:collapse}
.result-breakdown th,.result-breakdown td{padding:8px 10px;text-align:left;font-size:13px;border-bottom:1px solid #eee}
.result-breakdown th{color:#555;font-weight:700;background:#f0f0f0}
.result-breakdown td{text-align:right}
.result-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f0f0;font-size:13px}
.result-row:last-child{border-bottom:none}
.result-row .label{color:#666}
.result-row .value{font-weight:700;color:#333}
.result-note{margin-top:10px;padding:10px;background:#fff8e1;border-radius:3px;font-size:12px;color:#8d6e00;line-height:1.6}

/* === Comparison Table === */
.comparison-table{width:100%;border-collapse:collapse;margin:10px 0}
.comparison-table th,.comparison-table td{padding:10px 12px;text-align:center;font-size:13px;border:1px solid #e8e8e8}
.comparison-table th{background:#3592e2;color:#fff;font-weight:700}
.comparison-table tr:nth-child(even){background:#f9f9f9}
.comparison-table .highlight{background:#e8f4fd;font-weight:700}

/* === Progress Bar === */
.progress-bar{height:20px;background:#eee;border-radius:10px;overflow:hidden;margin:5px 0}
.progress-bar .fill{height:100%;border-radius:10px;transition:width .3s}
.progress-bar .fill.green{background:#4caf50}
.progress-bar .fill.orange{background:#F78015}
.progress-bar .fill.red{background:#e53935}
.progress-bar .fill.blue{background:#3592e2}
.progress-text{font-size:12px;color:#888;margin-top:3px}

/* === Related Tools === */
.related-tools{max-width:800px;margin:20px auto;padding:0 10px}
.related-tools h3{font-size:15px;color:#333;margin-bottom:10px}
.related-list{display:flex;gap:10px;flex-wrap:wrap}
.related-item{flex:1;min-width:180px;max-width:250px;padding:12px;background:#fff;border:1px solid #e8e8e8;border-radius:3px;transition:border-color .2s}
.related-item:hover{border-color:#3592e2}
.related-item a{display:block}
.related-item .title{font-size:13px;color:#333;font-weight:700;margin-bottom:3px}
.related-item .desc{font-size:11px;color:#888}

/* === FAQ Section === */
.faq-section{max-width:800px;margin:20px auto;padding:0 10px}
.faq-section h3{font-size:15px;color:#333;margin-bottom:10px}
.faq-item{background:#fff;border:1px solid #e8e8e8;border-radius:3px;margin-bottom:8px;overflow:hidden}
.faq-q{padding:12px 15px;cursor:pointer;font-size:13px;font-weight:700;color:#333;display:flex;justify-content:space-between;align-items:center}
.faq-q::after{content:"+";font-size:18px;color:#3592e2;flex-shrink:0;margin-left:10px}
.faq-item.open .faq-q::after{content:"-"}
.faq-a{padding:0 15px 12px;font-size:13px;color:#666;line-height:1.7;display:none}
.faq-item.open .faq-a{display:block}

/* === Long-tail Content Pages === */
.content-body{font-size:15px;line-height:1.9;color:#444;margin:20px 0}
.content-body p{margin-bottom:18px;text-align:justify}
.content-body h2{font-size:18px;color:#333;margin:30px 0 12px;padding-bottom:8px;border-bottom:2px solid #3592e2}
.content-body h3{font-size:16px;color:#333;margin:24px 0 10px}
.content-body ul,.content-body ol{margin:10px 0 18px 20px}
.content-body li{margin-bottom:8px;line-height:1.7}
.content-body strong{color:#333}
.content-body .highlight{background:#e8f4fd;padding:2px 6px;border-radius:2px}
.content-body .note{margin:15px 0;padding:12px 15px;background:#f5f5f5;border-left:3px solid #3592e2;border-radius:0 3px 3px 0;font-size:14px}
.content-body .warning{margin:15px 0;padding:12px 15px;background:#fff3e0;border-left:3px solid #F78015;border-radius:0 3px 3px 0;font-size:14px}
.tool-cta{background:#f0f7ff;border:1px solid #d0e3f7;border-radius:5px;padding:20px;text-align:center;margin:30px 0}
.tool-cta p{font-size:15px;color:#333;margin-bottom:12px}
.related-content{margin:30px 0;padding:20px;background:#fafafa;border-radius:5px}
.related-content h3{font-size:15px;color:#333;margin-bottom:12px}
.related-content ul{list-style:none;padding:0}
.related-content li{margin-bottom:8px}
.related-content li a{color:#3592e2;font-size:14px}
.related-content li a:hover{text-decoration:underline}

/* === Long-tail Content List === */
.long-tail-list{max-width:800px;margin:20px auto;padding:0 10px}
.long-tail-list h3{font-size:15px;color:#333;margin-bottom:10px;padding-left:10px;border-left:3px solid #3592e2}
.long-tail-list ul{list-style:none;padding:0;margin:0}
.long-tail-list li{margin-bottom:8px}
.long-tail-list li a{display:block;padding:10px 12px;background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#333;font-size:14px;transition:border-color .2s,background .2s}
.long-tail-list li a:hover{border-color:#3592e2;background:#f0f7ff;color:#3592e2}
.long-tail-list li a::before{content:"📄 ";font-size:12px;margin-right:5px}

/* === Footer === */
.site-footer{background:#2B2D2E;color:#aaa;padding:30px 10px;margin-top:40px;font-size:12px;text-align:center}
.site-footer a{color:#ccc}
.site-footer a:hover{color:#fff}
.footer-links{margin-bottom:15px}
.footer-links a{margin:0 10px}

/* === Mobile Responsive === */
@media(max-width:768px){
  .body1000{padding:0 5px}
  .tool-container{padding:15px 8px}
  .input-section,.result-section{padding:15px}
  .result-big{font-size:28px}
  .input-row{flex-direction:column;gap:0}
  .input-row .input-group{min-width:auto}
  .daohang a{padding:0 10px;font-size:13px}
  .related-list{flex-direction:column}
  .related-item{max-width:none}
  .comparison-table{font-size:12px}
  .comparison-table th,.comparison-table td{padding:6px 8px}
  .btn-group{flex-direction:column}
  .btn-group .btn{width:100%}
}
@media(max-width:480px){
  html{font-size:13px}
  .tool-header h1{font-size:18px}
  .result-big{font-size:24px}
}

/* === Print === */
@media print{
  .bartop,.daohang,.breadcrumb,.site-footer,.related-tools,.faq-section,.btn-group{display:none!important}
  .input-section{display:none!important}
  .result-section{display:block!important;border:none;padding:0}
  body{background:#fff}
}
