
/* Rushkar Build / Studio UI. Loaded after the existing functional styles. */
:root{--accent:#6846ec;--ink:#17213b;--muted:#66718a;--line:#e2e6f0;--bg:#f5f6fa;--surface:#fff;--shadow:0 16px 48px rgba(27,37,67,.055)}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.65;background:var(--bg);color:var(--ink);overflow-wrap:break-word}
button,.button,input,textarea,select{font:inherit}button,.button{min-height:44px;border-radius:11px;padding:10px 16px;font-weight:600;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}button:hover:not(:disabled),.button:hover{border-color:#b2a4ed;background:#f5f2ff;transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(0)}button:disabled{opacity:.52;cursor:not-allowed;transform:none;box-shadow:none}.primary,.help-card .button{background:linear-gradient(135deg,#7953f5,#5934d3);color:#fff;border-color:#6846ec;box-shadow:0 6px 16px #6846ec25}.primary:hover:not(:disabled),.help-card .button:hover{background:linear-gradient(135deg,#6841e6,#4c29c0);border-color:#5934d3;color:white;box-shadow:0 9px 23px #6846ec35}.primary:focus-visible{outline-color:#b9a6ff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #aa94fb;outline-offset:3px}a{text-underline-offset:4px}h1,h2,h3{color:var(--ink)}
.nav{min-height:80px;padding:16px 32px;gap:24px;border-bottom:1px solid var(--line);background:#fffffff5;z-index:20}.brand{font-size:21px;display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.brand b{background:linear-gradient(135deg,#242846,#6846ec);width:38px;height:38px;display:grid;place-items:center;padding:0;border-radius:12px;margin:0;box-shadow:0 5px 12px #4c29c023}.label{font-size:12px;border-left:1px solid var(--line);padding-left:22px}.nav-actions{gap:12px;font-size:12px;flex-wrap:wrap}.nav-actions a{font-weight:600;text-decoration:none}.nav-actions button{font-size:12px;min-height:40px}#balance:not(:empty),#credits:not(:empty){background:#efebff;border:1px solid #e1d8fc;border-radius:30px;color:#5c3bc5;padding:7px 12px;font-weight:700;white-space:nowrap}#logout,#signout{color:#596276;background:#f7f8fb}#logout:hover,#signout:hover{color:#a52b3a;background:#fff3f4;border-color:#f3c8cf}
.app{grid-template-columns:242px minmax(0,1fr);min-height:calc(100vh - 80px)}.app>aside{background:white;padding:28px 20px;border-right:1px solid var(--line);min-width:0}.app>aside>h2{letter-spacing:1.6px;font-size:10px;font-weight:700;margin-top:32px}.app>aside>.primary{width:100%}#saved-stores button,#sites-list button{display:block;width:100%;text-align:left;white-space:normal;margin:7px 0;font-size:12px;background:#f9fafc;border-color:transparent;box-shadow:none}#saved-stores button:hover,#sites-list button:hover{background:#f0ebff;border-color:#d9cdfa}.help-card{background:linear-gradient(150deg,#f4f0ff,#f8f9ff);border:1px solid #e9e1fb;border-radius:18px;padding:20px;margin-top:35px}.help-card h3{font-size:19px;margin:12px 0}.help-card p,.help-card small{font-size:12px;line-height:1.7}.help-card strong{font-size:15px}.help-card .button{text-align:center;font-size:12px}.help-card>a:last-child{text-align:center;font-size:12px}
.app>main{padding:40px clamp(20px,4vw,64px) 60px;width:100%;min-width:0}#wizard,#store-wizard{max-width:1080px;margin:auto}.intro{max-width:800px;margin:4px auto 34px;text-align:center}.eyebrow{display:inline-block;font-size:10px;letter-spacing:2px;font-weight:700;color:#6846ec;border:1px solid #e3dafb;background:#f0ebff;padding:6px 12px;border-radius:30px}.intro h1{font-size:clamp(32px,3.4vw,49px);line-height:1.15;letter-spacing:-1.9px;font-weight:750;margin:18px 0 16px}.intro p{font-size:15px;color:var(--muted);max-width:610px;margin:0 auto}.steps,.store-steps{gap:8px;background:#eaeef5;padding:6px;border-radius:14px;margin:0 0 24px}.steps button,.store-steps button{min-width:0;border:1px solid transparent;background:transparent;border-radius:10px;color:#6c7690;font-size:12px;line-height:1.4;padding:12px 9px;min-height:46px}.steps button[aria-current=step],.store-steps button[aria-current=step]{background:white;color:#5b3acb;border-color:#e8e0fb;box-shadow:0 3px 8px #24325209;font-weight:700}.card,.card.step[data-panel="0"]{padding:32px;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);max-width:none}.card h2,.card.step[data-panel="0"]>h2{font-size:24px;font-weight:700;letter-spacing:-.7px;margin-bottom:12px}.card>p{color:var(--muted)}.card>h2+p{margin-bottom:24px}label{font-size:12px;color:#37425e;font-weight:600;line-height:1.6}input,textarea,select{background:#fbfcfe;border:1px solid #dde2ee;padding:12px 14px;border-radius:11px;font-size:14px;min-height:46px;max-width:100%;transition:border-color .18s,box-shadow .18s}input:hover,textarea:hover,select:hover{border-color:#b9b3d1}input:focus,textarea:focus,select:focus{background:white;border-color:#9a7af2;box-shadow:0 0 0 3px #7655ed0d}input::placeholder,textarea::placeholder{color:#929aac}input[type=radio],input[type=checkbox]{min-height:0;accent-color:var(--accent);width:18px;height:18px;flex-shrink:0}input[type=color]{min-height:48px}input[type=file]{font-size:12px;padding:10px}input[type=file]::file-selector-button{border:0;padding:7px 11px;margin-right:12px;border-radius:7px;color:#5934c0;background:#eee8ff;font-weight:600}.grid{gap:0 22px}.note{font-size:12px;color:var(--muted)}details{border:1px solid #e6e8f1;border-radius:12px;padding:12px 16px;background:#fcfcff}details summary,.card summary{font-size:12px;color:#56627d;font-weight:600;cursor:pointer}details[open]{background:white}details[open]>summary{margin-bottom:12px}.easy-advanced{padding:0;border:0}.easy-logo{border-style:dashed;background:#f9f7ff;border-radius:15px;padding:12px 20px}#reference{font-size:16px;padding:15px;background:#fcfbff}.easy-plan,#store-plan{padding:20px;background:#f8f9fd;border:1px solid var(--line);border-radius:14px;margin-top:24px;font-size:13px}.wizard-footer{padding:16px 0;margin:4px 0 14px;gap:12px}.wizard-footer>.primary{min-width:160px}.draft-actions{padding-top:18px;gap:8px}.draft-actions button{font-size:11px;background:transparent;min-height:38px}.store-choices{gap:15px}.store-choices label{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:23px;border:1px solid #e0e5ef;border-radius:16px;background:white;cursor:pointer;transition:border .18s,box-shadow .18s,background .18s}.store-choices label:hover{border-color:#baa9ed;box-shadow:0 8px 24px #3c2c7510}.store-choices label:has(input:checked){border:2px solid #8865ee;padding:22px;background:linear-gradient(150deg,#f8f5ff,#fff);box-shadow:0 6px 22px #6846ec0e}.store-choices input{margin:0 0 16px}.store-choices strong{font-size:14px;color:#26314b}.store-choices span{font-size:12px;line-height:1.8;margin-top:8px}.feature-choices{gap:8px 20px}.feature-choices label{background:#f7f8fc;border-radius:8px;padding:9px 12px;margin-bottom:0}.product-editor{gap:24px;border-top:1px solid var(--line);padding-top:24px}.product-editor>div{min-width:0}#product-list button[aria-pressed=true]{border-color:#cbbcf6;background:#f1ebff;color:#5938bf;font-weight:700}#product-progress{font-size:12px;color:#64708b}#build-home,#start-build{padding:14px 24px;font-size:14px;min-height:50px}#build-home{margin-top:8px}#skip-reference{font-size:12px}.status-box{padding:14px 18px;border:1px solid #dce2f0;border-left:3px solid #8260ea;background:#fff;border-radius:10px;font-size:12px;overflow-wrap:anywhere;line-height:1.8;margin:16px 0}.status-box:empty{display:none}.status-box[data-tone=error]{border-left-color:#c04454;background:#fff8f9}.status-box[data-tone=success]{border-left-color:#19866a;background:#f4fcf8}.status-box[data-tone=loading]{border-left-color:#6846ec;background:#f8f5ff}.status-box a{font-weight:700}.workspace-title h1{font-size:30px;letter-spacing:-1px}.toolbar{background:white;padding:12px;border:1px solid var(--line);border-radius:14px;gap:8px}.toolbar button,.toolbar select{font-size:12px}.editor{border-radius:18px;box-shadow:var(--shadow)}.page-panel{background:#fcfcfe}.canvas{background:#e9edf5;padding:0 0 14px}.canvas-tools{padding:12px;gap:8px}.canvas-tools button{min-height:36px}.approval-card{border-color:#d9cbfa;background:linear-gradient(120deg,#f3edff,#fff);border-radius:16px;padding:22px}#store-frame{border-radius:16px;box-shadow:0 10px 28px #18244010}dialog{border:1px solid #e3e4ef;border-radius:23px;padding:30px;box-shadow:0 25px 100px #121c4433}dialog::backdrop{background:#101b386e;backdrop-filter:blur(5px)}dialog h2{font-size:23px;letter-spacing:-.6px}dialog button{margin:5px 4px 0 0}#auth{max-width:440px}#auth>button.primary{min-width:130px}#word-targets{gap:12px}.page-word-row{background:#fbfcff;border-radius:12px}.inline{flex-wrap:wrap}.inline>*{min-width:0}.inline>input{flex:1}.toolbar a{align-self:center}.nav,.card,.choice-card{animation:studio-in .28s ease-out}@keyframes studio-in{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:none}}
.choice-home{max-width:1160px!important;padding:64px 28px 55px!important}.choice-home .intro{margin-bottom:36px}.choice-home .intro h1{font-size:clamp(38px,4.4vw,61px);letter-spacing:-2.5px}.home-kicker{display:inline-flex;gap:8px;align-items:center;border:1px solid #e4ddf6;background:white;border-radius:30px;padding:6px 13px;font-size:11px;font-weight:600;color:#69518d}.home-kicker:before{content:'';width:7px;height:7px;border-radius:50%;background:#8667ee}.choice-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}.choice-card{display:flex;flex-direction:column;position:relative;background:white;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:var(--shadow);transition:border .18s,transform .18s,box-shadow .18s}.choice-card:hover{border-color:#b8a6ee;transform:translateY(-4px);box-shadow:0 18px 45px #4e368717}.choice-icon{display:grid;place-items:center;width:52px;height:52px;background:#eee9fe;border:1px solid #e1d8fa;border-radius:16px;color:#6541d5;margin-bottom:25px}.choice-icon svg{width:25px;height:25px}.choice-card:nth-child(2) .choice-icon{background:#eaf6f3;border-color:#d6eee6;color:#267c68}.choice-label{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#786a9e}.choice-card h2{font-size:29px;line-height:1.2;letter-spacing:-1px;margin:12px 0}.choice-card p{color:var(--muted);font-size:14px}.choice-features{padding:14px 0 22px;margin:0!important;font-size:12px!important;line-height:2!important}.choice-cta{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f4f0ff;border:1px solid #e3d9fc;padding:13px 16px;border-radius:11px;font-size:13px;font-weight:700;color:#603dc8;margin-top:auto}.choice-card:hover .choice-cta{background:#6846ec;color:white;border-color:#6846ec}.choice-cta b{font-size:19px;font-weight:400}.home-process{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:27px 0;color:#748098;font-size:12px}.home-process span{display:flex;gap:8px;align-items:center}.home-process b{display:grid;place-items:center;background:white;border:1px solid var(--line);width:23px;height:23px;border-radius:50%;font-size:10px;color:#6b50bb}.choice-help{text-align:center;font-size:12px;color:var(--muted);margin-top:28px;line-height:1.9}.choice-help a{font-weight:600}.home-foot{text-align:center;color:#9299aa;font-size:11px;border-top:1px solid var(--line);padding:22px}.mobile-context{display:none}
@media(min-width:1100px){.app>aside{position:sticky;top:0;align-self:start;min-height:calc(100vh - 80px)}}
@media(max-width:1100px){.app{grid-template-columns:205px minmax(0,1fr)}.nav{padding:16px 22px}.label{display:none}.app>main{padding:30px 22px}.store-choices label{padding:17px}.store-choices label:has(input:checked){padding:16px}.card,.card.step[data-panel="0"]{padding:25px}.store-steps button{font-size:11px}.product-editor{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:750px){body{font-size:14px}.nav{padding:14px 16px;gap:12px;flex-wrap:wrap;min-height:70px}.brand{font-size:19px}.brand b{width:33px;height:33px;border-radius:10px}.nav-actions{width:100%;justify-content:flex-start;font-size:11px;gap:8px}.nav-actions button{padding:8px 11px;min-height:38px}.app{display:flex;flex-direction:column}.app>main{padding:27px 16px 36px;order:1}.app>aside{order:2;border-right:0;border-top:1px solid var(--line);padding:22px 16px;min-height:0}.app>aside>.primary{width:auto;min-width:180px}#saved-stores,#sites-list{display:flex;gap:8px;overflow:auto}#saved-stores button,#sites-list button{min-width:160px;max-width:230px}.help-card{max-width:600px;margin:24px auto 0}.intro{margin-bottom:25px}.intro h1{font-size:34px;letter-spacing:-1.3px;margin:16px 0 12px}.intro p{font-size:13px}.eyebrow{font-size:9px;letter-spacing:1.4px}.card,.card.step[data-panel="0"]{padding:23px 18px;border-radius:18px}.card h2,.card.step[data-panel="0"]>h2{font-size:22px}.grid,.store-choices,.product-editor{grid-template-columns:1fr}.store-choices{gap:10px}.store-choices label{display:grid;grid-template-columns:22px 1fr;gap:3px 12px;padding:18px}.store-choices label:has(input:checked){padding:17px}.store-choices input{grid-row:1/3;margin:3px 0}.store-choices strong,.store-choices span{grid-column:2}.store-choices span{margin-top:4px}.steps button,.store-steps button{font-size:10px;padding:10px 5px;line-height:1.6}.store-steps{grid-template-columns:1fr 1fr}.steps{gap:4px;padding:4px}.wizard-footer{position:sticky;bottom:0;background:#f5f6faf2;backdrop-filter:blur(8px);padding:12px 0;z-index:5;border-top:1px solid var(--line)}.wizard-footer .primary{min-width:150px}.draft-actions button{flex:1;min-width:130px}.feature-choices{gap:7px}.feature-choices label{font-size:11px}#word-targets{grid-template-columns:1fr}#build-home,#start-build{width:100%;padding:14px 10px;font-size:13px}.toolbar{padding:10px;gap:7px}.toolbar button{flex:1 1 auto;min-height:42px}.toolbar select{max-width:100%;width:100%}.editor{display:flex;flex-direction:column}.workspace-title h1{font-size:26px}.choice-home{padding:35px 16px!important}.choice-home .intro h1{font-size:39px;letter-spacing:-1.6px}.choice-cards{grid-template-columns:1fr;gap:16px}.choice-card{padding:26px;border-radius:20px}.choice-card h2{font-size:27px}.choice-icon{margin-bottom:18px}.home-process{gap:9px;font-size:10px}.home-process b{width:20px;height:20px}.home-foot{font-size:10px}dialog{padding:24px 20px;border-radius:20px}.easy-logo{padding:10px 14px}.inline{align-items:stretch}.inline>button{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Version 9: centered shell, authentic Rushkar branding and page selection. */
.choice-home{width:min(100%,1160px);margin-inline:auto!important}.choice-home .intro{margin-inline:auto}.choice-cards{width:100%;margin-inline:auto}.nav{padding-inline:max(22px,calc((100vw - 1500px)/2))}.brand{gap:12px;flex-shrink:0}.rushkar-logo{width:140px;height:auto;max-height:50px;object-fit:contain;display:block}.build-badge{font-size:12px;font-weight:700;letter-spacing:.3px;border-left:1px solid #e1e6ef;padding:4px 0 4px 12px;color:#146da1}.app{max-width:1600px;margin-inline:auto}.nav-actions{min-width:0}.choice-home .choice-card{min-width:0}.choice-home .intro h1{font-size:clamp(36px,4vw,58px)}#home-signup{color:white}#home-auth{max-width:460px}#home-auth-intro{color:var(--muted);font-size:13px}#home-auth-submit{width:100%;margin:8px 0}#home-auth-switch{width:100%;border:0;background:transparent;color:var(--accent);font-size:12px}#home-auth-close{display:block;margin:10px auto 0}#home-notice{max-width:760px;margin:0 auto 24px}.page-select-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:20px 0}.page-select-tools label{flex:1;margin:0;min-width:180px}.page-select-tools button{font-size:11px}.page-selection-row{display:grid;grid-template-columns:minmax(0,1fr) 122px;gap:15px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px 15px;background:#fcfdff;min-width:0}.page-selection-row:has(input[type=checkbox]:checked){background:#f6f3ff;border-color:#ddd1fa}.page-selection-row>label:first-child{display:flex;align-items:center;gap:12px;margin:0;min-width:0}.page-selection-row>label span{overflow-wrap:anywhere}.page-selection-row input[type=checkbox]{margin:0;flex-shrink:0}.word-cell{display:flex;align-items:center;gap:8px;font-size:10px;margin:0}.word-cell input{width:85px;min-height:38px;padding:7px;margin:0;font-size:12px}.word-cell input:disabled{opacity:.4;background:#f1f3f7}#word-targets{display:grid;grid-template-columns:1fr;gap:9px}.full-build-choice{display:flex;gap:10px;align-items:flex-start;background:#f5f1ff;border:1px solid #e1d7fb;border-radius:11px;padding:14px;font-size:12px}.full-build-choice input{margin:2px 0 0}.brand-live-preview{--preview-brand:#6548ed;--preview-secondary:#3d7460;--preview-soft:#f4f0ff;display:flex;gap:12px;flex-direction:column;align-items:flex-start;background:var(--preview-soft);border-radius:14px;padding:22px;border-top:4px solid var(--preview-secondary);margin:15px 0}.brand-live-preview>span:first-child{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#526070}.brand-live-preview strong{font-size:21px;line-height:1.3;color:var(--preview-brand)}.brand-preview-button{background:var(--preview-brand);color:white;border-radius:8px;font-size:11px;font-weight:600;padding:8px 14px}#reset-logo-colours{font-size:11px}#secondary-color{min-height:47px}.nav-actions>a{white-space:normal}#home-login{border-color:#d9e0ec}.choice-card{border-top:3px solid #e8e1fb}.choice-card:nth-child(2){border-top-color:#daeee5}
@media(max-width:750px){.nav{padding-inline:16px}.rushkar-logo{width:118px;max-height:42px}.nav-actions{gap:8px}.nav-actions .primary{margin-left:auto}.choice-home{margin:0 auto!important;padding-inline:16px!important}.page-selection-row{grid-template-columns:minmax(0,1fr) 110px;padding:12px;gap:8px}.word-cell input{width:75px}.page-select-tools button{flex:1}.page-select-tools label{flex-basis:100%}.brand-live-preview strong{font-size:19px}.choice-home .intro h1{font-size:39px}.build-badge{font-size:11px}.nav .label{display:none}}
.steps{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:750px){.steps{grid-template-columns:1fr 1fr}}
.field-error{display:block!important;color:#b22842;font-size:12px;font-weight:500;margin:6px 0 2px;line-height:1.6}[aria-invalid=true]{border-color:#c53c55!important;background:#fff9fa!important;box-shadow:0 0 0 3px #c53c5510!important}.action-progress{position:fixed;right:22px;bottom:22px;z-index:1000;display:flex;align-items:center;gap:12px;max-width:min(480px,calc(100vw - 32px));background:#19233e;color:white;padding:17px 21px;border-radius:15px;box-shadow:0 12px 45px #13234333;font-size:13px}.action-progress small{color:#c1c7d6;white-space:nowrap}.busy-spinner,button[data-loading=true]:before{display:inline-block;width:18px;height:18px;border:2px solid #ffffff50;border-top-color:currentColor;border-radius:50%;animation:busy-spin .8s linear infinite;flex-shrink:0}button[data-loading=true]{pointer-events:none;opacity:.8}button[data-loading=true]:before{content:'';vertical-align:middle;margin-right:8px;width:13px;height:13px;border-color:#7775;border-top-color:currentColor}@keyframes busy-spin{to{transform:rotate(360deg)}}#menu-mapping{display:grid;gap:13px;margin-top:18px}.mapping-row{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;border:1px solid var(--line);border-radius:12px;padding:16px}.mapping-row h4{grid-column:1/-1;margin:0;font-size:14px}.mapping-row label{margin:0}.mapping-row input,.mapping-row select{font-size:12px;min-height:40px;padding:8px}.mapping-row .reference-choice{align-items:center;font-size:12px}.mapping-actions{display:flex;gap:6px;align-items:end}.mapping-actions button{font-size:11px;min-height:36px}.photo-card{display:flex;align-items:center;gap:12px;background:#f7f8fc;border-radius:12px;padding:12px;margin:12px 0}.photo-card img{width:92px;height:66px;object-fit:cover;border-radius:8px}.photo-card input{font-size:12px;min-height:38px;margin:0}.photo-card button{font-size:11px;min-height:36px}.photo-card>div{flex:1;min-width:0}.photo-card small{font-size:10px;color:var(--muted)}@media(max-width:750px){.mapping-row{grid-template-columns:1fr}.mapping-row h4{grid-column:1}.action-progress{right:16px;bottom:16px;font-size:12px;padding:14px}.photo-card{flex-wrap:wrap}.photo-card>div{min-width:140px}}@media(prefers-reduced-motion:reduce){.busy-spinner,button[data-loading=true]:before{animation:none;border-style:dotted}}
