.cap-profile-card{display:grid;grid-template-columns:minmax(0,1fr) 350px;overflow:hidden;background:linear-gradient(135deg,#fff 55%,#f0f7ff)}
.cap-profile-main{padding:28px}.cap-profile-brand{display:flex;align-items:center;gap:15px}.cap-profile-brand>img{width:78px;height:78px;box-sizing:border-box;padding:7px;border:1px solid #e2e8f0;border-radius:22px;background:#fff;object-fit:contain}.cap-profile-brand small,.cap-profile-brand h2,.cap-profile-brand b{display:block}.cap-profile-brand small{color:#ea580c;font-size:9px;font-weight:900}.cap-profile-brand h2{margin:3px 0;color:#0e2149;font-size:24px}.cap-profile-brand b{color:#64748b;font-size:10px}.cap-profile-main>p{margin:20px 0;color:#64748b;font-size:12px;line-height:2}
.cap-profile-details{display:grid;gap:8px;margin:0}.cap-profile-details>div{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:start;padding:10px 12px;border-radius:13px;background:#f8fafc}.cap-profile-details dt{display:flex;align-items:center;gap:5px;color:#475569;font-size:9px;font-weight:900}.cap-profile-details dt i{color:#2563eb;font-size:17px}.cap-profile-details dd{min-width:0;margin:0;color:#172554;font-size:10px;font-weight:700;overflow-wrap:anywhere}.cap-profile-details a{color:inherit}
.cap-profile-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.cap-profile-links a{display:flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #e2e8f0;border-radius:11px;background:#fff;color:#334155;font-size:9px;font-weight:900}.cap-profile-links a.is-whatsapp{border-color:#bbf7d0;background:#ecfdf5;color:#047857}.cap-profile-links i{font-size:16px}
.cap-profile-qr-content{margin-top:18px;overflow:hidden;border:1px solid #dfe7ef;border-radius:16px;background:#f8fafc}.cap-profile-qr-content header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #e5ebf1;background:#fff}.cap-profile-qr-content header>span,.cap-profile-qr-content button{display:flex;align-items:center;gap:6px}.cap-profile-qr-content header>span{color:#263e5c;font-size:10px;font-weight:900}.cap-profile-qr-content header i{color:#2563eb;font-size:18px}.cap-profile-qr-content button{padding:7px 9px;border:1px solid #dbe4ec;border-radius:9px;background:#fff;color:#475569;font-family:inherit;font-size:9px;cursor:pointer}.cap-profile-qr-content pre{max-height:260px;margin:0;padding:14px;overflow:auto;color:#42526a;font:700 10px/2 "Cairo",sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;text-align:right;direction:rtl}
.cap-profile-qr{display:grid;align-content:center;justify-items:center;padding:26px;border-right:1px dashed #cbd5e1;background:#ffffffa6;text-align:center}.cap-profile-qr>div{display:grid;width:300px;height:300px;place-items:center;padding:14px;border:1px solid #e2e8f0;border-radius:25px;background:#fff;box-shadow:0 16px 40px #15345a14}.cap-profile-qr img{display:block;width:100%;height:100%}.cap-profile-qr strong{margin-top:13px;font-size:13px}.cap-profile-qr>small{margin-top:4px;color:#94a3b8;font-size:9px}.cap-profile-qr nav{display:flex;gap:7px;margin-top:14px}.cap-profile-qr nav a,.cap-profile-qr nav button{display:flex;align-items:center;gap:5px;padding:9px 11px;border:1px solid #dbe3ed;border-radius:11px;background:#fff;color:#334155;font:800 9px inherit;cursor:pointer}.cap-profile-qr nav a{border-color:#ff6508;background:#ff6508;color:#fff}.cap-profile-qr nav i{font-size:16px}
@media(max-width:700px){.cap-profile-card{grid-template-columns:1fr}.cap-profile-main{padding:18px}.cap-profile-qr{border-top:1px dashed #cbd5e1;border-right:0}.cap-profile-details>div{grid-template-columns:95px minmax(0,1fr)}.cap-profile-qr-content pre{max-height:220px;font-size:9px}.cap-profile-qr-content header{align-items:flex-start;flex-direction:column}.cap-profile-qr-content button{width:100%;justify-content:center}}
@media print{.cap-head,.cap-stats,.cap-location,.cap-branches,.cap-about,.cap-gallery-grid,.cap-section:not(.cap-profile-card),.cap-contact{display:none!important}.cap-page{padding:0;background:#fff}.cap-shell{display:block}.cap-profile-card{border:1px solid #ddd;box-shadow:none;break-inside:avoid}}
.cap-profile-qr>div{width:min(300px,100%);height:auto;aspect-ratio:1;box-sizing:border-box}
.cap-profile-qr-content header nav{display:flex;flex-wrap:wrap;gap:6px}.cap-profile-qr-content button.cap-profile-share-text{border-color:#bfe8d3;background:#ecfdf5;color:#087f5b}.cap-profile-qr-content button.cap-profile-share-text i{color:#0a9b69}
@media(max-width:700px){.cap-profile-qr-content header nav{width:100%}.cap-profile-qr-content header nav button{min-width:0;flex:1;justify-content:center}}
.cap-profile-qr-content pre{scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--front-scroll-thumb,#bbc4d1) var(--front-scroll-track,rgba(20,33,61,.045))}
.cap-profile-qr-content pre::-webkit-scrollbar{width:6px;height:6px}.cap-profile-qr-content pre::-webkit-scrollbar-track{border-radius:999px;background:var(--front-scroll-track,rgba(20,33,61,.045))}.cap-profile-qr-content pre::-webkit-scrollbar-thumb{min-height:36px;border:1.5px solid transparent;border-radius:999px;background:linear-gradient(180deg,#aeb8c7,#d5dae3) padding-box;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}.cap-profile-qr-content pre::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ff6508,#ff9b59) padding-box}.cap-profile-qr-content pre::-webkit-scrollbar-corner{background:transparent}
@media(max-width:700px){.cap-profile-qr-content pre::-webkit-scrollbar{width:4px;height:4px}}
