:root { --primary-color: #2e7d32; --primary-light: #4caf50; --background-color: #f8f9fa; --card-background: #ffffff; --text-color: #212529; --text-muted: #6c757d; --border-color: #dee2e6; --shadow: 0 4px 6px rgba(0, 0, 0, 0.05); } body { font-family: 'Inter', sans-serif; max-width: 900px; margin: 20px auto; padding: 15px; background-color: var(--background-color); color: var(--text-color); } .header { text-align: center; margin-bottom: 40px; } h1 { color: var(--primary-color); font-weight: 700; font-size: 2.5em; } .price-ticker-container { background-color: var(--text-color); color: white; padding: 10px 0; margin-bottom: 30px; border-radius: 8px; overflow: hidden; white-space: nowrap; } .price-ticker-content { display: inline-block; padding-left: 100%; animation: scroll-left 40s linear infinite; } .ticker-item { display: inline-block; margin: 0 25px; } .ticker-item .name { font-weight: 500; } .ticker-item .price { font-weight: 700; color: var(--primary-light); margin-left: 8px; } @keyframes scroll-left { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } } .module { background-color: var(--card-background); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow); } h2 { display: flex; align-items: center; gap: 12px; color: var(--primary-color); border-bottom: 1px solid var(--border-color); padding-bottom: 15px; margin-top: 0; font-size: 1.5em; font-weight: 600; } h3 { color: var(--primary-color); border-bottom: 1px solid #eee; padding-bottom: 5px; margin-top: 25px; font-weight: 600; } h4 { color: #333; margin-top: 15px; margin-bottom: 5px; } button, .option-button { background-color: var(--primary-light); color: white; padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 500; width: 100%; transition: all 0.2s; margin-bottom: 10px; } button:hover, .option-button:hover { background-color: var(--primary-color); transform: translateY(-2px); } .result-box { margin-top: 20px; padding: 20px; border-radius: 8px; background-color: #f8f9fa; line-height: 1.6; border: 1px solid var(--border-color); } input, select { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 8px; border: 1px solid var(--border-color); font-size: 1em; box-sizing: border-box; } label { font-weight: 500; margin-bottom: 8px; display: block; } ul { padding-left: 20px; } li { margin-bottom: 10px; } .item-list { list-style-type: none; padding-left: 0; } .price-item, .fertilizer-item, .pdf-item, .shap-item, .plan-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding: 12px 0; } .item-name, .plan-item-label { font-weight: 500; } .item-value, .plan-item-value { font-size: 1.1em; color: var(--primary-color); font-weight: 600; } .pdf-item a { text-decoration: none; color: var(--primary-color); font-weight: 500; } .pdf-item a:hover { text-decoration: underline; } .tabs { display: flex; border-bottom: 1px solid #ccc; margin-bottom: 20px; flex-wrap: wrap; } .tab-button { background: none; border: none; padding: 12px 18px; cursor: pointer; font-size: 1em; font-weight: 500; border-bottom: 3px solid transparent; color: var(--text-muted); } .tab-button.active { border-bottom: 3px solid var(--primary-light); color: var(--primary-color); font-weight: 600; } .tab-content { display: none; } .tab-content.active { display: block; animation: fadeIn 0.5s; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .strategy-cycle { border-left: 3px solid var(--primary-light); padding-left: 20px; margin-bottom: 25px; } table { width: 100%; border-collapse: collapse; margin-top: 15px; } th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border-color); } th { background-color: #f8f9fa; font-weight: 600; } td.cost { text-align: right; font-weight: 500; } .total-cost { font-weight: bold; text-align: right; } .input-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; } .shap-positive { color: #2e7d32; font-weight: bold; } .shap-negative { color: #d32f2f; font-weight: bold; }