@font-face{font-family:AdvercaseFont;src:url(/fonts/AdvercaseFont-Bold.otf) format("opentype");font-weight:700;font-style:normal;font-display:block}@font-face{font-family:TeX Gyre Heros CN;src:url(/fonts/texgyreheroscn-regular.otf) format("opentype");font-weight:400;font-style:normal;font-display:block}@font-face{font-family:TeX Gyre Heros CN;src:url(/fonts/texgyreheroscn-bold.otf) format("opentype");font-weight:700;font-style:normal;font-display:block}:root{--foreground: hsl(203, 33%, 17%);--muted-foreground: hsl(207, 7%, 49%);--background: hsl(51, 42%, 94%);--primary: hsl(179, 38%, 31%);--primary-foreground: hsl(51, 42%, 94%);--muted: hsl(45, 16%, 90%);--border: hsl(207, 7%, 49%);--card-cream: hsl(51, 42%, 94%)}*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:TeX Gyre Heros CN,system-ui,sans-serif;color:var(--foreground);background:var(--background)}button{font-family:inherit;cursor:pointer}.app{height:100vh;overflow:hidden}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f1e288c;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:100;padding:32px}.modal{background:#fff;border-radius:24px;width:100%;max-width:540px;max-height:calc(100vh - 64px);overflow-y:auto;padding:40px 44px 36px;box-shadow:0 30px 80px #00000047,0 2px 6px #0000000f;position:relative}.modal h1{font-family:AdvercaseFont,serif;font-weight:700;font-size:26px;margin:0 0 6px;color:var(--foreground);letter-spacing:-.01em}.modal .subtitle{font-size:14px;color:var(--muted-foreground);margin:0 0 28px;line-height:1.5}.modal-done{width:100%;background:var(--foreground);color:var(--primary-foreground);border:none;padding:15px;font-size:15px;font-weight:700;margin-top:10px;border-radius:999px;transition:background .15s ease}.modal-done:hover:not(:disabled){background:var(--primary)}.modal-done:disabled{background:var(--muted);color:var(--muted-foreground);cursor:not-allowed}.fab-bar{position:fixed;top:20px;left:50%;transform:translate(-50%);z-index:50;display:inline-flex;align-items:center;gap:10px;background:#ffffffeb;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:8px;border-radius:999px;box-shadow:0 8px 24px #00000024,0 1px 3px #0000000f}.fab{border:none;padding:10px 20px;border-radius:999px;font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:7px;transition:background .15s ease,color .15s ease;font-family:inherit}.fab.primary{background:var(--foreground);color:var(--primary-foreground)}.fab.primary:hover:not(:disabled){background:var(--primary)}.fab.primary:disabled{background:var(--muted);color:var(--muted-foreground);cursor:not-allowed}.fab.secondary{background:transparent;color:var(--foreground)}.fab.secondary:hover{background:var(--muted)}.field{display:block;margin-bottom:18px}.field>label{display:block;font-size:12.5px;font-weight:700;color:var(--foreground);margin-bottom:7px}.field input[type=text],.field input[type=url],.field input[type=number],.field select,.field textarea{width:100%;padding:11px 14px;font-size:14px;font-family:inherit;border:1px solid var(--muted);border-radius:10px;background:#fff;color:var(--foreground);line-height:1.4;transition:border-color .15s ease}.field textarea{resize:vertical;min-height:76px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:var(--primary)}.field .hint{display:block;font-size:12px;color:var(--muted-foreground);margin-top:5px;line-height:1.4}.dropzone{border:1.5px dashed var(--muted);border-radius:14px;padding:22px 18px;text-align:center;font-size:13px;color:var(--muted-foreground);background:#fafaf7;transition:border-color .15s ease,background .15s ease}.dropzone.dragging{border-color:var(--primary);background:#eaf5f5}.dropzone img{max-height:56px;max-width:100%;display:block;margin:0 auto 8px}.dropzone .file-input{display:block;margin:6px auto 0;font-size:12px}.dropzone button{background:none;border:1px solid var(--muted);border-radius:999px;padding:5px 14px;font-size:12px;margin-top:10px;color:var(--foreground)}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.download{width:100%;background:var(--foreground);color:var(--primary-foreground);border:none;padding:15px;font-size:15px;font-weight:700;border-radius:999px;margin-top:18px;transition:background .15s ease}.download:hover:not(:disabled){background:var(--primary)}.download:disabled{background:var(--muted);color:var(--muted-foreground);cursor:not-allowed}.preview-pane{padding:32px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;height:100vh;width:100%}.preview-stage{transform-origin:top center}.flyer{width:794px;height:1123px;background:#fff;position:relative;padding:56px 72px;font-family:TeX Gyre Heros CN,sans-serif;color:var(--foreground);overflow:hidden}.flyer-header{display:flex;justify-content:space-between;align-items:center;height:44px}.flyer-header .school-logo{max-height:44px;max-width:200px;object-fit:contain;object-position:right center}.flyer-header .hearsay-logo{height:40px}.flyer-hero{display:flex;justify-content:center;margin:0 0 36px}.flyer-hero img{height:200px;object-fit:contain}.flyer-headline{font-family:AdvercaseFont,serif;font-weight:700;font-size:44px;line-height:1.18;text-align:center;margin:0 auto;max-width:660px;color:var(--foreground);outline:none}.flyer-bullets{margin:36px auto;width:max-content;display:flex;flex-direction:column;gap:11px}.flyer-bullets .bullet{display:flex;align-items:center;gap:10px;font-size:16px}.flyer-bullets .check{width:22px;height:22px;border-radius:50%;background:var(--primary);color:var(--primary-foreground);display:flex;align-items:center;justify-content:center;flex:0 0 auto}.course-card{background:var(--card-cream);border-radius:18px;padding:36px 30px;display:grid;grid-template-columns:150px 1fr;gap:26px;align-items:center;min-height:200px}.course-card .qr{background:#fff;width:150px;height:150px;display:flex;align-items:center;justify-content:center;border-radius:14px;padding:14px}.course-card .qr svg{width:100%;height:100%;display:block}.course-card .qr-empty{font-size:11px;color:var(--muted-foreground);text-align:center;padding:0 6px}.course-card .pills{display:flex;align-items:center;gap:14px;margin-bottom:16px}.course-card .pills .pill-group{display:inline-flex;align-items:center;gap:6px}.course-card .pills .flag{height:26px;width:26px;border-radius:5px;border:1px solid var(--foreground);object-fit:cover}.course-card .pills .lang-name,.course-card .pills .level-name{font-size:15px;font-weight:700}.course-card .pills .level-chip{display:inline-flex;align-items:center;justify-content:center;height:26px;width:26px;border-radius:5px;font-size:14px;font-weight:700;border:1px solid var(--muted-foreground)}.course-card .course-title{font-family:AdvercaseFont,serif;font-weight:700;font-size:24px;margin:0 0 8px;line-height:1.15;color:var(--foreground)}.course-card .course-description{font-size:14.5px;line-height:1.5;color:var(--muted-foreground);margin:0}.discount-block{margin-top:36px;text-align:center}[contenteditable]:focus{outline:2px solid var(--primary);outline-offset:4px;border-radius:4px}[contenteditable]:hover:not(:focus){outline:1px dashed var(--muted-foreground);outline-offset:4px;border-radius:4px}.toggle-row{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:13.5px;color:var(--foreground);cursor:pointer;padding:4px 0}.toggle-row input{width:16px;height:16px;accent-color:var(--primary)}.stripe-reminder{font-size:12.5px;color:var(--foreground);background:#fff7e0;border:1px solid #F0E2B0;border-radius:12px;padding:12px 14px;margin:10px 0 18px;line-height:1.5}.stripe-reminder strong{font-weight:700}.discount-block .headline{font-weight:700;font-size:19px;margin-bottom:10px;color:var(--foreground)}.discount-block .sub{font-size:14px;color:var(--muted-foreground);margin-bottom:16px}.discount-block .code-box{display:inline-block;border:2px dashed #d6d8d8;border-radius:18px;padding:18px 64px;font-family:TeX Gyre Heros CN,sans-serif;font-weight:700;font-size:28px;letter-spacing:.04em;color:var(--foreground)}
