/* Egg market pages in the 2026 theme (views/pages/egg-market.php, egg-market-zone.php, _egg-analysis.php). Tokens only. */
section.em-top{padding-block:56px 48px}
.em-hero{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:start}
.em-hero h1{margin-bottom:16px}
.em-hero .eyebrow a{color:inherit;text-underline-offset:3px}
.em-points{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:10px}
.em-points li{padding-left:16px;border-left:3px solid var(--standard-mid);font-size:16px;line-height:1.5}
.em-act{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:26px 0 0}
.em-card{background:var(--card);border:1px solid var(--rule);border-radius:16px;padding:22px 24px;box-shadow:0 18px 50px rgba(28,36,48,.08)}
.em-card-h{font:500 13px var(--mono);color:var(--slate);margin:0 0 4px}
.em-rate{font:600 56px/1 var(--display);margin:0;color:var(--ink);font-variant-numeric:tabular-nums}
.em-rate small{font:500 14px var(--body);color:var(--slate);margin-left:10px}
.em-sub{margin:8px 0 14px;color:var(--slate);font-size:15px}
.em-chg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 10px}
.em-chg div{background:var(--paper-2);border-radius:10px;padding:8px 10px}
.em-chg dt{font-size:12px;color:var(--slate)}
.em-chg dd{margin:2px 0 0;font:600 18px var(--mono);font-variant-numeric:tabular-nums}
.em-card-f{margin:10px 0 0;font-size:14.5px;color:var(--slate)}
.up{color:var(--standard)} .down{color:var(--action)} .flat{color:var(--slate)}

section.em-sec{padding-block:64px}
section.em-sec.alt{background:var(--paper-2)}
.em-sec h2{margin-bottom:14px}
.em-lede{color:var(--slate);margin:0 0 20px}
.em-two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:center}
.em-copy p{margin:0 0 12px;line-height:1.6}
.em-use{font-size:15px;color:var(--standard-dark);background:var(--standard-soft);border-radius:10px;padding:10px 14px}
.em-fig{margin:0;min-width:0}
.em-fig figcaption,.em-small,.em-note{font-size:13.5px;color:var(--slate);margin-top:8px}
.em-fig.wide{margin-bottom:24px}

/* Charts (EggCharts) */
.em-chart{width:100%;height:auto;display:block;overflow:visible;font-family:var(--body)}
.em-bar{fill:var(--tone-4)}
.em-bar.up,.em-bar.hi{fill:var(--standard)}
.em-bar.down,.em-bar.lo{fill:var(--action)}
.em-bar.mid{fill:var(--slate);fill-opacity:.4}
.em-bar.now{stroke:var(--ink);stroke-width:2}
.em-axis{stroke:var(--slate);stroke-width:1}
.em-grid{stroke:var(--rule);stroke-width:1}
.em-guide{stroke:var(--slate);stroke-dasharray:4 4;stroke-width:1}
.em-guide-t,.em-x,.em-y{fill:var(--slate);font-size:12px}
.em-y a{fill:var(--ink)}
.em-val{fill:var(--ink);font-size:12px;font-variant-numeric:tabular-nums}
.em-val.strong{font-weight:700;font-size:13px}
.em-line{fill:none;stroke:var(--wine);stroke-width:2;stroke-linejoin:round}
.em-dot{fill:var(--action)}
.em-spark{display:block}
.em-spark path{fill:none;stroke-width:1.6}
.em-spark.up path{stroke:var(--standard)} .em-spark.down path{stroke:var(--action)}

/* Today's board */
.em-board-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.em-board{width:100%;border-collapse:collapse;background:var(--card);border-radius:12px;font-size:15px;min-width:640px}
.em-board th,.em-board td{padding:9px 12px;border-bottom:1px solid var(--rule);text-align:left}
.em-board thead th{font:500 12px var(--mono);color:var(--slate);text-transform:uppercase;letter-spacing:.04em}
.em-board .n{text-align:right;font-variant-numeric:tabular-nums}
.em-board .strong{font-weight:700}
.em-board .em-reg th{background:var(--paper);font:600 13px var(--body);color:var(--slate);padding-top:14px}
.em-board tbody th{font:400 15px var(--body);text-transform:none;letter-spacing:0;color:var(--ink)}
.em-board tbody th a{color:var(--ink);font-weight:600;text-decoration:none}
.em-board tbody th a:hover{text-decoration:underline}
.em-board tr.old td{color:var(--slate)}
.em-board small{color:var(--slate);font-weight:400}
.em-board.slim{min-width:0;max-width:640px}

/* Key points */
.em-kp{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.em-kp li{background:var(--card);border:1px solid var(--rule);border-radius:12px;padding:18px 20px}
.em-kp h3{font-size:17px;margin:0 0 8px}
.em-kp p{margin:0;font-size:15.5px;line-height:1.55}
.em-pick{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
.em-pick label{font-weight:600}
.em-pick select{font:inherit;padding:8px 12px;border:1px solid var(--rule);border-radius:8px;background:var(--card)}

/* Margin box */
.em-margin{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:18px 32px;margin-top:20px}
.em-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.em-in label,.em-freight label{display:grid;gap:4px;font-size:13.5px;color:var(--slate)}
.em-in{align-items:end}
.em-in select{font:500 15px var(--body);height:auto;min-height:0;line-height:1.35;padding:10px 11px;border:1px solid var(--rule);border-radius:8px;background:var(--card);color:var(--ink);width:100%}
.em-in label span{color:var(--slate)}
.em-in input,.em-freight input{font:600 17px var(--mono);padding:9px 11px;border:1px solid var(--rule);border-radius:8px;background:var(--card);color:var(--ink);width:100%}
.em-in input:focus-visible,.em-freight input:focus-visible,.em-pick select:focus-visible{outline:2px solid var(--wine);outline-offset:1px}
.em-out{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.em-out div{background:var(--card);border:1px solid var(--rule);border-radius:10px;padding:12px 14px}
.em-out span{display:block;font-size:13px;color:var(--slate)}
.em-out b{font:600 22px var(--mono);font-variant-numeric:tabular-nums}
.em-out .big{grid-column:1/-1;background:var(--ink);border-color:var(--ink)}
.em-out .big span{color:var(--tone-13)} .em-out .big b{color:var(--card);font-size:28px}
.em-out .big.loss{background:var(--action-dark);border-color:var(--action-dark)}
.em-year{grid-column:1/-1}
.em-year p{margin:6px 0 10px;font-size:15px}
.em-year ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px}
.em-year li{background:var(--card);border:1px solid var(--rule);border-radius:8px;padding:8px 4px;text-align:center}
.em-year li span{display:block;font-size:12px;color:var(--slate)}
.em-year li b{font:600 12.5px var(--mono);font-variant-numeric:tabular-nums;color:var(--standard-dark)}
.em-year li.loss{background:var(--action-soft);border-color:var(--action-soft)} .em-year li.loss b{color:var(--action-dark)}
.em-note{grid-column:1/-1}

/* Freight box */
.em-freight{background:var(--card);border:1px solid var(--rule);border-radius:12px;padding:14px 16px;margin-top:14px}
.em-freight p{margin:8px 0 0;font-size:14.5px}
.em-chart .em-bar.pays{fill:var(--standard)}
.em-chart .em-bar.nopay{fill:var(--tone-4)}

.em-band{background:var(--standard-soft)}
.em-other ul{list-style:none;margin:8px 0 0;padding:0;columns:3;column-gap:16px;font-size:15px;line-height:1.9}
.em-other a{color:var(--ink)}
.em-source{padding-block:32px 48px;border-top:1px solid var(--rule)}
.em-source p{font-size:13.5px;color:var(--slate);max-width:900px;margin:0 0 8px;line-height:1.6}

@media (max-width:900px){
  .em-hero,.em-two,.em-margin{grid-template-columns:minmax(0,1fr);gap:28px}
  .em-kp{grid-template-columns:minmax(0,1fr)}
  .em-year ol{grid-template-columns:repeat(6,minmax(0,1fr))}
  .em-other ul{columns:2}
}
@media (max-width:600px){
  .em-board .m-hide{display:none}
  .em-board{min-width:0}
}
@media (max-width:420px){
  .em-rate{font-size:46px}
  .em-in{grid-template-columns:minmax(0,1fr)}
  .em-year ol{grid-template-columns:repeat(4,minmax(0,1fr))}
}

.em-ask{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin:4px 0 0;font-weight:600}

/* Rate alert (LE-4): sign-up and manage pages */
.em-msg{background:var(--standard-soft);border-radius:14px 14px 14px 4px;padding:14px 16px;margin:22px 0 10px;max-width:520px;font-size:15.5px;line-height:1.5}
.em-msg p{margin:0}
.em-msg-h{font:500 12px var(--mono);color:var(--standard-dark);margin-bottom:6px!important}
.em-msg-b{margin-top:10px!important;padding-top:8px;border-top:1px solid var(--rule);text-align:center;font-weight:600;color:var(--wine)}
.em-alert{display:grid;gap:12px}
.em-alert h2{font-size:22px;margin:0}
.em-alert label{display:grid;gap:4px;font-size:14px;color:var(--slate)}
.em-alert label span,.ea-zones legend span{color:var(--slate);font-weight:400}
.em-alert input[type=text],.em-alert input[type=tel],.em-alert input[type=number]{font:500 16px var(--body);padding:10px 12px;border:1px solid var(--rule);border-radius:8px;background:var(--card);color:var(--ink);width:100%}
.em-alert input:focus-visible{outline:2px solid var(--wine);outline-offset:1px}
.ea-zones{border:0;margin:0;padding:0;min-width:0}
.ea-zones legend{font-size:14px;color:var(--ink);font-weight:600;margin-bottom:6px}
.ea-zones > div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px;max-height:220px;overflow:auto;padding:8px;border:1px solid var(--rule);border-radius:8px;background:var(--paper)}
.em-alert .ea-z{display:flex;gap:6px;align-items:center;font-size:14px;color:var(--ink)}
.em-alert .ea-z input:disabled + *{opacity:.5}
.ea-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.em-alert .ea-check{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:var(--ink);line-height:1.45}
.ea-check input{margin-top:3px}
.ea-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.ea-out{margin:0;font-weight:600;min-height:1.2em}
.ea-out.ok{color:var(--standard-dark)} .ea-out.err{color:var(--action-dark)}
.em-manage{max-width:760px}
.em-manage .em-alert{margin-top:20px}
.ea-stop{margin-top:14px}
.ea-note{background:var(--standard-soft);color:var(--standard-dark);border-radius:10px;padding:10px 14px;font-weight:600}
.ea-note.err{background:var(--action-soft);color:var(--action-dark)}
@media (max-width:600px){.ea-zones > div{grid-template-columns:repeat(2,minmax(0,1fr))}}

.em-abroad{grid-column:1/-1;margin:0;font-size:15px;color:var(--ink);background:var(--card);border:1px dashed var(--rule);border-radius:10px;padding:10px 14px}

/* The daily rate on a phone (_egg-whatsapp.php) */
section.em-wa{background:var(--standard-soft)}
.em-wa-points{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.em-wa-points li{padding-left:16px;border-left:3px solid var(--standard-mid);line-height:1.5}
.wa-phone{margin:0 auto;width:min(320px,100%);display:grid;gap:10px;justify-items:center}
.wa-screen{width:100%;border:10px solid var(--ink);border-radius:38px;overflow:hidden;background:var(--paper-2);box-shadow:0 24px 60px rgba(28,36,48,.18)}
.wa-bar{display:flex;gap:10px;align-items:center;background:var(--ink);color:var(--card);padding:12px 14px 10px}
.wa-ava{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--action);color:var(--card);font:700 15px var(--display)}
.wa-who{display:grid;line-height:1.2}
.wa-who b{font-size:15px} .wa-who small{font-size:11.5px;color:var(--tone-13)}
.wa-chat{display:grid;gap:8px;padding:14px 12px 18px;min-height:360px;align-content:start}
.wa-day{justify-self:center;margin:4px 0;font:500 11px var(--mono);color:var(--slate);background:var(--card);border-radius:8px;padding:3px 9px}
.wa-msg{max-width:88%;font-size:14px;line-height:1.45;padding:9px 11px;border-radius:12px;box-shadow:0 1px 1px rgba(28,36,48,.08)}
.wa-msg.in{justify-self:start;background:var(--card);border-top-left-radius:4px}
.wa-msg.out{justify-self:end;background:var(--standard-soft);border-top-right-radius:4px;font-weight:600}
.wa-btn{display:block;margin-top:8px;padding-top:8px;border-top:1px solid var(--rule);text-align:center;font-weight:600;color:var(--wine)}
.wa-phone figcaption{font-size:13px;color:var(--slate)}
