/* QRScan 2.0 — isolated, full-width, right-to-left dashboard.
   No fullscreen hover layers, no modal preview, no viewport breakout margins. */
body.dcard-panel-page{overflow-x:clip}
body.dcard-panel-page :is(.entry-content,.wp-block-post-content,.site-main,.site-content,.content-area,.elementor-widget-container,.elementor-shortcode,.ast-container,.wp-site-blocks main){max-width:none;width:100%;min-width:0}
body.dcard-panel-page :is(.entry-content,.wp-block-post-content,.elementor-widget-container,.elementor-shortcode){margin-inline:0;padding-inline:0}
body.dcard-panel-page .dc-dashboard{isolation:isolate}
.dc-dashboard{
 --qr-navy:#101c37;--qr-gold:#d5ac68;--qr-ink:#1b2944;--qr-muted:#66748c;--qr-purple:#6155e7;
 display:block;position:relative;inset:auto;transform:none!important;
 width:100%!important;max-width:none!important;min-width:0;
 margin:0!important;padding:0!important;box-sizing:border-box;
 border:0;border-radius:0;min-height:100dvh;
 background:linear-gradient(135deg,#f6f7fc 0%,#fafbff 55%,#f7f4ed 100%);
 color:var(--qr-ink);font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px;
 box-shadow:none;overflow:clip;direction:rtl;
}
.dc-dashboard::before,.dc-dashboard::after{content:none!important}
.dc-dashboard *, .dc-dashboard *::before,.dc-dashboard *::after{box-sizing:border-box}
.dc-dashboard [hidden]{display:none!important}
.dc-dashboard :is(a,button,input,select,textarea){font-family:inherit}
.dc-dashboard :is(a,button){-webkit-tap-highlight-color:transparent}
.dc-dashboard :is(a,button,input,select,textarea):focus-visible{outline:3px solid #b88642!important;outline-offset:3px}
.dc-dashboard .dc-shell{display:grid!important;direction:rtl;grid-template-columns:clamp(228px,19vw,285px) minmax(0,1fr);align-items:stretch;min-height:calc(100dvh - 70px);gap:0}
.dc-dashboard .dc-head{direction:rtl;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px clamp(16px,2.5vw,36px);min-height:70px;background:rgba(255,255,255,.88);border-bottom:1px solid #e7e9f0;box-shadow:0 5px 24px #101b3510;position:relative;z-index:3}
.dc-head-start,.dc-head-greeting,.dc-head-user{display:flex;align-items:center;gap:11px;min-width:0}
.dc-head-greeting{font-weight:800;color:#33405c}.dc-head-dot{display:inline-block;flex:none;width:9px;height:9px;background:#2dbb85;border-radius:50%;box-shadow:0 0 0 4px #2dbb8521}
.dc-dashboard .dc-head-user{color:#33405c;font-weight:700;gap:10px}.dc-dashboard .dc-head-user>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dc-dashboard .dc-head-user a{display:inline-flex;align-items:center;gap:7px;margin:0;padding:10px 15px;background:#fff;border:1px solid #e8eaf0;border-radius:14px;color:#4a5571;text-decoration:none;font-weight:800;white-space:nowrap;box-shadow:0 4px 14px #17213b0a}
.dc-dashboard .dc-head-user a:hover{background:#f5f6ff;color:#17213b}
.dc-dashboard .dc-side{direction:rtl;position:relative;display:flex!important;flex-direction:column;align-items:stretch;gap:5px;min-width:0;padding:24px 14px 20px;min-height:100%;border:0;border-radius:0;background:linear-gradient(160deg,#132443,#0b1631 74%,#111c38);color:#edf2ff;box-shadow:inset -1px 0 #fff1;overflow-x:hidden;overflow-y:auto;z-index:2}
.dc-dashboard .dc-side::before{content:"";position:absolute;inset:-120px auto auto -125px;width:250px;height:250px;border:1px solid #e6bb7030;border-radius:50%;box-shadow:0 0 0 19px #e6bb700a,0 0 0 42px #e6bb7008;pointer-events:none}
.dc-side-brand{display:flex;align-items:center;gap:12px;direction:ltr;justify-content:center;padding:5px 5px 22px;text-align:left;color:#fff}
.dc-side-brand strong{font:800 25px/1.2 Arial,sans-serif;letter-spacing:.2px}.dc-side-brand small{display:block;color:#bbc9e3;font-size:10px;margin-top:4px;text-align:center}
.dc-brand-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;color:#f2ca82;background:#ffffff0c;border:1px solid #d9ad6745;font-size:33px}
.dc-side-user{display:flex;align-items:center;gap:11px;min-width:0;padding:15px 12px;margin-bottom:14px;border:1px solid #ffffff25;border-radius:18px;background:linear-gradient(125deg,#ffffff19,#ffffff08);backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff20}
.dc-side-avatar{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:50%;background:linear-gradient(130deg,#846638,#1c345c);border:1px solid #d6aa6575;color:#ffe1a1}
.dc-side-user span:last-child{min-width:0}.dc-side-user b{display:block;color:#fff;font-size:13px;overflow-wrap:anywhere}.dc-side-user small{display:block;color:#bdcbe5;font-size:11px;margin-top:4px}
.dc-dashboard .dc-side a.dc-nav-link{display:flex;align-items:center;gap:11px;padding:12px 14px;min-height:46px;flex:none;border:1px solid transparent;border-radius:14px;color:#d0dcf4!important;background:transparent!important;box-shadow:none;text-decoration:none!important;font-size:13px;font-weight:700;white-space:normal;transition:background-color .2s,transform .2s,border-color .2s}
.dc-dashboard .dc-side a.dc-nav-link svg{flex:none;width:19px;height:19px;opacity:.85}
.dc-dashboard .dc-side a.dc-nav-link:hover{background:#ffffff17!important;color:#fff!important;transform:translateX(-2px)}
.dc-dashboard .dc-side a.dc-nav-link.active{color:#211d19!important;background:linear-gradient(125deg,#f6dca0,#c79a50)!important;border-color:#f7db9e;box-shadow:0 8px 24px #d5a75a40;font-weight:900}
.dc-side-separator{font-size:11px;color:#9eafce;font-weight:800;padding:16px 10px 9px;border-top:1px solid #ffffff1b;margin-top:10px}
.dc-side-bottom{margin-top:auto;padding:16px 13px;border:1px solid #ffffff35;border-radius:18px;background:linear-gradient(140deg,#463b84a8,#1b386ba8);text-align:center;color:#fff}
.dc-side-bottom small{display:block;color:#e7e4ff;font-size:11px}.dc-side-url{padding:10px;margin:10px 0;background:#ffffff17;border-radius:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:11px}
.dc-dashboard .dc-side-bottom .dc-gold-btn{display:flex;justify-content:center;align-items:center;gap:8px;background:linear-gradient(125deg,#f8dda0,#c79a50);color:#201a15!important;border:1px solid #ffe4ac;width:100%;font-size:12px}
.dc-dashboard .dc-main{direction:rtl;width:100%;min-width:0;min-height:100%;overflow:visible;overflow-wrap:anywhere;padding:clamp(18px,2.5vw,38px);background:transparent;position:relative;z-index:1}
.dc-dashboard .dc-main>h2,.dc-dashboard .dc-title h2{color:#1a2845;font-weight:900}
.dc-dashboard .dc-main h2{font-size:clamp(20px,2vw,27px);line-height:1.5}
.dc-dashboard .dc-main h3{font-size:18px;line-height:1.5}
.dc-dashboard .dc-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0 0 24px}
.dc-dashboard .dc-title p{margin:0;color:#65738e;line-height:1.9}
.dc-dashboard .dc-btn,.dc-dashboard button.dc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 19px;border-radius:14px;border:1px solid #ffffff91;background:linear-gradient(135deg,#7669f5,#584ee1);color:#fff!important;text-decoration:none!important;box-shadow:0 8px 20px #6356eb30,inset 0 1px #ffffff50;backdrop-filter:blur(12px);cursor:pointer;font-size:13px;font-weight:800;line-height:1.5;transition:transform .18s,box-shadow .18s,filter .18s}
.dc-dashboard .dc-btn:hover{transform:translateY(-2px);box-shadow:0 12px 27px #6356eb3b;filter:brightness(1.04)}
.dc-dashboard .dc-btn.subtle{background:rgba(255,255,255,.78);border-color:#e2e6f1;color:#334465!important;box-shadow:0 4px 15px #162c4b0c}
.dc-dashboard .dc-btn.danger{background:#fff1f3;border-color:#ffd1db;color:#b31d4c!important;box-shadow:none}
.dc-dashboard .dc-btn:disabled{cursor:default;opacity:.75;transform:none;box-shadow:none}
.dc-dashboard .dc-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:end;width:100%;max-width:none;padding:clamp(18px,2.4vw,28px);border:1px solid #fff;border-radius:22px;background:rgba(255,255,255,.86);box-shadow:0 13px 38px #1c315310;backdrop-filter:blur(12px)}
.dc-dashboard .dc-field{display:flex;flex-direction:column;gap:9px;min-width:0;color:#33415c;font-size:13px;font-weight:800}
.dc-dashboard .dc-field :is(input,select,textarea),.dc-dashboard .dc-menuitem input{width:100%;min-width:0;max-width:100%;padding:12px 13px;border:1px solid #dbe2ee;border-radius:13px;background:#fafbff;color:#1e2b46;box-shadow:none;font-size:13px;outline:0;transition:border-color .18s,box-shadow .18s}
.dc-dashboard .dc-field :is(input,select,textarea):focus{border-color:#8174e7;box-shadow:0 0 0 4px #8174e71b}
.dc-dashboard .dc-field textarea{min-height:115px;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
.dc-dashboard .dc-field:has(textarea),.dc-dashboard .dc-form>p,.dc-dashboard .dc-form>.dc-group,.dc-dashboard .dc-form>#dc-groups,.dc-dashboard .dc-form>.dc-gallery,.dc-dashboard .dc-form>script,.dc-dashboard .dc-form>img,.dc-dashboard .dc-form>a{grid-column:1/-1}
.dc-dashboard .dc-save{grid-column:1/-1;justify-self:start;min-width:210px}
.dc-dashboard .dc-check{display:flex;flex-direction:row;align-items:center}.dc-dashboard .dc-check input{width:auto}
.dc-dashboard .dc-notice,.dc-dashboard .dc-error{display:flex;align-items:center;gap:9px;padding:14px 18px;border-radius:15px;margin-bottom:22px;border:1px solid #bce8d4;background:#e7f8ef;color:#13714c;font-weight:700}
.dc-dashboard .dc-error{background:#fff1f2;border-color:#ffd2d9;color:#a51e45}
.dc-dashboard .dc-table{display:grid;gap:12px}
.dc-dashboard .dc-customer,.dc-dashboard .dc-ticket{display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:19px 22px;margin-bottom:0;border:1px solid #fff;border-radius:19px;background:#ffffffdb;box-shadow:0 9px 28px #2939650d}
.dc-dashboard .dc-customer>div{min-width:0}.dc-dashboard .dc-customer>div:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.dc-dashboard .dc-customer b{font-size:16px}.dc-dashboard .dc-customer small{display:block;color:#6d7890;margin-top:6px}
.dc-dashboard .dc-ticket{display:block;margin-bottom:13px}.dc-dashboard .dc-ticket form{margin-top:14px}
.dc-dashboard .dc-group{padding:18px;border-radius:16px;background:#f7f9ff;border:1px solid #e4e9f2;margin-bottom:16px;min-width:0}
.dc-dashboard .dc-menuitem{display:grid;grid-template-columns:1.5fr 1fr 1.4fr 1fr auto;gap:10px;align-items:end;padding:14px;background:#fff;border:1px solid #e4e9f2;border-radius:15px;min-width:0}
.dc-dashboard .dc-menuitem label{min-width:0;display:flex;flex-direction:column;gap:7px;font-size:12px}.dc-dashboard .dc-menuitem img{width:58px;height:58px;object-fit:cover;border-radius:11px}
.dc-dashboard .dc-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:13px;min-width:0}.dc-dashboard .dc-gallery :is(img,video){width:100%;max-width:100%;border-radius:13px;object-fit:cover}
.dc-dashboard .dc-qr-layout{display:grid;grid-template-columns:minmax(220px,330px) minmax(0,1fr);gap:20px;min-width:0}
.dc-dashboard .dc-qr-card,.dc-dashboard .dc-share-card{background:#fff;border:1px solid #e6e9f3;border-radius:20px;padding:22px;box-shadow:0 10px 28px #1c315310;min-width:0}
.dc-dashboard .dc-qr-card{text-align:center}.dc-dashboard .dc-qr-card img{display:block;width:min(100%,260px);height:auto;margin:auto}.dc-dashboard .dc-qr-card .dc-btn{margin-top:16px}
.dc-dashboard .dc-share-card{display:flex;flex-direction:column;justify-content:center;gap:15px}.dc-dashboard .dc-link-text{padding:16px;border:1px dashed #b6c4df;background:#f7faff;border-radius:12px;overflow-wrap:anywhere;word-break:break-word;font-size:13px}.dc-dashboard .dc-share-actions{display:flex;flex-wrap:wrap;gap:9px}
/* Quick-access navigation: settings are always discoverable */
.dc-dashboard .dc-quick-access{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:24px;margin-bottom:22px;border:1px solid #fff;border-radius:23px;background:linear-gradient(125deg,#f0f2ff,#fff 64%,#fff6e6);box-shadow:0 12px 32px #24395e12}
.dc-dashboard .dc-quick-access h2{margin:4px 0!important}.dc-dashboard .dc-quick-access p{margin:0;color:#6b7690;font-size:12px;line-height:1.8}
.dc-dashboard .dc-quick-actions{display:flex;flex-wrap:wrap;gap:9px}
.dc-dashboard a.dc-quick-link{display:inline-flex;align-items:center;gap:7px;padding:12px 14px;background:#ffffffc9;border:1px solid #fff;border-radius:14px;color:#33425f;text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 6px 18px #1c315310;transition:transform .18s}
.dc-dashboard a.dc-quick-link:hover{transform:translateY(-2px);background:#fff}
/* Template selection gallery */
.dc-dashboard .dc-design-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;min-height:210px;padding:clamp(21px,3vw,36px);overflow:hidden;border:1px solid #fff;border-radius:25px;background:linear-gradient(115deg,#f0f2ff 0%,#fff 60%,#f6e7d2 100%);box-shadow:0 13px 32px #1c31530d}
.dc-dashboard .dc-design-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#ffffff5c,transparent 75%);pointer-events:none}
.dc-hero-text{position:relative;z-index:1;max-width:620px}.dc-hero-kicker,.dc-section-kicker{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:900;color:#a87937}
.dc-dashboard .dc-design-hero h1{font-size:clamp(23px,2.5vw,35px);line-height:1.55;margin:9px 0;color:#1a2845;font-weight:900}
.dc-dashboard .dc-design-hero p{font-size:13px;line-height:2;color:#62708c;margin:0}
.dc-dashboard a.dc-glass-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:10px 15px;background:#ffffffb9;border:1px solid #fff;border-radius:14px;color:#394a68;text-decoration:none;font-weight:800;font-size:12px;backdrop-filter:blur(12px);box-shadow:0 7px 20px #18294912}
.dc-hero-visual{position:relative;flex:0 0 215px;width:215px;height:155px;pointer-events:none}
.dc-mini-phone{position:absolute;bottom:-50px;width:106px;height:184px;display:flex;flex-direction:column;align-items:center;gap:13px;padding:26px 10px;border:5px solid #252632;border-radius:21px;box-shadow:0 14px 27px #19294935;overflow:hidden}
.dc-mini-phone-back{left:7px;transform:rotate(13deg);background:linear-gradient(140deg,#fff8ed,#e7d2b1)}
.dc-mini-phone-front{left:65px;transform:rotate(-10deg);background:linear-gradient(140deg,#151c29,#47321f);color:#e6c17e}
.dc-mini-phone span{font-size:27px}.dc-mini-phone i{width:60px;height:8px;background:currentColor;border-radius:7px;opacity:.4}.dc-mini-phone b{width:46px;height:27px;background:#c9a265;border-radius:8px}.dc-mini-phone em{width:65px;height:30px;background:#ffffff25;border-radius:8px}
.dc-dashboard .dc-gallery-title{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:28px 0 17px}
.dc-dashboard .dc-gallery-title h2{font-size:24px;margin:4px 0!important}.dc-dashboard .dc-gallery-title p{margin:0;color:#758198;font-size:12px}
.dc-dashboard .dc-search-wrap{display:flex;align-items:center;gap:8px;min-width:205px;padding:10px 13px;border:1px solid #e5e8f2;border-radius:15px;background:#ffffffc9;color:#8a94a9;box-shadow:0 6px 18px #1c31530d}
.dc-dashboard .dc-search-wrap input{width:100%;min-width:0;border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;padding:4px;color:#23324d;font-size:12px}
.dc-dashboard .dc-theme-filters{display:flex;gap:9px;overflow-x:auto;padding:4px 0 14px;scrollbar-width:thin;scrollbar-color:#cdd2e5 transparent}
.dc-dashboard button.dc-filter-chip{flex:none;white-space:nowrap;min-height:41px;padding:10px 16px;border:1px solid #fff;border-radius:13px;background:#ffffffc7;color:#4b5871;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 5px 16px #23334e0b;transition:background-color .2s,transform .2s}
.dc-dashboard button.dc-filter-chip:hover{background:#fff;transform:translateY(-1px)}
.dc-dashboard button.dc-filter-chip.active{background:linear-gradient(130deg,#f1d597,#c89b53);color:#2d2419;border-color:#ffe5ad;box-shadow:0 6px 18px #d2a75c36}
.dc-theme-results{font-size:12px;color:#6b7791;margin:0 0 14px}
.dc-dashboard .dc-showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;min-width:0}
.dc-dashboard .dc-showcase-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e8e9f0;border-radius:20px;background:#fff;box-shadow:0 10px 28px #23334e0c;transition:transform .2s,box-shadow .2s,border-color .2s}
.dc-dashboard .dc-showcase-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px #23334e19}
.dc-dashboard .dc-showcase-card.is-active{border:2px solid #d3a65c;box-shadow:0 10px 32px #bc925020}
.dc-dashboard .dc-showcase-art{position:relative;height:clamp(145px,15vw,220px);margin:9px 9px 0;border-radius:15px;overflow:hidden;background:#ececf4}
.dc-dashboard .dc-showcase-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .25s}
.dc-dashboard .dc-showcase-card:hover .dc-showcase-art img{transform:scale(1.025)}
.dc-art-tag{position:absolute;top:10px;right:10px;z-index:1;padding:5px 10px;border-radius:10px;background:#fffffff0;color:#36415c;font-size:10px;font-weight:800;box-shadow:0 3px 10px #0001}
.dc-dashboard .dc-showcase-content{display:flex;flex-direction:column;flex:1;padding:14px 12px 13px;min-width:0}
.dc-dashboard .dc-showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:55px}
.dc-dashboard .dc-showcase-heading h3{font-size:14px;margin:0 0 4px!important;color:#1d2944;font-weight:900}
.dc-dashboard .dc-showcase-heading p{font-size:11px;margin:0;color:#79849b;line-height:1.7}
.dc-active-check{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#e4f7ec;color:#178857}
.dc-dashboard .dc-showcase-actions{display:flex;gap:8px;align-items:stretch;margin-top:auto;padding-top:12px}
.dc-dashboard .dc-showcase-actions form{flex:1;min-width:0;margin:0;padding:0;background:none;border:0;box-shadow:none}
.dc-dashboard a.dc-preview-trigger,.dc-dashboard button.dc-select-theme{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:43px;padding:10px 9px;border-radius:12px;font-size:11px;font-weight:900;line-height:1.4;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform .18s,box-shadow .18s}
.dc-dashboard a.dc-preview-trigger{flex:1;background:linear-gradient(135deg,#f7f8fe,#edf0fa);border:1px solid #e3e8f2;color:#374562}
.dc-dashboard button.dc-select-theme{width:100%;background:linear-gradient(135deg,#786bf5,#5b50e7);border:1px solid #a8a1ff;color:#fff;box-shadow:0 7px 18px #6256e42d}
.dc-dashboard button.dc-select-theme.selected{background:linear-gradient(125deg,#f2d69a,#c99c55);border-color:#f2d69a;color:#2b241b;box-shadow:none}
.dc-dashboard a.dc-preview-trigger:hover,.dc-dashboard button.dc-select-theme:hover{transform:translateY(-2px);box-shadow:0 9px 22px #25365719}
.dc-dashboard .dc-no-themes{padding:22px;border-radius:16px;background:#fff;text-align:center;color:#64738f}
.dc-dashboard .dc-preview-hint{display:flex;align-items:center;gap:8px;margin:17px 0;color:#687690;font-size:12px}
.dc-dashboard .dc-upload-art{height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#deddf5,#d2c8e9 55%,#f0e3ca)}
.dc-upload-spark{position:absolute;left:22px;top:16px;color:#fff;font-size:30px}
.dc-upload-phone{display:flex;flex-direction:column;align-items:center;gap:11px;width:98px;height:158px;padding:17px 9px;border:5px solid #2c314b;border-radius:19px;background:linear-gradient(140deg,#fff,#ebe9f8);box-shadow:0 12px 26px #28324b45;transform:rotate(-7deg)}
.dc-upload-phone span{font-size:11px;color:#6856b4;font-weight:900}.dc-upload-phone b{font-size:10px;color:#293651;text-align:center;overflow:hidden}.dc-upload-phone i{width:60px;height:7px;background:#c8c7df;border-radius:8px}
.dc-dashboard .dc-design-admin,.dc-dashboard .dc-template-upload-panel{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:17px;margin-top:25px;padding:23px;border:1px solid #fff;border-radius:20px;background:#ffffffdc;box-shadow:0 10px 30px #23334e0d}
.dc-dashboard .dc-design-admin h3,.dc-dashboard .dc-upload-heading h3{margin:0 0 6px}.dc-dashboard .dc-design-admin p,.dc-dashboard .dc-upload-heading p{margin:0;color:#69768d;font-size:12px;line-height:1.9}
.dc-dashboard .dc-template-upload-panel{display:block}.dc-dashboard .dc-upload-heading{display:flex;align-items:center;gap:14px}
.dc-upload-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:#efecff;color:#6659e9}
.dc-dashboard .dc-upload-form{display:flex;align-items:end;gap:15px;padding:17px 0;background:none;border:0;box-shadow:none}
.dc-dashboard .dc-upload-form .dc-field{flex:1}
.dc-dashboard .dc-upload-note{margin:0;color:#7d879c;font-size:11px;line-height:1.9}
.dc-dashboard .dc-empty{padding:23px;border-radius:16px;background:#fff;color:#65748b}
.dc-dashboard .dc-locked-template{color:#8f7044;font-size:12px}
.dc-mobile-nav-toggle,.dc-mobile-nav-close,.dc-nav-backdrop{display:none!important}
/* Login uses the same design without inheriting dashboard layout */
.dc-app.dc-login{width:min(1050px,100%);max-width:100%;margin:25px auto;border-radius:24px;border:1px solid #fff;box-shadow:0 20px 70px #13223c24;overflow:hidden;background:#fff}
.dc-login .dc-login-art{background:linear-gradient(145deg,#172b4b,#0b1530);color:#fff}
.dc-login .dc-login-form{background:#fff}.dc-login .dc-login-form input[type=submit]{background:linear-gradient(125deg,#d8b06d,#b78644);color:#19223a;border-radius:14px}
@media(min-width:1650px){.dc-dashboard .dc-showcase-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1300px){.dc-dashboard .dc-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.dc-dashboard .dc-shell{grid-template-columns:220px minmax(0,1fr)}.dc-dashboard .dc-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-dashboard .dc-main{padding:20px}.dc-dashboard .dc-side{padding-inline:10px}}
@media(max-width:900px){
 .dc-dashboard .dc-shell{display:block!important;min-height:calc(100dvh - 62px)}
 .dc-dashboard .dc-head{min-height:62px;padding:10px 15px}
 .dc-dashboard .dc-main{padding:18px 15px 30px}
 .dc-dashboard button.dc-mobile-nav-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 13px;border:1px solid #e8cfa1;border-radius:13px;background:linear-gradient(135deg,#fff7e6,#eddbb7);color:#27324c;font-weight:900;font-size:13px;cursor:pointer}
 .dc-dashboard .dc-side{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;z-index:1101;width:min(85vw,330px)!important;height:100dvh;min-height:0;padding:63px 14px 20px;display:flex!important;flex-direction:column;align-items:stretch;gap:5px;overflow-y:auto;overflow-x:hidden;border-radius:0 0 0 21px;box-shadow:-18px 0 55px #07142650;transform:translateX(110%);visibility:hidden;pointer-events:none;transition:transform .25s,visibility .25s}
 .dc-dashboard.is-nav-open .dc-side{transform:translateX(0);visibility:visible;pointer-events:auto}
 .dc-dashboard button.dc-mobile-nav-close{position:absolute;top:15px;left:14px;display:grid!important;place-items:center;width:39px;height:39px;border:1px solid #ffffff4a;border-radius:12px;background:#ffffff18;color:#fff;cursor:pointer}
 .dc-dashboard button.dc-nav-backdrop{position:fixed;inset:0;z-index:1100;display:block!important;width:100%;height:100%;border:0;padding:0;margin:0;border-radius:0;background:rgba(9,19,40,.62)!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s,visibility .25s}
 .dc-dashboard.is-nav-open button.dc-nav-backdrop{opacity:1;visibility:visible;pointer-events:auto}
 .dc-dashboard .dc-side-brand,.dc-dashboard .dc-side-user,.dc-dashboard .dc-side-separator,.dc-dashboard .dc-side-bottom{display:flex!important}
 .dc-dashboard .dc-side-separator,.dc-dashboard .dc-side-bottom{display:block!important}
 .dc-dashboard .dc-qr-layout{grid-template-columns:minmax(0,1fr)}
 .dc-dashboard .dc-menuitem{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dc-dashboard .dc-menuitem label:first-child{grid-column:1/-1}
}
@media(max-width:650px){
 .dc-dashboard .dc-head-greeting span:last-child{display:none}
 .dc-dashboard .dc-head-user>span{max-width:120px}
 .dc-dashboard .dc-form{grid-template-columns:minmax(0,1fr);padding:16px}
 .dc-dashboard .dc-gallery-title{align-items:stretch}
 .dc-dashboard .dc-search-wrap{width:100%}
 .dc-dashboard .dc-design-hero{padding:23px 19px;min-height:0}
 .dc-dashboard .dc-hero-visual{display:none}
 .dc-dashboard .dc-customer{flex-wrap:wrap;padding:16px}
 .dc-dashboard .dc-customer>div:last-child{width:100%}
 .dc-dashboard .dc-upload-form{flex-direction:column;align-items:stretch}
 .dc-dashboard .dc-upload-form .dc-field{width:100%}
 .dc-dashboard .dc-showcase-art{height:165px}
}
@media(max-width:480px){
 .dc-dashboard .dc-head{padding:10px 12px}
 .dc-dashboard .dc-head-user>span{display:none}
 .dc-dashboard .dc-head-user a{padding:9px 10px;font-size:11px}
 .dc-dashboard .dc-main{padding:15px 11px 25px}
 .dc-dashboard .dc-showcase-grid{grid-template-columns:minmax(0,1fr);gap:13px}
 .dc-dashboard .dc-showcase-art{height:200px}
 .dc-dashboard .dc-showcase-actions{flex-direction:row}
 .dc-dashboard .dc-quick-access{padding:18px}
 .dc-dashboard .dc-quick-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .dc-dashboard .dc-quick-link{justify-content:center}
 .dc-dashboard .dc-menuitem{grid-template-columns:minmax(0,1fr)}
 .dc-dashboard .dc-menuitem label:first-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){.dc-dashboard *,.dc-dashboard *::before,.dc-dashboard *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body.dc-nav-body-locked{overflow:hidden!important}
/* Avoid theme-specific hover background layers on the shortcode container. */
body.dcard-panel-page :is(.entry-content,.wp-block-post-content,.elementor-widget-container,.elementor-shortcode):hover{background-color:transparent}
body.dcard-panel-page .entry-content .elementor-background-overlay{pointer-events:none}
/* v2.2 typography studio, customer feedback and support */
.dc-typo-preview{position:relative;overflow:hidden;isolation:isolate;padding:28px;margin:0 0 22px;background:linear-gradient(120deg,#17243f,#2f4276 65%,#57498a);border:1px solid #ffffff55;border-radius:24px;color:#fff;box-shadow:0 18px 40px #1e2c5540}.dc-typo-preview:after{content:'Aa';position:absolute;left:5%;top:-50px;font-size:220px;font-family:Georgia,serif;color:#ffffff12;pointer-events:none}.dc-typo-preview>span{font-size:12px;color:#e0ca9e}.dc-typo-preview h2{font-size:28px;color:#fff;margin:10px 0!important}.dc-typo-preview p{color:#dbe2f4;font-size:14px}.dc-typo-form{align-items:center}.dc-range-field{padding:14px;background:#f7f9ff;border:1px solid #e6eaf3;border-radius:15px}.dc-range-field span{display:flex;justify-content:space-between;gap:8px}.dc-range-field output{font-weight:900;color:#6256cc;direction:ltr}.dc-range-field input{accent-color:#7464dc;cursor:pointer}.dc-current-cover{grid-column:1/-1;display:grid;gap:9px}.dc-current-cover img{display:block;width:100%;max-width:650px;max-height:240px;object-fit:cover;border-radius:17px;border:1px solid #e2e8f0}.dc-ticket-modern{border-radius:20px;padding:22px;box-shadow:0 8px 24px #1018280c}.dc-ticket-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.dc-ticket-head strong{font-size:16px}.dc-ticket-head span{padding:7px 12px;border-radius:20px;background:#fff4da;color:#986422;font-size:12px;font-weight:800}.dc-ticket-meta{font-size:12px;color:#7a879a;margin:9px 0}.dc-ticket-modern p{line-height:2;overflow-wrap:anywhere}.dc-ticket-reply{background:#eff7ff;border-right:3px solid #647ce8;border-radius:12px;padding:14px;margin-top:16px}.dc-ticket-reply strong{color:#3148a5}.dc-ticket-reply p{margin-bottom:0}.dc-support-form{margin-bottom:25px}.dc-ticket-reply-form{margin-top:16px}.dc-ticket-limits{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;border-top:1px solid #e6eaf1;padding-top:12px}.dc-ticket-limits h4{grid-column:1/-1;margin:0;color:#65748b}.dc-ticket-reply-form .dc-check{grid-column:1/-1}.dc-ticket-reply-form>.dc-btn{justify-self:start}.dc-reviews-admin-summary{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0}.dc-reviews-admin-summary strong{background:linear-gradient(125deg,#fef9e8,#e9f2ff);border:1px solid #e8e8ed;padding:16px 20px;border-radius:16px;color:#314060}.dc-review-admin form{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.dc-review-admin .dc-btn{font-size:12px}.dc-review-admin small{color:#64748b}
@media(max-width:640px){.dc-typo-preview{padding:20px}.dc-typo-preview h2{font-size:23px}.dc-ticket-modern{padding:15px}.dc-review-admin form .dc-btn{flex:1}.dc-ticket-limits{grid-template-columns:1fr}}
.dc-typo-form .dc-field input[type="color"]{display:block;width:100%;height:54px;min-height:54px;padding:5px;border-radius:14px;background:#fff;border:1px solid #dbe3f1;cursor:pointer;appearance:auto}
.dc-typo-form .dc-field input[type="color"]::-webkit-color-swatch-wrapper{padding:2px}
.dc-typo-form .dc-field input[type="color"]::-webkit-color-swatch{border-radius:9px;border:0}
.dc-typo-form .dc-field input[type="color"]::-moz-color-swatch{border-radius:9px;border:0}
/* 2.3: live miniature preview of newly imported templates */
.dc-dashboard .dc-live-art{position:relative;display:block;overflow:hidden;height:100%;background:linear-gradient(145deg,#ece7f8,#e4eaf5)}
.dc-dashboard .dc-live-art iframe{position:absolute;top:0;left:50%;width:430px;height:700px;border:0;transform:translateX(-50%) scale(.5);transform-origin:top center;pointer-events:none;user-select:none;background:#fff}

/* QRScan 2.4 — customer account security management */
.dc-dashboard .dc-security-shortcut{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;padding:22px;border:1px solid #e1e6f0;border-radius:20px;background:linear-gradient(120deg,#fff,#f4f6ff);box-shadow:0 10px 25px #18284d0c}
.dc-security-shortcut strong{font-size:16px;color:#1d2d4c}.dc-security-shortcut p{margin:6px 0 0;color:#6c7991;font-size:13px}
.dc-dashboard .dc-security-account{display:flex;align-items:center;gap:16px;border:1px solid #e4e9f3;border-radius:22px;background:#fff;padding:20px 24px;margin-bottom:20px;box-shadow:0 12px 30px #1627470a}
.dc-security-account-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#fff2d8,#e6d0a6);color:#846333;flex:none}
.dc-security-account strong{font-size:18px;color:#172642}.dc-security-account p{font-size:12px;color:#65748b;margin:5px 0 0;overflow-wrap:anywhere}.dc-security-account b{color:#24334c}
.dc-dashboard .dc-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.dc-dashboard .dc-security-box{min-width:0;border:1px solid #e5e9f2;border-radius:23px;background:rgba(255,255,255,.94);padding:clamp(18px,2vw,28px);box-shadow:0 15px 38px #1427470e}
.dc-security-box-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#e9e8ff,#f7f0ff);color:#6656cf;margin-bottom:12px}
.dc-dashboard .dc-security-box h3{margin:0 0 7px;color:#1b2b49;font-size:19px}
.dc-dashboard .dc-security-box>p{margin:0 0 19px;color:#687891;line-height:2;font-size:13px}
.dc-dashboard .dc-security-form{display:flex;flex-direction:column;gap:15px}
.dc-dashboard .dc-security-form+.dc-security-form{margin-top:16px;padding-top:16px;border-top:1px solid #edf0f6}
.dc-dashboard .dc-security-form .dc-field{gap:8px}
.dc-dashboard .dc-security-form .dc-field input{width:100%;min-height:48px;padding:12px 14px;border:1px solid #dce3ee;border-radius:13px;background:#f9fbff;color:#1b2945;box-shadow:none;font-size:14px}
.dc-dashboard .dc-security-form .dc-field input:focus-visible{outline:3px solid #a49aee55;border-color:#8e81d9}
.dc-security-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.dc-security-show{display:flex;align-items:center;gap:7px;font-size:13px;color:#4f5e77;cursor:pointer}
.dc-security-show input{accent-color:#6656cf}
.dc-dashboard .dc-password-feedback{min-height:18px;margin:0;font-size:12px;color:#586b84;line-height:1.8}
.dc-dashboard .dc-security-tip{margin:0;font-size:12px;line-height:2;color:#aa672d}
.dc-dashboard .dc-security-form .dc-btn{align-self:flex-start}
.dc-dashboard .dc-security-form .dc-btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
@media(max-width:900px){.dc-dashboard .dc-security-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.dc-dashboard .dc-security-shortcut{flex-direction:column;align-items:stretch;padding:16px}.dc-dashboard .dc-security-account{padding:16px}.dc-dashboard .dc-security-box{padding:18px}.dc-dashboard .dc-security-form .dc-btn{align-self:stretch}}

/* QRScan 2.5 — clear About/Contact save and preview affordance */
.dc-dashboard .dc-details-guide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 17px;
  border-radius: 15px;
  background: linear-gradient(115deg,#f1f5ff,#fff9ed);
  border: 1px solid #dce5f4;
  color: #344460;
  font-size: 13px;
  font-weight: 600;
}
.dc-dashboard .dc-details-guide a {color:#3949a4;text-decoration:none;font-weight:800}
.dc-dashboard .dc-details-guide a:hover {text-decoration:underline}

/* v2.6 — explicit persistent-save feedback and native fallback */
.dc-dashboard .dc-save-status{grid-column:1/-1;padding:14px 17px;border:1px solid #cbd5e1;border-radius:14px;background:#f4f7fc;color:#334155;font-weight:700;line-height:2;overflow-wrap:anywhere}
.dc-dashboard .dc-save-status.is-loading{border-color:#bfcbf3;background:#eef2ff;color:#3747a6}
.dc-dashboard .dc-save-status.is-success{border-color:#b7e4c5;background:#eafaf0;color:#18683d}
.dc-dashboard .dc-save-status.is-error{border-color:#f2b6b6;background:#fff1f1;color:#a12626}
.dc-dashboard .dc-save-status a{display:inline-block;color:inherit;text-decoration:underline;text-underline-offset:4px;margin-inline-start:10px}
.dc-dashboard .dc-save-fallback{justify-self:start}
.dc-dashboard [hidden]{display:none!important}
.dc-dashboard button.dc-save:disabled{opacity:.55;cursor:wait;filter:saturate(.7)}

.dc-dashboard .dc-details-last-save{padding:10px 15px;margin:0 0 15px;border:1px solid #b7e4c5;background:#ecfdf3;color:#18683d;border-radius:13px;font-size:13px;font-weight:700}
