*,:after,:before{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#1a1a1a;background:#f5f5f5;line-height:1.6}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}.landing{max-width:800px;margin:0 auto;padding:3rem 1.5rem}.landing h1{font-size:2rem;margin-bottom:.5rem}.landing p.subtitle{color:#666;margin-bottom:2rem}.landing .actions{margin-bottom:2rem}.landing .rfp-list{list-style:none}.landing .rfp-item{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:#fff;border-radius:8px;margin-bottom:.75rem;border:1px solid #e5e5e5;transition:border-color .15s}.landing .rfp-item:hover{border-color:#2563eb;text-decoration:none}.landing .rfp-item .rfp-item-right{display:flex;align-items:center;gap:.75rem}.landing .rfp-item .delete-btn{background:none;border:none;color:#ccc;font-size:1.25rem;padding:0 .25rem;cursor:pointer;line-height:1;transition:color .15s}.landing .rfp-item .delete-btn:hover{color:#dc2626;background:none}.landing .rfp-item .title{font-weight:600}.landing .rfp-item .date{color:#888;font-size:.875rem}.landing .empty{text-align:center;padding:3rem;color:#888;background:#fff;border-radius:8px;border:1px solid #e5e5e5}.btn,button{display:inline-block;padding:.6rem 1.25rem;background:#2563eb;color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .15s}.btn:hover,button:hover{background:#1d4ed8}button:disabled{background:#94a3b8;cursor:not-allowed}.create-page{max-width:640px;margin:0 auto;padding:4rem 1.5rem}.create-page h1{font-size:1.75rem;margin-bottom:.25rem}.create-page .subtitle{color:#666;margin-bottom:2rem}.create-form .form-group{margin-bottom:1.5rem}.create-form label{display:block;font-weight:600;margin-bottom:.5rem;font-size:.95rem}.create-form .label-optional{font-weight:400;color:#999;font-size:.85rem}.create-form textarea{width:100%;padding:.875rem;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;font-family:inherit;resize:vertical;line-height:1.6;transition:border-color .15s,box-shadow .15s}.create-form textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.drop-zone{border:2px dashed #d1d5db;border-radius:8px;padding:2rem;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}.drop-zone:hover{border-color:#93c5fd;background:#f8faff}.drop-zone-active{border-color:#2563eb;background:#eff6ff}.drop-zone-has-file{border-style:solid;border-color:#d1d5db;padding:1rem}.drop-zone-placeholder{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:#666;font-size:.9rem}.drop-zone-icon{font-size:1.75rem;color:#93c5fd}.drop-zone-link{color:#2563eb;font-weight:500}.drop-zone-hint{font-size:.8rem;color:#aaa}.drop-zone-file{display:flex;align-items:center;gap:.75rem}.drop-zone-file-icon{font-size:1.5rem}.drop-zone-file-name{flex:1 1;font-weight:500;font-size:.9rem;text-align:left;color:#333}.drop-zone-remove{background:none;border:none;color:#999;font-size:1.25rem;padding:0 .25rem;cursor:pointer}.drop-zone-remove:hover{color:#dc2626;background:none}.create-form .submit-btn{width:100%;padding:.875rem;font-size:1rem;border-radius:8px;margin-top:.5rem}.create-form .loading-state{display:flex;align-items:center;justify-content:center;gap:.5rem}.spinner{width:16px;height:16px;border:2px solid hsla(0,0%,100%,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.create-form .error{color:#dc2626;background:#fef2f2;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-size:.9rem}.create-form button{width:100%;padding:.75rem;font-size:1rem}.toolbar{position:-webkit-sticky;position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e5e5e5;padding:.75rem 1.5rem;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.toolbar-left{flex:1 1}.toolbar-back{font-weight:500;color:#666}.toolbar-back:hover{color:#2563eb}.toolbar-right{display:flex;gap:.5rem}.toolbar-right button{padding:.4rem .9rem;font-size:.85rem}.toolbar-edit-form{width:100%;display:flex;gap:.5rem;margin-top:.5rem}.toolbar-edit-form input{flex:1 1;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem}.toolbar-edit-form input:focus{outline:none;border-color:#2563eb}.toolbar-edit-form button{padding:.4rem .9rem;font-size:.85rem}.toolbar-edit-form button[type=button]{background:#6b7280}.rfp-layout{display:flex}.rfp-layout .rfp-content{flex:1 1;min-width:0}.rfp-content{max-width:900px;margin:2rem auto;padding:2rem;background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.dev-panel{width:480px;flex-shrink:0;height:calc(100vh - 53px);position:-webkit-sticky;position:sticky;top:53px;display:flex;flex-direction:column;background:#1e1e1e;border-left:1px solid #333}.dev-panel-header{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;background:#252526;border-bottom:1px solid #333;gap:.5rem}.dev-panel-tabs{display:flex;gap:2px}.dev-tab{padding:.3rem .7rem;font-size:.75rem;background:transparent;color:#999;border:none;border-radius:4px;cursor:pointer}.dev-tab:hover{color:#ccc;background:#333}.dev-tab-active{color:#fff;background:#0d6efd}.dev-tab-active:hover{background:#0b5ed7}.dev-panel-actions{display:flex;align-items:center;gap:.4rem}.dev-save{padding:.25rem .6rem;font-size:.75rem;background:#238636;color:#fff;border:none;border-radius:4px;cursor:pointer}.dev-save:hover{background:#2ea043}.dev-save:disabled{opacity:.5;cursor:not-allowed}.dev-close{background:none;border:none;color:#666;font-size:1.25rem;cursor:pointer;padding:0 .25rem;line-height:1}.dev-close:hover{color:#fff;background:none}.dev-dirty{font-size:.7rem;color:#f59e0b;background:rgba(245,158,11,.15);padding:.1rem .4rem;border-radius:3px}.dev-shortcut{font-size:.65rem;color:#666;font-family:SF Mono,monospace}.dev-error{padding:.4rem .75rem;background:#5c1d1d;color:#f87171;font-size:.75rem;font-family:SF Mono,Fira Code,monospace}.dev-editor{flex:1 1;width:100%;padding:.75rem;background:#1e1e1e;color:#d4d4d4;border:none;resize:none;font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:.8rem;line-height:1.5;-moz-tab-size:2;tab-size:2;outline:none}.template-error{padding:2rem;background:#fef2f2;border-radius:8px;border:1px solid #fecaca}.template-error h2{color:#dc2626;margin-bottom:1rem}.template-error pre{background:#1a1a1a;color:#f5f5f5;padding:1rem;border-radius:4px;overflow-x:auto;font-size:.85rem}