.customer-portal{color:#3d2c2e;--navy:#3d2c2e;--teal:#c97c5d;--teal-hover:#b56748;--accent:#f2d0a9;--soft:#f2d0a9;--danger:#8c1c13;--line:#e8d3c5;--muted:#6e5a5c;--shadow:0 1px 3px #3d2c2e0d, 0 6px 22px #3d2c2e0a;background:#fff1e6;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.customer-portal *{box-sizing:border-box}.customer-portal{scroll-behavior:smooth;background:#fff1e6;min-height:100vh;margin:0}.customer-portal button,.customer-portal input,.customer-portal textarea,.customer-portal select{font:inherit}.customer-portal button{cursor:pointer;min-height:44px}.customer-portal a,.customer-portal button,.customer-portal input,.customer-portal textarea,.customer-portal select{-webkit-tap-highlight-color:transparent}.customer-portal button:focus-visible,.customer-portal input:focus-visible,.customer-portal textarea:focus-visible,.customer-portal select:focus-visible,.customer-portal a:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.customer-portal .portal-header{background:var(--navy);color:#fff;z-index:5;align-items:center;gap:18px;min-height:68px;padding:12px clamp(16px,3vw,36px);display:flex;position:relative;box-shadow:0 2px 10px #3d2c2e2e}.customer-portal .brand{white-space:nowrap;letter-spacing:-.035em;align-items:center;gap:11px;font-size:1.24rem;font-weight:800;display:inline-flex}.customer-portal .shield{color:#fff;background:linear-gradient(140deg,#c97c5d,#8c1c13);border-radius:10px;place-items:center;width:38px;height:38px;font-size:1.38rem;line-height:1;display:inline-grid;transform:none;box-shadow:0 3px 12px #8c1c1359}.customer-portal .demo{color:#f2d0a9;letter-spacing:.065em;text-align:center;background:#c97c5d33;border:1px solid #f2d0a966;border-radius:30px;margin-inline:auto;padding:5px 12px;font-size:.71rem;font-weight:750}.customer-portal .portal-header button{color:#fff;background:#fffbf71a;border:1px solid #fffbf740;border-radius:24px;padding:8px 17px;font-size:.86rem;font-weight:700;transition:background .2s,transform .2s}.customer-portal .portal-header button:hover{background:#fffbf733;transform:translateY(-1px)}.customer-portal .layout{grid-template-columns:260px minmax(0,1fr);align-items:start;max-width:1640px;margin:0 auto;display:grid}.customer-portal .portal-nav{border-inline-end:1px solid var(--line);background:#fffdfb;min-height:calc(100vh - 68px);padding:27px 15px;position:sticky;top:0;box-shadow:2px 0 10px #3d2c2e04}.customer-portal .portal-nav:before{content:"MAIN NAVIGATION";color:var(--muted);letter-spacing:.12em;margin:2px 0 13px;padding:0 14px;font-size:.69rem;font-weight:800;display:block}.customer-portal .portal-nav a{text-align:start;color:#524042;background:0 0;border:0;border-radius:11px;align-items:center;gap:12px;width:100%;margin:0 0 5px;padding:12px 13px;font-size:.91rem;font-weight:680;transition:background .18s,color .18s,transform .18s;display:flex}.customer-portal .portal-nav a:before{content:"◈";text-align:center;opacity:.9;flex:0 0 21px;width:21px;font-size:1.1rem}.customer-portal .portal-nav a[data-go=dashboard]:before{content:"▦"}.customer-portal .portal-nav a[data-go=qrs]:before{content:"▥"}.customer-portal .portal-nav a[data-go=store]:before{content:"▤"}.customer-portal .portal-nav a[data-go=cart]:before{content:"◧"}.customer-portal .portal-nav a[data-go=orders]:before{content:"▧"}.customer-portal .portal-nav a[data-go=inbox]:before{content:"✉"}.customer-portal .portal-nav a[data-go=addresses]:before{content:"⌖"}.customer-portal .portal-nav a[data-go=account]:before{content:"⚙"}.customer-portal .portal-nav a:hover{color:var(--teal);background:#fdf1e7;transform:translate(2px)}.customer-portal .portal-nav a.active{background:var(--teal);color:#fff;box-shadow:0 4px 12px #c97c5d4d}.customer-portal .portal-nav a.active:hover{background:var(--teal-hover);transform:none}.customer-portal .portal-main{width:100%;min-width:0;max-width:1220px;margin:0 auto;padding:36px clamp(18px,3vw,40px) 72px}.customer-portal h1{color:var(--navy);letter-spacing:-.038em;margin:0 0 8px;font-size:clamp(1.55rem,2.6vw,2rem);font-weight:800;line-height:1.2}.customer-portal h2{color:var(--navy);letter-spacing:-.015em;margin:0 0 16px;font-size:1.17rem}.customer-portal h3{color:var(--navy);margin:0 0 12px;font-size:1.04rem}.customer-portal p{line-height:1.6}.customer-portal .muted,.customer-portal small{color:var(--muted)}.customer-portal .lead{color:var(--muted);margin:0 0 27px;font-size:.93rem}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list){grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list).three{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-portal :is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card){overflow-wrap:anywhere;border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);background:#fffdfb;border-radius:14px;margin-bottom:20px;padding:24px;transition:box-shadow .18s,transform .18s;position:relative}.customer-portal :is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card):hover{box-shadow:0 5px 17px #3d2c2e14}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list).three>:is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card){border-top:3px solid var(--navy);min-height:142px}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list).three>:is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card):nth-child(2){border-top-color:var(--teal)}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list).three>:is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card):nth-child(3){border-top-color:var(--danger)}.customer-portal .stat{letter-spacing:-.04em;color:var(--teal);margin-bottom:7px;font-size:2.18rem;font-weight:820;line-height:1.15}.customer-portal .actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:17px;display:flex}.customer-portal :is(.btn,.button,button){border:1px solid var(--teal);background:var(--teal);color:#fff;border-radius:9px;justify-content:center;align-items:center;min-height:44px;padding:10px 17px;font-size:.9rem;font-weight:720;line-height:1.35;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:inline-flex;box-shadow:0 2px 5px #c97c5d33}.customer-portal :is(.btn,.button,button):hover{background:var(--teal-hover);border-color:var(--teal-hover);transform:translateY(-1px);box-shadow:0 4px 12px #c97c5d52}.customer-portal :is(.btn,.button,button).secondary{color:var(--navy);border-color:var(--line);box-shadow:none;background:#fffdfb}.customer-portal :is(.btn,.button,button).secondary:hover{color:var(--teal);border-color:var(--teal);background:#fdf1e7}.customer-portal :is(.btn,.button,button).danger{color:var(--danger);box-shadow:none;background:#fffdfb;border-color:#f0c4c1}.customer-portal :is(.btn,.button,button).danger:hover{color:#fff;background:var(--danger);border-color:var(--danger)}.customer-portal :is(.btn,.button,button):disabled{opacity:.53;cursor:not-allowed;box-shadow:none;transform:none}.customer-portal .pill{color:var(--teal);background:#fdf0e6;border-radius:40px;margin:3px 5px 3px 0;padding:5px 11px;font-size:.77rem;font-weight:740;line-height:1.35;display:inline-flex}.customer-portal .pill.warn{color:var(--danger);background:#fce8e6}.customer-portal .pill.off{color:var(--muted);background:#efe4dc}.customer-portal :is(.field,label){color:var(--navy);margin:0 0 17px;font-size:.91rem;font-weight:700;display:block}.customer-portal :is(.field,label) input,.customer-portal :is(.field,label) select,.customer-portal :is(.field,label) textarea{border:1px solid var(--line);width:100%;min-height:46px;color:var(--navy);background:#fffdfb;border-radius:9px;margin-top:8px;padding:11px 13px;font-weight:450;transition:border .16s,box-shadow .16s;display:block}.customer-portal :is(.field,label) input:hover,.customer-portal :is(.field,label) select:hover,.customer-portal :is(.field,label) textarea:hover{border-color:var(--teal)}.customer-portal :is(.field,label) input:focus,.customer-portal :is(.field,label) select:focus,.customer-portal :is(.field,label) textarea:focus{border-color:var(--teal);outline:none;box-shadow:0 0 0 3px #c97c5d33}.customer-portal :is(.field,label) textarea{resize:vertical;min-height:100px}.customer-portal :is(.field,label) input[readonly],.customer-portal :is(.field,label) input:disabled{color:var(--muted);background:#f9efe7}.customer-portal .check{align-items:flex-start;gap:11px;margin:13px 0;padding:3px 0;font-size:.91rem;line-height:1.5;display:flex}.customer-portal .check input{width:20px;height:20px;accent-color:var(--teal);flex-shrink:0}.customer-portal .hint{color:var(--muted);margin-top:5px;font-size:.81rem;font-weight:450;display:block}.customer-portal .line{border-top:1px solid var(--line);margin:19px 0}.customer-portal .overlay{z-index:20;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#3d2c2ea6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.customer-portal .overlay[hidden]{display:none}.customer-portal .dialog{background:#fffdfb;border-radius:17px;width:min(100%,640px);max-height:90dvh;padding:26px;overflow-y:auto;box-shadow:0 20px 65px #3d2c2e47}.customer-portal .dialoghead{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-bottom:21px;padding-bottom:15px;display:flex}.customer-portal .dialoghead h2{margin:0}.customer-portal .dialoghead button{width:38px;height:38px;color:var(--navy);background:#fdf0e6;border:0;border-radius:50%;font-size:1.25rem}.customer-portal .dialoghead button:hover{background:#f8e0ce}.customer-portal .row{justify-content:space-between;align-items:center;gap:14px;display:flex}.customer-portal .empty{border:1px dashed var(--line);color:var(--muted);background:#fffdfb;border-radius:12px;padding:23px}.customer-portal .alert{border-inline-start:4px solid var(--danger);color:var(--danger);background:#fdf0ee;border-radius:9px;margin:15px 0;padding:15px 18px}.customer-portal .tablewrap{border:1px solid var(--line);border-radius:10px;overflow-x:auto}.customer-portal table{border-collapse:collapse;width:100%;min-width:580px;font-size:.89rem}.customer-portal th,.customer-portal td{border-bottom:1px solid var(--line);text-align:start;padding:14px 16px}.customer-portal th{color:var(--navy);background:#fdf0e6;font-weight:750}.customer-portal tr:last-child td{border-bottom:0}.customer-portal tbody tr:hover{background:#fff7f0}.customer-portal #notice{z-index:40;color:#fff;background:var(--navy);border-inline-start:4px solid var(--accent);border-radius:11px;max-width:min(90vw,450px);padding:14px 20px;font-size:.9rem;display:none;position:fixed;bottom:22px;right:22px;box-shadow:0 9px 28px #3d2c2e47}.customer-portal .sizes{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.customer-portal .summary{background:#fdf0e6;border:1px solid #f8d8c3;border-radius:11px;margin:16px 0;padding:17px}.customer-portal[dir=rtl] #notice{left:22px;right:auto}.customer-portal[dir=rtl] .portal-nav a:hover{transform:translate(-2px)}@media (max-width:1024px){.customer-portal .layout{grid-template-columns:216px minmax(0,1fr)}.customer-portal .portal-nav{padding:22px 10px}.customer-portal .portal-main{padding:28px 22px 65px}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list).three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){.customer-portal .portal-header{min-height:62px}.customer-portal .layout{display:block}.customer-portal .portal-nav{scrollbar-width:thin;z-index:4;border-inline-end:0;border-bottom:1px solid var(--line);gap:6px;min-height:0;padding:9px 12px;display:flex;position:sticky;top:0;overflow-x:auto;box-shadow:0 3px 8px #3d2c2e0b}.customer-portal .portal-nav:before{display:none}.customer-portal .portal-nav a{white-space:nowrap;flex:none;gap:7px;width:auto;min-height:44px;margin:0;padding:9px 13px}.customer-portal .portal-nav a:before{flex:auto;width:auto}.customer-portal .portal-main{padding:23px 18px 60px}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list){gap:14px}.customer-portal :is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card){margin-bottom:16px;padding:20px}}@media (max-width:520px){.customer-portal .portal-header{flex-wrap:wrap;gap:8px;padding:10px 15px}.customer-portal .brand{font-size:1.1rem}.customer-portal .shield{width:33px;height:33px}.customer-portal .demo{order:3;width:100%;margin:0;padding:4px 8px;font-size:.65rem}.customer-portal .portal-header button{margin-inline-start:auto}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list),.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list).three{grid-template-columns:1fr}.customer-portal :is(.grid,.qr-grid,.catalog-grid,.order-list).three>:is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card){min-height:104px}.customer-portal :is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card){padding:18px}.customer-portal .portal-main{padding:21px 14px 65px}.customer-portal .row{flex-wrap:wrap;align-items:flex-start}.customer-portal .actions :is(.btn,.button,button){flex:auto}.customer-portal .sizes{grid-template-columns:1fr}.customer-portal .dialog{max-height:94dvh;padding:18px}.customer-portal h1{font-size:1.57rem}}@media (max-width:360px){.customer-portal .portal-nav{padding:7px 8px}.customer-portal .portal-nav a{padding:8px 10px;font-size:.84rem}.customer-portal .brand{font-size:1rem}.customer-portal :is(.card,.qr-card,.pair-card,.product-card,.catalog-card,.qr-editor,.identity-card){padding:15px}}@media (prefers-reduced-motion:reduce){.customer-portal *,.customer-portal :before,.customer-portal :after{scroll-behavior:auto!important;transition:none!important}}.customer-portal{--ink:#3d2c2e;--paper:#fffdfb;--border:#e8d3c5;min-height:100vh;font-size:16px}.customer-portal a{text-decoration:none}.customer-portal .portal-nav a{min-height:44px}.customer-portal[dir=rtl] .portal-nav:before{content:"القائمة الرئيسية";letter-spacing:0}.customer-portal .portal-main>.container,.customer-portal .portal-main>main{width:100%;max-width:none;margin:0;padding:0}.customer-portal .portal-main>section>article{margin-top:20px}.customer-portal .portal-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.customer-portal .portal-main select,.customer-portal .portal-main textarea{max-width:100%}.customer-portal .portal-main label:has(input[type=checkbox]){align-items:flex-start;gap:11px;margin:13px 0;font-weight:450;display:flex}.customer-portal .portal-main input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--teal);flex-shrink:0;margin:2px 0}.customer-portal .portal-main fieldset{border:1px solid var(--line);border-radius:14px;min-width:0;margin:20px 0;padding:20px}.customer-portal .portal-main .qr-fieldset{border:0;margin:0;padding:0}.customer-portal .form-help{color:var(--muted)}.customer-portal .portal-main [role=alert]{border-inline-start:4px solid var(--danger);color:var(--danger);background:#fdf0ee;border-radius:9px;padding:15px 18px}.customer-portal .empty-state{border:1px dashed var(--line);background:#fffdfb;border-radius:12px;padding:23px}.customer-portal .customer-heading{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.customer-portal .portal-main button{margin:4px 4px 4px 0}.customer-portal .portal-header .brand{color:#fff}.customer-portal .portal-header form{margin:0}.customer-portal .portal-main .profile-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;display:grid}.customer-portal .portal-main .qr-grid,.customer-portal .portal-main .catalog-grid,.customer-portal .portal-main .order-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.customer-portal .portal-main img{max-width:100%}.customer-portal .portal-main dd{overflow-wrap:anywhere;margin-inline-start:0}.customer-portal .portal-main .dialog{border:1px solid var(--line);color:var(--navy)}.customer-portal .dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#3d2c2ea6}@media (max-width:768px){.customer-portal .portal-main .profile-grid{grid-template-columns:1fr}}@media (max-width:520px){.customer-portal .portal-main .qr-grid,.customer-portal .portal-main .catalog-grid,.customer-portal .portal-main .order-list{grid-template-columns:1fr}.customer-portal .portal-header .demo{order:3}}.customer-portal .dialog{margin:auto}.customer-portal .portal-main .catalog-card{background:#fffdfb}.customer-portal .portal-nav a{line-height:normal}
