.dfhs-app,.dfhs-login,.dfhs-picker{font-family:Vazirmatn,Tahoma,Arial,sans-serif;direction:rtl;color:#1b2e4d;font-size:14px;line-height:1.8;box-sizing:border-box}
.dfhs-app *,.dfhs-login *,.dfhs-picker *{box-sizing:border-box}
.dfhs-app button,.dfhs-app input,.dfhs-app select,.dfhs-app textarea{font:inherit}
.dfhs-app button{cursor:pointer}.dfhs-app button:disabled{opacity:.45;cursor:not-allowed}
.dfhs-app a{text-decoration:none}.dfhs-app [hidden]{display:none!important}
.dfhs-app{width:min(1310px,100%);margin:18px auto 65px;background:#f9f8f5;border:1px solid #eeeae3;border-radius:20px;overflow:hidden}
.dfhs-apphead{display:flex;justify-content:space-between;align-items:center;padding:19px 25px;background:white;border-bottom:1px solid #eeece7;gap:15px}
.dfhs-brand{display:flex;align-items:center;gap:11px}.dfhs-brand>span{width:43px;height:43px;border-radius:12px;background:#1d315b;color:#ecc578;font-weight:900;font-size:26px;display:grid;place-items:center}.dfhs-brand strong{display:block;font-size:18px;line-height:1.3}.dfhs-brand em{color:#bd914d;font-style:normal}.dfhs-brand small{display:block;color:#8090a2;font-size:10px}
.dfhs-balance{padding:8px 13px;border-radius:11px;background:#fff7e9;border:1px solid #f2e5c8;color:#856531;font-size:12px;font-weight:700;white-space:nowrap}
.dfhs-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:22px;padding:25px}.dfhs-nav{padding:14px;background:#fff;border:1px solid #e9e8e4;border-radius:17px;align-self:start;position:sticky;top:80px}.dfhs-nav button,.dfhs-nav a{display:block;width:100%;border:0;background:transparent;color:#5e708c;text-align:right;padding:13px 12px;border-radius:10px;margin-bottom:4px;font-weight:700;font-size:12px}.dfhs-nav button:hover,.dfhs-nav a:hover,.dfhs-nav button.is-active{background:#edf2f9;color:#1e3764}.dfhs-nav p{font-size:11px;color:#9ca8b7;margin:22px 11px 8px}.dfhs-navnote{background:linear-gradient(130deg,#1f345e,#314b7b);color:#fff;padding:17px;border-radius:13px;font-size:11px;margin-top:24px;line-height:2}
.dfhs-content{min-width:0}.dfhs-content h2{font-size:clamp(22px,2.8vw,32px);font-weight:850;color:#172d50;margin:4px 0 1px}.dfhs-content h2 em{color:#bb914b;font-style:normal}.dfhs-overline{color:#b68d47;font-weight:800;font-size:12px;margin:0}.dfhs-muted{color:#7e8b9c;font-size:12px;margin:0 0 20px}.dfhs-hero{background:linear-gradient(120deg,#1d315b,#2d4a7d);color:white;display:flex;justify-content:space-between;align-items:center;border-radius:19px;padding:24px 29px;margin:18px 0 20px;min-height:120px;overflow:hidden}.dfhs-hero strong{display:block;font-size:21px}.dfhs-hero span:not(.dfhs-herostar){display:block;color:#d5deec;font-size:12px;margin-top:8px}.dfhs-herostar{font-size:66px!important;color:#e9bc73;opacity:.75}
.dfhs-card{background:white;border:1px solid #ecebea;border-radius:18px;padding:24px;margin-bottom:20px;box-shadow:0 8px 18px #162d5110}.dfhs-card h3{margin:0 0 15px;font-size:17px;font-weight:850;color:#1c3258}.dfhs-card h4{font-size:14px;margin:14px 0 9px}
.dfhs-stepstrip{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 27px}.dfhs-stepstrip span{border:1px solid #e1e6ec;border-radius:9px;color:#7f8b9a;background:#f7f8fa;padding:11px;text-align:center;font-weight:700;font-size:11px}.dfhs-stepstrip .active{background:#e8eef7;color:#1e3764;border-color:#a4b4d0}
.dfhs-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dfhs-file{position:relative;display:block;font-weight:750;font-size:12px}.dfhs-file>b,.dfhs-label b{color:#c77855}.dfhs-file>small{font-weight:400;color:#9aa6b5}.dfhs-file>span{margin-top:9px;border:2px dashed #d3dce9;border-radius:15px;background:#f9fbff;min-height:160px;padding:50px 12px;display:block;text-align:center;color:#4c6385;font-weight:700}.dfhs-file input[type=file]{position:absolute;inset:25px 0 0;width:100%;height:calc(100% - 25px);opacity:0;cursor:pointer;z-index:2}.dfhs-file img{position:absolute;object-fit:cover;inset:32px 2px 2px;width:calc(100% - 4px);height:calc(100% - 34px);border-radius:12px}.dfhs-file.has-image>span{color:transparent}.dfhs-hint{font-size:11px;color:#8190a4;margin:13px 0}.dfhs-app label:not(.dfhs-file):not(.dfhs-product):not(.dfhs-consent){display:block;font-size:12px;font-weight:750;margin:13px 0}
.dfhs-app input:not([type=checkbox]):not([type=radio]):not([type=file]),.dfhs-app select,.dfhs-app textarea,.dfhs-picker select{display:block;width:100%;margin-top:7px;border:1px solid #dce3ee;border-radius:10px;outline:none;padding:11px 13px;background:white;color:#263b61;min-height:43px}.dfhs-app input:focus,.dfhs-app textarea:focus,.dfhs-app select:focus{border-color:#6e8cb9}.dfhs-label{font-weight:800;font-size:12px;margin:18px 0 10px}
.dfhs-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.dfhs-product{cursor:pointer}.dfhs-product input{position:absolute;opacity:0}.dfhs-product span{display:block;border:1px solid #dce3ef;border-radius:10px;padding:11px 5px;text-align:center;color:#5e6c82;font-size:12px}.dfhs-product input:checked+span{background:#e8eef9;border-color:#9eb2d1;color:#1f3c6d;font-weight:800}.dfhs-source{display:flex;gap:10px;flex-wrap:wrap}.dfhs-source label{border:1px solid #dce3ef;border-radius:10px;padding:10px 12px;margin:0!important}.dfhs-pattern{background:#f5f8fc;padding:12px;border-radius:10px}.dfhs-pattern input{padding:8px!important}.dfhs-consent{display:flex;gap:12px;align-items:start;font-size:12px;color:#586981;line-height:2;margin:15px 0}.dfhs-consent input{margin-top:7px}.dfhs-info,.dfhs-prepress{background:#fffbf1;border:1px solid #f1e2bf;color:#886b36;border-radius:11px;padding:13px 15px;font-size:12px;line-height:2;margin:12px 0}.dfhs-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:25px}.dfhs-btn,.dfhs-login .dfhs-btn{border:0;border-radius:10px;padding:11px 17px;display:inline-flex;justify-content:center;align-items:center;font-size:12px;font-weight:800;min-height:43px;cursor:pointer;text-decoration:none!important}.dfhs-primary{background:#1e3765!important;color:white!important}.dfhs-gold{background:#e4b96d!important;color:#352f24!important}.dfhs-outline{border:1px solid #dae3f0!important;background:#fff!important;color:#36517b!important}.dfhs-error{margin-top:15px;padding:14px;background:#fff0ef;color:#a73f3f;border:1px solid #f0cdca;border-radius:11px}.dfhs-reviewrow{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1f5;padding:12px 0;font-size:12px}.dfhs-reviewrow b{color:#1d3766}
.dfhs-loader{height:5px;border-radius:8px;background:linear-gradient(90deg,#dfb665,#243d6c,#dfb665);background-size:200% 100%;animation:dfhs-move 1.6s linear infinite;margin:20px 0}@keyframes dfhs-move{0%{background-position:0% 0}100%{background-position:200% 0}}
.dfhs-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.dfhs-galleryitem{border:1px solid #e8ebef;border-radius:16px;background:white;overflow:hidden}.dfhs-tileimage{aspect-ratio:1.45;background:#f0f2f7;display:grid;place-items:center}.dfhs-tileimage img{width:100%;height:100%;object-fit:cover}.dfhs-gallerybody{padding:12px}.dfhs-gallerybody strong,.dfhs-gallerybody small{display:block}.dfhs-gallerybody small{font-size:11px;color:#8e9bac;margin:3px 0 12px}.dfhs-gallerybody .dfhs-btn{width:100%}.dfhs-empty{grid-column:1/-1;color:#7989a2}
.dfhs-resulthead{display:flex;justify-content:space-between;gap:12px;align-items:center}.dfhs-resulthead h3{margin:0}.dfhs-resulthead p,.dfhs-resulthead span{color:#9ca8b6;font-size:11px}.dfhs-outputgrid>div{min-width:0}.dfhs-outputgrid img{width:100%;border-radius:12px;aspect-ratio:1.3;object-fit:cover;border:1px solid #e6e9ef}.dfhs-outputgrid a{display:flex;margin-top:11px}.dfhs-productrows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.dfhs-productrow{padding:12px;border:1px solid #e6eaf1;border-radius:11px;display:flex;justify-content:space-between;gap:9px;align-items:center;font-size:12px}.dfhs-productrow a{color:#224980;font-weight:750}.dfhs-productrow small{color:#9da7b4}
.dfhs-creditproduct{display:flex;gap:13px;justify-content:space-between;align-items:center;padding:14px;border:1px solid #e5e9f1;border-radius:12px;margin:10px 0;color:#263d67}.dfhs-creditproduct small{color:#8492a4}.dfhs-ledgerrow{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f5;padding:11px}.dfhs-ledgerrow small{color:#a0aabb;display:block;font-size:10px}.dfhs-positive{color:#14896b}
.dfhs-login{max-width:500px;border:1px solid #eee;background:#fff;padding:32px;border-radius:17px;margin:35px auto;text-align:center}.dfhs-login h2{font-size:23px}.dfhs-login p{color:#7d8a9e}.dfhs-login .dfhs-btn{margin-top:13px}.dfhs-picker{padding:15px;background:#f9fafc;border:1px solid #e4eaf2;border-radius:12px}
@media(max-width:900px){.dfhs-layout{grid-template-columns:1fr;padding:15px;gap:14px}.dfhs-nav{position:static;display:flex;flex-wrap:wrap;align-items:center;padding:8px;gap:6px}.dfhs-nav button,.dfhs-nav a{width:auto;flex:1 1 auto;text-align:center;white-space:nowrap;padding:10px 8px;margin:0}.dfhs-nav p,.dfhs-navnote{display:none}.dfhs-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dfhs-app{border-radius:10px}.dfhs-apphead{padding:12px}.dfhs-brand strong{font-size:15px}.dfhs-brand>span{width:35px;height:35px;font-size:21px}.dfhs-brand small{font-size:9px}.dfhs-balance{font-size:11px;padding:7px}.dfhs-hero{padding:16px;min-height:94px}.dfhs-hero strong{font-size:16px}.dfhs-herostar{font-size:42px!important}.dfhs-card{padding:16px}.dfhs-grid2{grid-template-columns:1fr}.dfhs-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dfhs-gallery{grid-template-columns:1fr}.dfhs-productrows{grid-template-columns:1fr}.dfhs-stepstrip span{font-size:10px;padding:8px 2px}.dfhs-actions .dfhs-btn{padding:10px;font-size:11px}.dfhs-file>span{min-height:145px;padding:45px 8px}.dfhs-creditproduct{flex-wrap:wrap}.dfhs-apphead{gap:6px}}
.dfhs-galleryactions{display:flex;gap:8px;align-items:center}.dfhs-galleryactions [data-select-design]{flex:1}.dfhs-delete{background:#fff1f1!important;color:#9a4343!important;border:1px solid #eed6d6!important}

/* HOMAI Studio 2.1.16 — public storefront, dedicated / embed layouts. */
.dfhs-app,.dfhs-login{--dfhs-ink:#192e50;--dfhs-gold:#d2a65b;--dfhs-soft:#f6f4f0;--dfhs-border:#e6e8ec}
.dfhs-app{width:100%;max-width:1240px;box-shadow:0 22px 58px rgba(25,46,80,.07);background:#f8f8f7;border-radius:24px;margin:12px auto 40px;isolation:isolate}
.dfhs-apphead{padding:20px 26px;border-bottom:1px solid #edf0f2}
.dfhs-apphead-meta{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.dfhs-account-note{font-size:11px;color:#75869c;white-space:nowrap}
.dfhs-app .dfhs-balance{font-size:12px;border-radius:100px;background:#fff8e9;padding:9px 15px}
.dfhs-layout{grid-template-columns:205px minmax(0,1fr);gap:24px;padding:24px}
.dfhs-app .dfhs-nav{background:#fff;border-color:#eaedf1;border-radius:18px;box-shadow:0 4px 15px rgba(22,40,75,.025)}
.dfhs-app .dfhs-content h2{letter-spacing:-.5px;font-weight:850}
.dfhs-app .dfhs-muted{font-size:13px;line-height:2;margin-bottom:14px}
.dfhs-hero{min-height:212px;padding:27px 32px;position:relative;gap:20px;background:linear-gradient(115deg,#142a50 0%,#273f6e 64%,#334f7d 100%);border-radius:20px}
.dfhs-hero-main{position:relative;z-index:2;flex:1;max-width:580px}
.dfhs-app .dfhs-hero .dfhs-hero-eyebrow{font-size:11px;color:#edc580;letter-spacing:.1px;margin:0 0 8px}
.dfhs-app .dfhs-hero-main strong{font-size:clamp(18px,2.4vw,27px);line-height:1.65;color:#fff}
.dfhs-app .dfhs-hero-main>span:not(.dfhs-hero-eyebrow){font-size:12px;color:#e6ecf8;line-height:2}
.dfhs-hero-steps{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}
.dfhs-app .dfhs-hero-steps span{font-size:10px;color:#f5ead7!important;background:rgba(255,255,255,.09);padding:6px 10px;border:1px solid rgba(255,255,255,.13);border-radius:30px;white-space:nowrap}
.dfhs-hero-visual{width:180px;height:152px;position:relative;flex:0 0 180px}
.dfhs-mini-room{position:absolute;inset:5px 5px 5px 0;border-radius:16px;background:linear-gradient(#f8f5ed 0 73%,#d9c8a9 73% 100%);border:5px solid rgba(255,255,255,.22);box-shadow:0 14px 33px rgba(9,24,56,.3);overflow:hidden;transform:rotate(-4deg)}
.dfhs-mini-window{position:absolute;right:20%;top:13px;width:55%;height:77px;background:repeating-linear-gradient(90deg,#f0d5a3 0px,#f0d5a3 8px,#fffbef 8px,#fffbef 24px);border:8px solid #d0e1e5;border-radius:3px;box-shadow:0 4px 13px rgba(27,49,87,.12)}
.dfhs-mini-sofa{position:absolute;right:14%;bottom:28px;width:72%;height:37px;border-radius:12px 12px 6px 6px;background:#b6a28d;box-shadow:0 10px 0 -5px #72645a}
.dfhs-mini-rug{position:absolute;right:18%;bottom:7px;width:62%;height:13px;background:#eee4d7;border-radius:50%}
.dfhs-hero-spark{position:absolute;left:-5px;top:-12px;color:#f3c977;font-size:36px;filter:drop-shadow(0 2px 8px #e6bc75)}
.dfhs-app .dfhs-card{box-shadow:0 6px 24px rgba(18,39,72,.045);border-radius:19px}
.dfhs-app .dfhs-form{padding:26px}
.dfhs-stephelp{font-size:12px;color:#79879c;margin:-5px 0 19px;line-height:2}
.dfhs-stepstrip span{border-radius:12px;background:#f7f9fc;border-color:#e5eaf2;color:#76869d;font-size:12px}
.dfhs-stepstrip .active{background:#e8eef7;color:#253f6a;border-color:#b4c3dc;box-shadow:inset 0 -2px 0 #d0a357}
.dfhs-app .dfhs-file>span{transition:border-color .18s,background .18s;display:flex;align-items:center;justify-content:center;gap:8px;padding:24px 12px;min-height:165px}
.dfhs-app .dfhs-file:hover>span,.dfhs-app .dfhs-file:focus-within>span{border-color:#8a9dc5;background:#f4f7fd}
.dfhs-app .dfhs-file input[type=file]:focus-visible + span{outline:2px solid #4066a0;outline-offset:3px}
.dfhs-app .dfhs-product input:focus-visible+span,.dfhs-app .dfhs-source input:focus-visible{outline:2px solid #456aaa;outline-offset:2px}
.dfhs-app .dfhs-product span{padding:12px 8px;border-radius:12px}
.dfhs-app .dfhs-btn{font-size:12px;letter-spacing:0;min-height:46px;border-radius:12px}
.dfhs-app .dfhs-gold{background:#eac780!important}
.dfhs-app .dfhs-start-link{margin:0}
.dfhs-layout-embed{max-width:840px;border-radius:20px}
.dfhs-layout-embed .dfhs-layout{display:block;padding:18px}
.dfhs-layout-embed .dfhs-nav{display:flex;position:static;padding:8px;margin:0 0 16px;gap:8px;flex-wrap:wrap}
.dfhs-layout-embed .dfhs-nav button,.dfhs-layout-embed .dfhs-nav a{width:auto;flex:1 0 auto;text-align:center;margin:0}
.dfhs-layout-embed .dfhs-nav p,.dfhs-layout-embed .dfhs-navnote,.dfhs-layout-embed .dfhs-hero-visual{display:none}
.dfhs-layout-embed .dfhs-hero{min-height:120px;padding:20px 24px}
.dfhs-layout-embed .dfhs-hero-main strong{font-size:19px}
.dfhs-layout-embed .dfhs-hero-steps{display:none}
.dfhs-layout-embed .dfhs-apphead{padding:13px 18px}
.dfhs-layout-embed .dfhs-form{padding:20px}
.dfhs-login-public{max-width:760px;margin:20px auto 40px;padding:35px 40px;border:1px solid #e5e9f2;box-shadow:0 18px 45px rgba(25,44,79,.075);background:linear-gradient(145deg,#fff 0%,#fbfaf6 100%);border-radius:24px}
.dfhs-login-public .dfhs-login-art{margin:0 auto 18px;position:relative;width:80px;height:80px;background:#233e6d;border-radius:22px;display:grid;place-items:center;box-shadow:0 12px 24px #20395922}
.dfhs-login-public .dfhs-login-art span{font-size:52px;font-weight:900;color:#e6bf78;line-height:1}
.dfhs-login-public .dfhs-login-art i{font-style:normal;position:absolute;top:-12px;left:-12px;font-size:27px;color:#d1a356}
.dfhs-login-public .dfhs-overline{margin-bottom:12px;color:#b78c48}
.dfhs-login-public h2{font-size:clamp(21px,3vw,30px);line-height:1.65;color:#1c355b;margin:0 auto 9px}
.dfhs-login-public p{max-width:540px;margin:8px auto;color:#73839b;font-size:13px;line-height:2.1}
.dfhs-login-public .dfhs-login-steps{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:21px auto}
.dfhs-login-public .dfhs-login-steps span{border:1px solid #e4e7ed;background:#f9fafc;color:#526784;border-radius:26px;padding:7px 12px;font-size:11px}
.dfhs-login-public .dfhs-login-note{font-size:11px;color:#8897ab;margin-top:17px}
.dfhs-start-link{margin:8px auto;font-family:Vazirmatn,Tahoma,Arial,sans-serif;direction:rtl}
.dfhs-app [data-panel="gallery"] .dfhs-galleryitem:focus-within{box-shadow:0 0 0 3px #e0ebff}
@media(max-width:900px){.dfhs-account-note{display:none}.dfhs-hero-visual{flex-basis:130px;width:130px;height:118px}.dfhs-app .dfhs-hero{padding:21px}.dfhs-hero-steps{gap:5px}.dfhs-layout{padding:15px}}
@media(max-width:620px){.dfhs-app{max-width:100%;margin:8px auto 24px;border-radius:14px}.dfhs-apphead{padding:12px 14px}.dfhs-layout{padding:11px}.dfhs-app .dfhs-form{padding:16px}.dfhs-hero-visual{display:none}.dfhs-hero{min-height:150px}.dfhs-app .dfhs-hero-main strong{font-size:19px}.dfhs-hero-steps span{font-size:9px!important}.dfhs-app .dfhs-file>span{min-height:136px}.dfhs-login-public{padding:26px 18px;margin:12px auto 20px}.dfhs-layout-embed .dfhs-layout{padding:10px}.dfhs-layout-embed .dfhs-apphead{padding:12px}.dfhs-app .dfhs-stepstrip span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.dfhs-app .dfhs-loader{animation:none}.dfhs-app *{scroll-behavior:auto!important;transition:none!important}}
.dfhs-app .dfhs-zero-credit{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border:1px solid #e8d6ab;border-radius:13px;padding:13px 16px;background:#fff8e8;color:#5d5136;margin:0 0 16px}
.dfhs-app .dfhs-zero-credit strong{font-size:12px}.dfhs-app .dfhs-zero-credit span{font-size:11px;color:#866c43}.dfhs-app .dfhs-zero-credit .dfhs-btn{margin-right:auto;min-height:38px;font-size:11px}
.dfhs-app .dfhs-zero-credit[hidden]{display:none!important}
@media(max-width:900px){
  .dfhs-app .dfhs-layout{display:block;grid-template-columns:none;padding:14px}
  .dfhs-app .dfhs-nav{position:static;display:flex;flex-wrap:wrap;padding:7px;gap:6px;margin:0 0 20px}
  .dfhs-app .dfhs-nav button,.dfhs-app .dfhs-nav a{width:auto;flex:1 1 auto;text-align:center;margin:0;white-space:normal;line-height:1.55}
  .dfhs-app .dfhs-nav p,.dfhs-app .dfhs-navnote{display:none}
  .dfhs-app .dfhs-content{min-width:0;width:100%}
}
@media(max-width:620px){
 .dfhs-app .dfhs-layout{padding:10px}
 .dfhs-app .dfhs-nav{margin-bottom:16px}
 .dfhs-app .dfhs-hero{padding:20px 18px}
 .dfhs-app .dfhs-grid2{grid-template-columns:1fr}
 .dfhs-app .dfhs-form{padding:16px}
 .dfhs-app .dfhs-hero-steps{margin-top:12px}
 .dfhs-app .dfhs-apphead-meta{gap:6px}
}

/* 2.1.18: make next action visible above tall photo upload cards. */
.dfhs-step-quick{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f0f4fa;border:1px solid #d9e3f0;border-radius:13px;padding:12px 14px;margin-bottom:16px}
.dfhs-step-quick span{font-size:12px;color:#445b7a;font-weight:700}
.dfhs-step-quick .dfhs-btn{flex-shrink:0}
.dfhs-step h3{scroll-margin-top:100px}
@media(max-width:520px){.dfhs-step-quick{align-items:stretch}.dfhs-step-quick .dfhs-btn{width:100%}}

/* 2.1.22 opt-in direct checkout selection */
.dfhs-direct{margin:20px 0;padding:18px;border:1px solid #dce5f0;border-radius:16px;background:#fafcff}
.dfhs-direct h4{margin:0 0 8px}.dfhs-direct-rows{display:grid;gap:8px;margin:12px 0}
.dfhs-direct-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer}
.dfhs-direct-item input{width:20px;height:20px;flex-shrink:0}.dfhs-direct-item span{display:flex;flex-direction:column;gap:4px}.dfhs-direct-item small{color:#64748b}
.dfhs-direct-total{display:grid;gap:6px;padding:13px;background:#f1f5fa;border-radius:12px;margin:14px 0;font-size:14px}.dfhs-direct-total strong{font-size:17px;color:#263b72}
.dfhs-direct-notice,.dfhs-direct-message{font-size:12px;color:#576b86}.dfhs-direct-message{margin-top:10px}
@media(min-width:720px){.dfhs-direct-rows{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 2.1.24 — WooCommerce product context inside the integrated Studio. */
.dfhs-product-context{display:flex;align-items:center;gap:14px;background:#f9f6ef;border:1px solid #e5d8bd;border-radius:14px;padding:12px 14px;margin:0 0 17px;min-width:0}
.dfhs-product-context>img{width:84px;height:84px;flex:0 0 84px;object-fit:cover;border-radius:11px;background:#fff}
.dfhs-product-context-details{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;line-height:1.8}
.dfhs-product-context-details strong{color:#1e375a;font-size:13px}.dfhs-product-context-details a{font-size:11px}.dfhs-product-context-details label{display:flex;gap:8px;align-items:flex-start;font-size:12px;cursor:pointer}.dfhs-product-context-details label input{margin-top:6px;flex-shrink:0}.dfhs-product-context-details small{color:#6b7890;font-size:11px}
@media(max-width:480px){.dfhs-product-context{align-items:flex-start;gap:10px;padding:11px}.dfhs-product-context>img{width:65px;height:65px;flex-basis:65px}}
/* UX state: after registration, the registered project replaces onboarding. */
.dfhs-app.dfhs-project-active .dfhs-hero,
.dfhs-app.dfhs-project-active .dfhs-zero-credit,
.dfhs-app.dfhs-project-active [data-panel="studio"]>.dfhs-overline,
.dfhs-app.dfhs-project-active [data-panel="studio"]>h2,
.dfhs-app.dfhs-project-active [data-panel="studio"]>.dfhs-muted{display:none!important}
.dfhs-app .dfhs-status,.dfhs-app .dfhs-result{border:1px solid #e4eaf3;border-radius:16px;box-shadow:0 12px 32px rgba(38,59,114,.055)}
.dfhs-app .dfhs-status [data-status-title]{color:#263b72;font-size:19px}
.dfhs-app .dfhs-status [data-status-text]{line-height:2;color:#51627d}
.dfhs-app .dfhs-primary{background:#263b72!important}
.dfhs-app .dfhs-gold{background:#ffb703!important;color:#263b72!important}
.dfhs-app .dfhs-btn:disabled{opacity:.55;cursor:wait}

/* 2.1.26 UX: accessible, intentional destructive action dialog */
.dfhs-dialog-layer{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px}
.dfhs-dialog-backdrop{position:absolute;inset:0;background:rgba(16,29,53,.62)}
.dfhs-dialog{position:relative;background:#fff;color:#263b72;border-radius:18px;padding:24px;width:min(100%,430px);box-shadow:0 25px 75px #0d1a3550;font-family:Vazirmatn,Tahoma,Arial,sans-serif}
.dfhs-dialog h3{font-size:19px;margin:0 0 10px}.dfhs-dialog p{line-height:1.9;margin:0 0 20px;color:#4b5870}
.dfhs-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.dfhs-dialog .dfhs-btn{min-height:44px;padding:10px 18px;border-radius:10px}
.dfhs-dialog .dfhs-danger{background:#a52130;border:1px solid #a52130;color:white;cursor:pointer}
.dfhs-dialog :focus-visible{outline:3px solid #ffb703;outline-offset:3px}
@media(max-width:520px){.dfhs-dialog-actions .dfhs-btn{flex:1}}

/* Gallery derivatives and failed-project history stay scoped to HOMAI. */
.dfhs-app .dfhs-tileimage{position:relative;overflow:hidden}
.dfhs-app .dfhs-tileimage [hidden]{display:none!important}
.dfhs-app .dfhs-imagehint{position:absolute;inset:auto 8px 8px;text-align:center;font-size:11px;background:rgba(255,255,255,.92);border-radius:8px;padding:6px}
.dfhs-app .dfhs-image-loading{background:linear-gradient(100deg,#edf0f5,#f8f9fb,#edf0f5);background-size:200% 100%;animation:dfhs-gallery-load 1.8s ease-in-out infinite}
.dfhs-app .dfhs-image-error{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:12px}
.dfhs-app .dfhs-image-error .dfhs-imagehint{position:static;background:transparent}
.dfhs-app .dfhs-failed-list{grid-column:1/-1;border:1px solid #e8ebef;border-radius:12px;padding:12px;background:#fafbfc}
.dfhs-app .dfhs-failed-list summary{cursor:pointer;color:#53627a;font-size:13px}
.dfhs-app .dfhs-failed-list ul{list-style:none;margin:12px 0 0;padding:0}
.dfhs-app .dfhs-failed-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e8ebef;padding:12px 0}
.dfhs-app .dfhs-failed-list strong,.dfhs-app .dfhs-failed-list small{display:block;overflow-wrap:anywhere}
.dfhs-app .dfhs-failed-list strong{font-size:12px}.dfhs-app .dfhs-failed-list small{font-size:11px;color:#65748b}
.dfhs-app .dfhs-failed-list button{flex-shrink:0}
.dfhs-app .dfhs-galleryactions{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.dfhs-app .dfhs-galleryactions .dfhs-btn{width:100%;min-width:0;white-space:normal;box-sizing:border-box}
@keyframes dfhs-gallery-load{0%,100%{background-position:0 0}50%{background-position:100% 0}}
@media(prefers-reduced-motion:reduce){.dfhs-app .dfhs-image-loading{animation:none}}
@media(max-width:600px){.dfhs-app .dfhs-failed-list li{align-items:flex-start;flex-direction:column}}
