:root{--ease-ui:cubic-bezier(.2,.75,.25,1);--motion-fast:140ms;--motion-panel:200ms}
/* Shared surfaces and controls; the map remains the main visual accent. */
.panel,.summary-card,.auth-card,.news-story{box-shadow:0 2px 8px #0f172a04,0 12px 32px #0f172a03}
.primary-button,.secondary-button,.lime-button,.icon-button,.nav-item,.field-list-item,.crop-option,.theme-options button,.background-options button,.drawer-languages button,.category-filters button,.report-tabs button,.field-method button,.task-choices button,.auth-tabs button{transition:background-color var(--motion-fast) ease,border-color var(--motion-fast) ease,color var(--motion-fast) ease,box-shadow var(--motion-fast) ease,transform 100ms ease}
.primary-button:not(:disabled):active,.secondary-button:not(:disabled):active,.lime-button:not(:disabled):active,.icon-button:not(:disabled):active{transform:translateY(1px)}
.primary-button:not(:disabled):hover,.lime-button:not(:disabled):hover{box-shadow:0 4px 14px #0d94881c}
.secondary-button:not(:disabled):hover,.icon-button:not(:disabled):hover,.field-list-item:hover{border-color:var(--brand-strong,#0f766e);background-color:var(--surface-alt,#f8fafc)}
.primary-button:focus-visible,.secondary-button:focus-visible,.nav-item:focus-visible,.field-switch:focus-visible{outline:3px solid var(--focus,#0f766e);outline-offset:4px}
.nav-item{position:relative}.nav-item::before{content:'';position:absolute;left:0;width:3px;height:19px;background:var(--brand-strong);border-radius:0 3px 3px 0;opacity:0;transform:scaleY(.5);transition:opacity var(--motion-fast) ease,transform var(--motion-fast) var(--ease-ui)}.nav-item.active::before{opacity:1;transform:scaleY(1)}
.news-story:focus-within{border-color:var(--brand-strong)}.brief-news h3,.news-story h3{transition:color var(--motion-fast) ease}
.auth-card label{font-size:14px}.auth-card .auth-mode-note{font-size:13px}.auth-tabs button,.category-filters button,.drawer-languages button{min-height:44px}.password-toggle{min-height:36px}
.side-dialog>.dialog-heading,.form-dialog .dialog-heading{position:sticky;top:0;z-index:3;background:var(--surface);border-radius:15px 15px 0 0}
.more-settings>summary,.coordinate-details>summary,.soil-card>summary,.field-archive>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:40px}.more-settings>summary::-webkit-details-marker,.coordinate-details>summary::-webkit-details-marker,.soil-card>summary::-webkit-details-marker,.field-archive>summary::-webkit-details-marker{display:none}
.more-settings>summary::after,.coordinate-details>summary::after,.soil-card>summary::after,.field-archive>summary::after{content:'';width:7px;height:7px;flex:none;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform var(--motion-fast) var(--ease-ui);margin:0 4px 4px 0}
.more-settings[open]>summary::after,.coordinate-details[open]>summary::after,.soil-card[open]>summary::after,.field-archive[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
.analysis-error{border-width:1px 1px 1px 4px}.status-success{color:var(--brand-strong)!important}.status-success:not(:empty){border-color:var(--brand-strong)}
button[aria-busy=true]{cursor:progress;opacity:1!important}button[aria-busy=true]::before{content:'';display:inline-block;width:14px;height:14px;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:middle;margin-right:7px;animation:agrix-spin .8s linear infinite}button[aria-busy=true]>[data-icon]{display:none}
.theme-changing .panel,.theme-changing .summary-card,.theme-changing .sidebar,.theme-changing .auth-card,.theme-changing .news-story,.theme-changing .side-dialog{transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease}
.dashboard-loader{display:none}.account-loading .workspace::before{content:none}.account-loading .dashboard-loader{display:flex;align-items:center;justify-content:center;gap:13px;position:fixed;inset:0 0 0 var(--sidebar,236px);font-size:15px;font-weight:600;color:var(--brand-strong)}.loading-indicator{width:20px;height:20px;border:2px solid var(--border);border-top-color:var(--brand-strong);border-radius:50%;animation:agrix-spin .85s linear infinite}
.map-tools .icon-button{width:40px;height:40px}.leaflet-control-zoom a{width:38px!important;height:38px!important;line-height:38px!important}
.analysis-progress-track{height:8px;overflow:hidden;background:var(--surface-alt);border:1px solid var(--border);border-radius:8px;margin:24px 0 17px}.analysis-progress-track>span{display:block;height:100%;background:var(--brand-strong);border-radius:inherit;transform-origin:left;transform:scaleX(var(--progress,0));transition:transform 320ms var(--ease-ui)}
#analysis-progress{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.progress-panel.is-complete{border-color:var(--brand-strong)}.progress-title-row{display:flex;align-items:center;gap:12px;min-width:0}.progress-complete-icon{display:none;font-size:23px;color:var(--brand-strong)}.progress-panel.is-complete .progress-complete-icon{display:inline-block}
@keyframes agrix-spin{to{transform:rotate(360deg)}}
@media(hover:hover) and (pointer:fine){.news-story-cover:hover img{transform:scale(1.02)}}
@media(max-width:650px){.map-tools .icon-button{width:44px;height:44px;padding:11px}.map-tools{gap:7px}.leaflet-control-zoom a{width:42px!important;height:42px!important;line-height:42px!important}.auth-card label{font-size:15px}.auth-tabs button{font-size:15px}.category-filters button{min-height:44px;font-size:13px}.account-loading .dashboard-loader{left:0}.news-meta{font-size:12px}.site-languages button{min-height:36px;min-width:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.primary-button:active,.secondary-button:active,.lime-button:active,.icon-button:active,.button:hover,.news-story-cover:hover img{transform:none!important}}

.motion-preference{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;font-size:14px;font-weight:600}.motion-preference input{width:18px;height:18px;accent-color:var(--brand-strong)}
:root[data-motion=reduce] *,:root[data-motion=reduce] *::before,:root[data-motion=reduce] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
:root[data-motion=reduce] .primary-button:active,:root[data-motion=reduce] .secondary-button:active,:root[data-motion=reduce] .lime-button:active,:root[data-motion=reduce] .icon-button:active,:root[data-motion=reduce] .button:hover,:root[data-motion=reduce] .news-story-cover:hover img{transform:none!important}

.result-promise li::before{content:none}.promise-check{color:var(--brand-strong);font-weight:700;flex:none}.result-promise li>span[data-i]{margin-bottom:0}.guided-analysis .result-promise li{display:flex;gap:12px}
