*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f5f5;color:#1a1a1a;font-size:14px}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center}.login-card{background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:48px 40px;width:360px;box-shadow:0 4px 24px #0000000f;text-align:center}.login-logo{font-size:40px;margin-bottom:12px}.login-title{font-size:22px;font-weight:700;margin-bottom:4px}.login-sub{color:#666;font-size:13px;margin-bottom:28px}.login-form{display:flex;flex-direction:column;gap:12px}.dash-wrap{min-height:100vh;display:flex;flex-direction:column}.dash-header{background:#fff;border-bottom:1px solid #e5e5e5;padding:0 32px;height:56px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.dash-header-left{display:flex;align-items:center;gap:10px}.dash-logo{font-size:20px}.dash-title{font-weight:700;font-size:16px}.dash-main{padding:32px;max-width:1100px;margin:0 auto;width:100%}.section{background:#fff;border:1px solid #e5e5e5;border-radius:10px;overflow:hidden}.section-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e5e5}.section-title{font-size:16px;font-weight:700}.section-sub{color:#888;font-size:12px;margin-top:2px}.section-actions{display:flex;gap:8px}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse}.table th{text-align:left;padding:10px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#888;border-bottom:1px solid #e5e5e5;background:#fafafa}.table td{padding:12px 16px;border-bottom:1px solid #f0f0f0}.table tr:last-child td{border-bottom:none}.empty-row{color:#aaa;text-align:center;padding:32px!important}.slug-code{background:#f0f0f0;border-radius:4px;padding:2px 6px;font-family:monospace;font-size:12px}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:600}.badge-green{background:#dcfce7;color:#166534}.badge-gray{background:#f3f4f6;color:#6b7280}.btn-primary{background:#2563eb;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-primary:disabled{opacity:.5;cursor:default}.btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db;padding:8px 16px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.btn-secondary:hover{background:#f9fafb}.btn-ghost{background:none;border:none;color:#6b7280;padding:8px 12px;border-radius:6px;font-size:13px;cursor:pointer}.btn-ghost:hover{background:#f3f4f6;color:#374151}.btn-small{padding:4px 10px;border-radius:5px;font-size:12px;font-weight:500;border:none;cursor:pointer}.btn-danger{background:#fef2f2;color:#dc2626}.btn-danger:hover:not(:disabled){background:#fee2e2}.btn-success{background:#f0fdf4;color:#16a34a}.btn-success:hover:not(:disabled){background:#dcfce7}.btn-small:disabled{opacity:.5;cursor:default}.input{width:100%;border:1px solid #d1d5db;border-radius:6px;padding:8px 12px;font-size:14px;outline:none;background:#fff}.input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.textarea{resize:vertical;font-family:monospace}.label{display:block;font-size:12px;font-weight:600;color:#374151;margin-bottom:6px}.label-hint{font-weight:400;color:#9ca3af}.form-group{margin-bottom:16px}.error-msg{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:8px 12px;border-radius:6px;font-size:13px}.state-msg{padding:32px;text-align:center;color:#9ca3af}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.modal{background:#fff;border-radius:12px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0003}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e5e5}.modal-title{font-size:16px;font-weight:700}.modal-close{background:none;border:none;font-size:20px;color:#9ca3af;cursor:pointer;padding:0 4px}.modal-close:hover{color:#374151}.modal-form{padding:20px 24px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:8px;margin-top:8px;border-top:1px solid #f0f0f0}.checklist{padding:20px 24px}.checklist-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#6b7280;margin-bottom:16px}.checklist-item{display:flex;gap:14px;margin-bottom:20px}.checklist-item-todo .checklist-num{background:#f3f4f6;color:#9ca3af}.checklist-num{width:24px;height:24px;border-radius:50%;background:#2563eb;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}.checklist-body{flex:1}.checklist-label{font-size:13px;font-weight:600;margin-bottom:8px}.checklist-note{font-size:12px;color:#9ca3af}.cred-grid{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;background:#f9fafb;border:1px solid #e5e5e5;border-radius:6px;padding:12px;align-items:center}.cred-key{font-size:11px;font-weight:600;color:#6b7280;white-space:nowrap}.cred-val{font-size:13px;display:flex;align-items:center;gap:8px}.code-block{background:#f9fafb;border:1px solid #e5e5e5;border-radius:6px;padding:10px 12px;font-family:monospace;font-size:12px;color:#374151;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;position:relative}.code-block-pre{align-items:flex-start}.code-block-pre pre{white-space:pre-wrap;word-break:break-all}.copy-btn{background:#fff;border:1px solid #d1d5db;border-radius:4px;padding:2px 8px;font-size:11px;cursor:pointer;white-space:nowrap;flex-shrink:0}.copy-btn:hover{background:#f3f4f6}.copy-btn-top{align-self:flex-start}.patch-results{margin-bottom:16px;display:flex;flex-direction:column;gap:6px}.patch-row{display:flex;align-items:flex-start;gap:8px;padding:8px 12px;border-radius:6px;font-size:13px}.patch-ok{background:#f0fdf4;color:#166534}.patch-fail{background:#fef2f2;color:#dc2626;flex-direction:column}.patch-error{font-family:monospace;font-size:11px;margin-top:4px;opacity:.8}
