.vy-calc-page {
max-width: 1240px;
margin: 0 auto;
padding-top: 0px;
padding-bottom: 20px;
padding-left: 56px;
padding-right: 56px;
box-sizing: border-box;
} .vy-calc-card {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 18px;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
padding: 32px 36px;
margin-bottom: 28px;
box-sizing: border-box;
} .vy-calc-card-main {
background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
} .vy-calc-section-title {
margin: 0 0 12px 0;
font-size: 30px;
line-height: 1.25;
font-weight: 800;
color: #111827;
letter-spacing: -0.01em;
} .vy-calc-subtitle {
margin: 0 0 18px 0;
font-size: 17px;
line-height: 1.8;
color: #4b5563;
} .vy-calc-card h2,
.vy-calc-card .vy-content h2 {
margin: 34px 0 14px 0;
font-size: 26px;
line-height: 1.3;
font-weight: 800;
color: #111827;
}
.vy-calc-card h3,
.vy-calc-card .vy-content h3 {
margin: 24px 0 12px 0;
font-size: 21px;
line-height: 1.35;
font-weight: 700;
color: #111827;
} .vy-content p,
.vy-calc-card p {
margin: 0 0 18px 0;
font-size: 16px;
line-height: 1.85;
color: #374151;
} .vy-content ul,
.vy-content ol,
.vy-calc-card ul,
.vy-calc-card ol {
margin: 0 0 22px 24px;
padding: 0;
color: #374151;
}
.vy-content li,
.vy-calc-card li {
margin-bottom: 9px;
font-size: 16px;
line-height: 1.8;
} .vy-calc-hero {
margin-bottom: 22px;
}
.vy-calc-hero-badge {
display: inline-block;
margin-bottom: 14px;
padding: 6px 12px;
border-radius: 999px;
background: #eff8f1;
border: 1px solid #d8ecd9;
color: #166534;
font-size: 13px;
font-weight: 700;
line-height: 1;
} .vy-tool-shell {
padding-top: 8px;
}  .vy-tool-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
margin-top: 20px;
} .vy-tool-grid a,
.vy-tool-grid button,
.vy-tool-grid .button,
.vy-tool-grid input[type="button"],
.vy-tool-grid input[type="submit"] {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 58px;
padding: 14px 16px;
box-sizing: border-box;
text-align: center;
white-space: normal;
line-height: 1.45;
text-decoration: none;
border-radius: 14px;
border: 1px solid #d7e5f8;
background: linear-gradient(180deg, #4fa3e3 0%, #3d8fcd 100%);
color: #ffffff !important;
font-size: 16px;
font-weight: 700;
box-shadow: 0 6px 14px rgba(61, 143, 205, 0.16);
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
} .vy-tool-grid a:hover,
.vy-tool-grid button:hover,
.vy-tool-grid .button:hover,
.vy-tool-grid input[type="button"]:hover,
.vy-tool-grid input[type="submit"]:hover {
transform: translateY(-1px);
box-shadow: 0 10px 18px rgba(61, 143, 205, 0.22);
background: linear-gradient(180deg, #4399db 0%, #357fbb 100%);
} .vy-faq-item {
padding: 18px 0;
border-top: 1px solid #edf0f2;
}
.vy-faq-item:first-child {
border-top: none;
padding-top: 6px;
}
.vy-faq-question {
margin: 0 0 8px 0;
font-size: 19px;
line-height: 1.5;
font-weight: 700;
color: #111827;
}
.vy-faq-answer {
margin: 0;
font-size: 16px;
line-height: 1.85;
color: #4b5563;
} .vy-calc-card input[type="text"],
.vy-calc-card input[type="number"],
.vy-calc-card input[type="email"],
.vy-calc-card input[type="date"],
.vy-calc-card select,
.vy-calc-card textarea {
width: 100%;
max-width: 100%;
padding: 12px 14px;
border: 1px solid #d1d5db;
border-radius: 12px;
background: #ffffff;
color: #111827;
font-size: 15px;
line-height: 1.4;
box-sizing: border-box;
}
.vy-calc-card input[type="text"]:focus,
.vy-calc-card input[type="number"]:focus,
.vy-calc-card input[type="email"]:focus,
.vy-calc-card input[type="date"]:focus,
.vy-calc-card select:focus,
.vy-calc-card textarea:focus {
outline: none;
border-color: #8bc2ef;
box-shadow: 0 0 0 4px rgba(79, 163, 227, 0.12);
} .vy-calc-card input[type="submit"],
.vy-calc-card button,
.vy-tool-primary {
border-radius: 12px;
} .vy-calc-card table {
width: 100%;
border-collapse: collapse;
margin: 16px 0 22px 0;
font-size: 15px;
}
.vy-calc-card table th,
.vy-calc-card table td {
border: 1px solid #e5e7eb;
padding: 12px 14px;
text-align: left;
line-height: 1.6;
}
.vy-calc-card table th {
background: #f8fafc;
color: #111827;
font-weight: 700;
} .vy-note-box {
margin: 18px 0 22px 0;
padding: 16px 18px;
border-radius: 14px;
background: #f8fbff;
border: 1px solid #dbeafe;
color: #334155;
font-size: 15px;
line-height: 1.8;
} @media (max-width: 900px) { .vy-tool-grid {
grid-template-columns: 1fr;
} .vy-tool-grid a,
.vy-tool-grid button,
.vy-tool-grid .button,
.vy-tool-grid input[type="button"],
.vy-tool-grid input[type="submit"] {
min-height: 54px;
font-size: 15px;
} .vy-calc-page {
width: 100%;
max-width: 100%;
margin: 0 auto;
padding-left: 14px;
padding-right: 14px;
padding-top: 18px;
padding-bottom: 44px;
box-sizing: border-box;
}
.vy-calc-card {
width: 100%;
padding: 22px 18px;
border-radius: 16px;
margin-bottom: 20px;
box-sizing: border-box;
}
.vy-calc-section-title {
font-size: 25px;
}
.vy-calc-subtitle {
font-size: 15px;
line-height: 1.75;
}
.vy-calc-card h2,
.vy-calc-card .vy-content h2 {
font-size: 22px;
margin-top: 28px;
}
.vy-calc-card h3,
.vy-calc-card .vy-content h3 {
font-size: 18px;
}
.vy-content p,
.vy-calc-card p,
.vy-content li,
.vy-calc-card li {
font-size: 15px;
}
}
.ts-wrapper.single .ts-control {
min-height: 48px;
border-radius: 12px;
border: 1px solid #d1d5db;
padding: 10px 14px;
box-shadow: none;
}
.ts-dropdown {
border-radius: 12px;
border: 1px solid #d1d5db;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
#selectedLocationText {
min-height: 20px;
}  .vy-calc-card {
margin-bottom: 20px;
} #curve_chart {
width: 100%;
min-height: 500px;
} #plantInfo.hidden {
display: none !important;
} .ts-wrapper.single .ts-control {
min-height: 54px;
border-radius: 12px;
border: 1px solid #d1d5db;
padding: 10px 14px;
box-shadow: none;
background: #fff;
}
.ts-wrapper.focus .ts-control {
border-color: #8bc2ef;
box-shadow: 0 0 0 4px rgba(79, 163, 227, 0.12);
}
.ts-dropdown {
border-radius: 12px;
border: 1px solid #d1d5db;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
overflow: hidden;
}
.ts-dropdown .option {
padding: 12px 14px;
line-height: 1.5;
}
#selectedLocationText {
min-height: 20px;
} .vy-loading-overlay {
position: fixed;
inset: 0;
background: rgba(255, 255, 255, 0.72);
backdrop-filter: blur(2px);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}
.vy-loading-box {
min-width: 240px;
max-width: 320px;
padding: 24px 24px 20px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 18px;
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
text-align: center;
}
.vy-loading-spinner {
width: 44px;
height: 44px;
margin: 0 auto 14px;
border-radius: 50%;
border: 4px solid #e5e7eb;
border-top-color: #3d8fcd;
animation: vy-spin 0.9s linear infinite;
}
.vy-loading-title {
margin: 0;
font-size: 18px;
font-weight: 700;
color: #111827;
}
.vy-loading-text {
margin: 8px 0 0 0;
font-size: 14px;
line-height: 1.6;
color: #4b5563;
}
@keyframes vy-spin {
to {
transform: rotate(360deg);
}
} @media (max-width: 900px) {
#curve_chart {
min-height: 480px;
}
}
@keyframes vy-spin {
to {
transform: rotate(360deg);
}
}
.btn-submit:disabled {
opacity: 0.75;
cursor: not-allowed;
} .ts-wrapper.single .ts-control {
min-height: 42px; height: 42px;
padding: 0 14px; display: flex;
align-items: center; border-radius: 10px;
border: 1px solid #d1d5db;
background: #fff;
box-shadow: none;
} .ts-wrapper.single .ts-control .item {
line-height: 42px; padding: 0;
font-size: 15px;
} .ts-wrapper.single .ts-control input {
height: 42px;
line-height: 42px;
padding: 0;
margin: 0;
} .ts-wrapper.single .ts-control input::placeholder {
line-height: 42px;
} .ts-wrapper.focus .ts-control {
border-color: #8bc2ef;
box-shadow: 0 0 0 3px rgba(79,163,227,0.15);
}
.field-wrap {
margin-bottom: 22px;
}
.plant-info {
display: flex;
gap: 16px;
align-items: flex-start;
padding: 16px;
border: 1px solid #dbe7d8;
border-radius: 16px;
background: #f7fcf8;
margin-top: 16px;
}
.plant-info.hidden {
display: none !important;
}
.plant-info img {
width: 96px;
height: 96px;
object-fit: cover;
border-radius: 14px;
flex-shrink: 0;
background: #fff;
border: 1px solid #e5e7eb;
}
.plant-info-content h2 {
margin: 0 0 6px 0 !important;
font-size: 22px !important;
}
.plant-info-content p {
margin-bottom: 10px;
}
.plant-info-content a {
color: #1d4ed8;
text-decoration: underline;
font-weight: 600;
}
.soil-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
margin-top: 12px;
}
.soil-option input[type="radio"] {
display: none;
}
.soil-card {
border: 1px solid #d1d5db;
border-radius: 16px;
padding: 12px;
background: #ffffff;
text-align: center;
cursor: pointer;
transition: all 0.18s ease;
height: 100%;
box-sizing: border-box;
}
.soil-card:hover {
transform: translateY(-1px);
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.soil-card img {
width: 100%;
max-width: 140px;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 12px;
margin-bottom: 10px;
border: 1px solid #e5e7eb;
background: #fff;
}
.soil-label {
display: block;
font-size: 15px;
font-weight: 700;
color: #111827;
}
.soil-option input[type="radio"]:checked + .soil-card {
border-color: #4fa3e3;
box-shadow: 0 0 0 4px rgba(79, 163, 227, 0.12);
background: #f8fbff;
}
.notice {
margin-top: 16px;
font-size: 14px;
line-height: 1.7;
display: none;
}
#error-message {
color: #b91c1c;
}
#success-message {
color: #166534;
}
.result-intro {
margin-bottom: 12px;
}
.result-list {
margin: 0 0 20px 20px;
padding: 0;
}
.result-list li {
margin-bottom: 6px;
}
.charts-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin-top: 10px;
}
.chart-card {
border: 1px solid #e5e7eb;
border-radius: 16px;
padding: 12px;
background: #ffffff;
}
.chart-card > div {
width: 100%;
min-height: 320px;
}
@media (max-width: 900px) {
.soil-grid {
grid-template-columns: 1fr;
}
.plant-info {
flex-direction: column;
}
.plant-info img {
width: 88px;
height: 88px;
}
.charts-grid {
grid-template-columns: 1fr;
}
.chart-card > div {
min-height: 300px;
}
} .viviyard-related-tools-wrap .list-btn-pro {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin: 20px 0 0;
padding: 0;
list-style: none;
} .viviyard-related-tools-wrap .list-btn-pro li {
margin: 0;
padding: 0;
list-style: none;
} .viviyard-related-tools-wrap .list-btn-pro a,
.viviyard-related-tools-wrap .list-btn-pro button,
.viviyard-related-tools-wrap .list-btn-pro .button,
.viviyard-related-tools-wrap .list-btn-pro input[type="button"],
.viviyard-related-tools-wrap .list-btn-pro input[type="submit"] {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 58px;
padding: 14px 18px;
box-sizing: border-box;
text-align: center;
white-space: normal;
line-height: 1.45;
text-decoration: none !important;
border-radius: 14px;
border: 1px solid #d7e5f8;
background: linear-gradient(180deg, #4fa3e3 0%, #3d8fcd 100%);
color: #ffffff !important;
font-size: 16px;
font-weight: 700;
box-shadow: 0 6px 14px rgba(61, 143, 205, 0.16);
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.viviyard-related-tools-wrap .list-btn-pro a:hover,
.viviyard-related-tools-wrap .list-btn-pro button:hover,
.viviyard-related-tools-wrap .list-btn-pro .button:hover,
.viviyard-related-tools-wrap .list-btn-pro input[type="button"]:hover,
.viviyard-related-tools-wrap .list-btn-pro input[type="submit"]:hover {
transform: translateY(-1px);
box-shadow: 0 10px 18px rgba(61, 143, 205, 0.22);
background: linear-gradient(180deg, #4399db 0%, #357fbb 100%);
}
@media (max-width: 900px) {
.viviyard-related-tools-wrap .list-btn-pro {
grid-template-columns: 1fr;
}
.viviyard-related-tools-wrap .list-btn-pro a,
.viviyard-related-tools-wrap .list-btn-pro button,
.viviyard-related-tools-wrap .list-btn-pro .button,
.viviyard-related-tools-wrap .list-btn-pro input[type="button"],
.viviyard-related-tools-wrap .list-btn-pro input[type="submit"] {
min-height: 54px;
font-size: 16px;
}
} .vy-save-result {
margin-top: 18px;
border-top: 1px solid #e5e7eb;
padding-top: 18px;
}
.vy-save-result h3 {
font-size: 18px;
margin-bottom: 6px;
}
.vy-save-result p {
font-size: 14px;
color: #6b7280;
margin-bottom: 12px;
} .vy-save-result-row {
display: flex;
gap: 10px;
flex-wrap: wrap;
} .vy-save-result-input {
flex: 1;
min-width: 220px;
padding: 10px 12px;
font-size: 14px;
border: 1px solid #d1d5db;
border-radius: 6px;
outline: none;
transition: border 0.2s ease;
}
.vy-save-result-input:focus {
border-color: #3b82f6;
} .vy-save-result button {
white-space: nowrap;
} .vy-save-result .notice {
font-size: 14px;
padding: 10px 12px;
border-radius: 6px;
background: #f3f4f6;
color: #111827;
} .vy-save-result .notice-success {
background: #ecfdf5;
color: #065f46;
} .vy-save-result .notice-error {
background: #fef2f2;
color: #991b1b;
} @media (max-width: 640px) {
.vy-save-result-row {
flex-direction: column;
}
.vy-save-result-input {
width: 100%;
}
.vy-save-result button {
width: 100%;
}
}  .vy-tool-primary {
background: #2563eb;
color: #fff;
border: none;
padding: 11px 18px;
font-size: 15px;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
}
.vy-tool-primary:hover {
background: #1d4ed8;
}
.vy-tool-primary:disabled {
background: #9ca3af;
cursor: not-allowed;
} .vy-tool-secondary {
background: #f5f5f7;
color: #111827;
border: 1px solid #d1d5db;
padding: 11px 20px;
font-size: 14px;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
flex-shrink: 0 !important;
} .vy-tool-secondary:hover {
background: #f9fafb;
border-color: #9ca3af;
} .vy-tool-secondary:active {
background: #f3f4f6;
} .vy-tool-secondary:disabled {
background: #f3f4f6;
color: #9ca3af;
border-color: #e5e7eb;
cursor: not-allowed;
} .vy-save-result-row {
display: flex;
gap: 12px;
align-items: stretch;
flex-wrap: nowrap;
} .vy-save-result-input {
flex: 1 1 auto;
min-width: 0;
width: 100%;
padding: 12px 14px;
font-size: 16px;
border: 1px solid #d1d5db;
border-radius: 10px;
outline: none;
box-sizing: border-box;
} .vy-save-result-row .vy-tool-secondary,
.vy-save-result-row button.vy-tool-secondary,
.vy-save-result-row input[type="button"].vy-tool-secondary,
.vy-save-result-row input[type="submit"].vy-tool-secondary {
flex: 0 0 auto;
width: auto !important;
min-width: 132px;
padding: 0 22px !important;
height: 48px;
line-height: 48px;
white-space: nowrap;
border: 1px solid #d1d5db;
border-radius: 10px;
background: #f5f5f7;
color: #111827;
font-size: 15px;
font-weight: 600;
cursor: pointer;
box-sizing: border-box;
appearance: none;
-webkit-appearance: none;
}
.vy-save-result-row .vy-tool-secondary:hover,
.vy-save-result-row button.vy-tool-secondary:hover,
.vy-save-result-row input[type="button"].vy-tool-secondary:hover,
.vy-save-result-row input[type="submit"].vy-tool-secondary:hover {
background: #f9fafb;
border-color: #9ca3af;
}
.vy-save-result-row .vy-tool-secondary:disabled,
.vy-save-result-row button.vy-tool-secondary:disabled,
.vy-save-result-row input[type="button"].vy-tool-secondary:disabled,
.vy-save-result-row input[type="submit"].vy-tool-secondary:disabled {
background: #f3f4f6;
color: #9ca3af;
border-color: #e5e7eb;
cursor: not-allowed;
} @media (max-width: 640px) {
.vy-save-result-row {
flex-direction: column;
}
.vy-save-result-input,
.vy-save-result-row button {
width: 100%;
}
.vy-save-result-input {
height: 48px !important;
padding: 0 12px;
box-sizing: border-box;
max-height: 48px !important;
}
.vy-save-result-row .vy-tool-secondary,
.vy-save-result-row button.vy-tool-secondary,
.vy-save-result-row input[type="button"].vy-tool-secondary,
.vy-save-result-row input[type="submit"].vy-tool-secondary {
width: 100% !important;
min-width: 0;
}
}
.vy-planting-summary-card {
padding: 18px;
border-radius: 16px;
background: #f0fdf4;
border: 1px solid #bbf7d0;
margin: 18px 0;
}
.vy-planting-label {
font-size: 14px;
font-weight: 700;
color: #166534;
margin-bottom: 6px;
}
.vy-planting-date {
font-size: 28px;
font-weight: 800;
color: #14532d;
margin-bottom: 8px;
}
.vy-planting-month-grid {
display: grid;
grid-template-columns: repeat(6, minmax(90px, 1fr));
gap: 10px;
margin: 18px 0 24px;
}
.vy-month-card {
border-radius: 14px;
padding: 14px 10px;
text-align: center;
border: 1px solid #e5e7eb;
background: #ffffff;
}
.vy-month-name {
font-weight: 800;
font-size: 16px;
margin-bottom: 6px;
}
.vy-month-status {
font-size: 13px;
font-weight: 700;
}
.vy-month-best {
background: #dcfce7;
border-color: #86efac;
color: #14532d;
}
.vy-month-good {
background: #ecfdf5;
border-color: #bbf7d0;
color: #166534;
}
.vy-month-possible {
background: #fefce8;
border-color: #fde68a;
color: #854d0e;
}
.vy-month-avoid {
background: #f9fafb;
color: #6b7280;
}
@media (max-width: 768px) {
.vy-planting-month-grid {
grid-template-columns: repeat(3, minmax(80px, 1fr));
}
.vy-planting-date {
font-size: 22px;
}
}
.vy-weather-card-list {
display: grid;
gap: 16px;
margin-top: 20px;
}
.vy-weather-day-card {
border: 1px solid #e5e7eb;
border-radius: 18px;
padding: 18px;
background: #fff;
box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}
.vy-weather-card-top {
display: flex;
justify-content: space-between;
gap: 16px;
align-items: flex-start;
margin-bottom: 10px;
}
.vy-weather-date {
font-size: 14px;
font-weight: 700;
color: #64748b;
}
.vy-weather-card-top h3 {
margin: 4px 0 0;
font-size: 20px;
}
.vy-weather-badge {
border-radius: 999px;
padding: 6px 12px;
font-size: 13px;
font-weight: 800;
text-transform: capitalize;
}
.vy-weather-good {
border-color: #bbf7d0;
background: #f0fdf4;
}
.vy-weather-watch {
border-color: #fde68a;
background: #fffbeb;
}
.vy-weather-risky {
border-color: #fecaca;
background: #fff7f7;
}
.vy-weather-good .vy-weather-badge {
background: #dcfce7;
color: #166534;
}
.vy-weather-watch .vy-weather-badge {
background: #fef3c7;
color: #92400e;
}
.vy-weather-risky .vy-weather-badge {
background: #fee2e2;
color: #991b1b;
}
.vy-weather-factor-grid {
display: grid;
grid-template-columns: repeat(4, minmax(110px, 1fr));
gap: 10px;
margin: 14px 0;
}
.vy-weather-factor {
padding: 10px;
border-radius: 14px;
background: rgba(255,255,255,0.65);
border: 1px solid #e5e7eb;
}
.vy-weather-factor span,
.vy-weather-factor strong {
display: block;
}
.vy-weather-factor span {
font-size: 13px;
color: #64748b;
}
.vy-weather-factor strong {
margin-top: 4px;
text-transform: capitalize;
}
.vy-factor-good strong {
color: #166534;
}
.vy-factor-low strong,
.vy-factor-high strong {
color: #b45309;
}
.vy-advanced-details {
margin-top: 24px;
padding: 16px;
border-radius: 16px;
border: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
.vy-weather-factor-grid {
grid-template-columns: repeat(2, minmax(100px, 1fr));
}
}