:root{--ink:#382842;--muted:#67556f;--purple:#764495;--border:#dfcae9;--pink:#f8e4ef}
body{color:var(--ink);font-family:'Mali',Arial,sans-serif;font-size:16px;line-height:1.65;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:'Mali',Arial,sans-serif;letter-spacing:normal;line-height:1.5}button,a,input,select,textarea{touch-action:manipulation}
.sub,.hint,.caption,.micro,.preview-top,.step-eyebrow{color:var(--muted);opacity:1}.sub{font-size:12px;letter-spacing:1px}.hint{font-size:13px;line-height:1.75}
.tile span,.sample-name,.layer-row button{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.65}.tile span{min-height:48px;height:auto}.sample-name{height:auto}.tile{height:auto;min-width:0}
.workbench{grid-template-columns:245px minmax(300px,1fr) 390px;gap:18px}.object-editor{padding:18px;max-height:90vh;overflow:auto;scrollbar-gutter:stable}.object-editor h2{font-size:21px;line-height:1.5;margin:10px 0 14px}.object-editor h3{font-size:16px;line-height:1.5}.object-editor label{font-size:14px;font-weight:700;margin-top:15px;display:block}.object-editor input,.object-editor select,.object-editor textarea{width:100%;min-height:46px;font-size:15px;color:#382842;border:1px solid #cdb4da;border-radius:10px;background:#fff;padding:10px;box-sizing:border-box}.object-editor select{white-space:normal;height:auto}.object-editor input[type=color]{height:46px;padding:4px}.object-editor input[type=range]{padding:0}.object-editor textarea{min-height:104px}.object-editor [hidden]{display:none!important}
.wizard-steps{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:6px;background:#f6eaf9;border-radius:14px;padding:6px;position:sticky;top:-18px;z-index:3;border:1px solid var(--border)}.wizard-steps button{border:0;border-radius:10px;background:transparent;color:#674873;padding:10px 3px;font-size:12px;font-weight:700;min-height:68px;line-height:1.5;white-space:normal}.wizard-steps b{display:block;width:25px;height:25px;border-radius:50%;background:#ead4f2;margin:0 auto 4px;font-size:14px}.wizard-steps button.active{background:#fff;box-shadow:0 3px 12px #79439518;color:#673085}.wizard-steps .active b{background:#7c419d;color:#fff}.step-eyebrow{font-size:11px;letter-spacing:1px;margin-top:20px}.wizard-page{min-width:0}.wizard-page .wide{display:block;text-align:center;text-decoration:none;margin:12px 0}.gift-3d-link{display:block;padding:13px;border-radius:12px;background:#f8e8ce;color:#70460e;font-size:14px;font-weight:700;text-decoration:none;margin-top:12px}
.wizard-navigation{display:flex;gap:8px;justify-content:space-between;margin-top:20px;padding-top:14px;border-top:1px solid var(--border)}.wizard-navigation button{min-height:46px;font-size:14px}.wizard-finishing{border-top:1px solid var(--border);margin-top:16px;padding-top:10px}.wizard-finishing .wide{margin-top:10px;min-height:46px}.palette-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.palette-choice{border:1px solid #ddc5e5;border-radius:12px;background:#fff;padding:10px;color:#4c345b;font-size:12px;text-align:left;line-height:1.5;min-height:76px}.palette-choice:hover{border-color:#874da6;background:#faf0ff}.palette-colors{display:flex;gap:4px;margin-bottom:8px}.palette-colors i{display:block;height:18px;flex:1;border-radius:5px;border:1px solid #0001}.color-swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;margin:12px 0}.color-swatches .color-chip{height:34px;min-height:34px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #cbb4d6;padding:0;width:100%}.color-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.color-pair>*{min-width:0}.wizard-page details{margin-top:14px}.wizard-page summary{font-size:15px;line-height:1.7}.btn.primary{background:#784297;border-color:#784297;color:#fff}.btn{font-weight:600;line-height:1.5}.btn:disabled{opacity:.45}.object-editor .edit-toolbar button{font-size:13px;line-height:1.55;min-height:44px}.board{min-width:0}#card{max-width:100%;height:auto;width:auto;object-fit:contain;touch-action:none}.preview{min-width:0}.preview-top{font-size:11px;line-height:1.7;flex-wrap:wrap;gap:5px}
.main-nav{flex-wrap:wrap}.main-nav a{white-space:normal}.hero p{color:#5a4564}.heading h1{line-height:1.5}.hero .kicker{color:#704885}.hero h1{overflow-wrap:normal}.foot{line-height:1.7;gap:12px;flex-wrap:wrap}.object-editor a:focus-visible,.object-editor button:focus-visible,.object-editor select:focus-visible{outline:3px solid #c86c9d;outline-offset:3px}
.hero-art{overflow:hidden;max-width:100%}
@media(max-width:1300px){.workbench{grid-template-columns:220px minmax(280px,1fr)}.preview{position:static;align-self:start}.object-editor{grid-column:1/-1;position:static;max-height:none}.wizard-steps{position:static}.studio-wizard{max-width:850px;margin:auto}.palette-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.workbench{display:flex;flex-direction:column}.preview{order:0;width:100%;position:static}.object-editor{order:1;width:100%;padding:16px}.library{order:2;width:100%}.board{padding:12px}#card{max-height:48vh;max-width:100%}.wizard-steps{position:static}.wizard-steps button{font-size:12px;min-height:70px}.object-editor input,.object-editor select,.object-editor textarea{font-size:16px;min-height:48px}.object-editor h2{font-size:23px}.palette-grid{grid-template-columns:1fr 1fr}.color-swatches .color-chip{height:38px;min-height:38px}.wizard-navigation button{font-size:15px;min-height:48px}.badge{font-size:12px;letter-spacing:0}.heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.heading h1{font-size:28px}.tools{flex-wrap:wrap}.tools .btn{font-size:13px;padding:10px}.shell{padding:20px 12px}.library .gallery{max-height:65vh;overflow:auto}.caption{font-size:13px}.color-pair{gap:10px}}
