/* PANITAS CRM V46 – premium functional intelligence, not a marketing mock-up. */
.v46-workspace{max-width:1280px;margin:0 auto;display:flex;flex-direction:column;gap:20px;font-family:Lato,Arial,sans-serif}
.v46-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:center;padding:32px;border:1px solid #272927;background:linear-gradient(122deg,#171b1b 0%,#272c2b 62%,#101312 100%);color:#fff;border-radius:18px;position:relative;overflow:hidden;box-shadow:0 14px 35px rgba(20,23,23,.09)}
.v46-hero:after{content:"";position:absolute;right:-80px;bottom:-140px;width:250px;height:250px;border:55px solid rgba(243,47,51,.07);border-radius:50%;pointer-events:none}
.v46-eyebrow{font-size:10px;letter-spacing:.18em;font-weight:850;color:#ff8b8b}
.v46-eyebrow.dark{color:#a91e25}
.v46-hero h1{font:750 clamp(23px,3.2vw,36px)/1.18 Montserrat,Lato,Arial,sans-serif;letter-spacing:-.05em;color:#fff;margin:12px 0}
.v46-hero h1 em{font-style:normal;color:#ff9d9b}
.v46-hero p{max-width:670px;color:#d5dbd7;font-size:13px;line-height:1.7;margin:0 0 22px}
.v46-hero-actions{display:flex;gap:9px;flex-wrap:wrap}
.v46-primary,.v46-outline,.v46-action-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;border-radius:10px;font-size:12px;font-weight:800;min-height:43px;padding:10px 15px}
.v46-primary{background:#eb1b26;border:1px solid #eb1b26;color:#fff}
.v46-primary:hover{background:#c40d19}
.v46-outline{background:transparent;color:#fff;border:1px solid #6b7770}
.v46-outline:hover{background:rgba(255,255,255,.08)}
.v46-hero-side{border-radius:14px;background:#fff1;border:1px solid #ffffff30;padding:20px;position:relative;z-index:1}
.v46-hero-side span,.v46-hero-side small{display:block;color:#c8d4cb;font-size:11px;line-height:1.5}
.v46-hero-side strong{display:block;color:#fff;font:800 52px/1.3 Montserrat,Lato,sans-serif;letter-spacing:-.07em}
.v46-work-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-top:7px;flex-wrap:wrap}
.v46-work-head h2{font:800 22px Montserrat,Lato,sans-serif;margin:7px 0}
.v46-work-head p{font-size:12px;color:#68736c;margin:0;line-height:1.5}
.v46-chooser{display:flex;gap:8px;flex-wrap:wrap}
.v46-chooser label{display:flex;flex-direction:column;gap:5px;color:#758078;font-size:10px;font-weight:800}
.v46-chooser select{border:1px solid #dde3dd;border-radius:9px;padding:9px 12px;background:#fff;font-size:13px;min-height:41px;color:#202925}
.v46-action-list{display:flex;flex-direction:column;gap:9px}
.v46-action{display:flex;align-items:center;gap:16px;background:#fff;border-radius:13px;padding:17px 20px;border:1px solid #e5e9e5;min-width:0;box-shadow:0 3px 12px #11111108}
.v46-action:hover{border-color:#cfd9d1}
.v46-rank{width:36px;height:36px;display:grid;place-items:center;flex:none;background:#eff3ef;border-radius:12px;font-weight:900;color:#3b4941}
.v46-action-details{min-width:0;flex:1}
.v46-action-meta{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.v46-tag{display:inline-block;border-radius:6px;padding:4px 7px;background:#fff0f0;color:#9d1921;font-size:10px;font-weight:850}
.v46-tag.muted{background:#f0f3f1;color:#68756b}
.v46-action h3{font:850 15px Montserrat,Lato,sans-serif;margin:2px 0 5px}
.v46-action strong{font-size:12px;color:#1b2620}
.v46-action p{color:#637068;margin:5px 0;line-height:1.6;font-size:12px}
.v46-action small{font-size:11px;color:#a42731}
.v46-action-open{color:#a9141e;background:#fff6f6;border:1px solid #ffd5d5;flex:none}
.v46-action-open:hover{background:#ffe7e7}
.v46-empty{padding:35px 20px;background:#fff;border:1px dashed #d7ded8;border-radius:14px;text-align:center;color:#68756d;font-size:13px;line-height:1.7}
.v46-empty h3{font-size:17px;margin:10px 0;color:#25312a}
.v46-empty p{max-width:480px;margin:0 auto}
.v46-empty-symbol{display:inline-flex;align-items:center;justify-content:center;color:#328252;background:#e8f4eb;width:44px;height:44px;border-radius:13px}
.v46-footer{display:flex;flex-wrap:wrap;gap:12px;color:#718077;font-size:11px;margin-bottom:12px}
.v46-footer>div{display:flex;align-items:center;gap:8px}
.v46-error{color:#a8242e;background:#fff0f0;border:1px solid #fbd4d4;border-radius:9px;padding:11px 13px;margin:9px 0;font-size:12px}
.v46-chat-btn{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#1a2520;color:white;border:0;padding:8px 10px;border-radius:9px;min-height:36px;font-size:11px;font-weight:850}
.v46-chat-btn:hover{background:#303e35}
#v46-copilot{position:fixed;inset:0;z-index:11000}
.v46-panel-mask{position:absolute;inset:0;background:#121b1988}
.v46-panel{position:absolute;right:0;top:0;bottom:0;width:min(440px,100vw);background:#f7f8f7;box-shadow:-20px 0 80px #0003;display:flex;flex-direction:column;outline:0}
.v46-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 22px 18px;background:white;border-bottom:1px solid #e5e9e6}
.v46-panel-header h2{font-size:20px;font-family:Montserrat,Lato,sans-serif;margin:7px 0 0;display:flex;align-items:center;gap:8px}
.v46-close{width:40px;height:40px;display:grid;place-items:center;background:#f0f2f0;border:0;border-radius:12px;cursor:pointer}
.v46-panel-body{padding:17px;display:flex;flex-direction:column;gap:12px;overflow-y:auto}
.v46-small-card{background:#fff;padding:16px;border:1px solid #e3e8e4;border-radius:14px;display:flex;flex-direction:column;gap:11px;box-shadow:0 2px 9px #00000005}
.v46-small-card h3{font-size:15px;margin:0;color:#202d23}
.v46-small-card p{margin:0;color:#66756c;line-height:1.65;font-size:12px}
.v46-small-card strong{font-size:12px}
.v46-flex{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.v46-small-card blockquote{margin:0;padding:13px 15px;background:#f5f7f4;border-left:3px solid #e71924;color:#1f3026;border-radius:0 9px 9px 0;font-size:13px;line-height:1.65;white-space:pre-wrap}
.v46-small-card blockquote.v46-draft{border-left-color:#5d8270}
.v46-small-card button{align-self:start;min-height:41px}
.v46-small-card button:disabled{opacity:.45;cursor:not-allowed}
.v46-small-card .v46-outline.dark{background:white;color:#1b2920;border:1px solid #d7e2d9}
.v46-small-card small{color:#69776d;font-size:11px}
.v46-disclaimer{display:flex;gap:10px;color:#66766a;font-size:11px;line-height:1.65;padding:9px}
.v46-disclaimer svg{flex:none}
@media(max-width:760px){
 .v46-workspace{gap:14px}
 .v46-hero{grid-template-columns:1fr;gap:14px;padding:24px 17px;border-radius:13px}
 .v46-hero h1{font-size:25px}
 .v46-hero p{font-size:12px}
 .v46-hero-side{padding:11px 14px;display:flex;align-items:center;gap:12px}
 .v46-hero-side strong{font-size:31px}
 .v46-hero-side small{font-size:10px;max-width:155px}
 .v46-chooser{width:100%}
 .v46-chooser label{flex:1;min-width:120px}
 .v46-chooser select{width:100%;font-size:14px}
 .v46-action{padding:12px;gap:9px;align-items:start}
 .v46-action-open{font-size:0;width:41px;min-width:41px;padding:0;align-self:center}
 .v46-action-open svg{width:18px;height:18px}
 .v46-rank{width:29px;height:29px;border-radius:9px;font-size:12px}
 .v46-panel{top:auto;bottom:0;left:0;right:0;height:92dvh;width:100vw;border-radius:18px 18px 0 0}
 .v46-panel-header{padding:17px}
 .v46-panel-body{padding:13px 13px calc(18px + env(safe-area-inset-bottom))}
 .v46-chat-btn{min-height:40px}
 .v46-chat-btn span{display:none}
}

/* V50 ARM facts */
.v50-facts{display:flex;flex-wrap:wrap;gap:6px}
.v50-fact{background:#f3f5f3;border:1px solid #e3e8e4;border-radius:9px;padding:5px 9px;font-size:12px;color:#26302a}
.v50-fact b{color:#66756c;font-weight:700;margin-right:3px}

/* V51 Shopify products */
.v51-product{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid #edf0ed;padding-top:9px}
.v51-product span{display:block;font-size:13px;font-weight:700;color:#202d23}
.v51-product small{display:block;font-size:12px;color:#66756c;margin-top:2px}
.v51-ok{color:#18794e}.v51-no{color:#b42318}
.v46-secondary{border:1px solid #d5dbd6;background:#fff;color:#202d23;border-radius:10px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.v46-secondary:hover{background:#f3f5f3}

.v46-shift{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 18px;padding:12px 16px;border-radius:14px;border:1px solid #e3e3e3;background:#fff;font-size:14px}
.v46-shift strong{font-weight:800;letter-spacing:.02em}
.v46-shift.open strong{color:#0b7a3b}
.v46-shift.closed{background:#111;border-color:#111;color:#fff}
.v46-shift.closed strong{color:#ff4b4b}
