*{box-sizing:border-box}body{color:#1a1a1a;background:#f4f4f8;margin:0;font-family:Arial,Helvetica,sans-serif;overflow:hidden}.app{min-height:100vh}.app-shell{max-width:1400px;margin:0 auto;padding:0 1.5rem}.app-main{padding-top:1.5rem;padding-bottom:1.5rem}.app-header{z-index:20;background:#f4f4f8;padding:1.5rem 0 1rem;position:sticky;top:0}.app-header .app-shell{padding-right:18rem;position:relative}.app-header-row{align-items:flex-start;display:flex}.app-logo{width:auto;max-width:100%;height:2.5rem;display:block}.app-header p{color:#555;margin:.75rem 0 0}.layout-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.layout-grid>.panel:last-child{position:sticky;top:8rem}@media (width<=1100px){.layout-grid{grid-template-columns:1fr}.layout-grid>.panel:last-child{position:static}body{overflow:auto}.stall-panel{height:auto;max-height:none;overflow:visible}}.panel{background:#fff;border:1px solid #ddd;border-radius:8px;padding:1rem 1.25rem}.stall-panel{flex-direction:column;height:calc(100vh - 9.5rem);max-height:calc(100vh - 9.5rem);display:flex;overflow:hidden}.stall-form{flex-direction:column;flex:1;height:100%;min-height:0;display:flex}.stall-form-header{background:#fff;flex-shrink:0;padding-bottom:.75rem}.stall-grid{scrollbar-width:thin;scrollbar-color:#c0c4cc transparent;flex:1;min-height:0;padding-right:.35rem;overflow-y:auto}.stall-grid::-webkit-scrollbar{width:6px}.stall-grid::-webkit-scrollbar-track{background:0 0}.stall-grid::-webkit-scrollbar-thumb{background:#c0c4cc;border-radius:999px}.stall-grid::-webkit-scrollbar-thumb:hover{background:#aab1bb}.panel h2{margin:0 0 1rem;font-size:1.1rem}.stall-form-note{color:#555;margin:0;font-size:.85rem}.form-actions{flex-wrap:wrap;gap:.75rem;margin-top:1rem;display:flex}.header-actions{flex-shrink:0;justify-content:flex-end;margin-top:0;position:absolute;top:50%;right:1.5rem;transform:translateY(-50%)}@media (width<=900px){.app-header .app-shell{padding-right:1.5rem}.header-actions{justify-content:flex-start;margin-top:1rem;position:static;transform:none}}button{cursor:pointer;border:none;border-radius:6px;padding:.55rem 1rem;font-weight:600}button.primary{color:#fff;background:#13834d}button.secondary{color:#222;background:#e8e8ee}button:disabled{opacity:.6;cursor:not-allowed}.error-banner{color:#b42318;background:#fdecea;border:1px solid #fecdca;border-radius:6px;margin-bottom:1rem;padding:.75rem 1rem}.field{margin-bottom:.75rem}.field label{margin-bottom:.25rem;font-size:.85rem;font-weight:600;display:block}.field input[type=text],.field input[type=search]{border:1px solid #ccc;border-radius:4px;width:100%;padding:.45rem .6rem;font-size:.9rem}.stall-search{margin-bottom:1rem}.stall-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;align-items:start;gap:.75rem;display:grid}@media (width<=900px){.stall-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.stall-grid{grid-template-columns:1fr}}.stall-field label{font-size:.8rem;font-weight:700}.stall-field .char-count{color:#666;margin:.15rem 0 0;font-size:.75rem}.preview-frame{background:#fff;border:1px solid #ccc;border-radius:4px;width:100%;min-height:580px}.preview-placeholder{color:#888;text-align:center;padding:3rem 1rem}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0f172a66;justify-content:center;align-items:center;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:540px;padding:1.5rem;animation:.2s cubic-bezier(.34,1.56,.64,1) scaleUp;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.modal-header h3{color:#0f172a;margin:0;font-size:1.25rem;font-weight:700}.modal-header .close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;padding:.25rem;font-size:1.5rem;line-height:1}.modal-header .close-btn:hover{color:#0f172a}.modal-subtitle{color:#475569;margin:0 0 1.5rem;font-size:.875rem;line-height:1.4}.format-tabs-grid{grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem;display:grid}.format-tab-card{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;padding:1.75rem 1rem;transition:all .2s;display:flex}.format-tab-card:hover{background:#f8fafc;border-color:#cbd5e1}.format-tab-card.active{background:#f0fdf4;border-color:#13834d}.format-tab-badge{color:#475569;background:#e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:.75rem;font-size:1.35rem;font-weight:700;transition:all .2s;display:flex}.format-tab-card.active .format-tab-badge{color:#fff;background:#13834d}.format-tab-label{color:#0f172a;font-size:.95rem;font-weight:700;transition:all .2s}.format-tab-card.active .format-tab-label{color:#0f5e38}.modal-actions{justify-content:flex-end;gap:.75rem;display:flex}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleUp{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
