:root{--ink:#172117;--muted:#697468;--surface:rgba(255,255,255,.94);--line:#e4e8df;--honey:#f7b928;--honey-dark:#d68d08;--leaf:#2f6f46;--cream:#fbfaf5;--danger:#a53b2d;--shadow:0 18px 50px rgba(30,45,31,.16)}
*{box-sizing:border-box;margin:0;padding:0}html,body,#app{width:100%;height:100%}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);overflow:hidden}.hidden{display:none!important}
.topbar{position:fixed;z-index:500;top:16px;left:18px;right:18px;height:66px;padding:10px 12px 10px 14px;display:flex;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid rgba(255,255,255,.9);border-radius:18px;box-shadow:0 8px 32px rgba(30,45,31,.12);backdrop-filter:blur(16px)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.radius-picker{display:flex;align-items:center;gap:7px;margin-left:18px;color:var(--muted);font-size:11px;font-weight:700}.radius-picker select{height:38px;padding:0 30px 0 11px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.radius-picker select:focus-visible{outline:2px solid rgba(214,141,8,.3);outline-offset:2px;border-color:var(--honey-dark)}.my-apiaries-btn{height:42px;margin-left:auto;margin-right:12px;padding:0 16px;border:1px solid #e7bd4e;border-radius:13px;background:#fff7df;color:#5c4104;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}.my-apiaries-btn:hover,.my-apiaries-btn:focus-visible{background:#ffefb8;outline:2px solid rgba(214,141,8,.3);outline-offset:2px}
.brand{display:flex;align-items:center;gap:11px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:radial-gradient(circle at 30% 24%,#fff7c7 0 12%,transparent 13%),linear-gradient(145deg,#ffd95e,var(--honey));box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 5px 14px rgba(150,97,0,.22)}.brand-mark svg{width:34px;height:34px;overflow:visible}.bee-wing{fill:rgba(255,255,255,.88);stroke:#76530b;stroke-width:1.4}.bee-body{fill:#ffc426;stroke:#382b0b;stroke-width:1.8}.bee-stripe,.bee-detail{fill:none;stroke:#382b0b;stroke-width:3;stroke-linecap:round}.bee-detail{stroke-width:1.6}.brand h1{font-size:17px;letter-spacing:-.35px}.brand p{font-size:11px;color:var(--muted);margin-top:2px}.top-actions{display:flex;gap:8px}.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);font-size:19px;font-weight:700;cursor:pointer}.icon-btn:hover{background:#fff9e8;border-color:#f2d477}
.hotspot-controls{display:flex;align-items:center;gap:6px;margin-right:10px}.hotspot-toggle,.hotspot-controls select{height:42px;border:1px solid #df9c21;border-radius:12px;background:#fff8e2;color:#5c4104;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.hotspot-toggle{padding:0 13px;white-space:nowrap}.hotspot-toggle.active{background:linear-gradient(135deg,#ffdc58,#f6a923);box-shadow:0 0 0 3px rgba(247,185,40,.18)}.hotspot-controls select{padding:0 8px;background:white}.legend-hotspot{border-radius:50%;background:radial-gradient(circle,#e84058 0 25%,#ffb02e 45%,rgba(255,224,74,.2) 75%)}
main,#map{width:100%;height:100%}.ol-zoom{top:98px;left:18px}.ol-zoom button{background:white!important;color:var(--ink)!important;border:1px solid var(--line)!important}.ol-attribution{font-size:10px}
.map-hint{position:absolute;z-index:300;top:96px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:rgba(24,33,24,.82);color:white;font-size:12px;box-shadow:0 4px 16px rgba(0,0,0,.16);pointer-events:none;white-space:nowrap}.bee-dot{width:10px;height:10px;border-radius:50%;background:var(--honey);box-shadow:0 0 0 3px rgba(247,185,40,.25)}
.legend{position:absolute;z-index:300;left:18px;bottom:18px;display:flex;align-items:center;gap:12px;padding:9px 12px;background:var(--surface);border:1px solid rgba(255,255,255,.9);border-radius:12px;box-shadow:0 5px 20px rgba(30,45,31,.12);font-size:11px;color:var(--muted)}.legend>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.legend i{display:inline-block;width:13px;height:13px}.legend-bee{border-radius:50%;background:var(--honey);border:2px solid white;box-shadow:0 0 0 1px var(--honey-dark)}.legend-radius{border-radius:50%;border:2px dashed var(--honey-dark);background:rgba(247,185,40,.14)}.legend-field{background:rgba(47,111,70,.28);border:1px solid var(--leaf)}.legend-author{height:24px;margin-left:3px;padding-left:11px;border-left:1px solid var(--line);display:flex;align-items:center;gap:6px;color:var(--muted);text-decoration:none;white-space:nowrap}.legend-author span{font-size:9px}.legend-author img{display:block;width:70px;height:auto}
.panel{position:fixed;z-index:450;right:18px;top:98px;width:370px;max-height:calc(100vh - 116px);overflow:auto;padding:24px;background:var(--surface);border:1px solid rgba(255,255,255,.9);border-radius:20px;box-shadow:var(--shadow);backdrop-filter:blur(16px)}.panel-handle{display:none}.panel-close{position:absolute;right:14px;top:13px;width:32px;height:32px;border:0;border-radius:50%;background:#f1f3ee;color:#687166;font-size:21px;cursor:pointer}.panel-empty .panel-close{display:none}.empty-icon{width:52px;height:52px;display:grid;place-items:center;background:#fff6d9;border-radius:16px;margin-bottom:14px;font-size:25px}.empty-icon.small{width:42px;height:42px;font-size:19px}.panel h2,.modal h2{font-size:21px;letter-spacing:-.5px;padding-right:26px}.panel-empty p,#empty-state p{margin-top:8px;font-size:13px;line-height:1.55;color:var(--muted)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.2px;color:var(--honey-dark);margin-bottom:6px}.address{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.4}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.metrics div{padding:11px 8px;background:#f5f6f1;border-radius:12px}.metrics strong{display:block;font-size:16px}.metrics span{display:block;margin-top:3px;font-size:9px;color:var(--muted)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:4px 0 10px}.section-heading h3{font-size:14px}.section-heading span{font-size:9px;color:var(--muted)}.crop-list{display:flex;flex-direction:column;gap:7px}.crop-row{width:100%;display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:9px;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:white;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.crop-row:hover{border-color:#e7bd4e;background:#fffaf0;transform:translateY(-1px)}.crop-row.active{border-color:var(--honey-dark);background:#fff5d8;box-shadow:0 0 0 2px rgba(247,185,40,.18)}.crop-swatch{width:10px;height:10px;border-radius:3px}.crop-name{font-size:12px;font-weight:650}.crop-meta{font-size:10px;color:var(--muted);margin-top:2px}.crop-area{font-size:12px;font-weight:750}.method-note{font-size:9px!important;line-height:1.45!important;margin-top:12px!important;color:#879083!important}.loading-row{display:flex;align-items:center;gap:10px;padding:18px 0;color:var(--muted);font-size:13px}.spinner{width:20px;height:20px;border:3px solid #efe5c6;border-top-color:var(--honey-dark);border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-box{padding:11px;border-radius:10px;background:#fff0ed;color:var(--danger);font-size:12px;line-height:1.45}
.modal{position:fixed;z-index:900;inset:0;display:grid;place-items:center;padding:18px;background:rgba(17,26,18,.45);backdrop-filter:blur(7px)}.modal-card{position:relative;width:min(430px,100%);padding:26px;background:white;border-radius:20px;box-shadow:var(--shadow)}.modal-card p{margin:12px 0;font-size:13px;line-height:1.55;color:var(--muted)}.modal-card a{color:var(--leaf);font-size:13px;font-weight:700;text-decoration:none}.phone-modal-card{width:min(380px,100%)}.phone-search-form{display:grid;gap:9px;margin-top:18px}.phone-search-form label{font-size:12px;font-weight:800}.phone-search-form input{width:100%;height:44px;padding:0 13px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;outline:none}.phone-search-form input:focus{border-color:var(--honey-dark);box-shadow:0 0 0 3px rgba(247,185,40,.18)}.primary-btn{height:44px;margin-top:3px;border:0;border-radius:12px;background:var(--honey);color:#4f3500;font:inherit;font-weight:800;cursor:pointer}.primary-btn:hover,.primary-btn:focus-visible{background:#ffc83d;outline:2px solid rgba(214,141,8,.3);outline-offset:2px}.privacy-note{font-size:11px!important;margin-bottom:0!important}.phone-search-status{min-height:20px;margin-bottom:0!important}.phone-search-status.error{color:var(--danger)}
.basic-info{display:grid;gap:9px;margin-top:18px}.basic-info div{padding:12px 13px;background:#f5f6f1;border-radius:12px}.basic-info span,.basic-info strong{display:block}.basic-info span{margin-bottom:4px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.6px}.basic-info strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.basic-info a{font-size:13px}.apiary-card{width:min(460px,100%)}
.forage-summary{margin:12px 0 15px;padding:12px;background:#f7f8f3;border:1px solid var(--line);border-radius:14px}.forage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.forage-grid div{padding:8px 6px;background:white;border-radius:9px;text-align:center}.forage-grid strong,.forage-grid span{display:block}.forage-grid strong{font-size:15px}.forage-grid span{margin-top:2px;color:var(--muted);font-size:8px;line-height:1.25}.season-calendar{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;height:58px;margin-top:10px}.season-calendar button{display:grid;grid-template-rows:12px 1fr;gap:3px;padding:0;border:0;border-radius:6px;background:transparent;font:inherit;text-align:center;cursor:pointer}.season-calendar button:hover,.season-calendar button:focus-visible{outline:2px solid rgba(214,141,8,.35);outline-offset:2px}.season-calendar span{font-size:8px;color:var(--muted);text-transform:uppercase}.season-calendar i{position:relative;display:block;overflow:hidden;border-radius:5px;background:#e6eadf}.season-calendar b{position:absolute;left:0;right:0;bottom:0;min-height:2px;background:linear-gradient(#f7c84b,#d99509)}.season-calendar button.month-active{box-shadow:0 0 0 2px var(--honey-dark);background:#fff4cf}.season-calendar button.month-active span{color:#6d4a00;font-weight:900}.month-filter-empty{padding:11px;border:1px dashed #d9c37d;border-radius:10px;background:#fffaf0;color:var(--muted);font-size:10px;line-height:1.4}.forage-advice{margin-top:9px}.forage-advice p{margin:5px 0;padding:7px 8px;border-left:3px solid var(--honey);background:#fff8e2;border-radius:6px;font-size:10px;line-height:1.4}.forage-advice small{display:block;color:var(--muted);font-size:8px;line-height:1.35}
.landcover-breakdown{margin-top:10px}.cover-group+.cover-group{margin-top:9px}.cover-group>strong{display:block;margin-bottom:4px;font-size:9px;color:#596254}.cover-bar{display:flex;overflow:hidden;height:9px;border-radius:8px;background:#e1e3dc}.cover-bar i{display:block;height:100%}.cover-legend{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:6px}.cover-legend span{font-size:8px;color:var(--muted)}.cover-legend b{display:inline-block;width:7px;height:7px;margin-right:3px;border-radius:2px}
.natural-habitat{margin-top:11px;padding-top:10px;border-top:1px solid var(--line)}.natural-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.natural-title strong{font-size:10px}.natural-title span{padding:2px 5px;border-radius:999px;background:#ece9dc;color:#7a704d;font-size:7px;text-transform:uppercase}.habitat-list{display:grid;gap:5px}.habitat-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:7px 8px;border-radius:8px;background:white}.habitat-row>div:first-child strong,.habitat-row>div:first-child span,.habitat-row>div:last-child b,.habitat-row>div:last-child small{display:block}.habitat-row>div:first-child strong{font-size:9px}.habitat-row>div:first-child span{margin-top:2px;color:var(--muted);font-size:8px;line-height:1.35}.habitat-row>div:last-child{text-align:right}.habitat-row>div:last-child b{font-size:10px}.habitat-row>div:last-child small{margin-top:2px;color:var(--muted);font-size:8px}.natural-habitat>p{margin:6px 1px 0;color:var(--muted);font-size:8px;line-height:1.35}.crop-name-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.pollen-badge{display:inline-flex;align-items:center;padding:2px 5px;border-radius:999px;background:#f3e5b8;color:#735500;font-size:8px;font-weight:800;line-height:1.2;white-space:nowrap}
.season-calendar button.crop-window{position:relative}.season-calendar button.crop-window:after{content:'';position:absolute;inset:-3px;border:2px solid #9852a5;border-radius:8px;pointer-events:none}.season-calendar button.crop-window span{color:#71377d;font-weight:900}
@media(max-width:720px){.topbar{top:8px;left:8px;right:8px;height:60px}.brand{flex-shrink:0}.brand p,.brand h1{display:none}.brand-mark{width:36px;height:36px}.my-apiaries-btn{height:38px;min-width:0;margin:0 7px;padding:0 10px;font-size:11px}.top-actions{gap:4px;flex-shrink:0}.icon-btn{width:34px;height:34px;font-size:16px}.map-hint{top:78px}.ol-zoom{top:122px;left:10px}.panel{top:auto;left:8px;right:8px;bottom:8px;width:auto;max-height:56vh;padding:20px;border-radius:20px}.panel-handle{display:block;width:38px;height:4px;background:#d8ddd3;border-radius:4px;margin:-10px auto 13px}.legend{left:8px;bottom:118px;max-width:calc(100% - 16px);overflow:auto}.panel:not(.panel-empty)~* .legend{display:none}.metrics{margin:14px 0}.map-hint{font-size:11px}.panel-empty{padding:16px 18px}.panel-empty .empty-icon{display:none}.panel-empty h2{font-size:16px}.panel-empty p{font-size:11px}}
@media(max-width:720px){.radius-picker{margin-left:7px}.radius-picker span,.legend-author>span{display:none}.radius-picker select{width:67px;height:36px;padding:0 5px;font-size:11px}.legend-author{padding-left:8px}.legend-author img{width:60px}.panel:not(.panel-empty){max-height:48vh;padding:15px 17px}.panel:not(.panel-empty) .panel-handle{margin:-7px auto 9px}.panel:not(.panel-empty) h2{font-size:18px}.panel:not(.panel-empty) .address{margin-top:3px;font-size:11px}.panel:not(.panel-empty) .metrics{margin:10px 0;gap:6px}.panel:not(.panel-empty) .metrics div{padding:8px 6px}.panel:not(.panel-empty) .section-heading{margin:2px 0 7px}.panel:not(.panel-empty) .crop-list{gap:5px}.panel:not(.panel-empty) .crop-row{padding:7px 8px}.panel:not(.panel-empty) .method-note{margin-top:8px!important}}
@media(max-width:720px){.hotspot-controls{margin-right:4px}.hotspot-toggle{width:38px;height:36px;padding:0;font-size:0}.hotspot-toggle:after{content:'✦';font-size:18px}.hotspot-controls select{position:absolute;top:64px;right:0;height:36px;box-shadow:var(--shadow)}.hotspot-legend{display:none!important}}
