/* Compact portfolio and photographic stage layer. */
.portfolio-summary{display:flex;gap:32px;align-items:center;margin:25px 0 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}.portfolio-summary>div{display:flex;gap:10px;align-items:baseline}.portfolio-summary strong{font-size:27px;letter-spacing:-.7px;font-weight:500}.portfolio-summary span{font-size:12px;color:var(--muted)}.portfolio-summary .summary-attention{margin-left:auto}.summary-attention strong{color:#a36a2b}.summary-date{font-family:JetBrains;font-size:10px!important}.portfolio-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(345px,1fr);gap:24px;align-items:stretch}.crop-selection{min-width:0}.crop-selection-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.crop-selection-head h2{font-size:21px;letter-spacing:-.4px}.crop-selection-head>span{color:var(--muted);font-family:JetBrains;font-size:10px}.crop-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.crop-tile{height:185px;border-radius:14px;border-color:transparent}.crop-tile>img{object-position:center 44%}.tile-top{inset:11px 12px auto}.tile-top>.mono{font-size:8px;padding:3px 5px;letter-spacing:.5px}.tile-arrow{height:24px;width:24px;font-size:15px}.tile-bottom{inset:auto 12px 14px}.tile-bottom>strong{font-size:23px;letter-spacing:-.5px;line-height:1.1}.tile-bottom>.tile-stage{font-size:10px;margin-top:7px;display:block}.tile-review{display:block;font-size:9px;color:#e6c998;margin-top:4px}.tile-marker{position:absolute;top:12px;left:11px;width:5px;height:5px;border-radius:50%}.crop-tile.chart-selected{box-shadow:0 0 0 3px #d39751;transform:translateY(-2px)}.crop-tile.chart-muted{opacity:.53}.crop-tile.chart-muted:hover{opacity:1}.gallery-selection{display:flex;align-items:center;gap:12px;margin:15px 0 0;min-height:25px;color:var(--muted);font-size:11px}.gallery-selection button{margin-left:auto;color:#956027;font-size:11px;background:transparent;text-decoration:underline;white-space:nowrap}.gallery-foot{padding:20px 2px 23px;margin-top:22px;border-top:1px solid var(--line);font-size:11px}.crop-gallery{min-height:calc(100vh - 165px)}.portfolio-overview{border:1px solid var(--line);border-radius:17px;background:var(--paper);padding:22px 23px 0;min-width:0;align-self:stretch;overflow:hidden;display:flex;flex-direction:column}.portfolio-overview-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.portfolio-overview-head h2{font-size:22px;letter-spacing:-.6px}.portfolio-overview-head>span{font-size:10px;color:var(--muted)}.overview-tabs{background:#ede8dc;border-radius:7px;padding:4px;display:flex;gap:4px;margin-top:16px}.overview-tabs button{flex:1;background:transparent;border-radius:5px;font-size:12px;padding:8px;color:#6d7466}.overview-tabs button.active{background:var(--paper);color:var(--ink);box-shadow:0 1px 3px #25322312}.portfolio-visual{display:flex;align-items:center;gap:10px;flex:1;padding:17px 0 12px}.portfolio-chart{width:52%;flex-shrink:0}.portfolio-chart svg{width:100%;display:block;overflow:visible}.donut-segment{fill:none;stroke-width:29;cursor:pointer;transition:opacity .25s,stroke-width .25s;outline:0}.donut-segment:hover,.donut-segment:focus-visible{stroke-width:35}.donut-segment:focus-visible{filter:drop-shadow(0 0 2px #715017)}.donut-segment.dimmed{opacity:.3}.donut-number{font-family:Familjen;font-size:42px;font-weight:500;letter-spacing:-1.5px;fill:var(--ink)}.donut-unit{font-family:Familjen;font-size:13px;fill:#677260}.donut-caption{font-family:Familjen;font-size:10px;fill:#9a825d}.portfolio-legend{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.portfolio-key{display:grid;grid-template-columns:8px minmax(0,1fr) auto;column-gap:7px;row-gap:1px;align-items:center;text-align:left;background:transparent;border-radius:6px;padding:7px 5px;color:var(--ink);border:1px solid transparent;width:100%}.portfolio-key.selected{background:#f2e6d2;border-color:#dac198}.portfolio-key:hover{background:#efe9dc}.portfolio-key i{width:7px;height:7px;border-radius:50%;background:var(--swatch)}.portfolio-key>span{font-size:12px;white-space:nowrap}.portfolio-key b{font-size:13px;font-weight:500}.portfolio-key b small{font-size:9px;margin-left:1px}.portfolio-key em{grid-column:2/4;font-size:10px;font-style:normal;color:var(--muted)}.portfolio-chart-note{font-size:10px;color:var(--muted);text-align:center;padding-bottom:16px}.portfolio-insight{display:flex;gap:10px;justify-content:space-between;align-items:center;background:#eee7d8;border-top:1px solid var(--line);padding:16px 22px;margin:0 -23px}.portfolio-insight div>span{display:block;font-size:10px;color:#7b7f6d}.portfolio-insight strong{display:block;font-size:18px;font-weight:500;letter-spacing:-.2px;margin-top:3px}.portfolio-insight button{display:flex;align-items:center;gap:15px;font-size:11px;color:#7c562a;background:#fbf6eb;border:1px solid #d8c7aa;border-radius:7px;padding:9px 11px;white-space:nowrap}.portfolio-insight button:hover{background:#f7e3c4}.portfolio-insight button span{font-size:17px}.gallery-intro{font-size:15px}.gallery-count{font-size:9px}.stage-sprite{display:block;background-image:var(--sprite);background-size:500% 100%;background-repeat:no-repeat;background-position:calc(var(--frame) * 25%) center;width:60px;aspect-ratio:434.4 / 724}.tile-stage-art{position:absolute;top:42px;right:11px;width:49px;height:73px;background:#f5efe31c;backdrop-filter:blur(7px);border:1px solid #efdfb84f;border-radius:10px;display:grid;place-items:center;transform:rotate(5deg)}.tile-stage-art .stage-sprite{width:35px;opacity:.9}.has-stage-lens{height:495px}.has-stage-lens .tree{object-position:40% center}.has-stage-lens .photo-shade{background:linear-gradient(90deg,#06160dc4,transparent 44%,#07150c50),linear-gradient(0deg,#06160ddc,transparent 40%,#06160d55)}.has-stage-lens .health{left:22px;top:160px}.has-stage-lens .moisture{left:22px;right:auto;top:278px}.has-stage-lens .chlorophyll{left:auto;right:22px;top:auto;bottom:39px;text-align:right}.has-stage-lens .chlorophyll strong{font-size:24px}.has-stage-lens .chlorophyll>span{font-size:11px}.has-stage-lens .chlorophyll small{display:none}.has-stage-lens .crop-bottom{font-size:10px}.has-stage-lens .illustration-label{max-width:118px;text-align:right;font-size:8px}.stage-lens{position:absolute;top:115px;right:25px;width:182px;border:1px solid #f5efe34d;border-radius:15px;padding:13px 15px 12px;color:#faf3e3;background:rgba(233,239,211,var(--glass-opacity,.16));backdrop-filter:blur(13px);box-shadow:0 12px 36px #061d132d,inset 0 1px 0 #ffffff15}.stage-lens[hidden]{display:none}.lens-top{display:flex;align-items:center;gap:5px;font-family:JetBrains;font-size:7px;letter-spacing:.7px;white-space:nowrap;color:#dedbc0}.lens-top>span:last-child{margin-left:auto;font-size:7px;opacity:.65}.lens-dot{width:4px;height:4px;border-radius:50%;background:#e1b271}.lens-specimen{position:relative;height:142px;display:grid;place-items:center;margin:6px 0 5px}.lens-specimen .stage-sprite{width:77px;opacity:var(--artwork-opacity,.94);filter:drop-shadow(0 7px 10px #061b173a);position:relative}.specimen-orbit{position:absolute;width:122px;height:122px;border:1px dashed #e6d9b653;border-radius:50%;transform:rotate(-24deg) scaleX(.8)}.specimen-orbit:before,.specimen-orbit:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#ebc47e;top:16px;left:10px;box-shadow:0 0 0 4px #eedbac17}.specimen-orbit:after{top:auto;left:auto;bottom:16px;right:10px}.lens-scale{position:absolute;bottom:1px;right:-7px;font-family:JetBrains;font-size:6px;letter-spacing:1px;color:#e9e2c188;writing-mode:vertical-rl}.lens-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.lens-title strong{font-size:19px;font-weight:500;letter-spacing:-.6px}.lens-title b{font-size:24px;font-weight:400;letter-spacing:-.7px}.lens-title small{font-size:10px;margin-left:1px}.lens-progress{height:3px;border-radius:4px;background:#e3e2d430;margin-top:9px;overflow:hidden}.lens-progress i{display:block;background:#e5b66d;height:100%;border-radius:4px;transition:width .4s}.stage-lens p{font-size:8px;color:#e5e5d1;margin-top:8px;letter-spacing:.1px}.phenology:has(.stage-thumb){padding:23px 22px}.phenology:has(.stage-thumb) .stages{margin:17px 0 13px;gap:2px}.phenology:has(.stage-thumb) .stages:before{left:17px;top:22px;bottom:22px}.stage:has(.stage-thumb){gap:10px;min-height:48px;padding:1px 7px 1px 0;border-radius:9px}.stage:has(.stage-thumb).active{background:#efe4d0}.stage-thumb{position:relative;display:grid;place-items:center;width:36px;height:44px;flex:none;background:var(--paper);border:1px solid #e5dbc8;border-radius:8px}.stage-thumb .stage-sprite{width:23px;height:38px}.stage.active .stage-thumb{background:#ede0c7;border-color:#c9a56e;box-shadow:0 0 0 2px #de994c16}.stage-label-group{min-width:0;flex:1}.stage-label-group .stage-name{display:block;font-size:12px}.stage-bar{display:block;max-width:93px;height:3px;background:#e5ddce;border-radius:4px;margin-top:6px}.stage-bar i{display:block;height:100%;border-radius:4px;background:#a9b296}.stage.active .stage-bar i{background:#c89351}.stage-detail small{display:block;font-size:9px;color:#8b7c64;margin-top:7px}.phenology>.muted{font-size:12px}.crop-latin{display:none}.crop-top h2{margin-top:5px}.crop-indicator small{font-size:10px}.evidence-bar>span:nth-child(2){line-height:1.5}
@media(min-width:1650px){.crop-tile{height:216px}.portfolio-overview{padding:25px 29px 0}.portfolio-insight{margin:0 -29px;padding:19px 27px}.tile-bottom>strong{font-size:28px}.portfolio-key>span{font-size:14px}.portfolio-key{padding:10px 7px}.portfolio-visual{gap:17px}.stage-lens{width:198px;right:32px}.lens-specimen{height:145px}.has-stage-lens{height:510px}}
@media(max-width:1250px){.portfolio-split{grid-template-columns:minmax(0,1.15fr) minmax(335px,1fr);gap:20px}.crop-cards{gap:10px}.crop-tile{height:185px}.tile-bottom>strong{font-size:21px}.tile-top{inset:10px 9px auto}.tile-bottom{left:10px;right:8px}.tile-arrow{display:none}.tile-stage-art{right:8px;top:38px;width:42px;height:65px}.tile-stage-art .stage-sprite{width:31px}.portfolio-overview{padding:20px 17px 0}.portfolio-insight{margin:0 -17px;padding:16px}.portfolio-key{column-gap:5px;padding:7px 1px}.portfolio-key>span{font-size:11px}.portfolio-chart{width:50%}.portfolio-visual{gap:5px}.stage-lens{width:155px;right:17px;padding:12px}.lens-specimen{height:133px}.lens-title strong{font-size:17px}.lens-title b{font-size:21px}.lens-top{font-size:6px;letter-spacing:.4px}.lens-top>span:last-child{font-size:6px}.has-stage-lens .health,.has-stage-lens .moisture{left:17px}.has-stage-lens .chlorophyll{right:17px}.has-stage-lens .crop-indicator strong{font-size:25px}.phenology:has(.stage-thumb){padding:22px 18px}}
@media(max-width:1050px){.portfolio-split{grid-template-columns:minmax(0,1.2fr) minmax(335px,1fr)}}
@media(max-width:850px){.portfolio-split{grid-template-columns:1fr}.portfolio-overview{display:grid;grid-template-columns:1fr 1fr;gap:0 25px;padding:22px 25px 0}.portfolio-overview-head,.overview-tabs{grid-column:1/-1}.portfolio-visual{grid-column:1/-1;padding:17px 10px 0;gap:30px}.portfolio-chart{width:43%;max-width:260px}.portfolio-legend{display:grid;grid-template-columns:1fr 1fr;gap:10px}.portfolio-key>span{font-size:13px}.portfolio-key em{font-size:11px}.portfolio-chart-note{grid-column:1/-1}.portfolio-insight{grid-column:1/-1;margin:0 -25px;padding:17px 25px}.crop-tile{height:190px}.tile-arrow{display:flex}.crop-selection{order:0}.portfolio-overview{order:1}.crop-cards{gap:13px}.tile-top{inset:12px}.tile-bottom{left:14px;bottom:15px}.tile-bottom>strong{font-size:25px}.tile-stage-art{right:14px;width:49px;height:73px}.tile-stage-art .stage-sprite{width:35px}.portfolio-summary{gap:25px}.portfolio-summary>div{gap:8px}.portfolio-summary strong{font-size:25px}.portfolio-summary span{font-size:11px}.summary-date{display:none}.crop-grid:has(.has-stage-lens){grid-template-columns:1fr}.has-stage-lens{height:475px}.stage-lens{width:185px;right:25px;top:110px}.lens-specimen{height:150px}.lens-title strong{font-size:21px}.lens-top{font-size:7px}.has-stage-lens .health{left:25px;top:157px}.has-stage-lens .moisture{left:25px;top:270px}.has-stage-lens .chlorophyll{right:25px;bottom:28px}.has-stage-lens .crop-indicator strong{font-size:30px}.has-stage-lens .crop-bottom .illustration-label{display:none}.phenology:has(.stage-thumb) .stages{flex-direction:row;gap:8px}.phenology:has(.stage-thumb) .stages:before{display:none}.stage:has(.stage-thumb){flex:1;min-width:0;flex-direction:column;padding:8px 4px;gap:6px;text-align:center;border:1px solid var(--line)}.stage-thumb{width:38px;height:52px}.stage-thumb .stage-sprite{width:27px;height:45px}.stage-label-group .stage-name{font-size:12px;white-space:nowrap}.stage-bar{width:60px;margin:7px auto 0}.stage-count{margin:auto auto 0}.stage-detail p{font-size:12px}.stage-detail small{font-size:10px}}
@media(max-width:600px){.crop-gallery h1{font-size:30px!important;max-width:330px}.gallery-intro{font-size:13px;line-height:1.5;margin-top:10px}.portfolio-summary{gap:16px;margin-top:20px;padding:12px 0;justify-content:space-between}.portfolio-summary>div{flex-direction:column;align-items:start;gap:2px}.portfolio-summary .summary-attention{margin-left:0}.portfolio-summary strong{font-size:27px}.portfolio-summary span{font-size:10px}.crop-selection-head h2{font-size:20px}.crop-selection-head>span{font-size:9px}.crop-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.crop-tile{height:154px;border-radius:11px}.tile-top{inset:9px 8px auto}.tile-top>.mono{font-size:7px;padding:3px 4px;letter-spacing:0}.tile-arrow{display:none}.tile-bottom{left:9px;right:5px;bottom:11px}.tile-bottom>strong{font-size:18px;line-height:1.05}.tile-bottom>.tile-stage{font-size:8px;line-height:1.3;margin-top:7px}.tile-review{font-size:8px;margin-top:3px}.tile-stage-art{width:35px;height:54px;right:7px;top:34px;border-radius:7px}.tile-stage-art .stage-sprite{width:26px}.gallery-selection{font-size:10px;margin-top:11px;gap:6px}.gallery-selection button{font-size:10px}.portfolio-split{gap:23px}.portfolio-overview{display:flex;padding:19px 16px 0}.portfolio-overview-head h2{font-size:22px}.portfolio-overview-head>span{font-size:9px}.overview-tabs{margin-top:14px;flex:none}.portfolio-visual{width:100%;padding:17px 0 10px;gap:10px}.portfolio-chart{width:50%}.portfolio-legend{display:flex;gap:1px}.portfolio-key{padding:5px 0;column-gap:5px}.portfolio-key>span{font-size:12px}.portfolio-key em{font-size:9px}.portfolio-key b{font-size:12px}.portfolio-chart-note{font-size:9px;padding-bottom:15px}.portfolio-insight{margin:0 -16px;padding:16px;gap:9px}.portfolio-insight strong{font-size:18px}.portfolio-insight button{font-size:10px;padding:9px}.gallery-foot{font-size:9px;line-height:1.5;margin-top:19px}.has-stage-lens{height:475px;border-radius:17px}.has-stage-lens .crop-top{inset:20px 18px auto}.has-stage-lens .crop-top h2{font-size:31px}.has-stage-lens .crop-top .mono{font-size:8px}.has-stage-lens .photo-badge{font-size:9px;padding:6px 8px}.has-stage-lens .photo-badge svg{width:12px;height:12px}.stage-lens{right:15px;top:123px;width:142px;padding:12px 11px 11px;border-radius:12px}.lens-top{font-size:6px;letter-spacing:.4px;gap:4px}.lens-top>span:last-child{display:none}.lens-specimen{height:124px;margin-top:8px}.lens-specimen .stage-sprite{width:65px}.specimen-orbit{width:102px;height:102px}.lens-title strong{font-size:16px;letter-spacing:-.3px}.lens-title b{font-size:21px}.stage-lens p{font-size:7px}.lens-scale{font-size:5px;right:-5px}.has-stage-lens .health{left:14px;top:163px;min-width:0;padding:6px 2px}.has-stage-lens .moisture{left:14px;top:278px;min-width:0;padding:6px 2px}.has-stage-lens .crop-indicator strong{font-size:24px}.has-stage-lens .crop-indicator strong em{font-size:8px;margin-left:2px}.has-stage-lens .crop-indicator>span{font-size:11px}.has-stage-lens .crop-indicator small{font-size:8px}.has-stage-lens .chlorophyll{left:auto;right:16px;top:auto;bottom:40px;padding:6px 2px;min-width:0}.has-stage-lens .chlorophyll strong{font-size:21px}.has-stage-lens .crop-bottom{left:18px;bottom:18px;font-size:9px}.has-stage-lens .tree{object-position:45% center}.phenology:has(.stage-thumb){padding:21px 15px}.phenology:has(.stage-thumb) h2{font-size:24px}.phenology:has(.stage-thumb) .stages{gap:4px}.stage:has(.stage-thumb){padding:7px 1px;gap:6px}.stage-thumb{width:31px;height:42px}.stage-thumb .stage-sprite{width:23px;height:38px}.stage-label-group .stage-name{font-size:9px;letter-spacing:-.2px}.stage-bar{width:40px;max-width:100%}.stage-count{font-size:9px}.stage-detail b{font-size:12px}.stage-detail p{font-size:11px}.stage-detail small{font-size:9px}.evidence-bar{align-items:start}.evidence-bar>span:nth-child(2){font-size:9px}.evidence-bar button{font-size:9px}.evidence-bar svg{flex:none}.crop-indicator strong{font-size:26px}}
@media(max-width:360px){.crop-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.crop-tile{height:150px}.tile-bottom>strong{font-size:21px}.portfolio-summary{gap:10px}.stage-lens{width:128px;right:10px}.lens-title strong{font-size:15px}.has-stage-lens .health,.has-stage-lens .moisture{left:10px}.has-stage-lens .crop-indicator strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.donut-segment,.lens-progress i{transition:none}.crop-tile.chart-selected{transform:none}}

.phenology:has(.stage-thumb) .stages:after{display:none}.stage:has(.stage-thumb){align-items:center}.phenology:has(.stage-thumb) .stage-detail{display:block}.portfolio-overview .portfolio-key{min-height:0;line-height:1.2}.portfolio-overview .portfolio-key em{line-height:1.2}.portfolio-overview .portfolio-visual{min-height:250px;flex:0}.portfolio-overview{align-self:start}.portfolio-overview .portfolio-key i{font-style:normal}.portfolio-overview .portfolio-legend{gap:3px}.crop-gallery .gallery-foot{margin-top:22px}
@media(max-width:600px){.stage-lens .lens-title{gap:4px;flex-wrap:nowrap}.stage-lens .lens-title strong{font-size:15px;white-space:nowrap}.stage-lens .lens-title b{font-size:20px}.stage-lens .lens-title small{font-size:9px}.stage-lens .lens-progress{margin-top:10px}.portfolio-overview .portfolio-visual{min-height:235px}.portfolio-overview .portfolio-key{min-height:0}.portfolio-overview .portfolio-legend{gap:2px}.phenology:has(.stage-thumb) .stage-detail{display:block}}
@media(max-width:360px){.sidebar{padding:13px 14px}.sidebar .brand img{width:108px}.sidebar nav{gap:2px}.sidebar nav a{width:40px;padding:10px;gap:0;min-height:44px}.sidebar nav svg{width:20px;height:20px}}
