/* APFEL_AI_CUSTOMER_CSS_V1 — strictly scoped: customer AI views only */
#viewRoot .ap-ai-customer{direction:rtl;max-width:1120px;margin:0 auto;padding-bottom:36px;color:#1b3657}
#viewRoot .ap-ai-customer *{box-sizing:border-box;min-width:0}
#viewRoot .ap-ai-customer-hero{position:relative;overflow:hidden;padding:clamp(22px,5vw,37px);border:1px solid #2e6fba;border-radius:22px;background:linear-gradient(120deg,#153659,#2361ae 65%,#11648e);color:white;box-shadow:0 12px 28px rgba(21,56,101,.14);margin-bottom:16px}
#viewRoot .ap-ai-customer-hero:after{content:'✦';position:absolute;left:22px;top:15px;font-size:75px;color:#b4f2fa;opacity:.2;pointer-events:none}
#viewRoot .ap-ai-customer-hero>span{display:block;font-size:12px;color:#9bdfff;letter-spacing:.08em;direction:ltr;text-align:right}
#viewRoot .ap-ai-customer-hero h1{color:#fff!important;font-size:clamp(21px,4vw,32px);line-height:1.6;margin:13px 0 6px;font-weight:900}
#viewRoot .ap-ai-customer-hero p{color:#e2efff!important;line-height:2;font-size:13px;max-width:750px;margin:0 0 20px}
#viewRoot .ap-ai-customer button{border-radius:12px;min-height:47px;font-size:13px;font-weight:800;cursor:pointer;transition:filter .15s ease,box-shadow .15s ease}
#viewRoot .ap-ai-customer button:hover{filter:brightness(1.035)}
#viewRoot .ap-ai-customer button:disabled{opacity:.65;cursor:wait}
#viewRoot .ap-ai-customer button:focus-visible{outline:3px solid #81b7ff;outline-offset:3px}
#viewRoot .ap-ai-customer .primary-button{background:#2264ce!important;color:#fff!important;border:1px solid #2264ce!important;box-shadow:0 4px 11px rgba(25,75,151,.12)}
#viewRoot .ap-ai-customer .secondary-button{background:#ecf3fd!important;color:#2155a0!important;border:1px solid #c6d9f3!important;box-shadow:none}
#viewRoot .ap-ai-customer-white{min-width:185px;padding:0 16px;border:1px solid rgba(255,255,255,.3)!important;background:#fff!important;color:#174779!important;font-weight:900!important}
#viewRoot .ap-ai-customer-note{padding:14px 17px;border-radius:15px;border:1px solid #b7e2d4;background:#effaf4;color:#17634b;font-size:13px;line-height:2;margin-bottom:17px}
#viewRoot .ap-ai-customer-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}
#viewRoot .ap-ai-customer-product,#viewRoot .ap-ai-customer-panel{background:#fff!important;border:1px solid #d8e5f4!important;border-radius:19px;padding:20px!important;box-shadow:0 6px 19px rgba(21,57,104,.05)!important}
#viewRoot .ap-ai-customer-product-head{display:flex;align-items:center;gap:11px;margin:0 0 14px;flex-wrap:wrap}
#viewRoot .ap-ai-customer-product h2{color:#1b3f66!important;line-height:1.7;font-size:17px;font-weight:900;margin:0;flex:1}
#viewRoot .ap-ai-customer-product p{color:#5d7694!important;line-height:1.8;font-size:13px}
#viewRoot .ap-ai-customer-symbol{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,#c7e9fb,#e9f1ff);color:#2265bd;font-size:27px}
#viewRoot .ap-ai-customer-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;margin:13px 0 8px;background:#f4f8ff;border:1px solid #e3edf9;border-radius:12px;flex-wrap:wrap}
#viewRoot .ap-ai-customer-option strong{display:block;color:#24466d!important;font-size:14px}
#viewRoot .ap-ai-customer-option small{display:block;color:#6c819a!important;font-size:11px;margin-top:5px}
#viewRoot .ap-ai-customer-option b{color:#2159a6;font-size:14px;white-space:nowrap}
#viewRoot .ap-ai-customer-product>button{display:block;width:100%;margin-top:9px}
#viewRoot .ap-ai-customer .page-title{padding:21px;border:1px solid #d5e3f3;border-radius:19px;background:linear-gradient(110deg,#fff,#f3f8ff);margin-bottom:17px}
#viewRoot .ap-ai-customer .page-title h1{color:#173e69!important;font-weight:900;font-size:23px}
#viewRoot .ap-ai-customer .page-title .muted{color:#5f7999!important}
#viewRoot .ap-ai-customer-panel{max-width:760px;margin:0 auto 15px}
#viewRoot .ap-ai-customer-panel h2{margin:17px 0 9px;color:#1c416c!important;font-size:17px}
#viewRoot .ap-ai-customer-panel p{line-height:1.9}
#viewRoot .ap-ai-customer-summary{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e5edf8;font-size:13px}
#viewRoot .ap-ai-customer-summary>span{color:#627b99!important}
#viewRoot .ap-ai-customer-summary>strong{color:#1c4e8a!important;font-size:15px;overflow-wrap:anywhere}
#viewRoot .ap-ai-customer-label{display:block;margin:17px 0 11px;color:#284767!important;font-size:13px;font-weight:800}
#viewRoot .ap-ai-customer-label input{display:block;width:100%;min-height:49px;font-size:16px!important;margin-top:10px;padding:11px 13px;border:1px solid #c9daef!important;border-radius:12px!important;color:#1b3658!important;background:#f9fbff!important}
#viewRoot .ap-ai-customer-hint{margin:6px 0 18px;color:#42715d;font-size:12px;line-height:1.9}
#viewRoot .ap-ai-customer-panel>.primary-button,#viewRoot .ap-ai-customer-panel>.secondary-button{width:100%;margin:8px 0}
#viewRoot .ap-ai-customer-card-number{margin:18px auto 10px;text-align:center;letter-spacing:1.2px;font-variant-numeric:tabular-nums;padding:18px 8px;font-size:clamp(20px,4vw,29px);font-weight:900;border-radius:14px;border:1px dashed #92b8e5;background:#f0f6ff;color:#1757a8;overflow-wrap:anywhere}
#viewRoot .ap-ai-customer-card-detail{text-align:center;color:#466689!important;font-size:13px;margin-bottom:14px}
#viewRoot .ap-ai-customer-copy-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#viewRoot .ap-ai-customer-copy-row button{width:100%}
#viewRoot .ap-ai-customer-divider{height:1px;background:#dfebf5;margin:22px 0}
#viewRoot .ap-ai-customer-preview{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:13px;margin:10px 0 17px;border:1px solid #dce7f5;background:#f5faff}
#viewRoot .ap-ai-customer-preview.hidden{display:none!important}
#viewRoot .ap-ai-customer-orderid{font-size:11px;color:#8192a7;text-align:center;overflow-wrap:anywhere;margin-top:13px}
#viewRoot .ap-ai-customer-new{width:100%;max-width:280px;margin:0 0 18px}
#viewRoot .ap-ai-customer-status{border:1px solid #d5e4fa;border-radius:30px;color:#2b6bb0;background:#eff6ff;padding:6px 11px;font-size:11px;font-weight:800}
#viewRoot .ap-ai-customer-status.success{color:#176948;background:#eaf9f0;border-color:#c6e8d5}
#viewRoot .ap-ai-customer-status.danger{color:#a93e54;background:#fff1f3;border-color:#efccd5}
#viewRoot .ap-ai-customer-cancel{color:#a83d53!important;background:#fff3f5!important;border-color:#eccdd6!important}
@media(max-width:720px){#viewRoot .ap-ai-customer-products{grid-template-columns:1fr}#viewRoot .ap-ai-customer-product,#viewRoot .ap-ai-customer-panel{padding:16px!important}#viewRoot .ap-ai-customer-hero{padding:20px}#viewRoot .ap-ai-customer-copy-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#viewRoot .ap-ai-customer button{transition:none}}
