.farm-plan-panel{grid-column:1/-1}
.farm-plan-add{min-height:34px;padding:0 11px;border:1px solid #e2a543;border-radius:5px;background:#fff8e8;color:#93620f;display:flex;align-items:center;gap:7px;font-size:9px;font-weight:900;cursor:pointer}.farm-plan-add:hover{background:#ffefc8}.farm-plan-add svg{width:15px;height:15px}
.crop-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:7px}.crop-choice{min-height:76px;padding:10px;border:1px solid #c3d2df;border-radius:7px;background:#fff;color:#49647d;display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;text-align:left;column-gap:8px;cursor:pointer}.crop-choice svg{width:24px;height:24px;grid-row:1/3;align-self:center;color:#19825a}.crop-choice strong{align-self:end;color:#203e59;font-size:11px}.crop-choice span{align-self:start;margin-top:2px;color:#8091a2;font-size:8px}.crop-choice:hover{border-color:#5e9c7d;background:#f7fbf8}.crop-choice.selected{border-color:#178159;background:#eaf6f0;box-shadow:0 0 0 2px rgba(23,129,89,.1)}.crop-choice.selected strong{color:#116c49}
.crop-select-section{margin-top:17px;padding:14px;border:1px solid #c7d6e2;border-radius:7px;background:#f8fbfd}.crop-select-section>label{display:block;margin-bottom:2px;color:#35526c;font-size:10px;font-weight:900}.crop-profile-hint{min-height:54px;margin-top:10px;padding:10px 12px;border-left:3px solid #1a875e;border-radius:4px;background:#edf7f2;display:flex;align-items:center;gap:10px}.crop-profile-hint>i,.crop-profile-hint>svg{width:22px;height:22px;flex:0 0 22px;color:#178159}.crop-profile-hint strong{display:block;color:#176846;font-size:10px}.crop-profile-hint span{display:block;margin-top:3px;color:#5f7a6d;font-size:9px;line-height:1.45}.farm-plot-editor{width:min(720px,calc(100vw - 28px))!important}.form-section-label{display:flex;align-items:baseline;gap:8px;padding:3px 0 0}.form-section-label span{color:#178159;font-size:8px;font-weight:900;letter-spacing:.1em}.form-section-label strong{color:#294862;font-size:13px}
.crop-type-badge{padding:3px 6px;border-radius:4px;background:#e8f4ed;color:#17744f;font-size:8px;font-style:normal;font-weight:900;white-space:nowrap}.crop-profile-forest .farm-record-marker{background:#deefe7;color:#126b48}.crop-profile-leaf .farm-record-marker{background:#e7f6e6;color:#4c8a25}.crop-profile-lime .farm-record-marker{background:#f0f7dc;color:#758e1b}.crop-profile-red .farm-record-marker{background:#fbe9e7;color:#b94b3d}.crop-profile-gold .farm-record-marker{background:#fff3d8;color:#a87313}.crop-profile-blue .farm-record-marker{background:#e8f1fa;color:#326ea5}
.field-hint{display:block;margin-top:6px;color:#6f8395;font-size:9px}.form-caution{margin-top:14px;padding:10px;border:1px solid #efd59c;border-radius:5px;background:#fffaed;color:#806321;display:flex;align-items:flex-start;gap:8px;font-size:9px;line-height:1.45}.form-caution svg{width:15px;height:15px;flex:0 0 15px}
.fertilizer-plan-list{min-height:120px;max-height:390px;overflow:auto}.fertilizer-plan-row{display:grid;grid-template-columns:72px 38px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid #e2e9ef}.fertilizer-plan-row:last-child{border-bottom:0}.fertilizer-plan-row:hover{background:#fffdf8}.fertilizer-plan-date{padding-right:10px;border-right:1px solid #dde5ec;text-align:center}.fertilizer-plan-date strong{display:block;color:#263f57;font-size:11px}.fertilizer-plan-date span{display:block;margin-top:4px;color:#75899c;font-size:8px;font-weight:800}.fertilizer-plan-row.overdue .fertilizer-plan-date span{color:#bd3e34}.fertilizer-plan-row.done{opacity:.58}.fertilizer-plan-main{min-width:0}.fertilizer-plan-main>div{display:flex;align-items:center;gap:8px}.fertilizer-plan-main strong{color:#183956;font-size:12px}.fertilizer-plan-main em{padding:3px 6px;border-radius:4px;background:#eef3f7;color:#5d748a;font-size:8px;font-style:normal;font-weight:800}.fertilizer-plan-main p{margin:4px 0 0;color:#596f83;font-size:9px}.fertilizer-plan-main small{display:block;margin-top:4px;color:#8393a2;font-size:8px}
.farm-photo-upload{min-height:94px;padding:10px!important;border:1px dashed #8ea9bf!important;border-radius:7px!important;background:#f8fbfd!important;display:flex!important;align-items:center!important;gap:12px!important;cursor:pointer}.farm-photo-upload:hover{border-color:#167bae!important;background:#f1f8fc!important}.farm-photo-upload-icon{width:42px;height:42px;flex:0 0 42px;border-radius:6px;background:#e6f0f6;color:#38728f;display:grid;place-items:center}.farm-photo-upload-icon svg{width:20px;height:20px}.farm-photo-upload>img{width:72px;height:72px;flex:0 0 72px;border-radius:5px;object-fit:cover}.farm-photo-upload>div strong{display:block;color:#31516b;font-size:10px}.farm-photo-upload>div small{display:block;margin-top:4px;color:#7d8f9e;font-size:8px}
.farm-activity-row.has-photo{grid-template-columns:38px minmax(0,1fr) 58px auto}.farm-photo-thumb{width:54px;height:42px;padding:0;border:1px solid #bfd0dd;border-radius:5px;background:#edf3f7;overflow:hidden;display:grid;place-items:center;cursor:pointer}.farm-photo-thumb img{width:100%;height:100%;object-fit:cover}.farm-photo-thumb span{color:#6d879b}.farm-photo-thumb span svg{width:17px;height:17px}.farm-photo-thumb.photo-error{opacity:.4}.farm-photo-viewer-panel{position:relative;z-index:2;width:min(900px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:12px;border-radius:8px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.35)}.farm-photo-viewer-panel>img{display:block;width:100%;max-height:calc(100vh - 52px);border-radius:5px;object-fit:contain;background:#10202c}.farm-photo-viewer-panel .modal-close{right:22px;top:22px;background:rgba(255,255,255,.92)}
@media(max-width:780px){.crop-choice-grid{grid-template-columns:1fr 1fr}.fertilizer-plan-row{grid-template-columns:64px 34px minmax(0,1fr)}.fertilizer-plan-row .farm-record-actions{grid-column:3;justify-content:flex-end}.farm-activity-row.has-photo{grid-template-columns:36px minmax(0,1fr) 54px}.farm-activity-row.has-photo .farm-activity-time{grid-column:2/4}.farm-panel-head .farm-plan-add span{display:none}}
@media(max-width:520px){.crop-choice-grid{grid-template-columns:1fr}.crop-choice{min-height:62px}.fertilizer-plan-row{grid-template-columns:58px minmax(0,1fr)}.fertilizer-plan-row>.farm-activity-icon{display:none}.fertilizer-plan-row .farm-record-actions{grid-column:2}.farm-activity-row.has-photo{grid-template-columns:34px minmax(0,1fr) 50px}.crop-type-badge{display:none}}
