/* Neon letters workspace. Builds on the shared .halo-studio workspace styles. */
.neon-studio .neon-settings{overflow-y:auto;min-height:0}
.neon-studio .neon-section{margin:0;border-top:1px solid #d5deea;padding:12px 0}
.neon-studio .neon-section:first-of-type{border-top:0}
.neon-studio .neon-section>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px}
.neon-studio .neon-section>summary::-webkit-details-marker{display:none}
.neon-studio .neon-section>summary::after{content:"\2304";margin-left:auto;color:#53677e}
.neon-studio .neon-section[open]>summary::after{content:"\2303"}
.neon-studio .neon-section>summary h3{margin:0;font-size:15px}
.neon-studio .neon-field{margin:12px 0 8px}
.neon-studio .neon-field .neon-label{display:block;margin-bottom:5px}
.neon-studio .neon-inputs{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px;align-items:center}
.neon-studio .neon-field small{display:block;margin-top:4px}
.neon-studio .neon-muted .neon-inputs{opacity:.65}
.neon-studio .neon-invalid input,.neon-studio .neon-invalid select{border-color:#c62828;box-shadow:0 0 0 2px #c6282833}
.neon-studio .neon-select select{margin-top:5px}
.neon-studio input[type=color]{height:38px;padding:4px}
.neon-studio .neon-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.neon-studio .neon-row>button{flex:1 1 140px}
.neon-studio .neon-toolbar{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.neon-studio .neon-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}
.neon-studio .neon-view{min-height:260px}
.neon-studio .neon-view canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.neon-studio .neon-summary{margin:10px 0 0;font-size:13px;color:#273c54;min-height:20px}
.neon-studio .neon-summary.neon-busy{color:#53677e}
.neon-studio .neon-summary.neon-busy::before{content:"";display:inline-block;width:10px;height:10px;margin-right:7px;border:2px solid #305cb8;border-right-color:transparent;border-radius:50%;animation:neon-spin .8s linear infinite;vertical-align:-1px}
@keyframes neon-spin{to{transform:rotate(360deg)}}
.neon-studio .neon-messages{list-style:none;margin:8px 0 0;padding:0;max-height:150px;overflow:auto;font-size:13px}
.neon-studio .neon-messages li{padding:7px 10px;border-radius:7px;margin:4px 0;line-height:1.45}
.neon-studio .neon-error{background:#fdecea;color:#8a1c14}
.neon-studio .neon-warning{background:#fff6e0;color:#6d4c00}
.neon-studio .neon-info{background:#eaf1fb;color:#223c62}
.neon-studio .neon-go{min-height:0!important;padding:2px 8px!important;margin-left:6px;font-size:12px!important}
.neon-studio #neonZIP{background:#305cb8;color:#fff;border-color:#305cb8}
.neon-studio .neon-downloads{flex-direction:column}
@media (max-width:820px){
 .neon-studio .halo-layout{display:flex;flex-direction:column;overflow-y:auto;min-height:0;flex:1}
 .neon-studio .neon-main{display:block;overflow:visible;padding:8px;order:-1;flex:none}
 .neon-studio .neon-settings{flex:none;order:1}
 .neon-studio .neon-view{height:42dvh;min-height:220px;flex:none}
 .neon-studio .neon-settings{overflow:visible;border-right:0;border-top:1px solid #d5deea}
 .neon-studio .neon-messages{max-height:none}
 .neon-studio .halo-header{flex-wrap:wrap;gap:8px}
}

/* Shared designer rhythm: model, task tabs, settings, and a stable live preview. */
.neon-studio .halo-header{display:flex;align-items:center;gap:12px;background:#fff;padding:16px 24px}
.neon-studio .halo-header>div{margin-right:auto}
.neon-studio .halo-header h2{display:flex;align-items:center;gap:6px;font-size:21px;font-weight:400;margin:0}
.neon-studio .neon-brand-mark{display:grid;place-items:center;width:42px;height:48px;margin-right:8px;background:#eaf0ff;color:#2457c5;border-radius:8px;font-weight:700;font-size:28px}
.neon-studio #neonPrintStep{background:#285bc0;color:white;border-color:#285bc0}
.neon-studio .halo-layout{grid-template-columns:340px minmax(0,1fr)}
.neon-studio .neon-settings{background:#fff;padding:16px 20px}
.neon-studio .neon-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;position:sticky;top:-16px;z-index:2;background:#fff;padding:12px 0;border-bottom:1px solid #d5deea;margin:0 -8px 20px}
.neon-studio .neon-steps button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:0;padding:10px 2px;min-height:76px;background:#fff;font-size:12px;color:#324d6b}
.neon-studio .neon-steps button[aria-selected=true]{background:#eaf0ff;color:#2457c5}
.neon-studio .neon-steps svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.neon-studio .neon-step-panel[hidden]{display:none!important}
.neon-studio .neon-step-panel>h3{font-size:22px;margin:0 0 20px}
.neon-studio .neon-section-flat{border:0;padding-top:0}
.neon-studio .neon-section-flat>summary{display:none}
.neon-studio .neon-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:24px}
.neon-studio .neon-models button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;border:1px solid #d0dbee;color:#183048;background:#fff}
.neon-studio .neon-models button[aria-pressed=true]{background:#eaf0ff;color:#2457c5;border-color:#285bc0}
.neon-studio .neon-models svg{width:100%;height:78px;background:#f1f4f7;border-radius:6px}
.neon-studio .model-body{fill:#25495d;stroke:#17384b;stroke-width:1}
.neon-studio .model-light{fill:none;stroke:#f8dc84;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.neon-studio .model-mesh{fill:none;stroke:#a9c5a0;stroke-width:1.5}
.neon-studio .model-panel{fill:#e6eddf;fill-opacity:.85;stroke:#a9c5a0;stroke-width:1}
.neon-studio .neon-main{padding:20px;background:#edf2f8}
.neon-studio .neon-workspace-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.neon-studio .neon-workspace-title h2{font-size:24px;margin:0;color:#183048}
.neon-studio .neon-workspace-title span{font-size:12px;color:#465c75}
.neon-studio .neon-toolbar{justify-content:flex-start;gap:8px}
.neon-studio .neon-toolbar>div{justify-content:flex-start}
.neon-studio .neon-toolbar button{padding:8px 10px;min-height:40px}
.neon-studio .neon-toolbar button[aria-pressed=true]{background:#eaf0ff;color:#2457c5;border-color:#285bc0}
.neon-studio .neon-view{min-height:280px;margin-top:12px}
.neon-studio .neon-view-hint{background:#fff;font-size:12px;text-align:center;margin:0;padding:6px;color:#465c75}
.neon-studio .neon-downloads{align-items:stretch;gap:10px}
.neon-studio .neon-downloads>button{width:100%;min-height:44px}
.neon-studio button:focus-visible,.neon-studio input:focus-visible,.neon-studio select:focus-visible{outline:2px solid #2457c5;outline-offset:3px}
@media(max-width:820px){
 .neon-studio .halo-header{padding:12px;flex-wrap:wrap;gap:8px}
 .neon-studio .halo-header h2{font-size:17px}
 .neon-studio .halo-header>div{flex:1 1 100%}
 .neon-studio .neon-main{padding:12px}
 .neon-studio .neon-settings{padding:16px}
 .neon-studio .neon-workspace-title{margin-bottom:12px}
 .neon-studio .neon-workspace-title h2{font-size:20px}
 .neon-studio .neon-view{height:38dvh;min-height:230px}
 .neon-studio .neon-models{grid-template-columns:repeat(3,minmax(0,1fr))}
 .neon-studio .neon-steps{top:0;position:relative}
 .neon-studio .neon-messages{max-height:120px}
}
@media(prefers-reduced-motion:reduce){.neon-studio .neon-summary.neon-busy::before{animation:none}}

/* Match the light material cards used by the other letter designers. */
.neon-studio .neon-models svg{height:110px;display:block}
.neon-studio .neon-models button:hover{border-color:#285bc0;background:#f3f6fc}
.neon-studio .neon-summary{background:#fff;border:1px solid #d0dbee;border-radius:10px;padding:14px 16px;margin:0 0 16px;line-height:1.5}
.neon-studio .neon-view{background:#edf2f8;border:1px solid #d0dbee;border-radius:10px 10px 0 0}
.neon-studio .neon-view-hint{border:1px solid #d0dbee;border-top:0;border-radius:0 0 10px 10px}
