/* Smart Shrimp Log — Farm Overview vNext / Global Production
   Owner concept convergence: premium mobile-first hierarchy with desktop parity.
   Presentation-only. No data ownership lives here. */

.pond-hub-page{
  position:relative;min-height:100%;padding:2px 2px 20px;border-radius:18px;
  background:linear-gradient(180deg,#fbfcfb 0%,#f6f9f7 100%);
  box-shadow:0 0 0 18px #f8faf9
}
.pond-hub-heading-vnext{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 12px!important;
}
.pond-hub-heading-copy{display:flex;align-items:center;gap:12px;min-width:0}
.pond-hub-farm-switch{
  display:grid;place-items:center;min-width:46px;height:46px;padding:0 9px;border:1px solid #d8e8df;border-radius:15px;
  background:linear-gradient(145deg,#fff,#f3faf6);color:#0f7048;font-size:9px;font-weight:900;letter-spacing:.08em;
  box-shadow:0 7px 18px rgba(23,80,53,.07);cursor:pointer
}
.pond-hub-heading-vnext h2{display:flex;align-items:center;margin:0;color:#102f25;font-weight:850;letter-spacing:-.45px}
.pond-hub-farm-title{display:inline-flex!important;align-items:center!important;gap:0!important;width:auto!important;max-width:100%!important;height:auto!important;padding:2px 0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:inherit!important;font:inherit!important;letter-spacing:inherit!important;cursor:pointer;line-height:1.05!important}
.pond-hub-farm-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pond-hub-farm-title:focus-visible{outline:2px solid #a8d9bd!important;outline-offset:3px}
.pond-hub-heading-vnext p{margin:4px 0 0;color:#667c72}
.pond-hub-heading-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.pond-hub-heading-actions button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dbe8e1;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 8px 22px rgba(17,70,48,.08);cursor:pointer}
.pond-hub-heading-actions img{width:23px;height:23px;object-fit:contain}

/* Farm functional tabs */
.farm-operations-tabs{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;
  min-height:58px!important;margin:0 0 16px!important;padding:5px!important;overflow:hidden!important;
  border:1px solid #d8e6df!important;border-radius:18px!important;background:rgba(250,252,250,.96)!important;
  box-shadow:0 7px 22px rgba(21,73,49,.055)!important
}
.farm-operations-tabs button{
  min-width:0!important;min-height:46px!important;padding:9px 8px!important;border-radius:13px!important;
  color:#53685e!important;font-size:14px!important;font-weight:650!important;white-space:nowrap!important
}
.farm-operations-tabs button.active{
  background:linear-gradient(145deg,#edf9f1,#e4f4e9)!important;color:#0c7047!important;font-weight:850!important;
  box-shadow:inset 0 0 0 1px #c7e4d1,0 3px 8px rgba(16,92,57,.04)!important
}

/* Weather Intelligence — operations-first hero */
.pond-weather-vnext{
  position:relative!important;display:grid!important;grid-template-columns:minmax(300px,.9fr) minmax(0,2.1fr)!important;
  gap:12px!important;min-height:0!important;margin:0 0 18px!important;padding:14px!important;overflow:hidden!important;
  border:1px solid rgba(18,111,70,.18)!important;border-radius:20px!important;
  background:linear-gradient(105deg,#0b6f48 0%,#139358 47%,#6dac3f 100%)!important;
  box-shadow:0 10px 26px rgba(18,88,55,.11)!important
}
.pond-weather-vnext:before{
  content:"";position:absolute;inset:0;background:
    radial-gradient(circle at 88% 14%,rgba(255,235,128,.28) 0 64px,transparent 65px),
    radial-gradient(circle at 78% 84%,rgba(255,255,255,.16) 0 88px,transparent 89px),
    linear-gradient(115deg,rgba(3,50,34,.18),transparent 55%);
  pointer-events:none
}
.pond-weather-vnext>*{position:relative;z-index:1}
.pond-weather-scene{
  display:grid;grid-template-rows:1fr auto;min-height:160px;overflow:hidden;
  border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(5,47,33,.84);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)
}
.pond-weather-summary{
  display:flex;flex-direction:column;justify-content:center;min-width:0;padding:15px 17px 8px;border:0;
  border-radius:0;background:transparent;color:#fff;box-shadow:none
}
.pond-weather-eyebrow{font-size:11px;font-weight:800;color:#dcefe5}
.pond-weather-temp-row{display:flex;align-items:center;gap:8px;margin:5px 0 0}
.pond-weather-condition-icon{font-size:32px;line-height:1}
.pond-weather-temp-row strong{font-size:43px;line-height:.95;letter-spacing:-1.3px}
.pond-weather-summary>b{margin-top:4px;font-size:13px}
.pond-weather-summary>small{margin-top:7px;color:#d0e5da;font-size:10.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pond-weather-context{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:0;padding:0 12px 12px;
  border:0;border-radius:0;background:transparent;backdrop-filter:none
}
.pond-weather-context>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:6px;min-width:0;padding:7px 8px;border-right:1px solid rgba(255,255,255,.12)}
.pond-weather-context>div:last-child{border-right:0}
.pond-weather-context span{grid-row:1/3;font-size:17px;color:#c8f4d7}
.pond-weather-context small{font-size:8.5px;color:#bcd4c8}
.pond-weather-context b{font-size:10.5px;color:#fff;text-align:left;white-space:nowrap}
.pond-weather-vnext>.pond-weather-hours{
  display:grid!important;grid-template-columns:repeat(6,minmax(72px,1fr))!important;gap:7px!important;min-width:0
}
.pond-weather-vnext .pond-weather-slot:nth-child(n+4){display:flex!important}
.pond-weather-vnext .pond-weather-slot{
  min-height:160px!important;padding:10px 6px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:14px!important;
  background:rgba(5,69,39,.34)!important;backdrop-filter:none;color:#fff!important
}
.pond-weather-vnext .pond-weather-slot b{font-size:10px!important}.pond-weather-vnext .pond-weather-slot span{font-size:21px!important}
.pond-weather-vnext .pond-weather-slot small{font-size:13px!important;color:#fff!important}.pond-weather-vnext .pond-weather-slot em{font-size:8px;color:#d9f1e2;font-style:normal}
.pond-weather-loading-vnext,.pond-weather-missing{
  grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:128px;padding:18px;
  border-radius:16px;background:rgba(255,255,255,.96);color:#234c3b
}
.pond-weather-loading-vnext>div,.pond-weather-missing>div{display:grid;gap:3px}.pond-weather-loading-vnext b,.pond-weather-missing b{font-size:14px}.pond-weather-loading-vnext small,.pond-weather-missing small{font-size:11px;color:#71857b}
.pond-weather-loading-dot{width:12px;height:12px;border-radius:50%;background:#13a860;box-shadow:0 0 0 7px rgba(19,168,96,.12);animation:pondWeatherPulse 1.25s infinite}
@keyframes pondWeatherPulse{50%{transform:scale(.72);opacity:.55}}

/* Filter + control rail */
.pond-hub-tools{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
  gap:16px!important;margin:0 0 16px!important
}
.pond-hub-filter{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;min-width:0;padding:0!important;overflow-x:auto!important;scrollbar-width:none}
.pond-hub-filter::-webkit-scrollbar{display:none}
.pond-hub-filter button{
  flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:39px!important;
  padding:7px 12px!important;border:1px solid #dfe8e3!important;border-radius:10px!important;background:#fff!important;
  color:#65766e!important;font-size:12.5px!important;font-weight:700!important;box-shadow:none!important
}
.pond-hub-filter button span{font-size:11.5px}.pond-hub-filter button.active{border-color:#0ea65a!important;background:#12aa5d!important;color:#fff!important;box-shadow:0 5px 12px rgba(14,166,90,.14)!important}
.pond-hub-tools>.pond-hub-list-head{margin:0!important;justify-content:flex-end!important}
.pond-hub-tools .pond-hub-list-title{display:none}
.pond-hub-list-head{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:12px!important;margin:0 2px!important}
.pond-hub-list-title{display:grid;gap:3px;min-width:0}.pond-hub-list-title h3{margin:0!important;color:#14392b;font-size:22px!important;line-height:1.1!important;letter-spacing:-.45px!important}
.pond-hub-list-title small{color:#798a82;font-size:11.5px}
.pond-hub-list-actions{position:relative;display:flex;align-items:center;gap:7px;flex:0 0 auto}
.pond-hub-sort,.pond-hub-search-wrap,.pond-hub-add{height:46px!important;border-radius:13px!important}
.pond-hub-sort{display:flex!important;align-items:center!important;gap:7px!important;width:auto!important;min-width:46px;padding:0 12px!important;font-size:17px!important}
.pond-hub-sort b{font-size:12.5px;font-weight:800}
.pond-hub-search-wrap{
  display:flex;align-items:center;gap:5px;width:112px;padding:0 8px;border:1px solid #dce7e1;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgba(18,67,46,.04);transition:width .16s ease,box-shadow .16s ease
}
.pond-hub-search-trigger{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:0;border-radius:9px;background:transparent;color:#24473a;font-size:20px;cursor:pointer}
.pond-hub-search-wrap:focus-within{border-color:#a9d8bc;box-shadow:0 6px 17px rgba(18,109,66,.09)}
.pond-hub-search{width:100%!important;height:42px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:#1f4235!important;font-size:13px!important;outline:0!important}
.pond-hub-search::placeholder{color:#7c8c85!important}
.pond-hub-add{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:92px!important;padding:0 15px!important;font-size:17px!important;font-weight:850!important}
.pond-hub-add span{font-size:14px}

/* Pond operational cards — dense production grid */
.pond-hub-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.pond-hub-card-vnext{
  position:relative;display:block!important;min-height:286px!important;padding:15px 15px 13px!important;
  overflow:visible!important;border:1px solid #e1e9e5!important;border-radius:15px!important;background:#fff!important;
  box-shadow:0 5px 16px rgba(17,62,42,.045)!important;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease
}
.pond-hub-card-vnext:hover{transform:translateY(-1px);border-color:#cfded6!important;box-shadow:0 9px 22px rgba(17,62,42,.075)!important}
.pond-hub-thumb{
  position:absolute;left:14px;top:14px;width:54px;height:54px;min-height:0;overflow:hidden;border-radius:11px;background:
    linear-gradient(180deg,rgba(17,104,67,.04),rgba(9,80,55,.20)),
    url("assets/marix-shrimp-pond-background.png") center/cover no-repeat;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.38)
}
.pond-hub-thumb:after{content:"";position:absolute;inset:auto 0 0;height:46%;background:linear-gradient(transparent,rgba(7,55,38,.24));pointer-events:none}
.pond-hub-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.pond-hub-thumb.has-cover{background:#dcebe4}.pond-hub-thumb.has-cover:after{z-index:1}
.pond-hub-thumb span{position:absolute;left:5px;bottom:5px;z-index:2;display:grid;place-items:center;min-width:27px;height:20px;padding:0 5px;border-radius:6px;background:rgba(231,250,238,.94);color:#0b6844;font-size:9px;font-weight:900}
.pond-hub-media-busy{display:none;position:absolute;inset:0;z-index:4;background:rgba(14,83,57,.38);backdrop-filter:blur(2px)}
.pond-hub-card-vnext.is-media-busy .pond-hub-media-busy{display:block}
.pond-hub-card-vnext.is-media-busy .pond-hub-media-busy:after{content:"";position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px;border:3px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:pondMediaSpin .7s linear infinite}
@keyframes pondMediaSpin{to{transform:rotate(360deg)}}
.pond-hub-card-body{display:block;min-width:0}
.pond-hub-card-head{position:relative;display:grid!important;grid-template-columns:22px minmax(0,1fr) auto 26px;align-items:center!important;gap:5px!important;min-height:56px;padding-left:64px}
.pond-hub-name{min-width:0;overflow:hidden;padding-left:0!important;color:#173c2e!important;font-size:15.5px!important;font-weight:820!important;line-height:1.2!important;letter-spacing:-.18px;text-overflow:ellipsis;white-space:nowrap}
.pond-hub-card-head .pond-pin{position:static!important;display:grid!important;place-items:center!important;width:22px!important;height:24px!important;padding:0!important;border-radius:7px!important;font-size:15px!important;color:#8a9992!important}
.pond-hub-card-head .pond-pin:hover{background:#f2f7f4!important;color:#567166!important}.pond-hub-card-head .pond-pin.is-pinned{color:#c98d22!important}
.pond-hub-status{display:inline-flex!important;align-items:center!important;gap:5px!important;height:24px!important;padding:0 7px!important;border-radius:999px!important;font-size:9px!important;font-weight:800!important;white-space:nowrap}
.pond-hub-status i{display:block;width:5px;height:5px;border-radius:50%;background:currentColor}
.pond-hub-status.active{background:#e9f8ee!important;color:#099a51!important}.pond-hub-status.pending{background:#fff3de!important;color:#b67820!important}.pond-hub-status.closed{background:#eef2f1!important;color:#6e7d76!important}
.pond-hub-more{display:grid;place-items:center;width:26px;height:28px;padding:0;border:0;border-radius:8px;background:transparent;color:#5a6d64;font-size:18px;cursor:pointer}
.pond-hub-more:hover,.pond-hub-card-head.is-menu-open .pond-hub-more{background:#eef6f1}
.pond-hub-menu{display:none;position:absolute;right:0;top:31px;z-index:30;min-width:176px;padding:6px;border:1px solid #dce8e1;border-radius:12px;background:#fff;box-shadow:0 16px 36px rgba(18,65,45,.14)}
.pond-hub-card-head.is-menu-open{z-index:40}.pond-hub-card-head.is-menu-open .pond-hub-menu{display:grid;gap:2px}
.pond-hub-menu button{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:7px;width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:#25483a;font-size:12px;font-weight:750;text-align:left;cursor:pointer}
.pond-hub-menu button:hover{background:#eff8f3}.pond-hub-menu button.danger{color:#bf403b}.pond-hub-menu button:disabled{opacity:.48;cursor:not-allowed}.pond-hub-menu button span{display:grid;place-items:center;font-size:14px}
.pond-hub-metrics{display:grid;grid-template-columns:1fr!important;gap:0;margin:10px 0 0;border-top:1px solid #edf1ef}
.pond-hub-metrics>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:5px;min-width:0;min-height:30px;padding:6px 1px;border-bottom:1px solid #f0f3f1}
.pond-hub-metrics small{color:#77867f;font-size:10.5px;line-height:1.2}
.pond-hub-metrics b{color:#223d32;font-size:11.5px;line-height:1.2;font-weight:760;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.pond-hub-metrics em{color:#88948f;font-size:8.5px;font-style:normal;line-height:1.2;white-space:nowrap}
.pond-hub-size-metric b{overflow:visible;text-overflow:clip}.pond-hub-cost-metric b{max-width:130px}
.pond-hub-profit{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) 20px;align-items:center!important;gap:8px;
  margin-top:9px;padding:9px 9px!important;border:1px solid #e4ece7!important;border-radius:10px!important;background:#f8fbf9
}
.pond-hub-profit.loss{background:#fff7f5;border-color:#f0d9d5!important}.pond-hub-profit.profit{background:#f1faf4;border-color:#d7ebdd!important}.pond-hub-profit.pending{background:#f7f9f8}
.pond-hub-profit>span{color:#53685f!important;font-size:11px!important;font-weight:760!important;letter-spacing:.01em}
.pond-hub-profit>b{min-width:0;text-align:right;font-size:13px!important;font-weight:820!important;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}.pond-hub-profit>b.loss{color:#c45249!important}.pond-hub-profit>b.profit{color:#13874d!important}.pond-hub-profit>b.pending{color:#718079!important}
.pond-hub-profit>button{display:grid;place-items:center;width:20px;height:22px;padding:0;border:0;background:transparent;color:#61766b;font-size:20px;cursor:pointer}
.pond-hub-card-vnext .pond-hub-new{width:100%;margin-top:8px;min-height:32px;border:1px solid #cce6d5;border-radius:8px;background:#f2faf4;color:#13744c;font-size:10.5px;font-weight:800}

/* Non-overview stage stays aligned with the new shell */
.farm-operations-stage,.farm-water-twin{border-radius:22px!important;box-shadow:0 10px 28px rgba(17,62,42,.06)!important}

/* Desktop production density */
@media(min-width:901px){
  .pond-hub-heading-vnext h2{font-size:27.5px!important}.pond-hub-heading-vnext p{font-size:13.5px!important}
  .farm-operations-tabs{min-height:50px!important;margin-bottom:14px!important;padding:4px!important;border-radius:13px!important}
  .farm-operations-tabs button{min-height:42px!important;padding:8px 8px!important;border-radius:9px!important;font-size:13.5px!important}
  .pond-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:1050px){
  .pond-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .pond-hub-card-vnext{padding:13px 12px 11px!important}
  .pond-hub-thumb{left:12px;top:12px;width:48px;height:48px;border-radius:10px}
  .pond-hub-thumb span{min-width:24px;height:18px;font-size:8.5px}
  .pond-hub-card-head{grid-template-columns:20px minmax(0,1fr) auto 24px;gap:4px!important;min-height:50px;padding-left:55px}
  .pond-hub-card-head .pond-pin{width:20px!important;height:22px!important;font-size:14px!important}
  .pond-hub-name{font-size:16.5px!important}
  .pond-hub-status{height:24px!important;padding:0 7px!important;font-size:9.5px!important}
  .pond-hub-more{width:24px;height:26px;font-size:17px}
  .pond-hub-metrics>div{min-height:34px;padding:7px 1px}
  .pond-hub-metrics small{font-size:11.5px}.pond-hub-metrics b{font-size:12.5px}.pond-hub-metrics em{font-size:8.5px}
  .pond-hub-profit>span{font-size:11.8px!important}.pond-hub-profit>b{font-size:13.5px!important;font-weight:820!important}
}

/* Mobile production convergence */
@media(max-width:900px){
  .pond-hub-page{padding:0 0 calc(92px + env(safe-area-inset-bottom))!important;border-radius:14px;box-shadow:0 0 0 12px #f8faf9}
  .pond-hub-heading-vnext{margin:0 1px 10px!important;gap:9px!important}
  .pond-hub-farm-switch{display:none}
  .pond-hub-heading-copy{min-width:0}
  .pond-hub-heading-vnext h2{font-size:25.5px!important;line-height:1.08!important;letter-spacing:-.45px!important}
  .pond-hub-heading-vnext h2 .pond-hub-farm-title{width:auto!important;max-width:100%!important;height:auto!important;font-size:inherit!important}
  .pond-hub-heading-vnext p{margin-top:3px!important;font-size:12px!important;line-height:1.35!important}
  .pond-hub-heading-actions{gap:6px}.pond-hub-heading-actions button{width:38px;height:38px}.pond-hub-heading-actions img{width:19px;height:19px}
  .farm-operations-tabs{min-height:48px!important;margin-bottom:11px!important;padding:3px!important;border-radius:12px!important}
  .farm-operations-tabs button{min-height:42px!important;padding:8px 4px!important;font-size:13.5px!important;border-radius:9px!important}
  .pond-weather-vnext{grid-template-columns:1fr!important;gap:7px!important;margin-bottom:12px!important;padding:9px!important;border-radius:17px!important}
  .pond-weather-scene{min-height:124px;border-radius:13px}
  .pond-weather-summary{padding:11px 12px 5px}.pond-weather-eyebrow{font-size:10px}.pond-weather-temp-row{gap:6px;margin-top:3px}.pond-weather-condition-icon{font-size:27px}.pond-weather-temp-row strong{font-size:37px}.pond-weather-summary>b{font-size:11.5px}.pond-weather-summary>small{margin-top:5px;font-size:9px}
  .pond-weather-context{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 8px 8px}.pond-weather-context>div{grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:4px;padding:5px 5px;border-right:1px solid rgba(255,255,255,.1);border-bottom:0}.pond-weather-context span{font-size:14px}.pond-weather-context small{font-size:7.5px}.pond-weather-context b{font-size:9px}
  .pond-weather-vnext>.pond-weather-hours{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 10px)/3);gap:5px!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding-bottom:2px;scrollbar-width:none}.pond-weather-vnext>.pond-weather-hours::-webkit-scrollbar{display:none}.pond-weather-vnext .pond-weather-slot{min-height:64px!important;padding:5px 4px!important;border-radius:10px!important;gap:1px!important;scroll-snap-align:start}.pond-weather-vnext .pond-weather-slot b{font-size:8px!important}.pond-weather-vnext .pond-weather-slot span{font-size:15px!important}.pond-weather-vnext .pond-weather-slot small{font-size:10.5px!important}.pond-weather-vnext .pond-weather-slot em{font-size:7px}
  .pond-weather-loading-vnext,.pond-weather-missing{min-height:110px;padding:13px;border-radius:13px}.pond-weather-loading-vnext b,.pond-weather-missing b{font-size:12px}.pond-weather-loading-vnext small,.pond-weather-missing small{font-size:10px}
  .pond-hub-tools{grid-template-columns:1fr!important;gap:10px!important;margin-bottom:12px!important}
  .pond-hub-tools>.pond-hub-list-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;gap:8px!important;width:100%!important;margin:0!important}
  .pond-hub-tools .pond-hub-list-title{display:grid!important;justify-self:start!important;justify-items:start!important;text-align:left!important;gap:3px!important;min-width:0!important}
  .pond-hub-filter{gap:6px!important;padding-bottom:1px!important}.pond-hub-filter button{min-height:41px!important;padding:8px 11px!important;border-radius:10px!important;font-size:12px!important}
  .pond-hub-list-title h3{font-size:20px!important;text-align:left!important}.pond-hub-list-title small{font-size:10.5px;text-align:left!important}
  .pond-hub-list-actions{justify-self:end!important}
  .pond-hub-list-actions{gap:5px}.pond-hub-sort,.pond-hub-search-wrap,.pond-hub-add{height:41px!important}.pond-hub-sort{width:41px!important;min-width:41px!important;padding:0!important;justify-content:center!important}.pond-hub-sort b{display:none}.pond-hub-search-wrap{width:41px!important;padding:0 6px!important;justify-content:center;overflow:hidden}.pond-hub-search-wrap .pond-hub-search-trigger{flex-basis:26px}.pond-hub-search-wrap .pond-hub-search{width:0!important;min-width:0!important;height:38px!important;opacity:0!important;pointer-events:none!important;transition:width .16s ease,opacity .16s ease}.pond-hub-search-wrap.is-open{position:absolute;right:88px;z-index:6;width:145px!important;justify-content:flex-start;background:#fff}.pond-hub-search-wrap.is-open .pond-hub-search{width:99px!important;opacity:1!important;pointer-events:auto!important}.pond-hub-add{min-width:82px!important;padding:0 11px!important;font-size:15px!important}.pond-hub-add span{font-size:12px}
  .pond-hub-grid{grid-template-columns:1fr!important;gap:10px!important}
  .pond-hub-card-vnext{display:block!important;min-height:0!important;padding:12px 12px 10px!important;border-radius:14px!important}
  .pond-hub-thumb{left:12px;top:12px;width:58px;height:58px;border-radius:10px}.pond-hub-thumb span{left:4px;bottom:4px;min-width:27px;height:20px;padding:0 4px;border-radius:6px;font-size:9px}
  .pond-hub-card-head{grid-template-columns:22px minmax(0,1fr) auto 24px;gap:4px!important;min-height:60px;padding-left:68px}
  .pond-hub-name{font-size:16.5px!important}.pond-hub-status{height:24px!important;padding:0 7px!important;font-size:9.5px!important}.pond-hub-more{width:24px;height:26px;font-size:17px}.pond-hub-card-head .pond-pin{width:22px!important;height:24px!important;font-size:14px!important}
  .pond-hub-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:10px 0 0;border-top:1px solid #edf1ef}
  .pond-hub-metrics>div{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:7px;min-height:52px;padding:9px 8px;border-bottom:1px solid #f0f3f1;border-right:1px solid #f0f3f1}.pond-hub-metrics>div:nth-child(2n){border-right:0}.pond-hub-metrics small{grid-column:1;grid-row:1/3;align-self:center;font-size:11px;line-height:1.35}.pond-hub-metrics b{grid-column:2;grid-row:1;font-size:12.4px;line-height:1.25}.pond-hub-metrics em{grid-column:2;grid-row:2;text-align:right;font-size:8.4px;line-height:1.2}.pond-hub-cost-metric b{max-width:114px}
  .pond-hub-profit{margin-top:10px;padding:10px 9px!important;gap:7px}.pond-hub-profit>span{font-size:11.5px!important}.pond-hub-profit>b{font-size:13.2px!important;font-weight:820!important}
}
@media(max-width:430px){
  .pond-hub-heading-vnext h2{font-size:22px!important}
  .pond-hub-heading-actions button{width:36px;height:36px}
  .farm-operations-tabs button{font-size:12.5px!important}
  .pond-hub-card-vnext{padding:11px 10px 9px!important}
  .pond-hub-thumb{left:10px;top:10px;width:56px;height:56px}
  .pond-hub-card-head{padding-left:65px;min-height:58px}
  .pond-hub-name{font-size:16px!important}.pond-hub-status{font-size:9px!important}
  .pond-hub-metrics>div{padding:8px 7px;min-height:50px}.pond-hub-metrics small{font-size:10.5px}.pond-hub-metrics b{font-size:12px}.pond-hub-metrics em{font-size:8px}
  .pond-hub-profit>span{font-size:11.2px!important}.pond-hub-profit>b{font-size:12.8px!important}
}
@media(max-width:370px){
  .pond-hub-heading-actions{display:none}
  .farm-operations-tabs button{font-size:10.5px!important}
  .pond-hub-status{display:none!important}
  .pond-hub-card-head{grid-template-columns:20px minmax(0,1fr) 22px}
  .pond-hub-metrics small{font-size:8.5px}.pond-hub-metrics b{font-size:10.3px}
  .pond-hub-list-title small{display:none}.pond-hub-add{min-width:72px!important}
}

/* Final specificity locks against legacy global farm rules */
html body .pond-hub-grid{gap:14px!important}
html body .pond-hub-card-vnext{border-radius:15px!important}
html body .pond-hub-card-vnext .pond-hub-profit>b{font-size:13px!important;font-weight:820!important}
@media(max-width:900px){
  html body .pond-hub-tools>.pond-hub-list-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;width:100%!important;margin:0!important}
  html body .pond-hub-tools .pond-hub-list-title{display:grid!important;justify-self:start!important;justify-items:start!important;text-align:left!important}
  html body .pond-hub-tools .pond-hub-list-actions{justify-self:end!important}
  html body .pond-hub-grid{gap:10px!important}
  html body .pond-hub-card-vnext{border-radius:14px!important}
  html body .pond-hub-card-vnext .pond-hub-profit>b{font-size:13.2px!important;font-weight:820!important}
}
@media(max-width:430px){
  html body .pond-hub-card-vnext .pond-hub-profit>b{font-size:12.8px!important}
}
:root[data-theme="dark"] .pond-hub-page{background:linear-gradient(180deg,#0d1d17,#10231c);box-shadow:0 0 0 18px #0f201a}
:root[data-theme="dark"] .pond-hub-heading-vnext h2,:root[data-theme="dark"] .pond-hub-name,:root[data-theme="dark"] .pond-hub-metrics b{color:#eff9f4!important}
:root[data-theme="dark"] .pond-hub-metrics small,:root[data-theme="dark"] .pond-hub-metrics em,:root[data-theme="dark"] .pond-hub-profit>span{color:#9fb8ac!important}
:root[data-theme="dark"] .farm-operations-tabs,:root[data-theme="dark"] .pond-hub-card-vnext{background:#132721!important;border-color:#315046!important}
:root[data-theme="dark"] .farm-operations-tabs button{color:#b7cdc3!important}:root[data-theme="dark"] .farm-operations-tabs button.active{background:#1d3d31!important;color:#80deb0!important}
:root[data-theme="dark"] .pond-hub-search-wrap{background:#152a23;border-color:#315046}:root[data-theme="dark"] .pond-hub-search{color:#eaf7f1!important}
:root[data-theme="dark"] .pond-hub-filter button{background:#172c25!important;border-color:#315046!important;color:#b8ccc3!important}:root[data-theme="dark"] .pond-hub-filter button.active{background:#0c9651!important;color:#fff!important}
:root[data-theme="dark"] .pond-hub-metrics>div,:root[data-theme="dark"] .pond-hub-profit{border-color:#29463d!important}

:root[data-theme="dark"] .pond-hub-more:hover,:root[data-theme="dark"] .pond-hub-card-head.is-menu-open .pond-hub-more{background:#203a31;color:#e7f5ee}
:root[data-theme="dark"] .pond-hub-menu{background:#172c25;border-color:#315046;box-shadow:0 16px 36px rgba(0,0,0,.32)}
:root[data-theme="dark"] .pond-hub-menu button{color:#dceae4}:root[data-theme="dark"] .pond-hub-menu button:hover{background:#203a31}:root[data-theme="dark"] .pond-hub-menu button.danger{color:#ff9891}
