*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px}body{font-family:Hiragino Sans,Noto Sans JP,Meiryo,system-ui,sans-serif;background:#f5f6fa;color:#1a1a2e;line-height:1.6;min-height:100vh}a{color:#4f46e5;text-decoration:none}a:hover{text-decoration:underline}.auth-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1rem}.auth-container h1{font-size:1.75rem;font-weight:700;margin-bottom:.25rem;color:#1a1a2e}.auth-card{background:#fff;border-radius:12px;box-shadow:0 4px 24px #00000014;padding:2rem 2.5rem;width:100%;max-width:400px;margin-top:1.5rem}.auth-logo{font-size:2.2rem;font-weight:800;color:#4f46e5;letter-spacing:-.03em;margin-bottom:.25rem}.auth-subtitle{color:#6b7280;font-size:.9rem;margin-bottom:1.75rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.4rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.625rem .875rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:1rem;font-family:inherit;color:#1a1a2e;background:#fff;transition:border-color .15s,box-shadow .15s;outline:none}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}.field-error{color:#dc2626;font-size:.8rem;margin-top:.3rem}.form-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:.875rem;padding:.6rem .875rem;margin-bottom:1rem}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.625rem 1.25rem;border-radius:8px;font-size:.9375rem;font-weight:600;font-family:inherit;border:none;cursor:pointer;transition:background .15s,opacity .15s,transform .1s}button:active{transform:scale(.98)}button:disabled{opacity:.55;cursor:not-allowed;transform:none}button[type=submit],.btn-primary{background:#4f46e5;color:#fff;width:100%}button[type=submit]:hover:not(:disabled),.btn-primary:hover:not(:disabled){background:#4338ca}.btn-secondary{background:#f3f4f6;color:#374151;border:1.5px solid #e5e7eb}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover:not(:disabled){background:#b91c1c}.btn-danger-small{background:transparent;color:#dc2626;border:1.5px solid #dc2626;font-size:.8rem;padding:.3rem .7rem}.btn-danger-small:hover:not(:disabled){background:#fef2f2}.auth-footer{margin-top:1.25rem;font-size:.875rem;color:#6b7280;text-align:center}.page-container{max-width:900px;margin:0 auto;padding:2rem 1rem}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.page-header h1{font-size:1.5rem;font-weight:700}.card{background:#fff;border-radius:10px;box-shadow:0 2px 12px #0000000f;padding:1.5rem;margin-bottom:1rem}table{width:100%;border-collapse:collapse;font-size:.9rem}th{background:#f9fafb;font-weight:600;text-align:left;padding:.7rem 1rem;border-bottom:2px solid #e5e7eb;color:#374151}td{padding:.65rem 1rem;border-bottom:1px solid #f3f4f6}tr:last-child td{border-bottom:none}tr:hover td{background:#fafafa}.badge{display:inline-block;font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:999px}.badge-private{background:#f3f4f6;color:#374151}.badge-shared{background:#dbeafe;color:#1d4ed8}.badge-preparing{background:#fef9c3;color:#a16207}.badge-in_progress{background:#dcfce7;color:#15803d}.badge-finished{background:#f3f4f6;color:#6b7280}.empty-state{text-align:center;padding:3rem 1rem;color:#9ca3af}.error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:.875rem;padding:.6rem .875rem;margin:.75rem 0}.warning-message{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;color:#92400e;font-size:.875rem;padding:.6rem .875rem;margin:.75rem 0}[role=dialog]{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:100}.dialog-box{background:#fff;border-radius:12px;padding:2rem;max-width:420px;width:90%;box-shadow:0 8px 40px #0000002e}.dialog-box h2{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}.dialog-box p{color:#4b5563;font-size:.9rem;margin-bottom:1.5rem}.dialog-actions{display:flex;gap:.75rem;justify-content:flex-end}@media (max-width: 480px){.auth-card{padding:1.5rem}}
