*{box-sizing:border-box;margin:0;padding:0}body{color:#e8e4dc;background:#0f0f11;min-height:100vh;font-family:Hiragino Sans,Yu Gothic,sans-serif}.app{max-width:900px;margin:0 auto;padding:2rem 1.5rem 5rem}.header{margin-bottom:2rem}.header h1{color:#f0ebe0;font-size:1.8rem;font-weight:700}.header h1 span{color:#7c6af7}.header p{color:#6b6880;margin-top:.4rem;font-size:.85rem}.drop-zone{text-align:center;cursor:pointer;background:#16141c;border:2px dashed #2e2c3a;border-radius:16px;margin-bottom:1.5rem;padding:3rem;transition:all .2s}.drop-zone:hover,.drop-zone.drag-over{background:#1a1726;border-color:#7c6af7}.drop-zone input{display:none}.drop-icon{margin-bottom:1rem;font-size:2.5rem}.file-list{flex-direction:column;gap:.5rem;margin-bottom:1.5rem;display:flex}.file-item{background:#16141c;border:1px solid #2e2c3a;border-radius:10px;justify-content:space-between;align-items:center;padding:.7rem 1rem;display:flex}.file-item--active{background:#1a1726;border-color:#7c6af7}.fname{color:#c8c2e8;cursor:pointer;flex:1;font-size:.9rem}.remove-btn{color:#4a4860;cursor:pointer;background:0 0;border:none;font-size:1.1rem}.settings{background:#16141c;border:1px solid #2e2c3a;border-radius:14px;margin-bottom:2rem;padding:1.5rem}.settings-title{color:#6b6880;text-transform:uppercase;margin-bottom:1rem;font-size:.8rem;font-weight:700}.setting-row{border-top:1px solid #1e1c28;justify-content:space-between;align-items:center;padding:.8rem 0;display:flex}.setting-row:first-of-type{border-top:none}.setting-label{color:#c8c2e8;font-size:.9rem}.setting-sub{color:#6b6880;font-size:.75rem}select{color:#c8c2e8;background:#1e1c28;border:1px solid #2e2c3a;border-radius:8px;outline:none;padding:.4rem .8rem}.toggle{cursor:pointer;width:44px;height:24px;position:relative}.toggle input{opacity:0;width:0;height:0}.toggle-track{background:#2e2c3a;border-radius:24px;transition:all .2s;position:absolute;inset:0}.toggle input:checked+.toggle-track{background:#7c6af7}.toggle-thumb{background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;top:3px;left:3px}.toggle input:checked~.toggle-thumb{left:23px}.setting-row--highlight{background:#1a1726;border:1px solid #3d3560;border-radius:10px;margin-top:10px;padding:1rem}.preview-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.preview-tabs{gap:.5rem;display:flex}.tab-btn{color:#6b6880;cursor:pointer;background:0 0;border:1px solid #2e2c3a;border-radius:8px;padding:.4rem 1rem}.tab-btn.active{color:#9d91f5;background:#1a1726;border-color:#7c6af7}.preview-box{background:#000;border:1px solid #2e2c3a;border-radius:12px;flex-direction:column;align-items:center;min-height:600px;max-height:800px;padding:40px;display:flex;overflow:auto}.print-sheet{color:#1a1a1a;transform-origin:top;flex-direction:column;display:flex;box-shadow:0 20px 60px #00000080;background:#fff!important}.print-content{background:#fff;flex:1;padding:20mm}.markdown-body{font-family:Georgia,Hiragino Mincho ProN,serif;line-height:1.7}.markdown-body h1{border-bottom:2px solid #eee;margin-bottom:.8em;padding-bottom:.3em;font-size:2rem}.markdown-body p{margin-bottom:1em}.markdown-body code{color:#7c3aed;background:#f4f0fb;border-radius:4px;padding:2px 4px}.raw-box{color:#9d91f5;white-space:pre-wrap;background:#16141c;border:1px solid #2e2c3a;border-radius:12px;padding:1.5rem;font-family:monospace;display:none}.action-row{align-items:center;gap:1rem;margin-top:2rem;display:flex}.btn-primary{color:#fff;cursor:pointer;background:#7c6af7;border:none;border-radius:12px;padding:.9rem 2.5rem;font-weight:700}.btn-primary:disabled{color:#5a5870;background:#3a3650}.btn-secondary{color:#7c6af7;cursor:pointer;background:0 0;border:1px solid #2e2c3a;border-radius:12px;padding:.9rem 1.5rem}.hidden{display:none!important}.jis-style{color:#000;font-family:MS Mincho,MS PMincho,Hiragino Mincho ProN,Yu Mincho,serif!important}.jis-style .print-content{line-height:1.75;padding:25mm 20mm!important}.jis-style .markdown-body{text-align:justify;font-size:10.5pt;font-family:inherit!important}.jis-style h1{border-bottom:1px solid #000;margin-top:1em;font-size:1.6em}.jis-style h2{border-left:4px solid #000;padding-left:10px;font-size:1.3em}
