/* AgriWeb 0.22 — My Farm inspired. SaaS only, no WordPress stylesheet. */
body.horizon-focus{--green:#245536;--deep:#214f36;--lime:#b8cdc1;--soft:#eff9f3;--ink:#18283b;--muted:#76869c;--line:#e0e7ef;background:#f7f9fc;color:var(--ink);font:12px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}
.aw-picto{display:inline-block;width:16px;height:16px;flex:0 0 16px;vertical-align:middle;pointer-events:none}.aw-icon-control{display:inline-flex;align-items:center;gap:7px}.aw-icon-title{display:flex;align-items:center;gap:8px}.aw-icon-title>.aw-picto{width:18px;height:18px;flex-basis:18px;color:#718da5}.aw-redundant-symbol{display:none!important}.horizon-focus .aw-icon-only{font-size:0!important;justify-content:center;gap:0}.horizon-focus ::selection{background:#dceafa;color:#17283b}
#workspace>aside{width:212px!important;padding:0 14px 14px!important;background:#fff!important;color:#788499!important;border-right:1px solid #e5eaf1!important;box-shadow:none!important;gap:0}
#workspace>aside>.brand{display:flex;align-items:center;gap:10px;margin:0 -14px;padding:20px 20px 19px;background:#fff;border-bottom:1px solid #f0f2f6;color:#18283b;text-decoration:none;font-size:20px;font-weight:750;min-height:72px}
.aw-app-mark{width:25px;height:25px;color:#557c73;flex-shrink:0}
#workspace .workspace-label{margin:13px 6px!important;color:#95a0b1!important;font-size:9px;letter-spacing:.08em}
#workspace .workspace-label select{background:#fff!important;color:#566476!important;border:1px solid #e4e9f0!important;font-size:11px;padding:7px 9px}
#workspace nav{padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#d2dbe5 transparent}
#workspace nav a{display:flex;align-items:center;gap:9px;border:0!important;background:transparent!important;color:#778298!important;border-radius:4px;padding:8px 10px;font-size:11px;line-height:1.5;min-width:0}
#workspace nav a .aw-picto{flex:0 0 16px;width:16px;height:16px;color:#8a95a8}
#workspace nav a:hover{background:#f6f9fc!important;color:#30475a!important}
#workspace nav a.active{background:#edfaf2!important;color:#245536!important;border-radius:0;font-weight:650;box-shadow:inset 3px 0 #245536!important}
#workspace nav a.active .aw-picto{color:#245536}#workspace nav a.active:after{display:none}
#workspace .nav-favorites{margin:12px 0 9px;padding:10px 0;border-color:#edf0f5!important}
#workspace .nav-section-head,#workspace .nav-hint{color:#9aa5b6!important;font-size:9px}
#workspace .nav-section-head button{color:#76849a!important;background:transparent!important;padding:2px 0;font-size:9px;gap:4px}
#workspace .nav-section-head button .aw-picto{width:12px;height:12px;flex-basis:12px}
#workspace .nav-family summary{display:flex;justify-content:flex-start;align-items:center;gap:9px;background:transparent!important;color:#788499!important;padding:9px 10px;border-radius:4px;font-size:11px;min-height:34px}
#workspace .nav-family summary:after{margin-left:auto}#workspace .nav-family[open]>summary{background:#f0faf4!important;color:#245536!important;font-weight:650}#workspace .nav-family summary:hover{background:#f6f9fc!important;color:#385846!important}
#workspace .nav-family-links{padding:3px 0 3px 7px;margin:0 0 8px 17px;border-left:1px solid #e7edf1}
#workspace .nav-family-links a{font-size:10px;padding:7px 9px}.nav-family-links .aw-picto{width:14px!important;height:14px!important;flex-basis:14px!important}
#workspace .nav-settings{border-color:#edf0f5!important;margin-top:10px;padding-top:10px}
#workspace .sidebar-bottom{margin-top:auto;border-top:1px solid #edf0f5;color:#8a95a7!important;font-size:9px;padding:12px 4px 0}
#workspace .sidebar-bottom button{display:flex;width:100%;justify-content:center;background:#fff!important;color:#7d899b!important;border-color:#e3e9f0!important;font-size:10px;padding:7px;margin-top:8px}
.horizon-focus .shell{margin-left:212px}
.horizon-focus .shell>header{display:flex!important;align-items:center;flex-wrap:nowrap;gap:12px;position:sticky;top:0;z-index:4;min-height:55px;height:auto;background:#fff;border:0;border-bottom:1px solid #e3e9f0;padding:10px 22px}
.horizon-focus .shell>header #breadcrumb{font-size:11px;font-weight:600;color:#4d6075;flex:1;min-width:0;overflow-wrap:anywhere}
.horizon-focus .shell>header #search{max-width:280px;width:35%;height:33px;font-size:11px;margin-left:auto;background:#f8fafc;border-color:#e3e9f0}
.horizon-focus .shell>header #reload{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;font-size:0;color:#6a8091;border-color:#e3e9f0;gap:0}
.horizon-focus .shell>header #mobile-menu{display:none}.horizon-focus .shell>header #status{padding:0;font-size:9px;min-height:0;max-width:180px;color:#8b9baf}.horizon-focus .shell>header #status:empty{display:none}.horizon-focus .shell>header #status.error{padding:5px 8px;background:#fff0f1;color:#af3347;border-radius:4px}
#app{padding:22px 24px 35px;max-width:1900px;margin-inline:auto;min-width:0}
#app .page-head.unified-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 18px!important;min-height:0;box-shadow:none!important}
#app .unified-head>div:has(>h1){grid-column:1;grid-row:1;min-width:0}#app .unified-head h1{font-size:20px!important;font-weight:700!important;line-height:1.35;letter-spacing:-.02em;color:#17283b!important}
#app .unified-head p{font-size:11px!important;color:#8292a8!important;margin:4px 0 0!important;line-height:1.5}
#app .unified-head>.actions{grid-column:2;grid-row:1;justify-content:flex-end;gap:6px;align-items:center}
#app .unified-head>.actions button{font-size:11px!important;min-height:33px;padding:7px 10px;border-radius:5px}
#app .unified-head>.tabs{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:8px;margin:3px 0 0;padding:7px 0 0;background:transparent;border-top:0;border-bottom:1px solid #e2e8ef;border-radius:0}
#app .unified-head>.tabs button,#app .unified-head>.tabs a{background:transparent;color:#8490a4;padding:7px 9px;min-height:30px;border:0;border-radius:0;font-size:11px;text-decoration:none}
#app .unified-head>.tabs .selected{background:transparent;color:#245536;border-bottom:2px solid #245536;font-weight:650}
#app .page-head.unified-head:has(>.tabs),#app .page-head.unified-head:not(:has(>.tabs)){padding-bottom:0!important}
#app .page-head.unified-head .actions button{color:#26465a!important;background:#fff!important;border-color:#dde6ef!important}
#app .page-head.unified-head .actions .primary{color:#fff!important;background:#214f36!important;border-color:#214f36!important}
#app .panel{min-width:0;background:#fff;border:1px solid #e1e8f0;border-radius:7px;padding:18px;margin-bottom:16px;box-shadow:none}
#app .panel>h2{font-size:15px;color:#21364d;margin-bottom:12px;font-weight:650}
#app .stats{display:flex;flex-wrap:wrap;gap:0;margin:0 0 17px;background:#effbf5;border:0;border-radius:7px;overflow:hidden}
#app .stat{position:relative;flex:1 1 150px;min-width:0;min-height:82px;background:transparent!important;border:0;border-top:0;border-radius:0;padding:15px 14px;text-align:center}
#app .stat>.aw-picto{display:none}#app .stat strong{font-size:21px;color:#3778bb;font-weight:700;line-height:1.3}#app .stat:nth-child(2) strong{color:#d19529}#app .stat:nth-child(3) strong{color:#245536}#app .stat span{display:block;font-size:10px;color:#7e96ab;margin-top:4px}
#app .pilotage-metric{position:relative;background:#fff;border:1px solid #e1e8f0;border-top:1px solid #e1e8f0;border-radius:7px;padding:17px;box-shadow:none}
#app .pilotage-metric>.aw-picto{width:22px;height:22px;color:#73a2c8;margin-bottom:7px}#app .pilotage-metric strong{font-size:25px;color:#21364d;font-weight:700}#app .pilotage-metric p,#app .pilotage-metric small{font-size:11px;color:#8392a5}
#app .pilotage-metric:nth-child(2)>.aw-picto{color:#69a881}#app .pilotage-metric:nth-child(3)>.aw-picto{color:#b497d3}
#app .collection-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 10px;padding:0;background:transparent;border:0;border-radius:0}
#app .collection-toolbar label{font-size:10px;gap:5px;color:#8191a6;max-width:100%;flex-wrap:wrap}
#app .collection-toolbar select{font-size:10px;padding:6px 8px;max-width:180px;min-width:0;border-color:#e0e7f0}
#app .collection-toolbar button{display:inline-flex;align-items:center;font-size:10px;padding:6px 9px;gap:5px;border-color:#e0e7f0;background:#fff}
#app .collection-toolbar .view-switch button[aria-pressed=true]{background:#214f36;color:#fff;border-color:#214f36}
#app .table-wrap{border:1px solid #dfe7f0;border-radius:7px;background:white;overflow-x:auto}
#app th{background:#f1f5fa;color:#8b98ab;font-size:10px;padding:11px 13px;border-bottom:1px solid #e4ebf2;font-weight:600}
#app td{color:#243a51;font-size:11px;padding:12px 13px;border-bottom:1px solid #e5ecf4}#app tbody tr:hover td{background:#f6faff}
#app .tag{font-size:9px;padding:3px 7px;border-radius:5px;background:#eef4fb;color:#5b799d}
#app .collection-cards{gap:9px;padding:0;background:transparent;border:0}#app .account-card{min-width:0;border:1px solid #dfe7f0;border-radius:7px;background:#fff;box-shadow:none}
#app .account-card h2{font-size:14px;color:#243b53}#app .account-card dt{font-size:10px;color:#94a0b2}#app .account-card dd{font-size:11px;color:#4a6380}
#app .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#app .grid>*,#app .fields>*{min-width:0}
#app .horizon-board .column{border:1px solid #dfe7ef;border-top:2px solid #b8d7ee;background:#f2f6fb;border-radius:7px;padding:11px}
#app .horizon-board .stage-1{border-top-color:#cdb9e0;background:#f7f4fb}#app .horizon-board .stage-2{border-top-color:#f0d2a0;background:#fcf9f1}#app .horizon-board .stage-3{border-top-color:#b7d7c4;background:#f3f9f5}
#app .pipeline-column-head h2{font-size:12px;color:#39566f}#app .pipeline-column-head p{font-size:11px;color:#8394a9}
#app .pipeline-card{background:#fff;border:1px solid #dfe7ef;border-radius:6px;box-shadow:none;padding:11px}
#app .pipeline-card-top>a{font-size:12px;color:#1d344d}#app .pipeline-card>p{font-size:10px;color:#8596ab}#app .pipeline-money{font-size:13px;color:#29445e;font-variant-numeric:tabular-nums}
#app .pipeline-next{font-size:9px;background:#f0f5fb;color:#69849e;border-radius:4px}#app .pipeline-next.overdue{background:#fff2e6;color:#ac7946}
#app .pipeline-person{font-size:9px;color:#8293aa}#app .person-initials{background:#8b78ae;width:22px;height:22px;font-size:8px}
#app .pipeline-add{display:flex;justify-content:center;align-items:center;background:white;border:1px dashed #d3dfeb;color:#7a91a8;border-radius:5px;font-size:10px;gap:5px}
#app .pipeline-outcome{border-color:#dfe7ef;border-radius:7px}#app .pipeline-outcome.lost{background:#fff8f8;border-color:#f1dde0}#app .pipeline-filters{background:transparent;border-color:#e3eaf2;border-radius:6px}
#app .module-link,#app .module-tile,#app .module-choice{background:#fff;border:1px solid #dfe7ef!important;border-radius:7px;box-shadow:none}
#app .module-link{display:flex;align-items:center;gap:12px}#app .module-link .aw-picto,#app .module-tile>.aw-picto,#app .module-choice>.aw-picto{width:25px;height:25px;flex-basis:25px;color:#7ca7cd;padding:5px;box-sizing:content-box;background:#eaf5ff;border-radius:6px}
#app .module-link:nth-child(3n+2) .aw-picto,#app .module-tile:nth-child(3n+2)>.aw-picto{color:#a788c9;background:#f2ecfa}#app .module-link:nth-child(3n) .aw-picto,#app .module-tile:nth-child(3n)>.aw-picto{color:#c69d55;background:#fcf4df}
#app .module-tile>.aw-picto,#app .module-choice>.aw-picto{margin-bottom:8px}#app .module-tile.inactive{background:#f5f7fa!important}
#app .stock-setup{background:#f0faf6!important}#app .stock-step>span{background:#e6f1ee;color:#629887}#app .stock-step.done>span{background:#7fb194;color:white}
#app .section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:13px 15px;background:#f0f5fb;border:1px solid #dfe7ef;border-radius:6px;margin:22px 0 12px}#app .section-head h2{font-size:15px;margin:0}#app .section-head p{font-size:11px;margin:3px 0 0;color:#8394a9}
#app .client-side>.panel:first-child{background:#f2f7fc;border-color:#dfe7ef}#app .archive-note{background:#f5f7fb;border-color:#dfe7ef}
.horizon-focus button{font-size:11px;border-radius:5px;border-color:#e0e7ef}.horizon-focus button.primary,.horizon-focus .primary:hover{background:#214f36!important;color:#fff!important;border-color:#214f36!important}
.horizon-focus input,.horizon-focus select,.horizon-focus textarea{font-size:12px;background:#fff;color:#4f6580;border:1px solid #dce5ef;border-radius:5px;padding:8px 10px}
.horizon-focus input:focus-visible,.horizon-focus select:focus-visible,.horizon-focus textarea:focus-visible{outline-color:#81a4c2}
.horizon-focus dialog{padding:0;border:1px solid #dfe7ef;border-top:1px solid #dfe7ef;border-radius:8px;background:white;box-shadow:0 10px 45px #23395014;max-height:94dvh;color:#263c53}
.horizon-focus dialog::backdrop{background:#35496414}.horizon-focus .dialog-head{background:#fff;border-bottom:1px solid #e2e9f1;border-radius:7px 7px 0 0;padding:17px 21px;gap:10px}
.horizon-focus .dialog-head h2{font-size:16px;color:#21364d;font-weight:650}.horizon-focus .dialog-head button{border:0;background:transparent;display:flex;align-items:center;justify-content:center;padding:4px;color:#8a97a8}
.horizon-focus .dialog-foot{background:#fff;border-top:1px solid #e2e9f1;padding:14px 21px;gap:9px}.horizon-focus #fields,.horizon-focus .aux-body{padding:21px}
.horizon-focus #dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(410px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border-right:0;box-shadow:-3px 0 20px #23395010}
.horizon-focus #editor{display:flex;flex-direction:column;min-height:0;height:100%}.horizon-focus #dialog .dialog-head{border-radius:0;flex-shrink:0}
.horizon-focus #dialog #fields{flex:1;overflow:auto;min-height:0;background:#fff}.horizon-focus #dialog .fields{grid-template-columns:1fr;gap:16px;padding:0}
.horizon-focus #dialog .field{font-size:10px;color:#7e91ab;font-weight:650;gap:6px;min-width:0}.horizon-focus #dialog input,.horizon-focus #dialog select,.horizon-focus #dialog textarea{font-weight:400}
.horizon-focus #dialog .field-check{font-size:11px;font-weight:400}.horizon-focus #dialog .dialog-foot{flex-shrink:0;margin-top:0}.horizon-focus #dialog #form-error{font-size:11px;padding-inline:21px}
.horizon-focus #dialog .field>.choice-control{display:flex!important;align-items:center;gap:6px;min-width:0}.horizon-focus #dialog .choice-control>select{flex:1;min-width:0}.horizon-focus #dialog .choice-control>button{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:34px;gap:0}
.horizon-focus #display-dialog .aux-body{overflow:auto;max-height:72dvh}.horizon-focus .auth-box,.horizon-focus .onboarding-panel{background:#fff;border:1px solid #dfe7ef;border-radius:8px}
.horizon-focus .admin-shell{max-width:1280px;padding:25px}.horizon-focus .admin-header{border:1px solid #dfe7ef;padding:17px;border-radius:7px;background:#fff}.horizon-focus .admin-card{border:1px solid #dfe7ef;border-radius:7px;background:#fff}.horizon-focus .admin-card h2{color:#29465e}
.horizon-focus #legal-footer{background:#fff;border-color:#e5eaf1;color:#97a2b3;font-size:9px;padding:14px 22px}.horizon-focus #legal-footer a{color:#7d91a8}.horizon-focus #legal-footer .aw-picto{width:12px;height:12px;flex-basis:12px}
@media(max-width:1100px){#app>.grid{grid-template-columns:minmax(0,1fr)}#app .page-head.unified-head{grid-template-columns:minmax(0,1fr)}#app .unified-head>.actions{grid-column:1;grid-row:2;justify-content:flex-start}#app .unified-head>.tabs{grid-row:3}.horizon-focus .shell>header #status{display:none}}
@media(max-width:760px){.horizon-focus .shell{margin-left:0}#workspace>aside{width:min(270px,calc(100% - 40px))!important}.horizon-focus .shell>header{padding:9px 12px;gap:8px;flex-wrap:wrap;min-height:48px}.horizon-focus .shell>header #mobile-menu{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;font-size:0;gap:0}.horizon-focus .shell>header #breadcrumb{font-size:10px;flex:1}.horizon-focus .shell>header #search{width:calc(100% - 40px);max-width:none;order:3;margin:0}.horizon-focus .shell>header #reload{order:4}#app{padding:17px 12px 25px}#app .unified-head h1{font-size:19px!important}#app .unified-head>.actions{width:100%;flex-wrap:wrap}#app .unified-head>.tabs{margin:3px 0 0;padding:6px 0 0;gap:5px}#app .stat{flex-basis:130px;min-height:74px}#app .panel{padding:15px}#app .collection-toolbar select{max-width:150px}.horizon-focus #dialog{width:100vw}.horizon-focus .admin-shell{padding:15px}.horizon-focus #legal-footer{padding:13px;gap:8px}}
@media print{#workspace>aside,.aw-picto,.horizon-focus .shell>header{display:none!important}.horizon-focus .shell{margin:0!important}#app .page-head.unified-head{border:0!important;box-shadow:none!important;padding:0!important}#app .panel,#app .stat,#app .pilotage-metric{background:#fff!important;box-shadow:none!important}}
#app .crm-summary{margin-bottom:16px}#app .crm-summary .stat:nth-child(2) strong{color:#d99a29}#app .crm-summary .stat:nth-child(4) strong{color:#245536}
#app .crm-group td{background:#eef5fc;color:#6d88a6;font-size:11px;font-weight:650;padding:10px 13px;border-block:1px solid #e3ebf4}
#app .crm-group-late td{background:#fff2f3;color:#ae6570}#app .crm-group-closed td{background:#f0f6f3;color:#708c81}#app .crm-list-grouped tbody tr:not(.crm-group) td{padding-block:13px}
#app .crm-list-grouped tbody tr:not(.crm-group) td:first-child{font-weight:600;color:#223952}
body.myfarm-inspired .shell{background:#f7f9fc!important}body.myfarm-inspired #app th{background:#f1f5fa!important;color:#8796aa!important}body.myfarm-inspired #legal-footer{background:#fff!important;color:#97a2b3!important}
body.myfarm-inspired #app .tag{background:#eef4fb!important;color:#5b799d!important}
.aw-crm-record-title{display:flex;align-items:center;gap:10px}.aw-crm-record-title>.aw-picto{width:17px;height:17px;flex:0 0 17px;padding:5px;background:#eaf4ff;color:#6d9dcc;border-radius:5px;box-sizing:content-box}
.crm-list-grouped tr:nth-child(3n) .aw-crm-record-title>.aw-picto{background:#f2edfb;color:#a18bc6}.crm-list-grouped tr:nth-child(3n+2) .aw-crm-record-title>.aw-picto{background:#eaf8ef;color:#77ac8d}
