*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#f5f5f5;color:#333;font-size:14px}a{color:inherit;text-decoration:none}.header{background:linear-gradient(135deg,#2c5f2d,#1e4620);color:#fff;padding:1rem 2rem;box-shadow:0 2px 4px #0000001a}.header-content{max-width:1600px;margin:0 auto}.header-title-row{display:flex;align-items:center;gap:.6rem;margin-bottom:.25rem}.home-icon{display:inline-flex;align-items:center;justify-content:center;color:#ffffffd9;transition:color .15s}.home-icon:hover{color:#fff}.header h1{font-size:1.5rem;margin-bottom:.5rem}.header .breadcrumb{font-size:.9rem;opacity:.9}.header .breadcrumb a{color:#fff;opacity:.85}.header .breadcrumb a:hover{opacity:1;text-decoration:underline}.header .season-badge{display:inline-block;margin-top:.75rem;padding:.4rem 1rem;background:#fff3;border-radius:20px;font-size:.85rem;font-weight:600}.header.dashboard{padding:2rem 2rem 3rem}.header.dashboard h1{font-size:2rem}.main-container{max-width:1600px;margin:2rem auto;padding:0 2rem}.main-container.wide{max-width:1800px;padding:0 1.5rem;margin:1.5rem auto}.main-container.pull-up{margin-top:-2rem}.key-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:2rem}.stats-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem}.stats-bar.compact{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:.75rem;margin-bottom:1.25rem}.stat-card{background:#fff;padding:1.25rem;border-radius:8px;box-shadow:0 1px 3px #0000001a;position:relative;overflow:hidden}.stat-card.bordered{border:1px solid #eee;background:#fafafa;box-shadow:none}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2c5f2d,#4a9d4f)}.stat-card.no-bar:before{display:none}.stat-card.warning:before{background:linear-gradient(90deg,#f39c12,#e67e22)}.stat-card.danger:before{background:linear-gradient(90deg,#e74c3c,#c0392b)}.stat-card.info:before{background:linear-gradient(90deg,#3498db,#2980b9)}.stat-card .icon{font-size:2rem;margin-bottom:.5rem;opacity:.7}.stat-card .label{font-size:.8rem;color:#666;margin-bottom:.4rem;text-transform:uppercase;letter-spacing:.03em}.stat-card .value{font-size:1.6rem;font-weight:700;color:#2c5f2d}.stat-card .value.warn{color:#e67e22}.stat-card .value.danger{color:#dc3545}.stat-card .subtext{font-size:.75rem;color:#999;margin-top:.2rem}.stat-card .trend{display:inline-block;margin-left:.5rem;font-size:.75rem;padding:.15rem .4rem;border-radius:3px;font-weight:600}.trend.up{background:#d4edda;color:#155724}.trend.down{background:#f8d7da;color:#721c24}.tab-bar{display:flex;gap:0;margin-bottom:1.5rem;background:#fff;border-radius:8px 8px 0 0;overflow:hidden;box-shadow:0 1px 3px #0000001a}.tab-bar button{padding:.85rem 1.5rem;border:none;background:#fff;color:#666;font-size:.9rem;font-weight:600;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s}.tab-bar button:hover{color:#2c5f2d;background:#f8f9fa}.tab-bar button.active{color:#2c5f2d;border-bottom-color:#2c5f2d;background:#fff}.season-tabs{display:flex;gap:0;margin-bottom:0}.season-tabs button{padding:.7rem 1.8rem;border:none;background:#e0e0e0;color:#555;font-size:.95rem;font-weight:700;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s;margin-right:3px}.season-tabs button:hover{background:#d0d0d0}.season-tabs button.active{background:#fff;color:#2c5f2d;box-shadow:0 -2px 4px #0000000d}.season-content{background:#fff;border-radius:0 8px 8px;box-shadow:0 1px 3px #0000001a;padding:1.5rem;margin-bottom:1.5rem}.view-tabs{display:flex;gap:0;margin-bottom:1.25rem;border-bottom:2px solid #e0e0e0}.view-tabs button{padding:.6rem 1.3rem;border:none;background:transparent;color:#666;font-size:.85rem;font-weight:600;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s;margin-bottom:-2px}.view-tabs button:hover{color:#2c5f2d}.view-tabs button.active{color:#2c5f2d;border-bottom-color:#2c5f2d}.workflow-section{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #00000014;margin-bottom:2rem}.workflow-section h2{font-size:1.3rem;margin-bottom:1.5rem;color:#2c5f2d;display:flex;align-items:center;gap:.5rem}.workflow-timeline{display:flex;align-items:flex-start;gap:0;margin-bottom:1.5rem;background:#f8fdf8;border:1px solid #c8e6c9;border-radius:8px;padding:1rem .5rem;overflow-x:auto}.workflow-timeline.simple{display:flex;justify-content:space-between;gap:.5rem;background:none;border:none;padding:1rem 0}.wf-step{flex:1;min-width:140px;text-align:center;position:relative;padding:0 .5rem}.wf-step:after{content:"→";position:absolute;right:-8px;top:12px;font-size:1.2rem;color:#aaa;font-weight:700;z-index:1}.wf-step:last-child:after{display:none}.wf-num{display:inline-flex;width:32px;height:32px;border-radius:50%;background:#ccc;color:#fff;font-size:.8rem;font-weight:700;align-items:center;justify-content:center;margin-bottom:.4rem;position:relative;z-index:2}.wf-num.done{background:#28a745}.wf-num.active{background:#e67e22;color:#fff;box-shadow:0 0 0 3px #e67e224d;animation:pulse 2s infinite}.wf-num.future{background:#ccc}@keyframes pulse{0%,to{box-shadow:0 0 0 3px #e67e224d}50%{box-shadow:0 0 0 6px #e67e2226}}.wf-title{font-size:.78rem;font-weight:700;color:#333;line-height:1.3}.wf-date{font-size:.7rem;color:#888;margin-top:.15rem}.wf-detail{font-size:.65rem;color:#aaa;margin-top:.1rem}.section-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem;overflow:hidden}.section-header{background:#f8f9fa;padding:1rem 1.5rem;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.section-header h2{font-size:1rem;color:#333}.section-title{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:1.25rem;padding-bottom:.5rem;border-bottom:2px solid #e0e0e0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}thead{background:#f8f9fa;position:sticky;top:0;z-index:2}th{padding:.65rem .8rem;text-align:left;font-weight:600;font-size:.75rem;color:#666;border-bottom:2px solid #e0e0e0;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}th.right,td.right{text-align:right}th.center,td.center{text-align:center}td{padding:.6rem .8rem;border-bottom:1px solid #f0f0f0;font-size:.85rem}tbody tr:hover{background:#f8f9fa}.filter-bar{background:#fff;padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a;display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.filter-bar.bordered{background:#fafafa;border:1px solid #eee;box-shadow:none}.filter-bar input,.filter-bar select{padding:.45rem .6rem;border:1px solid #ddd;border-radius:4px;font-size:.85rem}.filter-bar input{flex:1;min-width:200px}.filter-bar select{min-width:140px}.action-btn{padding:.4rem .8rem;background:#2c5f2d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.8rem;margin-right:.3rem;transition:background .2s}.action-btn:hover{background:#1e4620}.action-btn.secondary,.action-btn.sec{background:#6c757d}.action-btn.secondary:hover,.action-btn.sec:hover{background:#5a6268}.action-btn.warning{background:#e0a800;color:#333}.action-btn.warning:hover{background:#c69500}.action-btn.details{background:#6c757d}.action-btn.details:hover{background:#5a6268}.action-btn.danger{background:#dc3545}.action-btn.danger:hover{background:#c82333}.filter-bar button{padding:.45rem 1rem;background:#2c5f2d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.filter-bar button:hover{background:#1e4620}.filter-bar button.secondary,.filter-bar button.sec{background:#6c757d}.filter-bar button.secondary:hover,.filter-bar button.sec:hover{background:#5a6268}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.status-active{background:#d4edda;color:#155724}.status-inactive{background:#e9ecef;color:#6c757d}.status-confirmed{background:#d4edda;color:#155724}.status-deposit{background:#fff3cd;color:#856404}.status-finalised{background:#cce5ff;color:#004085}.status-dispatched{background:#d1ecf1;color:#0c5460}.status-invoiced{background:#f8d7da;color:#721c24}.status-completed{background:#d4edda;color:#155724}.sb{display:inline-block;padding:.18rem .55rem;border-radius:10px;font-size:.7rem;font-weight:600}.sb-pending{background:#fff3cd;color:#856404}.sb-overdue{background:#fce4ec;color:#c62828}.sb-notdue{background:#e9ecef;color:#495057}.sb-received{background:#d1ecf1;color:#0c5460}.variety-tag{display:inline-block;padding:.2rem .5rem;background:#e7f3e8;border-radius:4px;font-size:.73rem;margin-right:.2rem;margin-bottom:.2rem}.variety-tag.ev-variety,.variety-tag.ev{background:#fff3cd;border:1px solid #ffc107;font-weight:600}.variety-tag.flevo-variety,.variety-tag.flevo{background:#d1ecf1;border:1px solid #17a2b8}.variety-tag.blueberry-variety{background:#e8dff5;border:1px solid #8e44ad;color:#5b2d8e}.variety-tag.raspberry-variety{background:#fde2e4;border:1px solid #e74c3c;color:#c0392b}.country-flag{display:inline-block;margin-right:.3rem}.prog-wrap{width:100%;height:16px;background:#e9ecef;border-radius:8px;overflow:hidden;position:relative}.prog-fill{height:100%;border-radius:8px;transition:width .3s}.prog-fill.green{background:#28a745}.prog-fill.amber{background:#ffc107}.prog-fill.red{background:#dc3545}.prog-fill.blue{background:#17a2b8}.prog-text{position:absolute;top:0;left:0;right:0;height:16px;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;color:#333}.info-banner{background:#d1ecf1;border:1px solid #17a2b8;border-radius:6px;padding:.75rem 1.25rem;font-size:.85rem;color:#0c5460;margin-bottom:1.25rem;display:flex;align-items:center;gap:.5rem}.info-banner.warning{background:#fff3cd;border-color:#ffc107;color:#856404}.modal-overlay{position:fixed;inset:0;background:#00000080;z-index:1000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-card{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:750px;width:95%;max-height:85vh;overflow-y:auto}.modal-card.wide{max-width:950px}.modal-header{padding:1.25rem 1.5rem;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.modal-header h2{font-size:1.1rem;color:#2c5f2d}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;padding:.25rem .5rem;border-radius:4px}.modal-close:hover{background:#f0f0f0;color:#333}.modal-body{padding:1.5rem}.modal-footer{padding:1rem 1.5rem;border-top:1px solid #e0e0e0;text-align:right}.modal-section-title{font-size:.9rem;font-weight:600;color:#2c5f2d;margin:1rem 0 .5rem;padding-bottom:.3rem;border-bottom:1px solid #e0e0e0}.result-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #f0f0f0;font-size:.88rem}.result-row:last-child{border-bottom:none}.result-row .rl{color:#666}.result-row .rv{font-weight:600}.result-row.total{border-top:2px solid #2c5f2d;border-bottom:none;margin-top:.5rem;padding-top:.8rem}.result-row.total .rl,.result-row.total .rv{font-size:1.1rem;color:#2c5f2d;font-weight:700}.result-row.saving .rv{color:#28a745}.alerts-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-bottom:2rem}.alert-box{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 8px #00000014;border-left:4px solid}.alert-box.info{border-left-color:#3498db}.alert-box.warning{border-left-color:#f39c12}.alert-box.success{border-left-color:#27ae60}.alert-box h3{font-size:.95rem;margin-bottom:.8rem;display:flex;align-items:center;gap:.5rem}.alert-box p{font-size:.85rem;color:#666;line-height:1.5}.alert-link{display:inline-block;font-size:.8rem;color:#2c5f2d;font-weight:600;text-decoration:none;margin-top:.5rem}.alert-link:hover{text-decoration:underline}.nav-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.nav-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #00000014;transition:all .3s;cursor:pointer;text-decoration:none;color:inherit}.nav-card:hover{box-shadow:0 4px 16px #00000026;transform:translateY(-2px)}.nav-card-header{background:linear-gradient(135deg,#2c5f2d,#3a7a3c);color:#fff;padding:1.5rem;display:flex;align-items:center;gap:1rem}.nav-card-header.forecast{background:linear-gradient(135deg,#e67e22,#f39c12)}.nav-card-header.dispatch{background:linear-gradient(135deg,#2980b9,#3498db)}.nav-card-header.pricing{background:linear-gradient(135deg,#8e44ad,#9b59b6)}.nav-card-header.orders{background:linear-gradient(135deg,#27ae60,#2ecc71)}.nav-card-header.master{background:linear-gradient(135deg,#e67e22,#f39c12)}.nav-card-header.deposits{background:linear-gradient(135deg,#c0392b,#e74c3c)}.nav-card-icon{font-size:2.5rem}.nav-card-title h3{font-size:1.1rem;margin-bottom:.3rem}.nav-card-title p{font-size:.8rem;opacity:.9}.nav-card-body{padding:1.25rem;font-size:.85rem;color:#666}.nav-card-stats{display:flex;gap:1.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}.nav-stat{flex:1}.nav-stat .ns-label{font-size:.7rem;color:#999;text-transform:uppercase}.nav-stat .ns-value{font-size:1.1rem;font-weight:700;color:#2c5f2d}.activity-section{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #00000014}.activity-section h2{font-size:1.3rem;margin-bottom:1.5rem;color:#2c5f2d}.activity-list{list-style:none}.activity-item{padding:1rem 0;border-bottom:1px solid #f0f0f0;display:flex;gap:1rem;align-items:flex-start}.activity-item:last-child{border-bottom:none}.activity-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.activity-icon.dispatch{background:#e3f2fd;color:#1976d2}.activity-icon.order{background:#e8f5e9;color:#388e3c}.activity-icon.payment{background:#fff3e0;color:#f57c00}.activity-icon.master{background:#f3e5f5;color:#7b1fa2}.activity-content{flex:1}.activity-content h4{font-size:.9rem;margin-bottom:.3rem}.activity-content p{font-size:.8rem;color:#666}.quick-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.quick-link{background:#fff;padding:1.25rem;border-radius:8px;box-shadow:0 2px 8px #00000014;text-decoration:none;color:inherit;transition:all .2s;display:flex;align-items:center;gap:1rem}.quick-link:hover{box-shadow:0 4px 12px #0000001f;transform:translateY(-1px)}.quick-link-icon{font-size:1.8rem;opacity:.7}.quick-link-text h4{font-size:.9rem;margin-bottom:.2rem}.quick-link-text p{font-size:.75rem;color:#999}.mc{border-left:1px solid #eee;min-width:90px;padding:.4rem .5rem!important}.mc.past{background:#fafafa}.mc.current{background:#fffde7}.mc.future{background:#fff}.mc-head{font-size:.68rem!important}.mc-head.past{background:#f0f0f0!important}.mc-head.current{background:#fff8e1!important;color:#e67e22!important;font-weight:700!important}.payment-tracker{font-size:.8rem}.payment-tracker .payment-item{display:flex;align-items:center;margin-bottom:.2rem}.payment-item .check{color:#28a745;margin-right:.3rem}.payment-item .pending{color:#ffc107;margin-right:.3rem}.cal-card{border:1px solid #e0e0e0;border-radius:6px;padding:.5rem .65rem;margin-bottom:.35rem;font-size:.75rem;background:#fff;transition:box-shadow .15s}.cal-card:hover{box-shadow:0 1px 4px #0000001f}.cal-card.received{border-left:3px solid #28a745}.cal-card.pending{border-left:3px solid #ffc107}.cal-card.overdue{border-left:3px solid #dc3545}.cal-card.notdue{border-left:3px solid #ccc}.cal-card .cc-cust{font-weight:700;font-size:.73rem;margin-bottom:.15rem}.cal-card .cc-val{font-weight:700;color:#2c5f2d;font-size:.8rem}.cal-card .cc-type{font-size:.65rem;color:#888}.cal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.cal-month-col{background:#fafafa;border-radius:8px;border:1px solid #e8e8e8;overflow:hidden}.cal-month-col.current{border:2px solid #e67e22}.cal-month-header{padding:.65rem .75rem;font-weight:700;font-size:.82rem;text-align:center;background:#f0f0f0;border-bottom:1px solid #e0e0e0}.cal-month-header.current{background:#fff8e1;color:#e67e22}.cal-month-body{padding:.5rem;min-height:80px}.dt{display:inline-block;padding:.12rem .4rem;border-radius:3px;font-size:.7rem;font-weight:600}.dt-order{background:#e3f2fd;border:1px solid #90caf9;color:#1565c0}.dt-nov{background:#fff3e0;border:1px solid #ffb74d;color:#e65100}.dt-dispatch{background:#e8f5e9;border:1px solid #81c784;color:#2e7d32}.customer-tier{display:inline-block;padding:.15rem .5rem;border-radius:10px;font-size:.7rem;font-weight:600}.tier-gold{background:#fff3cd;color:#856404;border:1px solid #ffc107}.tier-silver{background:#e9ecef;color:#495057;border:1px solid #adb5bd}.tier-bronze{background:#f8e6d4;color:#8a5a2b;border:1px solid #d4a373}.tier-new{background:#d1ecf1;color:#0c5460;border:1px solid #17a2b8}.role-badge{display:inline-block;padding:.2rem .6rem;border-radius:10px;font-size:.72rem;font-weight:600}.role-admin{background:#f8d7da;color:#721c24}.role-manager{background:#cce5ff;color:#004085}.role-user{background:#d4edda;color:#155724}.role-viewer{background:#e9ecef;color:#6c757d}.passport-cell{font-family:Consolas,Courier New,monospace;font-size:.82rem;font-weight:600;color:#004085}.user-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#2c5f2d;color:#fff;font-weight:600;font-size:.75rem;margin-right:.5rem;vertical-align:middle}.nursery-reg{font-family:Consolas,Courier New,monospace;font-size:.8rem;color:#004085;font-weight:600}.last-login{font-size:.72rem;color:#999}.pack-pill{display:inline-block;padding:.1rem .4rem;background:#e9ecef;border-radius:3px;font-size:.7rem;margin:.1rem .15rem}.legend{display:flex;gap:1rem;flex-wrap:wrap;font-size:.75rem;color:#666;margin-bottom:1rem}.legend-item{display:flex;align-items:center;gap:.3rem}.legend-dot{width:10px;height:10px;border-radius:2px}.grp td{background:#f0f4f0;font-weight:700;border-bottom:2px solid #c8d6c8}.totals-row td{background:#f0f4f0;font-weight:700;border-top:2px solid #2c5f2d}.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}@media(max-width:900px){.calc-grid{grid-template-columns:1fr}}.calc-form{padding:1.5rem}.calc-form .form-group{margin-bottom:1.2rem}.calc-form label{display:block;font-size:.85rem;font-weight:600;color:#555;margin-bottom:.4rem}.calc-form select,.calc-form input[type=number]{width:100%;padding:.6rem .75rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem;background:#fff}.calc-form select:focus,.calc-form input:focus{border-color:#2c5f2d;outline:none;box-shadow:0 0 0 2px #2c5f2d26}.calc-result{padding:1.5rem;background:#f8f9fa;border-left:3px solid #2c5f2d}.calc-result h3{font-size:1rem;margin-bottom:1rem;color:#2c5f2d}.rebate-tag{display:inline-block;padding:.15rem .5rem;background:#d4edda;border:1px solid #28a745;border-radius:4px;font-size:.7rem;color:#155724;font-weight:600}.rebate-tag.none{background:#f0f0f0;border-color:#ccc;color:#999}.pack-tag{display:inline-block;padding:.15rem .45rem;background:#e9ecef;border-radius:4px;font-size:.73rem;color:#495057}.text-discount{color:#28a745;font-weight:600}.net-price{color:#2c5f2d;font-weight:700}td.net-cell{background:#f8fdf8}.grid-2col{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem}@media(max-width:1100px){.grid-2col{grid-template-columns:1fr}}.control-panel{background:#f8fdf8;border:1px solid #c8e6c9;border-radius:8px;padding:1rem 1.5rem;margin-bottom:1.25rem;display:flex;gap:2rem;flex-wrap:wrap;align-items:center}.control-group{display:flex;align-items:center;gap:.5rem}.control-group label{font-size:.82rem;font-weight:600;color:#555;white-space:nowrap}.control-group input[type=range]{width:160px;accent-color:#2c5f2d}.control-group .range-val{display:inline-block;min-width:42px;text-align:center;font-weight:700;font-size:.9rem;color:#2c5f2d;background:#fff;border:1px solid #c8e6c9;border-radius:4px;padding:.2rem .4rem}.control-group select{padding:.4rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.85rem}.fc{line-height:1.4}.fc-val{font-size:.8rem;font-weight:700;color:#2c5f2d}.fc-cum{font-size:.68rem;color:#888}.fc-zero{color:#e0e0e0;font-size:.78rem}.nur-card{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;margin-bottom:1.25rem}.nur-card-header{background:#f0f4f0;padding:.8rem 1.25rem;border-bottom:2px solid #c8d6c8;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.nur-card-header h3{font-size:.95rem;color:#333}.nur-meta{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;font-size:.82rem}.nur-meta span{color:#555}.nur-meta strong{color:#2c5f2d}.cmp-bar{position:relative;height:22px;margin-top:.15rem}.cmp-bar-fill{height:10px;border-radius:3px;position:absolute;top:0;left:0}.cmp-bar-label{position:absolute;top:12px;font-size:.62rem}.surplus{color:#28a745;font-weight:600}.deficit{color:#dc3545;font-weight:600}.mc.first-ship{background:#e8f5e9}.mc-head.first-ship{background:#c8e6c9!important;color:#1b5e20!important;font-weight:700!important}.stat-card .value.good{color:#28a745}.nt{display:inline-block;padding:.1rem .35rem;background:#e9ecef;border-radius:3px;font-size:.68rem;color:#495057}.sb-plan{background:#fff3cd;color:#856404}.sb-prog{background:#cce5ff;color:#004085}.sb-done{background:#c8e6c9;color:#1b5e20}.sb-short{background:#fce4ec;color:#c62828}.fw{font-weight:700}.tm{color:#999}.value-cell{cursor:pointer}.value-cell:hover{background:#f0f8f0}.invoice-type-selector{display:flex;gap:1rem;margin-bottom:1.25rem}.invoice-type-option{flex:1;padding:1rem;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;text-align:center;transition:all .2s}.invoice-type-option:hover{border-color:#2c5f2d;background:#f8fdf8}.invoice-type-option.selected{border-color:#8e44ad;background:#f3e5f5}.invoice-type-option.disabled{opacity:.4;cursor:not-allowed;pointer-events:none}.inv-type-icon{font-size:1.8rem;margin-bottom:.3rem}.inv-type-label{font-size:.85rem;font-weight:700}.inv-type-amount{font-size:1.1rem;font-weight:700;color:#2c5f2d;margin:.3rem 0}.inv-type-status{font-size:.72rem}.inv-status-paid{color:#28a745;font-weight:600}.inv-status-due{color:#e67e22;font-weight:600}.inv-status-na{color:#999}.invoice-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}.invoice-detail-box{background:#f8f9fa;border-radius:6px;padding:1rem}.loading-container{display:flex;align-items:center;justify-content:center;min-height:300px;color:#999;font-size:1.1rem}.loading-container .spinner{display:inline-block;width:24px;height:24px;border:3px solid #e0e0e0;border-top-color:#2c5f2d;border-radius:50%;margin-right:.75rem;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.nav-card-header.todo{background:linear-gradient(135deg,#34495e,#5d6d7e)}.priority-badge{display:inline-block;padding:.2rem .6rem;border-radius:10px;font-size:.72rem;font-weight:600}.priority-high{background:#f8d7da;color:#721c24}.priority-medium{background:#fff3cd;color:#856404}.priority-low{background:#d1ecf1;color:#0c5460}.category-pill{display:inline-block;padding:.15rem .5rem;background:#e9ecef;border-radius:4px;font-size:.72rem;color:#495057}.category-pill.data-management{background:#cce5ff;color:#004085}.category-pill.forecasting{background:#fff3cd;color:#856404}.category-pill.financial{background:#d4edda;color:#155724}.category-pill.operations{background:#f8e6d4;color:#8a5a2b}.category-pill.system{background:#e9ecef;color:#495057}.forecast-tag{display:inline-block;padding:.15rem .5rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-size:.7rem;color:#856404;font-weight:600}.todo-status{display:inline-block;padding:.2rem .6rem;border-radius:10px;font-size:.72rem;font-weight:600}.todo-not-started{background:#e9ecef;color:#6c757d}.todo-in-progress{background:#cce5ff;color:#004085}.todo-completed{background:#d4edda;color:#155724}.todo-description{font-size:.78rem;color:#888;margin-top:.2rem;line-height:1.4}.todo-notes{font-size:.75rem;color:#666;font-style:italic;margin-top:.15rem}.todo-form .form-row{margin-bottom:1rem}.todo-form .form-row label{display:block;font-size:.82rem;font-weight:600;color:#555;margin-bottom:.35rem}.todo-form .form-row input[type=text],.todo-form .form-row input[type=date],.todo-form .form-row select,.todo-form .form-row textarea{width:100%;padding:.5rem .65rem;border:1px solid #ddd;border-radius:4px;font-size:.88rem;font-family:inherit;background:#fff}.todo-form .form-row textarea{min-height:70px;resize:vertical}.todo-form .form-row input:focus,.todo-form .form-row select:focus,.todo-form .form-row textarea:focus{border-color:#2c5f2d;outline:none;box-shadow:0 0 0 2px #2c5f2d26}.todo-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.todo-form .form-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}.todo-form .checkbox-row{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}.todo-form .checkbox-row input[type=checkbox]{width:18px;height:18px;accent-color:#2c5f2d;cursor:pointer}.todo-form .checkbox-row label{margin-bottom:0;cursor:pointer}.todo-form .form-hint{font-size:.72rem;color:#999;margin-top:.2rem}.form-validation-error{color:#dc3545;font-size:.78rem;margin-top:.2rem}.save-toast{position:fixed;bottom:2rem;right:2rem;z-index:2000;background:#28a745;color:#fff;padding:.75rem 1.5rem;border-radius:8px;font-size:.9rem;font-weight:600;box-shadow:0 4px 12px #0003;animation:fadeIn .3s}.new-combo-badge{display:inline-block;padding:.1rem .4rem;background:#d4edda;border:1px solid #28a745;border-radius:3px;font-size:.6rem;color:#155724;font-weight:700;margin-left:.3rem}.assignment-row{background:#f8fdf8}.season-check-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.3rem}.season-check-item{display:flex;align-items:center;gap:.35rem;padding:.3rem .6rem;border:1px solid #ddd;border-radius:4px;font-size:.82rem;cursor:pointer;transition:all .15s}.season-check-item:hover{border-color:#2c5f2d;background:#f8fdf8}.season-check-item.checked{border-color:#2c5f2d;background:#e8f5e9}.season-check-item input[type=checkbox]{width:16px;height:16px;accent-color:#2c5f2d;cursor:pointer}.price-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem;padding:.3rem .5rem;background:#fafafa;border-radius:4px}.price-row select,.price-row input{padding:.35rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.82rem;font-family:inherit}.price-row select{flex:1}.price-row input{width:90px;text-align:right}.price-row button{flex-shrink:0}.nv-season-pills{display:flex;flex-wrap:wrap;gap:.2rem}.nv-season-pill{display:inline-block;padding:.1rem .4rem;background:#cce5ff;border:1px solid #90caf9;border-radius:3px;font-size:.68rem;color:#004085;font-weight:600}.pack-group-badge{display:inline-block;padding:.15rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;white-space:nowrap}.pack-group-tissue-culture{background:#e8f5e9;border:1px solid #66bb6a;color:#2e7d32}.pack-group-fresh-tip{background:#fff3e0;border:1px solid #ffb74d;color:#e65100}.pack-group-cell-tray{background:#e3f2fd;border:1px solid #64b5f6;color:#1565c0}.pack-group-pot{background:#fce4ec;border:1px solid #ef9a9a;color:#c62828}.pack-group-other{background:#f5f5f5;border:1px solid #bdbdbd;color:#616161}.haulier-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.25rem}.haulier-card{background:#fff;border-radius:10px;box-shadow:0 2px 8px #00000014;overflow:hidden;transition:box-shadow .2s,transform .2s;border:1px solid #e8e8e8}.haulier-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-1px)}.haulier-card-header{background:linear-gradient(135deg,#2c5f2d,#3a7a3c);color:#fff;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center}.haulier-truck-count{font-size:1.1rem;font-weight:700;background:#fff3;padding:.3rem .6rem;border-radius:6px}.haulier-country-badge{display:inline-block;padding:.1rem .4rem;background:#ffffff40;border-radius:3px;font-size:.72rem;font-weight:700;margin-left:.3rem}.haulier-card-body{padding:1rem 1.25rem}.haulier-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1rem}.haulier-info-item{display:flex;flex-direction:column}.haulier-info-label{font-size:.68rem;color:#999;text-transform:uppercase;letter-spacing:.03em;font-weight:600;margin-bottom:.1rem}.haulier-info-value{font-size:.85rem;color:#333;font-weight:500}.haulier-truck-pill{display:inline-block;padding:.15rem .5rem;background:#e3f2fd;border:1px solid #90caf9;border-radius:4px;font-size:.72rem;color:#1565c0;font-weight:600}.haulier-card-footer{padding:.75rem 1.25rem;border-top:1px solid #e8e8e8;display:flex;gap:.5rem;justify-content:flex-end;background:#fafafa}.recipe-header{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:1rem;margin-bottom:1rem;border-bottom:3px solid #2c5f2d}.recipe-company{font-size:1.3rem;font-weight:700;color:#2c5f2d}.recipe-subtitle{font-size:.85rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.05em;margin-top:.2rem}.recipe-header-right{text-align:right}.recipe-date-label{font-size:.7rem;color:#999;text-transform:uppercase;font-weight:600}.recipe-date{font-size:1.4rem;font-weight:700;color:#333}.recipe-ref{font-size:.72rem;color:#999;margin-top:.2rem}.recipe-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem}.recipe-detail-box{background:#f8f9fa;border:1px solid #e8e8e8;border-radius:6px;padding:.6rem .8rem;display:flex;flex-direction:column}.recipe-detail-label{font-size:.68rem;color:#999;text-transform:uppercase;font-weight:600;letter-spacing:.03em;margin-bottom:.15rem}.recipe-detail-value{font-size:.9rem;font-weight:600;color:#333}.recipe-detail-sub{font-size:.75rem;color:#888;margin-top:.1rem}.recipe-status-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;margin-bottom:.75rem;font-size:.85rem}.recipe-table{width:100%;border-collapse:collapse;margin-bottom:.75rem}.recipe-table th{padding:.6rem .8rem;text-align:left;font-weight:600;font-size:.75rem;color:#555;border-bottom:2px solid #2c5f2d;text-transform:uppercase;letter-spacing:.03em;background:#f0f4f0}.recipe-table td{padding:.55rem .8rem;border-bottom:1px solid #e8e8e8;font-size:.85rem}.recipe-table tbody tr:hover{background:#f8f9fa}.recipe-totals-row td{border-top:2px solid #2c5f2d;border-bottom:none;background:#f0f4f0;font-size:.9rem}.recipe-notes{margin-top:.75rem;padding:.75rem;background:#f8fafc;border:1px solid #e8e8e8;border-radius:6px;font-size:.85rem}.recipe-signature{display:flex;gap:2rem;margin-top:2rem;padding-top:1rem}.recipe-sig-box{flex:1}.recipe-sig-line{border-bottom:1px solid #333;height:2rem;margin-bottom:.3rem}.recipe-sig-label{font-size:.75rem;color:#666}.only-print{display:none}.no-print{display:flex}@media print{body *{visibility:hidden}.recipe-card-print,.recipe-card-print *{visibility:visible}.recipe-card-print{position:absolute;top:0;left:0;width:100%;padding:15mm;background:#fff}.no-print,.no-print *{display:none!important;visibility:hidden!important}.modal-header,.modal-close,.modal-footer,.header,.main-container,.season-tabs,.view-tabs,.stats-bar,.filter-bar,.nav-grid,.toast{display:none!important}.only-print{display:flex!important;visibility:visible!important}.modal-overlay{background:none!important;position:static!important}.modal-card{box-shadow:none!important;max-width:none!important;max-height:none!important;overflow:visible!important;border-radius:0!important}.modal-body{padding:0!important}.recipe-header{border-bottom:2px solid #000}.recipe-company{color:#000}.recipe-detail-box{border:1px solid #ccc;background:#f5f5f5}.recipe-table th{background:#eee;border-bottom:2px solid #000;color:#000}.recipe-table td{border-bottom:1px solid #ccc}.recipe-totals-row td{border-top:2px solid #000;background:#eee}.recipe-notes{border:1px solid #ccc}@page{margin:10mm;size:A4 portrait}}.leaflet-container{border-radius:8px;z-index:1}.leaflet-popup-content strong{color:#1e293b}.leaflet-popup-content em{font-size:.8rem}.route-planning-layout{display:flex;gap:1rem;height:700px;margin-top:1rem}.route-planning-map{flex:65;min-width:0}.route-planning-sidebar{flex:35;min-width:280px;max-width:400px;overflow-y:auto;display:flex;flex-direction:column;gap:0}.route-sidebar{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1rem}.route-sidebar h3{margin:0 0 .25rem;font-size:1rem;color:#1e293b}.route-stop-list{margin-bottom:1rem}.route-stop-item{display:flex;align-items:center;gap:.5rem;padding:.45rem .5rem;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0;margin-bottom:2px;transition:box-shadow .15s}.route-stop-item:hover{box-shadow:0 1px 4px #00000014}.route-stop-item.origin{background:#f0fdf4;border-color:#bbf7d0;cursor:default}.route-stop-item.transit{background:#fffbeb;border-color:#fde68a}.route-stop-item[draggable=true]{cursor:grab}.route-stop-item[draggable=true]:active{cursor:grabbing;box-shadow:0 2px 8px #00000026}.route-leg-connector{display:flex;align-items:center;padding:.15rem 0 .15rem 2.2rem;font-size:.72rem;color:#94a3b8;position:relative}.route-leg-connector:before{content:"";position:absolute;left:1.2rem;top:0;bottom:0;width:2px;background:#cbd5e1}.route-totals{background:#f1f5f9;border-radius:6px;padding:.6rem .8rem;font-size:.82rem;display:flex;flex-direction:column;gap:.3rem;color:#475569}.route-transit-highlight{background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;padding:.5rem .8rem;font-size:.82rem;color:#9a3412;margin-top:.5rem}.route-number-marker{display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:11px;font-weight:700;color:#fff;border:2px solid white;box-shadow:0 1px 4px #0000004d}@media(max-width:900px){.route-planning-layout{flex-direction:column;height:auto}.route-planning-map{height:400px}.route-planning-sidebar{max-width:100%}}
