/* Atlantic Smart Farm visual layer | 2026-10-11 | based on Atlantic Remessas */
:root{--atl-bg:#071019;--atl-bg2:#081a24;--atl-bg3:#06151d;--atl-head:#0b1725;--atl-panel:rgba(7,28,44,.72);--atl-panel2:rgba(8,20,34,.90);--atl-soft:rgba(14,26,42,.80);--atl-field:rgba(54,78,105,.36);--atl-border:rgba(145,175,220,.18);--atl-border2:rgba(130,170,220,.28);--atl-text:#f4f7fb;--atl-muted:#9eafc3;--atl-blue:#1e78ff;--atl-blue2:#5ea1ff;--atl-gold:#c18a53;--atl-green:#67c23a;--atl-red:#ff6f78;--atl-shadow:0 24px 70px rgba(0,0,0,.38);--bg:var(--atl-bg);--panel:var(--atl-panel);--line:var(--atl-border);--text:var(--atl-text);--muted:var(--atl-muted);--nav:var(--atl-head);--nav2:#10263c;--blue:var(--atl-blue);--blue2:#165fc9;--green:var(--atl-green);--danger:var(--atl-red);--shadow:var(--atl-shadow);font-family:"DM Sans",sans-serif}
*{scrollbar-color:rgba(145,175,220,.25) transparent;scrollbar-width:thin}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:rgba(145,175,220,.22);border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:rgba(145,175,220,.34)}
html,body,#app{background:var(--atl-bg);color:var(--atl-text)}body{font-family:"Inter",sans-serif}::selection{background:rgba(30,120,255,.32);color:#fff}button,input,select,textarea{font-family:"Inter",sans-serif}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid rgba(94,161,255,.72);outline-offset:2px}
.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(420px,34vw) 1fr;background:linear-gradient(135deg,var(--atl-bg) 0%,var(--atl-bg2) 58%,var(--atl-bg3) 100%);overflow:hidden}
.login-main{grid-column:1;grid-row:1;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:clamp(34px,5vw,76px);background:rgba(7,28,44,.60);border-right:1px solid rgba(180,214,235,.20);box-shadow:18px 0 48px rgba(0,0,0,.22);position:relative;overflow:hidden;z-index:2}
.login-main:before{content:"";position:absolute;inset:-35%;background:url("/brand-watermark.webp?v=20261011-atlantic-v1") repeat;background-size:110px 110px;opacity:.055;transform:rotate(60deg);pointer-events:none}
.login-card{width:min(430px,100%);position:relative;z-index:1;background:rgba(8,20,34,.78);border:1px solid rgba(130,170,220,.22);border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.34);padding:clamp(28px,4.4vw,42px);color:var(--atl-text);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.atlantic-login-brand{display:flex;align-items:center;margin:0 0 26px}.atlantic-login-brand img{display:block;width:min(100%,370px);height:auto}.atlantic-eyebrow{color:var(--atl-gold);font-size:.72rem;font-weight:700;letter-spacing:.11em;margin-bottom:8px}
.login-card h1{font-family:"Manrope",sans-serif;font-size:clamp(2rem,4vw,2.75rem);letter-spacing:-.035em;line-height:1.08;color:#fff;margin:0 0 10px}.login-card .subtitle{color:#aab9c9;font-size:.94rem;line-height:1.5;margin-bottom:28px}
.field{margin-bottom:16px}.field label{display:block;color:rgba(255,255,255,.90);font-size:.88rem;font-weight:600;margin-bottom:7px}.field input{width:100%;height:48px;border:1px solid var(--atl-border);border-radius:10px;padding:0 14px;outline:none;background:var(--atl-field);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}.field input:focus{background:rgba(54,78,105,.44);border-color:var(--atl-blue2);box-shadow:0 0 0 1px rgba(30,120,255,.16)}
.field input:-webkit-autofill,.field input:-webkit-autofill:hover,.field input:-webkit-autofill:active{-webkit-text-fill-color:#fff!important;caret-color:#fff!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;border-color:var(--atl-border)!important;transition:background-color 999999s ease-out 0s!important}
.primary{width:100%;height:46px;border:1px solid rgba(30,120,255,.32);border-radius:10px;background:linear-gradient(180deg,#0b1a29 0%,#08111c 100%);color:#fff;font-weight:700;cursor:pointer;transition:.16s ease}.primary:hover{background:linear-gradient(180deg,#10263c 0%,#0b1725 100%);border-color:rgba(30,120,255,.70);box-shadow:0 0 16px rgba(30,120,255,.13)}.primary:disabled{opacity:.58;cursor:not-allowed}.login-error{color:#ff9e9e;font-size:.82rem;min-height:18px;margin:13px 0 0}
.login-side{grid-column:2;grid-row:1;min-height:100vh;position:relative;overflow:hidden;padding:0;background:linear-gradient(135deg,rgba(7,16,25,.10),rgba(6,24,32,.18)),url("/atlantic-desk-drone.webp?v=20261011-atlantic-v1") center/cover no-repeat,linear-gradient(135deg,var(--atl-bg) 0%,#061820 100%)}.login-side:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,16,25,.40),rgba(7,16,25,.08) 45%,rgba(7,16,25,.24))}
.login-visual-copy{position:absolute;left:clamp(38px,6vw,92px);bottom:clamp(38px,7vw,96px);z-index:2;width:min(560px,72%);color:#fff}.login-visual-copy span{display:block;color:var(--atl-gold);font-size:.76rem;font-weight:700;letter-spacing:.16em;margin-bottom:12px}.login-visual-copy strong{display:block;font-family:"Manrope",sans-serif;font-size:clamp(1.8rem,4vw,3.6rem);line-height:1.05;letter-spacing:-.045em;text-shadow:0 4px 22px rgba(0,0,0,.35)}
.shell{height:100%;display:grid;grid-template-rows:72px 1fr;grid-template-columns:230px 1fr;grid-template-areas:"top top" "side main";background:var(--atl-bg)}
.topbar{grid-area:top;min-height:72px;background:rgba(8,20,34,.97);border-bottom:1px solid rgba(130,170,220,.18);display:flex;align-items:center;padding:0 22px;box-shadow:0 8px 24px rgba(0,0,0,.18);z-index:100}.topbrand{min-width:286px;display:flex;align-items:center;height:100%}.topbrand img{display:block;width:270px;max-height:58px;object-fit:contain;object-position:left center}
.topnav{display:flex;gap:8px;height:100%;align-items:stretch}.topnav a{display:flex;align-items:center;text-decoration:none;color:rgba(255,255,255,.72);padding:2px 13px 0;font-size:.83rem;font-weight:600;border-bottom:3px solid transparent;transition:.16s ease}.topnav a:hover{color:#fff}.topnav a.active{color:#fff;border-bottom-color:var(--atl-blue)}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:14px}.status-dot{width:8px;height:8px;border-radius:50%;background:#67c23a;box-shadow:0 0 0 3px rgba(103,194,58,.12);display:inline-block;margin-right:7px}.user-chip{font-size:.80rem;color:#b6c5d5}.logout-btn{width:40px;height:40px;padding:0;display:grid;place-items:center;border:1px solid rgba(137,167,205,.16);border-radius:11px;background:rgba(14,26,42,.86);cursor:pointer}.logout-btn:hover{background:rgba(18,34,56,.98);border-color:rgba(30,120,255,.55)}.logout-btn img{width:19px;height:19px;display:block}
.sidebar{grid-area:side;background:rgba(8,20,34,.94);color:#c9d2d8;padding:14px 0 24px;overflow:auto;border-right:1px solid rgba(130,170,220,.14);position:relative}.sidebar:before{content:"";position:absolute;inset:0;background:url("/brand-watermark.webp?v=20261011-atlantic-v1") repeat;background-size:92px 92px;opacity:.025;pointer-events:none}
.side-title{position:relative;color:#71879d;font-size:.66rem;letter-spacing:.14em;font-weight:700;padding:15px 20px 8px}.menu-item{position:relative;display:flex;align-items:center;gap:11px;margin:2px 9px;padding:11px 12px;border-left:0;border-radius:9px;color:#b4c2d0;text-decoration:none;font-size:.81rem;transition:.15s ease}.menu-item:hover{background:rgba(255,255,255,.045);color:#fff}.menu-item.active{background:linear-gradient(90deg,rgba(30,120,255,.19),rgba(30,120,255,.07));color:#fff;box-shadow:inset 2px 0 0 var(--atl-blue)}.menu-icon{width:20px;color:#8faccc}.menu-item.active .menu-icon{color:#84b7ff}
.main{grid-area:main;min-width:0;overflow:auto;padding:22px;position:relative;background:radial-gradient(circle at 82% 12%,rgba(30,120,255,.055),transparent 24%),linear-gradient(135deg,#071019 0%,#081a24 60%,#06151d 100%);color:var(--atl-text)}
.main:before{content:"";position:fixed;left:230px;top:72px;right:0;bottom:0;background:url("/brand-watermark.webp?v=20261011-atlantic-v1") repeat;background-size:112px 112px;opacity:.025;pointer-events:none}.main>*{position:relative;z-index:1}
.page-head{display:flex;align-items:center;margin:0 0 14px;min-height:42px}.page-head h1{font-family:"Manrope",sans-serif;color:#fff;font-size:1.48rem;letter-spacing:-.025em;margin:0;font-weight:700}.page-head .crumb{font-size:.72rem;color:#7e91a5;margin-left:13px}.page-actions{margin-left:auto;display:flex;gap:8px}
.compat-banner{background:rgba(14,26,42,.72);border:1px solid rgba(130,170,220,.18);border-left:3px solid var(--atl-gold);color:#b9c7d7;border-radius:10px;padding:10px 13px;font-size:.73rem;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.compat-banner b{color:#e8eef6}.compat-banner .mono{color:#7faeff;font-size:.68rem}
.btn,.ops-tool-btn,.manual-route-actions button,.split-line-actions button{min-height:34px;padding:0 13px;border-radius:8px;border:1px solid rgba(145,175,220,.18);background:rgba(14,26,42,.78);color:#dbe6f4;cursor:pointer;font-size:.75rem;transition:.15s ease}.btn:hover,.ops-tool-btn:hover{background:rgba(18,34,56,.96);border-color:rgba(30,120,255,.45)}.btn.blue{background:var(--atl-blue);border-color:var(--atl-blue);color:#fff}.btn.blue:hover{background:#1769de}.btn.ghost-danger{color:#ff8d94}.btn:disabled{opacity:.42;cursor:not-allowed}
.search,.select,.ops-date-range,.ops-date-range input,.ops-demand-search input,.ops-filter-panel input,.ops-filter-panel select{background:var(--atl-field);color:#fff;border:1px solid var(--atl-border);border-radius:8px}.search,.select{height:36px}.search{padding:0 11px}.select{padding:0 9px}.search::placeholder,input::placeholder{color:#8094aa}.search:focus,.select:focus{border-color:var(--atl-blue2);outline:none;box-shadow:0 0 0 1px rgba(30,120,255,.16)}.select option,select option{background:#0b1725;color:#fff}.muted{color:var(--atl-muted)!important}
.card{background:rgba(8,20,34,.78);border:1px solid rgba(130,170,220,.18);border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.20);overflow:hidden}.toolbar{display:flex;align-items:center;gap:9px;padding:12px 14px;background:rgba(11,23,37,.62);border-bottom:1px solid rgba(130,170,220,.12)}.module-card{padding:20px}.module-card h3{font-family:"Manrope",sans-serif;color:#fff}
.probe-item{border:1px solid var(--atl-border);border-radius:10px;padding:13px;background:rgba(14,26,42,.72)}.probe-item.ok{border-color:rgba(103,194,58,.34);background:rgba(40,94,55,.22)}.probe-item.bad{border-color:rgba(255,111,120,.32);background:rgba(110,35,40,.18)}.probe-name{color:#fff}.probe-status{color:#9dafc1}.jsonbox{background:#06111b;color:#b9d8eb;border:1px solid rgba(130,170,220,.14);border-radius:10px}.data-table{color:#dce5ef}.data-table th,.data-table td{border-bottom:1px solid rgba(145,175,220,.12)}.data-table th{background:#0b1725;color:#9fb0c3}.data-table tbody tr:nth-child(even){background:rgba(255,255,255,.018)}.data-table tbody tr:hover{background:rgba(30,120,255,.07)}.empty,.loader{color:#8fa0b3}.spinner{border-color:rgba(145,175,220,.20);border-top-color:var(--atl-blue)}
.plot-grid{border-top:1px solid rgba(130,170,220,.14)}.plot-list{border-right:1px solid rgba(130,170,220,.14);background:rgba(8,20,34,.90)}.list-summary{color:#7f93a8;border-bottom:1px solid rgba(145,175,220,.10);background:rgba(11,23,37,.52)}
.plot-row{background:rgba(14,26,42,.64);margin:7px 9px;border:1px solid rgba(145,175,220,.12);border-radius:9px;box-shadow:none;color:#d9e3ee}.plot-row:hover{background:rgba(20,39,61,.78);border-color:rgba(94,161,255,.34)}.plot-row.active{background:rgba(30,120,255,.13);border-color:rgba(94,161,255,.62);box-shadow:0 0 0 1px rgba(30,120,255,.13) inset}.plot-name{color:#f5f7fa}.plot-id-inline{color:#7f93a8}.plot-area-inline{color:#c5d2df}.plot-meta,.plot-meta-eav{color:#879aae}.plot-meta-eav .req-chip{background:rgba(30,120,255,.13);color:#8fc0ff}
.map-wrap,.map,.ops-map-wrap,.ops-map{isolation:isolate}.map-empty{background:rgba(8,20,34,.90);border:1px solid rgba(145,175,220,.18);color:#d3deea;border-radius:9px}
.plot-detail-drawer{background:rgba(8,20,34,.94);border-left:1px solid rgba(130,170,220,.18);color:#edf3f9;box-shadow:-12px 0 36px rgba(0,0,0,.30);backdrop-filter:blur(10px)}.plot-detail-title{border-bottom:1px solid rgba(145,175,220,.13);color:#fff;background:rgba(11,23,37,.72)}.plot-detail-title button{color:#9db0c4}.plot-detail-title button:hover{color:#fff}.plot-detail-identity{border-bottom-color:rgba(145,175,220,.11);color:#8396aa}.plot-detail-identity strong{color:#fff}.plot-detail-identity>div:first-child span{color:#8193a5}.plot-detail-date em{background:rgba(30,120,255,.13);color:#8fc0ff}.plot-detail-grid b{color:#899bad}.plot-detail-grid span{color:#e7edf4}.plot-detail-actions{background:rgba(8,20,34,.98);border-top:1px solid rgba(145,175,220,.14)}.plot-detail-actions button{border-radius:8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}.plot-raw-btn{background:rgba(14,26,42,.84)}
.ops-page{background:transparent}.ops-toolbar{background:rgba(8,20,34,.94);border-bottom:1px solid rgba(130,170,220,.16);color:#eaf0f6}.ops-tabs{border-color:rgba(145,175,220,.16);border-radius:9px;background:rgba(14,26,42,.66)}.ops-tab{border-right:1px solid rgba(145,175,220,.13);background:transparent;color:#9fb0c2}.ops-tab:hover{color:#fff;background:rgba(255,255,255,.035)}.ops-tab.active{background:var(--atl-blue);color:#fff}.ops-date-range{border-color:var(--atl-border)}.ops-date-range input{border:0!important;box-shadow:none!important;color:#dfe8f1}.ops-date-range span{color:#7f92a5}
.ops-side{background:rgba(8,20,34,.92);border-right:1px solid rgba(130,170,220,.15)}.ops-summary-card,.ops-day-card{background:rgba(14,26,42,.76);border:1px solid rgba(145,175,220,.14);box-shadow:none;color:#e8eef5}.ops-summary-card{border-color:rgba(94,161,255,.44)}.ops-summary-head{color:#82b4ff}.ops-stat,.ops-day-stat{color:#a9b8c7}.ops-day-head{color:#eef3f8}.ops-day-area{color:#b7c5d2}.ops-day-card:hover{border-color:rgba(94,161,255,.34)}.ops-day-card.active{border-color:var(--atl-blue);box-shadow:0 0 0 1px rgba(30,120,255,.28) inset;background:rgba(30,120,255,.10)}
.ops-task-list{border-top-color:rgba(145,175,220,.12)}.ops-task-toggle{color:#80b4ff}.ops-task-card{background:rgba(14,26,42,.58);border-bottom-color:rgba(145,175,220,.10);color:#b7c4d1}.ops-task-card:hover{background:rgba(22,43,66,.72)}.ops-task-card.selected{background:rgba(30,120,255,.11);border-left-color:var(--atl-blue);color:#9bc5ff}.ops-task-meta{color:#7e91a5}.ops-flight-list{border-left-color:rgba(94,161,255,.26)}.ops-flight-heading{color:#91a6bb}.ops-flight-item{background:rgba(14,26,42,.68);border-color:rgba(145,175,220,.12);color:#b8c5d2}.ops-flight-item span{color:#7f92a5}.ops-flight-item.active{background:rgba(30,120,255,.12);color:#8fc0ff;border-color:rgba(94,161,255,.55)}
.ops-flight-metrics-head{color:#82b4ff;border-bottom-color:rgba(145,175,220,.12)}.ops-flight-diagnostics{border-color:rgba(145,175,220,.12);background:rgba(14,26,42,.48)}.ops-flight-diagnostics summary{color:#9dafc1}
.ops-list-wrap{background:rgba(8,20,34,.93)}.ops-summary-strip{border-bottom:1px solid rgba(145,175,220,.12)}.ops-summary-box{background:rgba(14,26,42,.70);border-color:rgba(145,175,220,.13)}.ops-summary-box strong{color:#fff}.ops-summary-box span{color:#8799ac}.ops-table{color:#dce5ef}.ops-table th{background:#0b1725;color:#a8b7c6;border-bottom-color:rgba(145,175,220,.15)}.ops-table td{color:#cdd8e3;border-bottom-color:rgba(145,175,220,.10)}.ops-date-row td{background:rgba(30,120,255,.055);color:#e9eff5}
.ops-demand{background:rgba(8,20,34,.93);color:#e8eef4}.ops-filter-panel{background:rgba(8,20,34,.97);border:1px solid rgba(130,170,220,.22);box-shadow:var(--atl-shadow)}.ops-filter-panel label{color:#9dafc1}.ops-detail-panel{background:rgba(8,20,34,.95);border-left:1px solid rgba(130,170,220,.15)}.ops-detail-head{border-bottom-color:rgba(145,175,220,.12);color:#fff}.ops-detail-head button{color:#8ea1b4}.ops-detail-content{color:#a4b4c4}.ops-detail-note{color:#788ca0}.ops-detail-field{border-bottom-color:rgba(145,175,220,.10)}.ops-detail-field span{color:#7f93a7}.ops-detail-field strong{color:#f0f4f8}
.ops-legend{background:rgba(8,20,34,.90);border:1px solid rgba(145,175,220,.18);color:#dbe7f3;box-shadow:0 4px 18px rgba(0,0,0,.25)}.ops-map-status{background:rgba(8,20,34,.90);border:1px solid rgba(145,175,220,.16);color:#fff}.ops-playback{background:rgba(8,20,34,.94);border:1px solid rgba(145,175,220,.20);color:#dbe6f2;box-shadow:0 5px 24px rgba(0,0,0,.34)}.ops-playback button,.ops-playback select{background:rgba(54,78,105,.54);color:#e9f0f7}.ops-playback #opsPlaybackPlay{background:var(--atl-gold);color:#fff}.ops-playback input[type=range]{accent-color:var(--atl-blue)}.ops-playback #opsPlaybackPosition{color:#8ea2b7}
.plot-import-backdrop,.demand-manager-backdrop,.demand-form-backdrop,.plot-delete-backdrop,.smart-confirm-backdrop,.crop-picker-backdrop{background:rgba(3,9,15,.72);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.plot-import-modal,.demand-manager-modal,.demand-form-modal,.plot-delete-modal,.smart-confirm-modal,.crop-picker-modal,.split-plot-panel{background:rgba(8,20,34,.96);border:1px solid rgba(130,170,220,.22);border-radius:18px;box-shadow:var(--atl-shadow);color:#f4f7fb}
.plot-import-title,.demand-manager-title,.demand-form-title,.plot-delete-title,.smart-confirm-title,.crop-picker-title,.split-panel-head{border-bottom:1px solid rgba(145,175,220,.13);background:rgba(11,23,37,.72)}
.plot-import-title strong,.demand-manager-title strong,.demand-form-title strong,.plot-delete-title strong,.smart-confirm-title strong,.crop-picker-title strong,.split-panel-head strong{color:#fff}
.plot-import-title span,.demand-manager-title span,.demand-form-title span,.plot-delete-title span,.split-panel-head span{color:#8498ad}
.plot-import-title>button,.demand-manager-title>button,.demand-form-title>button,.plot-delete-title>button,.smart-confirm-title button,.crop-picker-title button,.split-panel-head>button{color:#94a7ba}
.plot-import-body,.demand-form-body,.plot-delete-body,.smart-confirm-body,.split-panel-body{color:#c9d4df}.plot-import-body p,.plot-delete-body p,.smart-confirm-body p,.split-panel-body>p{color:#a2b2c2}.plot-import-body label,.demand-form-body label{color:#dbe5ee}
.plot-import-body select,.demand-form-body input,.plot-delete-body input,.demand-manager-toolbar input,.split-name-list input,.manual-route-edit-info input,.plot-inline-select{background:var(--atl-field);border:1px solid var(--atl-border);color:#fff;border-radius:8px}
.plot-import-body select:focus,.demand-form-body input:focus,.plot-delete-body input:focus,.demand-manager-toolbar input:focus,.split-name-list input:focus,.manual-route-edit-info input:focus,.plot-inline-select:focus{border-color:var(--atl-blue2);box-shadow:0 0 0 1px rgba(30,120,255,.16)}
.import-kml-file-name,.split-line-status{background:rgba(14,26,42,.64);border-color:rgba(145,175,220,.15);color:#93a7ba}.import-kml-defaults{background:rgba(30,120,255,.08)}.import-kml-defaults strong{color:#9fc7ff}.import-kml-defaults span{color:#8498ad}
.plot-import-footer,.demand-form-footer,.plot-delete-footer,.smart-confirm-footer,.split-panel-footer,.demand-manager-footer-note{border-top:1px solid rgba(145,175,220,.13);background:rgba(11,23,37,.72);color:#8396aa}
.plot-import-footer button,.demand-form-footer button,.plot-delete-footer button,.smart-confirm-footer button,.split-panel-footer button{border-radius:8px!important}
.plot-import-footer button:first-child,.demand-form-footer button:first-child,.plot-delete-footer button:first-child,.smart-confirm-footer button:first-child,.split-panel-footer button:first-child{background:rgba(14,26,42,.78);border:1px solid rgba(145,175,220,.18);color:#dfe8f1}
.plot-import-footer button:last-child,.demand-form-footer button:last-child,.smart-confirm-footer button.primary,.split-panel-footer button:last-child{background:var(--atl-blue);color:#fff;border:0}.plot-delete-footer button:last-child,.smart-confirm-footer button.danger{background:#d9515b;color:#fff;border:0}
.demand-manager-toolbar{border-bottom-color:rgba(145,175,220,.11)}.demand-manager-toolbar button{background:var(--atl-blue);border-radius:8px}.demand-manager-row{background:rgba(14,26,42,.62);border:1px solid rgba(145,175,220,.12);border-radius:9px}.demand-manager-main strong{color:#fff}.demand-manager-main span,.demand-manager-meta span{color:#879aae}.demand-manager-actions button{background:rgba(14,26,42,.82);border-color:rgba(145,175,220,.17);color:#cbd7e2;border-radius:7px}.demand-manager-actions button.danger{border-color:rgba(255,111,120,.28);color:#ff969d;background:rgba(120,40,46,.12)}.demand-manager-empty{color:#8396aa}
.plot-delete-warning{background:rgba(130,35,42,.14);border-color:rgba(255,111,120,.28)}.plot-delete-warning strong{color:#ff8a92}.plot-delete-warning span{color:#c9a7aa}.plot-delete-name{color:#fff}
.crop-picker-sidebar{background:rgba(11,23,37,.78);border-right-color:rgba(145,175,220,.12)}
.crop-category-btn{color:#91a3b5}.crop-category-btn:hover{background:rgba(255,255,255,.035)}.crop-category-btn.active{background:rgba(30,120,255,.10);color:#8fc0ff;border-left-color:var(--atl-blue)}
.crop-picker-content{background:rgba(7,18,30,.58)}
.crop-card{background:rgba(14,26,42,.72);border:1px solid rgba(145,175,220,.12);box-shadow:0 3px 12px rgba(0,0,0,.16)}.crop-card:hover{border-color:rgba(94,161,255,.52)}.crop-card.selected{border-color:var(--atl-blue);box-shadow:0 0 0 2px rgba(30,120,255,.15)}.crop-card-label{color:#dfe8f1}.crop-picker-loading{color:#879aae}
.manual-route-head{border-bottom-color:rgba(145,175,220,.11)}.manual-route-head strong{color:#fff}.manual-route-head span{color:#8295a8}.manual-route-head button{background:var(--atl-blue);border-radius:8px}
.manual-route-item{background:rgba(14,26,42,.65);border:1px solid rgba(145,175,220,.13);border-radius:9px}.manual-route-main strong{color:#edf3f8}.manual-route-main span{color:#7e91a5}.manual-route-actions button{background:rgba(14,26,42,.82);border-color:rgba(145,175,220,.15);color:#cbd7e2}.manual-route-empty,.manual-route-note{color:#8295a8}.manual-route-note{background:rgba(11,23,37,.62);border-top-color:rgba(145,175,220,.11)}
.manual-route-edit-bar,.plot-boundary-edit-bar,.plot-measure-status{background:rgba(8,20,34,.95);border:1px solid rgba(145,175,220,.18);color:#fff;box-shadow:0 6px 22px rgba(0,0,0,.34)}
.manual-route-edit-info strong,.plot-boundary-edit-bar strong,.plot-measure-status strong{color:#8fc0ff}
.lot-editor-drawer,.lot-editor-scroll,.lot-editor-section{background:rgba(8,20,34,.96)}.lot-editor-title{background:rgba(11,23,37,.80)}.lot-editor-section{border-bottom-color:rgba(145,175,220,.11)}.lot-editor-section-head strong{color:#edf2f7}.lot-editor-section-icon{border-color:#92a6b9;color:#b8c5d2}
.lot-boundary-card,.lot-zone-empty,.lot-zone-item{background:rgba(14,26,42,.66);border-color:rgba(145,175,220,.13)}.lot-boundary-card input{background:var(--atl-field);border-color:var(--atl-border);color:#fff}.lot-boundary-card small,.lot-zone-item small{color:#8295a8}.lot-zone-item span{color:#dbe5ef}
.lot-draw-box{background:rgba(30,120,255,.08);border-color:rgba(94,161,255,.42)}.lot-draw-box strong{color:#8fc0ff}.lot-draw-box span{color:#8fa4b8}.lot-editor-footer{background:rgba(8,20,34,.98);border-top-color:rgba(145,175,220,.13)}.lot-editor-footer button{background:var(--atl-blue);border-radius:8px}
.split-line-status strong,.split-result-title{color:#dce6ef}.split-line-status span,.split-name-list label,.split-name-list label span{color:#879aad}.split-preview-btn{background:#7655dc;border-radius:8px}
.toast{background:rgba(8,20,34,.96);border:1px solid rgba(130,170,220,.22);color:#fff;border-radius:10px;box-shadow:0 14px 38px rgba(0,0,0,.32)}.toast.success{background:rgba(18,71,45,.96);border-color:rgba(103,194,58,.30)}.toast.error{background:rgba(100,31,38,.96);border-color:rgba(255,111,120,.30)}
.leaflet-control-zoom a,.leaflet-control-layers,.leaflet-bar a{border-color:#d7dfe5}.leaflet-container{font-family:"Inter",sans-serif}
@media(max-width:1100px){.shell{grid-template-columns:72px 1fr}.sidebar .menu-text,.side-title{display:none}.menu-item{justify-content:center;margin:4px 8px;padding:12px 8px}.menu-icon{width:auto}.main:before{left:72px}.topbrand{min-width:250px}.topbrand img{width:235px}}
@media(max-width:900px){.login-page{grid-template-columns:1fr}.login-main{grid-column:1;border-right:0;padding:24px}.login-side{display:none}.shell{grid-template-rows:66px 1fr}.topbar{min-height:66px;padding:0 14px}.topbrand{min-width:0;flex:1}.topbrand img{width:min(245px,72vw)}.topnav{display:none}.user-chip{display:none}.main{padding:14px}.main:before{top:66px}.plot-grid{grid-template-columns:minmax(260px,38vw) 1fr}}
@media(max-width:700px){.shell{grid-template-columns:58px 1fr}.main:before{left:58px}.page-head{align-items:flex-start;flex-direction:column;gap:5px}.page-head .crumb{margin-left:0}.compat-banner{gap:8px;align-items:flex-start}.toolbar{flex-wrap:wrap}.search{width:100%;order:10}.plot-grid{grid-template-columns:1fr;height:auto;min-height:0}.plot-list{max-height:260px;border-right:0;border-bottom:1px solid rgba(145,175,220,.13)}.map-wrap{min-height:55vh}}
@media(max-width:520px){.login-main{padding:14px}.login-card{border-radius:16px;padding:26px 20px}.atlantic-login-brand img{max-width:300px}.topbrand img{width:205px}.logout-btn{width:38px;height:38px}}

/* Modelos de Trabalho: interface Atlantic */
.template-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.template-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;border:1px solid var(--atl-border,rgba(145,175,220,.18));border-radius:14px;background:rgba(7,28,44,.38)}.template-row strong{color:#edf5ff}.template-row .btn{flex-shrink:0}@media(max-width:650px){.template-row{align-items:flex-start;flex-direction:column}}

.unit-settings-modal{width:min(94vw,540px);max-width:540px}.unit-settings-fields{display:grid;grid-template-columns:105px 1fr;align-items:center;gap:16px 14px}.unit-settings-fields label{color:#cbd7e4;text-align:right;font-size:14px}.unit-settings-fields select{width:100%;min-width:0}.unit-settings-modal .smart-confirm-body{padding:24px 22px}.unit-settings-modal .smart-confirm-footer{padding:14px 22px 20px}@media(max-width:520px){.unit-settings-fields{grid-template-columns:90px 1fr;gap:12px 8px}.unit-settings-modal .smart-confirm-body{padding:18px 12px}}

.unit-settings-modal{width:min(94vw,440px);max-width:440px}.unit-settings-modal .smart-confirm-body{padding:18px 18px 8px}.unit-settings-fields{grid-template-columns:88px 1fr;gap:12px 10px}.unit-settings-fields label{font-size:12px}.unit-settings-fields select{min-height:38px}.unit-settings-modal .smart-confirm-footer{padding:14px 18px 18px}.unit-settings-modal #unitSettingsMessage:empty{display:none}

/* Atlantic Smart Farm: logo completo e responsivo no cabeçalho */
.topbrand{min-width:340px;width:340px;flex-shrink:0;overflow:visible}.topbrand img{width:330px;max-width:100%;max-height:60px;object-fit:contain;object-position:left center}.topbar{overflow:visible}@media(max-width:1100px){.topbrand{min-width:290px;width:290px}.topbrand img{width:282px}}@media(max-width:900px){.topbrand{min-width:0;width:auto;flex:1}.topbrand img{width:min(310px,68vw)}}@media(max-width:520px){.topbrand img{width:min(285px,67vw)}}

/* Emblema Atlantic substitui apenas o círculo decorativo; foto do drone permanece na frente. */
.login-side::before{content:"";position:absolute;left:50%;top:43%;width:min(76%,700px);aspect-ratio:1;transform:translate(-50%,-50%);background:url("/brand-watermark.webp") center / contain no-repeat;opacity:.22;z-index:0;pointer-events:none}
.login-side::after{z-index:1}.login-visual-copy{z-index:2}

/* Corrige heranca do circulo legado em style.css sem alterar drone ou marca Atlantic. */
.login-side::after{width:auto;height:auto;right:0;bottom:0;left:0;top:0;border:0;border-radius:0;box-shadow:none}

/* Pilha correta: fundo escuro > marca Atlantic > drone transparente > texto. */
.login-side{background:linear-gradient(135deg,#071019 0%,#061820 100%);isolation:isolate}
.login-side::before{z-index:0;opacity:.22}
.login-side::after{content:"";position:absolute;inset:0;width:auto;height:auto;transform:none;border:0;border-radius:0;box-shadow:none;background:linear-gradient(90deg,rgba(7,16,25,.30),rgba(7,16,25,.03) 55%,rgba(7,16,25,.15)),url("/atlantic-desk-drone.webp?v=20261011-atlantic-v1") center/cover no-repeat;z-index:1;pointer-events:none}
.login-visual-copy{z-index:2}

/* Centro do simbolo Atlantic deslocado para o ponto marcado na referencia. */
.login-side::before{left:34%;top:28%;z-index:0}

/* Posicao solicitada: centro do simbolo no quadrado X da referencia. */
.login-side::before{left:24%;top:17%;z-index:0}

/* Dispositivos organizados por família (J150 / J70), sem métricas não fornecidas pela API. */
.device-directory .toolbar{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.device-directory .search{min-width:min(330px,100%)}.device-group{margin-top:20px}.device-group h3{font-size:15px;font-weight:700;color:#eff6ff;display:flex;align-items:center;gap:12px;margin:0 0 12px;border-left:3px solid #1e78ff;padding-left:11px}.device-group h3 small{font-size:11px;font-weight:500;color:#95a9bb}.device-group-items{display:grid;gap:9px}.device-info-card{background:rgba(10,30,47,.65);border:1px solid rgba(145,175,220,.18);padding:15px 17px;border-radius:13px;display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(3,minmax(130px,1fr));align-items:center;gap:14px}.device-identity{display:flex;gap:13px;align-items:center;min-width:0}.device-symbol{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;background:rgba(145,175,220,.11);border-radius:9px;color:#8fc8ff;font-size:23px}.device-identity strong,.device-fact strong{display:block;color:#eef5fe;font-size:13px;overflow-wrap:anywhere}.device-identity small,.device-fact span{display:block;color:#8fa4ba;font-size:11px;margin-top:5px;overflow-wrap:anywhere}.device-fact{text-align:center}@media(max-width:900px){.device-info-card{grid-template-columns:minmax(180px,1fr) 1fr;gap:16px}.device-fact{text-align:left}}@media(max-width:520px){.device-info-card{grid-template-columns:1fr}.device-directory .search{width:100%}}

/* Estatísticas por dispositivo e detalhes clicáveis */
.device-info-card{grid-template-columns:minmax(210px,1.7fr) repeat(2,minmax(145px,1fr));width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer}.device-info-card:hover,.device-info-card:focus-visible{border-color:rgba(83,156,255,.75);background:rgba(19,48,71,.75);outline:none}.device-details-modal{width:min(94vw,660px);max-width:660px}.device-detail-name{font-weight:700;font-size:19px;margin-bottom:18px}.device-detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.device-detail-metrics>div{padding:18px;background:rgba(18,43,63,.65);border:1px solid rgba(145,175,220,.18);border-radius:12px;text-align:center}.device-detail-metrics strong{display:block;font-size:25px;color:#eef6ff}.device-detail-metrics span{display:block;font-size:12px;color:#98adc2;margin-top:6px}.device-detail-fields{display:grid;gap:12px}.device-detail-fields>div{display:flex;justify-content:space-between;gap:16px;padding:10px;border-bottom:1px solid rgba(145,175,220,.12)}.device-detail-fields span{color:#9fb1c6}.device-detail-fields strong{overflow-wrap:anywhere;text-align:right}@media(max-width:620px){.device-info-card{grid-template-columns:1fr 1fr}.device-identity{grid-column:1/-1}.device-detail-fields>div{flex-direction:column;gap:3px}.device-detail-fields strong{text-align:left}}

.device-detail-fields .search{min-width:130px;max-width:260px;flex:1}.device-detail-fields .btn{flex-shrink:0}.device-detail-fields>div:nth-child(2){align-items:center;flex-wrap:wrap}

/* Gestão de Mapas: listagem organizada no padrão Atlantic */
.atl-map-management .toolbar{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.atl-map-management .search{min-width:260px}.atl-map-table{width:100%;table-layout:auto}.atl-map-table th{white-space:nowrap;font-size:12px}.atl-map-table td{min-width:100px;font-size:13px;vertical-align:middle}.atl-map-table td:first-child{min-width:145px}.atl-map-table td:last-child{white-space:nowrap}.atl-map-link{background:none;border:0;padding:0;color:#65a9ff;font-weight:650;cursor:pointer;text-align:left}.atl-map-link:hover{text-decoration:underline}.atl-map-pagination{display:flex;align-items:center;justify-content:flex-end;gap:13px;flex-wrap:wrap;padding-top:18px}.atl-map-pagination select{border:1px solid rgba(145,175,220,.2);border-radius:9px;background:#17283a;color:#eaf2ff;padding:9px}.atl-map-detail{width:min(94vw,720px);max-width:720px}.atl-map-detail-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid rgba(145,175,220,.12)}.atl-map-detail-row>span{color:#94abc1}.atl-map-detail-row strong{overflow-wrap:anywhere;text-align:right}.atl-map-detail details{margin-top:18px}.atl-map-detail pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:650px){.atl-map-detail-row{flex-direction:column}.atl-map-detail-row strong{text-align:left}}

/* Criar talhão pelo mapa */
.new-plot-backdrop{position:fixed;inset:0;background:rgba(1,9,17,.83);z-index:5000;display:grid;place-items:center;padding:20px}.new-plot-modal{width:min(1160px,96vw);height:min(790px,94vh);display:flex;flex-direction:column;overflow:hidden;background:#091927;border:1px solid rgba(145,175,220,.28);border-radius:18px;box-shadow:0 25px 70px rgba(0,0,0,.5)}.new-plot-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 22px;border-bottom:1px solid rgba(145,175,220,.18)}.new-plot-head strong{font-size:20px}.new-plot-head small{display:block;color:#92a9bf;margin-top:5px}.new-plot-head button{background:none;border:none;color:#cbd9e6;font-size:27px;cursor:pointer}.new-plot-body{min-height:0;flex:1;display:grid;grid-template-columns:280px 1fr}.new-plot-form{padding:20px;display:flex;flex-direction:column;gap:12px;overflow-y:auto}.new-plot-form label{font-weight:650;font-size:13px}.new-plot-form input,.new-plot-form select{background:#172b40;border:1px solid rgba(145,175,220,.25);border-radius:9px;color:#eef6ff;padding:11px;min-width:0}.new-plot-form p{font-size:12px;line-height:1.5}.new-plot-controls{display:flex;gap:8px;flex-wrap:wrap}.new-plot-map{min-height:350px;background:#071019}.new-plot-footer{padding:16px 20px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid rgba(145,175,220,.18)}#newPlotMessage{color:#ffb778}@media(max-width:750px){.new-plot-body{grid-template-columns:1fr;grid-template-rows:auto 1fr}.new-plot-form{max-height:250px}.new-plot-modal{height:95vh}}

.atl-map-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.atl-map-actions .btn{font-size:11px;padding:7px 10px}.atl-map-danger{color:#ff9292!important}.atl-survey-panel{padding:18px}.atl-survey-header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.atl-survey-header h3{margin:0;font-size:20px}.atl-survey-header p{color:#9cb0c3;font-size:12px;margin-top:5px}.atl-survey-list{display:grid;gap:8px;margin-top:18px}.atl-survey-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;padding:14px;border:1px solid rgba(145,175,220,.16);border-radius:9px;background:#0d2133}.atl-survey-row span{color:#9eb1c3}@media(max-width:650px){.atl-survey-row{grid-template-columns:1fr 1fr}.atl-survey-header{flex-direction:column;align-items:flex-start}}

/* Levantamento HD integrado à Gestão de Mapas */
.atl-hd-survey{padding:14px}.atl-hd-body{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:560px;border:1px solid rgba(145,175,220,.2);border-radius:12px;overflow:hidden}.atl-hd-list{max-height:70vh;overflow:auto;background:#091927;padding:12px;display:flex;flex-direction:column;gap:9px}.atl-hd-list-title{font-weight:700;font-size:13px;color:#9aafc8;margin-bottom:5px}.atl-hd-plot{border:1px solid rgba(145,175,220,.23);border-radius:9px;padding:11px 12px;background:#0e2437;color:#ecf6ff;text-align:left;cursor:pointer}.atl-hd-plot strong,.atl-hd-plot small{display:block}.atl-hd-plot small{color:#90a7bc;margin-top:5px}.atl-hd-plot:hover,.atl-hd-plot.selected{border-color:#338bff;background:#153655}.atl-hd-map-wrap{position:relative;min-width:0}.atl-hd-map{height:100%;min-height:560px;background:#07131f}.atl-hd-map-note{position:absolute;bottom:12px;left:12px;right:12px;z-index:450;pointer-events:none;color:#e9f4ff;font-size:12px;background:rgba(4,18,31,.83);padding:10px 12px;border-radius:9px;width:fit-content;max-width:90%}.atl-hd-footer{padding:14px 2px;color:#94a9bd;font-size:12px}@media(max-width:800px){.atl-hd-body{grid-template-columns:1fr;grid-template-rows:180px 1fr}.atl-hd-list{max-height:180px}.atl-hd-map{min-height:480px}}

.atl-survey-top-actions{display:flex;gap:8px;flex-wrap:wrap}.atl-hd-draw-editor{position:absolute;top:14px;right:14px;z-index:750;width:min(310px,calc(100% - 28px));max-height:90%;overflow:auto;display:flex;flex-direction:column;gap:11px;padding:17px;background:#091a2b;border:1px solid #35506c;border-radius:12px;box-shadow:0 12px 38px #0009;color:#eaf4ff}.atl-hd-draw-editor h3{font-size:17px;margin:0 0 4px}.atl-hd-draw-editor label{font-size:12px;display:flex;flex-direction:column;gap:7px}.atl-hd-draw-editor input,.atl-hd-draw-editor select{width:100%;background:#182c41;color:#eaf4ff;border:1px solid #3c5875;border-radius:8px;padding:10px}.atl-hd-draw-actions{display:flex;gap:7px;flex-wrap:wrap}.atl-hd-draw-actions .btn{font-size:11px;padding:7px 9px}

/* Novo talhão HD: mesma linguagem e painel lateral do editor de talhões */
.atl-hd-body.hd-editing{grid-template-columns:0 minmax(0,1fr) 360px}.atl-hd-body.hd-editing .atl-hd-list{overflow:hidden;padding:0;border:0}.atl-hd-body.hd-editing .atl-hd-map-wrap{grid-column:2}.atl-hd-draw-editor{position:relative;inset:auto;z-index:600;width:auto;max-width:none;max-height:none;height:100%;grid-column:3;grid-row:1;display:flex;flex-direction:column;gap:0;padding:0;background:#081422;border:0;border-left:1px solid rgba(145,175,220,.2);border-radius:0;box-shadow:none;overflow:hidden}.atl-hd-draw-editor .lot-editor-scroll{overflow-y:auto;flex:1;min-height:0}.atl-hd-draw-editor .lot-editor-footer{margin-top:auto}.atl-hd-draw-editor .lot-editor-section>label{display:block;margin-bottom:8px}.atl-hd-draw-editor select{width:100%;background:#1b3046;color:#fff;padding:9px;border-radius:8px}.atl-hd-draw-editor .lot-boundary-card input{width:100%}.atl-hd-draw-editor .lot-zone-item{display:flex;justify-content:space-between}.atl-hd-draw-editor .lot-draw-box[hidden]{display:none}.atl-hd-draw-editor .lot-editor-title button{border:none;background:none;color:#aabed0;font-size:24px;cursor:pointer}@media(max-width:900px){.atl-hd-body.hd-editing{grid-template-columns:minmax(0,1fr) 290px}.atl-hd-body.hd-editing .atl-hd-list{display:none}.atl-hd-body.hd-editing .atl-hd-map-wrap{grid-column:1}.atl-hd-draw-editor{grid-column:2}}@media(max-width:620px){.atl-hd-body.hd-editing{display:flex;flex-direction:column}.atl-hd-body.hd-editing .atl-hd-map-wrap{min-height:420px}.atl-hd-draw-editor{min-height:380px;max-height:560px}}

/* Corrige painel HD que ficava fora da grade: drawer fixado na lateral direita da área de levantamento. */
.atl-hd-body{position:relative;min-width:0;overflow:hidden}.atl-hd-body.hd-editing{grid-template-columns:0 minmax(0,1fr)!important;position:relative;padding-right:360px;min-height:610px}.atl-hd-body.hd-editing .atl-hd-list{width:0;min-width:0;display:none}.atl-hd-body.hd-editing .atl-hd-map-wrap{grid-column:1 / -1!important;min-width:0;width:100%;height:100%}.atl-hd-body.hd-editing #hdFieldEditor{position:absolute!important;display:flex!important;visibility:visible!important;opacity:1!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:360px!important;height:100%!important;min-height:610px;max-height:none!important;grid-column:auto!important;grid-row:auto!important;z-index:900!important;background:#081422;border-left:1px solid #294054;box-sizing:border-box}.atl-hd-body.hd-editing .atl-hd-map{height:100%;min-height:610px}@media(max-width:900px){.atl-hd-body.hd-editing{padding-right:290px}.atl-hd-body.hd-editing #hdFieldEditor{width:290px!important}}@media(max-width:620px){.atl-hd-body.hd-editing{display:block!important;padding-right:0;min-height:900px}.atl-hd-body.hd-editing .atl-hd-map-wrap{height:420px}.atl-hd-body.hd-editing .atl-hd-map{height:420px;min-height:420px}.atl-hd-body.hd-editing #hdFieldEditor{top:420px!important;bottom:0!important;width:100%!important;min-height:480px;height:480px!important}}

.hd-boundary-vertex{width:18px;height:18px;box-sizing:border-box;border-radius:50%;border:2px solid #fff;background:#39a1ff;box-shadow:0 1px 5px #0007;cursor:move}

/* Paridade visual com + Novo Talhão, preservando espaço do mapa */
.atl-hd-body.hd-editing{padding-right:390px}.atl-hd-body.hd-editing #hdFieldEditor{width:390px!important}.atl-hd-draw-editor .hd-demand-section{display:block;padding:14px 16px 18px}.atl-hd-draw-editor .hd-demand-section label{display:block;color:#eaf4ff;margin-bottom:8px;font-size:14px}.atl-hd-draw-editor .hd-demand-section select{display:block;width:100%;min-height:40px}.atl-hd-draw-editor .hd-demand-section p{margin:14px 0;line-height:1.4;color:#9eb4c7;font-size:14px}.atl-hd-draw-editor .hd-demand-section .btn{margin-bottom:0}.atl-hd-draw-editor .lot-editor-section{padding:15px 16px}.atl-hd-draw-editor .lot-boundary-card{margin-top:10px}.atl-hd-draw-editor .lot-editor-footer{padding:12px 16px}.atl-hd-draw-editor .lot-editor-footer button{width:100%}@media(max-width:900px){.atl-hd-body.hd-editing{padding-right:310px}.atl-hd-body.hd-editing #hdFieldEditor{width:310px!important}}@media(max-width:620px){.atl-hd-body.hd-editing{padding-right:0}.atl-hd-body.hd-editing #hdFieldEditor{width:100%!important}}

/* Levantamento HD: mesmo layout de Novo Talhão, sem coluna da lista de talhões. */
.atl-hd-survey .atl-hd-body{display:grid;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(610px,1fr);width:100%;min-width:0}
.atl-hd-survey .atl-hd-list{display:none!important}
.atl-hd-survey .atl-hd-map-wrap{grid-column:1!important;grid-row:1;min-width:0;width:100%;height:100%}
.atl-hd-survey .atl-hd-body.hd-editing{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(610px,1fr);padding-right:390px!important}
.atl-hd-survey .atl-hd-body.hd-editing .atl-hd-map-wrap{grid-column:1!important;grid-row:1!important;width:100%}
.atl-hd-survey .atl-hd-body.hd-editing #hdFieldEditor{right:0!important;top:0!important;bottom:0!important;width:390px!important;height:100%!important}
@media(max-width:900px){.atl-hd-survey .atl-hd-body.hd-editing{padding-right:310px!important}.atl-hd-survey .atl-hd-body.hd-editing #hdFieldEditor{width:310px!important}}
@media(max-width:620px){.atl-hd-survey .atl-hd-body,.atl-hd-survey .atl-hd-body.hd-editing{display:block!important;padding-right:0!important;min-height:900px}.atl-hd-survey .atl-hd-body.hd-editing .atl-hd-map-wrap{height:420px}.atl-hd-survey .atl-hd-body.hd-editing #hdFieldEditor{top:420px!important;bottom:0!important;height:480px!important;width:100%!important}}
/* Busca é usada apenas na listagem de ortomosaicos, não durante o levantamento HD. */
.atl-map-management.atl-survey-active > .toolbar{display:none!important}

/* Layout adaptativo para Levantamento HD: preserva conforto visual e permite rolagem somente do formulario. */
@media (min-width:769px){
 .atl-hd-survey .atl-hd-body{
   --atl-hd-sidebar-width:clamp(320px,27vw,460px);
   height:clamp(500px,calc(100dvh - 255px),1200px);
   min-height:0!important;
   grid-template-rows:minmax(0,1fr)!important;
 }
 .atl-hd-survey .atl-hd-body.hd-editing{
   padding-right:var(--atl-hd-sidebar-width)!important;
   height:clamp(500px,calc(100dvh - 255px),1200px);
   min-height:0!important;
   grid-template-rows:minmax(0,1fr)!important;
 }
 .atl-hd-survey .atl-hd-body.hd-editing #hdFieldEditor{
   width:var(--atl-hd-sidebar-width)!important;
   min-height:0!important;
   height:100%!important;
   max-height:100%!important;
 }
 .atl-hd-survey .atl-hd-map-wrap,.atl-hd-survey .atl-hd-map,
 .atl-hd-survey .atl-hd-body.hd-editing .atl-hd-map{
   height:100%!important;
   min-height:0!important;
 }
}
.atl-hd-survey #hdFieldEditor{
 display:flex!important;
 flex-direction:column!important;
 gap:0!important;
 padding:0!important;
 overflow:hidden!important;
}
.atl-hd-survey #hdFieldEditor .plot-detail-title{
 flex:0 0 auto;
 min-height:52px;
 padding:13px 16px;
 font-size:18px;
}
.atl-hd-survey #hdFieldEditor .lot-editor-scroll{
 flex:1 1 auto!important;
 min-height:0!important;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 padding:0 0 12px!important;
 display:block;
}
.atl-hd-survey #hdFieldEditor .lot-editor-section,
.atl-hd-survey #hdFieldEditor .hd-demand-section{
 padding:12px 15px!important;
 margin:0!important;
}
.atl-hd-survey #hdFieldEditor .hd-demand-section label{
 font-size:13px!important;
 margin-bottom:8px!important;
}
.atl-hd-survey #hdFieldEditor .hd-demand-section select{
 min-height:40px!important;
 height:auto!important;
 padding:9px 10px!important;
 font-size:14px!important;
}
.atl-hd-survey #hdFieldEditor .hd-demand-section p{
 font-size:13px!important;
 line-height:1.4!important;
 margin:12px 0!important;
}
.atl-hd-survey #hdFieldEditor #hdUndo{padding:8px 12px!important;font-size:12px!important}
.atl-hd-survey #hdFieldEditor .lot-editor-section-head{margin-bottom:10px!important}
.atl-hd-survey #hdFieldEditor .lot-editor-section-head strong{
 font-size:13px!important;
 line-height:1.35!important;
}
.atl-hd-survey #hdFieldEditor .lot-boundary-card{
 padding:11px!important;
 margin-top:8px!important;
}
.atl-hd-survey #hdFieldEditor .lot-boundary-card input{
 height:36px!important;
 min-height:36px!important;
 font-size:13px!important;
}
.atl-hd-survey #hdFieldEditor .lot-boundary-card small{font-size:11px!important}
.atl-hd-survey #hdFieldEditor .lot-zone-empty{
 min-height:66px!important;
 padding:14px 10px!important;
}
.atl-hd-survey #hdFieldEditor .lot-editor-footer{
 position:relative!important;
 left:auto!important;
 right:auto!important;
 bottom:auto!important;
 margin-top:auto!important;
 flex:0 0 auto!important;
 padding:12px 15px!important;
 background:#081422;
}
.atl-hd-survey #hdFieldEditor .lot-editor-footer button{
 height:42px!important;
 min-height:42px!important;
 font-size:13px!important;
}
@media (max-width:768px){
 .atl-hd-survey .atl-hd-body.hd-editing{
   display:flex!important;
   flex-direction:column!important;
   height:auto!important;
   min-height:0!important;
   padding:0!important;
 }
 .atl-hd-survey .atl-hd-body.hd-editing .atl-hd-map-wrap,
 .atl-hd-survey .atl-hd-body.hd-editing .atl-hd-map{
   height:48dvh!important;
   min-height:300px!important;
 }
 .atl-hd-survey .atl-hd-body.hd-editing #hdFieldEditor{
   position:relative!important;
   inset:auto!important;
   width:100%!important;
   min-height:360px!important;
   height:min(70dvh,720px)!important;
   max-height:none!important;
 }
}

/* Vértices de limite no Levantamento HD: desenho fiel ao editor de talhões, com arraste após cada clique. */
.leaflet-marker-icon.hd-boundary-vertex{
 width:18px!important;height:18px!important;
 border:2px solid #fff!important;border-radius:50%!important;
 background:#339dff!important;
 box-sizing:border-box!important;
 box-shadow:0 1px 5px rgba(0,0,0,.48)!important;
 cursor:grab!important;
 touch-action:none;
}
.leaflet-marker-icon.hd-boundary-vertex.is-dragging{cursor:grabbing!important;box-shadow:0 0 0 4px rgba(51,157,255,.19),0 2px 7px rgba(0,0,0,.55)!important}
.leaflet-marker-icon.hd-boundary-vertex:focus-visible{outline:3px solid rgba(51,157,255,.6);outline-offset:2px}


/* Criação de mapas de prescrição: mesmo padrão das janelas Atlantic. */
.atl-prescription-create .smart-confirm-body{display:flex;flex-direction:column;gap:11px}
.atl-prescription-create .smart-confirm-body label{font-size:12px;color:#a5bad0;font-weight:700}
.atl-prescription-create .smart-confirm-body .search{width:100%;min-width:0;box-sizing:border-box}
.atl-prescription-create input[type=file]{width:100%;max-width:100%;color:#d4e6f5;padding:9px;
 border:1px solid rgba(148,183,225,.25);background:#102237;border-radius:8px;box-sizing:border-box}
.atl-prescription-create #prescriptionCreateStatus{min-height:17px}

/* Mapa de taxa variável: legenda de dosagem EAVISION sobre a grade. */
.atl-prescription-maps .atl-hd-map-wrap{position:relative}
.atl-prescription-maps .atl-rate-legend{
 position:absolute;top:15px;right:15px;z-index:670;min-width:148px;max-width:225px;
 color:#e8f4fe;background:rgba(6,23,41,.94);border:1px solid rgba(124,164,206,.3);
 border-radius:10px;padding:12px;box-shadow:0 6px 20px rgba(0,0,0,.3);pointer-events:none
}
.atl-prescription-maps .atl-rate-title{font-weight:700;margin-bottom:9px;font-size:13px}
.atl-prescription-maps .atl-rate-row{display:flex;align-items:center;gap:9px;font-size:12px;margin:6px 0}
.atl-prescription-maps .atl-rate-row strong{font-weight:600}
.atl-prescription-maps .atl-rate-color{width:27px;height:17px;border-radius:4px;border:1px solid rgba(255,255,255,.3);flex-shrink:0}
@media(max-width:600px){.atl-prescription-maps .atl-rate-legend{top:7px;right:7px;min-width:110px;padding:8px}}


/* Atlantic Smart Farm: marca completa fornecida pelo usuário no topo,
   sem duplicar texto; respeita a altura do cabeçalho e o layout compacto. */
.topbrand img[src*="atlantic-smartfarm-brand-sharp-20261023.png"]{
  display:block;width:320px;max-width:100%;height:auto;max-height:56px;
  object-fit:contain;object-position:left center;
}
@media(max-width:900px){
  .topbrand img[src*="atlantic-smartfarm-brand-sharp-20261023.png"]{
    width:min(320px,67vw);max-height:56px;
  }
}


/* Modelos de Pulverização: detalhes de calibração e compartilhamento. */
.template-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.template-modal{width:min(94vw,860px);max-width:860px}
.template-modal-body{max-height:70vh;overflow:auto}
.template-parameter-grid{display:grid;grid-template-columns:minmax(110px,1fr) minmax(130px,1.4fr) minmax(110px,1fr) minmax(130px,1.4fr);border:1px solid rgba(145,175,220,.22);border-radius:9px;overflow:hidden}
.template-param-name,.template-param-value{padding:15px 13px;border-bottom:1px solid rgba(145,175,220,.17)}
.template-param-name{background:rgba(120,150,175,.1);font-weight:700;color:#b8cee2}
.template-param-value{color:#edf6ff;overflow-wrap:anywhere}
.template-extra{margin-top:18px;color:#a7bfd5}.template-extra summary{cursor:pointer}
.template-share-label{display:block;margin-bottom:10px;font-weight:600}
.template-share-input{width:100%;max-width:none!important}
.template-share-status{margin-top:12px;line-height:1.5}
@media(max-width:660px){.template-parameter-grid{grid-template-columns:minmax(110px,1fr) minmax(110px,1.4fr)}.template-row-actions{justify-content:flex-start}}

.hd-create-modal{width:min(94vw,660px);max-width:660px}
.hd-create-modal label{display:block;margin-bottom:9px;font-weight:700}
#hdName{width:100%;max-width:none;margin-bottom:22px}
.hd-drop{border:2px dashed #496782;border-radius:12px;min-height:190px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;padding:22px}
.hd-drop.hover,.hd-drop:hover{background:rgba(48,144,240,.1);border-color:#3999fa}
#hdProgress{display:block;width:100%;accent-color:#2387f4}
#hdProgress[hidden]{display:none}

/* Ícones personalizados do menu lateral Atlantic Smart Farm */
.menu-item .menu-icon{width:20px;height:20px;flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center}
.menu-item .menu-icon img{display:block;width:20px;height:20px;object-fit:contain;pointer-events:none}

/* Ícones próprios de operações: resumo, cartões diários e indicadores. */
.ops-stat-dot.ops-stat-image{display:inline-flex;align-items:center;justify-content:center;background:transparent!important;border-radius:0;flex:0 0 18px;width:18px;height:18px;overflow:visible}
.ops-stat-dot.ops-stat-image img{width:18px;height:18px;display:block;object-fit:contain;pointer-events:none}
.ops-day-stat .ops-stat-dot.ops-stat-image{flex:0 0 22px;width:22px;height:22px}
.ops-day-stat .ops-stat-dot.ops-stat-image img{width:22px;height:22px}

/* Litros, quilos e tempo: +20% sobre 22px; voos permanecem 22px. */
.ops-day-stat .ops-stat-dot.ops-stat-image.blue,
.ops-day-stat .ops-stat-dot.ops-stat-image.green,
.ops-day-stat .ops-stat-dot.ops-stat-image.orange{flex:0 0 26px;width:26px;height:26px}
.ops-day-stat .ops-stat-dot.ops-stat-image.blue img,
.ops-day-stat .ops-stat-dot.ops-stat-image.green img,
.ops-day-stat .ops-stat-dot.ops-stat-image.orange img{width:26px;height:26px}

/* Compensar a margem interna da arte do relógio sem alterar os demais ícones. */
.ops-day-stat .ops-stat-dot.ops-stat-image.orange img{width:34px;height:34px;max-width:none;max-height:none;flex-shrink:0}

/* Resumo: ícones com a mesma dimensão visual dos cartões diários. */
.ops-summary-card .ops-stat-dot.ops-stat-image{flex:0 0 22px;width:22px;height:22px}
.ops-summary-card .ops-stat-dot.ops-stat-image img{width:22px;height:22px}
.ops-summary-card .ops-stat-dot.ops-stat-image.blue,
.ops-summary-card .ops-stat-dot.ops-stat-image.green,
.ops-summary-card .ops-stat-dot.ops-stat-image.orange{flex:0 0 26px;width:26px;height:26px}
.ops-summary-card .ops-stat-dot.ops-stat-image.blue img,
.ops-summary-card .ops-stat-dot.ops-stat-image.green img{width:26px;height:26px}
.ops-summary-card .ops-stat-dot.ops-stat-image.orange img{width:34px;height:34px;max-width:none;max-height:none;flex-shrink:0}
