/* NAJOOM accessible step-by-step majlis studio – responsive and readable. */
body>main{max-width:1680px!important;padding-inline:clamp(10px,2vw,28px)!important}
body>main>.layout{grid-template-columns:minmax(355px,420px) minmax(0,1fr)!important;gap:16px!important}
body .nj-majlis-tools.nj-easy-tools{padding:15px!important;scroll-padding:12px;scrollbar-width:thin;
  background:#fff;display:flex;flex-direction:column;overflow-y:auto!important;overflow-x:hidden!important}
.nj-tools-heading{flex:none;position:relative!important;top:auto!important;background:#fff!important;
 font-size:1.08rem!important;padding:4px 2px 12px!important;min-height:40px}
.nj-step-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none;padding:3px 0 13px}
.nj-step-tab{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:9px;
 min-height:53px!important;margin:0!important;padding:9px 8px!important;border:1px solid #d9d5ca!important;
 background:#f7f6f2!important;color:#294052!important;font-size:.87rem!important;font-weight:750;
 text-align:center;line-height:1.3;white-space:normal}
.nj-step-tab[aria-pressed="true"]{background:#112b3c!important;color:#f7dfb2!important;border-color:#112b3c!important}
.nj-step-tab:focus-visible{outline:3px solid #cba668;outline-offset:2px}
.nj-step-icon{font-size:1.35rem;line-height:1}
.nj-step-panel{display:block;flex:0 0 auto;min-width:0;padding:14px;border:1px solid #ece7df;border-radius:13px;background:#fff}
.nj-step-panel[hidden]{display:none!important}
.nj-step-title{font-size:1.02rem;line-height:1.4;margin:0 0 6px;color:#1b3748}
.nj-step-hint{font-size:.85rem;line-height:1.6;margin:0 0 14px;color:#596b76}
.nj-step-panel label{display:block;font-size:.91rem!important;font-weight:600;margin:11px 0!important;line-height:1.5}
.nj-step-panel input,.nj-step-panel select,.nj-step-panel button{font-size:1rem!important;min-height:46px!important}
.nj-step-panel input[type="color"]{padding:4px!important;min-height:48px!important}
.nj-step-panel button{border-radius:9px!important;white-space:normal;line-height:1.45}
.nj-step-panel #fabricLibrary{min-width:0;overflow-x:hidden}
.nj-step-panel #fabricLibrary button{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.nj-step-panel #fabricLibrary img{max-width:65px;max-height:65px;object-fit:cover}
.nj-step-panel #sizeControls{gap:8px!important}
.nj-step-panel #sizeControls button{padding:8px 3px!important;font-size:.85rem!important}
.nj-studio-feedback{position:sticky;bottom:-15px;flex:none;background:#f8f4eb;z-index:2;border-top:1px solid #eadfca;
 padding:8px!important;margin:12px -2px -8px!important;min-height:28px;max-height:90px;overflow-y:auto;
 font-size:.83rem;line-height:1.5;color:#394d57}
body .nj-majlis-view.nj-easy-view{padding:13px!important;gap:10px!important}
.nj-view-toolbar{display:flex;flex:none;flex-wrap:wrap;gap:8px;align-items:center}
.nj-view-toolbar button{width:auto!important;min-height:44px!important;padding:10px 14px!important;
 margin:0!important;background:#183345!important;color:#f6e7c8!important;font-size:.88rem!important;font-weight:700}
.nj-view-toolbar button:focus-visible{outline:3px solid #c7a36b;outline-offset:2px}
body .nj-majlis-view.nj-easy-view #view{border-radius:12px;background:#eeeae4;min-height:0!important}
body .nj-majlis-view #hint{font-size:.82rem!important;max-height:none!important}
@media(max-width:980px) and (min-width:801px){
 body>main>.layout{grid-template-columns:minmax(320px,40%) minmax(0,1fr)!important;gap:10px!important}
 .nj-view-toolbar button{padding:8px 9px!important;font-size:.8rem!important}
}
@media(max-width:800px){
 body>main>.layout{display:flex!important;flex-direction:column!important;gap:8px!important;min-height:0}
 body .nj-majlis-view.nj-easy-view{order:1!important;flex:0 0 46%!important;max-height:46%!important;
 width:100%;min-height:0!important;gap:6px!important;padding:8px!important}
 .nj-view-toolbar{flex:none;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:6px;padding:0 0 3px}
 .nj-view-toolbar button{white-space:nowrap;flex:none;min-height:38px!important;font-size:.8rem!important;padding:8px 11px!important}
 body .nj-majlis-view #hint{font-size:.73rem!important;line-height:1.3;max-height:2.7em!important;overflow:hidden}
 body .nj-majlis-tools.nj-easy-tools{order:2!important;flex:1 1 0%!important;max-height:none!important;
 width:100%!important;min-height:0!important;padding:10px 12px!important}
 .nj-step-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding-bottom:10px}
 .nj-step-tab{flex-direction:column;gap:3px;min-height:60px!important;font-size:.69rem!important;padding:5px 3px!important}
 .nj-step-icon{font-size:1.1rem}
 .nj-step-panel{padding:12px!important}
 .nj-tools-heading{padding:3px 2px 8px!important;margin-bottom:6px!important;font-size:.95rem!important}
}
@media(max-width:390px){.nj-step-tab{font-size:.63rem!important}.nj-view-toolbar button{font-size:.75rem!important}}
@media(max-height:590px) and (max-width:800px){
 body .nj-majlis-view.nj-easy-view{flex-basis:40%!important;max-height:40%!important}
 .nj-tools-heading{display:none}
}

.nj-advanced-options{margin-top:16px;border:1px solid #e6dfd4;border-radius:10px;padding:8px;background:#f9f7f3}
.nj-advanced-options>summary{padding:11px;color:#274154;font-size:.89rem;font-weight:700;cursor:pointer}
.nj-advanced-options[open]>summary{border-bottom:1px solid #e7ddd0;margin-bottom:10px}
.nj-advanced-options label,.nj-advanced-options button,.nj-advanced-options select{max-width:100%}
.nj-advanced-options section{min-width:0}
.nj-step-panel select:focus-visible,.nj-step-panel input:focus-visible{outline:3px solid #c39e5d;outline-offset:2px}
