/* One dark summary card per farm in the opening screen. */
.home-fields-page .hero-farm-summary{top:calc(var(--home-nav-height,146px) + 18px);bottom:clamp(70px,10vh,120px);max-height:none;scroll-margin-top:calc(var(--home-nav-height,146px) + 18px)}
.home-fields-page .hero-fields-title{font:750 18px var(--f-display);line-height:1.25;color:var(--gold-2);margin:0;padding:0 3px;overflow-wrap:anywhere;flex:none}
.home-fields-page .hero-farm-card{background:rgba(10,14,9,.9);border:1px solid rgba(241,243,234,.24);border-radius:10px;padding:13px}
.home-fields-page .hero-farm-open{display:block;height:auto;text-decoration:none;color:var(--cotton)}
.home-fields-page .hero-farm-card:focus-within,.home-fields-page .hero-farm-card:hover{border-color:var(--gold)}
.home-fields-page .hero-farm-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:13px;margin-top:14px}
.home-fields-page .hero-farm-metric{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0}
.home-fields-page .hero-farm-values>.hero-farm-metric:last-child:nth-child(odd){grid-column:1/-1}
.home-fields-page .hero-farm-metric>span{font-size:14px;font-weight:600;color:rgba(241,243,234,.76);line-height:1.4}
.home-fields-page .hero-farm-metric>strong{font:750 20px/1.2 var(--f-display);margin-top:auto;color:var(--cotton);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.home-fields-page .hero-farm-action{font-size:13px;font-weight:750;line-height:1.5;color:var(--gold-2)}
.home-fields-page .hero-farm-summary>#admin-link{flex:none;color:var(--gold-2);font-size:13px;font-weight:700;line-height:1.5;text-underline-offset:4px;padding:7px 3px}
.home-fields-page .hero-field-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:10px;max-width:440px;width:100%;margin-top:0}
.home-fields-page .hero-field-actions .btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:50px;box-sizing:border-box;padding:12px 14px;border:1px solid transparent;border-radius:8px;background:var(--gold);color:var(--ink);font-size:14px;font-weight:750;line-height:1.4;white-space:normal;text-align:left;text-decoration:none}
.home-fields-page .hero-field-actions .btn span:last-child{flex:none;font-size:18px}
.home-fields-page .hero-field-actions .btn:hover{background:var(--gold-2)}
.home-fields-page .hero-field-actions .btn:focus-visible{outline:3px solid var(--cotton);outline-offset:3px}
@media(max-width:1100px){.home-fields-page .hero-farm-summary{top:auto;bottom:auto;max-height:none}.home-fields-page .hero-farm-cards{max-height:560px}}
@media(max-width:600px){.home-fields-page .hero-farm-summary{max-height:none}.home-fields-page .hero-field-actions .btn{padding:11px 12px;min-height:52px;font-size:13px}.home-fields-page .hero-fields-title{font-size:20px}}

@media(min-width:1101px){.home-fields-page .hero-farm-summary{width:clamp(270px,26vw,340px)}}

.home-fields-page .hero-farm-title{font-size:20px;line-height:1.3;color:var(--gold-2);white-space:normal;overflow-wrap:anywhere}
.home-fields-page .home-report-footer{align-items:stretch;gap:8px;padding:0;margin-top:-6px;width:100%;max-width:440px;background:transparent}
.home-fields-page .home-report-footer .btn{width:100%;min-height:48px;padding:12px 20px}
.home-fields-page .home-report-footer p{margin:0}

/* Compact opening content and keep the export beside the field actions. */
.home-fields-page .hero .hero-inner{padding-top:calc(var(--home-nav-height,146px) + 18px);padding-bottom:38px;gap:18px}
.home-fields-page .hero-farm-summary{gap:9px}
.home-fields-page .hero-farm-season-link{display:block;margin-top:10px;padding:9px 0 0;border-top:1px solid #ffffff24;color:var(--gold-2);font-size:13px;font-weight:750;text-decoration:none}
.home-fields-page .hero-farm-season-link:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media(max-width:1100px){.home-fields-page .hero .hero-inner{padding-top:calc(var(--home-nav-height,146px) + 18px);padding-bottom:24px}.home-fields-page .hero-farm-summary{margin-bottom:28px}}
@media(max-width:600px){.home-fields-page .hero .hero-inner{padding-top:calc(var(--home-nav-height,142px) + 18px);gap:16px}.home-fields-page .hero-farm-summary{margin-bottom:22px}}

.home-fields-page .hero-field-actions>a:last-child:nth-child(odd){grid-column:1/-1}

/* Reduce the home footer height without resizing its content. */
.home-fields-page .foot{padding-block:10px 12px}

/* Export scope stays with the report button and fits narrow screens. */
.home-fields-page .home-report-season{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:700;color:var(--cotton);min-width:0}
.home-fields-page .home-report-season select{min-width:0;max-width:65%;min-height:42px;padding:8px 12px;border:1px solid rgba(241,243,234,.4);border-radius:8px;background:var(--ink);color:var(--cotton);font:inherit;color-scheme:dark}
.home-fields-page .home-report-season select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.home-fields-page .home-report-help{font-size:12px;line-height:1.45;color:rgba(241,243,234,.78);overflow-wrap:anywhere}

/* Keep the download and season controls together, including on phones. */
.home-fields-page .home-report-controls{display:grid;grid-template-columns:minmax(0,3.4fr) minmax(72px,1fr);align-items:end;gap:10px;width:100%}
.home-fields-page .home-report-controls>.btn{min-height:50px;padding:12px 14px;font-size:14px;white-space:normal}
.home-fields-page .home-report-controls .home-report-season{flex-direction:column;align-items:stretch;gap:5px;font-size:12px}
.home-fields-page .home-report-controls .home-report-season select{width:100%;max-width:none;min-height:50px}

/* Compact season choice; its accessible name is on the select. */
.home-fields-page .home-report-controls .home-report-season{width:100%;min-width:0;gap:0}
.home-fields-page .home-report-controls .home-report-season select{padding-inline:6px}

@media(max-width:600px){.home-fields-page .home-report-controls>.btn{min-height:52px;padding:11px 12px;font-size:13px}.home-fields-page .home-report-controls .home-report-season select{min-height:52px}}

/* Share the shortcut grid's row height, including when labels wrap on phones. */
.home-fields-page .hero-field-actions>a[href="hasat-satis.html"]{grid-column:1/-1}
.home-fields-page .hero-field-actions>.home-report-controls{grid-column:1/-1;height:100%;align-items:stretch}
.home-fields-page .home-report-controls>.btn{height:100%;justify-content:center;text-align:center}
.home-fields-page .home-report-controls .home-report-season{height:100%}
.home-fields-page .home-report-controls .home-report-season select{height:100%}

.home-fields-page .finance-hero-title{font-size:clamp(34px,4.4vw,64px)!important}
.home-fields-page .hero-field-actions>a[href="tarla-bilgileri.html"]{grid-column:1/-1}
@media(max-width:600px){.home-fields-page .finance-hero-title{font-size:clamp(26px,7.3vw,36px)!important}}

/* Home summaries follow one agricultural season, independently of the report scope. */
.home-fields-page .home-summary-season{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--cotton);font-size:14px;font-weight:700;flex:none}
.home-fields-page .home-summary-season select{width:110px;min-height:42px;border:1px solid #ffffff66;border-radius:8px;background:var(--ink);color:var(--cotton);color-scheme:dark;padding:8px 12px;font:inherit}
.home-fields-page .home-summary-season select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.home-fields-page .hero-field-actions{display:block}
.home-fields-page .home-report-controls{width:274px;max-width:100%;grid-template-columns:minmax(0,166px) minmax(72px,98px)}
.home-fields-page .home-report-footer #admin-link{width:220px;max-width:100%;align-self:flex-start;justify-content:center;text-align:center}
@media(max-width:600px){.home-fields-page .home-report-controls{width:245px;grid-template-columns:minmax(0,163px) 72px}.home-fields-page .home-report-footer #admin-link{width:163px}}

/* The field entry action belongs beside the home report controls, outside the menu. */
.home-fields-page .hero-field-actions>.home-add-field{width:166px;max-width:100%;justify-content:center;text-align:center;margin-bottom:10px}
@media(max-width:600px){.home-fields-page .hero-field-actions>.home-add-field{width:163px}}

.home-fields-page .hero-field-actions>.home-report-controls{height:auto;align-items:stretch}
.home-fields-page .home-report-controls>.btn,.home-fields-page .home-report-controls .home-report-season,.home-fields-page .home-report-controls .home-report-season select{height:auto}

.home-fields-page .home-summary-season>span{font-size:20px;font-weight:800;color:var(--gold-2);line-height:1.3}

/* Give both home season boxes more horizontal room within the summary column. */
.home-fields-page .home-summary-season>.season-choice-caption{flex:1;min-width:0;justify-content:center}
.home-fields-page .home-summary-season select{width:140px;max-width:50%;flex:0 0 auto}

/* Make the home action labels easier to read without widening the controls. */
.home-fields-page .hero .hero-field-actions .btn,
.home-fields-page .hero .home-report-footer #admin-link{font-size:18px;line-height:1.35}
.home-fields-page .home-report-controls .home-report-season select{flex:1}
@media(max-width:600px){
 .home-fields-page .hero .hero-field-actions .btn,
 .home-fields-page .hero .home-report-footer #admin-link{font-size:16px;line-height:1.35}
}

/* Separate the report actions and keep both gold controls a little narrower. */
.home-fields-page .hero-field-actions>.home-report-controls{width:258px;grid-template-columns:minmax(0,150px) minmax(72px,98px)}
.home-fields-page .hero-field-actions>.home-advice-link{width:150px;margin-top:14px}
@media(max-width:600px){
 .home-fields-page .hero-field-actions>.home-report-controls{width:230px;grid-template-columns:minmax(0,148px) 72px}
 .home-fields-page .hero-field-actions>.home-advice-link{width:148px}
}

/* Reduce vertical whitespace throughout the home page's button controls. */
.home-fields-page .hero .hero-field-actions .btn,
.home-fields-page .hero .home-report-footer #admin-link,
.home-fields-page .nav .btn{min-height:38px;padding-top:5px;padding-bottom:5px;line-height:1.2}
.home-fields-page .home-report-controls .home-report-season select,
.home-fields-page .home-summary-season select{min-height:38px;padding-top:5px;padding-bottom:5px;line-height:1.2}
.home-fields-page .home-summary-season>.season-choice-caption{min-height:38px;padding-top:5px;padding-bottom:5px;box-sizing:border-box}
.home-fields-page #nav-toggle{min-height:38px;padding-top:5px;padding-bottom:5px;line-height:1.2}

/* Keep the homepage action labels compact. */
.home-fields-page .hero-field-actions>.home-add-field,.home-fields-page .home-report-controls>.btn,.home-fields-page .hero-field-actions>.home-advice-link{font-size:13px}
@media(max-width:600px){.home-fields-page .hero-field-actions>.home-add-field,.home-fields-page .home-report-controls>.btn,.home-fields-page .hero-field-actions>.home-advice-link{font-size:12px}}

/* Match the Tarla Ekle control to the report buttons and make the season year equally legible. */
.home-fields-page .hero-field-actions>.home-add-field{width:150px}
.home-fields-page .hero-field-actions .home-report-controls .home-report-season select{font-size:18px}
@media(max-width:600px){.home-fields-page .hero-field-actions>.home-add-field{width:148px}.home-fields-page .hero-field-actions .home-report-controls .home-report-season select{font-size:16px}}

/* Tarla Ekle and the Excel action use matching button dimensions. */
.home-fields-page .hero-field-actions>.home-add-field,.home-fields-page .hero-field-actions .home-report-controls>.btn{min-height:60px;box-sizing:border-box}
@media(max-width:600px){.home-fields-page .hero-field-actions>.home-add-field,.home-fields-page .hero-field-actions .home-report-controls>.btn{min-height:54px}}

/* Match the Add Field button to Excel in both width and height. */
.home-fields-page .hero .hero-field-actions>a.home-add-field{width:150px;min-height:60px;box-sizing:border-box}
@media(max-width:600px){.home-fields-page .hero .hero-field-actions>a.home-add-field{width:148px;min-height:54px}}
