/* CAM-PASZ App OS 1.0.7 — Client / TEAM visual system.
   Does not modify admin login or install pages. */
body.cp-client,body.cp-team{--cp-edge:rgba(19,77,51,.14);--cp-forest:#075538;--cp-beige:#f8f7ed;--cp-soft:#eef2e7;background:#f8f7ec;color:#12362c}
body.cp-client::before,body.cp-team::before{background-image:radial-gradient(circle at 83% 18%,rgba(20,80,47,.035),transparent 40%);opacity:1}
body.cp-client .app-wrap{max-width:none;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:81px 61px minmax(0,1fr)}
body.cp-client .app-head{grid-area:1/1;min-width:0;padding:8px clamp(22px,4.5vw,65px);background:rgba(255,255,255,.74);z-index:20}
body.cp-client .brand img{width:205px;height:63px}
body.cp-client .desktop-nav{grid-area:2/1;display:flex;flex-flow:row nowrap;gap:8px;position:sticky;top:0;max-height:none;overflow-x:auto;overflow-y:hidden;align-items:center;justify-content:center;padding:6px 25px;background:rgba(253,253,247,.94);border-right:0;border-bottom:1px solid var(--cp-edge);box-shadow:0 4px 20px rgba(25,60,44,.025);z-index:19}
body.cp-client .desktop-nav .nav-link{width:auto;flex:0 0 auto;padding:9px 13px}
body.cp-client .desktop-nav .nav-link .icon{width:18px;height:18px}
body.cp-client .desktop-nav form{margin:0 0 0 auto}
body.cp-client .app-main{grid-area:3/1;max-width:1450px;padding:32px clamp(20px,4.4vw,70px) 100px}
body.cp-client .app-pill{background:#e7eee1}
body.cp-team .app-wrap{max-width:none;display:grid;grid-template-columns:246px minmax(0,1fr);grid-template-rows:78px minmax(0,1fr)}
body.cp-team .app-head{grid-area:1/2;min-width:0;padding:8px 38px 8px 32px;background:rgba(255,255,253,.9);border-bottom:1px solid var(--cp-edge)}
body.cp-team .app-head .brand img{max-height:55px;width:175px}
body.cp-team .desktop-nav{grid-area:1/1/3/2;display:flex;position:sticky;top:0;max-height:100dvh;overflow-y:auto;background:linear-gradient(168deg,#07543a 0%,#053b2a 65%,#082d22 100%);border-right:0;color:#ecf5e7;align-items:stretch;padding:106px 12px 24px;z-index:25;box-shadow:10px 0 30px rgba(16,58,41,.08)}
body.cp-team .desktop-nav::before{content:'CAM-PASZ  ·  TEAM';position:absolute;top:37px;left:22px;right:20px;color:#f2f8f0;font-weight:800;letter-spacing:.09em;font-size:15px;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:23px}
body.cp-team .desktop-nav::after{content:'';position:absolute;bottom:0;left:0;right:0;height:110px;pointer-events:none;background:linear-gradient(0deg,rgba(222,231,185,.12),transparent)}
body.cp-team .desktop-nav .nav-link{color:#e1f0e5;font-weight:600;letter-spacing:-.01em;border-radius:15px}
body.cp-team .desktop-nav .nav-link .icon{color:#d6e9d7}
body.cp-team .desktop-nav .nav-link:hover,body.cp-team .desktop-nav .nav-link:focus-visible,body.cp-team .desktop-nav .nav-link.active{background:rgba(239,250,229,.17);color:#fff}
body.cp-team .desktop-nav form{margin-top:auto;position:relative;z-index:1}
body.cp-team .app-main{grid-area:2/2;max-width:none;padding:18px clamp(18px,3vw,52px) 96px;min-width:0}
body.cp-team .app-pill{color:#0b653f;background:#e5eee2}
body.cp-client .bottom-nav,body.cp-team .bottom-nav{display:none}
/* CLIENT — open visual areas separated by subtle lines, no classic tile-wall. */
.cx-dashboard{display:grid;gap:23px;min-width:0}
.cx-hero{display:flex;justify-content:space-between;align-items:center;min-height:194px;position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid var(--cp-edge);padding:18px 0 21px}
.cx-hero-copy{position:relative;z-index:2}
.cx-eyebrow,.tx-eyebrow{margin:0 0 13px;font-size:11px;letter-spacing:.17em;color:#2d7557;font-weight:800}
.cx-eyebrow span{display:inline-block;background:#9aa99a;width:45px;height:1px;vertical-align:middle;margin:0 5px}
.cx-hero h1{font-size:clamp(37px,4vw,62px);line-height:1.06;letter-spacing:-.055em;margin:0 0 8px;font-weight:800}
.cx-hero p:not(.cx-eyebrow){margin:0;color:#61756a}
.cx-hero-visual{position:absolute;inset:0 0 0 50%;background:linear-gradient(90deg,#f8f7ec 1%,rgba(248,247,236,.15) 45%),url('/assets/atlas-landscape.webp') center/cover no-repeat;opacity:.82;z-index:1}
.cx-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:3px 0 2px;border-bottom:1px solid var(--cp-edge)}
.cx-shortcut{display:flex;align-items:center;position:relative;gap:12px;min-width:0;min-height:112px;padding:14px 16px;text-decoration:none;color:#12422f;transition:background .2s}
.cx-shortcut+.cx-shortcut:before{content:'';position:absolute;left:0;top:15px;bottom:15px;width:1px;background:var(--cp-edge)}
.cx-shortcut:not(.cx-shortcut-disabled):hover{background:rgba(234,243,226,.65)}
.cx-short-icon{display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;border-radius:17px;background:#e8efdf;color:#09643d}
.cx-short-icon .icon{width:26px;height:26px}
.cx-short-text{display:grid;gap:1px;min-width:0}
.cx-short-text strong{font-size:16px;letter-spacing:-.025em}
.cx-short-text small{color:#6c8174;font-size:11px;line-height:1.35}
.cx-short-arrow{margin-left:auto;color:#4c7b62}
.cx-short-arrow .icon{width:15px;height:15px}
.cx-shortcut-disabled{opacity:.63;cursor:default}
.cx-dashboard-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.8fr);gap:clamp(22px,4vw,57px);min-width:0}
.cx-section-head{display:flex;align-items:center;gap:18px;margin:0 0 17px;min-width:0}
.cx-section-head h2{font-size:clamp(20px,2vw,25px);letter-spacing:-.045em;line-height:1.12;margin:0;white-space:normal}
.cx-head-line{height:1px;flex:1;background:var(--cp-edge)}
.cx-offer-visual{background:#0c4b33 url('/assets/atlas-cow.webp') 94% center/auto 120% no-repeat;min-height:295px;border-radius:21px;overflow:hidden;display:flex;align-items:center;position:relative;isolation:isolate}
.cx-offer-visual:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,54,35,.98) 0%,rgba(5,58,36,.94) 40%,rgba(7,73,44,.15) 100%);z-index:-1}
.cx-offer-shade{padding:30px;position:relative;color:#fff;max-width:390px}
.cx-overline{font-size:10px;letter-spacing:.16em;color:#cce1a1;font-weight:800;margin:0 0 13px}
.cx-offer-shade h3{font-size:clamp(29px,3vw,42px);line-height:1.03;letter-spacing:-.05em;margin:0 0 12px;font-weight:800}
.cx-offer-shade>p:not(.cx-overline){color:#e7f0dd;font-size:14px;max-width:310px;margin:0 0 18px}
.cx-offer-cta{background:#f9f5df;color:#064a30;font-weight:800;font-size:13px;border-radius:22px;padding:11px 17px;display:inline-flex;align-items:center;gap:10px}
.cx-offer-cta .icon{width:16px;height:16px}
.cx-muted-note{font-size:12px;color:#dee8d8}
.cx-order-empty{min-height:295px;border:1px solid var(--cp-edge);border-radius:21px;padding:24px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(226,237,212,.37))}
.cx-order-icon{display:grid;place-items:center;width:53px;height:53px;background:#e2ecdc;border-radius:16px;color:#135b39}
.cx-order-icon .icon{width:26px;height:26px}
.cx-order-empty h3{font-size:21px;letter-spacing:-.035em;margin:16px 0 6px}
.cx-order-empty p{font-size:13px;color:#61756a;margin:0 0 14px;line-height:1.6}
.cx-soft-label{display:inline-block;background:#dfeade;color:#295e46;border-radius:18px;padding:6px 9px;font-size:10px;font-weight:700}
.cx-new-products{border-top:1px solid var(--cp-edge);padding-top:22px}
.cx-simple-row{display:flex;align-items:center;gap:15px;min-width:0;background:rgba(255,255,252,.5);border-bottom:1px solid var(--cp-edge);padding:18px 8px;min-height:89px}
.cx-line-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:#e8eee1;color:#08663d}
.cx-simple-row strong{font-size:15px;display:block}
.cx-simple-row small{font-size:12px;color:#668073;display:block;line-height:1.5}
.cx-row-action{margin-left:auto;color:#075b38}
.cx-dashboard-bottom{border-top:1px solid var(--cp-edge);padding-top:22px}
/* TEAM — dark sidebar, editorial summary and thin dividers */
.tx-dashboard{min-width:0;display:grid;gap:18px}
.tx-hero{border:1px solid var(--cp-edge);background:linear-gradient(90deg,#faf9f0,rgba(247,246,233,.45));min-height:154px;position:relative;isolation:isolate;overflow:hidden;border-radius:22px;padding:25px 29px}
.tx-hero-copy{position:relative;z-index:2}
.tx-hero h1{font-size:clamp(29px,3.1vw,48px);font-weight:800;letter-spacing:-.055em;line-height:1.1;margin:0 0 7px}
.tx-hero p:not(.tx-eyebrow){margin:0;font-size:14px;color:#62786c}
.tx-hero-photo{position:absolute;inset:0 0 0 52%;background:linear-gradient(90deg,#faf9f0 0%,transparent 53%),url('/assets/atlas-landscape.webp') center/cover no-repeat;opacity:.9;z-index:1}
.tx-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--cp-edge);border-radius:20px;overflow:hidden;background:rgba(255,255,254,.7)}
.tx-stat{display:flex;align-items:center;gap:11px;padding:21px 15px;min-width:0}
.tx-stat+.tx-stat{border-left:1px solid var(--cp-edge)}
.tx-stat-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;background:#e7eedf;border-radius:14px;color:#065d39}
.tx-stat-icon .icon{width:22px;height:22px}
.tx-stat-main{display:grid;gap:1px;min-width:0}
.tx-stat-main strong{font-size:28px;line-height:1.2;font-weight:800;letter-spacing:-.05em}
.tx-stat-main span{font-size:11px;color:#52715f}
.tx-stat-link{margin-left:auto;color:#27694e}
.tx-stat-link .icon{width:14px;height:14px}
.tx-stat-notready{color:#8ba99a}
.tx-main-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:16px;min-width:0}
.tx-secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}
.tx-pane{background:rgba(255,255,252,.76);border:1px solid var(--cp-edge);border-radius:20px;min-width:0;padding:20px 22px;box-shadow:0 8px 28px rgba(19,69,45,.025)}
.tx-pane header{display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--cp-edge);padding-bottom:13px;margin-bottom:17px}
.tx-pane header h2{font-size:17px;line-height:1.2;letter-spacing:-.035em;margin:0}
.tx-view{white-space:nowrap;display:flex;gap:6px;align-items:center;font-size:11px;color:#08643e;font-weight:700}
.tx-view .icon{width:13px;height:13px}
.tx-today{color:#6c8075;font-size:11px;white-space:nowrap}
.tx-empty{min-height:160px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px}
.tx-empty>span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#ebf1e6;color:#0d6341}
.tx-empty>span .icon{width:20px;height:20px}
.tx-empty strong{font-size:15px}
.tx-empty p{font-size:12px;color:#62786c;margin:0;line-height:1.55}
.tx-empty.tx-compact{min-height:198px}
.tx-promo-placeholder{min-height:198px;border-radius:16px;display:flex;align-items:center;padding:19px;color:#fff;background:linear-gradient(90deg,rgba(3,67,42,.98),rgba(4,65,42,.8),rgba(6,64,44,.15)),url('/assets/atlas-poultry.webp') right center/auto 110% no-repeat,#07442d}
.tx-promo-placeholder>div{max-width:260px}
.tx-promo-placeholder .tx-eyebrow{color:#d5e9a7;margin-bottom:7px;font-size:9px}
.tx-promo-placeholder h3{font-size:23px;line-height:1.1;letter-spacing:-.045em;margin:0 0 9px}
.tx-promo-placeholder p:not(.tx-eyebrow){font-size:11px;line-height:1.55;color:#e1eddb;margin:0}
.tx-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;padding:13px 0 0;border-top:1px solid var(--cp-edge)}
.tx-actions-label{font-size:12px;color:#567364;font-weight:800;margin-right:5px}
.tx-actions a,.tx-actions .tx-action-muted{display:inline-flex;gap:8px;align-items:center;padding:10px 12px;border:1px solid var(--cp-edge);border-radius:20px;background:rgba(255,255,252,.65);font-size:12px;font-weight:650}
.tx-actions .icon{width:16px;height:16px;color:#0b6942}
.tx-actions .tx-action-muted{opacity:.55}
/* Responsiveness */
@media(max-width:1180px){.cx-dashboard-split{grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:18px}.cx-shortcut{padding:12px 9px;gap:8px}.cx-short-icon{width:42px;flex-basis:42px;height:42px}.cx-short-text strong{font-size:14px}.tx-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-stat:nth-child(3){border-left:0;border-top:1px solid var(--cp-edge)}.tx-stat:nth-child(4){border-top:1px solid var(--cp-edge)}.tx-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-secondary-grid>:last-child{grid-column:1/-1}}
@media(max-width:920px){body.cp-team .app-wrap{grid-template-columns:188px minmax(0,1fr)}body.cp-team .desktop-nav{padding-left:8px;padding-right:8px}.tx-main-grid{grid-template-columns:1fr}.cx-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-shortcut:nth-child(3):before{display:none}.cx-shortcut:nth-child(n+3){border-top:1px solid var(--cp-edge)}.cx-dashboard-split{grid-template-columns:1fr}.cx-offer-visual{min-height:270px}.cx-order-empty{min-height:210px}}
@media(max-width:700px){
body.cp-client .app-wrap,body.cp-team .app-wrap{display:block;min-height:100dvh;padding-bottom:calc(90px + var(--safe))}
body.cp-client .app-head,body.cp-team .app-head{height:76px;padding:9px 18px;background:rgba(255,255,251,.83);border-bottom:1px solid var(--cp-edge)}
body.cp-client .app-head .brand img,body.cp-team .app-head .brand img{width:151px;height:57px}
body.cp-client .app-pill,body.cp-team .app-pill{font-size:8px;padding:6px 8px;letter-spacing:.07em}
body.cp-client .desktop-nav,body.cp-team .desktop-nav{display:none}
body.cp-client .app-main,body.cp-team .app-main{max-width:none;padding:17px 16px 36px}
body.cp-client .bottom-nav,body.cp-team .bottom-nav{display:flex;position:fixed;bottom:calc(9px + var(--safe));left:11px;right:11px;align-items:center;justify-content:space-around;padding:9px 5px 7px;gap:1px;background:rgba(253,254,247,.96);border-radius:23px;border:1px solid rgba(255,255,255,.9);box-shadow:0 9px 32px rgba(22,64,45,.16);z-index:90}
body.cp-client .bottom-nav .nav-link,body.cp-team .bottom-nav .nav-link{flex:1;width:0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;padding:6px 1px;line-height:1.2;white-space:normal;text-align:center}
body.cp-client .bottom-nav .nav-link .icon,body.cp-team .bottom-nav .nav-link .icon{width:22px;height:22px}
body.cp-client .bottom-nav .nav-link.active,body.cp-team .bottom-nav .nav-link.active{background:#e2eddf;color:#095f39}
body.cp-client .nav-disabled,body.cp-team .nav-disabled{color:#a0ada2!important;cursor:default;opacity:.68}
body.cp-client .mobile-drawer,body.cp-team .mobile-drawer{bottom:calc(91px + var(--safe))}
.cx-dashboard{gap:19px}.cx-hero{min-height:150px;padding:19px 0}.cx-hero h1{font-size:clamp(33px,8vw,43px)}.cx-hero p:not(.cx-eyebrow){font-size:13px;max-width:260px}.cx-eyebrow{font-size:9px}.cx-hero-visual{inset:0 -20px 0 41%;opacity:.45}
.cx-shortcuts{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}.cx-shortcut{display:flex;flex-direction:column;align-items:center;min-height:98px;padding:12px 2px;text-align:center;gap:5px}.cx-shortcut+.cx-shortcut:before{top:15px;bottom:15px}.cx-shortcut:nth-child(3):before{display:block}.cx-shortcut:nth-child(n+3){border-top:0}.cx-short-icon{width:45px;height:45px;flex:0 0 45px;border-radius:16px}.cx-short-icon .icon{width:24px;height:24px}.cx-short-text strong{font-size:11px;line-height:1.25}.cx-short-text small,.cx-short-arrow{display:none}
.cx-section-head h2{font-size:20px}.cx-dashboard-split{grid-template-columns:1fr;gap:23px}.cx-offer-visual{min-height:260px;background-size:auto 100%}.cx-offer-shade{padding:22px;max-width:82%}.cx-offer-shade h3{font-size:30px}.cx-order-empty{min-height:195px}.cx-dashboard-bottom{gap:19px}
.tx-dashboard{gap:13px}.tx-hero{padding:21px;min-height:139px}.tx-hero h1{font-size:30px}.tx-hero-photo{left:38%;opacity:.5}.tx-eyebrow{font-size:9px}.tx-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-stat{padding:12px 9px;gap:8px}.tx-stat-icon{flex:0 0 36px;height:36px}.tx-stat-icon .icon{width:19px;height:19px}.tx-stat-main strong{font-size:23px}.tx-stat-main span{font-size:10px}.tx-stat-link{display:none}.tx-main-grid,.tx-secondary-grid{grid-template-columns:1fr;gap:12px}.tx-secondary-grid>:last-child{grid-column:auto}.tx-pane{padding:18px;border-radius:18px}.tx-empty{min-height:120px}.tx-empty.tx-compact{min-height:115px}.tx-promo-placeholder{min-height:184px}.tx-actions{padding-bottom:10px}
}
@media(max-width:360px){body.cp-client .app-main,body.cp-team .app-main{padding:14px 11px 26px}.cx-hero h1{font-size:31px}.cx-short-icon{width:40px;height:40px;flex-basis:40px}.cx-short-text strong{font-size:10px}.cx-offer-shade{max-width:91%}.tx-stat-main strong{font-size:21px}.tx-stat-main span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.cx-shortcut{transition:none}}
