/* Scoped styles: independent of the active WordPress theme. */
.sk-crops{--sk-green:#164c3e;--sk-ink:#193f35;--sk-muted:#687b72;--sk-line:#e0e8e2;color:var(--sk-ink);font-family:Tahoma,"Noto Sans Thai",Arial,sans-serif;font-size:16px;line-height:1.7;margin:24px auto;max-width:1200px;text-align:left}.sk-crops *,.sk-admin *{box-sizing:border-box}.sk-crops h2,.sk-crops h3,.sk-crops p{font-family:inherit}.sk-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#103e33,#28614c);color:white;padding:36px 40px;border-radius:20px;border-bottom:4px solid #c8ac70;box-shadow:0 10px 28px #173e3312}.sk-hero:after{content:"";position:absolute;right:-60px;top:-105px;width:290px;height:290px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 40px #ffffff06,0 0 0 80px #ffffff04;pointer-events:none}.sk-hero small{position:relative;z-index:1;color:#e0d2ad;letter-spacing:.025em;font-size:13px}.sk-hero h2{position:relative;z-index:1;color:#fff!important;font-size:clamp(26px,3.4vw,40px);font-weight:700;line-height:1.5;margin:8px 0!important}.sk-hero p{color:#d9e8df;margin:0;font-size:15px}.sk-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0 36px;padding:22px 24px;background:#fff;border:1px solid var(--sk-line);box-shadow:0 5px 20px #173e3307;border-radius:14px}.sk-controls label{display:block;font-size:13px;font-weight:700;color:var(--sk-muted)}.sk-controls select{display:block;width:100%;min-height:48px;margin-top:7px;padding:10px 30px 10px 12px;border:1px solid #d5dfd7;border-radius:8px;background:#fafcf9;color:var(--sk-ink);font:inherit;font-size:16px;line-height:1.5}.sk-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.sk-eyebrow{font-size:12px;letter-spacing:.04em;color:var(--sk-muted)}.sk-intro h3{font-size:32px!important;line-height:1.5;margin:2px 0!important;color:var(--sk-ink)}.sk-period{font-size:13px;background:#f6f2e9;color:#76613a;border:1px solid #e7dcc5;padding:6px 12px;border-radius:30px;white-space:nowrap}.sk-location{font-size:14px;color:var(--sk-muted);margin:2px 0 20px!important}.sk-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:20px 0 36px}.sk-card{grid-column:span 2;position:relative;padding:22px 24px;background:#fff;border:1px solid var(--sk-line);border-radius:14px;box-shadow:0 4px 14px #173e3305;border-top:3px solid #d2b77b}.sk-card span{font-size:14px;display:block;color:var(--sk-muted);line-height:1.6;min-height:23px}.sk-card strong{display:inline-block;font-size:clamp(28px,3.2vw,40px);font-weight:700;line-height:1.35;color:var(--sk-green);margin:14px 8px 0 0;font-variant-numeric:tabular-nums;letter-spacing:-.035em}.sk-card small{font-size:13px;color:var(--sk-muted);white-space:nowrap}.sk-metric-2{background:#164c3e;border-color:#164c3e;border-top-color:#c8ac70}.sk-metric-2 span,.sk-metric-2 small{color:#d4e3da}.sk-metric-2 strong{color:#fff}.sk-metric-3,.sk-metric-4{grid-column:span 3;background:#f4f7f2;border-top:1px solid var(--sk-line);box-shadow:none;padding:18px 24px}.sk-metric-3 strong,.sk-metric-4 strong{font-size:30px;margin-top:8px}.sk-scroll{overflow-x:auto;border:1px solid var(--sk-line);border-radius:12px}.sk-crops table{width:100%;border-collapse:collapse;min-width:820px;font-size:14px;margin:0;line-height:1.6}.sk-crops th,.sk-crops td{border:0;border-bottom:1px solid #e8ede9;padding:15px 14px;text-align:right;font-variant-numeric:tabular-nums;vertical-align:middle}.sk-crops th:first-child{text-align:left;min-width:126px}.sk-crops thead th{background:#eff4f0;color:#546d5f;font-size:12px;font-weight:700}.sk-crops tbody th{font-weight:500;color:var(--sk-ink)}.sk-crops tbody tr:nth-child(odd){background:#fafcf9}.sk-crops tbody tr:hover{background:#f0f5ef}.sk-crops tbody .sk-total{background:#e6eee6;font-weight:700}.sk-crops tbody .sk-total th{font-weight:700}.sk-crops tbody tr:last-child th,.sk-crops tbody tr:last-child td{border-bottom:0}.sk-toolbar{display:flex;gap:10px;align-items:center;margin-top:30px;margin-bottom:14px;flex-wrap:wrap}.sk-toolbar h3{font-size:20px!important;font-weight:700;margin:0 auto 0 0!important;color:var(--sk-ink)}.sk-crops button{background:#fff;color:var(--sk-green);border:1px solid #c9d8cd;border-radius:8px;padding:10px 16px;min-height:44px;cursor:pointer;font:inherit;font-size:13px;font-weight:700;line-height:1.5}.sk-crops button:hover{background:#edf4ee;border-color:#739583}.sk-crops button:focus-visible,.sk-crops select:focus-visible{outline:3px solid #a58236;outline-offset:3px}.sk-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;background:#f7f8f5;border:1px solid var(--sk-line);border-radius:14px;padding:24px;margin-top:28px;font-size:13px;color:#607369}.sk-meta h3{grid-column:1/-1;font-size:17px!important;color:var(--sk-ink);margin:0 0 8px!important}.sk-meta p{margin:0!important;overflow-wrap:anywhere}.sk-meta p:nth-last-child(-n+2){grid-column:1/-1}.sk-meta p:last-child{border-top:1px solid var(--sk-line);padding-top:12px;margin-top:8px!important;font-size:12px}.sk-notice{font-size:13px;background:#faf4e4;color:#7a6333;padding:10px 16px;border-left:3px solid #c8ac70;border-radius:6px;margin:18px 0}.sk-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.sk-fields label{display:block;font-weight:bold}.sk-fields input{display:block;width:100%;padding:10px;border:1px solid #c6d7cd;border-radius:6px;background:white;color:#243c31}.sk-edit{min-width:900px}.sk-edit input{width:100%;min-width:95px}@media(max-width:900px){.sk-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.sk-card{padding:18px}.sk-card strong{font-size:30px}}@media(max-width:600px){.sk-crops{margin:12px auto;font-size:15px}.sk-hero{padding:24px 20px;border-radius:14px}.sk-hero h2{font-size:27px}.sk-hero small{font-size:11px}.sk-hero p{font-size:13px}.sk-controls{gap:14px 10px;padding:16px;margin:18px 0 26px;border-radius:12px}.sk-controls label{font-size:12px}.sk-controls select{font-size:16px;padding-left:8px}.sk-intro{align-items:flex-start;gap:8px}.sk-intro h3{font-size:28px!important}.sk-period{font-size:11px;padding:6px 8px;margin-top:20px}.sk-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 28px}.sk-card{grid-column:span 1;padding:16px 14px;border-radius:12px}.sk-card span{font-size:12px;min-height:38px}.sk-card strong{font-size:28px;margin-top:6px}.sk-card small{font-size:11px}.sk-metric-2{grid-column:1/-1;display:flex;align-items:center;gap:10px}.sk-metric-2 span{margin-right:auto;min-height:0;font-size:14px}.sk-metric-2 strong{font-size:36px;margin:0}.sk-metric-3 strong,.sk-metric-4 strong{font-size:28px}.sk-toolbar{gap:8px}.sk-toolbar h3{width:100%;margin-bottom:4px!important}.sk-toolbar button{flex:1;padding:10px 8px;font-size:12px}.sk-crops .sk-scroll{overflow:visible;border:0;border-radius:0}.sk-crops table,.sk-crops tbody{display:block;min-width:0;width:100%}.sk-crops thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sk-crops tbody tr{display:block;border:1px solid var(--sk-line);border-radius:12px;padding:14px 16px;margin-bottom:12px;background:#fff!important}.sk-crops tbody .sk-total{background:#eff4eb!important;border-color:#cad9c5}.sk-crops tbody th{display:block;text-align:left;padding:0 0 10px!important;border-bottom:1px solid var(--sk-line)!important;font-size:17px;font-weight:700;margin-bottom:4px}.sk-crops td{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:7px 0;border:0;font-size:16px;font-weight:700}.sk-crops td:before{content:attr(data-label);font-size:12px;font-weight:400;color:var(--sk-muted);text-align:left;max-width:65%;line-height:1.65}.sk-meta{grid-template-columns:1fr;padding:20px 16px;gap:10px}.sk-fields{grid-template-columns:1fr}}@media print{.sk-controls,.sk-toolbar button,.sk-notice{display:none}.sk-crops{max-width:none}.sk-card{box-shadow:none}.sk-hero{box-shadow:none}}
/* 0.2.1: quiet grid lines and a stronger dataset title. */
.sk-crops thead th{border-right:1px solid #d6e1d8;border-bottom:1px solid #cbd9ce}
.sk-crops tbody th,.sk-crops tbody td{border-right:1px solid #dce5dd;border-bottom:1px solid #dce5dd}
.sk-crops tr>:last-child{border-right:0}
.sk-intro{padding:22px 26px;border:1px solid #d8e3d9;border-left:5px solid #b59a60;border-radius:12px;background:linear-gradient(100deg,#edf4ed,#fafbf7);margin-top:16px}
.sk-intro .sk-eyebrow{font-size:13px;color:#62796a;font-weight:700;letter-spacing:0}
.sk-intro h3{font-size:40px!important;font-weight:800!important;line-height:1.45;margin:4px 0 0!important;color:#123f31!important}
.sk-intro .sk-period{font-size:14px;font-weight:700;background:#fffaf0;border-color:#ded0b0}
.sk-location{margin:12px 0 20px!important;padding-left:4px}
@media(max-width:600px){
.sk-intro{padding:18px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;border-left-width:4px}
.sk-intro h3{font-size:34px!important;overflow-wrap:anywhere}
.sk-intro .sk-period{font-size:12px;margin-top:0}
.sk-crops tbody th{border-right:0;border-bottom:1px solid #d6e1d8!important}
.sk-crops tbody td{border-right:0;border-bottom:1px solid #e1e8e1;padding:9px 0}
.sk-crops tbody tr td:last-child{border-bottom:0}
.sk-crops tbody tr:last-child td{border-bottom:1px solid #e1e8e1}
.sk-crops tbody tr:last-child td:last-child{border-bottom:0}
}
/* 0.2.2: clearer table hierarchy with restrained horizontal rules. */
.sk-crops thead th{font-size:17px;font-weight:700;color:#244c3b;line-height:1.65;padding:17px 14px;border-bottom:1px solid #bbcdbf}
.sk-crops tbody th{font-size:18px;font-weight:700;color:#244c3b;line-height:1.6}
.sk-crops tbody td{font-size:14px}
.sk-crops tbody th,.sk-crops tbody td{border-bottom:1px solid #cbd9ce}
@media(max-width:600px){
.sk-crops tbody th{font-size:20px;padding-bottom:12px!important;border-bottom:1px solid #c4d4c8!important}
.sk-crops tbody td{font-size:16px;border-bottom:1px solid #d2ded5;padding:10px 0}
.sk-crops tbody td:before{font-size:17px;font-weight:600;color:#456352;max-width:65%}
.sk-crops tbody tr:last-child td{border-bottom:1px solid #d2ded5}
.sk-crops tbody tr td:last-child{border-bottom:0}
}
/* 0.2.3: centered headings, deliberate title lines and unbroken units. */
.sk-crops thead th,.sk-crops thead th:first-child{text-align:center;vertical-align:middle;padding:20px 14px;line-height:1.6}
.sk-crops .sk-th-label,.sk-crops .sk-th-line{display:block}
.sk-crops .sk-th-unit{display:block;white-space:nowrap;font-size:15px;font-weight:400;color:#486353;margin-top:5px;line-height:1.5}
/* 0.4.0: flexible import mapping and metric counts. */
.sk-import-scroll{overflow:auto;max-height:480px;margin:16px 0;border:1px solid #dbe4dc;background:#fff}.sk-import-scroll table{border-collapse:collapse;min-width:800px}.sk-import-scroll th,.sk-import-scroll td{padding:9px;border:1px solid #dbe4dc;vertical-align:top;max-width:300px;overflow-wrap:anywhere}.sk-import-scroll th{background:#eef4ef}.sk-import-scroll input[type=text]{min-width:160px;width:100%}.sk-admin #sk-wizard{padding:18px;background:#f4f8f3;border:1px solid #d8e4d9;border-radius:10px}.sk-admin #sk-wizard:empty{display:none}.sk-admin .button{margin:5px 6px 5px 0}.sk-admin .sk-fields input[type=checkbox]{display:inline-block;width:18px;height:18px;margin:10px}.sk-admin .sk-fields select{width:100%;min-height:40px}.sk-config{margin-bottom:16px}.sk-config td{vertical-align:middle}.sk-config input[type=text]{width:100%}.sk-cards.sk-adaptive{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sk-cards.sk-adaptive .sk-card{grid-column:auto}.sk-cards.sk-adaptive .sk-card span{min-height:42px}.sk-crops table th .sk-th-label{overflow-wrap:anywhere}@media(max-width:600px){.sk-cards.sk-adaptive{grid-template-columns:repeat(2,minmax(0,1fr))}.sk-cards.sk-adaptive .sk-metric-2{grid-column:1/-1}.sk-config{display:block;overflow-x:auto}.sk-config input[type=text]{min-width:150px}}

.sk-import-warning{padding:10px 14px;border-left:4px solid #b58c36;background:#fff8e6;color:#57431f;}
/* 0.7.0: illustrated crop portal. */
.sk-crops{background:#faf8f1;padding:20px;border:1px solid #eeeadd;border-radius:20px;max-width:1240px}
.sk-crops .sk-hero{isolation:isolate;min-height:300px;padding:32px 40px;border-radius:14px;background:#153f34;display:flex;align-items:center}
.sk-hero .sk-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;margin:0;max-width:none}
.sk-crops .sk-hero:after{inset:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;background:linear-gradient(90deg,#103e33e8 0%,#103e3390 45%,transparent 75%);z-index:-1}
.sk-hero-content{max-width:65%}.sk-crops .sk-hero h2{font-size:clamp(30px,4vw,52px);line-height:1.25;margin:12px 0!important}.sk-hero h2 span{display:block;color:#f3d58b}.sk-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.sk-crops .sk-hero-actions button{background:#c1a05d;color:#102f27;border-color:#c1a05d;font-size:14px}.sk-crops .sk-hero-actions .sk-to-data{background:#143e3490;color:#fff;border-color:#ffffff70}.sk-crops .sk-hero-actions button:hover{background:#f0d48e;color:#173e33}
.sk-crops .sk-controls{margin:18px 0 26px;padding:18px 20px;gap:14px}
.sk-picker{scroll-margin-top:30px}.sk-picker-heading h3{font-size:25px!important;line-height:1.4;color:#193f35;margin:0 0 5px!important}.sk-picker-heading p{color:#62766c;font-size:14px;margin:0 0 18px!important}
.sk-crop-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.sk-crops .sk-crop-tile{padding:0;overflow:hidden;border:1px solid #e3dfcf;border-radius:10px;background:#fff;text-align:left;transition:transform .15s,border-color .15s;min-width:0;font-size:15px;position:relative;box-shadow:0 3px 8px #153f3406}.sk-crops .sk-crop-tile:hover{transform:translateY(-3px);background:#faf8f1;border-color:#b49a61}.sk-crops .sk-crop-tile[aria-pressed=true]{border:2px solid #215d47;box-shadow:0 0 0 2px #215d4712}.sk-crop-tile[aria-pressed=true]:after{content:'✓';position:absolute;right:6px;top:6px;background:#a9863e;color:#fff;width:24px;height:24px;border-radius:50%;text-align:center;line-height:24px}
.sk-crop-art,.sk-crop-tile img,.sk-crop-fallback{display:block;width:100%;aspect-ratio:3/2;background-color:#faf8f1}.sk-crop-art{background-size:500% 200%;background-repeat:no-repeat}.sk-crop-tile img{height:auto;object-fit:contain;margin:0;border-radius:0}.sk-crop-fallback{font-size:48px;text-align:center;align-content:center}.sk-tile-label{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 12px;line-height:1.5;overflow-wrap:anywhere}.sk-picker-status{font-size:13px;color:#526b5d;margin:12px 0}.sk-picker-status:empty{margin:0}
.sk-result{background:#fff;border:1px solid #e4e8de;border-radius:14px;margin-top:28px;padding:24px;scroll-margin-top:24px;min-width:0}.sk-crops .sk-result .sk-intro{margin-top:0}.sk-result:focus-visible{outline:2px solid #a9863e;outline-offset:4px}
@media(max-width:900px){.sk-crop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sk-hero-content{max-width:75%}.sk-crops .sk-hero{padding:28px;min-height:280px}.sk-crops{padding:16px}}
@media(max-width:600px){.sk-crops{padding:10px;border-radius:12px}.sk-crops .sk-hero{padding:24px 18px;min-height:285px}.sk-hero-content{max-width:100%}.sk-crops .sk-hero:after{background:linear-gradient(90deg,#103e33ec,#103e3399)}.sk-hero .sk-hero-art{object-position:65% center}.sk-crops .sk-hero h2{font-size:34px}.sk-hero-actions{gap:8px}.sk-crops .sk-hero-actions button{font-size:12px;padding:9px 12px}.sk-crop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sk-tile-label{padding:9px;font-size:14px}.sk-picker-heading h3{font-size:22px!important}.sk-crops .sk-controls{padding:12px;gap:10px}.sk-result{padding:12px;margin-top:20px}.sk-crops .sk-period{white-space:normal}.sk-crops .sk-meta{padding:16px 12px}.sk-crops .sk-card strong{overflow-wrap:anywhere}.sk-crops .sk-intro h3{font-size:30px!important}}
@media(prefers-reduced-motion:reduce){.sk-crops .sk-crop-tile{transition:none}}
@media print{.sk-picker,.sk-hero-actions{display:none}.sk-crops{border:0;padding:0;background:white}.sk-result{padding:0;border:0}}
