/* Legibility and layout shared by the holding's management screens. */
.workspace,.main,.topbar-left,.topbar-left>div,.topbar-title,.general-module>div{min-width:0}
.context-general .main{max-width:1700px;width:100%;margin-inline:auto}
.general-modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;align-items:stretch;margin:0 0 30px}
.general-module{display:flex;align-items:center;gap:18px;width:100%;height:auto;min-height:150px;padding:26px;text-align:left;white-space:normal;overflow:visible;border:1px solid #dce9e2;border-radius:18px;background:white;color:#214532;box-shadow:0 4px 18px #183e2310}
.general-module>div{flex:1}.general-module h2{font-size:22px;line-height:1.35;letter-spacing:-.3px;white-space:normal;overflow:visible;text-overflow:clip;margin:0 0 9px;word-break:normal;overflow-wrap:break-word}
.general-module p{font-size:14px;line-height:1.6;white-space:normal;overflow:visible;margin:0;color:#627c6d}
.general-module-icon{flex:0 0 46px;display:grid;place-items:center;background:#edf7f0;color:#187044;border-radius:13px;width:46px;height:46px}
.context-general .page-heading,.context-general .toolbar{flex-wrap:wrap;gap:16px}.context-general .page-heading h1,.context-general .card h2{height:auto;line-height:1.3;overflow:visible;white-space:normal}
.context-general .toolbar .muted{line-height:1.6;flex:1 1 220px}.context-general .data-table th,.context-general .data-table td{line-height:1.55}
.context-general .table-wrap{border:1px solid #dce9e2;border-radius:14px;background:white}.context-general .data-table td{padding-block:20px}
.context-general .account-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.context-general .account-card{height:auto;min-height:140px;white-space:normal;overflow:visible}.context-general .account-card strong{font-size:clamp(22px,2.2vw,32px);line-height:1.5;overflow-wrap:anywhere}
.context-general .finance-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px}.context-general .finance-totals>div{min-width:0;overflow:visible}.context-general .finance-totals strong{font-size:clamp(20px,1.7vw,28px);line-height:1.5;overflow-wrap:anywhere}
.context-general .data-table td,.context-general .data-table .item-title,.context-general .data-table .item-subtitle{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word;max-width:none}.context-general .cash-metrics>div{min-width:0}.context-general .cash-metrics strong{font-size:clamp(21px,2.2vw,32px);line-height:1.5;overflow-wrap:anywhere}.context-general .muted,.context-general .page-title p{color:#62806c}
.wk-sections{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px;padding-bottom:16px;border-bottom:1px solid #dbe9df}.wk-sections [aria-current=page]{background:#176b43;color:white;border-color:#176b43}
.equipment-button{position:relative}.equipment-button.equipment-connected{color:#137543;background:#e8f7ed}.equipment-button.equipment-connected:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#169551;right:6px;top:5px}
.equipment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.equipment-card{border:1px solid #dae7de;border-radius:16px;padding:22px;min-width:0;background:#fcfefc}.equipment-card h3{line-height:1.45;font-size:18px}.equipment-state{font-size:12px;color:#326f4c;background:#eaf5ed;padding:5px 9px;border-radius:20px;white-space:normal}.equipment-reading{padding:20px 12px;margin:16px 0;font-size:22px;min-height:78px;border:1px dashed #bbd5c5;border-radius:10px;background:white;overflow-wrap:anywhere;color:#1d5035}.equipment-buttons{display:flex;flex-wrap:wrap;gap:8px}.equipment-config{margin-top:22px;border-top:1px solid #dbe8df;padding-top:14px}.equipment-config summary{cursor:pointer;color:#22683f;font-weight:600}.equipment-config label{display:grid;gap:7px;margin:14px 0;font-size:13px;line-height:1.5}.equipment-config input,.equipment-config select{width:100%;min-width:0}.equipment-config .form-help{margin-top:12px}
.access-section{margin-top:24px;border:1px solid #dbe8df;border-radius:14px;padding:20px}.access-section h3{font-size:18px;margin:0 0 8px}.access-section p{font-size:13px;line-height:1.7;margin-bottom:16px}.access-section .field{display:grid;gap:8px;margin:16px 0}.access-properties{display:flex;flex-wrap:wrap;gap:10px 24px}.access-check{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.5}.access-check input,.access-matrix input{width:18px;height:18px;accent-color:#176b43;flex:none}.access-bulk{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.access-matrix{min-width:540px}.access-matrix th:first-child{width:50%;white-space:normal}.access-matrix td{text-align:center}.access-matrix th{font-size:12px;white-space:normal}.access-matrix input:focus-visible{outline:3px solid #4ca574;outline-offset:3px}
.access-group{margin-top:12px;border:1px solid #dbe8df;border-radius:10px;overflow:hidden}.access-group>summary{padding:16px;cursor:pointer;color:#215a3a;font-weight:600;line-height:1.6;background:#f5faf6}.access-group>summary small{display:block;font-weight:400;color:#607f6c;margin-left:17px}.access-group .table-wrap{border:0;border-radius:0}.access-group .data-table tbody th{text-transform:none;font-size:13px;font-weight:500;letter-spacing:0}
.pasture-minimal .pasture-small-name{font-size:var(--pasture-label-size,10px)!important;line-height:1.1;white-space:nowrap}.pasture-minimal .pasture-cattle-symbol .icon{width:12px;height:12px}.pasture-minimal .sketch-pasture-label{gap:1px}
.wk-dose-note{font-size:12px;line-height:1.6;color:#567361}.wk-procedure{padding:18px;background:#f6faf7;border-radius:12px;border:1px solid #e0ebe4;margin-block:12px}.jp-filters{flex-wrap:wrap}.jp-filters label{min-width:160px}.jp-metrics{gap:16px}.jp-section-title{line-height:1.4}
@media(max-width:760px){.equipment-grid{grid-template-columns:1fr}.general-module{padding:22px;min-height:124px}.general-module h2{font-size:20px}.access-section{padding:14px}.topbar-actions{gap:6px}.topbar-actions .icon-btn{width:38px;min-width:38px;height:40px}.topbar-title{font-size:18px}.topbar-section{display:none}.wk-sections{gap:6px}.wk-sections .btn{padding-inline:12px}.equipment-card{padding:16px}}
@media(max-width:400px){.topbar-actions .topbar-new{display:none}.topbar-left .breadcrumb{max-width:140px;white-space:normal;font-size:11px}.topbar-title{font-size:16px}.main{padding-inline:16px}.general-module{gap:12px}.general-module-icon{flex-basis:36px;width:36px;height:36px}.equipment-card .panel-header{flex-wrap:wrap;gap:8px}}
